/* Public pages: landing, hub, assumptions, 404. Brand register: fluid type, photography, motion. */
.web { background: var(--bg); }
.topnav { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; gap: var(--s-5); padding: var(--s-5) var(--gutter); color: #fff; }
.topnav .wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-variation-settings: "wdth" 140; font-weight: 650; font-size: 22px; text-decoration: none; color: inherit; }
.topnav .wordmark img { width: 30px; height: 30px; }
.topnav nav { display: flex; gap: var(--s-5); margin-left: auto; font-size: var(--t-14); }
.topnav nav a { color: inherit; text-decoration: none; opacity: .85; }
.topnav nav a:hover { opacity: 1; }
.topnav .btn { background: transparent; color: #fff; border-color: oklch(1 0 0 / .45); }

/* Fold: full viewport, real photograph, one shared column */
.fold { position: relative; min-height: 100vh; display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--drench); }
.fold > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fold::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, oklch(0.16 0.01 358 / .88) 0%, oklch(0.16 0.01 358 / .55) 48%, oklch(0.16 0.01 358 / .05) 75%); }
.fold .in { position: relative; z-index: 2; width: min(100% - 2 * var(--gutter), var(--container-wide)); margin-inline: auto; padding-block: var(--s-12) calc(var(--pocbar-h) + var(--s-8)); }
.fold .col { max-width: 760px; display: grid; gap: var(--s-5); }
.fold h1 { font-size: clamp(2.4rem, 1.2rem + 3.3vw, 4.6rem); line-height: 1; letter-spacing: -0.025em; }
.fold h1 em { font-style: normal; color: var(--laser); }
.fold .lead { color: oklch(0.92 0.005 358); max-width: none; }
.fold .reticle { z-index: 2; }
.roleband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: oklch(1 0 0 / .18); border-radius: var(--r-lg); overflow: hidden; }
.roleband a { display: grid; gap: 4px; padding: var(--s-4); background: oklch(0.16 0.01 358 / .72); color: #fff; text-decoration: none; min-height: 112px; align-content: space-between; transition: background var(--dur-2) var(--ease); }
.roleband a:hover { background: var(--primary); }
.roleband a strong { font-size: var(--t-15); font-family: var(--font-display); font-variation-settings: "wdth" 112; }
.roleband a span { font-size: var(--t-12); opacity: .8; }
.fold .tagline { position: absolute; z-index: 2; left: 68%; top: calc(44% + 132px); font-family: var(--font-mono); font-size: 11px; color: #fff; background: oklch(0.16 0.01 358 / .6); padding: 6px 10px; border-radius: var(--r-ctl); }

/* Sections */
.sec { padding-block: var(--section); }
.sec .wrap-wide > h2, .sec h2.big { font-size: var(--fs-h2); line-height: 1.05; max-width: 22ch; }
.kick { font-family: var(--font-mono); font-size: var(--t-12); color: var(--primary-strong); letter-spacing: .06em; margin-bottom: var(--s-3); display: block; }
.try-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--s-8); align-items: center; }
.try-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); align-items: end; }
.try-vf { position: relative; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--ink); }
.try-vf > img { width: 100%; height: 100%; object-fit: cover; }
.try-vf .reticle { left: calc(50% - 60px); top: calc(40% - 60px); }
.try-vf .chips { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.try-vf .chips > * { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); }
.try-vf .chips.on > * { opacity: 1; transform: none; }
.try-page { background: var(--bg); border-radius: 4px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px oklch(0.2 0.01 358 / .4); padding: 18px 16px; aspect-ratio: 210 / 297; display: flex; flex-direction: column; gap: 10px; }
.try-page .bb { display: flex; justify-content: space-between; border-bottom: 1.5px solid var(--ink); padding-bottom: 8px; font-size: 10px; font-family: var(--font-mono); }
.try-page .slot { display: grid; grid-template-columns: 70px 1fr; gap: 8px; align-items: start; padding-bottom: 8px; border-bottom: var(--rule); }
.try-page .slot img { width: 70px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.try-page .slot b { font-size: 11px; display: block; line-height: 1.25; }
.try-page .slot i { display: block; height: 4px; background: var(--surface-3); margin-top: 5px; width: 80%; }
.steps3 { display: grid; gap: var(--s-4); counter-reset: s3; margin-top: var(--s-5); }
.steps3 li { list-style: none; display: grid; grid-template-columns: 40px 1fr; gap: var(--s-3); }
.steps3 li::before { counter-increment: s3; content: counter(s3); width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; }
.steps3 strong { display: block; }
.steps3 p { color: var(--ink-2); font-size: var(--t-15); }

.proof-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-8); align-items: center; }
.proof-split.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.report-shot { display: flex; gap: var(--s-4); justify-content: center; }
.report-shot .pg { width: calc(794px * .36); height: calc(1123px * .36); overflow: hidden; border-radius: 3px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px oklch(0.2 0.01 358 / .45); flex: none; }
.report-shot .pg:nth-child(2) { margin-top: var(--s-8); }
.report-shot .pg .a4 { zoom: .36; pointer-events: none; }
.ticks { display: grid; gap: var(--s-3); margin: var(--s-5) 0; }
.ticks li { list-style: none; display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--t-16); }
.ticks li .ico { color: var(--primary); margin-top: 3px; }

