@font-face {
  font-family: Inter;
  src: url('/fonts/inter.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url('/fonts/fraunces.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --paper: #faf9f5;
  --tint: #f0eee6;
  --white: #fffefa;
  --ink: #152335;
  --navy: #0d1929;
  --mute: #4f5b63;
  --gold: #dfbd80;
  --bronze: #785627;
  --line: #d9d7cb;
  --serif: Fraunces, Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5.7vw, 6rem);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 1rem/1.6 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
h1, h2, h3, .brand { font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 4.1vw, 4rem); letter-spacing: -.055em; line-height: 1.04; }
h3 { letter-spacing: -.035em; line-height: 1.14; }
::selection { background: #e4ca95; color: #112033; }
:focus-visible { outline: 3px solid #b47b23; outline-offset: 4px; }
section, [id="faz"] { scroll-margin-top: 1.5rem; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 78rem); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { flex: none; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; z-index: 10; top: .6rem; left: 1rem; padding: .65rem 1rem; color: var(--white); background: var(--ink); transform: translateY(-180%); }
.skip:focus { transform: none; }
.masthead { position: relative; z-index: 3; background: var(--paper); }
.header-inner, .header-actions, .desktop-nav, .hero-actions, .brand, .access, .primary, .footer-inner, .source-inner, .source-inner ul, .source-inner li { display: flex; align-items: center; }
.header-inner { min-height: 4.9rem; justify-content: space-between; gap: 2rem; }
.brand { text-decoration: none; gap: .53rem; font-size: 2.1rem; line-height: 1; letter-spacing: -.065em; }
.brand svg { width: 1.45rem; height: 2.15rem; color: var(--bronze); }
.desktop-nav { gap: clamp(1.2rem, 2.5vw, 2.5rem); }
.desktop-nav a, .mobile-nav a { text-decoration: none; font-size: .91rem; font-weight: 500; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--bronze); text-decoration: underline; text-underline-offset: .35em; }
.header-actions { gap: .75rem; }
.access, .primary { width: fit-content; justify-content: center; gap: .6rem; min-height: 2.75rem; padding: .6rem 1.15rem; border-radius: .25rem; font-weight: 600; font-size: .93rem; line-height: 1.25; text-decoration: none; }
.access { background: var(--ink); color: var(--white); }
.access .icon { width: 1rem; height: 1rem; }
.access:hover { background: #2c4054; }
.mobile-nav { display: none; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

.hero { isolation: isolate; position: relative; overflow: hidden; color: var(--paper); background: var(--navy); }
.hero-art { position: absolute; top: 0; right: 0; z-index: -2; width: 64%; height: 100%; object-fit: cover; object-position: 59% 52%; }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 34%, rgba(13,25,41,.9) 41%, rgba(13,25,41,.25) 57%, transparent 73%); }
.hero-inner { padding-block: clamp(3.5rem, 5.8vw, 6rem) clamp(3.75rem, 6vw, 6.3rem); }
.hero-copy { max-width: 52%; }
.kicker, .source-inner > p, .report-meta, .report-label { font-size: .78rem; font-weight: 600; line-height: 1.4; text-transform: uppercase; letter-spacing: .125em; }
.kicker { display: flex; align-items: center; gap: .7rem; color: var(--bronze); }
.hero .kicker, .audit .kicker { color: var(--gold); }
.rule { display: inline-block; flex: none; width: 1.8rem; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(4.6rem, 7.8vw, 7.5rem); line-height: .99; letter-spacing: -.042em; word-spacing: .025em; margin: 1.45rem 0 1.3rem; }
.hero h1 em { font-weight: 400; color: var(--gold); }
.hero-lead { max-width: 29rem; color: #d3d9dd; font-size: clamp(1.04rem, 1.38vw, 1.23rem); line-height: 1.55; }
.hero-actions { flex-wrap: wrap; gap: 1rem 1.7rem; margin-top: 1.95rem; }
.primary { min-height: 3.05rem; padding-inline: 1.25rem; background: var(--gold); color: var(--navy); }
.primary:hover { background: #efd29e; }
.text-link, .footer-access { font-weight: 500; font-size: .94rem; text-decoration-color: #897c64; text-underline-offset: .35em; }
.text-link:hover, .footer-access:hover { color: var(--gold); }
.source-strip { background: var(--tint); border-bottom: 1px solid var(--line); }
.source-inner { gap: clamp(1rem, 3vw, 3rem); padding-block: 1.4rem; }
.source-inner > p { color: var(--bronze); padding-right: clamp(1rem, 2.7vw, 2.7rem); border-right: 1px solid #c9c6ba; }
.source-inner ul { justify-content: space-between; flex: 1; list-style: none; padding: 0; gap: .85rem; }
.source-inner li { gap: .55rem; font-weight: 500; font-size: clamp(.86rem, 1.1vw, 1rem); line-height: 1.3; }
.source-inner .icon { color: #677070; }

.section { padding-block: clamp(4.4rem, 7.5vw, 7.5rem); }
.intro .kicker, .workflow .kicker { margin-bottom: 1.35rem; }
.intro h2 { max-width: 13ch; }
.lead { max-width: 41ch; margin-top: 1.3rem; font-size: clamp(1.04rem, 1.3vw, 1.17rem); line-height: 1.65; color: var(--mute); }
.report-layout, .limits-layout, .audit-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.report-layout > .intro { padding-top: 1.35rem; }
.hint { display: flex; align-items: flex-start; gap: .65rem; max-width: 34ch; margin-top: 1.8rem; font-size: .92rem; color: var(--bronze); }
.hint .icon { margin-top: .17rem; width: 1.05rem; height: 1.05rem; }
.report { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--bronze); border-radius: .18rem; box-shadow: 0 18px 38px -26px #4b423d69, 4px 5px 0 -1px var(--tint), 4px 5px 0 var(--line); }
.report-head, .decision, .ledger-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.report-head { padding: 1.05rem clamp(1.1rem, 2.6vw, 2.25rem); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.report-label { display: flex; align-items: center; gap: .55rem; color: #555b5d; letter-spacing: .09em; }
.report-label .icon { color: var(--bronze); }
.example { color: #675335; background: #f3ecdc; padding: .22rem .55rem; border-radius: .15rem; font-size: .81rem; font-weight: 500; }
.report-body { padding: clamp(1.15rem, 2.6vw, 2.25rem); }
.report-meta { color: var(--mute); font-size: .75rem; }
.report h3 { margin: .42rem 0 1.25rem; font-size: clamp(1.68rem, 2.6vw, 2.45rem); }
.decision { justify-content: flex-start; flex-wrap: wrap; gap: .5rem 1rem; font-size: .87rem; padding-block: .85rem; border-block: 1px solid var(--line); color: var(--mute); }
.decision strong { font-size: .85rem; color: #704c11; background: #f4e8c8; padding: .15rem .56rem; border-radius: .18rem; }
.report h4 { margin-top: 1.2rem; margin-bottom: .15rem; font-size: .96rem; }
.evidence + .evidence { border-top: 1px solid var(--line); }
.evidence summary, .questions summary { display: flex; align-items: center; gap: .7rem; }
.evidence summary { font-size: .94rem; padding: .78rem .05rem; line-height: 1.4; }
.evidence summary:hover .code { background: #e6dac2; }
.code { color: var(--bronze); background: #f2ecdf; border: 1px solid #d7c7a7; border-radius: .18rem; font: 600 .82rem/1.2 ui-monospace, monospace; padding: .2rem .33rem; }
.plus { flex: none; margin-left: auto; position: relative; width: 1rem; height: 1rem; color: var(--bronze); }
.plus::before, .plus::after { content: ''; position: absolute; top: 50%; left: 50%; width: .7rem; height: 1.5px; transform: translate(-50%, -50%); background: currentColor; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] > summary .plus::after { display: none; }
.source-note { margin: .05rem 0 1rem .04rem; border-left: 2px solid #b99a60; background: #f6f4ed; padding: .72rem 1rem; font-size: .88rem; line-height: 1.5; color: var(--mute); }
.source-note strong { display: block; margin-bottom: .16rem; color: var(--ink); font-weight: 600; }

.workflow, .team { border-block: 1px solid var(--line); background: var(--tint); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); margin-top: 2.65rem; list-style: none; padding: 0; }
.steps li { border-top: 1px solid #bdbbad; padding-top: 1.35rem; }
.step-icon { width: 1.8rem; height: 1.8rem; color: var(--bronze); }
.steps h3, .team h3 { font-size: clamp(1.5rem, 2.15vw, 2.1rem); margin: .9rem 0 .65rem; }
.steps p, .team p { color: var(--mute); }
.audit, footer { color: var(--paper); background: var(--navy); }
.audit-layout { align-items: center; }
.audit .lead { color: #c4cdd3; }
.ledger { padding: clamp(1.15rem, 2.6vw, 2rem); border: 1px solid #38495a; background: #142335; }
.ledger-head { flex-wrap: wrap; border-bottom: 1px solid #38495a; padding-bottom: 1rem; }
.ledger h3 { font-size: 1.65rem; }
.ledger-head span { color: var(--gold); font-size: .82rem; }
.ledger ol { list-style: none; padding: 0; margin-top: 1.4rem; }
.ledger li { display: grid; grid-template-columns: 3.5rem 1fr; align-items: baseline; }
.ledger time { font: .84rem/1.4 ui-monospace, monospace; color: #d8bf92; }
.ledger li > div { position: relative; padding: 0 0 1.25rem 1.2rem; border-left: 1px solid #5b6370; }
.ledger li:last-child > div { border-color: transparent; padding-bottom: 0; }
.ledger li > div::before { content: ''; position: absolute; top: .53rem; left: -3.5px; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.ledger strong { font-weight: 550; }
.ledger p { color: #bfccd5; font-size: .92rem; }
.questions { border-top: 1px solid #a9ada6; }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { padding-block: 1.1rem; font-size: clamp(1rem, 1.35vw, 1.2rem); font-weight: 550; line-height: 1.45; }
.questions summary:hover { color: var(--bronze); }
.questions p { padding: 0 1.5rem 1.15rem 0; color: var(--mute); }
.team { padding-block: clamp(3rem, 5vw, 5rem); }
.team-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); }
.team h2 { font-size: clamp(2rem, 3vw, 3rem); max-width: 10ch; }
.team h3 { margin: 0 0 .35rem; }
.team .role { color: var(--bronze); font-size: .92rem; margin-bottom: .65rem; font-weight: 600; }
.footer-inner { gap: 1.3rem; min-height: 7rem; padding-block: 1.5rem; flex-wrap: wrap; }
footer .brand { --mark-cut: var(--navy); }
footer .brand svg { color: var(--gold); }
footer p { margin-left: auto; font-size: .9rem; color: #c5cdd1; }
.footer-access { color: var(--paper); }

@media (max-width: 56rem) {
  .desktop-nav { gap: 1rem; }
  .source-inner { align-items: flex-start; }
  .source-inner ul { display: grid; grid-template-columns: 1fr 1.3fr; gap: .8rem 1.25rem; }
  .source-inner > p { align-self: stretch; display: flex; align-items: center; }
  .report-layout, .limits-layout, .audit-layout { gap: 2rem; }
}
@media (max-width: 45rem) {
  :root { --gutter: clamp(1.25rem, 5.5vw, 2.5rem); }
  .header-inner { min-height: 4.2rem; }
  .brand { font-size: 1.85rem; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: .25rem; }
  .mobile-nav summary span { width: 1.15rem; height: .55rem; border-block: 1.5px solid currentColor; }
  .mobile-nav nav { position: absolute; top: 100%; right: var(--gutter); padding: .35rem; min-width: 12rem; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 .6rem 1rem #14213222; }
  .mobile-nav a { display: block; padding: .7rem 1rem; }
  .hero-copy { max-width: 74%; }
  .hero-inner { padding-block: 3rem 3.3rem; }
  .hero-art { width: 70%; object-position: 64% center; }
  .hero::after { background: linear-gradient(90deg, var(--navy) 6%, rgba(13,25,41,.98) 30%, rgba(13,25,41,.89) 44%, rgba(13,25,41,.46) 66%, transparent 92%); }
  .hero h1 { font-size: clamp(4.2rem, 12vw, 5.2rem); }
  .hero-lead { font-size: 1.04rem; }
  .source-inner { display: block; padding-block: 1.15rem; }
  .source-inner > p { padding: 0; border: 0; margin-bottom: .8rem; }
  .source-inner li { font-size: .9rem; }
  .report-layout, .limits-layout, .audit-layout, .team-inner { grid-template-columns: 1fr; }
  .report-layout > .intro { padding-top: 0; }
  .intro h2 { max-width: 16ch; }
  .lead { max-width: 48ch; }
  .hint { margin-top: 1rem; max-width: none; }
  .steps { grid-template-columns: 1fr; margin-top: 2rem; gap: 1.4rem; }
  .steps li { display: grid; grid-template-columns: 2rem 1fr; column-gap: .7rem; align-items: start; }
  .steps h3 { margin: 0 0 .6rem; }
  .steps p { grid-column: 2; }
  .team h2 { max-width: none; }
  .team-inner > div { border-top: 1px solid var(--line); padding-top: 1.3rem; }
}
@media (max-width: 30rem) {
  .hero-inner { padding-block: 2.65rem 2.5rem; }
  .hero-copy { max-width: 100%; }
  .hero .kicker { font-size: .73rem; }
  .hero-art { width: 44%; height: 12.8rem; object-position: 62% 50%; mask-image: linear-gradient(to bottom, black 76%, transparent); }
  .hero::after { background: linear-gradient(90deg, var(--navy) 15%, rgba(13,25,41,.88) 44%, rgba(13,25,41,.1) 77%, transparent); }
  .hero h1 { font-size: clamp(3.45rem, 14vw, 4.2rem); margin-block: 1.4rem 2.15rem; }
  .hero-lead { max-width: 34ch; }
  .hero-actions { gap: .9rem 1.2rem; margin-top: 1.55rem; }
  .source-inner ul { grid-template-columns: 1fr 1.22fr; gap: .8rem; align-items: start; }
  .source-inner .icon { width: 1.03rem; height: 1.03rem; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1rem; }
  footer p { grid-row: 2; grid-column: 1 / -1; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
