/* Local font registrations retain the reviewed faces and their licenses. */
/* ds-allow-hardcode:start Font-face registration names are not component tokens. */
@font-face { font-family: Manrope; src: url('fonts/manrope-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url('fonts/manrope-semibold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Instrument; src: url('fonts/instrument-serif.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Instrument; src: url('fonts/instrument-serif-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
/* ds-allow-hardcode:end */

:root {
  color-scheme: light;
  --paper: #f6f7f2;
  --sheet: #fffef9;
  --ink: #243440;
  --muted: #59666b;
  --line: #cbd1ce;
  --navy: #213a49;
  --navy-hover: #324e5d;
  --accent: #ac2f26;
  --wash: #e8ece7;
  --light-ink: #f6f7f2;
  --light-muted: #cdd7d8;
  --light-accent: #f0b09f;
  --logo-ink: #252923;
  --body: Manrope, Arial, sans-serif;
  --display: Instrument, Georgia, serif;
  --page: clamp(1.25rem, 4.5vw, 4.5rem);
  --max: 85rem;
  --section: clamp(3.5rem, 6.5vw, 6.5rem);
  --s0: .25rem;
  --s1: .5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4rem;
  --fine: .75rem;
  --small: .875rem;
  --body-size: 1rem;
  --body-large: 1.125rem;
  --hero-size: clamp(4rem, 7.4vw, 6.6rem);
  --heading-size: clamp(2.75rem, 4.2vw, 4.5rem);
  --respect-size: clamp(1.35rem, 2vw, 1.65rem);
  --document-size: clamp(1.4rem, 2vw, 1.75rem);
  --note-size: 1.25rem;
  --logo-size: 1.75rem;
  --logo-em-size: 2.2rem;
  --control-size: 2.75rem;
  --rule: 1px;
  --focus-width: 3px;
  --focus-offset: 4px;
  --radius: 3px;
  --logo-width: 9px;
  --logo-height: 19px;
  --logo-gap: 3px;
  --press: 1px;
  --arrow-travel: 3px;
  --fast: 160ms;
  --enter: 220ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --scene-bg: var(--wash);
  --scene-sheet: var(--sheet);
  --scene-ink: var(--ink);
  --scene-muted: var(--muted);
  --scene-line: var(--line);
  --scene-accent: var(--accent);
  --scene-selection-bg: var(--navy);
  --scene-selection-ink: var(--light-ink);
}

* { box-sizing: border-box; }
html { scroll-padding-top: var(--s4); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--body-size)/1.65 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-weight: 400; text-wrap: balance; }
p { max-width: 65ch; text-wrap: pretty; }
em { font-family: var(--display); font-weight: 400; }
a { color: inherit; text-decoration: none; }
button, input, summary { font: inherit; }
a, button, input, summary { touch-action: manipulation; }
button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible { outline: var(--focus-width) solid var(--accent); outline-offset: var(--focus-offset); }
a:active, summary:active { transform: translateY(var(--press)); }
::selection { background: var(--navy); color: var(--paper); }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--page); }
.skip { position: fixed; top: var(--s2); left: var(--s2); z-index: 20; padding: var(--s2); background: var(--navy); color: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }

.site-header { border-bottom: var(--rule) solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding-block: var(--s3); }
/* Preserve the paired-mark logo's forms, colors, and type metrics. */
.wordmark { color: var(--logo-ink); font-size: var(--logo-size); line-height: 1; letter-spacing: -.07em; display: inline-flex; align-items: center; min-height: var(--control-size); font-weight: 600; flex-shrink: 0; }
.wordmark em { font-size: var(--logo-em-size); line-height: .8; letter-spacing: -.045em; }
.peer-mark { display: flex; align-items: center; margin-right: .55rem; gap: var(--logo-gap); }
.peer-mark span { width: var(--logo-width); height: var(--logo-height); border: var(--rule) solid var(--accent); border-radius: 50%; }
.peer-mark span:last-child { transform: rotate(25deg); }
.nav { display: flex; align-items: center; flex-wrap: wrap; column-gap: clamp(1rem, 2.5vw, 2.5rem); font-size: var(--small); }
.nav a, .footer-links a { display: inline-flex; align-items: center; min-height: var(--control-size); border-bottom: var(--rule) solid transparent; }
.nav a:hover, .footer-links a:hover { color: var(--accent); border-color: currentColor; }
.arrow { display: inline-block; transition: transform var(--fast) var(--ease); }
a:hover .arrow { transform: translateY(var(--arrow-travel)); }
.button:hover .arrow { transform: translate(var(--arrow-travel), calc(-1 * var(--arrow-travel))); }

