/* ═══════════════════════════════════════════════════════════════
   Wevia — shared stylesheet, every page
   near-black green ground · glowing ring · heavy sans + italic serif
   accents · mono kickers · every surface sits on the three.js world
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg: #06090f;
  --bg-2: #0a0f18;
  --panel: rgba(12, 17, 28, 0.90);
  --panel-solid: #0d121c;
  --line: rgba(170, 190, 230, 0.10);
  --line-2: rgba(170, 190, 230, 0.20);
  --ink: #eef1f7;
  --ink-2: rgba(238, 241, 247, 0.64);
  --ink-3: rgba(238, 241, 247, 0.40);
  --acc: #2ee6c5;
  --acc-deep: #159e87;
  --warm: #f5b453;
  --glow: rgba(46, 230, 197, 0.30);
  --r: 22px;
  --ui: "Satoshi", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  --display: "Clash Display", "Satoshi", -apple-system, sans-serif;
  --serif: "Sentient", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.15,1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
.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; }
html { scroll-behavior: auto; color-scheme: dark; }
html.menu-open { overflow: hidden; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--ui);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
  font-feature-settings: "kern" 1, "liga" 1, "case" 1;
  text-rendering: optimizeLegibility;
}
/* deep ground: a vertical wash + faint radial light, under the world */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(46,230,197,0.10), transparent 70%),
    radial-gradient(50% 40% at 85% 70%, rgba(245,180,83,0.05), transparent 70%),
    linear-gradient(180deg, #0a0f1a 0%, var(--bg) 40%, #05080e 100%);
}
/* fine grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--acc); color: #050912; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
/* landing anywhere on a hash (same page or cross-page) clears the fixed nav */
[id] { scroll-margin-top: 96px; }

#world { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; display: block; opacity: 0; transition: opacity 1.6s ease; }
#world.on { opacity: 1; }

/* ── type ── */
.kicker { font-family: var(--ui); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink-2); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: "✳"; color: var(--acc); font-size: 1em; line-height: 1; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.8vw, 68px); letter-spacing: -0.018em; line-height: 1.04; }
h2 em { color: var(--warm); }
.lead { color: var(--ink-2); font-size: clamp(15.5px, 1.2vw, 18px); font-weight: 500; line-height: 1.68; max-width: 48ch; }
.sec { position: relative; padding: 13vh 5vw; max-width: 1280px; margin: 0 auto; }
.sec-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 5vw; align-items: end; margin-bottom: 56px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; gap: 22px; } }
.hair { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); max-width: 1280px; margin: 0 auto; }

/* ── page header (Services / Work / Pricing / Contact intro) ── */
.page-head { position: relative; padding: 150px 5vw 8vh; max-width: 1280px; margin: 0 auto; text-align: center; }
.page-head .kicker { justify-content: center; }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6.4vw, 88px); letter-spacing: -0.02em; line-height: 0.98; max-width: 16ch; margin: 0 auto; }
.page-head h1 em { color: var(--warm); }
.page-head p { margin: 22px auto 0; max-width: 56ch; }
@media (max-width: 700px) { .page-head { padding: 130px 6vw 6vh; } }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 10px;
  font-size: 14.5px; font-weight: 700; letter-spacing: -0.005em; white-space: nowrap; text-decoration: none;
  background: var(--ink); color: #050912; border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform 0.3s var(--ease), background 0.25s, box-shadow 0.3s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 18px 40px -20px rgba(46,230,197,0.6); }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.08s; }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn.ghost { background: rgba(255,255,255,0.03); color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: rgba(255,255,255,0.07); border-color: rgba(46,230,197,0.5); box-shadow: none; }
