@font-face { font-family: DM; src: url('assets/dm-sans.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: Instrument; src: url('assets/instrument-serif.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: Instrument; src: url('assets/instrument-serif-italic.ttf') format('truetype'); font-style: italic; font-display: swap; }
:root {
  --paper: #f7f5ed; --white: #fcfaf3; --ink: #1c352a; --forest: #183b2d;
  --muted: #526257; --line: #cbd0c4; --lime: #d6e3a3; --surface: #efeee5;
  --focus: #9a572d; --space: 4px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 DM, 'Trebuchet MS', sans-serif; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2 { font-family: Instrument, Georgia, serif; font-weight: 400; line-height: 1.08; letter-spacing: -.025em; }
h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.3; }
em { font-weight: 400; }
a { color: inherit; text-underline-offset: 5px; }
button, input, select { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
button, a, input, select, summary { touch-action: manipulation; }
img { display: block; max-width: 100%; height: auto; }
:where(a, button, input, select, summary, [tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
footer a:focus-visible { outline-color: var(--lime); }
body:has(dialog[open]) { overflow: hidden; }
.wrap { width: calc(100% - 112px); max-width: 1380px; margin-inline: auto; }
.notice { background: var(--forest); color: var(--white); text-align: center; padding: 8px 20px; font-size: .875rem; }
header { background: var(--paper); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.brand { font-family: Instrument, Georgia, serif; font-size: 2.75rem; line-height: 1; text-decoration: none; letter-spacing: -.055em; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.brand-dot { font-family: Georgia, serif; font-size: 1.75rem; color: #667f51; }
.nav-links { display: flex; flex-wrap: wrap; gap: 24px; }
.nav a:not(.brand) { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.nav a:hover, .nav a[aria-current=page] { text-decoration: underline; }
.nav-cta { gap: 24px; border-bottom: 1px solid var(--ink); }
.menu-toggle { display: none; min-width: 80px; min-height: 44px; border: 1px solid var(--muted); border-radius: 4px; background: transparent; padding: 8px 12px; }
.hero { display: grid; grid-template-columns: 1fr 1.15fr; padding-block: 40px; gap: 40px; }
.hero-copy { padding-block: 40px; }
.hero h1 { font-size: clamp(4rem, 7.6vw, 7rem); }
.hero-copy > p:not(.small-label) { max-width: 34ch; color: var(--muted); font-size: 1.125rem; margin-block: 28px; }
.hero-copy .small-label { max-width: 32ch; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 52px; padding: 12px 24px; background: var(--forest); color: var(--white); border: 1px solid var(--forest); border-radius: 4px; text-decoration: none; transition: background 150ms; }
.button:hover { background: #2c5642; }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { background: #e4e6d9; }
.text-link { display: flex; width: fit-content; align-items: center; min-height: 44px; margin-top: 12px; }
.hero-foot { display: flex; align-items: center; gap: 8px; margin-top: 40px; font-size: .875rem; color: var(--muted); }
.status-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #667f51; }
.hero-photo { position: relative; overflow: hidden; border-radius: 144px 4px 4px 4px; min-height: 600px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-photo figcaption { position: absolute; left: 24px; bottom: 24px; right: 24px; color: white; background: var(--forest); padding: 8px 12px; border-radius: 4px; width: fit-content; }
.small-label { font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 24px; }
.intro { display: grid; grid-template-columns: .75fr 1.5fr 1fr; gap: 32px; padding-block: 96px; border-top: 1px solid var(--line); }
.intro h2 { font-size: 2.75rem; line-height: 1.16; }
.intro > p:last-child { color: var(--muted); }
.collection { background: var(--surface); padding-block: 80px; }
.section-heading { display: flex; justify-content: space-between; gap: 48px; align-items: end; }
.section-heading h2 { font-size: 3.5rem; }
.section-heading > p { max-width: 34ch; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 32px 16px; }
.filter { min-height: 44px; background: transparent; border: 1px solid var(--muted); border-radius: 32px; padding: 8px 20px; }
.filter.active, .filter:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }
.collection-note { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .875rem; }
.collection-note #collection-count { flex-shrink: 0; }
.caption, figcaption { font-size: .875rem; color: var(--muted); line-height: 1.6; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; margin-top: 32px; }
.product-card { min-width: 0; }
.product-art { aspect-ratio: 1.25; position: relative; overflow: hidden; border-radius: 80px 4px 4px 4px; background: #e6dcca; }
.product-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 200ms ease-out; }
.product-card:focus-within img, .product-card:hover img { transform: scale(1.025); }
.art-overlay { position: absolute; bottom: 16px; left: 16px; font-size: .875rem; background: var(--paper); padding: 4px 8px; }
.product-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; font-size: .875rem; color: var(--muted); margin-block: 16px 8px; }
.product-card h3 { font-family: Instrument, Georgia, serif; font-size: 2.25rem; margin-bottom: 12px; }
.product-card p { max-width: 34ch; }
.product-card button { background: none; border: 0; border-bottom: 1px solid var(--ink); padding: 12px 0; margin-top: 12px; min-height: 44px; }
.product-card button:hover { color: #36542b; }
.science { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; padding-block: 112px; }
.science h2 { font-size: 4rem; }
.science > div > p:not(.small-label) { max-width: 44ch; color: var(--muted); margin-block: 28px; }
.study-preview { align-self: center; background: #e9ecdf; padding: 40px; border-radius: 4px 72px 4px 4px; }
.study-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .875rem; margin-bottom: 32px; color: var(--muted); }
.study-preview h3 { font-family: Instrument, Georgia, serif; font-size: 2.75rem; }
.study-preview > a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; }
.evidence-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-block: 32px; padding-block: 24px; border-block: 1px solid #bac5ae; }
.evidence-summary dt { font-family: Instrument, Georgia, serif; font-size: 2.75rem; line-height: 1.2; }
.evidence-summary dd { font-size: .875rem; }
.pen-section { background: #eae7db; padding-block: 80px; }
.pen-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.pen-layout img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 4px 4px 96px 4px; }
.pen-layout figcaption { margin-top: 12px; }
.pen-layout h2 { font-size: 3.5rem; }
.pen-layout > div > p:not(.small-label) { color: var(--muted); margin-top: 24px; }
.numbered { padding: 0; list-style: none; margin-block: 24px; }
.numbered li { display: flex; gap: 24px; padding-block: 16px; border-bottom: 1px solid #b9bfaf; }
.numbered li > span { color: var(--muted); }
.numbered h3 { font-size: 1.125rem; }
.numbered p { color: var(--muted); margin-top: 4px; }
.faq { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; padding-block: 96px; }
.faq h2 { font-size: 3.5rem; margin-bottom: 24px; }
.faq > div > p:not(.small-label) { color: var(--muted); }
.faq-list details { border-top: 1px solid var(--line); padding-block: 16px; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 44px; padding-block: 8px; padding-right: 8px; font-size: 1.125rem; }
.faq-list p { margin-block: 12px 8px; max-width: 60ch; color: var(--muted); }
.closing { padding-block: 80px 96px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px 64px; }
.closing > .small-label { grid-column: 1/-1; margin: 0; }
.closing h2 { font-size: 3.5rem; }
.closing > div > p { color: var(--muted); margin-bottom: 24px; }
footer { background: var(--forest); color: var(--white); padding-block: 64px 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr .8fr 1fr; gap: 48px; }
.footer-grid p { margin-top: 16px; }
.footer-grid > div:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }
.footer-grid a:not(.brand) { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid #526c5c; padding-top: 24px; margin-top: 48px; font-size: .875rem; }
footer .caption { color: inherit; margin-top: 16px; }
dialog { width: min(640px, calc(100% - 32px)); max-height: 85vh; padding: 48px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 4px; }
dialog::backdrop { background: #10241cb3; backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 8px; right: 8px; min-width: 44px; min-height: 44px; background: none; border: 0; font-size: 2rem; }
dialog h2 { font-size: 3rem; margin-bottom: 24px; overflow-wrap: anywhere; }
dialog h3 { font-size: 1.125rem; margin-block: 24px 8px; }
.dialog-spec { display: flex; gap: 16px; flex-wrap: wrap; padding-block: 16px; border-block: 1px solid var(--line); margin-top: 24px; font-size: .875rem; }
.dialog-links { margin-top: 24px; }
.dialog-links a { display: inline-flex; align-items: center; min-height: 44px; }
.skip { position: fixed; left: 16px; top: 16px; background: var(--paper); padding: 16px; z-index: 30; transform: translateY(-200%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.document { max-width: 1100px; padding-block: 80px; }
.document > h1 { font-size: clamp(3rem, 6vw, 5rem); max-width: 950px; overflow-wrap: anywhere; }
.document > .lede { font-size: 1.25rem; max-width: 65ch; margin-block: 32px 40px; color: var(--muted); }
.document h2 { font-size: 2.75rem; margin-block: 56px 24px; }
.document h3 { margin-block: 24px 12px; }
.document p { margin-block: 16px; max-width: 70ch; }
.document li { margin-block: 12px; }
.callout, .stage-note { background: #e9ecdf; border-left: 3px solid #607848; padding: 24px; margin-block: 32px; }
.stage-note { display: flex; align-items: start; gap: 16px; }
.stage-note .status-dot { margin-top: 8px; }
.stage-note p { margin-block: 8px 0; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-block: 24px; }
.doc-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.toolbar { display: flex; gap: 16px; flex-wrap: wrap; margin-block: 24px; align-items: end; }
.toolbar label { display: flex; flex: 1; min-width: 200px; flex-direction: column; gap: 8px; }
.toolbar input, .toolbar select { width: 100%; background: var(--white); border: 1px solid #64765a; border-radius: 4px; padding: 12px; min-height: 48px; }
.clear-filters { min-height: 48px; padding: 12px 16px; border: 1px solid var(--muted); border-radius: 4px; background: transparent; }
.clear-filters:hover { background: #e4e6d9; }
.table-wrap { position: relative; overflow: auto; border: 1px solid var(--line); margin-block: 24px; max-width: 100%; }
table { border-collapse: collapse; width: 100%; min-width: 780px; line-height: 1.6; }
th, td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #e6e9dc; font-weight: 600; }
td a { overflow-wrap: anywhere; }
.study-record { padding-block: 32px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
.study-record > div { min-width: 0; overflow-wrap: anywhere; }
.study-record h3 { margin: 0 0 12px; font-family: Instrument, Georgia, serif; font-size: 2rem; }
.study-record .tag { display: inline-block; font-size: .875rem; border: 1px solid #87947c; border-radius: 24px; padding: 4px 12px; }
.study-record p { margin-block: 12px; }
.study-record details { margin-top: 16px; padding: 16px; background: var(--surface); }
.study-record summary { min-height: 44px; }
.source-list { padding-left: 24px; }
.source-list li { margin-bottom: 24px; }
.source-list a { overflow-wrap: anywhere; }
.source-list p { color: var(--muted); margin-block: 8px; }
.print-button { border: 1px solid var(--ink); background: transparent; padding: 12px 20px; border-radius: 4px; min-height: 44px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mini-grid > div { border-top: 1px solid var(--line); padding-top: 16px; }
.empty, .load-fallback { padding: 32px; background: #e9ecdf; grid-column: 1/-1; }
.empty h3 { margin: 0 0 12px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.principles article { border-top: 1px solid var(--line); padding-top: 24px; }
.step-number { color: var(--muted); }
.error-page { min-height: 70vh; }
.error-actions { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .nav-cta { display: none !important; }
  .hero { gap: 24px; }
  .hero-photo { min-height: 560px; }
  .hero h1 { font-size: 5rem; }
  .intro { grid-template-columns: 1fr 1fr; gap: 24px; }
  .intro .small-label { grid-column: 1/-1; margin: 0; }
  .science { gap: 40px; }
  .study-preview { padding: 32px; }
  .pen-layout, .closing, .faq { gap: 40px; }
  .pen-layout h2, .closing h2 { font-size: 3rem; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 96px; }
  .wrap { width: calc(100% - 40px); }
  .notice { font-size: .875rem; padding-inline: 16px; }
  .nav { min-height: 80px; gap: 12px; flex-wrap: wrap; padding-block: 12px; }
  .brand { font-size: 2.5rem; }
  .nav-links { width: 100%; gap: 4px 24px; border-top: 1px solid var(--line); padding-top: 12px; }
  .js .menu-toggle { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; }
  .js .nav-links { display: none; }
  .js .nav-links.is-open { display: flex; }
  .hero { grid-template-columns: 1fr; padding-block: 32px; gap: 32px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(3.5rem, 14vw, 5rem); }
  .hero-copy .small-label { margin-bottom: 20px; }
  .hero-foot { margin-top: 24px; align-items: start; }
  .hero-foot .status-dot { margin-top: 8px; }
  .hero-photo { min-height: 0; height: 440px; border-top-left-radius: 96px; }
  .intro { grid-template-columns: 1fr; padding-block: 56px; }
  .intro .small-label { grid-column: auto; }
  .intro h2, .section-heading h2 { font-size: 2.75rem; }
  .collection { padding-block: 56px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 24px; }
  .collection-note { flex-direction: column; gap: 8px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .product-art { aspect-ratio: 1; border-top-left-radius: 48px; }
  .product-meta { display: block; }
  .product-meta span { display: block; }
  .product-card h3 { font-size: 2rem; overflow-wrap: anywhere; }
  .science { grid-template-columns: 1fr; gap: 32px; padding-block: 64px; }
  .science h2 { font-size: 3.5rem; }
  .study-preview { padding: 24px; }
  .study-preview h3 { font-size: 2.5rem; }
  .evidence-summary { gap: 12px; }
  .pen-section { padding-block: 48px; }
  .pen-layout { grid-template-columns: 1fr; gap: 40px; }
  .pen-layout h2 { font-size: 2.75rem; }
  .closing, .faq { grid-template-columns: 1fr; padding-block: 64px; gap: 32px; }
  .closing h2, .faq h2 { font-size: 3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  dialog { padding: 48px 24px 32px; }
  .document { padding-block: 48px; }
  .document h2 { font-size: 2.25rem; }
  .study-record { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .toolbar { display: block; }
  .toolbar label { margin-bottom: 16px; min-width: 0; }
  .mini-grid, .principles { grid-template-columns: 1fr; }
  .source-list { padding-left: 20px; }
}
@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-photo { height: 360px; }
  .evidence-summary { grid-template-columns: 1fr; }
  .evidence-summary > div { display: flex; align-items: center; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  header, .notice, footer, .doc-nav, .toolbar, .print-button, .skip { display: none; }
  .wrap { width: 100%; }
  .document { padding: 0; max-width: none; }
  body { background: white; color: black; font-size: 11pt; }
  .document > h1 { font-size: 40pt; }
  .document h2 { font-size: 24pt; break-after: avoid; }
  .study-record { break-inside: avoid; }
  a { color: black; }
  .table-wrap { overflow: visible; }
  table { min-width: 0; font-size: 9pt; }
  th, td { padding: 8px; }
  details { display: block; }
  details > * { display: block !important; }
}
