/* ============================================================
   DONNYFY STUDIOS — design system
   Cinematic AI creative studio. Midnight ink + tungsten amber
   + electric violet. Film-strip / storyboard signature.
   ============================================================ */

/* ---------- Tokens: dark (default) ---------- */
:root {
  --bg: #0A0E1A;
  --bg-2: #0C1120;
  --surface: #121A2E;
  --surface-2: #1B2440;
  --border: rgba(245,241,232,.09);
  --border-strong: rgba(245,241,232,.18);
  --text: #F5F1E8;
  --text-2: #9AA3B5;
  --text-3: #66718A;
  --amber: #FFAD33;
  --amber-2: #FFC466;
  --amber-ink: #221300;
  --violet: #8B7BFF;
  --violet-2: #A79BFF;
  --violet-ink: #1A1438;
  --success: #3DDC97;
  --danger: #FF5C7A;
  --grad-brand: linear-gradient(135deg, #FFAD33 0%, #FF8A5C 48%, #8B7BFF 100%);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --r-xs: 10px;   /* small chips / inputs */
  --r-sm: 14px;   /* buttons */
  --r-md: 18px;   /* nested panels */
  --r-lg: 24px;   /* cards */
  --r-xl: 32px;   /* hero panels / CTA */

  --shadow-1: 0 1px 2px rgba(0,0,0,.35), 0 4px 14px rgba(0,0,0,.25);
  --shadow-2: 0 2px 6px rgba(0,0,0,.35), 0 18px 44px rgba(0,0,0,.4);
  --shadow-amber: 0 8px 30px rgba(255,177,74,.22);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --sect: clamp(72px, 9vw, 128px);
  --radius-hero: 28px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --nav-h: 74px;
}

/* ---------- Tokens: light ---------- */
html[data-theme="light"] {
  --bg: #F7F4EE;
  --bg-2: #EFEBE3;
  --surface: #FFFFFF;
  --surface-2: #ECE8DF;
  --border: rgba(20,24,33,.10);
  --border-strong: rgba(20,24,33,.18);
  --text: #141821;
  --text-2: #5C6577;
  --text-3: #8A93A6;
  --amber: #D98300;
  --amber-2: #C7760A;
  --amber-ink: #FFF8EF;
  --violet: #6C5CE7;
  --violet-2: #5646D6;
  --violet-ink: #F0EEFF;
  --success: #0E9F6E;
  --danger: #D64545;
  --shadow-1: 0 1px 2px rgba(10,14,26,.06), 0 6px 18px rgba(10,14,26,.07);
  --shadow-2: 0 2px 6px rgba(10,14,26,.07), 0 22px 50px rgba(10,14,26,.12);
  --shadow-amber: 0 8px 26px rgba(224,126,12,.24);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; margin: 0; color: var(--text); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--amber); color: var(--amber-ink); }

/* ---------- Utilities ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sect); position: relative; }
.section-tight { padding-block: clamp(48px, 7vw, 88px); }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--amber); font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--amber); border-radius: 2px; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(34px, 5vw, 54px); margin: 18px 0 16px; }
.section-head .lede { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow { justify-content: center; }
.mono { font-family: var(--font-mono); }
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ambl { color: var(--amber); }
.viol { color: var(--violet); }

/* ---------- Icons ---------- */
.icon { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 30px; height: 30px; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: .01em; padding: 15px 26px; border-radius: var(--r-sm);
  border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
  min-height: 48px; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--amber); color: var(--amber-ink); box-shadow: var(--shadow-amber); }
.btn-primary:hover { background: var(--amber-2); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(255,177,74,.32); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }
.btn-violet { background: var(--violet); color: var(--violet-ink); box-shadow: 0 8px 26px rgba(139,123,255,.25); }
.btn-violet:hover { background: var(--violet-2); transform: translateY(-2px); }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { transform: translateY(-2px); opacity: .92; }
.btn-lg { padding: 18px 34px; font-size: 16px; min-height: 56px; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; min-height: 40px; border-radius: 11px; }
.btn .icon { width: 18px; height: 18px; }