.btn.acc { background: var(--acc); color: #050912; }
.btn.acc:hover { background: #5bf0d4; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--acc); font-weight: 700; font-size: 14.5px; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.link:hover { border-bottom-color: var(--acc); }

/* ── nav ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; padding: 18px 3vw;
  background: linear-gradient(180deg, rgba(6,9,15,0.85), rgba(6,9,15,0));
  transition: background 0.3s, padding 0.3s, border-color 0.3s, transform .45s var(--ease); border-bottom: 1px solid transparent;
}
#nav.stuck { background: rgba(6,9,15,0.78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); padding: 12px 3vw; }
#nav.hide { transform: translateY(-110%); }
.logo { display: block; line-height: 0; }
.logo img { width: 56px; height: auto; }
#nav .links { display: flex; gap: 32px; }
#nav .links a { color: var(--ink-2); text-decoration: none; font-size: 13.5px; font-weight: 500; letter-spacing: 0.01em; transition: color .2s; }
#nav .links a:hover, #nav .links a.on { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; }
#nav .btn { padding: 10px 14px 10px 18px; font-size: 13.5px; }
#nav .btn .arr { width: 24px; height: 24px; font-size: 12px; margin: -6px -6px -6px 4px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { display: block; width: 17px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
#mobile-menu { position: fixed; inset: 0; z-index: 80; background: rgba(6,9,15,0.96); display: flex; flex-direction: column; justify-content: center; padding: 0 8vw; gap: 4px; opacity: 0; pointer-events: none; transition: opacity .3s; }
#mobile-menu.open { opacity: 1; pointer-events: auto; }
#mobile-menu a { color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 34px; font-weight: 700; padding: 12px 0; border-bottom: 1px solid var(--line); letter-spacing: -0.02em; }
#mobile-menu a.on { color: var(--acc); }
@media (max-width: 900px) { #nav .links { display: none; } .burger { display: flex; } #nav .btn.desk { display: none; } }
@media (min-width: 901px) { #mobile-menu { display: none; } }
#progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 95; background: linear-gradient(90deg, var(--acc), var(--warm)); }

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

/* ═══ loader — owns first paint, exits as a curtain ═══ */
#loader { position: fixed; inset: 0; z-index: 300; background: var(--bg); display: flex; align-items: center; justify-content: center;
  transition: transform 1s cubic-bezier(.76,0,.24,1); will-change: transform; }
#loader::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 40% at 50% 46%, rgba(46,230,197,0.16), transparent 70%); }
#loader::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(46,230,197,.5), rgba(245,180,83,.5), transparent); }
#loader .l-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 30px; transition: opacity .4s ease, transform .5s var(--ease); }
#loader .l-logo { width: 92px; height: auto; opacity: 0; animation: l-in .9s var(--ease) .05s forwards, l-breathe 3.2s ease-in-out .9s infinite; will-change: transform; }
@keyframes l-in { to { opacity: 1; } }
@keyframes l-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.035); } }
#loader .l-line { width: 180px; height: 1px; background: rgba(170,190,230,.14); position: relative; overflow: hidden; }
#loader .l-line i { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--acc), var(--warm)); transition: transform .25s ease-out; will-change: transform; }
#loader .l-meta { display: flex; gap: 18px; align-items: baseline; font-family: var(--ui); font-weight: 700; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
#loader .l-meta b { font-weight: 500; color: var(--ink); font-size: 13px; letter-spacing: .1em; font-variant-numeric: tabular-nums; min-width: 3.2ch; text-align: right; }
#loader .l-meta b::after { content: "%"; color: var(--acc); margin-left: 2px; }
#loader .l-tag { position: absolute; bottom: 4vh; left: 0; right: 0; text-align: center; font-family: var(--ui); font-weight: 600; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
#loader.done { transform: translateY(-100%); }
#loader.done .l-inner { opacity: 0; transform: translateY(-14px); }
#loader.off { display: none; }
html.loading { overflow: hidden; }

/* ═══ premium interaction layer ═══ */
.hero-in { display: flex; flex-direction: column; align-items: center; will-change: transform, opacity; }
#verbs .w { will-change: transform, opacity, filter; }
.ring .orb-wrap { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .25s ease-out; will-change: transform; }
.ring .orb-logo { animation: none; }
.ring .orb-wrap .orb-logo { transform: translate(-50%, -50%) translateZ(40px); }

/* stack ticker */
.ticker { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 16px 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-track { display: flex; gap: 0; width: max-content; animation: ticker 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { font-family: var(--ui); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 0 34px; position: relative; white-space: nowrap; transition: color .2s; }
.ticker-track span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--warm); transform: translateY(-50%); opacity: .7; }
.ticker-track span:hover { color: var(--ink); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* custom cursor */
#cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; opacity: 0; transition: opacity .3s; }
html.cur #cursor { opacity: 1; }
#cursor .dot { position: absolute; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--acc); }
#cursor .cring { position: absolute; left: 0; top: 0; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 1px solid rgba(46,230,197,.55);
  transition: transform .35s var(--ease), background .3s, border-color .3s; }
#cursor .lbl { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6); font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: #050912; opacity: 0; transition: opacity .25s, transform .35s var(--ease); white-space: nowrap; }
#cursor.hover .cring { transform: scale(1.6); background: rgba(46,230,197,.12); }
#cursor.view .cring { transform: scale(2.3); background: var(--acc); border-color: var(--acc); }
#cursor.view .lbl { opacity: 1; transform: translate(-50%, -50%) scale(1); }
#cursor.view .dot { opacity: 0; }
#cursor.down .cring { transform: scale(.85); }
#cursor.text { opacity: 0; }
html.cur, html.cur a, html.cur button, html.cur summary, html.cur .opt { cursor: none; }
html.cur input, html.cur textarea { cursor: text; }

/* spotlight on panels */
.panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(46,230,197,.10), transparent 60%); }
.panel:hover::after { opacity: 1; }
.panel > * { position: relative; z-index: 1; }

/* shimmer on the accent button */
.btn.acc { position: relative; overflow: hidden; }
.btn.acc::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-18deg); transition: left .7s var(--ease); }
.btn.acc:hover::after { left: 120%; }

/* faq answers animate */
.faq details p { overflow: hidden; }

/* live tick on the id card */
.idcard .row b.tick { color: var(--acc); transition: color .6s; }

/* scroll cue fades once you move */
#scroll-cue { transition: opacity .5s; }
html.moved #scroll-cue { opacity: 0; }

/* ═══ hero ═══ */
#hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 5vw 60px; overflow: hidden; }
#hero .top-light { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120vw; height: 42vh; pointer-events: none;
  background: radial-gradient(50% 100% at 50% 0%, rgba(46,230,197,0.22), transparent 70%); }
