/* Page Preflight v3, proof sheet. © 2026 Mousa Batarseh. All rights reserved. */
:root {
  --paper: #fff; --ink: #000; --ink-2: #1a1a1a; --muted: #4d4d4d; --muted-2: #5a5a5a;
  --desk: #ececef; --sheet2: #f6f6f8; --rule: #d4d4da; --rule-2: #b9b9c2;
  --hi: #ffe14d; --hi-soft: #fff5bf; --hi-line: #d9b800; --mag: #d4006f; --mag-soft: #fbe4ef;
  --disp: "Funnel Display", "Helvetica Neue", Arial, sans-serif;
  --body: "Funnel Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(16px, 3vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 76px; }
html, body { margin: 0; overflow-x: clip; }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.contact :focus-visible, .foot :focus-visible { outline-color: #fff; }
h1, h2, h3, h4 { font-family: var(--disp); margin: 0; line-height: 1; letter-spacing: -.02em; }
h2 { font-weight: 800; font-size: clamp(38px, 5.4vw, 84px); line-height: .96; letter-spacing: -.035em; margin-bottom: 24px; max-width: 18ch; }
h3 { font-weight: 700; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; margin-bottom: 14px; }
h4 { font-weight: 700; font-size: 20px; line-height: 1.15; }
p { margin: 0 0 16px; }
.wrap { width: min(1200px, 100% - var(--gut) * 2); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 60; background: var(--ink); color: #fff; padding: 12px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
.prog { position: fixed; left: 0; top: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: var(--mag); z-index: 50; }

/* bar */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px var(--cx, var(--gut)); color: var(--ink); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .4s var(--ease), color .4s var(--ease); }
.bar[data-on="gray"] { background: rgba(236, 236, 239, .92); }
.bar[data-on="yellow"] { background: rgba(255, 225, 77, .95); }
.bar[data-on="magenta"] { background: rgba(212, 0, 111, .96); color: #fff; }
.bar[data-on="dark"] { background: rgba(0, 0, 0, .92); color: #fff; }
.brand { font: 700 19px var(--disp); letter-spacing: -.02em; text-decoration: none; }
#nav { display: flex; gap: 22px; }
#nav a { font-size: 15px; text-decoration: none; padding: 6px 2px; background: linear-gradient(var(--hi), var(--hi)) 0 85% / 0 50% no-repeat; transition: background-size .35s var(--ease); }
#nav a:hover, #nav a:focus-visible { background-size: 100% 50%; }
.bar[data-on="yellow"] #nav a, .bar[data-on="magenta"] #nav a, .bar[data-on="dark"] #nav a { background-image: linear-gradient(currentColor, currentColor); background-position: 0 100%; background-size: 0 2px; }
.bar[data-on="yellow"] #nav a:hover, .bar[data-on="magenta"] #nav a:hover, .bar[data-on="dark"] #nav a:hover { background-size: 100% 2px; }
.menu-btn { display: none; font: 600 15px var(--body); color: inherit; background: none; border: 1.5px solid currentColor; padding: 9px 14px; min-height: 44px; cursor: pointer; }

/* buttons */
.btn-solid, .btn-line, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; font: 600 16px var(--body); text-decoration: none; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn-solid { background: var(--ink); color: #fff; border: 1.5px solid var(--ink); }
.btn-solid:hover { background: var(--mag); border-color: var(--mag); }
.btn-line { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-line:hover { background: var(--hi); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); min-height: 44px; font-size: 15px; }
.btn-ghost:hover { background: var(--hi); }
.btn-solid:active, .btn-line:active, .btn-ghost:active { transform: scale(.97); }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* shared marks */
.legend { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; margin: 0; }
.legend span { display: inline-flex; align-items: center; gap: 10px; }
.sw-y { display: block; width: 22px; height: 12px; background: var(--hi); }
.sw-r { width: 22px; height: 14px; overflow: visible; }
.sw-r path { fill: none; stroke: var(--mag); stroke-width: 2; stroke-linecap: round; }

/* 1 HERO + SCAN */
.hero { height: 560vh; position: relative; }
.anchor { position: absolute; top: 30%; left: 0; width: 1px; height: 1px; }
.hero .stick { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.h-copy { position: absolute; left: var(--cx, var(--gut)); top: 0; bottom: 0; width: var(--hw, 46%); display: flex; flex-direction: column; justify-content: center; padding: 72px 0 32px; opacity: calc(1 - var(--t1, 0) * 1.7); transform: translateX(calc(var(--t1, 0) * -72px)); z-index: 2; }
.h-context { font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 470px; margin: 0 0 clamp(20px, 4.5vh, 44px); }
.h-type { font-weight: 400; margin: 0; letter-spacing: 0; }
.h-type .l1 { display: block; font-weight: 300; font-size: clamp(40px, 5.5vw, 80px); line-height: 1.02; letter-spacing: -.02em; }
.h-type .l2 { display: block; margin-top: .2em; font-weight: 800; font-size: clamp(46px, 6.4vw, 92px); line-height: .92; letter-spacing: -.03em; animation: rise .9s cubic-bezier(.2, .8, .2, 1) .9s both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.h-sub { font-size: 17px; line-height: 1.55; color: #222; max-width: 430px; margin: clamp(24px, 5.5vh, 60px) 0 0; }
.h-legend { display: none; margin-top: 28px; }
.rm .h-legend { display: flex; }

.stack { position: absolute; left: 0; top: 0; width: calc(var(--pw, 560px) + 40px); height: calc(var(--ph, 680px) + 40px); transform-origin: 0 0; transform: translate(var(--sx, 60vw), var(--sy, 96px)) scale(var(--ss, .9)); z-index: 1; }
.back { position: absolute; }
.back .sheet { width: var(--pw, 560px); height: var(--ph, 680px); }
.s3 { left: 34px; top: 40px; transform: rotate(4.5deg); }
.s2 { left: 16px; top: 18px; transform: rotate(-2.2deg); }
.s3 .sheet { background: var(--desk); animation: drop .9s cubic-bezier(.2, .8, .2, 1) .1s both; }
.s2 .sheet { background: var(--sheet2); border: 1px solid var(--rule); animation: drop .9s cubic-bezier(.2, .8, .2, 1) .25s both; }
.front { position: absolute; left: 0; top: 0; }
.proof { position: relative; width: 560px; background: #fff; border: 1px solid var(--ink); padding: 34px 40px 72px; animation: drop .9s cubic-bezier(.2, .8, .2, 1) .4s both; }
@keyframes drop { from { opacity: 0; transform: translateY(-36px); } to { opacity: 1; transform: none; } }
.crops { position: absolute; inset: 0; pointer-events: none; animation: fade .6s ease 1.1s both; }
.crops i { position: absolute; background: var(--ink); }
.crops i:nth-child(1) { left: -35px; top: -1px; width: 24px; height: 1px; }
.crops i:nth-child(2) { left: -1px; top: -35px; width: 1px; height: 24px; }
.crops i:nth-child(3) { right: -35px; top: -1px; width: 24px; height: 1px; }
.crops i:nth-child(4) { right: -1px; top: -35px; width: 1px; height: 24px; }
.crops i:nth-child(5) { left: -35px; bottom: -1px; width: 24px; height: 1px; }
.crops i:nth-child(6) { left: -1px; bottom: -35px; width: 1px; height: 24px; }
.crops i:nth-child(7) { right: -35px; bottom: -1px; width: 24px; height: 1px; }
.crops i:nth-child(8) { right: -1px; bottom: -35px; width: 1px; height: 24px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.pf-name { font: 600 30px/1.15 var(--disp); letter-spacing: -.01em; margin: 0; }
.pf-sub { font-size: 13px; line-height: 1.5; color: #555; margin: 8px 0 0; }
.rows { margin-top: 26px; }
.sf { display: grid; grid-template-columns: 112px minmax(0, 1fr) 56px; align-items: center; min-height: 48px; }
.sf .k { font-size: 13px; color: var(--muted-2); }
.sf .v { font-size: 15px; line-height: 1.35; min-width: 0; }
.sf .v.cut { white-space: nowrap; overflow: hidden; }
.sf .v.cut .hl { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.hl { background: linear-gradient(var(--hi), var(--hi)) no-repeat 0 70% / 0% 62%; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .55s cubic-bezier(.5, 0, .2, 1); }
.sf.caught .hl { background-size: 100% 62%; }
.hv { position: relative; display: inline-block; }
.loop { position: absolute; left: -12px; top: -9px; width: calc(100% + 24px); height: calc(100% + 18px); overflow: visible; pointer-events: none; }
.loop path { fill: none; stroke: var(--mag); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset .75s cubic-bezier(.45, 0, .2, 1), opacity .12s linear; }
.sf.found .loop path { stroke-dashoffset: 0; opacity: 1; }
.mini { display: inline-block; width: 12px; height: 12px; border: 1.5px solid var(--ink); margin-left: 10px; vertical-align: middle; }
.sf .mk { display: flex; justify-content: flex-end; gap: 6px; font: 700 12px var(--body); }
.sf .mk b { opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .45s var(--ease); }
.sf.caught .mk b.s, .sf.found .mk b.r { opacity: 1; transform: none; }
.mk b.r { color: var(--mag); }
.pen { position: absolute; left: 18px; top: var(--pen-y, 120px); width: 5px; height: 30px; margin-top: -15px; background: var(--hi); opacity: var(--pen-o, 0); transition: opacity .3s ease; }
.bars { position: absolute; left: 40px; bottom: 28px; display: flex; }
.bars i { display: block; width: 16px; height: 16px; }
.bars i:nth-child(1) { background: var(--ink); } .bars i:nth-child(2) { background: var(--mag); } .bars i:nth-child(3) { background: var(--hi); } .bars i:nth-child(4) { background: var(--desk); }

.cap-left { position: absolute; z-index: 3; left: var(--cx, var(--gut)); top: 50%; width: var(--clw, 240px); transform: translateY(-50%); opacity: var(--c, 0); }
.count { font: 800 clamp(56px, 7vw, 112px)/.85 var(--disp); letter-spacing: -.04em; margin: 0; }
.count .num { background: linear-gradient(var(--hi), var(--hi)) no-repeat 0 78% / 100% 34%; }
.count.human .num { background: none; color: var(--mag); }
.count em { font-style: normal; font-weight: 300; }
.count small { display: block; font: 600 15px/1.4 var(--body); letter-spacing: 0; margin-top: 14px; max-width: 18ch; }
.cap { position: absolute; z-index: 3; left: var(--crx, 72%); top: 50%; width: var(--crw, 260px); transform: translateY(-50%); opacity: var(--c, 0); }
.cap h3 { font-size: clamp(24px, 2.3vw, 34px); margin: 0 0 12px; }
.cap p { font-size: 17px; color: #222; }
.cap .legend { flex-direction: column; gap: 8px; margin-top: 18px; }
.phase { transition: opacity .45s var(--ease), transform .55s var(--ease); }
.phase[hidden] { display: block; position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(18px); pointer-events: none; }
.cap-left .count { transition: opacity .45s var(--ease), transform .55s var(--ease); }
.cap-left .count[hidden] { display: block; position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(18px); }
.rm .hero { height: 100vh; }
.rm .cap, .rm .cap-left { display: none; }

/* 2 TICKETS */
.tickets { position: relative; height: var(--th, 300vh); }
.tickets .stick { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding-top: 64px; }
.tk-head { padding-inline: var(--cx, var(--gut)); max-width: calc(980px + var(--cx, var(--gut))); }
.tk-head h2 { margin-bottom: 14px; }
.tk-head p { font-size: 19px; color: var(--muted); max-width: 56ch; margin: 0; }
.track { display: flex; gap: 24px; padding: 12px var(--cx, var(--gut)); transform: translateX(calc(var(--tx, 0) * -1px)); will-change: transform; }
.tk { flex: none; width: clamp(260px, 28vw, 380px); min-height: clamp(260px, 42vh, 360px); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; background: var(--sheet2); color: var(--muted); border: 1.5px dashed #9a9aa3; transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .55s var(--ease); }
.tk.on { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.tk.on:nth-child(odd) { transform: rotate(-.4deg); }
.tk.on:nth-child(even) { transform: rotate(.35deg); }
.tk h3 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 700; margin: 0; }
.tk h3 .t { background: linear-gradient(var(--hi), var(--hi)) no-repeat 0 78% / 0 40%; transition: background-size .5s var(--ease); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tk.on h3 .t { background-size: 100% 40%; }
.tk p { margin: 0; font-size: 17px; }
.tk .dots { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 15px; }
.tk .dots i { width: 14px; height: 14px; display: inline-block; }
.tk .dots i.r { background: var(--hi); box-shadow: inset 0 0 0 1px var(--ink); }
.tk .dots i.b { border: 2px solid var(--mag); border-radius: 50%; }
.tk-toggle { align-self: flex-start; min-height: 48px; padding: 10px 16px; font: 600 15px var(--body); cursor: pointer; border: 1.5px solid currentColor; background: transparent; color: inherit; display: inline-flex; gap: 10px; align-items: center; }
.tk-toggle .sw { width: 34px; height: 20px; border-radius: 10px; background: #c9c9d2; position: relative; transition: background .3s var(--ease); }
.tk-toggle .sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.tk-toggle[aria-pressed="true"] .sw { background: var(--ink); }
.tk-toggle[aria-pressed="true"] .sw::after { transform: translateX(14px); }

/* 3 DESK */
.desk { position: relative; padding: clamp(80px, 12vh, 140px) 0; background: var(--desk); }
.desk-head { max-width: 900px; }
.desk-head p { font-size: 19px; color: #333; max-width: 64ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 16px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; font: 600 15px var(--body); background: #fff; color: var(--ink); border: 1.5px solid var(--rule-2); cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.chip::before { content: ""; width: 10px; height: 10px; border: 1.5px solid currentColor; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[aria-pressed="true"]::before { background: var(--hi); border-color: var(--hi); }
.desk-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 32px; }
.tally { margin: 0 0 0 auto; font: 600 16px var(--disp); }
.desk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.desk-page-wrap { position: sticky; top: 88px; }
.page { background: #fff; border: 1px solid var(--ink); padding: 18px; display: grid; gap: 8px; }
.fld { position: relative; border: 1px solid var(--rule); padding: 10px 12px; transition: border-color .3s var(--ease), background .3s var(--ease); }
.fld .k { display: block; font: 600 13px var(--body); color: var(--muted-2); }
.fld p { margin: 2px 0 0; font-size: 15px; }
.fld.hit { border-color: var(--hi-line); background: var(--hi-soft); }
.fld.hit.human { border-color: var(--mag); background: var(--mag-soft); }
.fld.cleared { border-color: var(--ink); background: #fff; }
.fld.cleared::after { content: "Fixed"; position: absolute; right: 12px; bottom: 9px; font: 700 12px var(--body); }
.fld.focus { outline: 3px solid var(--ink); outline-offset: 2px; }
.pg-h1 { font: 700 19px var(--disp) !important; }
.pins { position: absolute; top: 8px; right: 8px; display: flex; gap: 4px; }
.pin { font: 700 12px var(--body); color: var(--ink); text-decoration: none; padding: 3px 7px; min-width: 32px; min-height: 24px; text-align: center; background: var(--hi); }
.pin.human { background: var(--mag); color: #fff; }
.pin.done { background: #fff; color: var(--muted); text-decoration: line-through; box-shadow: inset 0 0 0 1px var(--rule-2); }
.photos { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.photos li { background: var(--sheet2); padding: 26px 6px 5px; font-size: 13px; position: relative; min-width: 0; overflow-wrap: anywhere; }
.photos li b { position: absolute; left: 6px; top: 5px; font: 700 13px var(--disp); color: var(--muted); }
.photos code { font-family: var(--body); }
.promo-btn { display: inline-block; vertical-align: middle; min-width: 20px; height: 20px; border: 1.5px solid var(--ink); font: 600 13px var(--body); padding: 0 4px; line-height: 17px; }
.promo-btn.ok { height: 28px; min-width: 28px; line-height: 25px; }
.sticky-note { display: inline-block; margin-top: 6px !important; font-size: 13px !important; background: var(--ink); color: #fff; padding: 4px 8px; }
.findings { display: grid; gap: 14px; }
.card { background: #fff; border: 1px solid var(--rule); padding: 20px 22px 22px; scroll-margin-top: 100px; transition: border-color .35s var(--ease), opacity .35s var(--ease); }
.card.active { border-color: var(--ink); }
.card.is-fixed { opacity: .55; }
.card.is-fixed h4 { text-decoration: line-through; }
.card-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.card-h .id { font: 800 20px var(--disp); }
.sev { font: 700 12px var(--body); padding: 2px 8px; border: 1.5px solid var(--ink); }
.sev-blocker { background: var(--ink); color: #fff; }
.sev-major { background: #fff; color: var(--ink); }
.sev-minor { background: #fff; color: var(--muted); border-color: var(--rule-2); }
.kind { font-size: 14px; color: var(--muted); }
.who { margin-left: auto; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.who i { width: 12px; height: 12px; display: inline-block; background: var(--hi); box-shadow: inset 0 0 0 1px var(--ink); }
.who.human i { background: none; box-shadow: none; border: 2px solid var(--mag); border-radius: 50%; }
.card h4 { margin-bottom: 8px; }
.card > p { font-size: 16px; }
.facts { margin: 0 0 16px; display: grid; gap: 8px; }
.facts div { display: grid; grid-template-columns: 116px 1fr; gap: 14px; font-size: 15px; }
.facts dt { font: 600 13px var(--body); color: var(--muted-2); padding-top: 2px; }
.facts dd { margin: 0; }
.fix-btn { min-height: 44px; padding: 8px 16px; font: 600 15px var(--body); cursor: pointer; background: #fff; color: var(--ink); border: 1.5px solid var(--ink); transition: background .25s var(--ease), color .25s var(--ease); }
.fix-btn:hover { background: var(--hi); }
.fix-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.empty { color: var(--muted); font-style: italic; }
.wire { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 5; opacity: var(--wo, 0); transition: opacity .3s; }
.wire path { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 5; animation: dash 1.2s linear infinite; }
.wire circle { fill: var(--ink); }
@keyframes dash { to { stroke-dashoffset: -20; } }

/* 4 VERDICT */
.verdict { padding: clamp(90px, 14vh, 160px) 0; background: #fff; }
.v-rule { font-size: 19px; color: #222; max-width: 60ch; }
.rail { position: relative; display: flex; flex-wrap: wrap; gap: 18px clamp(32px, 5vw, 88px); margin: 56px 0 44px; padding: 14px 0 14px 8px; }
.rail span { position: relative; z-index: 1; font: 800 clamp(56px, 8vw, 132px)/.9 var(--disp); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--rule-2); transition: color .5s var(--ease), -webkit-text-stroke-color .5s var(--ease); }
.rail span.on { color: var(--ink); -webkit-text-stroke-color: transparent; }
.rail-mark { position: absolute; left: 0; top: 0; width: calc(var(--mw, 0px) + var(--lpx, 28px) * 2); height: calc(var(--mh, 0px) + 30px); transform: translate(calc(var(--mx, 0px) - var(--lpx, 28px)), calc(var(--my, 0px) - 15px)); opacity: var(--mo, 0); transition: transform .7s var(--ease), width .7s var(--ease), height .7s var(--ease), opacity .3s; pointer-events: none; }
.rail-mark svg { width: 100%; height: 100%; overflow: visible; display: block; }
.rail-mark path { fill: none; stroke: var(--mag); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.rail-mark.draw path { animation: drawloop .9s cubic-bezier(.45, 0, .2, 1) .15s both; }
@keyframes drawloop { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.vlines { list-style: none; padding: 0; margin: 0 0 64px; display: grid; gap: 8px; font-size: 18px; color: #222; max-width: 72ch; }
.vlines li { padding-left: 22px; position: relative; }
.vlines li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--ink); }
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.options > h3, .options > .opt-intro, .options > .mind { grid-column: 1 / -1; }
.opt-intro { color: #222; font-size: 18px; max-width: 70ch; }
.opt { border: 1px solid var(--rule); padding: 22px; background: #fff; }
.opt h4 { margin-bottom: 14px; }
.opt p { color: #333; font-size: 16px; margin-bottom: 8px; }
.opt b { color: var(--ink); }
.opt.chosen { border: 2px solid var(--mag); }
.chosen-tag { display: inline-block; font: 700 12px var(--body); letter-spacing: 0; background: var(--mag); color: #fff; padding: 2px 8px; margin-left: 6px; vertical-align: 3px; }
.mind { color: #222; font-size: 18px; margin-top: 20px; }

/* 5 QA */
.qa { padding: clamp(90px, 14vh, 160px) 0; background: var(--desk); }
.qa-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.qa-main > p { font-size: 19px; color: #333; max-width: 60ch; }
.qa-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }
.qa-list li { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--rule); background: #fff; }
.qa-list .qid { font: 800 20px var(--disp); }
.qa-list .qtxt { font-size: 16px; }
.qa-list .qtxt span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.seg { display: inline-flex; gap: 6px; }
.seg button { min-height: 44px; min-width: 64px; padding: 6px 12px; font: 600 14px var(--body); background: #fff; color: var(--ink); border: 1.5px solid var(--ink); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.seg button:hover { background: var(--hi); }
.seg button[aria-pressed="true"][data-r="Pass"] { background: var(--ink); color: #fff; }
.seg button[aria-pressed="true"][data-r="Fail"] { background: var(--mag); border-color: var(--mag); color: #fff; }
.seg button[aria-pressed="true"][data-r="Not checked"] { background: var(--sheet2); }
.qa-side { position: sticky; top: 92px; background: #fff; border: 1px solid var(--ink); padding: 24px; display: grid; gap: 10px; }
.qa-k { font: 600 14px var(--body); color: var(--muted); margin: 0; }
.score { font: 800 clamp(72px, 8vw, 120px)/.85 var(--disp); letter-spacing: -.04em; margin: 0; }
.qa-meta { font-size: 15px; color: var(--muted); margin: 0; }
.qa-side h3 { margin: 12px 0 0; font-size: 22px; }
.reopen { padding-left: 20px; margin: 0 0 8px; font-size: 15px; }

/* 6 METHOD */
.method { background: var(--hi); color: var(--ink); padding: clamp(90px, 14vh, 160px) 0; }
.m-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.m-q ol { padding-left: 22px; margin: 0 0 20px; font-size: 18px; display: grid; gap: 12px; }
.m-q p { font-size: 18px; max-width: 60ch; }
.kiup { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kiup div { background: #fff; border: 1px solid var(--ink); padding: 20px; }
.kiup dt { font: 800 clamp(26px, 2.6vw, 36px) var(--disp); letter-spacing: -.03em; margin-bottom: 8px; }
.kiup dd { margin: 0; font-size: 16px; }
.boundary { margin-top: 40px; font-size: 18px; max-width: 80ch; }

/* 7 SOURCES */
.sources { padding: clamp(90px, 14vh, 160px) 0; }
.src { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.src li { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 22px 24px; background: var(--sheet2); transition: background .3s var(--ease); }
.src li:hover { background: var(--hi-soft); }
.src p { margin: 0; font-size: 17px; max-width: 80ch; }
.lab { font: 600 14px var(--body); color: var(--muted); padding-top: 2px; }

/* 8 CONTACT */
.contact { background: var(--mag); color: #fff; padding: clamp(90px, 14vh, 160px) 0 80px; }
.c-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.c-bio p { font-size: 18px; max-width: 60ch; }
.links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.links a { color: #fff; font-weight: 600; }
.c-offer dl { margin: 0; display: grid; gap: 6px; }
.c-offer dl div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 16px; background: rgba(0, 0, 0, .16); }
.c-offer dt { font: 600 14px var(--body); padding-top: 2px; }
.c-offer dd { margin: 0; font-size: 17px; }
.mail { display: block; margin: clamp(56px, 10vh, 110px) 0 40px; text-decoration: none; font: 800 clamp(30px, 6vw, 104px)/.95 var(--disp); letter-spacing: -.04em; overflow-wrap: break-word; }
.mail span { background: linear-gradient(#fff, #fff) 0 96% / 0 .07em no-repeat; transition: background-size .6s var(--ease); }
.mail:hover span, .mail:focus-visible span { background-size: 100% .07em; }
.transp { font-size: 16px; max-width: 90ch; }
.foot { background: var(--ink); color: #b9b9c2; padding: 28px 0 40px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 15px; }
.foot p { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: #fff; }

/* responsive */
@media (max-width: 1080px) {
  .options { grid-template-columns: 1fr; }
  .kiup { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .desk-grid { grid-template-columns: 1fr; }
  .desk-page-wrap { position: static; }
  .wire { display: none; }
  .qa-grid, .m-grid, .c-grid { grid-template-columns: 1fr; }
  .qa-side { position: static; }
}
@media (max-width: 859px) {
  .menu-btn { display: inline-flex; }
  #nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gut) 16px; background: #fff; color: var(--ink); }
  .bar.open { background: #fff; color: var(--ink); }
  .bar.open #nav { display: flex; }
  #nav a { padding: 14px 0; font-size: 18px; background-image: none !important; }
  .h-copy { justify-content: flex-start; padding-top: 84px; }
  .h-sub { font-size: 16px; margin-top: 20px; }
  .proof { width: min(420px, calc(100vw - 32px)); padding: 18px 16px 44px; }
  .crops { display: none; }
  .pf-name { font-size: 22px; }
  .pf-sub { font-size: 12px; margin-top: 4px; }
  .rows { margin-top: 14px; }
  .sf { grid-template-columns: 76px minmax(0, 1fr) 36px; min-height: 36px; padding: 4px 0; }
  .sf .k { font-size: 11.5px; }
  .sf .v { font-size: 13px; }
  .sf .mk { font-size: 11px; gap: 3px; flex-wrap: wrap; }
  .loop { left: -8px; top: -6px; width: calc(100% + 16px); height: calc(100% + 12px); }
  .bars { left: 16px; bottom: 16px; }
  .bars i { width: 12px; height: 12px; }
  .pen { left: 6px; width: 4px; }
  .s3 { left: 10px; top: 14px; transform: rotate(2.5deg); }
  .s2 { left: 5px; top: 7px; transform: rotate(-1.4deg); }
  .cap-left { top: var(--cy, 70vh); left: 16px; width: calc(100% - 32px); transform: none; }
  .count { font-size: 44px; display: flex; align-items: baseline; gap: 0 4px; flex-wrap: wrap; }
  .count small { display: inline; margin: 0 0 0 10px; font-size: 14px; max-width: none; }
  .cap { top: calc(var(--cy, 70vh) + 52px); left: 16px; width: calc(100% - 32px); transform: none; }
  .cap h3 { font-size: 20px; margin-bottom: 6px; }
  .cap p { font-size: 15px; margin-bottom: 8px; }
  .cap .legend { flex-direction: row; font-size: 13px; margin-top: 8px; }
  .tk { width: 80vw; min-height: 300px; }
  .rail { padding-left: 14px; gap: 8px 40px; }
  .qa-list li { grid-template-columns: 44px 1fr; }
  .qa-list .seg { grid-column: 1 / -1; }
  .facts div, .c-offer dl div { grid-template-columns: 1fr; gap: 2px; }
  .src li { grid-template-columns: 1fr; gap: 6px; }
  .tally { margin-left: 0; width: 100%; }
  .photos { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