/* ---------- Chips / tags ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em;
  color: var(--text-2); border: 1px solid var(--border); background: var(--surface);
  padding: 8px 14px; border-radius: 999px;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: none; }
.chip .dot.violet { background: var(--violet); }
.chip .dot.success { background: var(--success); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; line-height: 1; display: flex; flex-direction: column; }
.brand-name small { font-family: var(--font-mono); font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: var(--text-3); margin-top: 4px; }
.brand-mark .mark-iris { transition: transform .5s var(--ease); transform-origin: center; }
.brand:hover .mark-iris { transform: rotate(30deg); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: 14.5px; color: var(--text-2);
  padding: 9px 14px; border-radius: 10px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a[aria-current="page"] { color: var(--amber); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2);
  transition: border-color .15s, color .15s, transform .15s;
}
.icon-btn:hover { color: var(--amber); border-color: var(--border-strong); }
.hamburger { display: none; }
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 70;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  flex-direction: column; padding: calc(var(--nav-h) + 12px) var(--gutter) 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -.02em;
  color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a small { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.mobile-menu .btn { margin-top: 26px; }
.menu-close { position: absolute; top: 16px; right: var(--gutter); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: max(680px, calc(100vh - var(--nav-h))); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .wash { position: absolute; inset: 0; }
.hero-bg .wash-a { background: radial-gradient(52% 46% at 78% 12%, rgba(139,123,255,.22), transparent 70%); }
.hero-bg .wash-b { background: radial-gradient(46% 42% at 16% 88%, rgba(255,177,74,.16), transparent 70%); }
.hero-bg .wash-c { background: radial-gradient(120% 90% at 50% 118%, rgba(8,11,20,.9), transparent 60%); }
html[data-theme="light"] .hero-bg .wash-c { background: radial-gradient(120% 90% at 50% 118%, rgba(246,247,251,.95), transparent 60%); }
.grid-lines { position: absolute; inset: 0; opacity: .5; background-image:
  linear-gradient(var(--border) 1px, transparent 1px),
  linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 70% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 20%, transparent 75%);
}
.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
}
html[data-theme="light"] .grain { opacity: .05; mix-blend-mode: multiply; }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(60px, 9vh, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-tagline { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.hero-tagline .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(52,211,153,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.5);} 70% { box-shadow: 0 0 0 9px rgba(52,211,153,0);} 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0);} }
.hero-title { font-size: clamp(42px, 6.4vw, 78px); line-height: 1.02; margin: 26px 0 22px; letter-spacing: -.03em; }
.hero-title .line { display: block; }
.hero-lede { font-size: clamp(16px, 1.7vw, 20px); color: var(--text-2); max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); margin-top: clamp(36px, 5vw, 56px); padding-top: 30px; border-top: 1px solid var(--border); }
.stat b { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.02em; display: block; }
.stat b em { font-style: normal; color: var(--amber); }
.stat span { font-size: 13.5px; color: var(--text-3); font-family: var(--font-mono); letter-spacing: .02em; }

/* Showreel composition — the signature */
.showreel { position: relative; }
.reel-stack { position: relative; padding: 10px; }
.reel-stack::before { content: ""; position: absolute; inset: -26px -30px; border-radius: 44px; background: conic-gradient(from 210deg, rgba(255,177,74,.16), rgba(139,123,255,.16), transparent 40%, rgba(255,177,74,.10)); filter: blur(30px); z-index: 0; }
.frame {
  position: relative; border-radius: var(--radius-hero); overflow: hidden;
  border: 1px solid var(--border-strong); background: var(--surface);
  box-shadow: var(--shadow-2); z-index: 1;
}
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.frame-main { aspect-ratio: 16/10; }
.frame-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,11,20,0) 55%, rgba(8,11,20,.55)); }
.frame-caption { position: absolute; left: 18px; bottom: 16px; z-index: 2; color: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.frame-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2;
}
.frame-play .play {
  width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--amber) 88%, white 4%);
  color: var(--amber-ink); box-shadow: 0 10px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.18);
  transition: transform .3s var(--ease);
}
.frame:hover .play { transform: scale(1.08); }
.frame-play .play .icon { width: 26px; height: 26px; }
.reel-flicks { position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); display: flex; gap: 14px; z-index: 2; }
.reel-flick { width: 96px; border-radius: 18px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-1); background: var(--surface-2); display: flex; flex-direction: column; }
.reel-flick img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.reel-flick:nth-child(1) { transform: translateY(-16px) rotate(-4deg); }
.reel-flick:nth-child(3) { transform: translateY(-16px) rotate(4deg); }
.reel-flick figcaption { font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; color: var(--text-3); text-align: center; padding: 6px 4px 8px; }
.reel-ticker {
  margin-top: 74px; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2);
}
.reel-ticker .ticks { display: flex; gap: 18px; }
.reel-ticker .ticks span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-right: 8px; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { border-block: 1px solid var(--border); background: var(--bg-2); padding: 22px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 64px; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--text-3); letter-spacing: .02em; white-space: nowrap; }
.marquee-item::after { content: ""; width: 8px; height: 8px; background: var(--amber); border-radius: 50%; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; padding: 34px 30px; border-radius: var(--r-lg); border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-2); }
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand); opacity: 0; transition: opacity .3s;
}
.service-card:hover::before { opacity: 1; }
.service-ico {
  width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--amber) 14%, var(--surface)); color: var(--amber); border: 1px solid var(--border);
  margin-bottom: 22px;
}
.service-card:nth-child(even) .service-ico { background: color-mix(in srgb, var(--violet) 14%, var(--surface)); color: var(--violet); }
.service-card h3 { font-size: 21px; margin-bottom: 12px; }
.service-card p { color: var(--text-2); font-size: 15px; }
.service-card .svc-list { margin-top: 18px; display: grid; gap: 10px; }
.service-card .svc-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-2); }
.service-card .svc-list .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--amber); }
.service-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--amber); }
.service-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.service-link:hover .icon { transform: translateX(4px); }