.ring { position: relative; width: clamp(280px, 36vw, 480px); aspect-ratio: 1; margin-bottom: 32px; }
.ring.big { width: clamp(320px, 44vw, 620px); margin-bottom: 44px; }
@media (max-height: 820px) and (min-width: 700px) { .ring { width: clamp(220px, 26vw, 320px); margin-bottom: 22px; } .ring.big { width: clamp(260px, 34vw, 440px); margin-bottom: 30px; } #hero h1 { font-size: clamp(40px, 6vw, 84px); } #hero p { margin-top: 18px; } .hero-cta { margin-top: 26px; } }
@media (max-width: 420px) { .ring { width: clamp(220px, 62vw, 300px); margin-bottom: 26px; } .ring.big { width: clamp(240px, 78vw, 340px); margin-bottom: 34px; } }
.ring::before, .ring::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 210deg, rgba(106,168,255,0.08) 0 30%, rgba(46,230,197,0.35) 46%, #dffff7 58%, #ffffff 62%, rgba(245,180,83,0.85) 68%, rgba(245,180,83,0.0) 82%, rgba(106,168,255,0.08) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.2px));
  animation: spin 26s linear infinite;
}
.ring::after { filter: blur(14px); opacity: 0.9; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 22px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 22px), #000 calc(100% - 4px)); }
.ring #orb { position: absolute; inset: -22%; width: 144%; height: 144%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.ring.live #orb { opacity: 1; }
.ring.live::before, .ring.live::after { opacity: 0; transition: opacity .8s; animation-play-state: paused; visibility: hidden; }
.ring .orb-logo { position: absolute; left: 50%; top: 50%; width: 42%; transform: translate(-50%, -50%); z-index: 2;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,0.55)); animation: orb-breathe 5s ease-in-out infinite; }
@keyframes orb-breathe { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.04); } }
.ring .halo { position: absolute; inset: -20%; border-radius: 50%; background: radial-gradient(circle, rgba(46,230,197,0.16), transparent 62%); filter: blur(20px); }
@keyframes spin { to { transform: rotate(360deg); } }
#hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 8vw, 120px); letter-spacing: -0.022em; line-height: 0.94; max-width: 20ch; }
#hero h1 em { font-size: 1em; color: var(--warm); }
#hero h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
#hero h1 .ln > span { display: block; transform: translateY(112%); animation: ln-up 1s var(--ease) forwards; }
#hero h1 .ln:nth-child(2) > span { animation-delay: .08s; }
@keyframes ln-up { to { transform: none; } }
.rise { opacity: 0; transform: translateY(16px); animation: rise .9s var(--ease) forwards; }
.rise.r1 { animation-delay: .05s } .rise.r2 { animation-delay: .45s } .rise.r3 { animation-delay: .6s } .rise.r4 { animation-delay: .75s }
@keyframes rise { to { opacity: 1; transform: none; } }
#hero .kicker { display: block; justify-content: center; margin-bottom: 24px; text-align: center; max-width: none; line-height: 1.55; color: var(--ink-2); font-size: 15px; letter-spacing: 0; }
#hero .kicker::before { display: none; }
#hero .kicker b { color: var(--warm); font-weight: 600; }
#hero p { margin-top: 26px; color: var(--ink-2); font-weight: 400; font-size: clamp(16px, 1.25vw, 18px); max-width: 44ch; line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.hero-cta .btn { padding: 16px 24px 16px 30px; font-size: 15px; transition: transform 0.35s var(--ease), background .25s, box-shadow .3s; }
#scroll-cue { position: absolute; bottom: 4vh; left: 50%; transform: translateX(-50%); font-family: var(--ui); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; color: var(--ink-3); display: flex; flex-direction: column; align-items: center; gap: 10px; }
#scroll-cue::after { content: ""; width: 1px; height: 28px; background: linear-gradient(to bottom, var(--acc), transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(8px); opacity: .3; } }

/* ═══ verbs — pinned word stack ═══ */
#verbs { height: 340vh; position: relative; }
#verbs .pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
#verbs .stack { position: relative; width: 100%; height: 1.2em; font-family: var(--display); font-weight: 700; font-size: clamp(64px, 12.5vw, 180px); letter-spacing: -0.025em; line-height: 1; text-align: center; }
#verbs .w { position: absolute; left: 0; right: 0; top: 0; opacity: 0; transform: translateY(40%) scale(.96); filter: blur(6px); transition: opacity .45s var(--ease), transform .55s var(--ease), filter .45s; color: var(--ink); }
#verbs .w.on { opacity: 1; transform: none; filter: none; }
#verbs .w.gone { opacity: 0; transform: translateY(-40%) scale(1.02); filter: blur(6px); }
#verbs .w.final { color: var(--acc); }
#verbs .w.final em { color: var(--warm); font-size: 1em; }
#verbs .bar { position: absolute; left: 50%; bottom: 12vh; transform: translateX(-50%); width: 120px; height: 1px; background: var(--line-2); }
#verbs .bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--acc); }
#verbs .ring-bg { position: absolute; inset: 0; background: radial-gradient(40% 40% at 50% 50%, rgba(46,230,197,0.10), transparent 70%); pointer-events: none; }

/* ═══ surfaces ═══ */
.panel { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(46,230,197,0.45), transparent); }
.panel.lit { box-shadow: 0 0 0 1px rgba(46,230,197,0.18), 0 40px 90px -50px var(--glow); }
.tag { font-family: var(--ui); font-weight: 600; font-size: 12px; letter-spacing: .04em; color: var(--ink-2); padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 6px; }

