/* 35 Ai Agency: calm Vox look. Beige + blue, yellow only as a highlighter.
   Photos are B&W cutouts with torn paper edges; motion is stop-motion steps, and only on first view.
   Light by design: no fixed overlays, no scroll-jacking, no animation that runs while scrolling. */

:root {
  --paper: #f4f1ea;
  --card: #fbfaf6;
  --ink: #16161d;
  --muted: #55555f;
  --blue: #225aca;          /* the logo's royal blue */
  --five: #4e4e4e;          /* the logo's grey */
  --yellow: #ffd400;
  --white: #ffffff;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Bricolage Grotesque", system-ui, sans-serif;   /* body text */
  --accent: "Instrument Serif", Georgia, serif;            /* italic accent words only */
  --sans: "Bricolage Grotesque", system-ui, sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --side: clamp(20px, 6vw, 112px);   /* space on the left and right */
  --max: 1120px;
  --frame: steps(5, end);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { background: var(--paper) var(--grain); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
section { padding: clamp(72px, 10vw, 140px) var(--side); }

/* ---------- type ---------- */
h1, h2, .price, .stamp, .num { font-family: var(--display); font-weight: 800; line-height: .98; letter-spacing: -.035em; font-variation-settings: "wdth" 88; }
h1 em, h2 em { font-family: var(--accent); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.stamp { text-transform: uppercase; letter-spacing: .02em; }
h1 { font-size: clamp(42px, 5.6vw, 80px); max-width: 14ch; }
h2 { font-size: clamp(32px, 3.8vw, 54px); max-width: 18ch; }
h3 { font-family: var(--sans); font-size: 20px; font-weight: 700; line-height: 1.25; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.lead { font-family: var(--serif); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; max-width: 40ch; margin-top: 22px; color: #2a2a33; }
.sub { font-family: var(--serif); color: var(--muted); margin-top: 14px; max-width: 52ch; }
mark { background: none; color: inherit; }
mark.hl { background: linear-gradient(var(--yellow), var(--yellow)) 0 88% / 0 38% no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .06em; transition: background-size .5s steps(5, end) .2s; }
.is-built .hero mark.hl, .in mark.hl { background-size: 100% 38%; }
.is-built .hero mark.hl { transition-delay: .9s; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 14px var(--side); background: rgba(244, 241, 234, .94); transition: transform .3s steps(3, end); }
.site-header.hide { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-name { font-weight: 700; font-size: 15px; }
.logo { width: 58px; height: auto; fill: none; stroke-width: 36; stroke-linejoin: miter; stroke-miterlimit: 10; overflow: visible; }
.logo .three { stroke: var(--blue); }
.logo .five { stroke: var(--five); }
.logo .knock { stroke: var(--paper); stroke-width: 68; }
/* the 5 steps out from behind the 3 on load, and hops when you point at the logo */
.site-header .logo .five { animation: slide5 .6s steps(4, end) .3s both; }
.brand:hover .logo .five { animation: hop5 .4s steps(3, end); }
@keyframes slide5 { from { transform: translateX(-100px); } to { transform: none; } }
@keyframes hop5 { 50% { transform: translate(6px, -14px) rotate(4deg); } }
.nav { display: flex; gap: 26px; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; background: linear-gradient(var(--yellow), var(--yellow)) 0 85% / 0 40% no-repeat; transition: background-size .25s steps(3, end); }
.nav a:hover { background-size: 100% 40%; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--sans); font-weight: 700; font-size: 16px; text-decoration: none; padding: 14px 24px; background: var(--blue); color: var(--white); border: 2px solid var(--blue); box-shadow: 4px 4px 0 var(--ink); transition: transform .12s steps(2, end), box-shadow .12s steps(2, end); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn.ghost:hover { background: var(--yellow); }
.btn.yellow { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.btn.small { padding: 9px 16px; font-size: 14px; box-shadow: 3px 3px 0 var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- shared collage bits ---------- */
.disc { position: absolute; border-radius: 50%; background: var(--blue); display: block; }
.note { position: absolute; font-family: var(--hand); font-weight: 700; font-size: 26px; line-height: 1.1; white-space: nowrap; }
.doodle { position: absolute; fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.tape { position: absolute; display: block; width: 78px; height: 22px; background: rgba(255, 212, 0, .85); clip-path: polygon(3% 0, 97% 6%, 100% 50%, 96% 100%, 2% 94%, 0 50%); }
.stamp { position: absolute; font-size: 20px; color: var(--blue); border: 3px solid var(--blue); padding: 4px 10px 1px; background: var(--paper); }

/* ---------- hero ---------- */
.hero { min-height: min(100svh, 900px); display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(32px, 6vw, 96px); padding-top: clamp(110px, 14vh, 150px); max-width: calc(var(--max) + 2 * var(--side)); margin: 0 auto; }
.ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-weight: 600; font-size: 15px; }
.ticks li::before { content: "✓"; color: var(--blue); font-weight: 700; margin-right: 8px; }
.hero-art { position: relative; height: clamp(360px, 46vw, 520px); }
.hero-art .disc { width: 74%; aspect-ratio: 1; left: 13%; top: 8%; }
.hero-art .person { position: absolute; width: 62%; left: 19%; bottom: 0; filter: drop-shadow(5px 6px 0 rgba(0,0,0,.18)); }
.hero-art .note { right: 0; top: 0; }
.hero-art .arrow { width: 62px; right: 14%; top: 7%; }
.notif { position: absolute; left: 0; bottom: 6%; z-index: 2; display: flex; align-items: center; gap: 12px; background: var(--white); padding: 11px 16px; border-radius: 14px; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-size: 14px; line-height: 1.25; }
.notif small { display: block; color: var(--muted); font-size: 12px; }
.notif .dot { width: 30px; height: 30px; border-radius: 9px; background: var(--blue); flex: none; }

/* first-view build, stop-motion */
.build, .slap, .draw { opacity: 0; }
.is-built .build { animation: rise .5s var(--frame) both; animation-delay: calc(var(--d) * .1s); }
.is-built .slap { animation: slap .45s var(--frame) both; animation-delay: calc(.2s + var(--d) * .12s); }
.is-built .draw { animation: pop .3s steps(3, end) both; animation-delay: calc(.3s + var(--d) * .12s); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } 20% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes slap { from { opacity: 0; transform: translate(var(--fx, 0), var(--fy, 0)) rotate(calc(var(--r, 0deg) * -2)) scale(1.12); } 20% { opacity: 1; } to { opacity: 1; transform: rotate(var(--r, 0deg)); } }
@keyframes pop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }

/* ---------- who it's for ---------- */
.who { padding-top: 0; padding-bottom: 36px; text-align: center; }
.who-title { font-weight: 700; font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.who-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; margin: 0 auto; }
.who-list li { padding: 8px 16px; border: 1.5px solid var(--ink); background: var(--card); font-weight: 600; font-size: 15px; }

/* ---------- section heads ---------- */
.sec-head { max-width: var(--max); margin: 0 auto clamp(40px, 5vw, 64px); }

/* ---------- how it works ---------- */
.how { background: var(--card); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); max-width: var(--max); margin: 0 auto; }
.step .num { display: inline-grid; place-items: center; width: 40px; height: 40px; background: var(--blue); color: var(--white); font-size: 22px; margin: 22px 0 12px; }
.step h3 { margin-bottom: 8px; }
.step p { color: #34343d; font-size: 16px; }
.scene { position: relative; height: 260px; background: var(--paper); overflow: hidden; }
.scene > * { opacity: 0; transform: translateY(30px) rotate(-4deg); transition: transform .5s var(--frame), opacity .1s steps(1); }
.step.in .scene > * { opacity: 1; transform: rotate(var(--r, 0deg)); }
.step.in .scene > :nth-child(2) { transition-delay: .15s; }
.step.in .scene > :nth-child(3) { transition-delay: .3s; }
/* scene 1: a raw photo in a phone */
.s1 .dots { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; margin: -100px 0 0 -100px; border-radius: 50%; background: radial-gradient(circle, var(--blue) 30%, transparent 33%) 0 0 / 14px 14px; }
.step.in .s1 .dots { opacity: .3; }
.s1 .phone { position: absolute; left: 50%; top: 22px; width: 120px; height: 236px; margin-left: -60px; background: var(--ink); border-radius: 20px; padding: 7px; --r: -7deg; }
.s1 .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.s1 .note { right: 10px; bottom: 12px; font-size: 16px; color: var(--blue); background: var(--paper); padding: 2px 6px; z-index: 2; --r: -4deg; }
/* scene 2: cut out on blue */
.s2 .disc { width: 200px; height: 200px; left: 50%; top: 30px; margin-left: -100px; }
.s2 .bag { position: absolute; width: 210px; left: 50%; top: 52px; margin-left: -105px; filter: drop-shadow(4px 5px 0 rgba(0,0,0,.2)); --r: -3deg; }
.s2 .tape { left: 30%; top: 44px; --r: -24deg; }
/* scene 3: posts go out */
.s3 .post { position: absolute; width: 120px; background: var(--white); padding: 6px 6px 20px; box-shadow: 4px 5px 0 rgba(0,0,0,.18); }
.s3 .post img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; }
.s3 .post.a { left: 16%; top: 34px; --r: -5deg; }
.s3 .post.a img { object-fit: contain; background: var(--blue); padding: 6px; }
.s3 .post.b { left: 46%; top: 54px; --r: 4deg; }
.s3 .post.b img { background: var(--yellow); }
.s3 .stamp { right: 10%; bottom: 20px; --r: -10deg; }

/* ---------- story ---------- */
.story-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px, 7vw, 110px); align-items: center; max-width: var(--max); margin: 0 auto; }
.story-art { position: relative; max-width: 340px; width: 100%; margin: 0 auto; }
.story-art img { position: relative; filter: drop-shadow(4px 5px 0 rgba(0,0,0,.15)); }
.story-art .sil { position: absolute; inset: 0; background: var(--blue); -webkit-mask: url(img/vox-61.webp) bottom / contain no-repeat; mask: url(img/vox-61.webp) bottom / contain no-repeat; transition: transform .5s var(--frame) .25s; }
.story-art.in .sil { transform: translate(-9%, -3%); }
.story-copy h2 { margin-bottom: 20px; }
.story-copy p { font-family: var(--serif); max-width: 52ch; margin-bottom: 14px; color: #2a2a33; }
.placeholder { font-style: italic; color: var(--muted) !important; }
.chart { display: flex; gap: 30px; align-items: flex-end; height: 160px; margin-top: 36px; padding-top: 28px; }
.chart .bar { position: relative; width: 48px; height: 0; background: var(--ink); transition: height .6s steps(6, end); }
.chart.in .bar { height: var(--h); }
.chart .bar.big { background: var(--blue); }
.chart .bar b { position: absolute; top: -28px; left: -10px; right: -10px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 20px; }
.chart .bar span { position: absolute; bottom: -24px; left: -24px; right: -24px; text-align: center; white-space: nowrap; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.chart-cap { margin-top: 38px; font-size: 15px !important; color: var(--muted) !important; }

/* ---------- plans ---------- */
.plans-sec { background: var(--card); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); max-width: var(--max); margin: 0 auto; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--ink); padding: 30px 26px 26px; }
.plan h3 { font-size: 22px; }
.plan .for { color: var(--muted); font-size: 15px; margin: 2px 0 14px; }
.plan .price { font-size: 40px; }
.plan .price small { font-family: var(--sans); font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--muted); }
.plan .founding { font-size: 14px; margin-top: 8px; }
.plan .founding mark { background: var(--yellow); padding: 0 4px; color: var(--ink); font-weight: 700; }
.plan ul { list-style: none; margin: 18px 0 24px; font-size: 15px; flex: 1; }
.plan li { padding: 8px 0 8px 24px; border-top: 1px solid rgba(0,0,0,.1); position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 15px; width: 10px; height: 10px; background: var(--blue); }
.plan .btn { width: 100%; }
.plan.star { background: var(--blue); color: var(--white); border-color: var(--blue); box-shadow: 6px 6px 0 var(--ink); }
.plan.star .for, .plan.star .price small { color: rgba(255,255,255,.8); }
.plan.star li { border-color: rgba(255,255,255,.22); }
.plan.star li::before { background: var(--yellow); }
.badge { position: absolute; top: -14px; right: 18px; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 13px; padding: 4px 12px; border: 2px solid var(--ink); transform: rotate(3deg); }

/* ---------- FAQ ---------- */
.faq .sec-head, .faq-list { max-width: 820px; margin-left: auto; margin-right: auto; }
details { border-top: 1.5px solid var(--ink); padding: 18px 0; }
details:last-child { border-bottom: 1.5px solid var(--ink); }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--display); font-size: 26px; line-height: .8; color: var(--blue); }
details[open] summary::after { content: "−"; }
details p { font-family: var(--serif); color: #2a2a33; margin-top: 10px; max-width: 62ch; }

/* ---------- CTA (blue) ---------- */
.cta { background: var(--blue); color: var(--white); text-align: center; }
.cta h2 { margin: 0 auto 18px; max-width: 16ch; }
.cta p { font-family: var(--serif); max-width: 44ch; margin: 0 auto 30px; color: rgba(255,255,255,.9); }

footer { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: center; padding: 32px var(--side) 40px; font-size: 14px; color: var(--muted); }
footer .logo { width: 44px; }

/* stepped reveal, once */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .1s steps(1), transform .45s var(--frame); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { height: min(92vw, 460px); max-width: 460px; width: 100%; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; max-width: 520px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-art { max-width: 260px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand-name { display: none; }
  .actions .btn { flex: 1 1 100%; }
  .notif { font-size: 13px; }
  .hero-art .note { font-size: 17px; }
  summary { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .build, .slap, .draw, .reveal, .scene > * { opacity: 1 !important; transform: none !important; }
  .chart .bar { height: var(--h); }
  mark.hl { background-size: 100% 38%; }
}

/* ================= audit page ================= */
.small-art .person { width: 54%; left: 12%; }
.small-art .disc { left: 4%; }
.audit-card { position: absolute; right: 0; bottom: 2%; z-index: 2; display: grid; gap: 6px; background: var(--white); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 14px 16px; font-size: 14px; min-width: 170px; }
.audit-card b { font-family: var(--display); font-weight: 800; font-size: 18px; margin-bottom: 2px; }
.audit-card .row::before { display: inline-block; width: 18px; font-weight: 700; }
.audit-card .ok::before { content: "✓"; color: var(--blue); }
.audit-card .no::before { content: "✕"; color: #c0392b; }
.audit-card .fix::before { content: "→"; color: var(--ink); }
.audit-card .fix { background: var(--yellow); margin: 0 -6px; padding: 1px 6px; font-weight: 700; }

.gets-sec { padding-top: 0; }
.gets { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); max-width: var(--max); margin: 0 auto; }
.get { border-top: 2px solid var(--ink); padding-top: 18px; }
.get .num { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--blue); color: var(--white); font-size: 19px; margin-bottom: 12px; }
.get h3 { margin-bottom: 6px; }
.get p { color: #34343d; font-size: 16px; }

.form-sec { background: var(--card); }
.form-sec .sec-head { max-width: 760px; }
form.audit { max-width: 760px; margin: 0 auto; background: var(--paper); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: clamp(22px, 4vw, 44px); }
.field { margin-bottom: 24px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; font-size: 17px; line-height: 1.35; margin-bottom: 8px; padding: 0; }
.field .n { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 4px; margin-right: 8px; background: var(--blue); color: var(--white); font-family: var(--display); font-weight: 800; font-size: 14px; vertical-align: 2px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field small { display: block; color: var(--muted); font-size: 14px; margin: -2px 0 8px; }
.field input:not([type=checkbox]), .field textarea, .field select { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 1.5px solid var(--ink); border-radius: 0; background: var(--white); color: var(--ink); -webkit-appearance: none; appearance: none; }
.field select { background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%2316161d' stroke-width='2'/></svg>") right 14px center / 12px no-repeat; padding-right: 38px; }
.field textarea { min-height: 92px; resize: vertical; }
.field input[type=file] { padding: 10px; background: var(--white); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--blue); outline-offset: 1px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; font-weight: 600; font-size: 15px; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--ink); background: var(--white); transition: background .15s steps(2, end), color .15s steps(2, end); }
.chips input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chips input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; margin: 6px 0 22px; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { display: none; color: #b3261e; font-weight: 700; margin-bottom: 14px; }
.btn.submit { width: 100%; font-size: 17px; padding: 16px 24px; }
.privacy { text-align: center; color: var(--muted); font-size: 13px; margin-top: 14px; }
.form-done { display: none; text-align: center; padding: 30px 0 10px; }
.form-done .done-stamp { position: static; display: inline-block; font-size: 26px; transform: rotate(-6deg); margin-bottom: 18px; }
.form-done h3 { font-family: var(--display); font-weight: 800; font-size: 36px; margin-bottom: 10px; }
.form-done p { font-family: var(--serif); margin-bottom: 24px; }

@media (max-width: 960px) {
  .gets { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 560px) {
  .row2 { grid-template-columns: 1fr; }
  .audit-card { font-size: 13px; min-width: 140px; bottom: 0; }
  .small-art .person { width: 58%; left: 2%; }
  .small-art .disc { left: 0; }
}

/* ================= team, agency page, small interactions (2026-10-15) ================= */
/* avatar heads: blink now and then, nod when pointed at (stop-motion) */
.ava { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(3px 4px 0 rgba(0,0,0,.16)); }
.ava .eyes { transform-box: fill-box; transform-origin: center; animation: blink 6s steps(1, end) infinite; animation-delay: var(--bd, 0s); }
@keyframes blink { 0%, 95% { transform: none; } 96%, 98% { transform: scaleY(.12); } }
.ava .head { transform-box: fill-box; transform-origin: 50% 100%; }
.member:hover .ava .head, .mini:hover .ava .head { animation: nod .5s steps(2, end) 2; }
@keyframes nod { 50% { transform: rotate(-7deg) translateY(-3px); } }

/* homepage: the second door */
.teaser-sec { padding-top: 0; padding-bottom: clamp(40px, 6vw, 72px); }
.teaser { display: flex; align-items: center; gap: 20px; max-width: 760px; margin: 0 auto; padding: 16px 20px; background: var(--card); border: 1.5px solid var(--ink); text-decoration: none; transition: transform .15s steps(2, end), box-shadow .15s steps(2, end); }
.teaser:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--blue); }
.minis { display: flex; flex: none; }
.mini { display: block; width: 52px; margin-right: -12px; }
.teaser-text { font-size: 16px; line-height: 1.4; }
.teaser-text b { display: block; font-size: 17px; }
.teaser-text span { color: var(--muted); }
.teaser-text u { color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.side-link { display: inline-block; margin-top: 18px; font-weight: 600; font-size: 15px; color: var(--blue); text-decoration: none; border-bottom: 2px solid transparent; transition: border-color .15s steps(2, end); }
.side-link:hover { border-color: var(--blue); }

/* agency hero: Gulnar with her team around her */
.leader .orbit { position: absolute; inset: 0; pointer-events: none; }
.leader .orbit .mini { position: absolute; width: 74px; margin: 0; pointer-events: auto; }
.leader .orbit .mini:nth-child(1) { left: 0; top: 22%; transform: rotate(-6deg); }
.leader .orbit .mini:nth-child(2) { right: 2%; top: 30%; transform: rotate(5deg); }
.leader .orbit .mini:nth-child(3) { left: 6%; bottom: 10%; transform: rotate(4deg); }
.leader .orbit .mini:nth-child(4) { right: 6%; bottom: 6%; transform: rotate(-4deg); }

/* team grid */
.team-sec { background: var(--card); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 36px); max-width: var(--max); margin: 0 auto; }
.member { position: relative; text-align: center; padding: 22px 14px 18px; background: var(--paper); border: 1.5px solid var(--ink); }
.member .ava { width: 112px; margin: 0 auto 12px; }
.member b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.member > span:last-child { display: block; color: var(--muted); font-size: 14px; }
.member .tape { top: -11px; left: 50%; margin-left: -39px; transform: rotate(-3deg); }
.member:nth-child(even) { transform: rotate(.6deg); }
.member:nth-child(odd) { transform: rotate(-.5deg); }
.member.more { display: grid; place-content: center; background: var(--blue); color: var(--white); border-color: var(--blue); }
.member.more > span:last-child { color: rgba(255,255,255,.85); }
.more-n { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -.04em; }

/* 20 / 35 counter */
.count { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; max-width: 900px; margin: 0 auto; }
.count-num { font-family: var(--display); font-weight: 800; letter-spacing: -.05em; line-height: .85; display: flex; align-items: baseline; gap: 6px; }
.count-num b { font-size: clamp(110px, 16vw, 200px); color: var(--blue); }
.count-num span { font-size: clamp(36px, 5vw, 64px); color: var(--muted); }
.count-text p { color: #34343d; margin: 14px 0 20px; max-width: 44ch; }
.bar35 { height: 14px; border: 1.5px solid var(--ink); background: var(--card); }
.bar35 span { display: block; height: 100%; width: 0; background: var(--blue); transition: width 1s steps(10, end) .3s; }
.count.in .bar35 span { width: var(--w); }

/* why + path */
.why { margin-top: 0; }
.path { list-style: none; max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.path li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; background: var(--card); border: 1.5px solid var(--ink); }
.path .num { flex: none; display: inline-grid; place-items: center; width: 38px; height: 38px; background: var(--blue); color: var(--white); font-size: 20px; }
.path h3 { margin-bottom: 4px; }
.path p { color: #34343d; font-size: 16px; }
.how1-sec { background: var(--card); }

@media (max-width: 960px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
  .count { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 520px) {
  .teaser { flex-direction: column; align-items: flex-start; }
  .member .ava { width: 92px; }
  .leader .orbit .mini { width: 58px; }
}

/* ================= Vox collage language, round 5 (Gulnar's Critica / Louis Wes references) ================= */
:root { --type: "Courier Prime", "Courier New", monospace; --coral: #ff6f59; --pink: #ff9ec7; --lime: #c8f169; }
/* "Chapter" labels: typewriter on a strip of yellow tape */
.eyebrow { display: inline-block; font-family: var(--type); font-weight: 700; font-size: 13px; letter-spacing: .06em; color: var(--ink);
  background: var(--yellow); padding: 4px 10px 3px; transform: rotate(-1.5deg); margin-bottom: 18px; }
.cta .eyebrow { background: var(--white); }
/* graph paper, like the explainer frames */
.grid-bg { background-image: linear-gradient(rgba(29,29,34,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(29,29,34,.07) 1px, transparent 1px);
  background-size: 32px 32px; background-position: -1px -1px; }
/* torn paper edge on top of a section */
.torn { position: relative; }
.torn::before { content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 14px; background: inherit; background-color: var(--tear, var(--card));
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'><path d='M0 14 L0 8 L6 5 L11 9 L17 3 L24 7 L30 2 L37 8 L43 4 L50 9 L56 3 L63 7 L70 2 L76 8 L83 4 L90 9 L96 3 L103 8 L110 4 L116 7 L120 5 L120 14 Z'/></svg>") 0 0 / 240px 14px repeat-x;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'><path d='M0 14 L0 8 L6 5 L11 9 L17 3 L24 7 L30 2 L37 8 L43 4 L50 9 L56 3 L63 7 L70 2 L76 8 L83 4 L90 9 L96 3 L103 8 L110 4 L116 7 L120 5 L120 14 Z'/></svg>") 0 0 / 240px 14px repeat-x; }
.how.torn, .team-sec.torn, .plans-sec.torn, .how1-sec.torn { --tear: var(--card); }
.cta.torn { --tear: var(--blue); }
/* hand-drawn squiggle + pop dots, shared with the team tiles */
.squig { animation: boil .6s steps(1) infinite; }
@keyframes boil { 0% { translate: 0 0; } 33% { translate: 1px -1px; } 66% { translate: -1px 1px; } }
.hero-art .patch { position: absolute; width: 46%; aspect-ratio: 1; right: 2%; top: 4%; transform: rotate(6deg);
  background-color: var(--card); border: 1.5px solid var(--ink); }
.hero-art .halftone { position: absolute; width: 34%; aspect-ratio: 1; left: 0; bottom: 18%; border-radius: 50%;
  background: radial-gradient(circle, var(--blue) 34%, transparent 37%) 0 0 / 12px 12px; opacity: .55; }
.hero-art .squiggle { position: absolute; width: 90px; left: 6%; top: 10%; overflow: visible; }
.hero-art .pops { position: absolute; inset: 0; pointer-events: none; }
.hero-art .pops i { position: absolute; width: 10px; height: 10px; border-radius: 50%; }
.hero-art .disc { z-index: 0; }
.hero-art .patch, .hero-art .halftone { z-index: 0; }
.hero-art .person { z-index: 1; }
/* team tiles */
.member { padding: 14px 14px 16px; background: var(--white); }
.member .ava { width: 100%; margin: 0 0 12px; border-radius: 10px; filter: none; }
.member .squig { animation-delay: var(--bd, 0s); }
.leader .orbit .mini, .mini { border-radius: 10px; overflow: hidden; border: 3px solid var(--white); box-shadow: 3px 4px 0 rgba(0,0,0,.18); }
.mini .ava { filter: none; }
.teaser .mini { width: 50px; margin-right: -10px; }
/* scenes get graph paper too */
.scene { background-color: var(--paper); background-image: linear-gradient(rgba(29,29,34,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(29,29,34,.07) 1px, transparent 1px); background-size: 24px 24px; }
@media (prefers-reduced-motion: reduce) { .squig { animation: none; } }