/* ============================================================
   PROCESS
   ============================================================ */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; padding: 30px 26px; border-radius: var(--r-lg); border: 1px solid var(--border);
  background: var(--surface);
}
.step::after {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 22px; right: 24px; font-family: var(--font-mono); font-size: 30px;
  color: transparent; -webkit-text-stroke: 1px var(--border-strong); font-weight: 700;
}
.step h3 { font-size: 19px; margin: 18px 0 10px; }
.step p { color: var(--text-2); font-size: 14.5px; }
.step .step-ico { width: 44px; height: 44px; border-radius: 13px; background: color-mix(in srgb, var(--violet) 15%, var(--surface)); color: var(--violet); display: flex; align-items: center; justify-content: center; }

/* ============================================================
   WORK / PORTFOLIO
   ============================================================ */
.work-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.work-toolbar .chip { cursor: pointer; transition: all .15s; }
.work-toolbar .chip.active { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); }
.work-toolbar .chip.active .dot { background: var(--amber-ink); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border);
  background: var(--surface); aspect-ratio: 4/5; display: block; transition: transform .3s var(--ease), box-shadow .3s;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-card:hover img { transform: scale(1.05); }
.work-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,11,20,0) 40%, rgba(8,11,20,.85)); }
.work-overlay { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.work-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.work-tags span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.work-overlay h3 { color: #fff; font-size: 19px; }
.work-overlay p { color: rgba(255,255,255,.7); font-size: 13px; }
.work-card .play-ghost {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2;
  width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--bg);
  display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s;
}
.work-card:hover .play-ghost { opacity: 1; }
.work-card .play-ghost .icon { width: 20px; height: 20px; }
.work-card.video-card .play-ghost { opacity: 1; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { position: relative; overflow: hidden; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.t-card { padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; gap: 20px; }
.t-stars { display: flex; gap: 4px; color: var(--amber); }
.t-stars .icon { width: 16px; height: 16px; }
.t-quote { font-size: 15.5px; color: var(--text); line-height: 1.7; }
.t-meta { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 6px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-strong); flex: none; }
.avatar-fallback { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--violet) 18%, var(--surface)); color: var(--violet); font-family: var(--font-display); font-weight: 700; font-size: 16px; flex: none; }
.t-meta b { display: block; font-family: var(--font-display); font-size: 15px; }
.t-meta span { font-size: 13px; color: var(--text-3); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 32px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.plan-featured { border-color: transparent; background: linear-gradient(180deg, color-mix(in srgb, var(--amber) 9%, var(--surface)), var(--surface)); box-shadow: var(--shadow-amber); }
.plan-flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--amber); color: var(--amber-ink); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 22px; }
.plan .plan-desc { color: var(--text-2); font-size: 14px; margin: 8px 0 22px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px; }
.plan-price b { font-family: var(--font-display); font-size: 46px; letter-spacing: -.03em; line-height: 1; }
.plan-price span { color: var(--text-3); font-size: 14px; }
.plan-feats { display: grid; gap: 12px; margin: 6px 0 28px; flex: 1; }
.plan-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.plan-feats .icon { width: 17px; height: 17px; margin-top: 3px; color: var(--amber); flex: none; }
.plan-feats .icon.off { color: var(--text-3); opacity: .5; }
.plan-feats li.no { color: var(--text-3); }
.plan-footnote { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--text-3); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--amber); transition: transform .25s var(--ease); width: 22px; height: 22px; flex: none; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-a { padding: 0 26px 24px; color: var(--text-2); font-size: 15px; max-width: 640px; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.post-media { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; color: var(--text-3); text-transform: uppercase; }
.post-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); }
.post-body h3 { font-size: 19px; line-height: 1.25; }
.post-body h3 a:hover { color: var(--amber); }
.post-excerpt { color: var(--text-2); font-size: 14.5px; }
.post-read { margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--amber); display: inline-flex; align-items: center; gap: 8px; }
.post-read .icon { width: 16px; height: 16px; transition: transform .2s; }
.post-card:hover .post-read .icon { transform: translateX(4px); }
.blog-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; margin-bottom: 40px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.blog-feature .post-media { aspect-ratio: 16/10; height: 100%; }
.blog-feature .post-body { padding: clamp(28px, 4vw, 48px); gap: 18px; }
.blog-feature h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; }