/* ═══ services ═══ */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.svc .panel { padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; min-height: 560px; }
.icn { width: 42px; height: 42px; border-radius: 12px; background: rgba(46,230,197,.08); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--acc); flex: none; }
.icn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc .head-row { display: flex; align-items: center; gap: 14px; }
.svc-small .icn { width: 36px; height: 36px; border-radius: 10px; }
.svc-small .icn svg { width: 18px; height: 18px; }
.svc .num, .svc-small .num { font-family: var(--ui); font-weight: 700; font-size: 12.5px; color: var(--acc); letter-spacing: .1em; }
.svc h3 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -0.028em; line-height: 1.06; }
.svc h3 em { color: var(--warm); font-size: 1.08em; }
.svc p { color: var(--ink-2); font-size: 15px; line-height: 1.6; font-weight: 400; max-width: 44ch; }
.svc .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc .vis { margin-top: auto; position: relative; padding-bottom: 8px; }
/* browser mock */
.browser { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #0b1019; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); transform: perspective(1200px) rotateX(6deg) rotateY(-6deg); transform-origin: bottom center; transition: transform .6s var(--ease); }
.panel:hover .browser { transform: perspective(1200px) rotateX(0) rotateY(0); }
.browser .bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #0f1521; }
.browser .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.browser .bar span { margin-left: 10px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.browser img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.vitals { position: absolute; right: -6px; bottom: -8px; display: flex; gap: 6px; }
.vital { background: #0f1521; border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 11px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.vital b { display: block; color: var(--acc); font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.svc-small { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.svc-small .panel { padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.svc-small h3 { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.svc-small p { color: var(--ink-2); font-size: 14px; line-height: 1.6; font-weight: 400; }
@media (max-width: 950px) { .svc, .svc-small { grid-template-columns: 1fr; } .svc .panel { min-height: 0; } }

/* ── how we build ── */
.build-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 18px; }
.build-grid-2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.bcard { min-height: 264px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 22px; padding: 30px 24px 26px; text-align: center; }
.bcard h3 { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.015em; line-height: 1.3; max-width: 26ch; order: -1; }
.bcard.tall h3 { order: 0; margin-top: auto; }
.bcard-vis { flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; }
/* grid card */
.bcard-grid { display: grid; grid-template-columns: repeat(3, 40px); grid-template-rows: repeat(3, 40px); }
.bcard-grid i { display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); font-style: normal; color: var(--acc); }
.bcard-grid i.on { background: rgba(46,230,197,.08); border-color: rgba(46,230,197,.35); }
.bcard-grid i.on svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* merge card */
.bcard-merge svg { width: 108px; height: 64px; }
.bcard-merge circle { fill: none; stroke: var(--line-2); stroke-width: 1.4; }
.bcard-merge circle.b { stroke: rgba(46,230,197,.5); }
/* orbit card */
.bcard-orbit { position: relative; width: 120px; height: 120px; }
.bcard-orbit .o-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 14s linear infinite; }
.bcard-orbit .o-dot { position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.bcard-orbit .o-dot.b { top: auto; bottom: -3px; background: var(--warm); box-shadow: 0 0 10px var(--warm); animation-delay: -7s; }
.bcard-orbit .o-core { position: absolute; inset: 32px; border-radius: 14px; background: var(--panel-solid); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--acc); }
.bcard-orbit .o-core svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* code card */
.bcard-code { width: 100%; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #0b1019; text-align: left; }
.bcard-code .bar { display: flex; gap: 6px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.bcard-code .bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.bcard-code .bar span { margin-left: 8px; font-family: var(--mono); font-size: 10px; color: var(--ink-3); }
.bcard-code pre { padding: 14px 15px; font-family: var(--mono); font-size: 11px; line-height: 1.65; overflow: hidden; }
.bcard-code .kw { color: var(--warm); }
.bcard-code .st { color: var(--acc); }
.bcard-code .tg { color: var(--ink-2); }
/* tech belt */
.bcard-belt { position: relative; width: 100%; height: 140px; }
.bcard-belt svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.belt-chip { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; font-family: var(--display); font-weight: 700; font-size: 12px; color: #050912; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 14px 26px -14px rgba(0,0,0,.6); }
.belt-chip.on-dark { color: #eef1f7; }
/* touch card */
.bcard-touch { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.bcard-touch p { color: var(--ink-3); font-size: 12.5px; font-family: var(--mono); }
@media (max-width: 950px) { .build-grid, .build-grid-2 { grid-template-columns: 1fr; } }

/* chat demo (dark) */
.chat { border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; height: 400px; display: flex; flex-direction: column; background: #0b1019; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.chat-head .av { width: 34px; height: 34px; border-radius: 10px; flex: none; background: linear-gradient(135deg, var(--acc), var(--acc-deep)); color: #050912; font-family: var(--display); font-weight: 700; display: grid; place-items: center; }
.chat-head b { display: block; font-size: 13.5px; }
.chat-head i { display: flex; align-items: center; gap: 6px; font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); margin-top: 3px; }
.chat-head i s { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 3px rgba(46,230,197,.18); text-decoration: none; }
.chat-head .live { margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--acc); padding: 5px 9px; border-radius: 6px; border: 1px solid rgba(46,230,197,.35); display: flex; align-items: center; gap: 6px; }
.chat-head .live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--acc); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1 } 50% { opacity: .25 } }
.chat-body { flex: 1; padding: 16px 14px 8px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; transition: opacity .5s; }
.chat-body.bye { opacity: 0; }
.msg { max-width: 84%; padding: 10px 13px; border-radius: 14px; font-size: 13.2px; line-height: 1.45; font-weight: 500; transform-origin: bottom left; animation: msg-in .45s cubic-bezier(.2,.8,.2,1) both; }
.msg.in { align-self: flex-start; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.out { align-self: flex-end; background: linear-gradient(135deg, rgba(46,230,197,.22), rgba(27,157,129,.22)); border: 1px solid rgba(46,230,197,.28); border-bottom-right-radius: 4px; transform-origin: bottom right; }
.msg time { display: block; font-family: var(--mono); font-size: 9.5px; opacity: .5; margin-top: 4px; text-align: right; }
.msg.sys { align-self: center; max-width: 100%; background: rgba(46,230,197,.10); color: var(--acc); font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; border-radius: 6px; padding: 6px 12px; display: flex; gap: 8px; align-items: center; transform-origin: center; }
.msg.sys svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 13px; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 14px; border-bottom-left-radius: 4px; animation: msg-in .3s ease both; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); animation: dot 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s } .typing i:nth-child(3) { animation-delay: .3s }
@keyframes dot { 0%,100% { transform: translateY(0); opacity: .5 } 50% { transform: translateY(-4px); opacity: 1 } }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.96) } to { opacity: 1; transform: none } }
.chat-foot { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 16px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.chat-foot i { width: 28px; height: 28px; border-radius: 8px; background: var(--acc); color: #050912; display: grid; place-items: center; }
.chat-foot i svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ev-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ev { display: flex; align-items: center; gap: 8px; padding: 7px 11px 7px 8px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--ink-2); opacity: .35; transition: opacity .4s, border-color .4s, color .4s; }
.ev.on { opacity: 1; border-color: rgba(46,230,197,.45); color: var(--ink); }
.ev .ic { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: rgba(46,230,197,.12); color: var(--acc); }
.ev .ic svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ev small { display: none; }

/* ═══ system-as-a-service + ID card ═══ */
.saas { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 5vw; align-items: center; }
@media (max-width: 950px) { .saas { grid-template-columns: 1fr; gap: 48px; } }
.saas ul { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.saas li { display: flex; gap: 14px; color: var(--ink-2); font-size: 15px; line-height: 1.55; font-weight: 500; }
.saas li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); margin-top: 9px; box-shadow: 0 0 0 4px rgba(46,230,197,.14); }
.saas li b { color: var(--ink); font-weight: 700; }
.idcard { padding: 26px 26px 22px; font-family: var(--mono); }
.idcard .hd { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; letter-spacing: .2em; color: var(--ink-3); text-transform: uppercase; }
.idcard .hd span { color: var(--acc); border: 1px solid rgba(46,230,197,.4); padding: 4px 9px; border-radius: 5px; }
.idcard .who { display: flex; align-items: center; gap: 16px; margin: 22px 0 24px; }
.idcard .orb { width: 58px; height: 58px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #8ff3e0, var(--acc-deep) 60%, #0a3a44); box-shadow: 0 0 0 1px rgba(46,230,197,.35), 0 10px 30px -10px var(--glow); display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: #050912; font-size: 18px; }
.idcard .who b { display: block; font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.idcard .who i { font-style: normal; font-size: 12px; color: var(--ink-2); font-family: var(--ui); font-weight: 400; }
.idcard dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; font-size: 12.5px; }
.idcard dt { font-size: 10px; letter-spacing: .2em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 4px; }
.idcard dd { color: var(--ink); }
.idcard .sect { font-size: 10px; letter-spacing: .2em; color: var(--ink-3); text-transform: uppercase; margin: 22px 0 8px; }
.idcard .row { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-2); letter-spacing: .06em; }
.idcard .row b { color: var(--ink); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.idcard .ft { margin-top: 18px; display: flex; justify-content: space-between; font-size: 10px; color: var(--ink-3); letter-spacing: .1em; }

/* ═══ departments ═══ */
.depts { border-top: 1px solid var(--line-2); }
.depts details { border-bottom: 1px solid var(--line); }
.depts summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1.4fr 1fr auto; align-items: center; gap: 20px; padding: 22px 4px; }
.depts summary::-webkit-details-marker { display: none; }
.depts .d { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; transition: color .2s; }
.depts .a { font-family: var(--ui); font-weight: 700; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.depts .a::before { content: "AGENT · "; color: var(--ink-3); }
.depts .m { font-family: var(--display); font-size: clamp(22px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.03em; color: var(--warm); font-variant-numeric: tabular-nums; }
.depts details[open] .d, .depts summary:hover .d { color: var(--acc); }
.depts .body { padding: 0 4px 24px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.depts .body p { color: var(--ink-2); font-size: 15px; line-height: 1.65; font-weight: 500; max-width: 52ch; }
.flow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.flow span { padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--ink-2); position: relative; }
.flow span:not(:last-child)::after { content: "·"; position: absolute; right: -8px; color: var(--acc); }
.flow span:last-child { border-color: rgba(46,230,197,.5); color: var(--acc); }
.depts-cta { display: flex; gap: 22px; align-items: center; margin-top: 34px; flex-wrap: wrap; }
@media (max-width: 760px) { .depts summary { grid-template-columns: 1fr auto; } .depts .a { display: none; } .depts .body { grid-template-columns: 1fr; } }

/* ═══ quote ═══ */
.quote { text-align: center; padding: 6vh 5vw 10vh; max-width: 900px; margin: 0 auto; }
.quote blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 40px); line-height: 1.25; color: var(--ink); letter-spacing: -.01em; hanging-punctuation: first last; }
.quote blockquote::before { content: "“"; color: var(--warm); }
.quote blockquote::after { content: "”"; color: var(--warm); }
.quote cite { display: block; margin-top: 22px; font-style: normal; font-family: var(--ui); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: none; color: var(--ink-3); }

