/* Verdict Partners v2 — base, header, hero, trust, practices, quiz. Sections in sections.css */
@font-face { font-family: 'Commissioner'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(assets/fonts/commissioner-cyrillic-f4af35.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Commissioner'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(assets/fonts/commissioner-latin-b449ef.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Noto Serif Display'; font-style: normal; font-weight: 300 700; font-stretch: 62.5% 100%; font-display: swap; src: url(assets/fonts/notoserifdisplay-cyrillic-87f9fd.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Noto Serif Display'; font-style: normal; font-weight: 300 700; font-stretch: 62.5% 100%; font-display: swap; src: url(assets/fonts/notoserifdisplay-latin-046bb4.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'PT Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/ptmono-cyrillic-ccdeea.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'PT Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/ptmono-latin-b13b44.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --g0: #121316; --g1: #17181c; --g2: #1f2025; --g3: #2a2b31;
  --iv: #f2ede3; --iv2: #e9e2d4; --paper: #f7f3ea; --ink: #1b1b1e; --ink2: #4a4740;
  --lineD: rgba(242, 237, 227, .1); --lineD2: rgba(242, 237, 227, .18); --lineL: rgba(27, 27, 30, .14);
  --txD: #efe9de; --mutD: #b3ab9d; --mutL: #5f5a50;
  --brass: #b98f55; --brass-hi: #e6c88e; --brass-lo: #7d5a2b;
  --metal: linear-gradient(135deg, #f1d9a3 0%, #c59a5c 28%, #8a6330 52%, #d7b273 76%, #a17940 100%);
  --serif: 'Noto Serif Display', 'Times New Roman', Georgia, serif;
  --sans: 'Commissioner', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'PT Mono', ui-monospace, Menlo, monospace;
  --wrap: 1320px; --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--g0); color: var(--txD); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.mono { font-family: var(--mono); letter-spacing: .01em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--iv); color: var(--ink); padding: 10px 14px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; }
::selection { background: var(--brass); color: var(--g0); }
.note { font-size: 13px; color: var(--mutD); }
.sep { display: inline-block; width: 18px; height: 1px; background: currentColor; opacity: .5; vertical-align: middle; margin: 0 8px; }
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.scrollprog { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 60; pointer-events: none; }
.scrollprog i { display: block; height: 100%; background: var(--metal); transform-origin: 0 50%; transform: scaleX(0); }

/* split reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wi { display: inline-block; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 50ms); }
.js [data-split]:not(.is-in):not([data-split-now]) .wi { transform: translate3d(0, 110%, 0); }
.js [data-rv] { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-rv].is-in { opacity: 1; transform: none; }

/* buttons: squared, engraved */
.btn { background: transparent; position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border: 0; border-radius: 2px; font: 600 15.5px/1.2 var(--sans); letter-spacing: .01em; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), color .4s; }
.btn span { position: relative; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--brass { background: var(--metal); background-size: 180% 100%; color: #20160a; box-shadow: inset 0 1px 0 rgba(255, 245, 220, .7), inset 0 -1px 0 rgba(60, 40, 10, .4), 0 14px 40px -16px rgba(185, 143, 85, .7); transition: background-position .8s var(--ease), transform .35s var(--ease); }
.btn--brass:hover { background-position: 100% 0; }
.btn--brass::before { display: none; }
.btn--ghost { color: var(--txD); box-shadow: inset 0 0 0 1px var(--lineD2); }
.btn--ghost::before { background: var(--iv); }
.btn--ghost:hover { color: var(--ink); }
.btn--line { color: inherit; box-shadow: inset 0 0 0 1px currentColor; min-height: 46px; padding: 0 20px; font-size: 14.5px; }
.btn--line::before { background: var(--brass); }
.btn--line:hover { color: #20160a; }
.btn--full { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.top.is-solid { background: rgba(18, 19, 22,0.95); border-color: var(--lineD); }
.top__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 500 21px/1 var(--serif); letter-spacing: .01em; color: var(--txD); }
.brand__seal { width: 34px; height: 34px; color: var(--brass-hi); }
.nav { display: none; margin-left: auto; gap: 28px; font-size: 14.5px; color: var(--mutD); }
.nav a { position: relative; transition: color .3s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover { color: var(--txD); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.top__cta { display: none; color: var(--brass-hi); }
.burger { margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-content: center; gap: 7px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 1.5px; background: var(--txD); transition: transform .3s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.mnav { display: grid; padding: 8px var(--gut) 24px; background: var(--g1); border-bottom: 1px solid var(--lineD); }
.mnav[hidden] { display: none; }
.mnav a { padding: 12px 0; font: 500 22px var(--serif); border-bottom: 1px solid var(--lineD); }
@media (min-width: 1040px) { .nav { display: flex; } .top__cta { display: inline-flex; margin-left: 8px; } .burger { display: none; } }

/* hero */
.hero { position: relative; min-height: 100svh; padding: 120px 0 44px; overflow: hidden; background: radial-gradient(70% 60% at 75% 40%, rgba(185, 143, 85, .14), transparent 60%), linear-gradient(180deg, #141518, var(--g0)); }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--brass), transparent); opacity: .5; }
.hero__arch { position: absolute; z-index: 0; right: 4%; top: 96px; width: min(44vw, 640px); height: calc(100% - 150px); border-radius: 999px 999px 0 0; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(230, 200, 142, .3); }
.hero__arch::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 19, 22, .2), rgba(18, 19, 22, .55) 60%, var(--g0)), radial-gradient(60% 40% at 50% 40%, rgba(230, 200, 142, .18), transparent); }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; filter: grayscale(.55) sepia(.35) contrast(1.08) brightness(.62); transform: scale(1.06); }
.hero__stage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
#seal3d { position: absolute; inset: 0; width: 100%; height: 100%; display: none; opacity: 0; transition: opacity 1.6s var(--ease); }
.webgl #seal3d { display: block; }
.webgl #seal3d.is-ready { opacity: 1; }
.webgl #seal3d.is-ready ~ .coin { display: none; }
.coin { position: absolute; right: calc(4% + min(22vw, 320px) - 150px); top: 30%; width: 300px; height: 300px; perspective: 900px; }
.coin__body { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateY(var(--cy, -24deg)) rotateX(8deg); }
.coin__body i { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(90deg, #5e4220, #b58c52 40%, #6d4c22); transform: translateZ(var(--z)); }
.coin__face { position: absolute; inset: 0; transform: translateZ(6px); filter: drop-shadow(0 0 1px rgba(0, 0, 0, .3)); }
.coin__shadow { position: absolute; left: 10%; right: 10%; bottom: -60px; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); filter: blur(6px); }
.hero__grid { position: relative; z-index: 2; display: grid; min-height: calc(100svh - 164px); align-content: space-between; gap: 30px; }
.hero__eyebrow { font-size: 13px; color: var(--brass-hi); }
.hero__h1 { font: 500 clamp(52px, 9.2vw, 158px)/.9 var(--serif); font-stretch: 72%; letter-spacing: -.025em; max-width: 11.5ch; text-wrap: balance; color: var(--txD); text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
.webgl .hero__h1:not(.is-in) { opacity: 0; }
.webgl .hero__h1 .wi { transition-duration: 1.3s; transition-delay: calc(150ms + var(--i) * 80ms); }
.webgl .hero__h1:not(.is-in) .wi { transform: translate3d(0, 110%, 0); }
.hero__low { display: grid; gap: 34px; align-items: end; }
.lead { max-width: 52ch; color: #d6cfc2; font-size: clamp(16px, 1.25vw, 19px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--lineD2); }
.hero__facts div { padding: 18px 14px 0 0; }
.hero__facts div + div { padding-left: 14px; border-left: 1px solid var(--lineD); }
.hero__facts dt { font: 500 clamp(28px, 3.2vw, 52px)/1 var(--serif); font-stretch: 75%; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.hero__facts dd { margin-top: 8px; font-size: 13.5px; color: var(--mutD); line-height: 1.4; }
.hero__note { margin-top: -10px; }
@media (min-width: 1040px) { .hero__low { grid-template-columns: 1fr .95fr; gap: 60px; } }
@media (max-width: 899px) {
  .grain { mix-blend-mode: normal; opacity: .035; }
  .hero { padding-top: 104px; }
  .hero__arch { left: auto; right: -18%; top: 220px; width: 78%; height: 520px; opacity: .6; }
  .coin { right: 6%; top: 392px; width: 160px; height: 160px; }
  .coin__shadow { bottom: -40px; }
  .hero__grid { min-height: auto; }
  .hero__low { margin-top: 250px; }
  .hero__facts dt { font-size: 26px; }
}

/* trust marquee */
.trust { position: relative; display: flex; align-items: center; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--lineD); overflow: hidden; background: var(--g0); }
.trust__label { flex: none; padding-left: var(--gut); font-size: 12px; color: var(--mutD); }
.trust__track { display: flex; gap: 56px; width: max-content; animation: trust 46s linear infinite; font: italic 400 clamp(20px, 2vw, 28px) var(--serif); color: #cfc6b6; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trust__track span { white-space: nowrap; }
.trust__track span::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 56px; transform: rotate(45deg) translateY(-4px); background: var(--brass); }
@keyframes trust { to { transform: translateX(-50%); } }
@media (max-width: 700px) { .trust__label { display: none; } }

/* sections */
.sec { position: relative; padding: clamp(90px, 12vw, 170px) 0; }
.sec--ivory { background: var(--iv); color: var(--ink); }
.sec--paper { background: var(--paper); color: var(--ink); }
.sec--dark { background: var(--g1); }
.sec--ivory .note, .sec--paper .note { color: var(--mutL); }
.sec__head { max-width: 1000px; margin-bottom: clamp(44px, 6vw, 84px); }
.h2 { font: 500 clamp(42px, 6.2vw, 104px)/.95 var(--serif); font-stretch: 74%; letter-spacing: -.02em; text-wrap: balance; }
.sec__sub { margin-top: 24px; max-width: 58ch; font-size: 18px; color: var(--mutD); }
.sec--ivory .sec__sub, .sec--paper .sec__sub { color: var(--mutL); }
.sec--ivory b, .sec--paper b { color: var(--ink); }

/* practices: code index */
.code { display: grid; gap: 40px; }
.code__list { border-top: 1px solid var(--lineL); counter-reset: art; }
.art { border-bottom: 1px solid var(--lineL); }
.art__head { width: 100%; display: grid; grid-template-columns: 72px 1fr 28px; align-items: center; gap: 12px; padding: 26px 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); }
.art__n { font: 500 clamp(28px, 2.6vw, 40px)/1 var(--serif); color: var(--brass-lo); transition: color .4s; }
.art__head h3 { font: 500 clamp(26px, 2.8vw, 44px)/1.05 var(--serif); font-stretch: 80%; letter-spacing: -.01em; transition: transform .6s var(--ease); }
.art__head:hover h3 { transform: translateX(10px); }
.art__plus { position: relative; width: 22px; height: 22px; }
.art__plus::before, .art__plus::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease); }
.art__plus::after { transform: rotate(90deg); }
.art.is-open .art__plus::after { transform: rotate(0); }
.art.is-open .art__n { color: var(--brass); }
.art__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.art__body > div { overflow: hidden; min-height: 0; }
.art.is-open .art__body { grid-template-rows: 1fr; }
.art__body p { padding-left: 84px; max-width: 64ch; color: var(--ink2); }
.art__body ul { padding: 14px 0 30px 84px; display: grid; gap: 6px; font: 400 14px var(--mono); color: var(--ink2); }
.art__body li::before { content: '§ '; color: var(--brass-lo); }
.code__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 4px 4px; overflow: hidden; box-shadow: 0 50px 100px -50px rgba(40, 28, 10, .6); }
.code__photo img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.25) contrast(1.05); transition: transform 1.2s var(--ease), filter 1s; }
.code__photo figcaption { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); padding: 8px 14px; background: rgba(242, 237, 227, .92); color: var(--ink); font-size: 13px; }
@media (min-width: 1040px) { .code { grid-template-columns: 1.35fr .9fr; gap: 80px; align-items: start; } .code__photo { position: sticky; top: 110px; } }
@media (max-width: 700px) { .art__head { grid-template-columns: 48px 1fr 22px; } .art__body p { padding-left: 0; } .art__body ul { padding-left: 0; } .code__photo { aspect-ratio: 4 / 3.4; } }

/* quiz */
.quiz { display: grid; gap: 30px; padding: clamp(24px, 4vw, 56px); border-radius: 4px; background: linear-gradient(160deg, #23242a, #18191d); box-shadow: inset 0 0 0 1px var(--lineD), inset 0 1px 0 rgba(255, 255, 255, .06), 0 60px 120px -60px rgba(0, 0, 0, .9); position: relative; }
.quiz::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(230, 200, 142, .16); pointer-events: none; }
.quiz__side { position: relative; width: 150px; height: 150px; display: grid; place-content: center; text-align: center; }
.quiz__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.quiz__ring circle { fill: none; stroke: var(--lineD2); stroke-width: 1.5; }
.quiz__ring .quiz__arc { stroke: var(--brass-hi); stroke-width: 2.5; stroke-dasharray: 339.3; stroke-dashoffset: calc(339.3 - 339.3 * var(--qp, .2)); transition: stroke-dashoffset .8s var(--ease); filter: drop-shadow(0 0 6px rgba(230, 200, 142, .5)); }
.quiz__big { font: 500 72px/1 var(--serif); background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quiz__of { font-size: 12px; color: var(--mutD); }
.quiz__bar { height: 1px; background: var(--lineD2); margin-bottom: 18px; }
.quiz__bar i { display: block; height: 100%; width: 20%; background: var(--brass-hi); transition: width .6s var(--ease); }
.quiz__step { font-size: 13px; color: var(--mutD); margin-bottom: 10px; }
.quiz__step b { color: var(--brass-hi); font-weight: 400; }
.q { border: 0; padding: 0; margin: 0; display: none; }
.q.is-on { display: grid; gap: 8px; animation: qIn .6s var(--ease); }
@keyframes qIn { from { opacity: 0; transform: translateX(24px); } }
.q legend { font: 500 clamp(30px, 3.4vw, 52px)/1.05 var(--serif); font-stretch: 78%; margin-bottom: 22px; padding: 0; }
.q label { position: relative; display: block; cursor: pointer; }
.q input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.q label span { display: flex; align-items: center; gap: 16px; padding: 17px 20px; border-radius: 2px; font-size: 17px; box-shadow: inset 0 0 0 1px var(--lineD); transition: box-shadow .3s, background .3s, padding .4s var(--ease); }
.q label span::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--mutD); transition: box-shadow .3s, background .3s; }
.q label:hover span { background: rgba(255, 255, 255, .03); padding-left: 26px; }
.q input:checked + span { background: rgba(185, 143, 85, .12); box-shadow: inset 0 0 0 1px var(--brass); }
.q input:checked + span::before { background: var(--metal); box-shadow: inset 0 0 0 4px #23242a, 0 0 0 1.5px var(--brass-hi); }
.q input:focus-visible + span { outline: 2px solid var(--brass-hi); outline-offset: 2px; }
.quiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.result { animation: qIn .7s var(--ease); }
.result__label { font-size: 13px; color: var(--brass-hi); }
.result h3 { font: 500 clamp(34px, 3.8vw, 60px)/1 var(--serif); font-stretch: 76%; margin-top: 12px; }
.result__cost { margin: 18px 0 24px; padding-bottom: 22px; border-bottom: 1px solid var(--lineD2); }
.result__cost span { font: 500 clamp(40px, 5.4vw, 88px)/1 var(--serif); font-stretch: 70%; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result__grid { display: grid; gap: 18px; }
.result__grid dt { font: 400 12px var(--mono); color: var(--mutD); }
.result__grid dd { font: 500 22px/1.25 var(--serif); margin-top: 4px; }
.result__next { margin-top: 22px; color: #d6cfc2; max-width: 66ch; }
.result__next b { color: var(--brass-hi); font-weight: 600; }
.result .note { margin-top: 18px; }
@media (min-width: 900px) { .quiz { grid-template-columns: 200px 1fr; gap: 56px; } .quiz__side { width: 190px; height: 190px; position: sticky; top: 120px; } .quiz__big { font-size: 96px; } .result__grid { grid-template-columns: 1fr 1fr; } }