/* Article */
.article { max-width: 760px; margin-inline: auto; }
.article-hero { margin-bottom: 48px; text-align: center; }
.article-hero h1 { font-size: clamp(32px, 5vw, 54px); margin: 20px 0 18px; }
.article-hero .post-meta { justify-content: center; }
.article-hero .byline { margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.article-cover { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border); margin-bottom: 44px; }
.article-cover img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.article-body { font-size: 17px; color: var(--text-2); line-height: 1.8; }
.article-body h2 { font-size: 26px; color: var(--text); margin: 44px 0 16px; }
.article-body h3 { font-size: 20px; color: var(--text); margin: 34px 0 12px; }
.article-body p { margin: 0 0 22px; }
.article-body ul { list-style: none; margin: 0 0 24px; display: grid; gap: 12px; }
.article-body ul li { padding-left: 28px; position: relative; }
.article-body ul li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.article-body blockquote { margin: 32px 0; padding: 26px 30px; border-radius: var(--r-md); border-left: 3px solid var(--amber); background: var(--surface); font-family: var(--font-display); font-size: 20px; color: var(--text); }
.article-body code { font-family: var(--font-mono); font-size: .85em; background: var(--surface); border: 1px solid var(--border); padding: 2px 7px; border-radius: 7px; }
.article-body .fig { margin: 32px 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); }
.article-body .fig figcaption { padding: 12px 18px; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); background: var(--surface); }
.article-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 40px 0; }
.article-share { display: flex; align-items: center; gap: 12px; margin: 34px 0; padding: 22px 26px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.article-share span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.article-share .icon-btn { width: 42px; height: 42px; }
.author-card { display: flex; gap: 18px; align-items: center; padding: 26px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); margin: 40px 0; }
.author-card b { font-family: var(--font-display); font-size: 16px; display: block; }
.author-card span { font-size: 13.5px; color: var(--text-3); }
.author-card p { font-size: 14.5px; color: var(--text-2); margin-top: 6px; }

/* ============================================================
   CTA + NEWSLETTER
   ============================================================ */