/* ═══ terminal ═══ */
.term { padding: 0; font-family: var(--mono); font-size: 12.5px; }
.term .hd { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.term .hd b { color: var(--acc); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.term .hd b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px var(--acc); }
.term .out { height: 300px; overflow: hidden; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.term .ln { display: flex; gap: 14px; color: var(--ink-2); line-height: 1.5; animation: msg-in .25s ease both; }
.term .ln time { color: var(--ink-3); flex: none; }
.term .ln .p { color: var(--acc); flex: none; }
.term .ln.you { color: var(--ink); }
.term .ln.you .p { color: var(--warm); }
.term .ln.err { color: #ff9f9f; }
.term .ln .ok { color: var(--acc); }
.term form { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); }
.term form .p { color: var(--warm); }
.term input { flex: 1; background: none; border: none; color: var(--ink); font: inherit; outline: none; }
.term input::placeholder { color: var(--ink-3); }
.term .hint { font-size: 10.5px; color: var(--ink-3); letter-spacing: .1em; }
.term-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 5vw; align-items: center; }
@media (max-width: 950px) { .term-wrap { grid-template-columns: 1fr; gap: 36px; } }
.try { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.try button { font-family: var(--mono); font-size: 12px; color: var(--ink-2); background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 12px; cursor: pointer; transition: all .2s; }
.try button:hover { color: var(--acc); border-color: rgba(46,230,197,.5); }

/* ═══ work ═══ */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.proj.feat { grid-column: 1 / -1; display: grid; grid-template-columns: 1.45fr 1fr; }
.proj.feat .thumb { aspect-ratio: auto; min-height: 380px; height: 100%; }
.proj.feat .meta { flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 34px 32px; border-top: none; border-left: 1px solid var(--line); }
.proj.feat .kind { margin: 0 0 14px; }
.proj.feat .name { font-size: clamp(26px, 2.6vw, 34px); }
.proj.feat .desc { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; font-weight: 400; margin: 14px 0 18px; max-width: 42ch; }
.proj.feat .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.proj.feat .playtag { background: var(--warm); color: #050912; border-color: var(--warm); }
.proj.feat:hover .playtag { opacity: 1; }
@media (max-width: 1000px) { .proj.feat { grid-template-columns: 1fr; } .proj.feat .thumb { min-height: 0; aspect-ratio: 16/10; height: auto; } .proj.feat .meta { border-left: none; border-top: 1px solid var(--line); } }
@media (max-width: 640px) { .work { grid-template-columns: 1fr; } }
.proj { display: block; text-decoration: none; color: inherit; transition: transform .45s var(--ease), opacity .8s var(--ease); }
.proj:hover { transform: translateY(-6px); }
.proj .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #0b1019; }
.proj .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s var(--ease); }
.proj:hover .thumb img { transform: scale(1.03); }
.proj .thumb .anim { opacity: 0; transition: opacity .35s; }
.proj:hover .thumb .anim { opacity: 1; }
.proj .thumb.diagram { background: #f6faf6; padding: 14px; }
.proj .thumb.diagram img { position: static; object-fit: contain; }
.proj .meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-top: 1px solid var(--line); }
.proj .name { font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.proj .kind { font-family: var(--ui); font-weight: 700; font-size: 11px; color: var(--ink-3); margin-top: 5px; letter-spacing: .06em; text-transform: uppercase; }
.proj .go { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: all .25s; }
.proj:hover .go { background: var(--acc); color: #050912; border-color: var(--acc); }
.proj .playtag { position: absolute; left: 14px; top: 14px; font-family: var(--ui); font-weight: 700; font-size: 10.5px; letter-spacing: .08em; color: var(--ink); background: rgba(6,9,15,.7); border: 1px solid var(--line-2); padding: 6px 9px; border-radius: 6px; transition: opacity .3s; }
.proj:hover .playtag { opacity: 0; }

/* ═══ stats ═══ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats > div { padding: 34px 28px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: none; }
.stats .k { font-family: var(--ui); font-weight: 700; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.stats .n { font-family: var(--display); font-weight: 600; font-size: clamp(44px, 5vw, 76px); letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.stats .n small { font-size: .42em; color: var(--acc); margin-left: 4px; font-family: var(--display); font-weight: 700; letter-spacing: 0; }
.stats p { margin-top: 14px; color: var(--ink-2); font-size: 14px; line-height: 1.55; font-weight: 400; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(3) { border-left: none; } .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ═══ steps ═══ */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.steps li { position: relative; padding: 34px 28px 12px 0; margin-right: 28px; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: none; margin-right: 0; }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 2px; background: var(--acc); }
.steps .n { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--acc); letter-spacing: 0; margin-bottom: 20px; display: block; }
.steps h3 { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 10px; }
.steps p { font-size: 14.2px; color: var(--ink-2); font-weight: 400; line-height: 1.6; max-width: 28ch; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 14px; } .steps li:nth-child(2n) { border-right: none; margin-right: 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps li { border-right: none; margin-right: 0; padding-top: 26px; } }

/* ═══ pricing ═══ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 950px) { .plans { grid-template-columns: 1fr; } }
.plan { padding: 30px 26px 26px; display: flex; flex-direction: column; gap: 14px; }
.plan .tier { font-family: var(--ui); font-weight: 700; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); }
.plan h3 { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -.025em; }
.plan .sub { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; font-weight: 400; min-height: 3.1em; }
.plan ul { list-style: none; display: grid; gap: 10px; margin: 8px 0 14px; flex: 1; }
.plan li { font-size: 14px; color: var(--ink-2); display: flex; gap: 10px; font-weight: 400; }
.plan li::before { content: "—"; color: var(--acc); }
.plan .btn { align-self: stretch; justify-content: center; }
.plan .flag { position: absolute; top: 18px; right: 18px; font-family: var(--ui); font-weight: 700; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #050912; background: var(--acc); padding: 5px 9px; border-radius: 5px; }

/* ═══ brief form ═══ */
.brief-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5vw; align-items: start; }
@media (max-width: 950px) { .brief-wrap { grid-template-columns: 1fr; } }
.brief { padding: clamp(24px, 3vw, 36px); overflow: visible; }
.brief .stepk { font-family: var(--ui); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; margin-bottom: 8px; }
.brief .stepk b { color: var(--acc); font-weight: 500; }
.brief .track { height: 2px; background: var(--line); margin-bottom: 26px; overflow: hidden; border-radius: 2px; }
.brief .track i { display: block; height: 100%; width: 33%; background: var(--acc); transition: width .5s var(--ease); }
.brief h3 { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 20px; }
.brief .step { display: none; }
.brief .step.on { display: block; animation: rise .5s var(--ease) both; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .opts { grid-template-columns: 1fr; } }
.opt { text-align: left; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; color: var(--ink); cursor: pointer; font-family: inherit; display: flex; gap: 12px; align-items: center; transition: all .2s; }
.opt i { font-family: var(--mono); color: var(--acc); font-style: normal; font-size: 14px; width: 18px; flex: none; }
.opt b { display: block; font-size: 14.5px; font-weight: 700; }
.opt small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.opt:hover { border-color: rgba(46,230,197,.5); background: rgba(46,230,197,.05); }
.opt.sel { border-color: var(--acc); background: rgba(46,230,197,.10); }
.fields { display: grid; gap: 12px; }
.fields input, .fields textarea { width: 100%; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 14px; color: var(--ink); font: 500 14.5px var(--ui); transition: border-color .2s; }
.fields input:focus, .fields textarea:focus { border-color: var(--acc); outline: none; }
.fields textarea { min-height: 96px; resize: vertical; }
.fields .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.brief .nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 10px; }
.brief .nav .back { background: none; border: none; color: var(--ink-3); font: 600 13.5px var(--ui); cursor: pointer; }
.brief .nav .back:hover { color: var(--ink); }
.brief .err { color: #ff9f9f; font-size: 13px; font-weight: 600; font-family: var(--ui); margin-top: 10px; min-height: 1.2em; }
.brief .done { text-align: center; padding: 20px 0; }
.brief .done h3 { margin-bottom: 8px; }
.brief .done p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; font-weight: 400; }
.next { list-style: none; display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line-2); }
.next li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.next .n { font-family: var(--display); font-weight: 700; color: var(--acc); font-size: 15px; letter-spacing: 0; padding-top: 3px; }
.next b { display: block; font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.next span { display: block; color: var(--ink-3); font-size: 13px; margin-top: 4px; font-weight: 400; }

/* ═══ faq ═══ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -.012em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--acc); font-size: 20px; flex: none; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--acc); }
.faq p { padding: 0 4px 24px; color: var(--ink-2); font-size: 15px; line-height: 1.65; max-width: 70ch; font-weight: 400; }

/* ═══ closing cta + footer ═══ */
#contact { text-align: center; padding: 18vh 5vw; position: relative; }
#contact .glow { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 70vw; height: 60vh; background: radial-gradient(50% 50% at 50% 50%, rgba(46,230,197,.14), transparent 70%); filter: blur(30px); pointer-events: none; }
#contact h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 7vw, 104px); letter-spacing: -0.022em; line-height: 0.96; max-width: 14ch; margin: 0 auto; }
#contact h2 em { color: var(--warm); }
#contact p { margin: 22px auto 0; color: var(--ink-2); font-size: 17px; max-width: 46ch; font-weight: 500; }
#contact .row { display: flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
footer { border-top: 1px solid var(--line); padding: 8vh 5vw 4vh; position: relative; overflow: hidden; }
footer .cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 5vw; max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
@media (max-width: 860px) { footer .cols { grid-template-columns: 1fr 1fr; gap: 40px 5vw; } }
footer h4 { font-family: var(--ui); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; font-weight: 700; }
footer a { display: block; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; margin-bottom: 11px; transition: color .2s; }
footer a:hover { color: var(--acc); }
footer .logo img { width: 72px; margin-bottom: 16px; }
footer .lead { font-weight: 400; }
footer .fine { max-width: 1280px; margin: 7vh auto 0; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--ui); font-weight: 500; font-size: 12px; letter-spacing: .02em; color: var(--ink-3); position: relative; z-index: 1; }
footer .wm { position: absolute; right: -3vw; bottom: -6vw; width: 32vw; min-width: 260px; opacity: .05; pointer-events: none; }

