/* 1 Club — v5 · the slit identity: night tiles, light through cuts, the light spill */
:root {
  --bg: #05070a;
  --bg-2: #0a0e12;
  --ink: #f2f5f7;
  --ink-2: rgba(242, 245, 247, .72);
  --mute: rgba(242, 245, 247, .48);
  --line: rgba(242, 245, 247, .12);
  --line-2: rgba(242, 245, 247, .2);
  --accent: #39d5ff;
  --accent-2: #bff7ff;
  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --body: "Geist", "Inter", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --gut: clamp(20px, 4.2vw, 72px);
  --max: 1520px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--body); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-loading, html:has(body.is-loading) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #031016; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.label { font: 400 12px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 400 13px var(--mono); letter-spacing: .02em; color: var(--ink-2); margin: 0 0 28px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(57,213,255,.14); animation: pulse 2.6s var(--ease-io) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(57,213,255,0); } }

/* ---------- Stage ---------- */
.stage { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; pointer-events: none;
  background: radial-gradient(80% 70% at 70% 40%, #0c1a22 0%, var(--bg) 70%); }
.grain { position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .045;
  background-image: 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='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(5) infinite; }
@keyframes grain { 0%,100%{transform:translate(0,0)} 25%{transform:translate(-2%,1.5%)} 50%{transform:translate(1.5%,-2%)} 75%{transform:translate(-1%,-1%)} }
main, .foot { position: relative; z-index: 2; }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: var(--bg);
  transition: clip-path 1.1s var(--ease-io); clip-path: inset(0 0 0 0); }
.intro.is-out { clip-path: inset(0 0 100% 0); }
.intro__mark { width: min(300px, 60vw); height: auto; overflow: visible; }
.intro__tile { opacity: 0; transform: translateY(6px); transform-box: fill-box; animation: rise .7s var(--ease) .1s forwards; }
.intro__one { opacity: 0; animation: rise .6s var(--ease) .5s forwards; }
.intro__word { opacity: 0; transform: translateY(6px); transform-box: fill-box; animation: rise .7s var(--ease) .7s forwards; }
.intro__spill { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s var(--ease-io) .85s forwards; }
@keyframes pop { to { transform: scale(1); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px var(--gut); transition: transform .7s var(--ease), background .5s, backdrop-filter .5s; }
.top.is-scrolled { background: linear-gradient(rgba(5,7,10,.78), rgba(5,7,10,0)); }
.top.is-hidden { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.brand__logo { display: block; height: 58px; width: auto; overflow: visible; }
.brand__glow, .brand__spillglow { transition: opacity .6s, stroke-opacity .6s; }
.brand:hover .brand__glow { opacity: 1; }
.brand:hover .brand__spillglow { stroke-opacity: 1; }
.nav { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(242,245,247,.05); border: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.nav a { padding: 8px 16px; border-radius: 999px; font: 500 14px var(--body); color: var(--ink-2); transition: color .3s, background .3s; }
.nav a:hover { color: var(--ink); background: rgba(242,245,247,.08); }
.pill-btn { justify-self: end; display: inline-flex; padding: 11px 20px; border-radius: 999px; background: var(--ink); color: #05070a; font: 500 14px var(--body);
  transition: background .3s, transform .5s var(--ease); }
.pill-btn:hover { background: var(--accent-2); }
@media (max-width: 760px) { .nav { display: none; } .top { grid-template-columns: 1fr auto; } .pill-btn { padding: 10px 16px; font-size: 13px; } }

/* ---------- Type ---------- */
.display { margin: 0; font: 500 clamp(56px, 11.2vw, 210px)/.9 var(--display); letter-spacing: -.055em; }
.display em { letter-spacing: -.035em; color: var(--accent-2); padding-right: .04em; }
.h2 { margin: 18px 0 0; font: 500 clamp(40px, 6vw, 104px)/.95 var(--display); letter-spacing: -.045em; }
.h2 em { color: var(--accent-2); }
[data-lines] .ln { display: block; overflow: hidden; padding: .08em .05em .22em 0; margin: -.08em -.05em -.22em 0; }
[data-lines] .ln > span { display: inline-block; will-change: transform; }
.js [data-lines] .ln > span { transform: translateY(110%); }
.js [data-reveal] { opacity: 0; transform: translateY(24px); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 17px 26px; border-radius: 999px; font: 500 15px var(--body);
  overflow: hidden; isolation: isolate; transition: color .4s var(--ease), border-color .4s, transform .5s var(--ease); }
.btn i { font-style: normal; transition: transform .5s var(--ease); }
.btn:hover i { transform: translate(3px, -3px); }
.btn--light { background: var(--ink); color: #05070a; }
.btn--light::before, .btn--accent::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent-2); transform: translateY(101%); border-radius: inherit; transition: transform .6s var(--ease); }
.btn--light:hover::before, .btn--accent:hover::before { transform: none; }
.btn--accent { background: var(--accent); color: #031016; }
.btn--ghost { color: var(--ink); border: 1px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.link { font: 400 14px var(--body); color: var(--mute); transition: color .3s; }
.link:hover { color: var(--ink); }

/* ---------- Hero ---------- */
section { position: relative; }
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 130px 0 0; }
.hero__inner { position: relative; }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(36px, 6vh, 64px); flex-wrap: wrap; }
.hero__lede { max-width: 30ch; margin: 0; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; color: var(--ink-2); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll { position: absolute; right: var(--gut); top: 50%; display: flex; flex-direction: column; align-items: center; gap: 12px;
  font: 400 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; height: 56px; background: linear-gradient(var(--ink), transparent); transform-origin: top; animation: drip 2.4s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 760px) { .hero__scroll { display: none; } }

/* ---------- Statement ---------- */
.statement { padding: clamp(120px, 22vh, 240px) 0; }
.statement__text { margin: 28px 0 0; max-width: 22ch; font: 500 clamp(30px, 4.2vw, 72px)/1.08 var(--display); letter-spacing: -.035em; }
.statement__text .w { opacity: .14; transition: opacity .2s linear; }
.statement__text .w.on { opacity: 1; }

/* ---------- Sections ---------- */
.sec-head { margin-bottom: clamp(48px, 8vh, 96px); }

/* ---------- Work ---------- */
.work { padding: clamp(60px, 10vh, 120px) 0 clamp(80px, 14vh, 160px); }
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.4vw, 36px); }
.case { display: block; }
.case--wide { grid-column: 1 / -1; }
.cases--3 { grid-template-columns: repeat(3, 1fr); margin-top: clamp(20px, 2.4vw, 36px); }
.cases--3 .case__title { font-size: clamp(19px, 1.5vw, 24px); }
.cases--3 .case__meta { flex-direction: column; gap: 4px; }
@media (max-width: 1000px) { .cases--3 { grid-template-columns: 1fr 1fr; } }
.case__media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--bg-2); aspect-ratio: 16 / 9; border: 1px solid var(--line);
  clip-path: inset(0 0 0 0 round var(--r)); }
.case--wide .case__media { aspect-ratio: 16 / 7.5; }
.case__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform-origin: 50% 0; transition: scale 1.2s var(--ease); will-change: transform; }
.case:hover .case__media img { scale: 1.035; }
.case__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(5,7,10,.35)); pointer-events: none; }
.case__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 4px 0; flex-wrap: wrap; }
.case__title { margin: 0; font: 500 clamp(22px, 1.9vw, 30px) var(--display); letter-spacing: -.03em; }
.case__tags { margin: 0; font: 400 13px var(--mono); color: var(--mute); }
@media (max-width: 760px) { .cases { grid-template-columns: 1fr; } .case--wide .case__media { aspect-ratio: 16 / 9; } }