.cta-panel {
  position: relative; border-radius: var(--r-xl); overflow: hidden; text-align: center;
  padding: clamp(56px, 8vw, 96px) var(--gutter);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, color-mix(in srgb, var(--violet) 16%, var(--surface)), color-mix(in srgb, var(--amber) 10%, var(--surface)));
}
.cta-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 55% at 50% 0%, rgba(255,177,74,.22), transparent 70%); }
.cta-panel h2 { font-size: clamp(34px, 5vw, 56px); margin: 20px auto 16px; max-width: 680px; position: relative; }
.cta-panel .lede { color: var(--text-2); max-width: 560px; margin-inline: auto; position: relative; }
.cta-actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.cta-note { position: relative; margin-top: 20px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--text-3); }

.newsletter { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.newsletter h3 { font-size: clamp(22px, 2.6vw, 30px); margin: 10px 0 8px; }
.newsletter p { color: var(--text-2); font-size: 14.5px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form .input { flex: 1; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.contact-info { display: grid; gap: 26px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-row .cico { width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--amber) 14%, var(--surface)); color: var(--amber); display: flex; align-items: center; justify-content: center; flex: none; border: 1px solid var(--border); }
.contact-row b { font-family: var(--font-display); font-size: 16px; display: block; margin-bottom: 4px; }
.contact-row p, .contact-row a { color: var(--text-2); font-size: 14.5px; display: block; }
.contact-row a:hover { color: var(--amber); }

/* ============================================================
   FORMS
   ============================================================ */
.form-panel { border-radius: var(--r-xl); border: 1px solid var(--border); background: var(--surface); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: 14px; }
.field label .req { color: var(--amber); }
.input, .select, .textarea {
  width: 100%; background: var(--bg); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: var(--r-xs);
  padding: 14px 16px; font-size: 15px; font-family: var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 18%, transparent); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2366718A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--text-3); }
.form-success { display: none; align-items: center; gap: 14px; padding: 22px 26px; border-radius: var(--r-md); border: 1px solid color-mix(in srgb, var(--success) 40%, transparent); background: color-mix(in srgb, var(--success) 10%, var(--surface)); color: var(--text); font-weight: 500; }
.form-success.show { display: flex; }
.form-success .icon { color: var(--success); }
.form-error { color: var(--danger); font-size: 13px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding-top: clamp(56px, 7vw, 84px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 48px); padding-bottom: 48px; }
.footer-brand p { color: var(--text-2); font-size: 14.5px; margin: 18px 0 22px; max-width: 300px; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); display: flex; align-items: center; justify-content: center; transition: all .2s; }
.social a:hover { color: var(--amber); border-color: var(--amber); transform: translateY(-3px); }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 20px; }
.footer-col a { display: block; color: var(--text-2); font-size: 14.5px; padding: 6px 0; transition: color .15s, transform .15s; }
.footer-col a:hover { color: var(--amber); transform: translateX(3px); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: var(--text-3); }
.footer-bottom .mini-links { display: flex; gap: 22px; }
.footer-bottom .mini-links a { color: var(--text-3); font-size: 13px; }
.footer-bottom .mini-links a:hover { color: var(--amber); }

/* ============================================================
   PAGES: headers
   ============================================================ */