/* buttons: pill, label tracking, arrow in its own island */
.btn { border-radius: 100px; padding: 14px 22px 14px 26px; font-weight: 600; letter-spacing: 0; }
.btn .arr { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,0.10); font-size: 13px; margin: -7px -8px -7px 4px; transition: transform .45s cubic-bezier(.32,.72,0,1), background .3s; }
.btn.ghost .arr { background: rgba(255,255,255,0.08); }
.btn:hover .arr { transform: translate(2px, -1px) scale(1.06); }
.btn.acc .arr { background: rgba(5,9,18,0.14); }

/* ═══ site chat widget ═══ */
#wchat-launcher {
  position: fixed; right: 24px; bottom: 24px; z-index: 350; width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--acc), var(--acc-deep)); color: #05100c;
  display: grid; place-items: center; cursor: pointer; box-shadow: 0 16px 40px -14px rgba(46,230,197,.55), 0 4px 14px rgba(0,0,0,.35);
  transition: transform .3s var(--ease), box-shadow .3s; border: none;
}
#wchat-launcher:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 22px 48px -14px rgba(46,230,197,.65), 0 6px 16px rgba(0,0,0,.4); }
#wchat-launcher svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; position: absolute; transition: opacity .25s, transform .3s var(--ease); }
#wchat-launcher .ic-close { opacity: 0; transform: scale(.5) rotate(-45deg); }
#wchat-launcher.open .ic-chat { opacity: 0; transform: scale(.5) rotate(45deg); }
#wchat-launcher.open .ic-close { opacity: 1; transform: scale(1) rotate(0); }
.wchat-dot { position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--warm); border: 2px solid var(--bg); transition: opacity .2s, transform .2s; }
#wchat-launcher.open .wchat-dot, #wchat-launcher.seen .wchat-dot { opacity: 0; transform: scale(0); }