.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 5rem); }
.hero-copy { min-width: 0; }
.audience { color: var(--muted); font-size: var(--fine); margin-bottom: var(--s3); }
.hero h1 { font: 400 var(--hero-size)/.99 var(--display); letter-spacing: -.04em; }
.hero h1 span { display: block; }
.hero h1 em { color: var(--accent); white-space: nowrap; }
.respect-line { margin-top: var(--s3); font: 400 var(--respect-size)/1.3 var(--display); }
.hero-intro { margin-top: var(--s2); font-size: var(--body-size); max-width: 44ch; }
.hero-index { min-width: 0; border-top: var(--rule) solid var(--line); }
.hero-row { display: grid; grid-template-columns: var(--s5) minmax(0, 1fr) auto; gap: var(--s2); align-items: center; min-height: 6.5rem; padding-block: var(--s3); border-bottom: var(--rule) solid var(--line); }
.hero-symbol { width: var(--s5); height: var(--s5); color: var(--accent); }
.hero-row-title { display: flex; flex-wrap: wrap; gap: var(--s1); align-items: center; }
.hero-row-name { font-size: var(--body-large); font-weight: 600; }
.hero-row-caption { display: block; color: var(--muted); font-size: var(--small); margin-top: var(--s0); }
.hero-row:hover .hero-row-name { color: var(--accent); text-decoration: underline; text-underline-offset: .25em; }
.status { display: inline-flex; align-items: center; flex-shrink: 0; border: var(--rule) solid currentColor; border-radius: var(--radius); padding: .15em .5em; color: var(--muted); font-size: var(--fine); line-height: 1.5; font-weight: 400; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 3.125rem; padding: .8rem 1.25rem; background: var(--navy); color: var(--paper); border: var(--rule) solid var(--navy); border-radius: var(--radius); font-size: var(--small); font-weight: 600; transition: background var(--fast) var(--ease); }
.button:hover { background: var(--navy-hover); }
.product-intro .button { margin-top: var(--s3); }

.product-section { padding-block: var(--section); }
.grade-section { border-top: var(--rule) solid var(--line); }
.product-top { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s3); }
.product-name { font-size: var(--body-size); font-weight: 600; }
.product-head { font: 400 var(--heading-size)/1.05 var(--display); letter-spacing: -.025em; }
.product-head em { color: var(--accent); }
.product-copy { margin-top: var(--s3); font-size: var(--body-size); line-height: 1.7; max-width: 40ch; color: var(--muted); }
.grade-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.control-note { font-size: var(--fine); color: var(--muted); margin-top: var(--s3); max-width: 35ch; }
.control-note strong { font-weight: 600; color: var(--ink); }
.product-heading { display: flex; justify-content: space-between; align-items: end; gap: var(--s4); margin-bottom: var(--s4); }
.product-heading .product-copy { max-width: 32ch; padding-bottom: var(--s0); }
.library { background: var(--navy); color: var(--light-ink); --scene-bg: var(--navy); --scene-sheet: var(--navy-hover); --scene-ink: var(--light-ink); --scene-muted: var(--light-muted); --scene-line: var(--light-muted); --scene-accent: var(--light-accent); --scene-selection-bg: var(--sheet); --scene-selection-ink: var(--navy); }
.library .product-head em { color: var(--light-accent); }
.library .product-copy, .library .status { color: var(--light-muted); }
.library .disclosure, .library .disclosure p { color: var(--light-muted); border-color: var(--light-muted); }
.library .disclosure summary { color: var(--light-ink); }
.library .disclosure summary:hover, .library .disclosure summary:focus-visible { color: var(--light-accent); }
.library .disclosure summary:focus-visible { outline-color: var(--light-accent); }
.product-context { display: flex; align-items: start; justify-content: space-between; gap: var(--s4); margin-top: var(--s3); }
.context-line { color: var(--muted); font-size: var(--small); }
.library .context-line { color: var(--light-muted); }
.disclosure { border-top: var(--rule) solid var(--line); font-size: var(--small); max-width: 35rem; width: 100%; }
.disclosure summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: var(--control-size); padding-block: var(--s1); cursor: pointer; list-style: none; color: var(--ink); }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary:hover { color: var(--accent); }
.plus { display: inline-block; font-size: var(--body-large); transition: transform var(--fast) var(--ease); }
.disclosure[open] .plus { transform: rotate(45deg); }
.disclosure p { font-size: var(--small); color: var(--muted); padding-block: var(--s1); }