.page-hero { position: relative; padding-block: clamp(64px, 10vw, 120px) clamp(40px, 6vw, 72px); overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 68px); max-width: 840px; margin: 20px 0 18px; }
.page-hero .lede { color: var(--text-2); font-size: clamp(16px, 1.7vw, 19px); max-width: 640px; }
.page-hero .crumbs { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.page-hero .crumbs a { color: var(--amber); }
.breadcrumb { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumb .icon { width: 13px; height: 13px; }

/* ============================================================
   START WIZARD
   ============================================================ */
.wizard-shell { max-width: 1080px; margin-inline: auto; }
.wizard-progress { display: flex; gap: 0; margin-bottom: clamp(28px, 4vw, 44px); }
.wz-step { flex: 1; display: flex; flex-direction: column; gap: 8px; position: relative; }
.wz-step .wz-bar { height: 3px; border-radius: 3px; background: var(--surface-2); position: relative; overflow: hidden; }
.wz-step .wz-bar::after { content: ""; position: absolute; inset: 0; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.wz-step.done .wz-bar::after { transform: scaleX(1); }
.wz-step.active .wz-bar::after { transform: scaleX(1); }
.wz-label { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.wz-step.active .wz-label { color: var(--amber); }
.wz-step.done .wz-label { color: var(--text-2); }
.wz-num { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-strong); font-size: 11px; background: var(--surface); }
.wz-step.active .wz-num { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); }
.wz-step.done .wz-num { background: var(--surface-2); color: var(--text-2); }

.wizard-card { border-radius: var(--r-xl); border: 1px solid var(--border); background: var(--surface); padding: clamp(24px, 4vw, 48px); }
.wz-panel { display: none; }
.wz-panel.active { display: block; }
.wz-panel h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 8px; }
.wz-panel .wz-sub { color: var(--text-2); margin-bottom: 30px; max-width: 560px; }
.wz-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.wz-actions .btn { min-width: 150px; }

/* Brief type selector */
.brief-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.brief-type { text-align: left; padding: 18px 16px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--bg); cursor: pointer; transition: all .15s; }
.brief-type:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.brief-type.active { border-color: var(--amber); background: color-mix(in srgb, var(--amber) 8%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 14%, transparent); }
.brief-type .icon { width: 24px; height: 24px; color: var(--violet); margin-bottom: 10px; }
.brief-type b { display: block; font-family: var(--font-display); font-size: 15px; }
.brief-type span { font-size: 12.5px; color: var(--text-3); }

/* Dropzone */
.dropzone {
  border: 2px dashed var(--border-strong); border-radius: var(--r-lg); background: var(--bg);
  padding: clamp(30px, 5vw, 52px); text-align: center; cursor: pointer; transition: all .2s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--amber); background: color-mix(in srgb, var(--amber) 5%, var(--surface)); }
.dropzone .dz-ico { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px; background: color-mix(in srgb, var(--violet) 14%, var(--surface)); color: var(--violet); display: flex; align-items: center; justify-content: center; }
.dropzone b { font-family: var(--font-display); font-size: 17px; display: block; margin-bottom: 6px; }
.dropzone p { color: var(--text-3); font-size: 13.5px; }
.uploads { display: grid; gap: 12px; margin-top: 18px; }
.upload-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--bg); }
.upload-item .u-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--amber); flex: none; }
.upload-item .u-meta { flex: 1; min-width: 0; }
.upload-item .u-meta b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload-item .u-meta span { font-size: 12px; color: var(--text-3); font-family: var(--font-mono); }
.upload-item .icon-btn { width: 36px; height: 36px; }

/* AI analysis panel */
.ai-panel { border-radius: var(--r-lg); border: 1px solid color-mix(in srgb, var(--violet) 34%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--violet) 12%, var(--surface)), var(--surface)); padding: 26px; margin-top: 20px; }
.ai-panel .ai-head { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; color: var(--violet); margin-bottom: 14px; }
.ai-panel .ai-head .icon { animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ai-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ai-tags .chip { border-color: color-mix(in srgb, var(--violet) 30%, var(--border)); color: var(--text-2); }
.ai-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.ai-kv div { background: color-mix(in srgb, var(--violet) 8%, var(--bg)); border-radius: var(--r-xs); padding: 12px 14px; }
.ai-kv span { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.ai-kv b { font-family: var(--font-display); font-size: 14px; }

/* Packages */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pkg { padding: 20px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--bg); cursor: pointer; transition: all .15s; position: relative; }
.pkg:hover { transform: translateY(-2px); }
.pkg.active { border-color: var(--amber); background: color-mix(in srgb, var(--amber) 7%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 14%, transparent); }
.pkg b { font-family: var(--font-display); font-size: 16px; display: block; }
.pkg .pkg-price { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--amber); margin: 8px 0; }
.pkg p { font-size: 13px; color: var(--text-3); }
.pkg .check { position: absolute; top: 16px; right: 16px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: flex; align-items: center; justify-content: center; color: transparent; }
.pkg.active .check { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.pkg .check .icon { width: 13px; height: 13px; }

/* Checkout */
.order-summary { border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg); padding: 26px; }
.os-row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; font-size: 14.5px; color: var(--text-2); }
.os-row b { color: var(--text); font-family: var(--font-display); }
.os-total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 16px; font-size: 17px; }
.os-total b { font-size: 26px; }
.pay-note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-xs); background: color-mix(in srgb, var(--success) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--success) 30%, transparent); font-size: 13px; color: var(--text-2); margin-top: 18px; }
.pay-note .icon { color: var(--success); width: 18px; height: 18px; flex: none; margin-top: 2px; }

