@font-face{font-family:"Bricolage";src:url("fonts/bricolage-latin.woff2") format("woff2");font-weight:200 800;font-stretch:75% 100%;font-style:normal;font-display:swap;}
@font-face{font-family:"JetBrains Mono";src:url("fonts/jetbrains-mono-latin.woff2") format("woff2");font-weight:400 600;font-style:normal;font-display:swap;}
/* Codra Labs: design system v3 (technical editorial, scroll story) */

/* ---------- Animatable tokens (scene colour changes glide instead of snapping) ---------- */
@property --paper{ syntax:'<color>'; inherits:true; initial-value:#12141F; }
@property --surface{ syntax:'<color>'; inherits:true; initial-value:#191C29; }
@property --surface-2{ syntax:'<color>'; inherits:true; initial-value:#202433; }
@property --ink{ syntax:'<color>'; inherits:true; initial-value:#FCFCF8; }
@property --muted{ syntax:'<color>'; inherits:true; initial-value:#B7B9C3; }
@property --line{ syntax:'<color>'; inherits:true; initial-value:#303442; }
@property --line-strong{ syntax:'<color>'; inherits:true; initial-value:#484D5E; }
@property --link{ syntax:'<color>'; inherits:true; initial-value:#FF8A70; }
@property --nav-bg{ syntax:'<color>'; inherits:true; initial-value:rgba(18,20,31,.86); }

:root{
  --paper:#12141F; --surface:#191C29; --surface-2:#202433; --ink:#FCFCF8; --muted:#B7B9C3;
  --line:#303442; --line-strong:#484D5E; --link:#FF8A70; --soft:rgba(231,59,29,.16);
  --nav-bg:rgba(18,20,31,.86); --nav-line:rgba(252,252,248,.12);
  --ember:#E73B1D; --peach:#FFB48F; --rose:#D95D75; --orchid:#9B8AC4; --indigo:#6678A8; --mint:#3FE0B0;
  --grad:linear-gradient(110deg,#FFB48F 0%,#FF8A70 46%,#E73B1D 100%);
  --grad-v:linear-gradient(180deg,#FFB48F 0%,#FF8A70 48%,#E73B1D 100%);
  --night:#12141F; --night-2:#191C29; --night-ink:#FCFCF8; --night-muted:#B7B9C3; --night-line:#303442;
  --dark-ink:#12141F;
  --t-harbor:#CFE6DE; --t-tally:#FFD7C2; --t-ledger:#DCD6FF; --t-field:#F6D3E8; --t-beacon:#D6ECFF;
  --shadow:0 1px 1px rgba(0,0,0,.2),0 18px 40px -16px rgba(0,0,0,.48),0 50px 100px -40px rgba(0,0,0,.55);
  --r-xl:28px; --r-lg:20px;
  --font:"Bricolage","Helvetica Neue",Helvetica,Arial,sans-serif;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
  --gutter:clamp(20px,4.4vw,80px); --maxw:1480px;
  --out:cubic-bezier(.16,1,.3,1); --inout:cubic-bezier(.65,0,.35,1);
  color-scheme:dark;
}
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]){ --paper:#12141F; color-scheme:dark; } }
:root[data-theme="dark"]{ --paper:#12141F; color-scheme:dark; }
body[data-scene="light"]{
  --paper:#FCFCF8; --surface:#FFFFFF; --surface-2:#F0F0EA; --ink:#12141F; --muted:#5E6068;
  --line:#D8D9D2; --line-strong:#B8BBB2; --link:#A92F17; --nav-bg:rgba(252,252,248,.88);
}

/* ---------- Base ---------- */
:root{ box-sizing:border-box; padding-top:env(safe-area-inset-top,0px); padding-bottom:env(safe-area-inset-bottom,0px); }
*,*::before,*::after{ box-sizing:inherit; }
html{ background:#12141F; scroll-padding-top:calc(env(safe-area-inset-top,0px) + 96px); -webkit-text-size-adjust:100%; text-size-adjust:100%; }
html.lenis,html.lenis body{ height:auto; }
.lenis.lenis-smooth{ scroll-behavior:auto !important; }
.lenis.lenis-stopped{ overflow:hidden; }
body{
  margin:0; background:var(--paper); color:var(--ink); font-family:var(--font);
  font-size:clamp(1rem,.95rem + .25vw,1.125rem); line-height:1.6; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  overflow-x:clip;
  transition:--paper .9s var(--inout),--surface .9s,--surface-2 .9s,--ink .9s var(--inout),--muted .9s,--line .9s,--line-strong .9s,--link .9s,--nav-bg .9s;
}
body::before{ content:""; position:fixed; inset:0 0 auto; height:env(safe-area-inset-top,0px); z-index:80; background:var(--paper); }
body.menu-open{ overflow:hidden; }
::selection{ background:var(--ember); color:#15111D; }
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration-thickness:.07em; text-underline-offset:.2em; }
button{ font:inherit; color:inherit; }
:focus-visible{ outline:2px solid var(--link); outline-offset:3px; border-radius:6px; }
.skip{ position:fixed; left:16px; top:-80px; z-index:300; background:var(--ink); color:var(--paper); padding:12px 18px; border-radius:12px; text-decoration:none; font-weight:600; }
.skip:focus{ top:calc(env(safe-area-inset-top,0px) + 12px); }
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }
.page[hidden]{ display:none; }

/* ---------- Type ---------- */
h1,h2,h3,h4{ margin:0; font-weight:700; letter-spacing:-.035em; line-height:1.06; text-wrap:balance; }
h1{ font-size:clamp(2.7rem,1rem + 5vw,6.6rem); }
h2{ font-size:clamp(2.2rem,1rem + 3.6vw,5rem); }
h3{ font-size:clamp(1.3rem,1rem + .8vw,1.75rem); letter-spacing:-.025em; line-height:1.1; font-weight:650; }
p{ margin:0 0 1em; max-width:64ch; }
.lead{ font-size:clamp(1.15rem,1rem + .5vw,1.45rem); line-height:1.5; color:var(--muted); max-width:42ch; }
.muted{ color:var(--muted); }
.link{ font-weight:600; color:var(--link); text-decoration:underline; text-decoration-color:color-mix(in srgb,currentColor 40%,transparent); }
.link:hover{ text-decoration-color:currentColor; }
.grad-text{ background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* ---------- Buttons ---------- */
.btn{
  --bg:var(--ember); --bg-h:var(--peach); --fg:#170D0A; --bd:transparent;
  position:relative; display:inline-flex; align-items:center; justify-content:center; gap:.6em; height:3.5rem; padding:0 1.7rem;
  border-radius:999px; background:var(--bg); color:var(--fg); border:1px solid var(--bd);
  font-weight:650; font-size:1.02rem; letter-spacing:-.01em; text-decoration:none; white-space:nowrap; cursor:pointer;
  box-shadow:0 12px 34px -14px rgba(255,107,61,.75);
  transition:background-color .3s, color .3s, border-color .3s, box-shadow .3s, translate .55s var(--out);
}
.btn:hover{ background:var(--bg-h); box-shadow:0 16px 40px -12px rgba(255,107,61,.9); }
.btn-ghost{ --bg:transparent; --bg-h:color-mix(in srgb,var(--ink) 8%,transparent); --fg:var(--ink); --bd:var(--line-strong); box-shadow:none; }
.btn-ghost:hover{ box-shadow:none; }
.btn-sm{ height:2.9rem; padding:0 1.2rem; font-size:.96rem; }
.on-grad .btn{ --bg:#15111D; --bg-h:#2A2236; --fg:#fff; box-shadow:0 14px 34px -14px rgba(21,17,29,.6); }
.on-grad .btn-ghost{ --bg:transparent; --bg-h:rgba(21,17,29,.08); --fg:#15111D; --bd:rgba(21,17,29,.35); box-shadow:none; }

/* ---------- Navigation ---------- */
.nav{
  position:fixed; z-index:60; top:calc(env(safe-area-inset-top,0px) + 14px); left:50%; translate:-50% 0;
  width:min(calc(100% - 24px),1220px); display:flex; align-items:center; gap:8px; padding:7px 7px 7px 16px;
  border-radius:999px; background:var(--nav-bg); border:1px solid var(--nav-line); color:var(--ink);
  -webkit-backdrop-filter:saturate(1.6) blur(20px); backdrop-filter:saturate(1.6) blur(20px);
  box-shadow:0 14px 40px -20px rgba(0,0,0,.6); transition:translate .55s var(--out);
}
.nav.is-hidden{ translate:-50% calc(-100% - 30px); }
.nav-logo{ display:flex; align-items:center; gap:10px; margin-right:auto; text-decoration:none; font-weight:700; letter-spacing:-.03em; font-size:1.18rem; white-space:nowrap; }
.nav-logo .logo-mark{ width:32px; height:32px; }
.nav-logo em,.f-logo em{ font-style:normal; font-weight:400; }
.nav-links{ display:flex; align-items:center; gap:2px; list-style:none; margin:0; padding:0; }
.nav-links a,.nav-links button{
  display:inline-flex; align-items:center; gap:6px; height:44px; padding:0 15px; border-radius:999px; border:0; background:transparent;
  font-size:.98rem; font-weight:550; color:var(--ink); text-decoration:none; cursor:pointer; transition:background-color .2s;
}
.nav-links a:hover,.nav-links button:hover,.nav-links button[aria-expanded="true"]{ background:color-mix(in srgb,var(--ink) 8%,transparent); }
.nav-links a[aria-current="page"]{ background:var(--soft); color:var(--link); }
.nav-links button svg{ width:14px; height:14px; transition:rotate .3s var(--out); }
.nav-links button[aria-expanded="true"] svg{ rotate:180deg; }
.nav-cta{ margin-left:6px; }
.nav-menu{ display:none; align-items:center; gap:10px; height:46px; padding:0 18px; border-radius:999px; border:0; background:var(--ink); color:var(--paper); font-weight:620; cursor:pointer; }
.nav-menu i{ display:grid; gap:4px; width:16px; }
.nav-menu i::before,.nav-menu i::after{ content:""; height:2px; border-radius:2px; background:currentColor; transition:translate .3s var(--out), rotate .3s var(--out); }
.nav.is-menu .nav-menu i::before{ translate:0 3px; rotate:45deg; }
.nav.is-menu .nav-menu i::after{ translate:0 -3px; rotate:-45deg; }
.dd{
  position:absolute; top:calc(100% + 10px); left:50%; translate:-50% 0; width:min(800px,calc(100vw - 32px));
  display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:10px; border-radius:28px;
  background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow);
  opacity:0; visibility:hidden; transform:translateY(-8px); transition:opacity .25s, transform .45s var(--out), visibility 0s .25s;
}
.dd.is-open{ opacity:1; visibility:visible; transform:none; transition:opacity .25s, transform .45s var(--out); }
.dd a{ display:grid; grid-template-columns:46px 1fr; gap:14px; align-items:center; height:auto; padding:14px; border-radius:20px; text-decoration:none; }
.dd a:hover{ background:var(--surface-2); }
.dd .dd-ic{ display:grid; place-items:center; width:46px; height:46px; border-radius:14px; background:var(--soft); color:var(--link); }
.dd .dd-ic svg{ width:22px; height:22px; }
.dd b{ display:block; font-weight:650; font-size:1rem; line-height:1.25; }
.dd small{ display:block; color:var(--muted); font-size:.9rem; line-height:1.4; margin-top:2px; }
.dd .dd-all{ grid-column:1/-1; display:flex; justify-content:space-between; background:var(--surface-2); padding:16px 18px; font-weight:620; }
.dd .dd-all span{ color:var(--muted); font-weight:450; }
.mmenu{
  position:fixed; inset:0; z-index:55; background:#12141F; color:#FCFCF8; overflow-y:auto;
  padding:calc(env(safe-area-inset-top,0px) + 104px) var(--gutter) calc(env(safe-area-inset-bottom,0px) + 32px);
  clip-path:circle(0% at calc(100% - 60px) 40px); visibility:hidden; transition:clip-path .7s var(--out), visibility 0s .7s;
}
.mmenu.is-open{ clip-path:circle(150% at calc(100% - 60px) 40px); visibility:visible; transition:clip-path .8s var(--out); }
.mm-main{ list-style:none; margin:0; padding:0; }
.mm-main a{ display:block; padding:6px 0; text-decoration:none; font-size:clamp(2.4rem,11vw,3.6rem); font-weight:700; letter-spacing:-.05em; line-height:1.06; }
.mm-main li,.mm-svc li,.mm-foot{ opacity:0; translate:0 22px; transition:opacity .45s, translate .7s var(--out); transition-delay:calc(var(--i,0) * 45ms + 160ms); }
.mmenu.is-open li,.mmenu.is-open .mm-foot{ opacity:1; translate:0 0; }
.mm-svc{ list-style:none; margin:30px 0 0; padding:24px 0 0; border-top:1px solid #303442; display:grid; grid-template-columns:1fr 1fr; gap:12px 20px; }
.mm-svc a{ color:#B7B9C3; text-decoration:none; font-size:1.05rem; }
.mm-foot{ margin-top:36px; display:flex; flex-wrap:wrap; gap:18px; align-items:center; }
.mm-foot a:not(.btn){ color:#B7B9C3; }
@media (max-width:1020px){ .nav-links,.nav-cta{ display:none; } .nav-menu{ display:inline-flex; } .nav{ padding-left:14px; } }

/* ---------- Cursor ---------- */
.cursor{
  position:fixed; left:0; top:0; z-index:250; width:12px; height:12px; margin:-6px 0 0 -6px; border-radius:50%;
  background:#fff; mix-blend-mode:difference; pointer-events:none; opacity:0; display:grid; place-items:center;
  transition:width .4s var(--out), height .4s var(--out), margin .4s var(--out), opacity .3s, background-color .3s;
}
.cursor.is-on{ opacity:1; }
.cursor.is-link{ width:48px; height:48px; margin:-24px 0 0 -24px; }
.cursor.is-label{ width:104px; height:104px; margin:-52px 0 0 -52px; mix-blend-mode:normal; background:var(--ember); }
.cursor::after{ content:attr(data-label); font-size:.95rem; font-weight:650; color:#170D0A; opacity:0; transition:opacity .2s; }
.cursor.is-label::after{ opacity:1; }
@media (hover:none),(pointer:coarse){ .cursor{ display:none; } }

/* ---------- Aurora ---------- */
.aurora{ position:absolute; inset:0; width:100%; height:100%; z-index:-2; pointer-events:none; filter:blur(26px) saturate(1.15); }
.aurora-fade{ position:absolute; inset:auto 0 0; height:45%; z-index:-1; background:linear-gradient(to bottom,transparent,var(--paper)); pointer-events:none; }
.grain{ position:relative; isolation:isolate; }
.grain::after{
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:.22; mix-blend-mode:soft-light;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ================================================================
   HOME: scene 1, hero
   ================================================================ */
.s-hero{ position:relative; isolation:isolate; overflow:clip; padding-top:clamp(124px,16vh,176px); padding-bottom:clamp(40px,6vw,90px); }
.hero-title{ font-size:clamp(2.8rem,.6rem + 5.5vw,6.5rem); line-height:1.06; letter-spacing:-.035em; max-width:16ch; }
.hero-title .ln{ display:block; }
.hero-title .ln-1{ color:var(--muted); }
.w{ display:inline-block; white-space:nowrap; }
.ch{ display:inline-block; }
.js .s-hero .ch{ opacity:0; translate:0 .5em; filter:blur(10px); }
.js .s-hero.is-in .ch{ animation:chIn 1s var(--out) both; animation-delay:calc(var(--i) * 16ms + var(--ld,0ms)); }
@keyframes chIn{ to{ opacity:1; translate:0 0; filter:blur(0); } }
.hero-foot{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:clamp(16px,2.2vw,36px); row-gap:28px; align-items:end; margin-top:clamp(36px,5vw,64px); }
.hero-sub{ grid-column:1/span 6; font-size:clamp(1.15rem,1rem + .5vw,1.45rem); line-height:1.5; color:var(--muted); margin:0; max-width:40ch; }
.hero-sub b{ color:var(--ink); font-weight:600; }
.hero-ctas{ grid-column:8/-1; display:flex; flex-wrap:wrap; gap:12px; justify-content:flex-end; }
.js .s-hero .hero-foot{ opacity:0; }
.js .s-hero.is-in .hero-foot{ animation:fadeUp 1s var(--out) 1s both; }
@media (max-width:900px){ .hero-sub,.hero-ctas{ grid-column:1/-1; justify-content:flex-start; } }
.hero-visual{ margin-top:clamp(44px,5vw,80px); }
.s-hero .stage{ position:relative; max-width:1240px; margin-inline:auto; aspect-ratio:1.72/1; perspective:2200px; }
.s-hero .stage-3d{ position:absolute; inset:0; transform-style:preserve-3d; transform-origin:50% 100%; }
.s-hero .stage .mk{ position:absolute; }
.s-hero .stage .mk-browser{ left:12%; top:0; width:74%; transform:translateZ(0); }
.s-hero .stage .mk-phone{ right:2%; top:16%; width:17%; transform:translateZ(110px); }
.s-hero .stage .mk-flow{ left:0; bottom:3%; width:40%; transform:translateZ(170px); }
.s-hero .stage-glow{ position:absolute; inset:10% 8% -4%; border-radius:50%; background:radial-gradient(closest-side,rgba(255,107,61,.55),rgba(182,92,255,.25),transparent); filter:blur(50px); transform:translateZ(-160px); }
.js .s-hero .stage .mk{ opacity:0; }
.js .s-hero.is-in .stage .mk-browser{ animation:mkIn 1.3s var(--out) .5s both; }
.js .s-hero.is-in .stage .mk-phone{ animation:mkInR 1.3s var(--out) .85s both; }
.js .s-hero.is-in .stage .mk-flow{ animation:mkInB 1.3s var(--out) 1.1s both; }
.js .s-hero .bld{ opacity:0; }
.js .s-hero.is-in .bld{ animation:bldIn .8s var(--out) both; animation-delay:calc(var(--d) + 1.2s); }
.js .s-hero.is-in .bld::after{ animation:wire 1.3s ease both; animation-delay:calc(var(--d) + .95s); }
@keyframes fadeUp{ from{ opacity:0; translate:0 26px; } to{ opacity:1; translate:0 0; } }
@keyframes mkIn{ from{ opacity:0; translate:0 80px; scale:.94; } to{ opacity:1; translate:0 0; scale:1; } }
@keyframes mkInR{ from{ opacity:0; translate:80px 40px; } to{ opacity:1; translate:0 0; } }
@keyframes mkInB{ from{ opacity:0; translate:-40px 80px; } to{ opacity:1; translate:0 0; } }
@keyframes bldIn{ from{ opacity:0; filter:blur(5px); } to{ opacity:1; filter:blur(0); } }
@keyframes wire{ 0%{ opacity:0; } 30%{ opacity:1; } 100%{ opacity:0; } }
@media (max-width:700px){
  .s-hero .stage{ aspect-ratio:1/1.02; }
  .s-hero .stage .mk-browser{ left:0; width:92%; }
  .s-hero .stage .mk-phone{ right:0; top:24%; width:34%; }
  .s-hero .stage .mk-flow{ left:2%; width:86%; bottom:0; }
}

/* ---------- scene 3, five ways to build ---------- */
.s-build{ padding-block:clamp(60px,8vw,120px) clamp(80px,10vw,160px); }
.split-head{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:clamp(16px,2.2vw,36px); row-gap:20px; align-items:end; margin-bottom:clamp(40px,6vw,90px); }
.split-head h2{ grid-column:1/span 7; }
.split-head > p,.split-head > div{ grid-column:9/-1; color:var(--muted); margin:0; }
@media (max-width:900px){ .split-head h2,.split-head > p,.split-head > div{ grid-column:1/-1; } }
.build-grid{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:clamp(16px,2.2vw,40px); }
.build-chapters{ grid-column:1/span 5; }
.build-stage{ grid-column:7/-1; }
.chapter{ min-height:82vh; display:flex; flex-direction:column; justify-content:center; padding-block:40px; transition:opacity .6s; }
.js .has-io .chapter{ opacity:.28; }
.js .has-io .chapter.is-active{ opacity:1; }
.ch-name{ display:inline-flex; align-items:center; gap:12px; margin-bottom:24px; font-weight:650; font-size:1.08rem; color:var(--ink); }
.ch-name .ci{ display:grid; place-items:center; width:42px; height:42px; border-radius:13px; background:var(--grad); color:#15111D; }
.ch-name .ci svg{ width:20px; height:20px; }
.chapter h3{ font-size:clamp(2.1rem,1rem + 2.7vw,3.7rem); letter-spacing:-.045em; line-height:1; font-weight:700; margin-bottom:22px; }
.chapter > p{ color:var(--muted); font-size:clamp(1.05rem,1rem + .25vw,1.2rem); max-width:40ch; }
.ch-list{ list-style:none; margin:24px 0 30px; padding:0; display:grid; gap:12px; }
.ch-list li{ display:flex; gap:12px; align-items:center; }
.ch-list svg{ width:18px; height:18px; color:var(--link); flex:none; }
.ch-art-m{ display:none; }
.stage-sticky{ position:sticky; top:12vh; height:76vh; display:flex; flex-direction:column; gap:18px; }
.vis-panel{ position:relative; flex:1; border-radius:var(--r-xl); overflow:hidden; isolation:isolate; background:#202433; }
.vis-layer{ position:absolute; inset:0; display:grid; place-items:center; opacity:0; scale:1.06; transition:opacity .8s var(--inout), scale 1.2s var(--out); }
.vis-layer.is-active{ opacity:1; scale:1; }
.vis-layer .cmp-web{ width:80%; } .vis-layer .cmp-phone{ width:30%; } .vis-layer .cmp-wide{ width:86%; } .vis-layer .cmp-ai{ width:78%; translate:0 -10%; }
.ch-progress{ display:flex; align-items:center; gap:14px; font-size:.95rem; color:var(--muted); }
.ch-progress .bars{ display:flex; gap:6px; flex:1; }
.ch-progress .bars i{ flex:1; height:3px; border-radius:3px; background:var(--line); overflow:hidden; position:relative; }
.ch-progress .bars i::after{ content:""; position:absolute; inset:0; background:var(--grad); transform:scaleX(0); transform-origin:left; transition:transform .6s var(--out); }
.ch-progress .bars i.is-on::after{ transform:scaleX(1); }
.ch-progress b{ color:var(--ink); font-weight:600; min-width:8.5em; }
@media (max-width:900px){
  .build-chapters{ grid-column:1/-1; } .build-stage{ display:none; }
  .chapter{ min-height:0; padding-block:28px 56px; }
  .js .has-io .chapter{ opacity:1; }
  .ch-art-m{ display:grid; place-items:center; aspect-ratio:1.15/1; border-radius:var(--r-lg); overflow:hidden; margin-bottom:28px; }
  .ch-art-m .cmp-web{ width:84%; } .ch-art-m .cmp-phone{ width:34%; } .ch-art-m .cmp-wide{ width:88%; } .ch-art-m .cmp-ai{ width:84%; translate:0 -10%; }
}

/* tones (service colour stories) */
[data-tone="websites"]{ background:radial-gradient(120% 100% at 12% 0%,#FFD2B8 0%,#FF7A45 42%,#7A2440 100%); }
[data-tone="mobile-apps"]{ background:radial-gradient(120% 100% at 12% 0%,#FFC2DA 0%,#FF4D8D 44%,#521A66 100%); }
[data-tone="custom-software"]{ background:radial-gradient(120% 100% at 12% 0%,#C9E8FF 0%,#5B7CFF 45%,#1C1A5C 100%); }
[data-tone="ai-products"]{ background:radial-gradient(120% 100% at 12% 0%,#FFE3CC 0%,#FF6B3D 30%,#C452E8 66%,#1E1450 100%); }
[data-tone="ai-automation"]{ background:radial-gradient(120% 100% at 12% 0%,#F1D0FF 0%,#B65CFF 44%,#2A1460 100%); }
[data-tone="product-design"]{ background:radial-gradient(120% 100% at 12% 0%,#D2FFEE 0%,#2FCB9B 44%,#0D3A3E 100%); }

/* ---------- scene 4, a Tuesday morning ---------- */
.s-ai{ padding-block:clamp(90px,11vw,170px); }
.ai-grid{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:clamp(16px,2.2vw,40px); row-gap:48px; align-items:center; }
.ai-copy{ grid-column:1/span 5; }
.ai-demo{ grid-column:7/-1; }
@media (max-width:1000px){ .ai-copy,.ai-demo{ grid-column:1/-1; } }
.clock{ display:inline-flex; align-items:center; gap:10px; margin-bottom:28px; padding:9px 16px 9px 12px; border-radius:999px; background:var(--surface-2); border:1px solid var(--line); font-weight:600; font-size:.98rem; font-variant-numeric:tabular-nums; }
.clock i{ width:9px; height:9px; border-radius:50%; background:var(--mint); box-shadow:0 0 0 4px rgba(63,224,176,.18); animation:blink 1.8s infinite; }
.ai-copy h2{ margin-bottom:26px; }
.ai-copy .lead{ margin-bottom:30px; }
.ai-tools{ margin-top:34px; padding-top:22px; border-top:1px solid var(--line); font-size:.98rem; color:var(--muted); }
.ai-tools b{ color:var(--ink); font-weight:600; }
.demo{ position:relative; background:var(--surface); border:1px solid var(--line); border-radius:32px; padding:clamp(18px,2.4vw,32px); box-shadow:0 60px 120px -50px rgba(255,77,141,.45); }
.demo::before{ content:""; position:absolute; inset:-1px; border-radius:inherit; padding:1px; background:linear-gradient(140deg,rgba(255,180,143,.6),transparent 35%,transparent 65%,rgba(182,92,255,.6)); -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; pointer-events:none; }
.demo-top{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:14px; margin-bottom:18px; }
.demo-label{ font-size:.92rem; color:var(--muted); display:flex; align-items:center; gap:8px; }
.demo-label i{ width:8px; height:8px; border-radius:50%; background:var(--mint); }
.demo-tabs{ display:flex; gap:4px; max-width:100%; overflow-x:auto; scrollbar-width:none; padding:4px; background:var(--surface-2); border-radius:999px; }
.demo-tabs::-webkit-scrollbar{ display:none; }
.demo-tabs button{ flex:none; height:38px; padding:0 15px; border-radius:999px; border:0; background:transparent; color:var(--muted); font-size:.92rem; font-weight:600; cursor:pointer; transition:background-color .25s, color .25s; }
.demo-tabs button[aria-selected="true"]{ background:var(--ink); color:var(--paper); }
.demo-steps{ list-style:none; margin:0; padding:0; }
.demo-step{ position:relative; display:grid; grid-template-columns:42px 1fr auto; gap:16px; padding:13px 0; transition:opacity .45s; }
.js .demo-step{ opacity:.38; }
.demo-step:not(:last-child)::before,.demo-step:not(:last-child)::after{ content:""; position:absolute; left:20px; top:58px; bottom:-12px; width:2px; background:var(--line); }
.demo-step:not(:last-child)::after{ background:var(--mint); transform:scaleY(0); transform-origin:top; transition:transform .8s var(--out); }
.demo-step.is-done::after{ transform:scaleY(1); }
.demo-step .ic{ display:grid; place-items:center; width:42px; height:42px; border-radius:50%; border:1px solid var(--line); background:var(--surface-2); transition:background-color .3s, border-color .3s, color .3s, box-shadow .3s; }
.demo-step .ic svg{ width:19px; height:19px; }
.demo-step b{ display:block; font-weight:620; line-height:1.3; }
.demo-step .det{ display:block; color:var(--muted); font-size:.94rem; line-height:1.45; margin-top:3px; }
.demo-step .tm{ font-size:.84rem; color:var(--muted); font-variant-numeric:tabular-nums; padding-top:3px; }
.demo-step.is-active,.demo-step.is-done{ opacity:1; }
.demo-step.is-active .ic{ background:var(--ember); border-color:var(--ember); color:#170D0A; box-shadow:0 0 0 7px rgba(255,107,61,.25); }
.demo-step.is-done .ic{ background:rgba(63,224,176,.14); border-color:rgba(63,224,176,.45); color:var(--mint); }
.demo-foot{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:14px; margin-top:12px; padding-top:18px; border-top:1px solid var(--line); }
.demo-result{ font-size:.96rem; color:var(--muted); min-height:1.5em; }
.demo-result.is-done{ color:var(--ink); }
.demo-replay{ height:40px; padding:0 16px; border-radius:999px; border:1px solid var(--line-strong); background:transparent; color:var(--ink); font-size:.92rem; font-weight:600; cursor:pointer; display:inline-flex; gap:8px; align-items:center; }
.demo-replay svg{ width:16px; height:16px; }

/* ---------- scene 5, what it looks like (horizontal) ---------- */
.s-work{ position:relative; }
.work-pin{ min-height:100vh; display:flex; flex-direction:column; justify-content:center; padding-block:clamp(110px,14vh,150px) clamp(48px,7vh,90px); overflow:hidden; }
.work-head{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:20px 40px; margin-bottom:clamp(30px,5vh,56px); }
.work-head h2{ max-width:13ch; }
.work-head p{ color:var(--muted); max-width:36ch; margin:0; }
.work-scroller{ overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
.work-scroller::-webkit-scrollbar{ display:none; }
.work-scroller.is-pinned{ overflow:visible; scroll-snap-type:none; }
.work-track{ display:flex; gap:clamp(16px,2vw,28px); width:max-content; padding-inline:var(--gutter); }
.wcard{ flex:none; width:clamp(300px,44vw,760px); text-decoration:none; scroll-snap-align:start; scroll-margin-left:var(--gutter); }
.wcard .work-panel{ aspect-ratio:16/10.4; }
.wcard .cmp-web{ width:78%; } .wcard .cmp-phone{ width:26%; } .wcard .cmp-wide{ width:84%; }
.wcard-info{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px 24px; margin-top:20px; }
.wcard-info h3{ margin-bottom:6px; }
.wcard-info p{ margin:0; color:var(--muted); max-width:40ch; }
.wcard-next .work-panel{ background:var(--ink); color:var(--paper); display:flex; flex-direction:column; justify-content:flex-end; align-items:flex-start; padding:clamp(28px,3.4vw,52px); }
.wcard-next .work-panel::before{ display:none; }
.wcard-next .work-panel h3{ font-size:clamp(2rem,1rem + 2.6vw,3.8rem); letter-spacing:-.05em; line-height:.98; margin-bottom:26px; max-width:11ch; }
.wcard-next .btn{ box-shadow:none; }
@media (max-width:899px){ .work-pin{ min-height:0; } .wcard{ width:84vw; } }

/* work panels (shared) */
.work-panel{ position:relative; display:grid; place-items:center; aspect-ratio:16/11; border-radius:var(--r-xl); background:var(--tint); overflow:hidden; isolation:isolate; }
.work-panel::before{ content:""; position:absolute; inset:-20% -10% auto auto; width:70%; aspect-ratio:1; border-radius:50%; background:radial-gradient(closest-side,rgba(255,255,255,.75),rgba(255,255,255,0)); z-index:-1; }
.par{ width:100%; display:grid; place-items:center; }
.work-panel .cmp{ transition:scale .9s var(--out); }
a:hover .work-panel .cmp{ scale:1.03; }
.work-kind{ flex:none; font-size:.86rem; color:var(--muted); padding:7px 12px; border-radius:999px; border:1px solid var(--line-strong); white-space:nowrap; }
@media (max-width:640px){ .wcard-info,.work-info{ flex-direction:column; gap:10px; } }

/* ---------- scene 6, the journey ---------- */
.s-journey{ padding-block:clamp(90px,11vw,170px); }
.journey{ position:relative; margin:clamp(30px,5vw,70px) 0 0; }
.j-list{ list-style:none; margin:0; padding:0; }
.j-line{ position:absolute; left:50%; top:10px; bottom:10px; width:2px; translate:-50% 0; background:var(--line); border-radius:2px; overflow:hidden; }
.j-line i{ position:absolute; inset:0; background:var(--grad-v); transform-origin:top; transform:scaleY(var(--jp,1)); }
.j-step{ position:relative; display:grid; grid-template-columns:1fr 1fr; column-gap:clamp(60px,9vw,150px); padding-block:clamp(30px,4vw,56px); }
.j-step::before{ content:""; position:absolute; left:50%; top:clamp(38px,4.4vw,62px); width:20px; height:20px; translate:-50% 0; border-radius:50%; background:var(--paper); border:2px solid var(--line-strong); transition:background-color .4s, border-color .4s, box-shadow .4s; z-index:1; }
.j-step.is-on::before{ background:var(--ember); border-color:var(--ember); box-shadow:0 0 0 7px rgba(255,107,61,.2); }
.j-body{ grid-column:1; text-align:right; justify-self:end; max-width:440px; transition:opacity .6s, translate .8s var(--out); }
.j-step:nth-child(odd) .j-body{ grid-column:2; text-align:left; justify-self:start; }
.js .journey.anim .j-step:not(.is-on) .j-body{ opacity:.25; translate:0 16px; }
.j-when{ display:block; margin-bottom:10px; font-weight:650; color:var(--link); }
.j-body h3{ font-size:clamp(1.9rem,1rem + 2.2vw,3.2rem); letter-spacing:-.045em; line-height:1; margin-bottom:14px; font-weight:700; }
.j-body p{ color:var(--muted); margin:0 0 12px; }
.j-body .j-get{ font-size:.95rem; color:var(--ink); margin:0; }
.j-body .j-get b{ font-weight:620; }
@media (max-width:800px){
  .j-line{ left:10px; translate:0 0; }
  .j-step{ grid-template-columns:1fr; padding-left:44px; }
  .j-step::before{ left:11px; }
  .j-body,.j-step:nth-child(odd) .j-body{ grid-column:1; text-align:left; justify-self:start; }
}

/* ---------- scene 7, promises ---------- */
.s-promise{ padding-block:clamp(90px,11vw,170px); }
.nums{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(20px,3vw,48px); }
.nums > div{ border-top:1px solid var(--line); padding-top:26px; }
.nums .n{ display:flex; align-items:baseline; gap:8px; margin-bottom:16px; }
.nums b{ font-size:clamp(4.2rem,2rem + 6vw,8.6rem); font-weight:700; letter-spacing:-.07em; line-height:.84; background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; font-variant-numeric:tabular-nums; padding-right:.04em; }
.nums .unit{ font-size:1.15rem; font-weight:620; }
.nums p{ color:var(--muted); margin:0; max-width:28ch; }
@media (max-width:900px){ .nums{ grid-template-columns:1fr 1fr; row-gap:44px; } }

/* ---------- finale / CTA band ---------- */
.cta-band{ position:relative; overflow:clip; isolation:isolate; padding-block:clamp(32px,4vw,52px) !important; background:var(--grad); color:#15111D; }
.cta-band::before{ content:""; position:absolute; z-index:-1; inset:0; background:radial-gradient(60% 80% at 85% 20%,rgba(255,255,255,.35),transparent 60%),radial-gradient(50% 70% at 10% 100%,rgba(82,26,102,.45),transparent 70%); }
.cta-band .wrap{ display:flex !important; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px 32px; }
.cta-band h2,
section.cta-band h2,
.cta-band .wrap > h2{ font-size:clamp(1.4rem,.95rem + 1.3vw,2.1rem) !important; max-width:18ch !important; letter-spacing:-.035em !important; line-height:1.2 !important; margin:0 !important; }
.cta-row{ display:flex; flex-wrap:wrap; gap:12px 20px; align-items:center; margin-top:0 !important; }
.cta-row p{ margin:0; color:rgba(21,17,29,.8); max-width:36ch; font-size:.95rem; line-height:1.5; }
.cta-mail{ color:#15111D; font-weight:650; }
.marquee{ overflow:hidden; margin-bottom:clamp(24px,3vw,40px); border-block:1px solid rgba(21,17,29,.18); padding-block:clamp(10px,1.2vw,16px); }
.mq-track{ display:flex; width:max-content; }
.mq-track span{ flex:none; display:flex; align-items:center; gap:clamp(16px,2vw,32px); padding-right:clamp(16px,2vw,32px); font-size:clamp(1.15rem,.85rem + 1.2vw,1.8rem); font-weight:700; letter-spacing:-.04em; white-space:nowrap; }
.mq-track i{ font-style:normal; font-size:.6em; opacity:.55; }
.mq-css .mq-track{ animation:mq 36s linear infinite; }
@keyframes mq{ to{ transform:translateX(-50%); } }

/* ---------- Footer ---------- */
.footer{ background:#09070D; color:#FCFCF8; padding-top:clamp(70px,8vw,120px); overflow:clip; --muted:#B7B9C3; --line:#24202E; }
.f-grid{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:40px; padding-bottom:56px; }
.f-logo{ display:inline-flex; align-items:center; gap:12px; text-decoration:none; font-size:1.35rem; font-weight:700; letter-spacing:-.03em; margin-bottom:18px; }
.f-brand p{ color:#B7B9C3; max-width:32ch; margin-bottom:26px; }
.f-col h2{ font-size:.95rem; font-weight:600; letter-spacing:0; line-height:1.3; color:#B7B9C3; margin-bottom:18px; }
.f-col ul{ list-style:none; margin:0; padding:0; display:grid; gap:11px; }
.f-col a{ text-decoration:none; }
.f-col a:hover{ text-decoration:underline; }
.f-bottom{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px 24px; padding-block:22px; border-top:1px solid #24202E; color:#B7B9C3; font-size:.92rem; }
.f-mark-wrap{ padding-top:clamp(20px,3vw,40px); }
.f-mark{ display:inline-block; font-size:13vw; font-weight:700; letter-spacing:-.065em; line-height:.8; white-space:nowrap; margin-bottom:-.12em; user-select:none; background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; padding-right:.05em; }
@media (max-width:900px){ .f-grid{ grid-template-columns:1fr 1fr; } .f-brand{ grid-column:1/-1; } }

/* ================================================================
   Inner pages
   ================================================================ */
.sec{ padding-block:clamp(84px,10vw,160px); }
.sec-tight{ padding-block:clamp(64px,7vw,110px); }
.sec-alt{ background:var(--surface); }
.sec-head{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:clamp(16px,2.2vw,36px); row-gap:18px; align-items:end; margin-bottom:clamp(36px,5vw,72px); }
.sec-head h2{ grid-column:1/span 7; }
.sec-head > p,.sec-head > div{ grid-column:9/-1; color:var(--muted); margin:0; }
@media (max-width:900px){ .sec-head h2,.sec-head > p,.sec-head > div{ grid-column:1/-1; } }
.on-night{ background:var(--night); color:var(--night-ink); }
.on-night .lead,.on-night .muted{ color:var(--night-muted); }

.phero{ position:relative; isolation:isolate; overflow:clip; padding-top:clamp(140px,18vh,190px); padding-bottom:clamp(56px,7vw,104px); }
.phero .aurora{ opacity:.55; }
.crumbs{ display:flex; flex-wrap:wrap; gap:8px; list-style:none; margin:0 0 26px; padding:0; font-size:.94rem; color:var(--muted); }
.crumbs li + li::before{ content:"/"; margin-right:8px; color:var(--line-strong); }
.crumbs a{ text-decoration:none; }
.crumbs a:hover{ text-decoration:underline; }
.phero-grid{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:clamp(16px,2.2vw,40px); row-gap:48px; align-items:center; }
.phero-copy{ grid-column:1/span 6; }
.phero-copy.is-solo{ grid-column:1/span 10; }
.phero-copy h1{ margin-bottom:28px; }
.phero-copy.is-solo h1{ font-size:clamp(2.9rem,.8rem + 6vw,7.8rem); max-width:13ch; letter-spacing:-.06em; line-height:.92; }
.phero-ctas{ display:flex; flex-wrap:wrap; gap:12px; margin-top:34px; }
.phero-art{ grid-column:7/-1; }
@media (max-width:1000px){ .phero-copy,.phero-copy.is-solo,.phero-art{ grid-column:1/-1; } }
.js .phero .phero-copy,.js .phero .art-panel{ opacity:0; }
.js .phero.is-in .phero-copy{ animation:fadeUp 1s var(--out) .05s both; }
.js .phero.is-in .art-panel{ animation:panelIn 1.3s var(--out) .2s both; }
@keyframes panelIn{ from{ opacity:0; clip-path:inset(14% 10% 14% 10% round 34px); } to{ opacity:1; clip-path:inset(0 0 0 0 round 34px); } }
.art-panel{ position:relative; display:grid; place-items:center; aspect-ratio:1/.86; border-radius:var(--r-xl); overflow:hidden; isolation:isolate; perspective:1600px; }
.stage-3d{ transform-style:preserve-3d; }
.art-panel .stage-3d{ position:absolute; inset:0; display:grid; place-items:center; transform:rotateX(var(--rx,5deg)) rotateY(var(--ry,-9deg)); }
.art-panel .cmp-web{ width:84%; } .art-panel .cmp-wide{ width:90%; } .art-panel .cmp-ai{ width:84%; translate:0 -8%; } .art-panel .cmp-phone{ width:36%; }

.deliv{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:clamp(20px,3vw,48px); }
.deliv > div{ padding:26px 0 40px; border-top:1px solid var(--line); }
.deliv .d-ic{ display:grid; place-items:center; width:46px; height:46px; border-radius:14px; background:var(--soft); color:var(--link); margin-bottom:22px; }
.deliv .d-ic svg{ width:21px; height:21px; }
.deliv h3{ margin-bottom:10px; font-size:clamp(1.15rem,1rem + .5vw,1.45rem); }
.deliv p{ color:var(--muted); margin:0; }
@media (max-width:900px){ .deliv{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .deliv{ grid-template-columns:1fr; } }
.ptypes{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.ptype{ display:flex; flex-direction:column; justify-content:space-between; gap:40px; min-height:250px; padding:clamp(26px,3vw,44px); border-radius:var(--r-lg); background:var(--surface); border:1px solid var(--line); }
.ptype h3{ font-size:clamp(1.7rem,1rem + 1.8vw,2.8rem); letter-spacing:-.045em; line-height:1; font-weight:700; }
.ptype p{ color:var(--muted); margin:0; max-width:40ch; }
.ptype:first-child{ background:var(--grad); color:#15111D; border-color:transparent; }
.ptype:first-child p{ color:rgba(21,17,29,.78); }
@media (max-width:760px){ .ptypes{ grid-template-columns:1fr; } .ptype{ min-height:0; } }
.tl{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(20px,2.4vw,36px); }
.tl li{ position:relative; padding-top:64px; }
.tl li::before{ content:""; position:absolute; left:0; right:calc(clamp(20px,2.4vw,36px) * -1); top:21px; height:2px; background:var(--line); }
.tl li:last-child::before{ right:0; }
.tl .n{ position:absolute; left:0; top:0; display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:var(--grad); color:#15111D; font-weight:700; z-index:1; }
.tl h3{ margin-bottom:10px; font-size:clamp(1.15rem,1rem + .5vw,1.45rem); }
.tl p{ color:var(--muted); margin:0; }
@media (max-width:900px){ .tl{ grid-template-columns:1fr 1fr; row-gap:44px; } .tl li::before{ right:0; } }
@media (max-width:560px){ .tl{ grid-template-columns:1fr; } }
.chips{ display:flex; flex-wrap:wrap; gap:10px; list-style:none; margin:0; padding:0; }
.chips li{ padding:12px 20px; border-radius:999px; background:var(--surface-2); border:1px solid var(--line); font-weight:560; }
.related{ list-style:none; margin:0; padding:0; border-top:1px solid var(--line); }
.related a{ display:flex; justify-content:space-between; align-items:center; gap:20px; padding:28px 0; border-bottom:1px solid var(--line); text-decoration:none; }
.related b{ font-size:clamp(1.6rem,1rem + 2.2vw,3rem); font-weight:700; letter-spacing:-.05em; line-height:1; transition:translate .55s var(--out), color .25s; }
.related span{ color:var(--muted); max-width:36ch; text-align:right; }
.related a:hover b{ translate:.12em 0; color:var(--link); }
@media (max-width:700px){ .related a{ flex-direction:column; align-items:flex-start; } .related span{ text-align:left; } }
.pill{ display:inline-flex; align-items:center; gap:7px; font-size:.86rem; line-height:1; padding:8px 12px; border-radius:999px; background:var(--soft); color:var(--link); font-weight:600; }
.pill svg{ width:15px; height:15px; }

.feat{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:clamp(16px,2.2vw,40px); row-gap:32px; align-items:center; padding-block:clamp(40px,5vw,72px); border-top:1px solid var(--line); }
.feat-copy{ grid-column:1/span 5; }
.feat-art{ grid-column:7/-1; }
.feat:nth-child(even) .feat-copy{ grid-column:8/-1; order:2; }
.feat:nth-child(even) .feat-art{ grid-column:1/span 6; order:1; }
.feat h2{ font-size:clamp(2.2rem,1rem + 3.2vw,4.4rem); margin-bottom:20px; }
.feat ul{ list-style:none; margin:24px 0 30px; padding:0; }
.feat li{ display:flex; gap:12px; align-items:center; padding:10px 0; border-bottom:1px solid var(--line); }
.feat li svg{ width:18px; height:18px; color:var(--link); flex:none; }
.feat .art-panel{ aspect-ratio:1.18/1; }
@media (max-width:900px){ .feat-copy,.feat-art,.feat:nth-child(even) .feat-copy,.feat:nth-child(even) .feat-art{ grid-column:1/-1; order:0; } }

.case{ padding-block:clamp(40px,5vw,80px); }
.case + .case{ border-top:1px solid var(--line); }
.case .work-panel{ aspect-ratio:2.1/1; }
.case .cmp-web{ width:58%; } .case .cmp-wide{ width:64%; } .case .cmp-phone{ width:20%; }
.case-head{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:16px 32px; margin:30px 0; }
.case-head h2{ font-size:clamp(2.2rem,1rem + 3vw,4.2rem); }
.case-head p{ margin:12px 0 0; color:var(--muted); font-size:1.15rem; max-width:46ch; }
.case-cols{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(20px,3vw,48px); }
.case-cols > div{ border-top:1px solid var(--line); padding-top:18px; }
.case-cols h3{ font-size:1rem; letter-spacing:0; color:var(--muted); font-weight:600; margin-bottom:10px; }
.case-cols p{ margin:0; }
@media (max-width:900px){ .case-cols{ grid-template-columns:1fr; } .case .work-panel{ aspect-ratio:1.3/1; } .case .cmp-phone{ width:30%; } .case .cmp-web,.case .cmp-wide{ width:84%; } }

.pstep{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:clamp(16px,2.2vw,40px); row-gap:24px; padding-block:clamp(36px,4vw,60px); border-top:1px solid var(--line); }
.pstep-n{ grid-column:1/span 2; font-size:clamp(3.6rem,2rem + 4.4vw,7rem); font-weight:700; letter-spacing:-.07em; line-height:.8; background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.pstep-main{ grid-column:3/span 4; }
.pstep-main h2{ font-size:clamp(1.9rem,1rem + 2.2vw,3.3rem); margin-bottom:16px; }
.pstep-main p{ color:var(--muted); }
.pstep-list{ grid-column:8/-1; display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.pstep-list h3{ font-size:1rem; letter-spacing:0; color:var(--muted); font-weight:600; margin-bottom:12px; }
.pstep-list ul{ list-style:none; margin:0; padding:0; }
.pstep-list li{ padding:9px 0; border-bottom:1px solid var(--line); }
@media (max-width:1000px){ .pstep-n,.pstep-main,.pstep-list{ grid-column:1/-1; } }
@media (max-width:560px){ .pstep-list{ grid-template-columns:1fr; } }
.models{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.model{ padding:clamp(26px,3vw,40px); border-radius:var(--r-lg); background:var(--surface-2); border:1px solid var(--line); display:flex; flex-direction:column; gap:14px; }
.model h3{ font-size:clamp(1.5rem,1rem + 1vw,2.1rem); letter-spacing:-.04em; font-weight:700; }
.model p{ color:var(--muted); margin:0; }
.model .best{ margin-top:auto; padding-top:18px; border-top:1px solid var(--line); font-size:.95rem; color:var(--ink); }
.model .best b{ font-weight:620; }
.model.is-feature{ background:var(--grad); color:#15111D; border-color:transparent; }
.model.is-feature p,.model.is-feature .best{ color:rgba(21,17,29,.8); border-color:rgba(21,17,29,.2); }
@media (max-width:900px){ .models{ grid-template-columns:1fr; } }
.promise{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 clamp(24px,4vw,64px); }
.promise > div{ padding:30px 0 34px; border-top:1px solid var(--night-line); display:grid; grid-template-columns:48px 1fr; gap:18px; }
.promise .p-ic{ display:grid; place-items:center; width:48px; height:48px; border-radius:50%; background:var(--soft); color:var(--link); }
.promise .p-ic svg{ width:22px; height:22px; }
.promise h3{ margin-bottom:8px; }
.promise p{ margin:0; color:var(--night-muted); }
@media (max-width:800px){ .promise{ grid-template-columns:1fr; } }
.statement{ font-size:clamp(1.7rem,1rem + 2.4vw,3.4rem); font-weight:600; letter-spacing:-.035em; line-height:1.12; max-width:28ch; margin:0; text-wrap:pretty; }
.statement span{ color:var(--muted); }
.princ{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.princ > div{ padding:clamp(28px,3.2vw,48px); border-radius:var(--r-lg); background:var(--surface-2); border:1px solid var(--line); min-height:260px; display:flex; flex-direction:column; justify-content:space-between; gap:32px; }
.princ h3{ font-size:clamp(1.7rem,1rem + 1.7vw,2.7rem); letter-spacing:-.045em; line-height:1; font-weight:700; }
.princ p{ color:var(--muted); margin:0; max-width:44ch; }
@media (max-width:800px){ .princ{ grid-template-columns:1fr; } .princ > div{ min-height:0; } }
.who{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(20px,3vw,48px); }
.who > div{ border-top:2px solid; border-image:var(--grad) 1; padding-top:20px; }
.who h3{ margin-bottom:12px; }
.who p{ color:var(--muted); margin:0; }
@media (max-width:900px){ .who{ grid-template-columns:1fr; } }

/* FAQ */
.faq{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:clamp(16px,2.2vw,36px); row-gap:36px; }
.faq-head{ grid-column:1/span 4; }
.faq-head h2{ margin-bottom:20px; }
.faq-list{ grid-column:6/-1; }
@media (max-width:900px){ .faq-head,.faq-list{ grid-column:1/-1; } }
.qa{ border-top:1px solid var(--line); interpolate-size:allow-keywords; }
.qa:last-child{ border-bottom:1px solid var(--line); }
.qa summary{ list-style:none; display:flex; justify-content:space-between; align-items:center; gap:24px; padding:24px 0; cursor:pointer; font-size:clamp(1.08rem,1rem + .4vw,1.32rem); font-weight:620; letter-spacing:-.02em; line-height:1.3; }
.qa summary::-webkit-details-marker{ display:none; }
.qa .pm{ position:relative; flex:none; width:34px; height:34px; border-radius:50%; border:1px solid var(--line-strong); transition:background-color .25s, border-color .25s, color .25s; }
.qa .pm::before,.qa .pm::after{ content:""; position:absolute; left:50%; top:50%; width:12px; height:1.6px; background:currentColor; translate:-50% -50%; transition:rotate .35s var(--out); }
.qa .pm::after{ rotate:90deg; }
.qa[open] .pm{ background:var(--ember); border-color:var(--ember); color:#15111D; }
.qa[open] .pm::after{ rotate:0deg; }
.qa .qa-body{ padding:0 0 26px; color:var(--muted); max-width:62ch; }
.qa .qa-body p:last-child{ margin-bottom:0; }
.qa::details-content{ height:0; overflow:clip; transition:height .45s var(--out), content-visibility .45s allow-discrete; }
.qa[open]::details-content{ height:auto; }

/* Contact */
.contact-grid{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:clamp(16px,2.2vw,40px); row-gap:56px; }
.contact-form{ grid-column:1/span 7; }
.contact-aside{ grid-column:9/-1; }
@media (max-width:1000px){ .contact-form,.contact-aside{ grid-column:1/-1; } }
.form{ display:grid; gap:30px; }
.form[hidden]{ display:none; }
.two{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
@media (max-width:600px){ .two{ grid-template-columns:1fr; } }
.field label,.form legend{ display:block; font-weight:620; margin-bottom:10px; padding:0; }
.field label span,.form legend span{ color:var(--muted); font-weight:430; }
.form input[type="text"],.form input[type="email"],.form textarea{
  width:100%; min-height:56px; padding:15px 18px; border-radius:16px; border:1px solid var(--line-strong); background:var(--surface);
  color:var(--ink); font:inherit; transition:border-color .2s, box-shadow .2s;
}
.form textarea{ min-height:160px; resize:vertical; line-height:1.5; }
.form input:focus,.form textarea:focus{ outline:none; border-color:var(--ember); box-shadow:0 0 0 4px rgba(255,107,61,.22); }
.form fieldset{ border:0; margin:0; padding:0; min-width:0; }
.chip-set{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ position:relative; }
.chip input{ position:absolute; opacity:0; width:1px; height:1px; }
.chip span{ display:inline-flex; align-items:center; height:44px; padding:0 18px; border-radius:999px; border:1px solid var(--line-strong); background:var(--surface); cursor:pointer; font-weight:540; transition:background-color .2s, color .2s, border-color .2s; }
.chip span:hover{ border-color:var(--ink); }
.chip input:checked + span{ background:var(--ember); color:#170D0A; border-color:var(--ember); }
.chip input:focus-visible + span{ outline:2px solid var(--link); outline-offset:3px; }
.form-actions{ display:flex; flex-wrap:wrap; gap:16px 24px; align-items:center; }
.form-actions p{ margin:0; color:var(--muted); font-size:.94rem; max-width:40ch; }
.form-done{ padding:clamp(28px,4vw,48px); border-radius:var(--r-lg); background:var(--surface); border:1px solid var(--line); }
.form-done h2{ font-size:clamp(1.9rem,1rem + 2vw,2.9rem); margin-bottom:14px; }
.form-done p{ color:var(--muted); }
.next-steps{ list-style:none; margin:0 0 40px; padding:0; counter-reset:n; }
.next-steps li{ counter-increment:n; display:grid; grid-template-columns:40px 1fr; gap:14px; padding:18px 0; border-top:1px solid var(--line); }
.next-steps li::before{ content:counter(n); display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--soft); color:var(--link); font-weight:700; font-size:.92rem; }
.next-steps b{ display:block; margin-bottom:2px; }
.next-steps span{ color:var(--muted); font-size:.96rem; }
.aside-box{ padding:26px; border-radius:var(--r-lg); background:var(--grad); color:#15111D; }
.aside-box p{ margin:0 0 6px; color:rgba(21,17,29,.78); }
.aside-box a{ font-size:clamp(1.25rem,1rem + .8vw,1.65rem); font-weight:700; letter-spacing:-.03em; color:#15111D; }
.nf{ min-height:70vh; display:grid; align-content:center; }

/* ================================================================
   Product visuals (fixed colours: they depict client products)
   ================================================================ */
.mk{ container-type:inline-size; }
.m{ --m-bg:#fff; --m-ink:#10142F; --m-muted:#6B7196; --m-line:#E7E9F2; --m-soft:#F4F5FA; --m-acc:#2335FF;
  font-family:var(--font); color:var(--m-ink); line-height:1.3; font-stretch:100%; letter-spacing:0; text-align:left; }
.m *{ margin:0; }
.m i{ font-style:normal; }
.mi{ width:1em; height:1em; flex:none; }
.bld{ position:relative; }
.bld::after{ content:""; position:absolute; inset:-.3em; border:1.5px dashed rgba(35,53,255,.55); border-radius:.6em; background:rgba(35,53,255,.04); opacity:0; pointer-events:none; }

/* browser */
.mk-browser .m{ font-size:1.72cqi; }
.m-browser{ background:var(--m-bg); border-radius:1.1em; overflow:hidden; box-shadow:0 0 0 1px rgba(10,13,60,.06),0 2.4em 4.6em -1.6em rgba(4,8,70,.55),0 .6em 1.4em -.5em rgba(4,8,70,.25); }
.mb-bar{ display:flex; align-items:center; gap:.45em; height:2.7em; padding:0 1em; background:var(--m-soft); border-bottom:1px solid var(--m-line); }
.mb-bar > i{ width:.72em; height:.72em; border-radius:50%; background:#D9DCE8; }
.mb-url{ display:flex; align-items:center; gap:.45em; height:1.8em; margin-inline:auto; padding:0 1.2em; translate:-1.4em 0; border-radius:999px; background:var(--m-bg); border:1px solid var(--m-line); font-size:.82em; color:var(--m-muted); }
.mb-site{ --m-acc:#0B6B66; padding:1.3em 1.7em 1.7em; }
.ms-nav{ display:flex; align-items:center; gap:1.3em; font-size:.8em; }
.ms-logo{ display:flex; align-items:center; gap:.45em; font-weight:700; font-size:1.15em; letter-spacing:-.01em; }
.ms-logo span{ width:1.15em; height:1.15em; border-radius:.4em .4em .4em .1em; background:var(--m-acc); }
.ms-links{ display:flex; gap:1.3em; margin-left:auto; color:var(--m-muted); }
.ms-btn{ display:inline-flex; align-items:center; height:2.35em; padding:0 1.05em; border-radius:999px; background:var(--m-acc); color:#fff; font-weight:600; white-space:nowrap; }
.ms-btn.ghost{ background:transparent; color:var(--m-ink); box-shadow:inset 0 0 0 1px var(--m-line); }
.ms-hero{ display:grid; grid-template-columns:1.05fr 1fr; gap:1.5em; align-items:center; margin-top:1.7em; }
.ms-copy h4{ font-size:2.15em; line-height:1.02; letter-spacing:-.035em; font-weight:700; font-stretch:110%; }
.ms-copy p{ margin:.85em 0 1.2em; font-size:.84em; line-height:1.45; color:var(--m-muted); max-width:24em; }
.ms-copy .ms-btn{ font-size:.78em; margin-right:.45em; }
.ms-media{ position:relative; aspect-ratio:1/.8; border-radius:1em; overflow:hidden; background:linear-gradient(180deg,#BFE2D9,#EAF5F1); }
.ms-art .sun{ position:absolute; width:22%; aspect-ratio:1; right:16%; top:14%; border-radius:50%; background:#FFD29B; }
.ms-art .hill{ position:absolute; border-radius:50% 50% 0 0; }
.ms-art .h1{ width:120%; height:62%; left:-40%; bottom:-22%; background:#7CC3B3; }
.ms-art .h2{ width:110%; height:52%; right:-45%; bottom:-24%; background:#2E8F82; }
.ms-book{ position:absolute; left:.8em; right:2.4em; bottom:.8em; padding:.75em .85em; border-radius:.75em; background:#fff; font-size:.72em; box-shadow:0 .7em 1.5em -.6em rgba(0,50,50,.4); }
.ms-book small{ display:block; color:var(--m-muted); }
.ms-book b{ display:block; font-size:1.2em; margin:.1em 0 .55em; }
.m .slots{ display:flex; gap:.35em; }
.m .slots i{ padding:.35em .6em; border-radius:.5em; background:var(--m-soft); font-weight:600; transition:background-color .4s, color .4s; }
.m .slots i.on{ background:var(--m-acc); color:#fff; }
.ms-tiles{ display:grid; grid-template-columns:repeat(3,1fr); gap:.85em; margin-top:1.5em; font-size:.76em; }
.ms-tiles > div{ display:grid; gap:.15em; padding:.85em; border-radius:.85em; border:1px solid var(--m-line); }
.ms-tiles .ic{ width:1.9em; height:1.9em; border-radius:.55em; background:#DDF0EB; margin-bottom:.45em; }
.ms-tiles small{ color:var(--m-muted); }

/* phone */
.mk-phone .m{ font-size:5.4cqi; }
.cmp-phone .mk-phone,.cmp-mini-phone .mk-phone{ width:100%; }
.m-phone{ aspect-ratio:9/19.3; padding:.5em; border-radius:3.1em; background:#0E1230; box-shadow:0 0 0 1px rgba(255,255,255,.08) inset,0 2.6em 5em -1.6em rgba(4,8,70,.6),0 .7em 1.4em -.5em rgba(4,8,70,.3); }
.mp-screen{ --m-acc:#FF6B2C; position:relative; display:flex; flex-direction:column; height:100%; padding:0 1.05em; border-radius:2.65em; background:#F6F6F9; overflow:hidden; }
.mp-status{ display:flex; justify-content:space-between; align-items:center; height:3em; padding:0 .55em; font-size:.88em; }
.mp-notch{ width:6.4em; height:1.9em; border-radius:999px; background:#0E1230; }
.mp-sig{ display:flex; gap:.15em; align-items:flex-end; }
.mp-sig i{ width:.3em; border-radius:.1em; background:var(--m-ink); }
.mp-sig i:nth-child(1){ height:.45em; } .mp-sig i:nth-child(2){ height:.65em; } .mp-sig i:nth-child(3){ height:.85em; }
.mp-head{ margin-top:.5em; }
.mp-head small{ color:var(--m-muted); font-size:.85em; }
.mp-head h5{ font-size:1.6em; font-weight:700; font-stretch:106%; letter-spacing:-.03em; line-height:1.05; margin-top:.15em; }
.mp-card{ margin-top:1em; padding:1em; border-radius:1.3em; background:var(--m-acc); color:#fff; }
.mp-card-top{ display:flex; justify-content:space-between; align-items:baseline; font-size:.9em; }
.mp-card-top small{ opacity:.85; }
.mp-map{ width:100%; margin:.6em 0 .7em; }
.mp-prog{ height:.45em; border-radius:999px; background:rgba(255,255,255,.3); }
.mp-prog i{ display:block; height:100%; border-radius:inherit; background:#fff; transition:width .8s var(--out); }
.mp-list{ list-style:none; display:grid; gap:.5em; margin-top:.9em !important; padding:0; }
.mp-list li{ display:grid; grid-template-columns:auto 1fr auto; gap:.7em; align-items:center; padding:.75em .8em; border-radius:1em; background:#fff; font-size:.84em; }
.mp-list b{ display:block; font-weight:620; }
.mp-list small{ display:block; color:var(--m-muted); font-size:.86em; }
.mp-list .dot{ width:.75em; height:.75em; border-radius:50%; background:var(--m-line); transition:background-color .4s, box-shadow .4s; }
.mp-list li.done .dot{ background:#2FD69E; }
.mp-list li.next .dot{ background:var(--m-acc); box-shadow:0 0 0 .3em rgba(255,107,44,.2); }
.mp-list em{ font-style:normal; font-size:.8em; font-weight:600; padding:.3em .6em; border-radius:999px; background:var(--m-soft); color:var(--m-muted); transition:background-color .4s, color .4s; }
.mp-list li.done em{ background:#DFF7EE; color:#118A60; }
.mp-list li.next em{ background:#FFEBDF; color:#C2490F; }
.mp-tabs{ display:flex; justify-content:space-around; margin:auto -1.05em 0; padding:.9em 0 1.3em; border-top:1px solid var(--m-line); background:#fff; }
.mp-tabs i{ width:1.4em; height:1.4em; border-radius:.45em; background:var(--m-line); }
.mp-tabs i.on{ background:var(--m-acc); }

/* workflow */
.mk-flow .m{ font-size:2.3cqi; }
.m-flow{ padding:1.15em 1.3em 1.25em; border-radius:1.2em; background:#fff; box-shadow:0 0 0 1px rgba(10,13,60,.05),0 2.4em 4.4em -1.4em rgba(4,8,70,.55),0 .6em 1.2em -.5em rgba(4,8,70,.22); }
.mf-head{ display:flex; justify-content:space-between; align-items:center; font-size:.95em; }
.mf-title{ display:flex; align-items:center; gap:.5em; font-weight:650; }
.mf-title svg{ width:1.3em; height:1.3em; color:var(--m-acc); }
.mf-live{ display:inline-flex; align-items:center; gap:.4em; padding:.3em .7em; border-radius:999px; background:#DFF7EE; color:#118A60; font-size:.85em; font-weight:600; }
.mf-live i{ width:.5em; height:.5em; border-radius:50%; background:#2FD69E; animation:blink 1.8s infinite; }
.mf-track{ display:flex; align-items:flex-start; margin:1.25em 0 1.1em; }
.mf-node{ flex:none; width:6.4em; display:grid; justify-items:center; gap:.55em; text-align:center; font-size:.8em; }
.mf-node .ic{ display:grid; place-items:center; width:3.1em; height:3.1em; border-radius:.95em; background:var(--m-soft); border:1px solid var(--m-line); }
.mf-node .ic svg{ width:1.45em; height:1.45em; }
.mf-node b{ font-weight:600; line-height:1.2; }
.mf-node.ai .ic{ background:var(--m-acc); border-color:var(--m-acc); color:#fff; box-shadow:0 .45em 1.1em -.3em rgba(35,53,255,.65); }
.mf-wire{ position:relative; flex:1; height:2px; margin-top:1.24em; background:repeating-linear-gradient(90deg,#CDD1E3 0 .4em,transparent .4em .7em); }
.mf-wire::after{ content:""; position:absolute; top:50%; left:0; width:.6em; height:.6em; border-radius:50%; background:var(--m-acc); box-shadow:0 0 0 .28em rgba(35,53,255,.16); translate:-50% -50%; animation:packet 2.4s var(--inout) infinite; animation-delay:var(--wd,0s); }
.mf-log{ display:flex; align-items:center; gap:.65em; padding:.75em .9em; border-radius:.85em; background:var(--m-soft); font-size:.86em; }
.mf-log .ok{ display:grid; place-items:center; flex:none; width:1.6em; height:1.6em; border-radius:50%; background:#2FD69E; color:#fff; }
.mf-log .ok svg{ width:1em; height:1em; }
.mf-log b{ font-weight:600; transition:opacity .35s; }
.mf-log small{ margin-left:auto; color:var(--m-muted); white-space:nowrap; transition:opacity .35s; }
.mf-log.is-swap b,.mf-log.is-swap small{ opacity:0; }

/* dashboard */
.mk-dash .m{ font-size:1.55cqi; }
.m-dash{ display:grid; grid-template-columns:12em 1fr; aspect-ratio:16/10.2; border-radius:1.1em; overflow:hidden; background:var(--m-bg); box-shadow:0 0 0 1px rgba(10,13,60,.06),0 2.4em 4.6em -1.6em rgba(4,8,70,.5),0 .6em 1.4em -.5em rgba(4,8,70,.22); }
.md-side{ padding:1.4em 1em; background:#0F1330; color:#BFC4E6; font-size:.86em; }
.md-logo{ display:flex; align-items:center; gap:.55em; margin-bottom:1.7em; color:#fff; font-weight:700; font-size:1.1em; }
.md-logo span{ width:1.25em; height:1.25em; border-radius:.4em; background:#6F7BFF; }
.md-nav i{ display:block; padding:.6em .75em; border-radius:.6em; }
.md-nav i.on{ background:rgba(255,255,255,.1); color:#fff; }
.md-main{ display:grid; grid-template-rows:auto auto 1fr; gap:1em; padding:1.3em 1.4em; background:var(--m-soft); min-width:0; }
.md-top{ display:flex; align-items:center; gap:1em; }
.md-top h5{ font-size:1.45em; font-weight:700; letter-spacing:-.02em; }
.md-search{ display:flex; align-items:center; gap:.5em; margin-left:auto; width:15em; padding:.5em 1em; border-radius:999px; background:#fff; border:1px solid var(--m-line); font-size:.82em; color:var(--m-muted); }
.md-av{ width:2.1em; height:2.1em; border-radius:50%; background:linear-gradient(135deg,#FFB547,#FF6B2C); }
.md-kpis{ display:grid; grid-template-columns:repeat(3,1fr); gap:.85em; }
.md-kpis > div{ padding:.95em 1.05em; border-radius:.95em; background:#fff; border:1px solid var(--m-line); }
.md-kpis small{ display:block; color:var(--m-muted); font-size:.78em; }
.md-kpis b{ display:block; margin:.15em 0 .1em; font-size:1.85em; font-weight:700; font-stretch:106%; letter-spacing:-.03em; }
.md-kpis em{ font-style:normal; font-size:.74em; font-weight:600; color:#118A60; }
.md-kpis em.n{ color:#A86100; }
.md-row{ display:grid; grid-template-columns:1.15fr 1fr; gap:.85em; min-height:0; }
.md-chart,.md-table{ display:flex; flex-direction:column; padding:.95em 1.05em; border-radius:.95em; background:#fff; border:1px solid var(--m-line); min-height:0; }
.md-h{ display:flex; justify-content:space-between; align-items:baseline; gap:.5em; margin-bottom:.6em; font-size:.85em; }
.md-h small{ color:var(--m-muted); font-size:.88em; }
.md-chart svg{ flex:1; width:100%; height:100%; min-height:4em; }
.md-table{ font-size:.78em; }
.m .tr{ display:grid; grid-template-columns:1.5fr 1fr auto; gap:.6em; align-items:center; padding:.55em 0; border-top:1px solid var(--m-line); }
.m .tr b{ font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.m .tr span:not(.chip){ color:var(--m-muted); font-variant-numeric:tabular-nums; }
.m .chip{ padding:.25em .6em; border-radius:999px; font-weight:600; font-size:.88em; white-space:nowrap; }
.m .chip.ok{ background:#DFF7EE; color:#118A60; }
.m .chip.warn{ background:#FFF0D9; color:#A86100; }
.m .chip.info{ background:#E6E8FF; color:#2335FF; }

/* design canvas */
.mk-canvas .m{ font-size:1.55cqi; }
.m-canvas{ display:grid; grid-template-rows:auto 1fr; aspect-ratio:16/10.2; border-radius:1.1em; overflow:hidden; background:#1A1D33; box-shadow:0 0 0 1px rgba(255,255,255,.06),0 2.4em 4.6em -1.6em rgba(4,8,70,.55); }
.mc-bar{ display:flex; align-items:center; gap:1em; height:2.9em; padding:0 1em; background:#13162A; border-bottom:1px solid rgba(255,255,255,.06); color:#C9CDEA; font-size:.82em; }
.mc-tools{ display:flex; gap:.35em; }
.mc-tools i{ width:1.75em; height:1.75em; border-radius:.45em; background:rgba(255,255,255,.08); }
.mc-tools i.on{ background:#6F7BFF; }
.mc-bar b{ margin:0 auto; color:#fff; font-weight:600; }
.mc-avatars{ display:flex; }
.mc-avatars i{ width:1.65em; height:1.65em; margin-left:-.45em; border-radius:50%; border:2px solid #13162A; background:#FF5FA2; }
.mc-avatars i:nth-child(2){ background:#FFB547; } .mc-avatars i:nth-child(3){ background:#2FD69E; }
.mc-share{ padding:.4em .95em; border-radius:.5em; background:#6F7BFF; color:#fff; font-weight:600; }
.mc-body{ display:grid; grid-template-columns:9.5em 1fr 9.5em; min-height:0; }
.mc-layers,.mc-props{ display:flex; flex-direction:column; gap:.3em; padding:1em .9em; background:#13162A; color:#9BA1C9; font-size:.76em; }
.mc-layers small,.mc-props small{ margin:.3em 0 .4em; color:#fff; font-weight:600; }
.mc-layers i{ padding:.5em .65em; border-radius:.45em; }
.mc-layers i.on{ background:rgba(111,123,255,.2); color:#fff; }
.m .pr{ display:flex; justify-content:space-between; padding:.45em .6em; border-radius:.45em; background:rgba(255,255,255,.05); }
.m .pr em{ font-style:normal; } .pr b{ color:#fff; font-weight:600; }
.m .sw{ display:flex; gap:.4em; }
.m .sw i{ width:1.6em; height:1.6em; border-radius:.45em; background:#2335FF; }
.m .sw i:nth-child(2){ background:#FF5FA2; } .sw i:nth-child(3){ background:#F6F6F9; } .sw i:nth-child(4){ background:#10142F; outline:1px solid rgba(255,255,255,.2); }
.mc-stage{ position:relative; display:flex; align-items:center; justify-content:center; gap:2.2em; padding:1.6em; background-color:#22253C; background-image:radial-gradient(rgba(255,255,255,.08) 1px,transparent 1px); background-size:1.3em 1.3em; }
.mc-frame{ position:relative; flex:none; width:12.5em; aspect-ratio:9/15.5; border-radius:.9em; padding:1.3em .95em; display:flex; flex-direction:column; gap:.55em; }
.mc-frame > small{ position:absolute; left:0; top:-1.7em; font-size:.72em; color:#9BA1C9; }
.mc-frame.wire{ background:#2B2E48; border:1px dashed rgba(255,255,255,.2); }
.mc-frame.wire i{ display:block; height:.7em; border-radius:.3em; background:rgba(255,255,255,.13); }
.mc-frame.wire i.w60{ width:60%; } .mc-frame.wire i.w90{ width:90%; height:1.2em; }
.mc-frame.wire i.box{ height:2.1em; border-radius:.5em; background:transparent; border:1px solid rgba(255,255,255,.16); }
.mc-frame.wire i.pill{ margin-top:auto; height:2em; border-radius:999px; background:rgba(255,255,255,.18); }
.mc-frame.ui{ background:#fff; color:#10142F; box-shadow:0 0 0 2px #6F7BFF; }
.mc-frame.ui h6{ font-size:1.1em; font-weight:700; line-height:1.15; letter-spacing:-.01em; }
.mc-frame.ui p{ font-size:.72em; color:#6B7196; line-height:1.35; margin-bottom:.3em; }
.m .opt{ display:flex; justify-content:space-between; align-items:center; padding:.6em .65em; border-radius:.6em; border:1px solid #E7E9F2; font-size:.74em; font-weight:550; }
.m .opt i{ width:1em; height:1em; border-radius:.3em; border:1px solid #C3C7D9; }
.m .opt.on{ border-color:#2335FF; background:#F0F1FF; }
.m .opt.on i{ background:#2335FF; border-color:#2335FF; }
.mc-frame .cta{ margin-top:auto; padding:.65em; border-radius:999px; background:#2335FF; color:#fff; text-align:center; font-size:.76em; font-weight:600; }
.m .hdl{ position:absolute; width:.55em; height:.55em; background:#fff; border:1.5px solid #6F7BFF; }
.m .hdl.a{ left:-.3em; top:-.3em; } .hdl.b{ right:-.3em; top:-.3em; } .hdl.c{ left:-.3em; bottom:-.3em; } .hdl.d{ right:-.3em; bottom:-.3em; }
.mc-cursor{ position:absolute; left:60%; top:64%; display:flex; align-items:flex-start; animation:cursor 7s var(--inout) infinite; }
.mc-cursor svg{ width:1.3em; height:1.3em; }
.mc-cursor span{ margin:.9em 0 0 -.2em; padding:.2em .5em; border-radius:.4em; background:#FF5FA2; color:#fff; font-size:.72em; font-weight:600; }

/* small cards */
.mk-card .m{ font-size:4.6cqi; }
.m-card{ padding:1em 1.1em; border-radius:1em; background:#fff; box-shadow:0 0 0 1px rgba(10,13,60,.05),0 1.8em 3.4em -1.2em rgba(4,8,70,.55); }
.mcd-h{ display:flex; justify-content:space-between; align-items:center; gap:.6em; margin-bottom:.75em; font-size:.95em; }
.m-card .pill{ font-size:.78em; padding:.35em .65em; }
.m-card .pill.ok{ background:#DFF7EE; color:#118A60; }
.m-card .pill.warn{ background:#FFF0D9; color:#A86100; }
.m .vit{ display:grid; grid-template-columns:1fr auto; gap:.25em .6em; padding:.45em 0; font-size:.86em; }
.m .vit span{ color:var(--m-muted); }
.m .vit b{ font-weight:650; }
.m .vit i{ grid-column:1/-1; height:.35em; border-radius:999px; background:linear-gradient(90deg,#2FD69E var(--w),#ECEEF5 var(--w)); }
.mcd-p{ font-size:.84em; line-height:1.45; color:#3C4166; }
.mcd-act{ display:flex; gap:.45em; margin-top:.8em; font-size:.82em; }
.mcd-act .b{ padding:.5em .85em; border-radius:999px; border:1px solid var(--m-line); font-weight:600; }
.mcd-act .pri{ background:#2335FF; border-color:#2335FF; color:#fff; }

@keyframes packet{ 0%{ left:0; opacity:0; } 12%{ opacity:1; } 88%{ opacity:1; } 100%{ left:100%; opacity:0; } }
@keyframes blink{ 0%,100%{ opacity:1; } 50%{ opacity:.35; } }
@keyframes cursor{ 0%,100%{ translate:0 0; } 30%{ translate:-3.5em -5em; } 55%{ translate:-1.2em -2.2em; } 75%{ translate:1em .8em; } }


/* AI copilot */
.mk-chat .m{ font-size:3.55cqi; }
.m-chat{ display:flex; flex-direction:column; aspect-ratio:4/4.9; border-radius:1.3em; overflow:hidden; background:#fff; box-shadow:0 0 0 1px rgba(10,13,60,.06),0 2.4em 4.6em -1.6em rgba(4,8,70,.55),0 .6em 1.4em -.5em rgba(4,8,70,.25); }
.mch-head{ display:flex; align-items:center; gap:.55em; padding:.9em 1em; border-bottom:1px solid var(--m-line); font-size:.95em; }
.mch-ic{ display:grid; place-items:center; flex:none; width:1.9em; height:1.9em; border-radius:.6em; background:linear-gradient(135deg,#FF6B3D,#B65CFF); color:#fff; }
.mch-ic svg{ width:1.05em; height:1.05em; }
.mch-head b{ font-weight:650; }
.mch-badge{ margin-left:auto; font-size:.76em; font-weight:600; padding:.3em .65em; border-radius:999px; background:#DFF7EE; color:#118A60; white-space:nowrap; }
.mch-body{ flex:1; display:flex; flex-direction:column; gap:.6em; padding:1em; background:#F7F7FB; overflow:hidden; }
.msg{ max-width:88%; padding:.7em .85em; border-radius:1em; font-size:.86em; line-height:1.4; }
.msg.u{ align-self:flex-end; background:#15111D; color:#fff; border-bottom-right-radius:.3em; }
.msg.a{ align-self:flex-start; background:#fff; border:1px solid var(--m-line); border-bottom-left-radius:.3em; }
.msg.a b{ font-weight:650; }
.srcs,.acts{ display:flex; flex-wrap:wrap; gap:.35em; margin-top:.6em; }
.srcs i{ display:inline-flex; align-items:center; gap:.3em; padding:.25em .55em; border-radius:.45em; background:#F1EEF8; color:#5F5872; font-size:.85em; font-weight:550; }
.acts i{ padding:.4em .75em; border-radius:999px; border:1px solid var(--m-line); font-weight:600; font-size:.88em; }
.acts i.pri{ background:#FF6B3D; border-color:#FF6B3D; color:#170D0A; }
.msg.typing{ display:flex; gap:.3em; padding:.85em .95em; }
.msg.typing i{ width:.45em; height:.45em; border-radius:50%; background:#B8B2C6; animation:dots 1.2s infinite; }
.msg.typing i:nth-child(2){ animation-delay:.15s; } .msg.typing i:nth-child(3){ animation-delay:.3s; }
@keyframes dots{ 0%,80%,100%{ opacity:.3; transform:translateY(0); } 40%{ opacity:1; transform:translateY(-.25em); } }
.mch-input{ display:flex; align-items:center; gap:.6em; margin:.8em; padding:.5em .5em .5em .95em; border-radius:999px; border:1px solid var(--m-line); font-size:.85em; color:var(--m-muted); }
.mch-input b{ margin-left:auto; display:grid; place-items:center; width:2em; height:2em; border-radius:50%; background:#15111D; color:#fff; }
/* ---------- Compositions of product visuals ---------- */
.cmp{ position:relative; transform-style:preserve-3d; }
.cmp-web{ width:76%; }
.cmp-web .cmp-card{ position:absolute; right:-7%; bottom:-12%; width:40%; transform:translateZ(70px); }
.cmp-ai{ width:80%; }
.cmp-ai .cmp-card{ position:absolute; right:-5%; bottom:-34%; width:52%; transform:translateZ(70px); }
.cmp-wide{ width:84%; }
.cmp-phone{ width:31%; container-type:inline-size; }
.cmp-mini{ width:84%; }
.cmp-chat{ width:44%; translate:-22% 0; }
.cmp-chat .cmp-card{ position:absolute; right:-64%; bottom:12%; width:74%; transform:translateZ(80px); }
.art-panel .cmp-chat{ width:44%; } .vis-layer .cmp-chat{ width:40%; } .ch-art-m .cmp-chat{ width:44%; }
.wcard .cmp-chat{ width:34%; } .case .cmp-chat{ width:27%; }
@media (max-width:900px){ .case .cmp-chat{ width:40%; } }
.cmp-mini-phone{ width:34%; }
.float{
  position:absolute; display:flex; gap:.6em; align-items:center; width:118%; padding:.75em .85em; border-radius:1em;
  background:#fff; color:#10142F; font-size:5.2cqi; line-height:1.25; box-shadow:0 1.2em 2.4em -1em rgba(20,10,0,.45); transform:translateZ(60px);
}
.float b{ display:block; font-weight:650; }
.float small{ display:block; color:#6B7196; font-size:.86em; }
.float .fi{ display:grid; place-items:center; flex:none; width:2.2em; height:2.2em; border-radius:.7em; background:#F1F2F8; color:#10142F; }
.float .fi.ok{ background:#DFF7EE; color:#118A60; }
.float .fi svg{ width:1.2em; height:1.2em; }
.float.f1{ left:-88%; top:14%; }
.float.f2{ right:-88%; bottom:22%; }
.vis-layer.is-active > .cmp,.ch-art-m > .cmp{ animation:floaty 7s ease-in-out infinite; }
@keyframes floaty{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-12px); } }
.cursor.is-hide{ opacity:0 !important; }

/* ---------- Page transitions ---------- */
.wipe{ position:fixed; inset:0; z-index:90; background:var(--grad); pointer-events:none; transform:translateY(100%); }
.wipe.is-in{ transform:translateY(0); transition:transform .45s var(--inout); }
.wipe.is-out{ transform:translateY(-100%); transition:transform .6s var(--inout); }
@view-transition{ navigation:auto; }
::view-transition-old(root){ animation:vtOut .3s var(--inout) both; }
::view-transition-new(root){ animation:vtIn .5s var(--out) both; }
@keyframes vtOut{ to{ opacity:0; translate:0 -16px; } }
@keyframes vtIn{ from{ opacity:0; translate:0 22px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-delay:0s !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
  .mf-wire::after{ display:none; }
  @view-transition{ navigation:none; }
}


/* --- Hero 2-Column Split Fix (Eliminates empty right space on desktop) --- */
@media (min-width: 1024px) {
  .s-hero .wrap.hero-header-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: clamp(24px, 4vw, 56px);
  }
  .s-hero .wrap.hero-header-wrap .hero-copy-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .s-hero .wrap.hero-header-wrap .hero-title {
    max-width: 14ch;
    margin-bottom: 24px;
  }
  .s-hero .wrap.hero-header-wrap .hero-sub {
    font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.25rem);
    line-height: 1.55;
    color: var(--muted);
    max-width: 38ch;
    margin: 0 0 28px;
  }
  .s-hero .wrap.hero-header-wrap .hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    margin: 0;
  }
  .s-hero .wrap.hero-header-wrap .hero-visual-col {
    width: 100%;
    margin-top: 0;
  }
  .s-hero .wrap.hero-header-wrap .stage {
    max-width: 100%;
    aspect-ratio: 1.35 / 1;
    perspective: 1800px;
  }
  .s-hero .wrap.hero-header-wrap .stage .mk-browser {
    left: 2%;
    top: 0;
    width: 80%;
  }
  .s-hero .wrap.hero-header-wrap .stage .mk-phone {
    right: 0%;
    top: 14%;
    width: 28%;
  }
  .s-hero .wrap.hero-header-wrap .stage .mk-flow {
    left: 0%;
    bottom: 0%;
    width: 62%;
  }
}

/* Ensure the mockups are visible and don't get stuck hidden */
.s-hero .stage .mk {
  opacity: 1;
}

@media (max-width: 1023px) {
  .s-hero .wrap.hero-header-wrap .hero-visual-col {
    margin-top: clamp(36px, 5vw, 64px);
  }
}



/* ================================================================
   SCENE 2 (THE PROBLEM / "HERE'S WHAT CHANGED") FIXES
   ================================================================ */
.s-problem {
  padding-block: clamp(56px, 8vw, 100px);
  position: relative;
  isolation: isolate;
}

.problem-grid-split {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr;
  column-gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

/* Left Column */
.problem-copy-col {
  display: flex;
  flex-direction: column;
}

.problem-copy-col .lead-in {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.25rem);
  font-weight: 600;
  color: var(--link);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.problem-copy-col .scrub-text {
  font-size: clamp(1.6rem, 1rem + 1.8vw, 2.5rem);
  line-height: 1.24;
  letter-spacing: -0.035em;
  font-weight: 650;
  max-width: 32ch;
  margin: 0 0 28px;
  text-wrap: pretty;
  color: var(--ink);
}

.shift-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.shift-card-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.3s, background-color 0.3s;
}
.shift-card-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
}

.shift-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--link);
  flex-shrink: 0;
  margin-top: 2px;
}

.shift-card-item b {
  display: block;
  font-size: 0.98rem;
  font-weight: 620;
  color: var(--ink);
  margin-bottom: 2px;
  line-height: 1.25;
}

.shift-card-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.problem-copy-col .problem-turn {
  margin-top: 6px;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.7rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.35;
  max-width: 34ch;
}

/* Right Column (Visual Comparison Component) */
.problem-visual-col {
  width: 100%;
  position: relative;
}

.shift-visual-panel {
  position: relative;
  border-radius: var(--r-xl);
  perspective: 1800px;
}

.shift-comparison-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(16px, 2.5vw, 24px);
  box-shadow: 0 30px 80px -25px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.shift-comparison-card::before {
  content: "";
  position: absolute;
  inset: -20% -15%;
  background: radial-gradient(circle at 75% 30%, rgba(255, 107, 61, 0.16), rgba(182, 92, 255, 0.12), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

.scc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.scc-tag {
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.scc-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--mint);
  background: rgba(63, 224, 176, 0.12);
  padding: 3px 9px;
  border-radius: 999px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 6px var(--mint);
  animation: blink 1.8s infinite;
}

.scc-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scc-row {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr;
  align-items: center;
  gap: 10px;
}

.col-lbl {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 4px;
}

.scc-box {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.82rem;
}
.scc-box.highlight {
  background: rgba(255, 107, 61, 0.08);
  border-color: rgba(255, 107, 61, 0.28);
}

.box-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 650;
  padding: 2px 7px;
  border-radius: 6px;
  margin-bottom: 5px;
}
.box-badge.old {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}
.box-badge.new {
  background: var(--ember);
  color: #15111D;
}

.scc-box p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
}
.scc-box.highlight p {
  color: var(--ink);
}

.scc-arrow {
  color: var(--muted);
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}

.scc-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.scc-stat b {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.scc-stat small {
  font-size: 0.74rem;
  color: var(--muted);
}

/* Responsive adjustment for Scene 2 */
@media (max-width: 990px) {
  .problem-grid-split {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }
  .problem-copy-col .scrub-text {
    max-width: 100%;
  }
  .scc-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .scc-arrow {
    display: none;
  }
}


/* ================================================================
   2ND FOLD ("HERE'S WHAT CHANGED") REDESIGN & SIDE-BY-SIDE VISUAL
   ================================================================ */
.s-problem {
  padding-block: clamp(64px, 8vw, 110px) !important;
  position: relative;
  isolation: isolate;
  background: var(--paper);
}

.problem-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(36px, 5vw, 68px);
  align-items: center;
}

/* Left Column */
.problem-copy {
  display: flex;
  flex-direction: column;
}

.problem-copy .lead-in {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--link);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.problem-headline {
  font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.45rem) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.035em !important;
  font-weight: 700 !important;
  color: var(--ink);
  margin: 0 0 24px !important;
  text-wrap: pretty;
  max-width: 32ch;
}

.problem-shifts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.shift-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s;
}

.shift-item:hover {
  background: var(--surface-2);
  border-color: var(--line-strong);
  transform: translateX(4px);
}

.shift-ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--soft);
  color: var(--link);
  flex-shrink: 0;
  margin-top: 2px;
}

.shift-ic svg {
  width: 17px;
  height: 17px;
}

.shift-item b {
  display: block;
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 2px;
  line-height: 1.25;
}

.shift-item p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}

.problem-copy .problem-turn {
  margin: 4px 0 0;
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.55rem);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.025em;
  max-width: 34ch;
}

/* Right Column (Visual) */
.problem-visual {
  position: relative;
  width: 100%;
}

.stage-shift {
  position: relative;
  perspective: 1600px;
}

.stage-glow-subtle {
  position: absolute;
  inset: -15%;
  background: radial-gradient(circle at 70% 30%, rgba(255, 107, 61, 0.2), rgba(182, 92, 255, 0.15), transparent 68%);
  filter: blur(48px);
  z-index: -1;
  pointer-events: none;
}

/* Terminal Mockup Card */
.s-card-terminal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 64px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.st-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.st-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.st-dot.red { background: #ff5f56; }
.st-dot.yellow { background: #ffbd2e; }
.st-dot.green { background: #27c93f; }

.st-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-left: 6px;
}

.st-badge {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mint);
  background: rgba(63, 224, 176, 0.12);
  padding: 3px 9px;
  border-radius: 999px;
}

.st-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.st-query-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.st-user-icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.st-user-icon svg { width: 100%; height: 100%; }

.st-query-text {
  font-size: 0.81rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.4;
}

.st-response-box {
  padding: 15px;
  border-radius: 13px;
  background: rgba(255, 107, 61, 0.05);
  border: 1px solid rgba(255, 107, 61, 0.22);
}

.st-ai-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.sparkle-ic {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--grad);
  color: #15111d;
  flex-shrink: 0;
}
.sparkle-ic svg { width: 13px; height: 13px; }

.st-ai-tag b {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--ink);
}

.pill-verified {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--link);
  background: var(--soft);
  padding: 2px 8px;
  border-radius: 999px;
}

.st-answer {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 12px;
}

.st-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.st-src {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: 6px;
}

.st-src i {
  font-style: normal;
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--line);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 700;
}

/* Floating bottom card */
.st-float-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
}

.sfp-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.sfp-metric b {
  font-size: 1.15rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sfp-metric span {
  font-size: 0.76rem;
  color: var(--muted);
}

.sfp-status.ok {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--mint);
}

/* Responsive adjustment */
@media (max-width: 900px) {
  .problem-split {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }
  .problem-headline {
    max-width: 100% !important;
  }
}


/* ================================================================
   v3 refinement: technical-editorial UI, accessible motion, overflow
   ================================================================ */
html{background:#12141F;overflow-x:clip;}
body{min-height:100dvh;}
p{max-width:68ch;}
.grad-text{background:none;-webkit-background-clip:initial;background-clip:initial;color:var(--peach);}
.nav{box-shadow:none;transition:translate .24s var(--out),background-color .2s,border-color .2s;}
.nav-links a,.nav-links button,.nav-menu{font-family:var(--mono);font-size:.78rem;font-weight:500;letter-spacing:-.025em;}
.nav-links a,.nav-links button{transition:background-color .18s,color .18s;}
.btn{
  --bg:#FF8A70;--bg-h:#FFB48F;--fg:#12141F;
  font-family:var(--mono);font-size:.88rem;font-weight:600;letter-spacing:-.035em;
  box-shadow:none;transition:background-color .18s,color .18s,border-color .18s,translate .22s var(--out);
}
.btn:hover{box-shadow:none;}
.btn:active{translate:0 1px;}
.btn-sm{font-size:.78rem;}
.btn-ghost{--bg:transparent;--bg-h:color-mix(in srgb,var(--ink) 7%,transparent);--fg:var(--ink);}
.on-grad .btn{--bg:#12141F;--bg-h:#252938;--fg:#FCFCF8;box-shadow:none;}
.dd{border-radius:20px;transition:opacity .18s,transform .22s var(--out),visibility 0s .18s;}
.dd.is-open{transition:opacity .18s,transform .22s var(--out);}
.dd a{grid-template-columns:28px 1fr;border-radius:12px;transition:background-color .18s;}
.dd .dd-ic{width:28px;height:28px;border-radius:0;background:transparent;color:var(--link);}
.dd .dd-ic svg{width:21px;height:21px;}
.dd b{font-family:var(--mono);font-size:.88rem;font-weight:500;}
.dd small{font-size:.86rem;}
.mmenu{transition:clip-path .28s var(--out),visibility 0s .28s;}
.mmenu.is-open{transition:clip-path .28s var(--out);}
.mm-main li,.mm-svc li,.mm-foot{transition:opacity .22s,translate .28s var(--out);transition-delay:calc(var(--i,0) * 20ms + 40ms);}
.mm-svc a{font-family:var(--mono);font-size:.86rem;}
.cursor{transition:width .2s var(--out),height .2s var(--out),margin .2s var(--out),opacity .18s,background-color .18s;}
.aurora{filter:blur(34px) saturate(.9);opacity:.82;}
.s-hero::after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(90deg,rgba(18,20,31,.62),rgba(18,20,31,.18) 62%,transparent);
}
.s-hero::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.2;
  background-image:linear-gradient(rgba(252,252,248,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(252,252,248,.09) 1px,transparent 1px);
  background-size:80px 80px;
  -webkit-mask-image:linear-gradient(to bottom,black,transparent 82%);mask-image:linear-gradient(to bottom,black,transparent 82%);
}
.hero-title{letter-spacing:-.045em;}
.hero-sub{max-width:42ch;}
.lead-in,.ch-name,.ch-progress,.crumbs,.f-col h2,.st-url,.st-badge{font-family:var(--mono);}
.lead-in{font-size:.8rem;font-weight:500;letter-spacing:.07em;text-transform:uppercase;}
.ch-name{font-size:.82rem;letter-spacing:-.02em;}
.ch-name .ci{display:inline-flex;width:auto;height:auto;border-radius:0;background:none;color:var(--link);}
.ch-name .ci svg{width:19px;height:19px;}
.ch-progress{font-size:.78rem;}
.crumbs{font-size:.76rem;}
.f-col h2{font-size:.74rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;}
.st-url,.st-badge{font-size:.68rem;}
.problem-visual{min-width:0;}
.stage-shift{isolation:isolate;}
.stage-glow-subtle{
  inset:0;
  background:radial-gradient(circle at 70% 30%,rgba(231,59,29,.2),rgba(102,120,168,.12),transparent 68%);
}
.s-card-terminal{border-radius:14px;box-shadow:0 24px 64px -24px rgba(0,0,0,.62);}
.stage-shift .s-card-terminal{transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transform-style:preserve-3d;}
.work-scroller{overscroll-behavior-inline:contain;}
@media (max-width:700px){
  .s-hero::after{background:linear-gradient(180deg,rgba(18,20,31,.38),rgba(18,20,31,.14) 72%,transparent);}
  .s-hero::before{background-size:48px 48px;}
  .hero-ctas .btn{min-height:48px;}
  .st-badge{display:none;}
  .st-url{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
}
@media (prefers-reduced-motion:reduce){
  .s-hero::before{opacity:.12;}
  .aurora{opacity:.5;}
}

/* ================================================================
   v4: compact closing section and footer, QA refinements
   ================================================================ */
/* Closing call to action refinements */
.cta-band:has(.marquee){ padding-top:0; }
.cta-band .marquee{ margin-bottom:clamp(18px,2.2vw,32px); border-top:0; }
@media (max-width:700px){
  .cta-band .wrap{ flex-direction:column; align-items:flex-start; }
  .cta-band h2{ max-width:none; }
}

/* Footer: compact, no oversized wordmark */
.footer{ padding-top:clamp(48px,5vw,76px); }
.f-grid{ gap:28px 40px; padding-bottom:clamp(32px,3.5vw,48px); }
.f-logo{ margin-bottom:14px; }
.f-brand p{ margin-bottom:20px; }
.f-col h2{ margin-bottom:14px; }
.f-col ul{ gap:9px; }
.f-bottom{ padding-block:20px 24px; }
.f-mark-wrap{ display:none; }
@media (max-width:900px){ .f-grid{ row-gap:36px; } }
@media (max-width:520px){ .f-grid{ grid-template-columns:1fr 1fr; column-gap:20px; } .f-bottom{ flex-direction:column; gap:6px; } }

/* Labels in sentence case (all-caps labels read as template chrome) */
.lead-in{ text-transform:none; letter-spacing:-.01em; font-size:.92rem; }
.f-col h2{ text-transform:none; letter-spacing:-.01em; font-size:.84rem; }
.col-lbl{ text-transform:none; letter-spacing:0; }

/* Phone visuals: keep the floating cards off the app's greeting */
.float.f1{ top:40%; }
.float.f2{ bottom:14%; }

/* Comfortable touch targets on touch screens */
@media (pointer:coarse){
  .nav-logo,.f-logo{ min-height:44px; }
  .chapter .link,.feat .link{ display:inline-flex; align-items:center; min-height:44px; }
  .demo-replay,.demo-tabs button{ height:44px; }
  .aside-box a{ display:inline-block; padding-block:10px; }
  .f-col a{ display:inline-block; padding-block:4px; }
}

/* ================================================================
   v1.4.2: quiet wayfinding and interaction polish
   ================================================================ */
.nav-links button.is-current{background:var(--soft);color:var(--link);}
.dd a[aria-current="page"]{background:var(--soft);}
.mm-main a[aria-current="page"],.mm-svc a[aria-current="page"]{color:var(--peach);}
.f-col a,.crumbs a{transition:color .18s,text-decoration-color .18s;}
.f-col a[aria-current="page"]{color:var(--ink);text-decoration:underline;text-decoration-color:var(--link);text-underline-offset:.3em;}
.f-col a:hover,.crumbs a:hover{color:var(--link);}
@media (hover:hover){
  .btn:hover{translate:0 -1px;}
  .btn:active{translate:0 1px;}
}

/* ================================================================
   v1.5.1: hero service tags + composition polish
   ================================================================ */
.hero-tag{
  position:absolute;
  z-index:5;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  border-radius:999px;
  font-size:11px;
  font-weight:650;
  letter-spacing:.02em;
  line-height:1;
  white-space:nowrap;
  background:rgba(252,252,248,.95);
  color:#15111D;
  box-shadow:0 8px 24px -10px rgba(21,17,29,.45), 0 0 0 1px rgba(21,17,29,.06);
  pointer-events:none;
  transform:translateZ(180px);
}
.hero-tag::before{
  content:"";
  width:6px; height:6px; border-radius:50%;
  background:var(--peach, #E73B1D);
  flex:none;
}
.hero-tag-web{ left:14%; top:-4px; }
.hero-tag-app{ right:0; top:10%; }
.hero-tag-ai{ left:4%; bottom:8%; }

.s-hero .stage .mk{ position:relative; }
.s-hero .stage .mk-browser{ position:absolute; left:12%; top:4%; width:74%; transform:translateZ(0); }
.s-hero .stage .mk-phone{ position:absolute; right:1%; top:18%; width:18%; transform:translateZ(120px); }
.s-hero .stage .mk-flow{ position:absolute; left:0; bottom:2%; width:42%; transform:translateZ(160px); }

@media (max-width:1023px){
  .hero-tag{ font-size:10px; padding:5px 10px; }
  .hero-tag-web{ left:4%; top:0; }
  .hero-tag-app{ right:2%; top:12%; }
  .hero-tag-ai{ left:2%; bottom:2%; }
  .s-hero .stage .mk-browser{ left:2%; width:80%; top:2%; }
  .s-hero .stage .mk-phone{ right:0; width:30%; top:16%; }
  .s-hero .stage .mk-flow{ left:0; width:70%; bottom:0; }
}
@media (max-width:640px){
  .hero-tag-app{ display:none; }
}

/* ================================================================
   v1.5.2: dramatic hero depth + floating cards
   ================================================================ */
.hero-float{
  position:absolute;
  z-index:8;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  background:rgba(252,252,248,.97);
  color:#15111D;
  box-shadow:
    0 18px 40px -16px rgba(21,17,29,.55),
    0 0 0 1px rgba(21,17,29,.06);
  font-size:12.5px;
  line-height:1.25;
  pointer-events:none;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.hero-float b{ display:block; font-weight:650; letter-spacing:-.01em; }
.hero-float small{ display:block; color:#6B7196; font-size:.88em; margin-top:1px; }
.hero-float .hf-ic{
  flex:none;
  display:grid;
  place-items:center;
  width:28px; height:28px;
  border-radius:9px;
  background:#F1F2F8;
  color:#10142F;
}
.hero-float .hf-ic.ok{ background:#DFF7EE; color:#118A60; }
.hero-float .hf-ic svg{ width:14px; height:14px; }

/* Depth placement */
.hero-float.hf-1{
  left:-2%; top:6%;
  transform:translateZ(220px) rotateY(8deg);
  animation:hfFloat 5.5s ease-in-out infinite;
}
.hero-float.hf-2{
  right:-4%; top:42%;
  transform:translateZ(240px) rotateY(-6deg);
  animation:hfFloat 6.2s ease-in-out .4s infinite;
}
.hero-float.hf-3{
  left:28%; bottom:-2%;
  transform:translateZ(200px) rotateY(4deg);
  animation:hfFloat 5.8s ease-in-out .8s infinite;
}

@keyframes hfFloat{
  0%,100%{ translate:0 0; }
  50%{ translate:0 -10px; }
}

/* Stronger depth on main layers */
.s-hero .stage.stage-hero-pro{ perspective:2400px; }
.s-hero .stage.stage-hero-pro .mk-browser{
  left:10%; top:2%; width:72%;
  transform:translateZ(20px) rotateY(-2deg);
  filter:drop-shadow(0 28px 50px rgba(0,0,0,.35));
}
.s-hero .stage.stage-hero-pro .mk-phone{
  right:-1%; top:12%; width:20%;
  transform:translateZ(160px) rotateY(-8deg) rotateX(4deg);
  filter:drop-shadow(0 32px 48px rgba(0,0,0,.4));
}
.s-hero .stage.stage-hero-pro .mk-flow{
  left:-2%; bottom:0;
  width:44%;
  transform:translateZ(180px) rotateY(4deg);
  filter:drop-shadow(0 24px 40px rgba(0,0,0,.38));
}
.s-hero .stage.stage-hero-pro .stage-glow{
  inset:5% 5% -8%;
  filter:blur(60px);
  opacity:1;
  transform:translateZ(-180px);
}

/* Entrance for floats */
.js .s-hero .hero-float{ opacity:0; }
.js .s-hero.is-in .hero-float.hf-1{ animation:hfIn 1s var(--out) .9s both, hfFloat 5.5s ease-in-out 1.9s infinite; }
.js .s-hero.is-in .hero-float.hf-2{ animation:hfIn 1s var(--out) 1.15s both, hfFloat 6.2s ease-in-out 2.15s infinite; }
.js .s-hero.is-in .hero-float.hf-3{ animation:hfIn 1s var(--out) 1.35s both, hfFloat 5.8s ease-in-out 2.35s infinite; }
@keyframes hfIn{
  from{ opacity:0; transform:translateZ(120px) translateY(18px) scale(.94); }
  to{ opacity:1; }
}

@media (max-width:1023px){
  .hero-float{ font-size:11px; padding:8px 11px; gap:8px; }
  .hero-float .hf-ic{ width:24px; height:24px; border-radius:7px; }
  .hero-float.hf-1{ left:0; top:0; }
  .hero-float.hf-2{ right:0; top:38%; }
  .hero-float.hf-3{ left:20%; bottom:0; }
  .s-hero .stage.stage-hero-pro .mk-browser{ left:2%; width:78%; }
  .s-hero .stage.stage-hero-pro .mk-phone{ right:0; width:30%; top:14%; }
  .s-hero .stage.stage-hero-pro .mk-flow{ left:0; width:68%; }
}
@media (max-width:700px){
  .hero-float.hf-2,
  .hero-float.hf-3{ display:none; }
  .hero-float.hf-1{ left:2%; top:-4px; transform:none; }
}
@media (prefers-reduced-motion:reduce){
  .hero-float,
  .js .s-hero.is-in .hero-float{ animation:none !important; opacity:1; }
}

/* ================================================================
   v1.7.0: real project screenshots in browser frames
   ================================================================ */
.shot-frame{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  background:#0b0d14;
  box-shadow:0 28px 64px -24px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
}
.shot-chrome{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  background:linear-gradient(180deg,#2a2d3a,#1c1f2a);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.shot-chrome i{
  width:10px;height:10px;border-radius:50%;
  background:#ff5f57;display:inline-block;
}
.shot-chrome i:nth-child(2){background:#febc2e}
.shot-chrome i:nth-child(3){background:#28c840}
.shot-url{
  flex:1;
  margin-left:6px;
  padding:5px 12px;
  border-radius:6px;
  background:rgba(0,0,0,.35);
  color:rgba(255,255,255,.72);
  font-size:12px;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.shot-body{
  position:relative;
  aspect-ratio:16 / 10;
  background:#111;
  overflow:hidden;
}
.shot-body img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
  display:block;
}
.work-panel .shot-frame{
  transform:translateZ(0);
}
.wcard .shot-frame{
  height:100%;
}
.wcard .shot-body{
  aspect-ratio:auto;
  height:calc(100% - 40px);
  min-height:220px;
}
@media (max-width:700px){
  .shot-url{font-size:11px}
}

/* ================================================================
   v1.8.0: Work page + homepage showcase — calm, image-led
   ================================================================ */

/* Shared minimal browser chrome */
.wk-bar{
  display:flex; align-items:center; gap:10px;
  padding:11px 14px;
  background:#1a1d27;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.wk-dots{
  width:52px; height:10px;
  background:
    radial-gradient(circle at 5px 50%, #ff5f57 4.5px, transparent 5px),
    radial-gradient(circle at 21px 50%, #febc2e 4.5px, transparent 5px),
    radial-gradient(circle at 37px 50%, #28c840 4.5px, transparent 5px);
  flex:none;
}
.wk-url{
  flex:1; min-width:0;
  padding:4px 12px; border-radius:6px;
  background:rgba(0,0,0,.35);
  color:rgba(255,255,255,.65);
  font-size:12px; font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

/* —— Work page list —— */
.wk-list{ padding-block: clamp(12px, 2vw, 28px) clamp(64px, 8vw, 120px); }
.wk-list-inner{
  display:flex; flex-direction:column;
  gap: clamp(56px, 8vw, 112px);
}
.wk-item{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.wk-item:nth-child(even){
  grid-template-columns: 0.85fr 1.15fr;
}
.wk-item:nth-child(even) .wk-media{ order: 2; }
.wk-item:nth-child(even) .wk-copy{ order: 1; }

.wk-browser{
  border-radius: 16px;
  overflow: hidden;
  background: #0b0d14;
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 24px 48px -20px rgba(21,17,29,.45),
    0 0 0 1px rgba(21,17,29,.08);
}
.wk-shot{
  aspect-ratio: 16 / 10;
  background: #111;
  overflow: hidden;
}
.wk-shot img{
  width:100%; height:100%;
  object-fit: cover; object-position: top center;
  display:block;
  transition: transform .7s var(--out, cubic-bezier(.2,.8,.2,1));
}
.wk-item:hover .wk-shot img{ transform: scale(1.02); }

.wk-copy{ min-width:0; }
.wk-meta{ margin-bottom: 10px; }
.wk-kind{
  display:inline-block;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--link, #E73B1D);
}
.wk-copy h2{
  font-size: clamp(1.75rem, 1rem + 1.8vw, 2.6rem);
  letter-spacing: -.03em;
  margin: 0 0 14px;
  line-height: 1.1;
}
.wk-copy p{
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 38ch;
}
.wk-tags{ display:flex; flex-wrap:wrap; gap:8px; }
.wk-tag{
  display:inline-flex; align-items:center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 550;
  color: var(--ink);
  background: var(--soft, #F1F2F8);
  border: 1px solid var(--line, rgba(21,17,29,.08));
}

@media (max-width: 900px){
  .wk-item,
  .wk-item:nth-child(even){
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .wk-item:nth-child(even) .wk-media,
  .wk-item:nth-child(even) .wk-copy{ order: unset; }
  .wk-copy p{ max-width: none; }
}

/* —— Homepage work cards —— */
.s-work .work-head h2{
  font-size: clamp(1.8rem, 1rem + 2vw, 2.8rem);
}
.wcard-shot{
  border-radius: var(--r-xl, 18px);
  overflow: hidden;
  background: #0b0d14;
  aspect-ratio: 16 / 10.5;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px -18px rgba(21,17,29,.4);
  transition: transform .5s var(--out, cubic-bezier(.2,.8,.2,1)), box-shadow .5s;
}
.wcard:hover .wcard-shot{
  transform: translateY(-4px);
  box-shadow: 0 28px 52px -16px rgba(21,17,29,.5);
}
.wcard-img{
  flex: 1; min-height: 0;
  overflow: hidden;
  background: #111;
}
.wcard-img img{
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  transition: transform .7s var(--out, cubic-bezier(.2,.8,.2,1));
}
.wcard:hover .wcard-img img{ transform: scale(1.03); }

/* Kill old tinted panel look on homepage cards */
.wcard .work-panel{ display: none; }
.wcard-info{
  margin-top: 16px;
  padding-inline: 2px;
}
.wcard-info h3{
  font-size: 1.15rem;
  margin-bottom: 4px;
  letter-spacing: -.02em;
}
.wcard-info p{
  font-size: .95rem;
  line-height: 1.45;
  max-width: 36ch;
}
.work-kind{
  flex: none;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 4px;
}

@media (max-width: 899px){
  .wcard{ width: min(88vw, 420px); }
}

/* ================================================================
   v1.8.1: Work hero collage + homepage next-project visual CTA
   ================================================================ */

/* ================================================================
   v1.8.2: Work hero visual — fixed grid + visible collage
   ================================================================ */
.phero-work.phero-grid{
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.phero-work .phero-copy{
  grid-column: auto;
  max-width: 36rem;
}
.phero-work .phero-visual{
  position: relative;
  grid-column: auto;
  width: 100%;
  min-height: clamp(260px, 34vw, 400px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wk-collage{
  position: relative;
  width: 100%;
  max-width: 480px;
  height: clamp(240px, 32vw, 360px);
  margin-inline: auto;
}
.wk-collage-card{
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  background: #1a1d27;
  box-shadow:
    0 24px 48px -12px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.1);
}
.wk-collage-card img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.wk-collage-card.c1{
  width: 78%;
  height: 58%;
  left: 0;
  top: 6%;
  transform: rotate(-5deg);
  z-index: 1;
}
.wk-collage-card.c2{
  width: 72%;
  height: 54%;
  right: 0;
  top: 0;
  transform: rotate(4deg);
  z-index: 2;
}
.wk-collage-card.c3{
  width: 74%;
  height: 56%;
  left: 12%;
  bottom: 0;
  transform: rotate(1.5deg);
  z-index: 3;
}
@media (max-width: 900px){
  .phero-work.phero-grid{
    grid-template-columns: 1fr;
  }
  .phero-work .phero-visual{
    order: -1;
    min-height: 220px;
  }
  .wk-collage{
    max-width: 340px;
    height: 220px;
  }
}

/* Homepage next card */
.wcard-next-panel{
  position: relative;
  border-radius: var(--r-xl, 18px);
  overflow: hidden;
  aspect-ratio: 16 / 10.5;
  background: #15111D;
  color: #FCFCF8;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 20px 40px -18px rgba(21,17,29,.45);
}
.wcard-next-bg{
  position: absolute; inset: 0;
  opacity: .35;
  pointer-events: none;
}
.wcard-next-bg::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 10%, #15111D 78%);
}
.wn-img{
  position: absolute;
  border-radius: 8px;
  object-fit: cover; object-position: top center;
  box-shadow: 0 12px 28px rgba(0,0,0,.4);
  width: 48%;
  aspect-ratio: 16/10;
}
.wn-1{ left: 6%; top: 12%; transform: rotate(-8deg); }
.wn-2{ right: 8%; top: 6%; transform: rotate(5deg); width: 42%; }
.wn-3{ left: 28%; top: 28%; transform: rotate(2deg); width: 44%; opacity: .9; }
.wcard-next-content{
  position: relative; z-index: 2;
  padding: clamp(22px, 3vw, 36px);
  max-width: 22rem;
}
.wcard-next-eyebrow{
  margin: 0 0 8px;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(252,252,248,.55);
}
.wcard-next-content h3{
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 1rem + 1.4vw, 2.1rem);
  letter-spacing: -.03em;
  line-height: 1.15;
  color: #FCFCF8;
}
.wcard-next-text{
  margin: 0 0 18px;
  color: rgba(252,252,248,.7);
  font-size: .95rem;
  line-height: 1.45;
}
.wcard-next .work-panel{ display: none; }
.wcard-next .btn{
  box-shadow: none;
}

/* ================================================================
   v1.9.0: Real-shot hero + animated work collage
   ================================================================ */
.stage-hero-shots .stage-3d{
  min-height: clamp(320px, 42vw, 480px);
}
.hero-shot-main,
.hero-shot-side,
.hero-shot-low{
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  background: #0e1018;
  box-shadow:
    0 28px 56px -18px rgba(0,0,0,.65),
    0 0 0 1px rgba(255,255,255,.1);
}
.hero-shot-main img,
.hero-shot-side img,
.hero-shot-low img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top center;
}
.hero-shot-main{
  width: 72%;
  left: 4%;
  top: 8%;
  z-index: 2;
  transform: rotate(-3deg);
  animation: heroShotFloat 7s ease-in-out infinite;
}
.hero-shot-side{
  width: 42%;
  right: 0;
  top: 0;
  z-index: 3;
  transform: rotate(5deg);
  animation: heroShotFloat 8s ease-in-out .4s infinite reverse;
}
.hero-shot-low{
  width: 48%;
  left: 22%;
  bottom: 0;
  z-index: 4;
  transform: rotate(1.5deg);
  animation: heroShotFloat 6.5s ease-in-out .8s infinite;
}
.hero-shot-main .hero-tag,
.hero-shot-side .hero-tag,
.hero-shot-low .hero-tag{
  position: absolute;
  left: 12px;
  bottom: 12px;
}
@keyframes heroShotFloat{
  0%, 100%{ translate: 0 0; }
  50%{ translate: 0 -10px; }
}

/* Work page collage auto-motion */
.wk-collage-card{
  animation: collageFloat 6s ease-in-out infinite;
}
.wk-collage-card.c1{ animation-duration: 6.5s; }
.wk-collage-card.c2{ animation-duration: 7.2s; animation-delay: .35s; }
.wk-collage-card.c3{ animation-duration: 5.8s; animation-delay: .7s; }
@keyframes collageFloat{
  0%, 100%{ transform: translateY(0) rotate(var(--r, 0deg)); }
  50%{ transform: translateY(-12px) rotate(var(--r, 0deg)); }
}
.wk-collage-card.c1{ --r: -5deg; }
.wk-collage-card.c2{ --r: 4deg; }
.wk-collage-card.c3{ --r: 1.5deg; }

@media (prefers-reduced-motion: reduce){
  .hero-shot-main, .hero-shot-side, .hero-shot-low,
  .wk-collage-card{ animation: none !important; }
}
@media (max-width: 900px){
  .stage-hero-shots .stage-3d{ min-height: 280px; }
  .hero-shot-main{ width: 78%; left: 2%; top: 10%; }
  .hero-shot-side{ width: 48%; right: 0; top: 4%; }
  .hero-shot-low{ width: 56%; left: 18%; }
}

/* ================================================================
   v2.0.0: Multi-product hero, animated bg, tech logos, concept work
   ================================================================ */


/* ---- Hero animated background (visible, behind content) ---- */
.hero-bg-anim{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.s-hero > .aurora{ z-index: 0; opacity: 0.55; }
.s-hero > .aurora-fade{ z-index: 1; }
.s-hero > .wrap.hero-header-wrap{ position: relative; z-index: 3; }
.hb-orb{
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: orbDrift 12s ease-in-out infinite;
}
.hb-1{
  width: min(60vw, 560px); height: min(60vw, 560px);
  left: -8%; top: -12%;
  background: radial-gradient(circle, rgba(231,59,29,.7) 0%, rgba(231,59,29,0) 70%);
}
.hb-2{
  width: min(50vw, 460px); height: min(50vw, 460px);
  right: -6%; top: 15%;
  background: radial-gradient(circle, rgba(99,102,241,.55) 0%, rgba(99,102,241,0) 70%);
  animation-delay: -3s; animation-duration: 15s;
}
.hb-3{
  width: min(45vw, 400px); height: min(45vw, 400px);
  left: 30%; bottom: -15%;
  background: radial-gradient(circle, rgba(45,212,191,.4) 0%, rgba(45,212,191,0) 70%);
  animation-delay: -6s; animation-duration: 14s;
}
.hb-grid{
  position: absolute; inset: -20%;
  width: 140%; height: 140%;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridMove 28s linear infinite;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 0%, transparent 75%);
}
@keyframes orbDrift{
  0%, 100%{ transform: translate3d(0,0,0) scale(1); }
  33%{ transform: translate3d(4%, 6%, 0) scale(1.12); }
  66%{ transform: translate3d(-3%, 4%, 0) scale(0.94); }
}
@keyframes gridMove{
  0%{ transform: translate3d(0,0,0); }
  100%{ transform: translate3d(-48px, -48px, 0); }
}

/* Multi-product hero surfaces */
.stage-hero-multi .stage-3d{
  min-height: clamp(340px, 44vw, 500px);
}
.hero-surface{
  position:absolute;
  border-radius: 16px;
  background: linear-gradient(165deg, #1c1f2e, #12141c);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 28px 56px -18px rgba(0,0,0,.6);
  overflow: hidden;
  color: #FCFCF8;
}
.hero-saas{
  width: 68%; left: 2%; top: 6%;
  padding: 16px 16px 36px;
  transform: rotate(-3deg);
  z-index: 2;
  animation: heroShotFloat 7s ease-in-out infinite;
}
.hs-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.hs-brand{ font-weight:700; letter-spacing:-.02em; }
.hs-pill{
  font-size:10px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  padding:4px 8px; border-radius:999px; background:rgba(231,59,29,.2); color:#ff8f7a;
}
.hs-kpis{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:14px; }
.hs-kpis small{ display:block; color:rgba(252,252,248,.5); font-size:10px; }
.hs-kpis b{ font-size:1.05rem; letter-spacing:-.02em; }
.hs-chart{ display:flex; align-items:flex-end; gap:6px; height:72px; padding-top:8px; }
.hs-chart i{
  flex:1; height:var(--h); border-radius:4px 4px 0 0;
  background: linear-gradient(180deg, #E73B1D, rgba(231,59,29,.25));
}

.hero-phone{
  width: 28%; right: 4%; top: 0;
  padding: 12px 10px 28px;
  border-radius: 22px;
  transform: rotate(4deg);
  z-index: 3;
  animation: heroShotFloat 8s ease-in-out .5s infinite reverse;
}
.hp-notch{
  width:40%; height:6px; margin:0 auto 12px; border-radius:999px; background:rgba(255,255,255,.12);
}
.hp-head small{ color:rgba(252,252,248,.5); font-size:10px; }
.hp-head b{ display:block; font-size:1.1rem; margin-bottom:10px; }
.hp-card{
  background:rgba(255,255,255,.06); border-radius:10px; padding:8px 10px; margin-bottom:6px;
  display:grid; grid-template-columns:auto 1fr; gap:2px 8px; align-items:center;
}
.hp-card b{ font-size:12px; grid-column:2; }
.hp-card small{ font-size:10px; color:rgba(252,252,248,.5); grid-column:2; }
.hp-dot{ width:8px; height:8px; border-radius:50%; background:#6B7196; grid-row:span 2; }
.hp-dot.on{ background:#34d399; box-shadow:0 0 8px rgba(52,211,153,.5); }

.hero-flow{
  width: 52%; left: 18%; bottom: 2%;
  padding: 14px 16px 32px;
  transform: rotate(1deg);
  z-index: 4;
  animation: heroShotFloat 6.5s ease-in-out .9s infinite;
}
.hf-title{ display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.hf-live{
  font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.05em;
  color:#34d399; background:rgba(52,211,153,.12); padding:3px 8px; border-radius:999px;
}
.hf-steps{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; font-size:12px; font-weight:600; }
.hf-steps i{
  width:18px; height:2px; background:rgba(255,255,255,.2);
  position:relative;
}
.hf-steps i::after{
  content:""; position:absolute; right:-2px; top:50%; width:5px; height:5px;
  border-right:1.5px solid rgba(255,255,255,.35); border-top:1.5px solid rgba(255,255,255,.35);
  transform: translateY(-50%) rotate(45deg);
}
.hf-steps span{
  padding:5px 10px; border-radius:8px; background:rgba(255,255,255,.07);
}

@media (max-width:900px){
  .hero-saas{ width:70%; }
  .hero-phone{ width:32%; }
  .hero-flow{ width:60%; left:12%; }
}

/* Tech logos with icons */
.tech-stack{ margin-top:28px; display:flex; flex-direction:column; gap:18px; }
.tech-group{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 12px; }
.tech-label{
  flex:0 0 6.5rem; font-size:.72rem; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color:rgba(252,252,248,.5);
}
.tech-logos{ display:flex; flex-wrap:wrap; gap:10px; list-style:none; margin:0; padding:0; }
.tech-logos .tl{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 14px; border-radius:12px;
  font-size:.88rem; font-weight:650; letter-spacing:-.01em;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  color:#FCFCF8;
  transition: background .2s, border-color .2s, transform .2s;
}
.tech-logos .tl:hover{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.22);
  transform: translateY(-2px);
}
.tech-logos .tl svg{
  width:20px; height:20px; flex:none;
}
@media (max-width:640px){
  .tech-label{ flex-basis:100%; margin-bottom:2px; }
}

/* Concept work cards */
.wcard-concept{
  display:flex; flex-direction:column; justify-content:center;
  padding:24px; background: linear-gradient(160deg, #1a1d2b, #0f1118);
  min-height: 100%;
}
.wc-phone{
  background:#0b0d14; border-radius:20px; border:1px solid rgba(255,255,255,.1);
  padding:10px; max-width:160px; margin:0 auto;
  box-shadow:0 16px 32px rgba(0,0,0,.4);
}
.wc-phone-bar{ width:36%; height:5px; margin:4px auto 12px; border-radius:99px; background:rgba(255,255,255,.12); }
.wc-phone-body{ color:#FCFCF8; padding:4px 6px 12px; }
.wc-phone-body b{ display:block; font-size:1rem; }
.wc-phone-body small{ color:rgba(252,252,248,.5); font-size:11px; }
.wc-rows{ margin-top:12px; display:flex; flex-direction:column; gap:6px; }
.wc-rows i{ height:10px; border-radius:4px; background:rgba(255,255,255,.08); }
.wc-rows i:nth-child(1){ width:90%; }
.wc-rows i:nth-child(2){ width:70%; }
.wc-rows i:nth-child(3){ width:80%; }

.wc-flow{
  display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap;
  color:#FCFCF8; font-size:13px; font-weight:650;
}
.wc-flow span{ padding:8px 12px; border-radius:8px; background:rgba(255,255,255,.08); }
.wc-flow i{ width:16px; height:2px; background:rgba(255,255,255,.25); }
.wc-note{ text-align:center; color:rgba(252,252,248,.5); font-size:12px; margin:16px 0 0; }

.wc-aff-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:10px; color:#FCFCF8;
}
.wc-aff-grid div{
  background:rgba(255,255,255,.06); border-radius:12px; padding:14px 10px; text-align:center;
}
.wc-aff-grid b{ display:block; font-size:.95rem; }
.wc-aff-grid small{ color:rgba(252,252,248,.5); font-size:11px; }

.wc-saas-top{ display:flex; justify-content:space-between; color:#FCFCF8; margin-bottom:16px; }
.wc-saas-top span{ font-size:11px; opacity:.5; }
.wc-saas-bars{ display:flex; align-items:flex-end; gap:8px; height:100px; }
.wc-saas-bars i{
  flex:1; height:var(--h); border-radius:6px 6px 0 0;
  background:linear-gradient(180deg,#6366f1,rgba(99,102,241,.2));
}

.wk-concept-panel{
  min-height: 240px;
  display:flex; flex-direction:column; justify-content:center;
  background: linear-gradient(160deg, #1a1d2b, #0f1118) !important;
  border: none;
}
.wk-concept-panel .wk-bar{ display:none; }

@media (prefers-reduced-motion: reduce){
  .hb-orb, .hero-saas, .hero-phone, .hero-flow{ animation:none !important; }
}

/* Technology chips with logos */
.chips.chips-tech li{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
}
.chips .chip-ic{
  width: 18px;
  height: 18px;
  flex: none;
  display: block;
}

/* ---- Homepage layout recovery v2.3 ---- */
.ai-tech-chips{
  margin: 16px 0 8px;
  max-width: 36rem;
}
.ai-tech-chips.chips li{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
  color: #FCFCF8;
  font-size: .85rem;
  padding: 8px 12px 8px 10px;
}
.ai-grid{
  align-items: start;
}
.ai-tools{
  margin: 18px 0 0;
  color: rgba(252,252,248,.7);
  font-size: .95rem;
}

/* Work cards: consistent screenshot presentation */
.wcard-shot{
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  background: #0e1018;
  border-radius: var(--r-xl, 18px);
  overflow: hidden;
  box-shadow: 0 16px 40px -16px rgba(21,17,29,.35);
}
.wcard-shot .wk-bar{
  flex: none;
}
.wcard-img{
  flex: 1;
  min-height: 0;
}
.wcard-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.wcard-info{
  margin-top: 14px;
  align-items: flex-start;
}
.wcard-info h3{
  font-size: 1.2rem;
  letter-spacing: -.02em;
  margin: 0 0 4px;
}
.wcard-info p{
  font-size: .92rem;
  line-height: 1.45;
  max-width: 34ch;
  color: var(--muted);
}
.work-kind{
  font-size: .7rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
  white-space: nowrap;
  padding-top: 3px;
}
.wcard-next-panel{
  aspect-ratio: 16 / 10;
}
.s-work .work-head{
  margin-bottom: clamp(20px, 3vw, 36px);
}
.s-work .work-head p{
  max-width: 42ch;
  color: var(--muted);
}

/* Hero lightweight video background — brighter / more visible */
.hero-bg-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.72;
  filter: saturate(1.25) contrast(1.12) brightness(1.15);
  pointer-events: none;
}
.hero-bg-scrim{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18,20,31,.72) 0%, rgba(18,20,31,.38) 42%, rgba(18,20,31,.18) 100%),
    linear-gradient(180deg, rgba(18,20,31,.2) 0%, rgba(18,20,31,.4) 100%);
}
.hero-bg-anim .hb-orb{ z-index: 2; opacity: 0.28; }
.s-hero > .wrap.hero-header-wrap{ z-index: 3; }
@media (prefers-reduced-motion: reduce){
  .hero-bg-video{ display: none; }
}

/* ================================================================
   Hero cinematic product visual v2.5
   ================================================================ */
.stage-hero-cinematic .stage-3d{
  min-height: clamp(360px, 46vw, 520px);
  position: relative;
}
.stage-glow-soft{
  background: radial-gradient(closest-side, rgba(231,59,29,.35), rgba(99,102,241,.15), transparent 70%) !important;
  filter: blur(40px);
  opacity: .9;
}

.hc-window{
  position: absolute;
  left: 0; top: 6%;
  width: 78%;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(165deg, #1a1d2b 0%, #0c0e16 100%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    0 40px 80px -24px rgba(0,0,0,.7),
    0 0 0 1px rgba(255,255,255,.04) inset;
  transform: rotate(-2.5deg) translateZ(0);
  z-index: 2;
  animation: heroShotFloat 8s ease-in-out infinite;
}
.hc-titlebar{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hc-dots{ display: flex; gap: 5px; }
.hc-dots i{
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.15);
}
.hc-dots i:nth-child(1){ background: #ff5f57; }
.hc-dots i:nth-child(2){ background: #febc2e; }
.hc-dots i:nth-child(3){ background: #28c840; }
.hc-url{
  flex: 1;
  font-size: 11px;
  color: rgba(252,252,248,.45);
  font-family: var(--mono, ui-monospace, monospace);
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-live{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #34d399;
}
.hc-live i{
  width: 6px; height: 6px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52,211,153,.25);
  animation: hcPulse 2s ease-in-out infinite;
}
@keyframes hcPulse{
  0%,100%{ box-shadow: 0 0 0 3px rgba(52,211,153,.2); }
  50%{ box-shadow: 0 0 0 5px rgba(52,211,153,.08); }
}

.hc-body{ display: flex; min-height: 240px; }
.hc-rail{
  width: 48px;
  flex: none;
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border-right: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.2);
}
.hc-rail-mark{
  width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(135deg, #E73B1D, #ff6b4a);
  margin-bottom: 6px;
}
.hc-rail i{
  width: 16px; height: 16px; border-radius: 5px;
  background: rgba(255,255,255,.08);
}
.hc-rail i.on{ background: rgba(231,59,29,.45); }

.hc-main{ flex: 1; padding: 16px 18px 18px; color: #FCFCF8; }
.hc-top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}
.hc-eyebrow{
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(252,252,248,.45);
}
.hc-heading{
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.hc-avatar-stack{ display: flex; }
.hc-avatar-stack span{
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid #12141F;
  margin-left: -8px;
  background: linear-gradient(135deg, #6366f1, #a78bfa);
}
.hc-avatar-stack span:first-child{ margin-left: 0; background: linear-gradient(135deg, #E73B1D, #fb923c); }
.hc-avatar-stack span:nth-child(2){ background: linear-gradient(135deg, #22d3ee, #3b82f6); }

.hc-metrics{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.hc-metric{
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}
.hc-metric-label{
  display: block;
  font-size: 10px;
  color: rgba(252,252,248,.45);
  margin-bottom: 4px;
}
.hc-metric strong{
  display: block;
  font-size: 1.25rem;
  letter-spacing: -.03em;
  font-weight: 700;
}
.hc-trend{
  font-size: 10px;
  color: rgba(252,252,248,.4);
}
.hc-trend.up{ color: #34d399; }

.hc-panel{
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
}
.hc-panel-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(252,252,248,.7);
  margin-bottom: 12px;
}
.hc-chip{
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(99,102,241,.2);
  color: #a5b4fc;
  font-weight: 650;
}
.hc-flow-line{
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.hc-node{
  flex: 1;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}
.hc-node.active{
  background: rgba(231,59,29,.12);
  border-color: rgba(231,59,29,.35);
}
.hc-node b{ display: block; font-size: 11px; font-weight: 700; }
.hc-node small{ font-size: 9px; color: rgba(252,252,248,.4); }
.hc-arrow{
  width: 12px; height: 2px;
  background: rgba(255,255,255,.2);
  position: relative;
  flex: none;
}
.hc-arrow::after{
  content: "";
  position: absolute;
  right: -1px; top: 50%;
  width: 5px; height: 5px;
  border-right: 1.5px solid rgba(255,255,255,.3);
  border-top: 1.5px solid rgba(255,255,255,.3);
  transform: translateY(-50%) rotate(45deg);
}
.hc-bars{
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 48px;
}
.hc-bars i{
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #E73B1D, rgba(231,59,29,.2));
  opacity: .85;
}

/* Phone */
.hc-phone{
  position: absolute;
  right: 0; top: 12%;
  width: 28%;
  min-width: 130px;
  max-width: 180px;
  border-radius: 22px;
  padding: 8px;
  background: #0a0b10;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow:
    0 32px 64px -16px rgba(0,0,0,.65),
    0 0 0 1px rgba(255,255,255,.05) inset;
  transform: rotate(4deg);
  z-index: 4;
  animation: heroShotFloat 7s ease-in-out .4s infinite reverse;
}
.hc-phone-notch{
  width: 36%;
  height: 5px;
  margin: 4px auto 10px;
  border-radius: 99px;
  background: rgba(255,255,255,.12);
}
.hc-phone-screen{ padding: 4px 6px 12px; color: #FCFCF8; }
.hc-phone-time{
  margin: 0;
  font-size: 10px;
  color: rgba(252,252,248,.4);
  text-align: center;
}
.hc-phone-greet{
  margin: 6px 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.03em;
  text-align: center;
}
.hc-phone-card{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  margin-bottom: 6px;
}
.hc-phone-card.primary{
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(145deg, rgba(231,59,29,.35), rgba(231,59,29,.08));
  border: 1px solid rgba(231,59,29,.3);
}
.hc-phone-badge{
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #ffb4a2;
}
.hc-phone-card strong, .hc-phone-card b{
  font-size: 11px;
  font-weight: 650;
  display: block;
}
.hc-phone-card small{
  font-size: 9px;
  color: rgba(252,252,248,.45);
}
.hc-phone-card .dot{
  width: 7px; height: 7px; border-radius: 50%;
  background: #6B7196;
  margin-top: 4px;
  flex: none;
}
.hc-phone-card .dot.on{
  background: #34d399;
  box-shadow: 0 0 8px rgba(52,211,153,.5);
}

/* Float badge */
.hc-float{
  position: absolute;
  left: 8%;
  bottom: 4%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(252,252,248,.96);
  color: #12141F;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.45);
  animation: heroShotFloat 6.5s ease-in-out .8s infinite;
}
.hc-float-ic{
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #DFF7EE;
  color: #118A60;
}
.hc-float-ic svg{ width: 14px; height: 14px; }
.hc-float b{ display: block; font-size: 12px; font-weight: 700; letter-spacing: -.01em; }
.hc-float small{ display: block; font-size: 10px; color: #6B7196; margin-top: 1px; }

@media (max-width: 900px){
  .stage-hero-cinematic .stage-3d{ min-height: 300px; }
  .hc-window{ width: 82%; }
  .hc-phone{ width: 32%; right: -2%; }
  .hc-metrics{ gap: 6px; }
  .hc-metric strong{ font-size: 1rem; }
  .hc-flow-line{ display: none; }
}
@media (max-width: 640px){
  .hc-phone{ display: none; }
  .hc-window{ width: 100%; left: 0; transform: none; }
  .hc-float{ left: 4%; bottom: 0; }
}
@media (prefers-reduced-motion: reduce){
  .hc-window, .hc-phone, .hc-float{ animation: none !important; }
}

/* ---------- v2.7.0 additions ---------- */

/* Work page: concept label, client results and quotes */
.wk-badge{
  display:inline-block; margin-left:10px; padding:2px 10px; vertical-align:1px;
  border:1px solid var(--line-strong); border-radius:999px;
  font-size:.78rem; font-weight:600; color:var(--muted);
}
.wk-proof{ display:grid; gap:14px; margin:0 0 22px; max-width:42ch; }
.wk-copy .wk-result{ margin:0; color:var(--ink); font-weight:650; font-size:1.05rem; }
.wk-quote{ margin:0; padding-left:16px; border-left:2px solid var(--link); }
.wk-quote blockquote{ margin:0; }
.wk-copy .wk-quote p{ margin:0 0 6px; color:var(--ink); font-size:1rem; max-width:none; }
.wk-quote figcaption{ font-size:.88rem; color:var(--muted); }

/* About page: team */
.team{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:28px clamp(20px,3vw,48px); }
.team li{ padding-top:16px; border-top:1px solid var(--line); }
.team b{ display:block; font-size:1.2rem; letter-spacing:-.02em; }
.team span{ color:var(--muted); }

/* Cookie consent */
.consent{
  --ink:#FCFCF8; --muted:#B7B9C3; --line-strong:#484D5E; --link:#FF8A70;
  position:fixed; z-index:50; left:16px; right:16px; bottom:calc(env(safe-area-inset-bottom,0px) + 16px);
  max-width:440px; padding:20px 22px; border-radius:var(--r-lg);
  background:var(--night-2); color:var(--ink); border:1px solid var(--night-line); box-shadow:var(--shadow);
}
.consent[hidden]{ display:none; }
.consent p{ margin:0 0 14px; font-size:.95rem; line-height:1.5; color:var(--muted); }
.consent .link{ color:var(--ink); }
.consent-actions{ display:flex; flex-wrap:wrap; gap:10px; }
/* Bottom-right on wider screens, clear of the left-aligned hero copy and buttons. */
@media (min-width:700px){ .consent{ left:auto; right:24px; bottom:calc(env(safe-area-inset-bottom,0px) + 24px); } }

/* ---------- v2.7.1 contact form feedback ---------- */
/* Problem message, shown beside the Send button so it can't be missed. */
.form-error{
  display:flex; gap:12px; align-items:flex-start; margin:0; padding:14px 18px;
  border-radius:14px; background:var(--soft); border:1px solid color-mix(in srgb,var(--ember) 55%,transparent);
  color:var(--ink); font-weight:550; line-height:1.5;
}
.form-error::before{
  content:"!"; flex:none; display:grid; place-items:center; width:22px; height:22px; margin-top:1px;
  border-radius:50%; background:var(--ember); color:#170D0A; font-size:.85rem; font-weight:800;
}
.form-error[hidden]{ display:none; }
.form-error:focus{ outline:none; }
.form-error:focus-visible{ outline:2px solid var(--link); outline-offset:3px; }

/* Sending: fields dim and lock, the button shows progress. */
.form.is-sending .field,.form.is-sending fieldset{ opacity:.55; pointer-events:none; transition:opacity .2s; }
.form.is-sending button[type="submit"]{ cursor:progress; opacity:1; }
.form.is-sending button[type="submit"]::before{
  content:""; width:1em; height:1em; border-radius:50%;
  border:2px solid currentColor; border-right-color:transparent; animation:formSpin .7s linear infinite;
}
@keyframes formSpin{ to{ rotate:360deg; } }
@media (prefers-reduced-motion:reduce){ .form.is-sending button[type="submit"]::before{ animation:none; border-right-color:currentColor; opacity:.6; } }

/* Thank-you panel */
.form-done:focus{ outline:none; }
.form-done .done-ic{
  display:grid; place-items:center; width:52px; height:52px; margin-bottom:22px;
  border-radius:50%; background:var(--mint); color:#0E2A21;
}
.form-done .done-ic svg{ width:26px; height:26px; }
.done-sum{ display:grid; grid-template-columns:max-content 1fr; gap:8px 20px; margin:22px 0 24px; padding:18px 0 0; border-top:1px solid var(--line); }
.done-sum[hidden]{ display:none; }
.done-sum dt{ color:var(--muted); }
.done-sum dd{ margin:0; color:var(--ink); font-weight:550; }