#wchat-panel {
  position: fixed; right: 24px; bottom: 94px; z-index: 349; width: min(380px, calc(100vw - 32px)); height: min(600px, calc(100dvh - 140px));
  background: var(--panel-solid); border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 40px 90px -30px rgba(0,0,0,.65), 0 0 0 1px rgba(46,230,197,.08);
  opacity: 0; transform: translateY(16px) scale(.97); pointer-events: none; transition: opacity .3s var(--ease), transform .35s var(--ease);
}
#wchat-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.wchat-head { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-bottom: 1px solid var(--line); flex: none; }
.wchat-av { width: 36px; height: 36px; border-radius: 10px; flex: none; background: linear-gradient(135deg, var(--acc), var(--acc-deep)); color: #05100c; font-family: var(--display); font-weight: 700; display: grid; place-items: center; }
.wchat-head b { display: block; font-size: 13.5px; font-family: var(--ui); }
.wchat-head i { display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.wchat-head i s { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 3px rgba(46,230,197,.18); text-decoration: none; }
#wchat-close { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--ink-2); font-size: 12px; cursor: pointer; display: grid; place-items: center; transition: all .2s; }
#wchat-close:hover { color: var(--ink); border-color: rgba(46,230,197,.4); }
.wchat-body { flex: 1; padding: 16px 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.wmsg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; font-weight: 500; animation: msg-in .35s cubic-bezier(.2,.8,.2,1) both; }
.wmsg.bot { align-self: flex-start; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.wmsg.user { align-self: flex-end; background: linear-gradient(135deg, rgba(46,230,197,.24), rgba(21,158,135,.24)); border: 1px solid rgba(46,230,197,.3); color: var(--ink); border-bottom-right-radius: 4px; }
.wmsg.err { align-self: center; color: #ff9f9f; font-size: 12.5px; background: rgba(255,120,120,.08); border: 1px solid rgba(255,120,120,.25); }
.wmsg p + p { margin-top: .6em; }
.wmsg a { color: var(--acc); }
.wtyping { align-self: flex-start; display: flex; gap: 4px; padding: 12px 13px; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 14px; border-bottom-left-radius: 4px; }
.wtyping i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); animation: dot 1s ease-in-out infinite; }
.wtyping i:nth-child(2) { animation-delay: .15s } .wtyping i:nth-child(3) { animation-delay: .3s }
#wchat-form { display: flex; align-items: center; gap: 8px; padding: 10px; border-top: 1px solid var(--line); flex: none; }
#wchat-input { flex: 1; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; color: var(--ink); font: 500 13.5px var(--ui); outline: none; transition: border-color .2s; min-width: 0; }
#wchat-input:focus { border-color: rgba(46,230,197,.5); }
#wchat-input::placeholder { color: var(--ink-3); }
#wchat-form button { width: 36px; height: 36px; border-radius: 9px; border: none; background: var(--acc); color: #05100c; display: grid; place-items: center; cursor: pointer; flex: none; transition: transform .2s, background .2s; }
#wchat-form button:hover { background: #5bf0d4; }
#wchat-form button:disabled { opacity: .5; cursor: default; }
#wchat-form button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 480px) {
  #wchat-launcher { right: 16px; bottom: 16px; }
  #wchat-panel { right: 8px; left: 8px; bottom: 86px; width: auto; height: min(560px, calc(100dvh - 120px)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .rise, #hero h1 .ln > span { opacity: 1; transform: none; }
  [data-reveal] { opacity: 1; transform: none; }
  #wchat-panel, .wmsg, .wtyping i, #wchat-launcher svg { animation: none !important; transition: none !important; }
}