/* ============================================================
   ACCOUNT
   ============================================================ */
.auth-shell { max-width: 460px; margin-inline: auto; }
.auth-logo { display: flex; justify-content: center; margin-bottom: 26px; }
.auth-tabs { display: flex; gap: 6px; padding: 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 24px; }
.auth-tabs button { flex: 1; padding: 12px; border-radius: 10px; border: none; background: transparent; color: var(--text-2); font-family: var(--font-display); font-weight: 600; font-size: 14.5px; transition: all .2s; }
.auth-tabs button.active { background: var(--amber); color: var(--amber-ink); }
.auth-alt { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-3); }
.auth-alt button { background: none; border: none; color: var(--amber); font-weight: 600; font-size: 14px; padding: 0; }

.dash-grid { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.dash-nav { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); padding: 14px; display: grid; gap: 6px; position: sticky; top: calc(var(--nav-h) + 20px); }
.dash-nav button { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px; border: none; background: transparent; color: var(--text-2); font-family: var(--font-display); font-weight: 500; font-size: 14.5px; text-align: left; transition: all .15s; }
.dash-nav button:hover { background: var(--bg-2); color: var(--text); }
.dash-nav button.active { background: color-mix(in srgb, var(--amber) 12%, transparent); color: var(--amber); }
.dash-nav button .icon { width: 18px; height: 18px; }
.dash-panel { display: none; }
.dash-panel.active { display: block; }
.dash-panel h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 6px; }
.dash-panel .dash-sub { color: var(--text-2); margin-bottom: 28px; }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }

.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.stat-card { padding: 20px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); }
.stat-card b { font-family: var(--font-display); font-size: 30px; display: block; letter-spacing: -.02em; }
.stat-card span { font-size: 13px; color: var(--text-3); font-family: var(--font-mono); }
.stat-card .stat-ico { float: right; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--amber) 14%, var(--surface)); color: var(--amber); display: flex; align-items: center; justify-content: center; }

.order-card { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); padding: 24px; margin-bottom: 16px; }
.order-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.order-id { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--text-3); }
.order-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-top: 4px; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; }
.badge-staging { background: color-mix(in srgb, var(--violet) 14%, transparent); color: var(--violet); }
.badge-staging .dot { background: var(--violet); }
.badge-production { background: color-mix(in srgb, var(--amber) 16%, transparent); color: var(--amber); }
.badge-production .dot { background: var(--amber); }
.badge-delivered { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.badge-delivered .dot { background: var(--success); }
.order-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; font-size: 13px; color: var(--text-3); font-family: var(--font-mono); }
.order-meta b { color: var(--text-2); font-family: var(--font-body); font-weight: 600; }

.trackline { display: flex; align-items: flex-start; }
.track-step { flex: 1; text-align: center; position: relative; }
.track-step::before { content: ""; position: absolute; top: 13px; left: 50%; width: 100%; height: 2px; background: var(--surface-2); z-index: 0; }
.track-step:first-child::before { display: none; }
.track-dot { width: 28px; height: 28px; margin: 0 auto 8px; border-radius: 50%; border: 2px solid var(--surface-2); background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--text-3); position: relative; z-index: 1; }
.track-step.done .track-dot { background: var(--success); border-color: var(--success); color: var(--bg); }
.track-step.active .track-dot { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); box-shadow: 0 0 0 5px color-mix(in srgb, var(--amber) 18%, transparent); }
.track-step.done::before, .track-step.active::before { background: var(--success); }
.track-step label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); display: block; }
.track-step.done label, .track-step.active label { color: var(--text-2); }