.clients { margin-top: clamp(80px, 12vh, 140px); padding-top: 36px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 300px 1fr; gap: 32px; }
.clients__count { margin: 0 0 10px; font: 500 clamp(28px, 2.4vw, 40px)/1 var(--display); letter-spacing: -.04em; }
.clients__count span { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent-2); font-size: 1.5em; }
.clients__head .label { max-width: 24ch; }
.clients__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.clients__list li { font: 400 clamp(17px, 1.3vw, 21px) var(--display); letter-spacing: -.02em; color: var(--ink-2); transition: color .3s; }
.clients__list li:not(:last-child)::after { content: "·"; margin-left: 14px; color: var(--line-2); }
.clients__list li:hover { color: var(--ink); }
@media (max-width: 760px) { .clients { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.services { padding: clamp(80px, 14vh, 160px) 0; }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc__row { position: relative; display: grid; grid-template-columns: 80px 1fr 1.15fr 40px; gap: 32px; align-items: center; padding: clamp(28px, 4vh, 44px) 0;
  border-bottom: 1px solid var(--line); transition: color .4s; }
.svc__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(57,213,255,.07), transparent 70%);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.svc__row:hover::before { transform: none; }
.svc__n { font: 400 13px var(--mono); color: var(--mute); }
.svc__t { margin: 0; font: 500 clamp(28px, 3.4vw, 54px)/1 var(--display); letter-spacing: -.04em; transition: transform .6s var(--ease); }
.svc__row:hover .svc__t { transform: translateX(10px); }
.svc__d { margin: 0; color: var(--ink-2); max-width: 44ch; }
.svc__tags { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.svc__tags li { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); font: 400 12px var(--mono); color: var(--mute); transition: color .4s, border-color .4s; }
.svc__row:hover .svc__tags li { color: var(--ink-2); border-color: var(--line-2); }
.svc__arrow { justify-self: end; font-size: 22px; color: var(--mute); transition: color .4s, transform .6s var(--ease); }
.svc__row:hover .svc__arrow { color: var(--accent); transform: translate(3px, -3px); }
@media (max-width: 860px) { .svc__row { grid-template-columns: 48px 1fr; gap: 12px 16px; } .svc__body { grid-column: 2; } .svc__arrow { display: none; } }

/* ---------- Process ---------- */
.process { padding: clamp(80px, 14vh, 160px) 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { padding: 32px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step__n { font: 400 13px var(--mono); color: var(--accent); }
.step h3 { margin: 56px 0 12px; font: 500 30px var(--display); letter-spacing: -.035em; }
.step p { margin: 0; color: var(--ink-2); max-width: 30ch; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(3) { border-left: 0; padding-left: 0; } .step { border-bottom: 1px solid var(--line); padding-bottom: 28px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step + .step { border-left: 0; padding-left: 0; } .step h3 { margin-top: 28px; } }

/* ---------- Contact / form ---------- */
.contact { padding: clamp(80px, 14vh, 160px) 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.contact__note { color: var(--ink-2); max-width: 34ch; margin: 28px 0 24px; }
.contact__direct { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.contact__direct a { font: 500 20px var(--display); letter-spacing: -.02em; border-bottom: 1px solid var(--line-2); transition: border-color .3s, color .3s; }
.contact__direct a:hover { color: var(--accent-2); border-color: var(--accent-2); }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }

.q { position: relative; padding: clamp(24px, 3.2vw, 48px); border-radius: 28px; background: rgba(12,17,22,.72); border: 1px solid var(--line);
  backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%); box-shadow: 0 40px 120px -50px rgba(57,213,255,.25); }
.q__top { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; }
.q__count { font: 400 13px var(--mono); color: var(--mute); white-space: nowrap; }
.q__progress { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.q__progress i { display: block; height: 100%; width: 25%; background: var(--accent); transition: width .7s var(--ease); }
.q__step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.q__step.is-on { display: block; animation: qin .7s var(--ease); }
@keyframes qin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.q__ask { padding: 0; margin: 0 0 8px; font: 500 clamp(28px, 2.6vw, 40px)/1.05 var(--display); letter-spacing: -.035em; }
.q__ask em { color: var(--accent-2); }
.q__hint { margin: 0 0 28px; color: var(--mute); }
.q__hint a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 13px 20px; border-radius: 999px; border: 1px solid var(--line-2); font: 400 15px var(--body); color: var(--ink-2);
  transition: background .35s var(--ease), color .35s, border-color .35s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); color: #05070a; border-color: var(--ink); }
.q textarea, .q input { width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(5,7,10,.5);
  color: var(--ink); font: 400 16px var(--body); outline: none; transition: border-color .3s, box-shadow .3s; resize: vertical; }
.q textarea:focus, .q input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(57,213,255,.12); }
.q input.is-bad { border-color: #ff8a9a; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields label { display: grid; gap: 8px; }
.fields span { font: 400 12px var(--mono); color: var(--mute); text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.q__nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 36px; }
.q__nav:has(> :only-child) { justify-content: flex-end; }
.q__err { color: #ff9aa8; margin: 16px 0 0; font-size: 14px; }

/* ---------- Footer ---------- */
.foot { padding: clamp(100px, 16vh, 180px) 0 36px; }
.foot__big { display: block; font: 500 clamp(64px, 15.5vw, 290px)/.86 var(--display); letter-spacing: -.06em; transition: color .5s; }
.foot__big em { color: var(--accent-2); }
.foot__big:hover { color: var(--accent-2); }
.foot__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(56px, 9vh, 100px); padding-top: 28px; border-top: 1px solid var(--line); }
.foot__grid > div { display: grid; gap: 8px; align-content: start; }
.foot__grid a:hover { color: var(--accent-2); }
.foot__base { display: flex; justify-content: space-between; margin-top: 56px; font: 400 13px var(--mono); color: var(--mute); }
.foot__top:hover { color: var(--ink); }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- v3: hero meta + ticker ---------- */
.hero__meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__meta .eyebrow { margin: 0; }
.hero__time { margin: 0; font: 400 13px var(--mono); color: var(--mute); }
.hero__time b { color: var(--ink); font-weight: 400; }
.status { color: var(--ink-2); }
.status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; border-radius: 50%; background: #5eea9b; box-shadow: 0 0 0 3px rgba(94,234,155,.15); }
.ticker { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px; margin-top: clamp(48px, 8vh, 90px);
  padding: 22px var(--gut); border-top: 1px solid var(--line); }
.ticker__label { margin: 0; font: 400 13px var(--mono); color: var(--mute); white-space: nowrap; }
.ticker__label b { color: var(--accent-2); font-weight: 500; }
.ticker__rail { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; gap: 44px; width: max-content; animation: tick 70s linear infinite; }
.ticker__track span { font: 500 17px var(--display); letter-spacing: -.02em; color: var(--ink-2); white-space: nowrap; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (max-width: 760px) { .ticker { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- v3: numbers ---------- */
.stats { padding: 0 0 clamp(80px, 14vh, 160px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 0 0; display: grid; gap: 10px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__n { font: 500 clamp(56px, 7.5vw, 128px)/.9 var(--display); letter-spacing: -.06em; }
.stat__n b { font-weight: 500; }
.stat:first-child .stat__n { color: var(--accent-2); }
.stat__l { font: 400 13px var(--mono); color: var(--mute); max-width: 18ch; }
@media (max-width: 860px) { .stats__grid { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat { padding-bottom: 28px; } }

/* ---------- v3: horizontal gallery ---------- */
.hscroll { position: relative; overflow: hidden; padding: 0 0 clamp(40px, 6vh, 70px); }
.hscroll__track { display: flex; gap: clamp(20px, 2.2vw, 36px); padding: 0 var(--gut); width: max-content; will-change: transform; }
.hcard { width: clamp(300px, 56vw, 960px); flex: none; }
.hcard .case__media { aspect-ratio: 16 / 9.5; }
.hscroll__end { width: clamp(260px, 30vw, 460px); flex: none; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; padding-left: 20px; }
.hscroll__bar { margin: 36px var(--gut) 0; height: 1px; background: var(--line); }
.hscroll__bar i { display: block; height: 100%; width: 0; background: var(--accent); }
@media (max-width: 860px) {
  .hscroll__track { flex-direction: column; width: auto; }
  .hcard, .hscroll__end { width: 100%; }
  .hscroll__end { padding: 20px 0 0; }
  .hscroll__bar { display: none; }
}

/* ---------- v3: kinetic strip ---------- */
.kinetic { padding: clamp(60px, 10vh, 120px) 0; overflow: hidden; border-block: 1px solid var(--line); background: rgba(5,7,10,.6); }
.kinetic__row { overflow: hidden; }
.kinetic__track { display: flex; align-items: center; gap: 36px; width: max-content; will-change: transform; }
.kinetic__track span { font: 500 clamp(54px, 8.5vw, 150px)/1.05 var(--display); letter-spacing: -.055em; white-space: nowrap; }
.kinetic__track i { font-style: normal; font-size: clamp(22px, 2.4vw, 40px); color: var(--accent); }
.kinetic__row--alt .kinetic__track span { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(242,245,247,.45); }

/* ---------- services grid ---------- */
.services__grid { display: grid; grid-template-columns: .85fr 1.4fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.services__grid .sec-head { position: sticky; top: 120px; margin: 0; }
@media (max-width: 960px) { .services__grid { grid-template-columns: 1fr; } .services__grid .sec-head { position: static; } }

/* ---------- v3: stacking process cards ---------- */
.process .steps { display: block; border: 0; }
.process .step { position: sticky; top: calc(110px + var(--i, 0) * 22px); display: grid; grid-template-columns: 120px 1fr 1.2fr; gap: 24px; align-items: baseline;
  margin: 0 0 22px; padding: clamp(28px, 4vw, 48px); border-radius: 26px; border: 1px solid var(--line); background: rgba(12,17,22,.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 -20px 60px -30px rgba(0,0,0,.8); }
.process .step + .step { border-left: 1px solid var(--line); padding-left: clamp(28px, 4vw, 48px); }
.process .step h3 { margin: 0; font-size: clamp(34px, 3.6vw, 60px); letter-spacing: -.045em; }
.process .step p { font-size: 18px; }
.process .step__n { font-size: 14px; }
@media (max-width: 760px) { .process .step { grid-template-columns: 1fr; position: relative; top: 0; } }

/* ---------- v3: footer wordmark ---------- */
.foot__mark { margin-top: clamp(60px, 10vh, 120px); font: 600 clamp(110px, 27vw, 470px)/.78 var(--display); letter-spacing: -.075em; text-align: center;
  background: linear-gradient(180deg, rgba(242,245,247,.16), rgba(242,245,247,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; overflow: hidden; }

/* ====================================================================
   v5 — the slit identity, applied to the whole page
   night tiles · light through cuts · the light spill · serif accents
   ==================================================================== */
:root { --tile: #0b1116; --ice: #bff7ff; --cyan: #39d5ff; --teal: #1287a8; --r: 24px;
  --edge: linear-gradient(135deg, rgba(191,247,255,.42), rgba(18,135,168,.16) 55%, rgba(191,247,255,.12));
  --glow: 0 0 .14em rgba(57,213,255,.95), 0 0 .45em rgba(57,213,255,.5); }

/* The tile: a night panel with a lit edge and a little light inside */
.tile { position: relative; isolation: isolate; border-radius: 28px; border: 1px solid transparent;
  background: linear-gradient(var(--tile), var(--tile)) padding-box, var(--edge) border-box;
  transition: box-shadow .7s var(--ease), transform .7s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 45% at 50% 0%, rgba(57,213,255,.13), transparent 70%); }
.tile:hover { box-shadow: 0 0 0 1px rgba(191,247,255,.18), 0 40px 90px -50px rgba(57,213,255,.35); }

/* Lit: white with the cyan glow of the 1 */
.lit { color: #fff; text-shadow: var(--glow); }

/* The spill: a hairline of light under section heads */
.sec-head { position: relative; padding-bottom: 28px; }
.sec-head::after { content: ""; position: absolute; left: 0; bottom: 0; width: min(260px, 40%); height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(57,213,255,0)); box-shadow: 0 0 12px rgba(57,213,255,.55); }
.sec-note { max-width: 34ch; margin: 24px 0 0; color: var(--ink-2); }

/* Hero */
.display em .lit { font-style: italic; }
.ticker { border-top: 0; }
.ticker::before { content: ""; position: absolute; left: var(--gut); right: var(--gut); top: 0; height: 1px;
  background: linear-gradient(90deg, rgba(57,213,255,.55), rgba(242,245,247,.08) 45%, rgba(242,245,247,.08)); }
.ticker__track span { position: relative; }
.ticker__track span + span::before { content: ""; position: absolute; left: -26px; top: 50%; width: 4px; height: 4px; border-radius: 50%; margin-top: -2px;
  background: var(--cyan); box-shadow: 0 0 8px rgba(57,213,255,.9); }

/* Numbers: four tiles */
.stats__grid { border-top: 0; gap: clamp(14px, 1.6vw, 22px); }
.stat { padding: clamp(26px, 3vw, 40px) clamp(22px, 2.4vw, 32px) clamp(24px, 2.6vw, 34px); gap: 18px; }
.stat + .stat { padding-left: clamp(22px, 2.4vw, 32px); border-left: 1px solid transparent; }
.stat__n { font-weight: 400; letter-spacing: -.05em; }
.stat:first-child .stat__n { color: #fff; }
@media (max-width: 860px) { .stat:nth-child(3) { padding-left: clamp(22px, 2.4vw, 32px); } .stat { padding-bottom: clamp(24px, 2.6vw, 34px); } }

/* Work: screenshots sit inside tiles */
.case.tile { display: block; padding: 10px 10px 20px; }
.case.tile .case__media { border-radius: 20px; border: 0; background: #05070a; clip-path: inset(0 0 0 0 round 20px); }
.case.tile .case__media::after { background: linear-gradient(180deg, transparent 70%, rgba(5,7,10,.3)); }
.case.tile .case__meta { padding: 20px 12px 0; }
.case.tile:hover { transform: translateY(-4px); }
@media (min-width: 861px) { .hcard { width: clamp(300px, 54vw, 920px); } }
.hscroll__bar { background: rgba(242,245,247,.1); }
.hscroll__bar i { background: linear-gradient(90deg, var(--cyan), var(--ice)); box-shadow: 0 0 10px rgba(57,213,255,.7); }
.past { margin-top: clamp(56px, 9vh, 110px); }
.past__label { margin-bottom: 22px; } .past__label span { text-transform: none; letter-spacing: 0; color: var(--mute); }
.cases--3 { margin-top: 0; }
.cases--3 .case.tile { padding: 8px 8px 16px; border-radius: 22px; }
.cases--3 .case.tile .case__media { border-radius: 16px; clip-path: inset(0 0 0 0 round 16px); }
.cases--3 .case.tile .case__meta { padding: 16px 10px 0; }
.clients { border-top: 0; position: relative; }
.clients::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(57,213,255,.5), rgba(242,245,247,.1) 40%, rgba(242,245,247,.1)); }

/* Kinetic strip */
.kinetic { border-block: 0; background: transparent; }
.kinetic__track i { color: var(--cyan); text-shadow: 0 0 10px rgba(57,213,255,.8); }
.kinetic__row--alt .kinetic__track span { -webkit-text-stroke: 1px rgba(191,247,255,.5); }

/* Services: five tiles, each with a lit numeral */
.svc { border-top: 0; display: grid; gap: clamp(14px, 1.6vw, 20px); }
.svc__row, .services__grid .svc__row { display: grid; grid-template-columns: 96px 1fr; grid-template-areas: "n b"; gap: 24px; align-items: start;
  padding: clamp(26px, 3vw, 40px) clamp(24px, 2.8vw, 40px); border-bottom: 0; }
.svc__row::before { display: none; }
.services__grid .svc__n { grid-area: n; align-self: start; font: 400 clamp(56px, 5.4vw, 88px)/.85 var(--display); letter-spacing: -.05em; margin-top: .02em; }
.services__grid .svc__body { grid-area: b; }
.services__grid .svc__t { grid-area: auto; margin: 0 0 12px; font-size: clamp(26px, 2.6vw, 42px); transform: none; }
.svc__row:hover .svc__t { transform: none; color: var(--ice); }
.svc__d { max-width: 48ch; }
.svc__tags li { border-color: rgba(242,245,247,.14); }
.svc__row:hover .svc__tags li { border-color: rgba(191,247,255,.35); color: var(--ink); }
@media (max-width: 860px) { .svc__row, .services__grid .svc__row { grid-template-columns: 64px 1fr; gap: 16px; } .services__grid .svc__n { font-size: 48px; } }

/* Process: stacking tiles */
.process .step { border: 1px solid transparent; background: linear-gradient(var(--tile), var(--tile)) padding-box, var(--edge) border-box;
  backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 -30px 60px -30px rgba(0,0,0,.9); border-radius: 28px; align-items: start; }
.process .step + .step { border-left: 1px solid transparent; }
.process .step__n { font: 400 clamp(44px, 4vw, 64px)/.9 var(--display); letter-spacing: -.05em; }
.process .step h3 { margin-top: .05em; }

/* Form tile */
.q.tile { background: linear-gradient(rgba(11,17,22,.92), rgba(11,17,22,.92)) padding-box, var(--edge) border-box; backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%); }
.q__progress i { background: linear-gradient(90deg, var(--cyan), var(--ice)); box-shadow: 0 0 10px rgba(57,213,255,.8); }
.chip.is-on { background: #fff; border-color: #fff; box-shadow: 0 0 18px rgba(57,213,255,.35); }
.contact__head.sec-head { margin-bottom: 0; padding-bottom: 0; }
.contact__head.sec-head::after { display: none; }
.contact__head .h2 { position: relative; padding-bottom: 26px; margin-bottom: 4px; }
.contact__head .h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: min(260px, 40%); height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(57,213,255,0)); box-shadow: 0 0 12px rgba(57,213,255,.55); }

/* Footer: the logo, giant */
.foot__mark { position: relative; display: flex; align-items: center; gap: .22em; margin-top: clamp(60px, 10vh, 120px); padding-bottom: .16em;
  font-size: clamp(96px, 21vw, 380px); line-height: .8; background: none; color: inherit; -webkit-background-clip: initial; background-clip: initial; overflow: visible; user-select: none; }
.foot__tile { width: 1em; height: 1em; flex: none; overflow: visible; }
.foot__word { font: 400 1em/.8 var(--serif); font-style: italic; color: var(--ice); letter-spacing: -.01em; }
.foot__spill { position: absolute; left: .04em; right: 0; bottom: 0; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), rgba(57,213,255,0) 80%); box-shadow: 0 0 16px rgba(57,213,255,.6); }
@media (max-width: 760px) { .foot__mark { font-size: 22vw; } }

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 14vh, 160px) 0 0; }
.faq__grid { display: grid; grid-template-columns: .85fr 1.4fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.faq__grid .sec-head { position: sticky; top: 120px; margin: 0; }
.faq__list { display: grid; gap: 12px; }
.faq__item { padding: 0; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: clamp(20px, 2.2vw, 28px) clamp(22px, 2.6vw, 34px); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { margin: 0; font: 500 clamp(19px, 1.5vw, 24px)/1.2 var(--display); letter-spacing: -.03em; }
.faq__item summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); transition: border-color .4s, transform .6s var(--ease); }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.faq__item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] summary i { border-color: var(--accent); transform: rotate(45deg); }
.faq__item[open] summary i::before, .faq__item[open] summary i::after { background: var(--accent); }
.faq__item p { margin: 0; padding: 0 clamp(22px, 2.6vw, 34px) clamp(22px, 2.4vw, 30px); color: var(--ink-2); max-width: 60ch; }
@media (max-width: 960px) { .faq__grid { grid-template-columns: 1fr; } .faq__grid .sec-head { position: static; } }

/* ---------- Notes (blog) ---------- */
.notes { padding: clamp(80px, 14vh, 160px) 0 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.post-grid--index { grid-template-columns: repeat(2, 1fr); }
.post-card { display: grid; align-content: start; gap: 14px; padding: clamp(24px, 2.6vw, 36px); color: inherit; }
.post-card__t { margin: 6px 0 0; font: 500 clamp(22px, 1.7vw, 28px)/1.1 var(--display); letter-spacing: -.035em; }
.post-card__t em { color: var(--accent-2); }
.post-card__d { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.post-card__more { margin-top: 6px; font: 500 14px var(--body); color: var(--accent-2); }
.post-card__more i { font-style: normal; display: inline-block; transition: transform .5s var(--ease); }
.post-card:hover .post-card__more i { transform: translateX(4px); }
.post-card:hover { transform: translateY(-4px); }
.notes__all { margin: 36px 0 0; }
@media (max-width: 960px) { .post-grid, .post-grid--index { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid, .post-grid--index { grid-template-columns: 1fr; } }

body.is-blog .top { background: linear-gradient(rgba(5,7,10,.85), rgba(5,7,10,0)); }
.post { position: relative; z-index: 2; padding: clamp(130px, 18vh, 190px) 0 clamp(60px, 10vh, 120px); }
.post .wrap { max-width: 980px; }
.crumbs { display: flex; gap: 10px; font: 400 13px var(--mono); color: var(--mute); margin-bottom: 36px; }
.crumbs a:hover { color: var(--ink); }
.post__head { margin-bottom: clamp(40px, 6vh, 64px); }
.post__h1 { margin-top: 16px; font-size: clamp(38px, 5vw, 76px); }
.post__lede { margin: 24px 0 0; max-width: 60ch; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.5; color: var(--ink-2); }
.post__body { max-width: 68ch; font-size: clamp(17px, 1.2vw, 19px); line-height: 1.7; color: var(--ink-2); }
.post__body h2 { margin: 2.2em 0 .6em; font: 500 clamp(24px, 2.2vw, 34px)/1.15 var(--display); letter-spacing: -.035em; color: var(--ink); }
.post__body p { margin: 0 0 1.2em; }
.post__body strong { color: var(--ink); font-weight: 500; }
.post__body ul { margin: 0 0 1.4em; padding: 0; list-style: none; display: grid; gap: 12px; }
.post__body li { position: relative; padding-left: 26px; }
.post__body li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 8px rgba(57,213,255,.8); }
.post__cta { margin: clamp(48px, 8vh, 80px) 0 0; padding: clamp(28px, 3.4vw, 48px); display: grid; gap: 14px; justify-items: start; }
.post__cta-t { margin: 0; font: 500 clamp(28px, 3vw, 44px)/1.05 var(--display); letter-spacing: -.04em; }
.post__cta-t em { color: var(--accent-2); }
.post__cta-d { margin: 0 0 10px; max-width: 52ch; color: var(--ink-2); }
.post__more { margin-top: clamp(64px, 10vh, 110px); }
.post__more .label { margin-bottom: 22px; }
.post__more .post-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .post__more .post-grid { grid-template-columns: 1fr; } }
.blog-index .post-grid--index { margin-top: 10px; }

/* ---------- Guides (prompt library) ---------- */
.g-copy { font: 500 13px var(--body); color: #031016; background: var(--cyan); border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; white-space: nowrap; transition: background .3s, box-shadow .3s; }
.g-copy:hover, .g-copy.is-done { background: var(--accent-2); box-shadow: 0 0 18px rgba(57,213,255,.45); }
.g-copy--hero { margin-top: 28px; font-size: 15px; padding: 15px 24px; max-width: 100%; white-space: normal; text-align: center; }
.guide__body { max-width: 74ch; }
.guide__body h3 { margin: 0 0 6px; font: 500 16px/1.3 var(--body); color: var(--ink); }
.guide__body code { font-family: var(--mono); font-size: .86em; color: var(--accent-2); background: rgba(57,213,255,.1); padding: 1px 6px; border-radius: 5px; }
.guide__body a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.g-block { margin: 0 0 1.6em; background: #070b0e; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; min-width: 0; }
.g-block__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line); }
.g-block__head span { font: 400 12px var(--mono); letter-spacing: .04em; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-block pre { margin: 0; padding: 18px; overflow-x: auto; font: 400 13.5px/1.65 var(--mono); color: #dbe6ec; white-space: pre; }
.g-block--prompt pre { white-space: pre-wrap; word-break: break-word; max-height: 560px; overflow-y: auto; }
.g-note { margin: 0 0 1.4em; padding: 14px 18px; border-left: 2px solid #ffb35c; border-radius: 0 12px 12px 0; background: rgba(255,179,92,.08); font-size: .92em; }
.g-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 0 0 1.4em; }
.g-flow div { background: #0b1116; border: 1px solid var(--line); border-radius: 14px; padding: 14px; font-size: 14px; line-height: 1.5; min-width: 0; }
.g-flow b { display: block; font: 500 11px var(--mono); color: var(--cyan); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.g-pieces { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 0 0 1.4em; }
.g-piece { border-top: 1px solid var(--cyan); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.g-piece p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--mute); }
.g-tag { font: 400 12px var(--mono); color: var(--accent-2); opacity: .75; }
.guide__body ol.g-steps, .guide__body ul.g-list { margin: 0 0 1.4em; padding-left: 22px; display: grid; gap: 12px; list-style: revert; }
.guide__body .g-steps li, .guide__body .g-list li { padding-left: 4px; }
.guide__body .g-steps li::before, .guide__body .g-list li::before { content: none; }
.guide__body .g-steps li::marker { font-family: var(--mono); color: var(--cyan); }
.guide__body .g-list li::marker { color: var(--cyan); }
.guide__body .g-steps b, .guide__body .g-list b { color: var(--ink); font-weight: 500; }
.g-muted { color: var(--mute); }
.g-table { overflow-x: auto; margin: 0 0 1.4em; }
.g-table table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.5; }
.g-table th, .g-table td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.g-table td:first-child { color: var(--ink); }
.g-table th { font: 500 11.5px var(--mono); color: var(--mute); letter-spacing: .06em; text-transform: uppercase; }

.g-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(36px, 6vh, 56px); }
.g-cats a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font: 500 13px var(--body); color: var(--ink-2); transition: border-color .3s, color .3s; }
.g-cats a:hover { border-color: var(--cyan); color: var(--ink); }
.g-section { margin: 0 0 clamp(56px, 9vh, 96px); scroll-margin-top: 110px; }
.g-section__t { margin: 0 0 10px; font: 500 clamp(26px, 2.4vw, 38px)/1.1 var(--display); letter-spacing: -.035em; }
.g-section__d { margin: 0 0 22px; max-width: 62ch; color: var(--ink-2); }
.g-section .post-grid { margin-top: 18px; }

.page-cta { margin: clamp(32px, 5vh, 56px) 0; padding: clamp(24px, 3vw, 40px); display: grid; gap: 12px; justify-items: start; }
.page-cta__t { margin: 0; font: 500 clamp(24px, 2.4vw, 34px)/1.1 var(--display); letter-spacing: -.03em; color: var(--ink); } .page-cta__t em { color: var(--accent-2); }
.page-cta__d { margin: 0; max-width: 56ch; color: var(--ink-2); font-size: 16px; }
.page-cta__row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.post__body .page-cta { max-width: none; }

.svc__links { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.svc__more { font: 500 14px var(--body); color: var(--accent-2); border-bottom: 1px solid rgba(191,247,255,.3); }
.svc__more:hover { border-color: var(--accent-2); }
.fields__wide { grid-column: 1 / -1; }
.q select { width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(5,7,10,.5); color: var(--ink); font: 400 16px var(--body); }

.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 18px 0; width: 100%; }
.promise__item { display: grid; gap: 4px; padding: 14px 16px 14px 40px; border-radius: 16px; border: 1px solid var(--line); background: rgba(5,7,10,.4); position: relative; }
.promise__item::before { content: "✓"; position: absolute; left: 15px; top: 13px; color: var(--cyan); font-weight: 600; text-shadow: 0 0 10px rgba(57,213,255,.7); }
.promise__item b { font: 500 15px var(--body); color: var(--ink); } .promise__item span { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.contact__head .promise { grid-template-columns: 1fr; }

/* ---------- Contact page ---------- */
.book { margin-top: clamp(64px, 10vh, 110px); scroll-margin-top: 90px; }
.book__t { margin: 8px 0 10px; } .book__t em { color: var(--accent-2); }
.book__d { margin: 0 0 22px; max-width: 60ch; color: var(--ink-2); }
.book__frame { position: relative; padding: 0; overflow: hidden; border: 0; border-radius: 26px; background: #0b1116; box-shadow: 0 40px 90px -60px rgba(57,213,255,.35); clip-path: inset(0 round 26px); }
/* the GHL script turns scrolling back on: widen the iframe so its scrollbar sits outside the clip */
.book__frame iframe { display: block; width: 100%; height: 760px; border: 0; background: #0b1116; color-scheme: dark; margin: -18px 0 -26px; }
@media (min-width: 700px) { .book__frame iframe { width: calc(100% + 20px); max-width: none; margin-left: -10px; } }
.tool__cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-page .contact__grid { align-items: start; }
.contact-page .post__h1 { margin-top: 16px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 18px; min-width: 0; }
.foot__links a:hover, .foot__top:hover { color: var(--ink); }
@media (max-width: 560px) { .foot__base { flex-wrap: wrap; gap: 14px 24px; } }

/* ---------- Hero prompt box ("What can 1Club do for you today?") ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero--ask { justify-content: center; padding-bottom: clamp(24px, 4vh, 48px); }
.hero--ask .hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero--ask .hero__meta { width: 100%; margin-bottom: clamp(28px, 5vh, 56px); }
.hero--ask .display { font-size: clamp(48px, 8.2vw, 150px); }
.hero--ask .display .ln { display: block; }
@media (min-width: 761px) {
  .hero--ask .eyebrow, .hero--ask .hero__time { font-size: 15px; }
}
.ask { width: min(100%, 780px); margin-top: clamp(28px, 4.5vh, 48px); text-align: left; }
.ask__form { position: relative; display: flex; align-items: flex-end; gap: 10px; padding: 10px 10px 10px 24px; border-radius: 30px;
  background: linear-gradient(rgba(11,17,22,.86), rgba(11,17,22,.86)) padding-box, linear-gradient(135deg, rgba(191,247,255,.55), rgba(18,135,168,.35)) border-box;
  border: 1px solid transparent; backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 0 0 1px rgba(57,213,255,.06), 0 30px 80px -30px rgba(57,213,255,.45); transition: box-shadow .4s; }
.ask__form:focus-within { box-shadow: 0 0 0 4px rgba(57,213,255,.14), 0 30px 90px -25px rgba(57,213,255,.6); }
.ask__input:focus, .ask__input:focus-visible { outline: 0; box-shadow: none; }
.ask__input { flex: 1; min-width: 0; resize: none; border: 0; outline: 0; background: transparent; color: var(--ink);
  font: 400 clamp(17px, 1.35vw, 20px)/1.45 var(--body); padding: 13px 0; max-height: 180px; }
.ask__input::placeholder { color: rgba(242,245,247,.55); }
.ask__go { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: var(--ink); color: #05070a;
  display: grid; place-items: center; transition: background .3s, transform .3s var(--ease); }
.ask__go svg { width: 22px; height: 22px; }
.ask__go:hover { background: var(--accent-2); transform: translateX(2px); }
.ask.is-busy .ask__go { opacity: .5; pointer-events: none; }
.ask__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.ask__chip { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: rgba(5,7,10,.35); color: var(--ink-2);
  font: 400 14px var(--body); cursor: pointer; transition: border-color .3s, color .3s; }
.ask__chip:hover { border-color: var(--cyan); color: var(--ink); }
.ask.is-open .ask__chips { display: none; }
.ask__panel { margin-top: 14px; padding: clamp(18px, 2.4vw, 28px); max-height: min(56vh, 560px); overflow-y: auto; }
.ask__thread { display: grid; gap: 16px; }
.ask__msg { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.ask__msg p { margin: 0 0 .7em; } .ask__msg p:last-child { margin-bottom: 0; }
.ask__msg ul { margin: 0 0 .7em; padding-left: 20px; display: grid; gap: 6px; }
.ask__msg a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.ask__msg strong { color: var(--ink); font-weight: 500; }
.ask__msg--user { justify-self: end; max-width: 85%; padding: 10px 16px; border-radius: 18px 18px 4px 18px; background: rgba(242,245,247,.08); color: var(--ink); }
.ask__typing { display: inline-flex; gap: 5px; } .ask__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: askdot 1s infinite ease-in-out; }
.ask__typing i:nth-child(2) { animation-delay: .15s; } .ask__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes askdot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.ask__send { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ask__small { font-size: 13px; color: var(--mute); }
.ask__lead { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 12px; justify-items: start; }
.ask__lead-t { margin: 0; font: 500 18px var(--display); color: var(--ink); }
.ask__fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.ask__fields label { display: grid; gap: 6px; font-size: 13px; color: var(--mute); }
.ask__fields input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(5,7,10,.5); color: var(--ink); font: 400 15px var(--body); }
.ask__fields input:focus { outline: 0; border-color: var(--cyan); }
.ask__err { margin: 0; color: #ff9aa8; font-size: 14px; }
.ask__done { margin: 0; color: var(--ink); font-size: 16px; } .ask__done em { color: var(--accent-2); }
.hero__lede--center { max-width: 56ch; margin: clamp(22px, 3.5vh, 36px) auto 0; text-align: center; }
.hero__lede--center a { color: var(--ink); border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.hero__lede--center a:hover { border-color: var(--cyan); }
@media (max-width: 480px) { .ask__input { min-height: 3.2em; font-size: 16px; } }
@media (max-width: 620px) { .ask__fields { grid-template-columns: 1fr; } .ask__form { padding-left: 18px; border-radius: 24px; } .ask__go { width: 46px; height: 46px; } }

.ask__chip--hot { border-color: rgba(57,213,255,.55); color: var(--ice); box-shadow: 0 0 18px -6px rgba(57,213,255,.6); }
.ask__built { display: grid; gap: 8px; padding: 16px; border-radius: 16px; border: 1px solid rgba(57,213,255,.35); background: rgba(57,213,255,.06); }
.ask__built .label { margin: 0; } .ask__built-t { margin: 0; font: 500 22px var(--display); color: var(--ink); letter-spacing: -.02em; }
.ask__built-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
/* website score card inside the chat */
.scan { display: grid; gap: 12px; padding: 18px; border-radius: 18px; border: 1px solid rgba(57,213,255,.3); background: linear-gradient(160deg, rgba(57,213,255,.08), rgba(11,17,22,.55)); }
.scan p { margin: 0; }
.scan__run { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.scan__run i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); flex: none; animation: scanpulse 1.1s ease-in-out infinite; }
.scan[data-state="done"] .scan__run i { animation: none; background: #5ef2a6; box-shadow: 0 0 10px rgba(94,242,166,.7); }
.scan[data-state="fail"] .scan__run i { animation: none; background: #ffb547; box-shadow: none; }
@keyframes scanpulse { 50% { opacity: .3; transform: scale(.7); } }
.scan__first { color: var(--ink-2); font-size: .95em; }
.scan__res:empty { display: none; }
.scan__res { display: grid; gap: 14px; animation: chatmsg .6s var(--ease) both; }
.scan__top { display: flex; align-items: center; gap: 16px; }
.scan__num { --n: 0; position: relative; width: 92px; height: 92px; border-radius: 50%; flex: none; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, #0b1116 82%, transparent 83% 100%), conic-gradient(var(--accent) calc(var(--n) * 1%), rgba(242,245,247,.1) 0); }
.scan__num b { font: 500 34px/1 var(--display); color: var(--ink); letter-spacing: -.03em; }
.scan__num span { font-size: 12px; color: var(--mute); }
.scan__top .label { margin: 0 0 2px; }
.scan__verdict { font: 500 22px/1.15 var(--display); color: var(--ink); letter-spacing: -.02em; }
.scan__count { font-size: 14px; color: var(--mute); margin-top: 2px !important; }
.scan__bars { display: grid; gap: 8px; }
.scan__bar { display: grid; grid-template-columns: minmax(0, 11em) 1fr 2.2em; align-items: center; gap: 10px; font-size: 14px; }
.scan__bar span { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scan__bar i { height: 6px; border-radius: 6px; background: rgba(242,245,247,.1); position: relative; overflow: hidden; }
.scan__bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--accent)); animation: scanbar 1.1s var(--ease) both; }
@keyframes scanbar { from { width: 0; } }
.scan__bar b { font-weight: 500; color: var(--ink); text-align: right; }
.scan__why { font-size: .95em; }
.scan .label { margin-bottom: -6px; }
.scan__fixes { margin: 0; padding-left: 22px; display: grid; gap: 6px; color: var(--ink); }
.scan__lock { position: relative; display: grid; gap: 10px; }
.scan__lock.is-locked > :not(.scan__unlock) { filter: blur(6px); user-select: none; pointer-events: none; opacity: .7; }
.scan__unlock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; }
.scan__how { font-size: .95em; }
@media (max-width: 520px) { .scan { padding: 14px; } .scan__num { width: 76px; height: 76px; } .scan__num b { font-size: 28px; } .scan__bar { grid-template-columns: minmax(0, 8.5em) 1fr 2em; font-size: 13px; } }
.book-chat__frame { margin-top: 6px; border-radius: 14px; overflow: hidden; background: #fff; }
.book-chat__frame iframe { display: block; width: 100%; height: 720px; border: 0; }

/* ---------- Free tools ---------- */
.gate { margin-top: 22px; padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 16px; border-radius: 22px; }
.gate__t { margin: 0; font: 500 clamp(22px, 2.1vw, 28px)/1.15 var(--display); letter-spacing: -.025em; color: var(--ink); }
.gate__perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gate__perks li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 15.5px; }
.gate__perks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--cyan); font-weight: 600; text-shadow: 0 0 10px rgba(57,213,255,.6); }
.gate .tool__grid { gap: 12px; }
.gate label, .audit__lead label { display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.gate__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 4px; }
.gate__row .tool__hint { margin: 0; }
.tool__card input:not([type=radio]):not([type=checkbox]), .tool__card select { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(5,7,10,.55); color: var(--ink); font: 400 16px var(--body); }
.tool__card input:not([type=radio]):not([type=checkbox]):focus, .tool__card select:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(57,213,255,.12); }

.audit__sub { margin: 24px 0 10px; }
.tool__card select { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(5,7,10,.5); color: var(--ink); font: 400 16px var(--body); width: 100%; }
.audit .tool__submit { margin-top: 24px; }
.audit__bars div { grid-template-columns: 160px 1fr 36px; }
@media (max-width: 520px) { .audit__bars div { grid-template-columns: 1fr 36px; } .audit__bars div i { grid-column: 1 / -1; grid-row: 2; } }
.audit__ai { padding: 18px 20px; margin: 0 0 24px; } .audit__ai ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink-2); }
.audit__lead { margin-top: 28px; padding: 22px 24px; display: grid; gap: 12px; justify-items: start; } .audit__lead .tool__grid { width: 100%; }
.audit__lead-t { margin: 0; font: 500 clamp(20px, 2vw, 26px) var(--display); letter-spacing: -.02em; }

.tool__card { padding: clamp(22px, 3vw, 40px); margin-bottom: clamp(48px, 8vh, 80px); }
.tool__label { display: block; margin-bottom: 10px; font: 400 13px var(--mono); color: var(--mute); text-transform: uppercase; letter-spacing: .04em; }
.tool__row { display: flex; gap: 10px; flex-wrap: wrap; }
.tool__row input { flex: 1; min-width: 220px; }
.tool__card input[type=text], .tool__card input[type=number] { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(5,7,10,.5); color: var(--ink); font: 400 16px var(--body); width: 100%; }
.tool__card input:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(57,213,255,.12); }
.tool__hint { margin: 10px 0 0; font-size: 13px; color: var(--mute); }
.tool__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.tool__grid label { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.tool__out { margin-top: 28px; }
.tool__loading { color: var(--ink-2); } .tool__error { color: #ff9aa8; }
.tool__score { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; color: var(--ink-2); line-height: 1.3; }
.tool__score b { color: var(--ink); font-weight: 500; }
.tool__big { font: 500 clamp(64px, 8vw, 104px)/1 var(--display); letter-spacing: -.05em; }
.tool__url { margin: 0 0 18px; font: 400 13px var(--mono); color: var(--mute); word-break: break-all; }
.tool__bars { display: grid; gap: 10px; margin: 18px 0 26px; }
.tool__bars div { display: grid; grid-template-columns: 90px 1fr 36px; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }
.tool__bars i { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.tool__bars b { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--cyan)); box-shadow: 0 0 10px rgba(57,213,255,.6); }
.tool__bars em { font-style: normal; font-family: var(--mono); color: var(--ink); text-align: right; }
.tool__h { margin: 0 0 12px; font: 500 22px var(--display); letter-spacing: -.02em; }
.tool__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tool__list li { display: grid; gap: 4px; padding: 12px 14px 12px 38px; border-radius: 14px; background: rgba(5,7,10,.4); border: 1px solid var(--line); position: relative; font-size: 15px; }
.tool__list li::before { position: absolute; left: 14px; top: 12px; font-weight: 600; }
.tool__list li.is-pass::before { content: "✓"; color: #6ee7a8; } .tool__list li.is-warn::before { content: "!"; color: #ffb35c; } .tool__list li.is-fail::before { content: "×"; color: #ff8a9a; }
.tool__list b { font-weight: 500; color: var(--ink); } .tool__list span { color: var(--ink-2); font-size: 14px; } .tool__list a { color: var(--accent-2); }
.tool__all { margin-top: 16px; color: var(--ink-2); } .tool__all summary { cursor: pointer; margin-bottom: 10px; }
.tool__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.tool__stats div { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(5,7,10,.4); display: grid; gap: 6px; }
.tool__stats span { font-size: 13px; color: var(--mute); } .tool__stats b { font: 500 26px var(--display); letter-spacing: -.02em; color: var(--ink); }
.tool__stats .is-hot { border-color: rgba(57,213,255,.35); }
.tool__note { margin: 18px 0 0; color: var(--ink-2); max-width: 70ch; } .tool__note b { color: var(--ink); font-weight: 500; }
.tool__cta { margin-top: 26px; padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.tool__cta p { margin: 0; max-width: 52ch; color: var(--ink-2); }
.tool__quiz { display: grid; gap: 14px; }
.tool__q { border: 0; margin: 0; padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.tool__q legend { padding: 0; margin-bottom: 10px; font-size: 16px; color: var(--ink); } .tool__q legend span { display: block; font: 400 12px var(--mono); color: var(--cyan); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.tool__q .chip { position: relative; cursor: pointer; padding: 10px 18px; } .tool__q .chip input { position: absolute; opacity: 0; pointer-events: none; }
.tool__submit { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.tool__faq { margin-bottom: 20px; } .tool__faq .label { margin-bottom: 14px; }
.tool__faq .faq__item { margin-bottom: 10px; }

/* ---------- Focus / a11y ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
@media (prefers-reduced-motion: reduce) {
  .grain, .dot, .hero__scroll i { animation: none; }
  .js [data-reveal], .js [data-lines] .ln > span { opacity: 1; transform: none; }
  .statement__text .w { opacity: 1; }
}

/* ---------- round 2 tools ---------- */
.tool__q--multi .chip:has(input:checked) { background: #fff; color: #05070a; border-color: #fff; }
.tool__file { width: 100%; padding: 18px; border: 1px dashed var(--line-2); border-radius: 18px; background: rgba(255,255,255,.03); color: var(--ink-2); font: 400 15px var(--body); }
.tool__file::file-selector-button { margin-right: 14px; padding: 10px 18px; border: 0; border-radius: 999px; background: #fff; color: #05070a; font: 500 14px var(--body); cursor: pointer; }
.tool__form textarea { width: 100%; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 18px; background: rgba(255,255,255,.04); color: var(--ink); font: 400 16px/1.5 var(--body); resize: vertical; }
.tool__form select { width: 100%; }
.copyblock { position: relative; margin: 12px 0; padding: 20px 22px 52px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.03); color: var(--ink); font: 400 16px/1.6 var(--body); }
.copyblock .label { margin-bottom: 8px; }
.copyblock--doc { max-height: 560px; overflow: auto; padding-bottom: 22px; font-size: 15px; }
.copy { position: absolute; right: 14px; bottom: 12px; padding: 7px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink); font: 500 13px var(--body); cursor: pointer; }
.gated > .copy { position: static; margin: 0 0 8px; }
.copy:hover { background: #fff; color: #05070a; }
.rec { display: grid; gap: 6px; margin: 14px 0; } .rec > span { color: var(--ink-2); font-size: 14px; } .rec b { color: var(--ink); font-family: ui-monospace, Menlo, monospace; }
.rec .copyblock div { font-family: ui-monospace, Menlo, monospace; font-size: 14px; word-break: break-all; }
/* AI receptionist demo */
.demo { padding: 0; overflow: hidden; }
.demo__top { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.demo__top span:last-child { margin-left: auto; color: var(--ink-2); font-size: 13px; }
.demo__dot { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.15); }
.demo__thread { display: flex; flex-direction: column; gap: 10px; height: 360px; overflow-y: auto; padding: 20px; }
.demo__msg { max-width: 82%; padding: 12px 16px; border-radius: 18px; font: 400 15px/1.5 var(--body); white-space: pre-wrap; }
.demo__msg--ai { align-self: flex-start; background: rgba(255,255,255,.07); border-bottom-left-radius: 6px; }
.demo__msg--user { align-self: flex-end; background: var(--accent); color: #031016; border-bottom-right-radius: 6px; }
.demo__msg.is-typing { opacity: .6; }
.demo__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 12px; } .demo__chips .chip { padding: 8px 14px; font-size: 13px; cursor: pointer; background: none; }
.demo__form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.demo__form input { flex: 1; min-width: 0; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.04); color: var(--ink); font: 400 16px var(--body); }
[data-demo-gate] .gate { margin-top: 16px; }
/* head-to-head */
.vs { padding: 24px; }
.vs__head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px; margin-bottom: 18px; text-align: center; }
.vs__head span { display: block; color: var(--ink-2); font-size: 14px; word-break: break-all; } .vs__head em { color: var(--ink-2); font-style: normal; padding-bottom: 18px; }
.vs__row { display: grid; grid-template-columns: 1fr 1.4fr 1fr; padding: 10px 0; border-top: 1px solid var(--line); text-align: center; color: var(--ink-2); }
.vs__row b { color: var(--ink-2); font-weight: 500; } .vs__row b.is-win { color: var(--accent-2); }
/* names */
.names { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 12px 0; }
.name { padding: 20px; } .name b { display: block; font: 500 20px var(--display, var(--body)); color: var(--ink); } .name > span { display: block; margin: 6px 0 12px; color: var(--ink-2); font-size: 14px; }
.name p { display: flex; flex-wrap: wrap; gap: 6px; } .name em { padding: 4px 10px; border-radius: 999px; font: 500 12px var(--body); font-style: normal; border: 1px solid var(--line-2); color: var(--ink-2); }
.name em.is-available { border-color: #3ddc84; color: #3ddc84; } .name em.is-taken { text-decoration: line-through; opacity: .6; }
/* ad lines */
.adlines { display: grid; gap: 6px; margin: 10px 0; padding: 0; list-style: none; }
.adlines li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; }
.adlines em { flex: none; color: var(--ink-2); font-style: normal; font-size: 13px; } .adlines em.is-over { color: #ff8a8a; }
/* QR card */
.qrcard { max-width: 360px; margin: 8px auto 20px; padding: 32px 28px; border-radius: 26px; background: #fff; color: #0b1116; text-align: center; }
.qrcard__stars { color: #f5b301; font-size: 26px; letter-spacing: 4px; } .qrcard__msg { margin: 8px 0 18px; font: 600 20px/1.3 var(--body); }
.qrcard__code { display: flex; justify-content: center; } .qrcard__code img, .qrcard__code canvas { width: 220px; height: 220px; }
.qrcard__biz { margin-top: 16px; font: 700 18px var(--body); } .qrcard__hint { margin-top: 4px; font-size: 13px; color: #556; }
@media print { body.print-qr * { visibility: hidden !important; } body.print-qr #qrcard, body.print-qr #qrcard * { visibility: visible !important; } body.print-qr #qrcard { position: fixed; left: 50%; top: 40px; transform: translateX(-50%); } }
@media (max-width: 560px) {
  .demo__top { flex-wrap: wrap; row-gap: 2px; } .demo__top b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .demo__top span:last-child { margin-left: 19px; flex-basis: 100%; }
  .demo__thread { height: 340px; padding: 16px; } .demo__msg { max-width: 88%; }
  .demo__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 12px; } .demo__chips::-webkit-scrollbar { display: none; } .demo__chips .chip { flex: none; }
  .demo__form .btn { padding-inline: 20px; }
}

/* ---------- full-screen chat (home prompt box) ---------- */
html.chat-lock, html.chat-lock body { overflow: hidden; }
/* the chat sits on the site's own live 3D stage: hide the page, keep the stage + grain */
html.chat-lock body > *:not(.stage):not(.grain):not(.chat) { visibility: hidden; }
.chat { position: fixed; inset: 0; z-index: 1000; height: 100vh; height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr); background: radial-gradient(75% 85% at 50% 50%, rgba(4,7,10,.38), rgba(4,7,10,.12));
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.chat.is-on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), visibility 0s; }
.chat__bg { display: none; }
.chat.is-on .chat__bg { animation: chatbloom 1.8s var(--ease) .05s forwards; }
@keyframes chatbloom { 0% { opacity: 0; transform: scale(.55); filter: blur(10px); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; filter: none; } }
.chat__bg i { position: absolute; border-radius: 50%; filter: blur(80px); mix-blend-mode: screen; will-change: transform; }
.chat__bg i:nth-child(1) { width: 62vmax; height: 62vmax; left: -18vmax; top: -22vmax; background: radial-gradient(circle, rgba(57,213,255,.42), transparent 62%); animation: chatd1 19s ease-in-out infinite alternate; }
.chat__bg i:nth-child(2) { width: 58vmax; height: 58vmax; right: -20vmax; bottom: -24vmax; background: radial-gradient(circle, rgba(18,135,168,.6), transparent 62%); animation: chatd2 23s ease-in-out infinite alternate; }
.chat__bg i:nth-child(3) { width: 34vmax; height: 34vmax; left: 38%; top: 30%; background: radial-gradient(circle, rgba(191,247,255,.16), transparent 65%); animation: chatd3 16s ease-in-out infinite alternate; }
.chat__bg i:nth-child(4) { width: 46vmax; height: 46vmax; right: 6%; top: -18vmax; background: radial-gradient(circle, rgba(76,92,255,.24), transparent 62%); animation: chatd4 27s ease-in-out infinite alternate; }
@keyframes chatd1 { to { transform: translate(22vw, 16vh) scale(1.15); } }
@keyframes chatd2 { to { transform: translate(-18vw, -14vh) scale(1.2); } }
@keyframes chatd3 { 0% { transform: translate(-10vw, 6vh) scale(.9); } 100% { transform: translate(12vw, -10vh) scale(1.25); } }
@keyframes chatd4 { to { transform: translate(-26vw, 22vh) scale(.85); } }
.chat__top { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 14px clamp(16px, 3vw, 32px); }
.chat__brand .brand__logo { width: 92px; height: auto; display: block; }
.chat__tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 auto; font: 400 13px var(--mono); color: var(--ink-2); }
.chat__tag i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.15); }
.chat__x { display: grid; place-items: center; padding: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(5,7,10,.4); color: var(--ink); cursor: pointer; backdrop-filter: blur(8px); transition: background .3s; }
.chat__x svg { width: 18px; height: 18px; display: block; }
.chat__x:hover { background: rgba(242,245,247,.12); }
.chat__stage::before { content: ""; position: absolute; inset: 0 -8%; z-index: -1; pointer-events: none; background: radial-gradient(60% 70% at 50% 45%, rgba(4,7,10,.45), transparent 75%); }
.chat__stage { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 0; width: min(100% - 32px, 780px); margin: 0 auto;
  padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.chat .ask { width: 100%; margin: 0; flex: 1; min-height: 0; display: flex; flex-direction: column; opacity: 1; transform: none; }
.chat .ask__chips { display: none; }
.chat .ask__panel { order: 1; flex: 1; min-height: 0; max-height: none; margin: 0; padding: 20px 4px 24px; overflow-y: auto; overscroll-behavior: contain;
  background: none; border: 0; box-shadow: none; border-radius: 0; scrollbar-width: thin; scrollbar-color: rgba(242,245,247,.15) transparent;
  -webkit-mask-image: linear-gradient(transparent, #000 28px); mask-image: linear-gradient(transparent, #000 28px); }
.chat .ask__panel::before { display: none; }
.chat .ask__form { order: 2; flex: none; background: rgba(10,16,22,.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.chat .ask__msg { font-size: 17px; animation: chatmsg .55s var(--ease) both; }
.chat .ask__msg--ai { color: var(--ink); }
.chat .ask__msg--user { background: rgba(57,213,255,.16); border: 1px solid rgba(57,213,255,.25); }
.chat .ask__send, .chat .ask__lead { border-top-color: rgba(242,245,247,.12); }
.chat .ask__lead { padding: 18px; border: 1px solid var(--line-2); border-radius: 20px; background: rgba(10,16,22,.72); backdrop-filter: blur(18px); }
@keyframes chatmsg { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 620px) { .chat__tag { font-size: 12px; } .chat__brand .brand__logo { width: 76px; } .chat .ask__msg { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .chat__bg i { animation: none; } .chat.is-on .chat__bg { animation: none; opacity: 1; transform: none; } }
/* buttons inside chat answers keep their own colours (not the link style) */
.ask__msg a.btn { text-decoration: none; }
.ask__msg a.btn--light { color: #05070a; }
.ask__msg a.btn--ghost { color: var(--ink); }

/* ---------- phone spacing & placement (QC, Nov 2026) ---------- */
/* sticky heads go static under 960px: keep their light line under the heading, not at the section's bottom */
@media (max-width: 960px) { .services__grid .sec-head, .faq__grid .sec-head { position: relative; } }
@media (max-width: 760px) {
  /* header: a frosted bar once scrolled, so text never runs under the logo */
  .top { padding: 14px var(--gut); }
  .top.is-scrolled { background: rgba(5,7,10,.84); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 1px 0 rgba(242,245,247,.07); }
  .brand__logo { height: 48px; }
  /* one even rhythm between sections */
  .statement { padding: 72px 0; }
  .stats { padding-bottom: 64px; }
  .work { padding: 64px 0; }
  .kinetic { padding: 40px 0; }
  .services, .process, .contact { padding: 64px 0; }
  .faq, .notes { padding-top: 64px; }
  .foot { padding-top: 72px; }
  .sec-head { margin-bottom: 36px; }
  .clients { margin-top: 64px; }
  .past { margin-top: 56px; }
  .foot__mark { margin-top: 48px; }
  .post { padding-top: 112px; padding-bottom: 56px; }
  .post__more, .book { margin-top: 56px; }
  .hero__foot { margin-top: 28px; }
}
@media (max-width: 560px) {
  /* services: numeral sits above the title so the text gets the full width */
  .svc__row, .services__grid .svc__row { grid-template-columns: 1fr; grid-template-areas: "n" "b"; gap: 14px; padding: 26px 22px; }
  .services__grid .svc__n { font-size: 44px; }
  .services__grid .svc__t { font-size: 28px; }
  .process .step { gap: 14px; padding: 26px 22px; }
  .process .step h3 { font-size: 30px; }
  .process .step p { font-size: 16px; }
}

/* ---------- Website builder: the site assembles in a browser frame inside the chat ---------- */
.chat__stage { transition: width .6s var(--ease); }
.chat__stage.has-site { width: min(100% - 32px, 1120px); }
.chat__stage.has-site .ask__thread { grid-template-columns: minmax(0, 1fr) minmax(0, 780px) minmax(0, 1fr); }
.chat__stage.has-site .ask__thread > * { grid-column: 2; }
.chat__stage.has-site .ask__thread > .site { grid-column: 1 / -1; }
.chat__stage.has-site .ask__form { width: min(100%, 780px); align-self: center; }
.chat__stage.has-site .ask__send, .chat__stage.has-site .ask__lead { width: min(100%, 780px); margin-inline: auto; }
.site { display: grid; border-radius: 16px; border: 1px solid rgba(191,247,255,.24); background: #0b1116; overflow: hidden;
  box-shadow: 0 50px 140px -50px rgba(57,213,255,.55), 0 0 0 1px rgba(5,7,10,.6); }
.site__bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.03); }
.site__dots { display: flex; gap: 6px; } .site__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(242,245,247,.2); }
.site__url { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 7px 14px; border-radius: 999px; background: rgba(5,7,10,.6);
  border: 1px solid var(--line); font: 400 12.5px var(--mono); color: var(--ink-2); }
.site__url span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site__url b { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.site[data-state="ready"] .site__url b { background: #3ddc84; }
.site__dev { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); }
.site__dev button { border: 0; background: transparent; color: var(--ink-2); font: 500 12.5px var(--body); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.site__dev button[aria-pressed="true"] { background: var(--ink); color: #05070a; }
.site__view { position: relative; height: clamp(300px, calc(100vh - 400px), 680px); height: clamp(300px, calc(100dvh - 400px), 680px); overflow: hidden; background: #07090d; }
.site__view iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: #07090d; opacity: 0; transition: opacity .9s var(--ease); }
.site[data-state="ready"] iframe { opacity: 1; }
.site[data-state="updating"] iframe { opacity: .4; }
.site__skel { position: absolute; inset: 0; transition: opacity .6s var(--ease); }
.site[data-state="ready"] .site__skel, .site[data-state="updating"] .site__skel { opacity: 0; pointer-events: none; }
.site[data-device="phone"] .site__skel { left: 50%; width: min(390px, 100%); margin-left: max(-195px, -50%); }
.site__skel i { position: absolute; border-radius: 10px; opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease);
  background: linear-gradient(100deg, rgba(191,247,255,.07) 30%, rgba(191,247,255,.22) 50%, rgba(191,247,255,.07) 70%); background-size: 220% 100%; animation: siteskel 1.5s linear infinite; }
.site__skel .k1 { top: 5%; left: 5%; right: 5%; height: 5%; opacity: 1; transform: none; }
.site__skel .k2 { top: 18%; left: 5%; width: 38%; height: 9%; } .site__skel .k3 { top: 29.5%; left: 5%; width: 29%; height: 9%; }
.site__skel .k4 { top: 43%; left: 5%; width: 34%; height: 3.6%; } .site__skel .k5 { top: 51%; left: 5%; width: 15%; height: 8%; border-radius: 999px; background-color: rgba(57,213,255,.25); }
.site__skel .k6 { top: 16%; right: 5%; width: 38%; height: 50%; border-radius: 16px; }
.site__skel .k7, .site__skel .k8, .site__skel .k9 { top: 74%; height: 21%; width: 28.6%; border-radius: 14px; }
.site__skel .k7 { left: 5%; } .site__skel .k8 { left: 35.7%; } .site__skel .k9 { left: 66.4%; }
.site:not([data-step="0"]) :is(.k2, .k3, .k4, .k5),
.site:not([data-step="0"]):not([data-step="1"]) .k6,
.site:not([data-step="0"]):not([data-step="1"]):not([data-step="2"]) :is(.k7, .k8, .k9) { opacity: 1; transform: none; }
.site .k3 { transition-delay: .12s; } .site .k4 { transition-delay: .24s; } .site .k5 { transition-delay: .36s; } .site .k8 { transition-delay: .12s; } .site .k9 { transition-delay: .24s; }
@keyframes siteskel { to { background-position: -220% 0; } }
.site .site__status { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); font: 400 13px var(--mono); color: var(--ink-2); }
.site__status i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: sitepulse 1.2s ease-out infinite; }
.site[data-state="ready"] .site__status i { animation: none; background: #3ddc84; }
@keyframes sitepulse { from { box-shadow: 0 0 0 0 rgba(57,213,255,.7); } to { box-shadow: 0 0 0 9px rgba(57,213,255,0); } }
@media (max-width: 620px) { .site__view { height: clamp(280px, calc(100vh - 450px), 680px); height: clamp(280px, calc(100dvh - 450px), 680px); } .site__dots { display: none; } .site__bar { gap: 8px; padding: 8px 10px; } .site__dev button { padding: 6px 10px; } }
@media (prefers-reduced-motion: reduce) { .site__skel i, .site__status i { animation: none; } }
/* once a site is on screen, the details form and the saved card stay compact so the site stays in view */
.chat__stage.has-site .ask__lead { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 12px; padding: 14px 16px; margin-top: 12px; }
.chat__stage.has-site .ask__lead-t, .chat__stage.has-site .ask__err { grid-column: 1 / -1; }
.chat__stage.has-site .ask__lead-t { font-size: 16px; }
.chat__stage.has-site .ask__fields label { gap: 4px; font-size: 12px; } .chat__stage.has-site .ask__fields input { padding: 10px 12px; }
.chat__stage.has-site .ask__lead .btn { padding-block: 12px; white-space: nowrap; }
.chat__stage.has-site .ask__built { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 20px; padding: 14px 16px; }
.chat__stage.has-site .ask__built > * { grid-column: 1; } .chat__stage.has-site .ask__built .ask__built-row { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
.chat__stage.has-site .ask__built-t { font-size: 19px; } .chat__stage.has-site .ask__built p { font-size: 14.5px; }
.chat__stage.has-site .ask__panel { padding-top: 8px; }
@media (max-width: 760px) {
  .chat__stage.has-site .ask__lead { grid-template-columns: 1fr 1fr; }
  .chat__stage.has-site .ask__fields { display: contents; } .chat__stage.has-site .ask__fields label:nth-child(3) { grid-column: 1; }
  .chat__stage.has-site .ask__lead .btn { grid-column: 2; justify-self: stretch; justify-content: center; }
  .chat__stage.has-site .ask__built { grid-template-columns: 1fr; } .chat__stage.has-site .ask__built .ask__built-row { grid-column: 1; grid-row: auto; margin-top: 6px; }
}

/* ---------- Website builder: pick a stock photo or video (or make one with AI) ---------- */
.pick { display: grid; gap: 12px; padding: 16px; border-radius: 16px; border: 1px solid rgba(57,213,255,.3); background: rgba(10,16,22,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pick__t { margin: 0; font: 500 16px/1.4 var(--body); color: var(--ink); }
.pick__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pick__i { position: relative; padding: 0; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #05070a; cursor: pointer; aspect-ratio: 16 / 9; transition: border-color .25s, transform .25s; }
.pick__i img, .pick__i video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pick__i video { opacity: 0; transition: opacity .3s; } .pick__i:hover video { opacity: 1; }
.pick__i span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font: 400 11.5px/1.3 var(--body); color: #fff; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.75)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick__i:hover, .pick__i.is-on { border-color: var(--cyan); transform: translateY(-2px); }
.pick__i:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.pick.is-busy .pick__i { opacity: .45; pointer-events: none; } .pick.is-busy .pick__i.is-on { opacity: 1; }
.pick__note { margin: 0; font: 400 12.5px var(--mono); color: var(--mute); }
.pick__row { display: flex; flex-wrap: wrap; gap: 10px; } .pick__ai i { font-style: normal; }
.pick__err { margin: 0; color: #ff9aa8; font-size: 14px; }
@media (max-width: 620px) { .pick__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.site__up { flex: none; border: 1px solid rgba(57,213,255,.45); background: rgba(57,213,255,.1); color: var(--ice); font: 500 12.5px var(--body); padding: 6px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.site__up:hover { background: rgba(57,213,255,.2); }
@media (max-width: 620px) { .site__up { padding: 6px 9px; font-size: 12px; } .site__url { display: none; } }

/* round 3 tools (17 Nov 2026): cost lines, email signature preview */
.costlines { display: grid; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.costlines div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.costlines div:last-child { border-bottom: 0; }
.costlines b { font: 500 15px var(--mono); color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.costlines .is-total { background: rgba(57,213,255,.07); color: var(--ink); } .costlines .is-total b { color: var(--ice, #bff7ff); }
@media (max-width: 560px) { .costlines div { flex-direction: column; gap: 2px; } }
.tool__card input.sig__color { padding: 6px; height: 52px; cursor: pointer; }
.sig__frame { border-radius: 16px; background: #eef1f4; padding: clamp(12px, 3vw, 24px); overflow-x: auto; }
.sig__mail { background: #fff; color: #1f2328; border-radius: 12px; padding: 22px 24px; min-width: 320px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.sig__mail > p { margin: 0 0 18px; font: 14px Arial, Helvetica, sans-serif; color: #1f2328; }
.sig a { pointer-events: none; }
/* showroom + before/after pages (17 Nov 2026) */
.show-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0 0 28px; } .show-cta .tool__hint { margin: 0; max-width: 46ch; }
.show-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; margin: 0 0 48px; }
.show-card { display: grid; overflow: hidden; padding: 0; color: inherit; text-decoration: none; transition: border-color .25s, transform .25s; }
.show-card:hover { border-color: rgba(57,213,255,.45); transform: translateY(-2px); }
.show-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.show-card__meta { display: grid; gap: 4px; padding: 16px 18px 18px; } .show-card__meta .label { margin: 0; }
.show-card__meta b { font: 500 20px var(--display); letter-spacing: -.02em; color: var(--ink); }
.show-card__more { font-size: 14px; color: var(--cyan); }
.ba { padding: clamp(20px, 3vw, 32px); margin: 0 0 48px; display: grid; gap: 22px; }
.ba__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; } .ba__head .label { margin: 0 0 6px; }
.ba__t { margin: 0; font: 500 clamp(26px, 3vw, 36px)/1.1 var(--display); letter-spacing: -.03em; }
.ba__status { font: 400 12px var(--mono); padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(57,213,255,.4); color: var(--ice); }
.ba__pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.ba__pair figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.ba__pair img { display: block; width: 100%; height: auto; }
.ba__pair figcaption { position: absolute; left: 12px; top: 12px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; padding: 6px 10px; border-radius: 999px; background: rgba(5,7,10,.78); color: var(--ink-2); }
.ba__pair figcaption.is-after { background: var(--cyan); color: #05070a; }
.ba__list { margin: 0; } .ba .tool__hint { margin: 0; } .ba .tool__hint a { color: var(--cyan); }
.work__more { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 28px 0 0; }
.work__more a { color: var(--ink-2); font-size: 15px; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: color .2s, border-color .2s; }
.work__more a:hover { color: var(--ink); border-color: var(--cyan); }