.drench { background: var(--drench); color: var(--on-drench); }
.drench .kick { color: var(--laser); }
.drench p { color: var(--on-drench-muted); }
.big-vial { position: relative; width: min(100%, 520px); height: 96px; border-radius: 48px; border: 2px solid var(--drench-line); background: var(--drench-2); margin-top: var(--s-6); }
.big-vial::before, .big-vial::after { content: ''; position: absolute; top: 14px; bottom: 14px; width: 2px; background: var(--on-drench-muted); }
.big-vial::before { left: calc(50% - 62px); } .big-vial::after { left: calc(50% + 60px); }
.big-vial .bubble { position: absolute; top: 20px; left: calc(50% - 48px); width: 96px; height: 52px; border-radius: 26px; background: var(--warning); transform: translateX(-150px); transition: transform 1.6s var(--ease-out), background .4s; }
.big-vial.level .bubble { transform: none; background: var(--success); }
.vial-read { display: flex; justify-content: space-between; max-width: 520px; margin-top: 10px; font-family: var(--font-mono); font-size: var(--t-13); color: var(--on-drench-muted); }

.gov { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 2px solid var(--ink); }
.gov a { display: grid; gap: 6px; padding: var(--s-5) var(--s-5) var(--s-5) 0; border-bottom: var(--rule); text-decoration: none; color: inherit; }
.gov a:hover strong { color: var(--primary-strong); }
.gov strong { font-size: var(--t-18); font-family: var(--font-display); font-variation-settings: "wdth" 112; }
.gov span { color: var(--ink-2); font-size: var(--t-15); }

.foot { background: var(--ground); padding: var(--s-8) 0 calc(var(--pocbar-h) + var(--s-6)); font-size: var(--t-14); }
.foot .cols4 { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-6); }
.foot h3 { font-size: var(--t-13); font-family: var(--font-mono); letter-spacing: .06em; color: var(--muted); font-weight: 500; margin-bottom: var(--s-3); }
.foot a { display: block; color: var(--ink); text-decoration: none; padding: 3px 0; }
.foot a:hover { color: var(--primary-strong); }
.foot .fine { margin-top: var(--s-6); padding-top: var(--s-4); border-top: var(--rule); color: var(--muted); font-size: var(--t-13); display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }

/* Hub and docs pages */
.doc-head { padding: var(--s-8) 0 var(--s-5); }
.doc-head h1 { font-size: var(--fs-h1); line-height: 1.05; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: var(--s-5); }
.hub-sec h2 { font-size: var(--t-22); display: flex; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-3); }
.hub-sec h2 .xs { font-family: var(--font-mono); color: var(--muted); font-weight: 400; }
.hub-list a { display: grid; grid-template-columns: 1fr auto; gap: var(--s-3); padding: 12px 0; border-bottom: var(--rule); text-decoration: none; color: inherit; align-items: center; }
.hub-list a:hover strong { color: var(--primary-strong); }
.hub-list strong { font-weight: 600; }
.hub-list p { font-size: var(--t-13); color: var(--muted); }
.hub-list .mods { display: flex; gap: 4px; }
.hub-list .mods span, .modtbl .tag-m { font-family: var(--font-mono); font-size: 11px; padding: 2px 6px; border-radius: var(--r-ctl); background: var(--surface-2); color: var(--ink-2); }
.modtbl td { vertical-align: top; }
.modtbl tr:target { background: var(--primary-soft); }
.modtbl a { color: var(--ink); }
.a-list li { list-style: none; padding: 10px 0; border-bottom: var(--rule); display: grid; grid-template-columns: 120px 1fr; gap: var(--s-4); font-size: var(--t-15); }
.a-list li b { font-family: var(--font-mono); font-size: var(--t-12); font-weight: 500; color: var(--muted); padding-top: 3px; }

@media (max-width: 980px) {
  .try-band, .proof-split, .proof-split.rev { grid-template-columns: 1fr; }
  .foot .cols4 { grid-template-columns: 1fr 1fr; }
  .fold .tagline { display: none; }
}
@media (max-width: 640px) {
  .topnav nav a:not(.btn) { display: none; }
  .fold .in { padding-block: 96px calc(var(--pocbar-h) + var(--s-4)); }
  .fold .col { gap: var(--s-4); }
  .fold h1 { font-size: 2rem; }
  .fold .lead { font-size: var(--t-15); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .fold .reticle { display: none; }
  .roleband { grid-template-columns: 1fr 1fr; }
  .roleband a { min-height: 84px; padding: var(--s-3); }
  .fold::after { background: linear-gradient(0deg, oklch(0.16 0.01 358 / .92) 0%, oklch(0.16 0.01 358 / .7) 60%, oklch(0.16 0.01 358 / .3) 100%); }
  .report-shot .pg { width: calc(794px * .28); height: calc(1123px * .28); } .report-shot .pg .a4 { zoom: .28; } .report-shot .pg:nth-child(2) { display: none; }
  .try-stage { grid-template-columns: 1fr; } .try-page { display: none; }
  .a-list li { grid-template-columns: 1fr; gap: 2px; }
}