/* Empty states */
.empty-state { text-align: center; padding: clamp(40px, 6vw, 70px) 24px; border: 1px dashed var(--border-strong); border-radius: var(--r-lg); }
.empty-state .e-ico { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; background: color-mix(in srgb, var(--violet) 14%, var(--surface)); color: var(--violet); display: flex; align-items: center; justify-content: center; }
.empty-state h3 { font-size: 20px; margin-bottom: 8px; }
.empty-state p { color: var(--text-2); max-width: 380px; margin: 0 auto 22px; }

/* ============================================================
   MISCELLANEOUS
   ============================================================ */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats-band .stat-card { text-align: center; padding: 30px 20px; }
.stats-band .stat-card b { font-size: clamp(30px, 3.6vw, 44px); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.two-col .aside-title { font-size: clamp(28px, 3.6vw, 42px); margin: 16px 0 16px; }
.two-col .aside-lede { color: var(--text-2); }
.value-list { display: grid; gap: 16px; margin-top: 26px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-item .v-ico { width: 44px; height: 44px; border-radius: 13px; background: color-mix(in srgb, var(--amber) 14%, var(--surface)); color: var(--amber); display: flex; align-items: center; justify-content: center; flex: none; }
.value-item h4 { font-size: 17px; margin-bottom: 4px; }
.value-item p { color: var(--text-2); font-size: 14.5px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); transition: transform .3s var(--ease), box-shadow .3s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.team-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.team-body { padding: 18px 20px; }
.team-body b { font-family: var(--font-display); font-size: 16px; display: block; }
.team-body span { font-size: 13px; color: var(--amber); font-family: var(--font-mono); }
.team-body p { font-size: 13.5px; color: var(--text-2); margin-top: 8px; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.logo-cell { height: 84px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--text-3); font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .02em; transition: all .2s; }
.logo-cell:hover { color: var(--amber); border-color: var(--border-strong); }
.pricing-note { text-align: center; color: var(--text-3); font-size: 14px; margin-top: 22px; }
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.compare-table th { font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); background: var(--bg-2); }
.compare-table td { color: var(--text-2); }
.compare-table td:first-child { color: var(--text); font-weight: 500; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--amber); }
.compare-table .no { color: var(--text-3); opacity: .55; }

/* Toast */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 100; display: grid; gap: 10px; }
.toast { display: flex; align-items: center; gap: 12px; padding: 15px 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-2); color: var(--text); font-size: 14.5px; animation: toast-in .3s var(--ease); max-width: 360px; }
.toast .icon { color: var(--success); }
.toast.out { animation: toast-out .3s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px);} to { opacity: 1; transform: none;} }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px);} }

/* Reveal on scroll — visible by default, JS may enhance */
.reveal { opacity: 1; transform: none; }
html.js-ready .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js-ready .reveal.in { opacity: 1; transform: none; }
html.js-ready .reveal[data-delay="1"] { transition-delay: .08s; }
html.js-ready .reveal[data-delay="2"] { transition-delay: .16s; }
html.js-ready .reveal[data-delay="3"] { transition-delay: .24s; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 8px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .services-grid, .work-grid, .testi-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-nav { position: static; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .showreel { max-width: 560px; }
  .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .blog-feature { grid-template-columns: 1fr; }
  .ai-kv { grid-template-columns: 1fr 1fr; }
  .pkg-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .brief-types { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-actions .btn-cta-desktop { display: none; }
  .hamburger { display: inline-flex; }
  .services-grid, .work-grid, .testi-grid, .blog-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .wz-label span { display: none; }
  [data-nav-user-name] { display: none; }
  [data-nav-user-initial] { display: none; }
  .wz-label { justify-content: center; }
  .reel-flicks { position: static; transform: none; justify-content: center; margin-top: 20px; }
  .reel-flick:nth-child(1), .reel-flick:nth-child(3) { transform: none; }
  .reel-ticker { display: none; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-title { font-size: clamp(38px, 11vw, 54px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js-ready .reveal { opacity: 1; transform: none; }
}