/* All three compositions consume the same scene roles and interaction states. */
.scene { min-width: 0; position: relative; color: var(--scene-ink); background: var(--scene-bg); border-radius: var(--radius); }
.scene-kicker { font-size: var(--fine); font-weight: 600; color: var(--scene-muted); }
.scene-help { font-size: var(--fine); color: var(--scene-muted); }
.scene-details { display: grid; min-width: 0; }
.scene-details > [data-panel] { grid-area: 1 / 1; min-width: 0; }
/* Reserve the longest rationale's space without exposing hidden copy to AT. */
.scene-details > [data-panel][hidden] { display: block; visibility: hidden; pointer-events: none; }
.scene-detail-label { font-size: var(--fine); color: var(--scene-muted); margin-bottom: var(--s1); }
.scene-detail-title { font: 400 var(--document-size)/1.2 var(--display); color: var(--scene-ink); margin-bottom: var(--s2); }
.scene-detail-copy { color: var(--scene-muted); font-size: var(--small); line-height: 1.6; }
.scene-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s1) var(--s3); font-size: var(--fine); color: var(--scene-muted); }
.scene button[data-select] { touch-action: manipulation; }
.scene button[data-select]:disabled { cursor: default; opacity: 1; }
.scene button[data-select]:not(:disabled) { cursor: pointer; }
.scene button[data-select]:focus-visible { outline: var(--focus-width) solid var(--scene-accent); outline-offset: var(--focus-offset); }
.scene button[data-select]:not(:disabled):active { translate: 0 var(--press); }
.scene[data-enhanced] [data-panel]:not([hidden]) { animation: evidence-in var(--enter) var(--ease); }
@keyframes evidence-in { from { opacity: .55; } to { opacity: 1; } }
.no-script { font-size: var(--small); color: var(--muted); margin-bottom: var(--s3); }

.manifesto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: var(--s4); align-items: center; padding-block: var(--section); border-top: var(--rule) solid var(--line); }
.manifesto h2 { font: 400 var(--heading-size)/1.05 var(--display); letter-spacing: -.025em; }
.manifesto h2 em { color: var(--accent); }
.manifesto p { color: var(--muted); font-size: var(--body-large); max-width: 30ch; }
.site-footer { border-top: var(--rule) solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding-block: var(--s3); flex-wrap: wrap; }
.footer-meta { color: var(--muted); font-size: var(--fine); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); font-size: var(--fine); }

@media (max-width: 1050px) {
  .grade-layout { grid-template-columns: 1fr; gap: var(--s4); }
  .grade-layout .product-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s4); align-items: start; }
  .grade-layout .product-top { grid-column: 1 / -1; }
  .grade-layout .product-head { grid-row: span 3; }
  .grade-layout .product-copy { margin-top: 0; }
  .grade-layout .button { justify-self: start; }
  .hero-row-title { flex-direction: column; align-items: start; }
}
@media (max-width: 800px) {
  :root { --hero-size: clamp(3.6rem, 10vw, 5.5rem); --heading-size: clamp(2.75rem, 6vw, 4rem); }
  .header-inner { gap: var(--s1); flex-wrap: wrap; padding-block: var(--s2); }
  .nav { font-size: var(--fine); }
  .hero { grid-template-columns: 1fr; gap: var(--s4); }
  .hero-index { width: 100%; }
  .hero-row { min-height: 5.5rem; padding-block: var(--s2); }
  .hero-row-title { flex-direction: row; align-items: center; }
  .product-heading { align-items: start; flex-direction: column; gap: var(--s2); }
  .product-heading .product-copy { margin-top: 0; max-width: 48ch; }
  .product-context { flex-direction: column; gap: var(--s2); }
  .disclosure { max-width: none; }
  .manifesto { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --hero-size: clamp(3.1rem, 13vw, 4.6rem); --section: 3.25rem; --logo-size: 1.5rem; --logo-em-size: 1.95rem; }
  .header-inner { justify-content: center; padding-block: var(--s1); }
  .nav { justify-content: space-between; width: 100%; column-gap: var(--s2); }
  .nav .approach-link { display: none; }
  .hero { padding-top: var(--s4); padding-bottom: var(--s4); gap: var(--s3); }
  .audience { margin-bottom: var(--s2); }
  .respect-line { margin-top: var(--s2); }
  .hero-row { grid-template-columns: var(--s4) minmax(0, 1fr) auto; column-gap: var(--s2); min-height: 5rem; }
  .hero-symbol { width: var(--s4); height: var(--s4); }
  .hero-row-name { font-size: var(--body-size); }
  .hero-row-caption { font-size: var(--fine); }
  .hero-row .status { border: 0; padding: 0; }
  .hero-row-title { gap: var(--s0) var(--s1); }
  .grade-layout .product-intro { display: block; }
  .grade-layout .product-copy { margin-top: var(--s2); }
  .product-top { margin-bottom: var(--s2); }
  .product-copy { font-size: var(--small); }
  .product-heading { margin-bottom: var(--s3); }
  .control-note { max-width: none; }
  .footer-inner { align-items: start; flex-direction: column; gap: var(--s1); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  a:active, summary:active, .scene button:active, .arrow { transform: none !important; translate: none !important; }
}
@media (forced-colors: active) {
  .scene button[aria-pressed="true"] { outline: var(--focus-width) solid Highlight; outline-offset: calc(-1 * var(--focus-width)); }
  .scene button:focus-visible { outline-color: CanvasText; outline-offset: var(--focus-offset); }
  .scene [data-mark].is-active { text-decoration: underline; }
}
