@font-face {
  font-family: "DM Sans";
  src: url("./sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("./serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("./italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("./mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --sheet: #fdfbf5;
  --ink: #21251f;
  --muted: #585d53;
  --faint: #777b6e;
  --line: #cecec0;
  --red: #bd3a20;
  --blue: #314f9d;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --edge: clamp(1.15rem, 4.8vw, 5rem);
  --measure: 83rem;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.55; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button { touch-action: manipulation; }
a { color: inherit; text-decoration-thickness: .07em; text-underline-offset: .2em; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
::selection { background: #eed49b; color: var(--ink); }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
button, a { transition: color .16s ease, background-color .16s ease, border-color .16s ease; }
.wrap { width: min(calc(100% - var(--edge) * 2), var(--measure)); margin-inline: auto; }
.sr, .sr-only, .visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  border: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip {
  position: absolute; inset: .5rem auto auto .5rem; z-index: 10; padding: .55rem 1rem;
  background: var(--ink); color: var(--sheet); transform: translateY(-180%);
}
.skip:focus { transform: none; }
html:not(.interactive) .js-only, html:not(.interactive) .saved-link { display: none; }

/* Masthead */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  min-height: 5.1rem; padding-block: .8rem; border-bottom: 1px solid var(--ink);
}
.brand { display: inline-flex; align-items: center; gap: .63rem; color: var(--ink); font-size: 1.12rem; line-height: 1.1; font-weight: 720; letter-spacing: -.045em; text-decoration: none; }
.brand-mark { display: inline-grid; flex: 0 0 auto; place-items: center; width: 2rem; height: 2rem; color: var(--red); line-height: 1; font-size: 2rem; }
.brand-mark { display: inline-flex; justify-content: space-between; align-items: center; padding: .1rem .12rem; transform: skewY(-14deg); }
.brand-mark i { display: block; width: 27%; height: 68%; background: var(--red); }
.brand-mark i:first-child { height: 53%; align-self: flex-end; }
.brand-mark i:last-child { height: 85%; align-self: flex-start; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.8rem, 2.5vw, 2.4rem); }
.nav-links a { text-decoration: none; font-size: .88rem; font-weight: 560; white-space: nowrap; }
.nav-links a:hover, .brand:hover { color: var(--red); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: .38em; }

/* Cover */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(1.5rem, 4.1vw, 4.3rem); padding-block: clamp(2.5rem, 5.6vw, 6.2rem); }
.hero-copy { min-width: 0; }
.eyebrow, .profile-kicker, .category, .card-num {
  font: 400 .69rem/1.4 var(--mono); letter-spacing: .095em; text-transform: uppercase;
}
.eyebrow, .profile-kicker { color: var(--red); }
.hero h1, .profile-intro h1 { font: 400 clamp(4rem, 6.9vw, 7.15rem)/.93 var(--serif); letter-spacing: -.047em; }
.hero h1 { margin-block: 1.05rem 1.4rem; }
.hero h1 em, .profile-intro h1 em, .section-heading h2 em { color: var(--red); font-weight: 400; }
.dek, .lead { color: var(--muted); max-width: 39rem; font-size: clamp(1rem, 1.31vw, 1.23rem); line-height: 1.57; }
.dek { max-width: 34rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.btn, button.btn, .pager :is(button,a) {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 2.85rem; padding: .65rem 1.13rem; border: 1px solid var(--ink); border-radius: 4px;
  background: var(--ink); color: var(--sheet); font-family: var(--sans); font-size: .9rem; line-height: 1.25; font-weight: 630;
  text-decoration: none; text-align: center;
}
.btn:hover, button.btn:hover { background: #3b4237; border-color: #3b4237; }
.btn.alt, button.btn.alt { color: var(--ink); background: transparent; border-color: #a4a797; }
.btn.alt:hover, button.btn.alt:hover { background: #eeede2; border-color: var(--ink); }
.btn.product-link { background: var(--blue); border-color: var(--blue); color: #fff; max-width: 100%; }
.btn.product-link:hover { background: #243c7a; border-color: #243c7a; }
.product-label { overflow-wrap: anywhere; }
.product-context { min-width: 0; display: grid; justify-items: start; align-content: start; gap: .65rem; }
.product-context .eyebrow { color: var(--blue); }
.product-name { margin-top: .22rem; font-weight: 700; overflow-wrap: anywhere; }
.product-description { margin-top: .12rem; color: var(--muted); font-size: .92rem; line-height: 1.45; max-width: 65ch; }
.actions button.text-link { background: none; border: 0; padding: .6rem .2rem; text-decoration: underline; }
.hero-art { min-width: 0; width: 100%; margin: 0; position: relative; }
.hero-art img { display: block; width: 100%; max-height: 36rem; object-fit: contain; }
.hero-art figcaption { padding-top: .55rem; color: var(--muted); font: .65rem/1.45 var(--mono); }
.pick-strip { display: grid; grid-template-columns: minmax(8.5rem,.45fr) 1.4fr 1fr; gap: clamp(1rem,2vw,2rem); padding-block: 1.4rem; align-items: center; border-top: 1px solid var(--line); }
.pick-strip time { color: var(--muted); font: .76rem/1.5 var(--mono); }
.pick-strip h2 { font: 400 clamp(1.6rem,2.4vw,2.25rem)/1.15 var(--serif); }
.pick-strip h2 a { text-decoration: none; }
.pick-strip h2 a:hover { text-decoration: underline; }
.pick-strip p[data-pick-text] { color: var(--muted); margin-top: .3rem; }
.pick-strip .product-context { border-inline-start: 1px solid var(--line); padding-inline-start: clamp(1rem,2vw,2rem); }
@media (max-width: 48rem) {
  .pick-strip { grid-template-columns: 1fr; gap: .7rem; }
  .pick-strip .product-context { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); padding-top: .8rem; }
}

/* Field guide directory */
.library { padding-block: clamp(2.1rem, 4.1vw, 4.3rem) clamp(3rem, 6vw, 6rem); border-top: 1px solid var(--ink); scroll-margin-top: 1.5rem; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.75rem; margin-bottom: 1.55rem; }
.section-heading h2, .method h2, .related h2 { font: 400 clamp(2.5rem, 4.4vw, 4.55rem)/1.02 var(--serif); letter-spacing: -.038em; }
.section-heading .eyebrow { margin-bottom: .5rem; }
.section-heading > p, .section-heading > div > p:not(.eyebrow) { max-width: 44rem; color: var(--muted); }
.controls { display: grid; grid-template-columns: minmax(13rem, 1.65fr) minmax(9rem, .8fr) minmax(9rem, .8fr); align-items: end; gap: .75rem; }
.controls > * { min-width: 0; }
.controls label { display: grid; gap: .35rem; font: 400 .69rem/1.45 var(--mono); letter-spacing: .055em; }
.controls input, .controls select {
  width: 100%; min-height: 3.05rem; padding: .72rem .9rem; border: 1px solid #aeb1a0; border-radius: 4px;
  background-color: var(--sheet); color: var(--ink); font: 500 .94rem/1.25 var(--sans); letter-spacing: normal;
}
.controls input::placeholder { color: #64685c; opacity: 1; }
.controls .search-field { position: relative; }
.search-field .search-icon { position: absolute; inset: 50% auto auto .85rem; transform: translateY(-55%); font: 1.6rem/1 var(--sans); pointer-events: none; }
.controls .search-field input { padding-left: 2.5rem; }
.controls select { padding-right: 2rem; text-overflow: ellipsis; }
.controls :is(input,select):hover { border-color: var(--ink); }
.library-tools { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; margin: 1.1rem 0 1.2rem; }
.library-tools > div:first-child { display: inline-flex; gap: .4rem; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: .38rem; min-height: 2.3rem;
  padding: .38rem .8rem; background: transparent; border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font: 570 .83rem/1.25 var(--sans);
}
.chip:hover { color: var(--ink); border-color: #838976; }
.chip[aria-pressed="true"], .chip.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.count { margin-left: auto; font: 400 .75rem/1.45 var(--mono); color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.3vw, 1.3rem); }
.idea-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; padding: clamp(1rem, 1.7vw, 1.6rem);
  border: 1px solid var(--line); border-top: 3px solid var(--card-accent, var(--red)); border-radius: 3px;
  background: var(--sheet); transition: background-color .18s ease, border-color .18s ease;
}
.idea-card:hover { border-right-color: #acaf9e; border-bottom-color: #acaf9e; border-left-color: #acaf9e; background-color: #fffdf8; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: .9rem; }
.card-num { color: var(--muted); font-variant-numeric: tabular-nums; }
.bookmark {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: .45rem;
  min-width: 2.3rem; min-height: 2.3rem; padding: .35rem; border: 1px solid transparent; border-radius: 3px;
  background: transparent; color: var(--muted); font-size: 1.2rem; line-height: 1;
}
.bookmark svg { width: 1.17rem; height: 1.17rem; }
.bookmark:hover, .bookmark[aria-pressed="true"] { color: var(--red); background: #f4e9df; }
.bookmark[aria-pressed="true"] svg { fill: currentColor; }
.category { color: var(--muted); overflow-wrap: anywhere; }
.idea-card h3 { margin: .5rem 0 .6rem; font: 400 clamp(1.65rem, 2.15vw, 2.32rem)/1.05 var(--serif); letter-spacing: -.024em; }
.idea-card h3 a { text-decoration: none; }
.idea-card h3 a:hover { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; }
.card-summary { max-width: 54ch; color: var(--muted); font-size: .94rem; line-height: 1.48; }
.idea-card .product-context { margin-top: auto; border-top: 1px solid var(--line); padding-top: .95rem; }
.idea-card .product-link { font-size: .87rem; padding-inline: .85rem; }
.open-brief, .text-link { display: inline-flex; align-items: center; gap: .28em; font-weight: 660; text-underline-offset: .23em; }
.open-brief { align-self: start; margin-block: .12rem .7rem; color: var(--ink); text-decoration: underline; font-size: .9rem; padding-block: .45rem; }
.open-brief:hover, .text-link:hover { color: var(--red); text-decoration: underline; }
.text-link { color: var(--blue); }
.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.pager :is(button,a) { min-height: 2.55rem; color: var(--ink); border-color: #aeb1a0; background: transparent; }
.pager :is(button,a):hover { background: #e9eadd; border-color: var(--muted); }
.pager :is(button,a)[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: var(--sheet); }
.pager :is(button:disabled,[aria-disabled="true"]) { cursor: default; opacity: .45; }
.empty-state, .empty { color: var(--muted); padding: 2.4rem 1rem; text-align: center; border: 1px dashed var(--line); }
.method { border-top: 1px solid var(--ink); padding-block: clamp(2.5rem, 5.2vw, 5.2rem); }
.method h2 { margin-bottom: 1rem; }
.method p { max-width: 70ch; color: var(--muted); }
.method p + p { margin-top: .7rem; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem 2rem; flex-wrap: wrap; padding-block: 1.4rem 2rem; border-top: 1px solid var(--ink); font-size: .82rem; color: var(--muted); }
.footer a:hover { color: var(--red); }
.footer-inner, .related-links { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .8rem 1.4rem; }
.related-links { justify-content: flex-start; }
.method { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem; }
.method h3 + p { margin-top: .45rem; }
.method p + h3, .method p + a { margin-top: 1.2rem; }
.method .eyebrow { color: var(--red); margin-bottom: .65rem; }
.source-links { display: grid; gap: .55rem; margin-top: 1rem; }
.aside-box h3 { margin-top: 1.25rem; }
.step + .step { margin-top: 1.3rem; }
.step .eyebrow, .prompt-box .eyebrow, .aside-box .eyebrow { margin-bottom: .45rem; font: .69rem/1.4 var(--mono); color: var(--red); }
.bookmark b { font: 620 .9rem/1.3 var(--sans); }
.copy-status:not(:empty) { margin-top: .6rem; }

/* Individual briefs */
.breadcrumbs { display: flex; align-items: baseline; flex-wrap: wrap; gap: .45rem; margin-top: clamp(1rem, 2.4vw, 2.4rem); color: var(--muted); font-size: .82rem; }
.breadcrumbs a { color: var(--blue); }
.profile-intro { max-width: 67rem; padding-block: clamp(1.8rem, 3.5vw, 3.6rem) clamp(1.9rem, 3.5vw, 3.5rem); }
.profile-intro h1 { margin: .7rem 0 1.1rem; font-size: clamp(3.2rem, 5.8vw, 6.1rem); line-height: .97; }
.profile-intro .lead { max-width: 56rem; font-size: clamp(1.07rem, 1.7vw, 1.45rem); line-height: 1.45; }
.profile-intro .product-context { margin-top: 1.25rem; border-inline-start: 3px solid var(--blue); padding: .4rem 0 .4rem 1rem; }
.profile-kicker { display: flex; align-items: center; gap: .55rem 1rem; flex-wrap: wrap; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14.5rem, .43fr); gap: clamp(2rem, 5.3vw, 5.6rem); align-items: start; padding-bottom: clamp(2.5rem, 5vw, 5rem); }
.article-layout > * { min-width: 0; }
.brief { border-top: 1px solid var(--line); padding-block: 1.5rem; }
.brief:first-child { border-top-color: var(--ink); }
.brief :is(h2,h3), .prompt-box h2, .aside-box h2, .aside-box h3 { font: 400 clamp(1.8rem, 2.9vw, 3rem)/1.08 var(--serif); letter-spacing: -.025em; }
.brief h2, .brief h3 { margin-bottom: .7rem; }
.brief p, .brief li { max-width: 71ch; }
.brief p + p { margin-top: .75rem; }
.brief ul, .brief ol { margin: .75rem 0 0; padding-inline-start: 1.4rem; }
.step { margin-block: .55rem; padding-block: .2rem; }
.step::marker { color: var(--red); font-family: var(--mono); font-size: .85em; }
.prompt-box, .aside-box { background: #f1f0e6; border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.1rem, 2vw, 1.9rem); }
.aside-box { border-top: 3px solid var(--blue); }
.aside-box + .aside-box, .prompt-box { margin-top: 1.25rem; }
.aside-box h2, .aside-box h3, .prompt-box h2 { margin-bottom: .65rem; font-size: clamp(1.65rem, 2.15vw, 2.18rem); }
.aside-box p, .aside-box li { font-size: .95rem; line-height: 1.5; color: var(--muted); }
.aside-box p + p, .aside-box p + .text-link { margin-top: .7rem; }
.aside-box a { overflow-wrap: anywhere; }
.prompt-box { background: #edf0e8; }
.prompt-box pre { margin: 1rem 0; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2; font: .91rem/1.62 var(--mono); color: #2d382f; }
.related { border-top: 1px solid var(--ink); padding-block: clamp(2rem, 4vw, 4rem); }
.related h2 { margin-bottom: 1.45rem; }

/* Index of source businesses */
.business-intro { max-width: 62rem; padding-bottom: 1.5rem; }
.business-intro .lead + p { margin-top: .85rem; max-width: 68ch; color: var(--muted); }
.business-jumps { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding: .8rem 0; border-block: 1px solid var(--line); }
.business-jumps a { padding-block: .3rem; color: var(--blue); font-size: .9rem; font-weight: 600; }
.business-group { padding-block: clamp(2rem,4vw,3.8rem); scroll-margin-top: 1rem; }
.business-group h2 { font: 400 clamp(2.3rem,4vw,3.8rem)/1 var(--serif); letter-spacing: -.035em; }
.business-group > p { margin: .7rem 0 1.25rem; max-width: 65ch; color: var(--muted); }
.business-group ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.business-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(8rem,.28fr) auto; gap: .5rem 2rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.business-row h3 { font: 400 clamp(1.55rem,2.3vw,2.1rem)/1.1 var(--serif); }
.business-row h3 a { text-decoration: none; overflow-wrap: anywhere; }
.business-row h3 a:hover { text-decoration: underline; color: var(--red); }
.business-visit { display: inline-block; margin-inline-start: .35rem; color: var(--blue); font: 650 .87rem/1.4 var(--sans); text-decoration: underline; text-underline-offset: .2em; vertical-align: middle; }
.business-row p { margin-top: .25rem; max-width: 67ch; color: var(--muted); font-size: .91rem; }
.business-tool, .business-brief { font-size: .85rem; }
.business-tool span { display: block; color: var(--muted); font-size: .75rem; }
@media (max-width: 46rem) {
  .business-row { grid-template-columns: minmax(0,1fr) auto; gap: .6rem 1rem; }
  .business-row > div:first-child { grid-column: 1 / -1; }
  .business-tool span { display: inline; }
}

@media (max-width: 62rem) {
  :root { --edge: clamp(1.4rem, 4vw, 3rem); }
  .hero { gap: 1.75rem; }
  .hero h1 { font-size: clamp(3.65rem, 7.2vw, 5rem); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .idea-card h3 { font-size: clamp(1.85rem, 3.1vw, 2.4rem); }
  .article-layout { gap: 1.75rem; }
}
@media (max-width: 46rem) {
  .method { grid-template-columns: minmax(0,1fr); gap: .5rem; }
  .nav { min-height: 4.25rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 1.65rem; padding-block: 2.3rem 1.8rem; }
  .hero-copy { max-width: 38rem; }
  .hero h1 { font-size: clamp(3.85rem, 11vw, 5.65rem); }
  .hero-art { max-width: 38rem; justify-self: center; }
  .hero-art img { max-height: 24rem; }
  .controls { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .controls > :first-child { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
  .article-layout aside { max-width: none; }
  .profile-intro h1 { font-size: clamp(3.15rem, 9vw, 4.3rem); }
}
@media (max-width: 35rem) {
  :root { --edge: 1.15rem; }
  .nav { flex-wrap: wrap; gap: .5rem 1.25rem; }
  .brand { font-size: 1rem; gap: .45rem; }
  .brand-mark { width: 1.6rem; height: 1.6rem; }
  .nav-links { gap: .82rem; flex-wrap: wrap; justify-content: flex-start; }
  .nav-links a { font-size: .8rem; }
  .hero h1 { margin-block: .8rem 1rem; }
  .hero-art img { max-height: 19rem; }
  .actions { margin-top: 1.25rem; }
  .cards { grid-template-columns: minmax(0,1fr); }
  .idea-card { padding: 1.12rem; }
  .idea-card h3 { font-size: 2rem; }
  .card-top { margin-bottom: .55rem; }
  .controls { gap: .55rem; }
  .controls input, .controls select { font-size: 1rem; padding-left: .7rem; }
  .bookmark { min-height: 2.6rem; min-width: 2.6rem; }
  .library-tools { row-gap: .65rem; }
  .footer { align-items: flex-start; }
}
@media (max-width: 22rem) {
  :root { --edge: .9rem; }
  .hero h1 { font-size: 3.38rem; }
  .nav { column-gap: .85rem; }
  .count { margin-left: 0; }
  .controls { grid-template-columns: minmax(0,1fr); }
  .controls > :first-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
