/* H30 — Liquid Glass v5
   Apple-inspired liquid glass, dual themes:
   - Light (home/contact): clean white editorial
   - Studio (warm): ivory/cream (#faf8f5)
   - Flow (dark): deep blue-black (#0a0b14)
*/

/* ─── Tokens ───────────────────────────────────────────── */
:root {
  /* Neutral palette */
  --white: #ffffff;
  --black: #0b0b0f;
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-300: #d4d4d8;
  --gray-400: #a1a1aa;
  --gray-500: #71717a;
  --gray-600: #52525b;
  --gray-700: #3f3f46;
  --gray-800: #27272a;
  --gray-900: #18181b;

  /* Studio (warm) */
  --studio: #e8630a;
  --studio-light: #f59e0b;
  --studio-soft: rgba(232,99,10,.07);
  --studio-border: rgba(232,99,10,.12);
  --studio-glow: rgba(232,99,10,.06);

  /* Flow (cool) */
  --flow: #6366f1;
  --flow-light: #818cf8;
  --flow-soft: rgba(99,102,241,.07);
  --flow-border: rgba(99,102,241,.12);
  --flow-glow: rgba(99,102,241,.06);

  /* Dive (purple) */
  --dive: #7c3aed;
  --dive-light: #a78bfa;
  --dive-soft: rgba(124,58,237,.07);
  --dive-border: rgba(124,58,237,.12);
  --dive-glow: rgba(124,58,237,.06);

  /* Layout */
  --max: 1120px;
  --max-wide: 1280px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  /* Theme defaults (light) */
  --bg: #ffffff;
  --bg-secondary: #fafafa;
  --bg-surface: #f7f7f8;
  --text: #1a1a1f;
  --text-secondary: #52525b;
  --text-muted: #a1a1aa;
  --border: rgba(0,0,0,.06);
  --border-strong: rgba(0,0,0,.10);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.04);
  --shadow: 0 4px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.1);

  /* Glass (light) */
  --glass-bg: rgba(255,255,255,.55);
  --glass-border: rgba(255,255,255,.5);
  --glass-shadow: 0 8px 32px rgba(0,0,0,.06), inset 0 1px 0 rgba(255,255,255,.7);
  --glass-blur: blur(40px) saturate(1.6);

  /* White alpha for filter buttons */
  --white-alpha-4: rgba(255,255,255,.04);
}

/* ─── Theme: Studio (warm) ─────────────────────────────── */
.theme-studio {
  --bg: #faf8f5;
  --bg-secondary: #f5f2ed;
  --bg-surface: #f0ede7;
  --glass-bg: rgba(250,248,245,.6);
  --glass-border: rgba(255,255,255,.45);
}

/* ─── Theme: Flow (dark) ───────────────────────────────── */
.theme-flow {
  --bg: #0a0b14;
  --bg-secondary: #10111c;
  --bg-surface: #151625;
  --text: #f0f0f5;
  --text-secondary: #9498b3;
  --text-muted: #5c6080;
  --border: rgba(255,255,255,.06);
  --border-strong: rgba(255,255,255,.10);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.2);
  --shadow: 0 4px 24px rgba(0,0,0,.25);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.3);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.35);
  --glass-bg: rgba(255,255,255,.04);
  --glass-border: rgba(255,255,255,.08);
  --glass-shadow: 0 8px 32px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.06);
  --glass-blur: blur(40px) saturate(1.8);
}

/* ─── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}

a { color: inherit; text-decoration: none }
img { max-width: 100%; display: block }

/* ─── Layout ───────────────────────────────────────────── */
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto }
.container--wide { width: min(var(--max-wide), calc(100% - 48px)); margin-inline: auto }

/* ─── Typography ───────────────────────────────────────── */
.h1 {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: .98;
}
.h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.h3 {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.subhead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 52ch;
}
.kicker {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 14px;
}
.small { font-size: 13px; line-height: 1.6 }

/* Utility text colors */
.text-secondary { color: var(--text-secondary) }
.muted { color: var(--text-muted) }

/* Gradient text */
.gradient-studio {
  background: linear-gradient(135deg, #e8630a 20%, #f59e0b 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-flow {
  background: linear-gradient(135deg, #6366f1 20%, #818cf8 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-dive {
  background: linear-gradient(135deg, #7c3aed 20%, #a78bfa 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Skip ─────────────────────────────────────────────── */
.skip {
  position: absolute; left: -9999px; top: 12px;
  background: var(--white); color: var(--black);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 16px;
  font-weight: 600; font-size: 13px; z-index: 10000;
}
.skip:focus { left: 12px }

/* ─── Navigation — Liquid Glass ────────────────────────── */
.nav {
  position: fixed; top: 12px; left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(var(--max), calc(100% - 32px));
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: var(--glass-shadow);
  transition: background .4s var(--ease), border-color .4s var(--ease),
              box-shadow .4s var(--ease), transform .3s var(--ease);
}

/* Scrolled state — enhanced glass, NOT black */
.nav--scrolled {
  background: rgba(255,255,255,.78);
  border-color: rgba(255,255,255,.6);
  box-shadow: 0 8px 40px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.8);
}
.theme-studio .nav--scrolled {
  background: rgba(250,248,245,.82);
  border-color: rgba(255,255,255,.5);
}
.theme-flow .nav--scrolled {
  background: rgba(10,11,20,.82);
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 8px 40px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.06);
}

.nav__inner {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 20px;
  gap: 8px;
}
.brand {
  font-weight: 800;
  letter-spacing: -0.06em;
  font-size: 19px;
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 1px;
  font-size: 13px;
  font-weight: 500;
}
.nav__links a {
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--text-secondary);
  transition: all .2s var(--ease);
}
.nav__links a:hover { color: var(--text); background: rgba(0,0,0,.04) }
.nav__links a.is-active { color: var(--text); background: rgba(0,0,0,.06); font-weight: 600 }

/* Flow dark nav overrides */
.theme-flow .nav__links a:hover { background: rgba(255,255,255,.06) }
.theme-flow .nav__links a.is-active { background: rgba(255,255,255,.08) }

.nav__actions { display: flex; align-items: center; gap: 8px }

.burger {
  display: none;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  place-items: center;
}
.burger span {
  display: block; height: 1.5px; width: 14px;
  background: var(--text);
  margin: 3px auto; border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.burger.is-active span:first-child { transform: rotate(45deg) translate(2px, 2px) }
.burger.is-active span:last-child { transform: rotate(-45deg) translate(2px, -2px) }

.mobile {
  display: none;
  position: fixed;
  top: 72px; left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(var(--max), calc(100% - 32px));
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 8px;
  z-index: 999;
  opacity: 0;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.mobile a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 550; font-size: 15px;
  transition: all .2s;
}
.mobile a:hover { background: rgba(0,0,0,.04); color: var(--text) }
.theme-flow .mobile a:hover { background: rgba(255,255,255,.06) }
.mobile.is-open {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  font-weight: 550;
  font-size: 13.5px;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn:active {
  transform: translateY(0) scale(.98);
  box-shadow: none;
  transition-duration: .1s;
}

.btn--primary {
  background: var(--text);
  color: var(--bg);
  border-color: transparent;
  font-weight: 600;
}
.btn--primary:hover { box-shadow: var(--shadow-lg) }

.btn--studio {
  background: var(--studio);
  color: #fff;
  border-color: transparent;
  font-weight: 600;
}
.btn--studio:hover {
  background: #d45a08;
  box-shadow: 0 8px 32px rgba(232,99,10,.2);
}

.btn--flow {
  background: var(--flow);
  color: #fff;
  border-color: transparent;
  font-weight: 600;
}
.btn--flow:hover {
  background: #5558e6;
  box-shadow: 0 8px 32px rgba(99,102,241,.2);
}

.btn--ghost-studio { border-color: var(--studio-border); color: var(--studio) }
.btn--ghost-studio:hover { background: var(--studio-soft); border-color: rgba(232,99,10,.2) }

.btn--ghost-flow { border-color: var(--flow-border); color: var(--flow) }
.btn--ghost-flow:hover { background: var(--flow-soft); border-color: rgba(99,102,241,.2) }

.btn--dive {
  background: var(--dive);
  color: #fff;
  border-color: transparent;
  font-weight: 600;
}
.btn--dive:hover {
  background: #6d28d9;
  box-shadow: 0 8px 32px rgba(124,58,237,.2);
}
.btn--ghost-dive { border-color: var(--dive-border); color: var(--dive) }
.btn--ghost-dive:hover { background: var(--dive-soft); border-color: rgba(124,58,237,.2) }

.btn--sm { height: 34px; padding: 0 14px; font-size: 12.5px }

.link {
  display: inline-flex; align-items: center;
  gap: 6px; font-weight: 550; font-size: 14px;
  transition: gap .2s var(--ease);
}
.link:hover { gap: 10px }
.link--studio { color: var(--studio) }
.link--flow { color: var(--flow) }
.link .arrow { font-size: 15px; transition: transform .2s var(--ease) }
.link:hover .arrow { transform: translateX(2px) }

/* ─── Pill / Badge ─────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px; font-weight: 550;
  border: 1px solid var(--border);
  background: var(--glass-bg);
  color: var(--text-secondary);
  backdrop-filter: blur(12px);
  transition: all .2s var(--ease);
}
.pill--studio { border-color: var(--studio-border); color: var(--studio); background: var(--studio-soft) }
.pill--flow { border-color: var(--flow-border); color: var(--flow); background: var(--flow-soft) }
.pill--dive { border-color: var(--dive-border); color: var(--dive); background: var(--dive-soft) }

.badge {
  display: inline-flex; align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px; font-weight: 650;
  letter-spacing: .03em; text-transform: uppercase;
}
.badge--studio { background: var(--studio-soft); color: var(--studio); border: 1px solid var(--studio-border) }
.badge--flow { background: var(--flow-soft); color: var(--flow); border: 1px solid var(--flow-border) }

/* ─── Hero ─────────────────────────────────────────────── */
.hero {
  padding: clamp(110px, 16vh, 180px) 0 clamp(48px, 8vh, 80px);
  position: relative; overflow: hidden;
}
.hero__actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; margin-top: 28px;
}
.hero__meta {
  display: flex; gap: 6px; flex-wrap: wrap;
  justify-content: center; margin-top: 18px;
}

/* Soft background orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none; z-index: 0;
}
.hero__orb--studio { width: 500px; height: 500px; background: rgba(232,99,10,.04); top: -10%; left: 10% }
.hero__orb--flow { width: 500px; height: 500px; background: rgba(99,102,241,.04); top: -10%; right: 10% }
.hero__orb--single-studio { width: 600px; height: 600px; background: rgba(232,99,10,.05); top: -20%; left: 50%; transform: translateX(-50%) }
.hero__orb--single-flow { width: 600px; height: 600px; background: rgba(99,102,241,.06); top: -20%; left: 50%; transform: translateX(-50%) }
.hero__orb--single-dive { width: 600px; height: 600px; background: rgba(124,58,237,.05); top: -20%; left: 50%; transform: translateX(-50%) }
.theme-flow .hero__orb--flow { background: rgba(99,102,241,.08) }
.theme-flow .hero__orb--single-flow { background: rgba(99,102,241,.1) }

/* ─── Sections ─────────────────────────────────────────── */
.section {
  padding: clamp(64px, 9vh, 112px) 0;
  position: relative;
}
.section--alt { background: var(--bg-secondary) }
.section--surface { background: var(--bg-surface) }

/* ─── Generic Card (used in studio, contact, etc.) ────── */
.card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 50%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.12) 0%, transparent 100%);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.card--studio { border-color: rgba(232,99,10,.08) }
.card--studio:hover { border-color: rgba(232,99,10,.15) }
.card--studio::before { background: linear-gradient(180deg, rgba(232,99,10,.03) 0%, transparent 60%) }
.card--flow { border-color: rgba(99,102,241,.08) }
.card--flow:hover { border-color: rgba(99,102,241,.15) }
.card--flow::before { background: linear-gradient(180deg, rgba(99,102,241,.03) 0%, transparent 60%) }

.card h3 { font-size: 18px; font-weight: 650; letter-spacing: -0.015em; margin-bottom: 6px }
.card p { color: var(--text-secondary); line-height: 1.6; font-size: 14.5px }
.card .list { list-style: none; padding: 0; margin-top: 16px }
.card .list li {
  padding: 8px 0; border-bottom: 1px solid var(--border);
  color: var(--text-secondary); font-size: 14px;
  display: flex; align-items: center; gap: 10px;
}
.card .list li:last-child { border-bottom: none }
.card .list li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  flex-shrink: 0; background: var(--text-muted);
}
.card--studio .list li::before { background: var(--studio) }
.card--flow .list li::before { background: var(--flow) }

/* ─── Feature Card (studio/flow hero split) ───────────── */
.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 50%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.1) 0%, transparent 100%);
  pointer-events: none;
}
.feature-card__visual {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.feature-card__visual--studio {
  background: linear-gradient(135deg, #fef3e2 0%, #fdf8f0 100%);
  border: 1px solid rgba(232,99,10,.06);
}
.feature-card__visual--flow {
  background: linear-gradient(135deg, #13142a 0%, #0c0d1a 100%);
  border: 1px solid rgba(99,102,241,.08);
}

/* ─── Liquid Glass Cards ───────────────────────────────── */
.glass-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 28px 24px;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
}
/* Specular highlight */
.glass-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 50%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.15) 0%, transparent 100%);
  pointer-events: none;
}
.glass-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.glass-card--studio { border-color: rgba(232,99,10,.08) }
.glass-card--studio:hover { border-color: rgba(232,99,10,.15) }
.glass-card--studio::before { background: linear-gradient(180deg, rgba(232,99,10,.04) 0%, transparent 60%) }

.glass-card--flow { border-color: rgba(99,102,241,.08) }
.glass-card--flow:hover { border-color: rgba(99,102,241,.15) }
.glass-card--flow::before { background: linear-gradient(180deg, rgba(99,102,241,.04) 0%, transparent 60%) }

.theme-flow .glass-card::before {
  background: linear-gradient(180deg, rgba(255,255,255,.03) 0%, transparent 50%);
}

.glass-card h3 { font-size: 18px; font-weight: 650; letter-spacing: -0.015em; margin-bottom: 6px }
.glass-card p { color: var(--text-secondary); line-height: 1.6; font-size: 14.5px }
.glass-card .list { list-style: none; padding: 0; margin-top: 16px }
.glass-card .list li {
  padding: 8px 0; border-bottom: 1px solid var(--border);
  color: var(--text-secondary); font-size: 14px;
  display: flex; align-items: center; gap: 10px;
}
.glass-card .list li:last-child { border-bottom: none }
.glass-card .list li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  flex-shrink: 0; background: var(--text-muted);
}
.glass-card--studio .list li::before { background: var(--studio) }
.glass-card--flow .list li::before { background: var(--flow) }

/* ─── Showcase Cards (homepage) ────────────────────────── */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }

.showcase__card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  min-height: 400px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  cursor: pointer;
}
.showcase__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg) }

.showcase__card--studio {
  background: linear-gradient(160deg, #fef7ed 0%, #fdf2e4 40%, #faf8f5 100%);
  border: 1px solid rgba(232,99,10,.08);
}
.showcase__card--studio:hover { border-color: rgba(232,99,10,.15) }

.showcase__card--flow {
  background: linear-gradient(160deg, #0e0f1e 0%, #12132a 40%, #0a0b14 100%);
  border: 1px solid rgba(99,102,241,.1);
  color: #f0f0f5;
}
.showcase__card--flow:hover { border-color: rgba(99,102,241,.2) }
.showcase__card--flow .showcase__desc { color: #9498b3 }

.showcase__card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,.1) 0%, transparent 100%);
  pointer-events: none; border-radius: inherit;
}
.showcase__card--flow::before {
  background: linear-gradient(180deg, rgba(255,255,255,.03) 0%, transparent 100%);
}

.showcase__label {
  font-size: 11px; font-weight: 650;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.showcase__title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 10px;
}
.showcase__desc { color: var(--text-secondary); line-height: 1.6; max-width: 36ch; font-size: 14.5px }
.showcase__bottom { margin-top: auto; padding-top: 28px }

/* ─── Feature Split Layout ─────────────────────────────── */
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; align-items: center;
}
.feature-visual {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.feature-visual--studio {
  background: linear-gradient(135deg, #fef3e2 0%, #fdf8f0 100%);
  border: 1px solid rgba(232,99,10,.06);
}
.feature-visual--flow {
  background: linear-gradient(135deg, #13142a 0%, #0c0d1a 100%);
  border: 1px solid rgba(99,102,241,.08);
}

/* ─── Steps ────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; position: relative }
.steps::before {
  content: ''; position: absolute; top: 30px; left: 15%; right: 15%;
  height: 1px; background: var(--border);
}
.step { text-align: center; padding: 0 12px; position: relative; z-index: 1 }
.step__num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  display: inline-grid; place-items: center;
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.03em; margin-bottom: 16px;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.step:hover .step__num { transform: scale(1.08); box-shadow: var(--shadow-lg) }
.step--studio .step__num { color: var(--studio) }
.step__title { font-size: 15px; font-weight: 650; margin-bottom: 4px }
.step__desc { color: var(--text-secondary); font-size: 13px; line-height: 1.5 }

/* ─── Stats ────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px }
.stat {
  text-align: center; padding: 28px 12px;
  background: var(--glass-bg); backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.stat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, transparent 100%);
  pointer-events: none;
}
.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg) }
.stat__number {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800; letter-spacing: -0.04em;
  line-height: 1; margin-bottom: 6px;
}
.stat__number--studio { color: var(--studio) }
.stat__number--flow { color: var(--flow) }
.stat__label { color: var(--text-muted); font-size: 12.5px; font-weight: 550 }

/* ─── Grids ────────────────────────────────────────────── */
.grid { display: grid; gap: 14px }
.grid--2 { grid-template-columns: repeat(2, 1fr) }
.grid--3 { grid-template-columns: repeat(3, 1fr) }

/* ─── Tiles ────────────────────────────────────────────── */
.tile {
  background: var(--glass-bg); backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 22px 20px;
  transition: all .3s var(--ease-out);
  position: relative; overflow: hidden;
}
.tile::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.1) 0%, transparent 100%);
  pointer-events: none; border-radius: inherit;
}
.theme-flow .tile::before {
  background: linear-gradient(180deg, rgba(255,255,255,.03) 0%, transparent 100%);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg) }
.tile--studio:hover { border-color: rgba(232,99,10,.15) }
.tile--flow:hover { border-color: rgba(99,102,241,.15) }
.tile__title { font-size: 17px; font-weight: 650; letter-spacing: -0.015em; margin-bottom: 6px }
.tile__stats {
  margin-top: 14px; display: flex; flex-direction: column; gap: 4px;
  color: var(--text-secondary); font-size: 14px; font-weight: 500;
}
.tile__stats b { color: var(--text); font-weight: 700 }

/* ─── Workflow Cards ───────────────────────────────────── */
.workflow {
  background: var(--glass-bg); backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 24px 22px;
  transition: all .3s var(--ease-out);
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
}
.workflow::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,.03) 0%, transparent 100%);
  pointer-events: none;
}
.workflow:hover {
  transform: translateY(-2px);
  border-color: rgba(99,102,241,.12);
  box-shadow: var(--shadow-lg);
}
.workflow__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px }
.workflow__icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--flow-soft);
  border: 1px solid var(--flow-border);
  display: grid; place-items: center;
  font-size: 18px; flex-shrink: 0;
}
.workflow__status { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 650 }
.workflow__status--active {
  background: rgba(34,197,94,.08); color: #22c55e;
  border: 1px solid rgba(34,197,94,.12);
}
.workflow__status--template {
  background: var(--flow-soft); color: var(--flow-light);
  border: 1px solid var(--flow-border);
}
.workflow__name { font-size: 16px; font-weight: 650; letter-spacing: -0.01em }
.workflow__desc { color: var(--text-secondary); font-size: 13.5px; line-height: 1.5 }
.workflow__meta {
  display: flex; gap: 14px;
  padding-top: 10px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-muted); font-weight: 550;
}

/* ─── Project Cards ────────────────────────────────────── */
.project {
  background: var(--glass-bg); backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transition: all .4s var(--ease-out);
  cursor: pointer; position: relative;
}
.project::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 30%;
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, transparent 100%);
  pointer-events: none; z-index: 1;
}
.project:hover {
  transform: translateY(-4px);
  border-color: rgba(232,99,10,.12);
  box-shadow: var(--shadow-lg);
}
.project__visual {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #fef3e2 0%, #fdf8f0 100%);
  display: flex; align-items: center; justify-content: center;
}
.project__visual-inner {
  width: 65%; height: 65%;
  border-radius: var(--radius);
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.4);
  display: grid; place-items: center;
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.project__body { padding: 22px 20px }
.project__category {
  font-size: 11px; font-weight: 650;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--studio); margin-bottom: 6px;
}
.project__title { font-size: 17px; font-weight: 650; letter-spacing: -0.015em; margin-bottom: 4px }
.project__desc { color: var(--text-secondary); font-size: 14px; line-height: 1.5 }
.project__tags { display: flex; gap: 5px; margin-top: 12px; flex-wrap: wrap }

/* ─── Pricing ──────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px }
.pricing__card {
  background: var(--glass-bg); backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 28px 22px;
  display: flex; flex-direction: column;
  transition: all .35s var(--ease-out);
  position: relative; overflow: hidden;
}
.pricing__card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,.03) 0%, transparent 100%);
  pointer-events: none;
}
.pricing__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg) }
.pricing__card--featured { border-color: rgba(99,102,241,.15) }
.pricing__card--featured::before { background: linear-gradient(180deg, rgba(99,102,241,.06) 0%, transparent 50%) }
.pricing__name { font-size: 16px; font-weight: 650; margin-bottom: 4px }
.pricing__price {
  font-size: 36px; font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.1;
  margin: 10px 0 2px;
}
.pricing__period { color: var(--text-muted); font-size: 13px; margin-bottom: 20px }
.pricing__features { list-style: none; padding: 0; margin-bottom: 24px; flex: 1 }
.pricing__features li {
  padding: 8px 0; border-bottom: 1px solid var(--border);
  color: var(--text-secondary); font-size: 13.5px;
  display: flex; align-items: center; gap: 8px;
}
.pricing__features li:last-child { border-bottom: none }
.pricing__features li::before { content: '\2713'; color: var(--flow); font-weight: 700; font-size: 12px }
.pricing__popular {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  padding: 3px 14px;
  background: var(--flow); color: #fff;
  font-size: 10px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* ─── Marquee ──────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden; padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee {
  display: flex; gap: 48px;
  animation: marquee 35s linear infinite;
  white-space: nowrap;
}
.marquee__item {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700; letter-spacing: -0.03em;
  color: var(--text-muted); opacity: .35; flex-shrink: 0;
}
.marquee__dot { color: var(--text-muted); opacity: .2; font-size: .5em; align-self: center; flex-shrink: 0 }
@keyframes marquee {
  0% { transform: translateX(0) }
  100% { transform: translateX(-50%) }
}

/* ─── Form ─────────────────────────────────────────────── */
.form {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 28px 24px;
  position: relative; overflow: hidden;
}
.form::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,.1) 0%, transparent 100%);
  pointer-events: none;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px }
label { font-weight: 600; font-size: 13px; color: var(--text-secondary) }
input, select, textarea {
  font: inherit; color: var(--text);
  background: rgba(0,0,0,.03);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 11px 14px; outline: none;
  transition: border-color .2s, box-shadow .2s;
  font-size: 14px;
}
.theme-flow input, .theme-flow select, .theme-flow textarea { background: rgba(255,255,255,.04) }
input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: .7 }
textarea { resize: vertical; min-height: 110px }
input:focus, select:focus, textarea:focus {
  border-color: rgba(99,102,241,.3);
  box-shadow: 0 0 0 3px rgba(99,102,241,.06);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%2371717a'%3E%3Cpath d='M2 3l3 4 3-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 32px;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }

/* ─── Contact Layout ───────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: start }

/* ─── Footer ───────────────────────────────────────────── */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}
.footer__inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.footer__right {
  display: flex; gap: 24px;
  color: var(--text-muted); font-weight: 550; font-size: 13px;
}
.footer__right a { transition: color .2s }
.footer__right a:hover { color: var(--text) }

/* ─── Toast ────────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 20px;
  transform: translateX(-50%) translateY(6px);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  color: var(--text);
  font-weight: 600; font-size: 14px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
  z-index: 2000;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0) }

/* ─── Utilities ────────────────────────────────────────── */
.hr { height: 1px; background: var(--border); margin: 16px 0 }
.center { text-align: center }
.stack { display: flex; flex-direction: column; align-items: center }

/* ─── CTA Section ──────────────────────────────────────── */
.cta {
  text-align: center;
  padding: clamp(72px, 10vh, 120px) 0;
  position: relative; overflow: hidden;
}
.cta__orb {
  position: absolute;
  width: 500px; height: 350px;
  border-radius: 50%; filter: blur(120px);
  pointer-events: none;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.cta__orb--studio { background: rgba(232,99,10,.04) }
.cta__orb--flow { background: rgba(99,102,241,.04) }
.cta__orb--dive { background: rgba(124,58,237,.04) }
.cta__orb--mixed { background: linear-gradient(135deg, rgba(232,99,10,.03), rgba(99,102,241,.03)); width: 700px }
.theme-flow .cta__orb--flow { background: rgba(99,102,241,.06) }

/* ─── Scroll Reveal ────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0) }

.reveal--scale {
  opacity: 0; transform: scale(.97);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal--scale.is-visible { opacity: 1; transform: scale(1) }

.stagger > .reveal:nth-child(1) { transition-delay: 0ms }
.stagger > .reveal:nth-child(2) { transition-delay: 60ms }
.stagger > .reveal:nth-child(3) { transition-delay: 120ms }
.stagger > .reveal:nth-child(4) { transition-delay: 180ms }
.stagger > .reveal:nth-child(5) { transition-delay: 240ms }
.stagger > .reveal:nth-child(6) { transition-delay: 300ms }

/* ─── Case Study ───────────────────────────────────────── */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px }
.case-impact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px }

/* ─── Project Detail ──────────────────────────────────── */
.project-detail__intro {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.project-detail__intro .project__category {
  font-size: 11px; font-weight: 650;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--studio); margin-bottom: 10px;
}
.project-detail__lead {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7;
  color: var(--text-secondary);
}
.project-detail__meta {
  display: flex; justify-content: center; gap: 28px;
  margin-top: 24px; flex-wrap: wrap;
}
.project-detail__meta-item {
  text-align: center;
}
.project-detail__meta-label {
  font-size: 10.5px; font-weight: 650;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 2px;
}
.project-detail__meta-value {
  font-size: 14px; font-weight: 600; color: var(--text);
}

/* Gallery — 12-col asymmetric grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.gallery__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease-out);
}
.gallery__item:hover img {
  transform: scale(1.03);
}
.gallery__item--12 { grid-column: span 12; }
.gallery__item--7  { grid-column: span 7; }
.gallery__item--5  { grid-column: span 5; }
.gallery__item--8  { grid-column: span 8; }
.gallery__item--4  { grid-column: span 4; }
.gallery__item--6  { grid-column: span 6; }

.gallery__item--tall  { aspect-ratio: 3/4; }
.gallery__item--wide  { aspect-ratio: 16/10; }
.gallery__item--square { aspect-ratio: 1/1; }
.gallery__item--hero  { aspect-ratio: 2.2/1; }
.gallery__item--auto  { aspect-ratio: auto; }

/* Row height matching — items in same row share height */
.gallery__row {
  display: contents;
}

/* Text block between gallery rows */
.gallery__text {
  grid-column: span 12;
  padding: clamp(32px, 5vw, 56px) 0;
  max-width: 580px;
}
.gallery__text--center {
  justify-self: center;
  text-align: center;
}
.gallery__text h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 750;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.gallery__text p {
  font-size: clamp(14px, 1.4vw, 15.5px);
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Divider line in gallery */
.gallery__divider {
  grid-column: span 12;
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr) }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 24px }
  .steps::before { display: none }
  .stats { grid-template-columns: repeat(2, 1fr) }
  .showcase { grid-template-columns: 1fr }
  .feature-split { grid-template-columns: 1fr }
  .feature-card { grid-template-columns: 1fr }
  .pricing { grid-template-columns: 1fr }
  .gallery__item--7, .gallery__item--5 { grid-column: span 6 }
  .gallery__item--8 { grid-column: span 7 }
  .gallery__item--4 { grid-column: span 5 }
}
@media (max-width: 768px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr }
  .case-grid, .case-impact { grid-template-columns: 1fr }
  .contact-grid { grid-template-columns: 1fr }
  .row { grid-template-columns: 1fr }
  .steps { grid-template-columns: 1fr; gap: 20px }
  .stats { grid-template-columns: repeat(2, 1fr) }
  .showcase__card { min-height: 320px; padding: 32px 24px }
  .footer__inner { flex-direction: column; align-items: center; text-align: center; gap: 16px }
  .gallery { grid-template-columns: repeat(2, 1fr) }
  .gallery__item--12, .gallery__item--8, .gallery__item--7 { grid-column: span 2 }
  .gallery__item--6, .gallery__item--5, .gallery__item--4 { grid-column: span 1 }
  .gallery__text { grid-column: span 2 }
  .gallery__divider { grid-column: span 2 }
}
@media (max-width: 860px) {
  .nav__links { display: none }
  .nav__actions .btn { display: none }
  .burger { display: inline-grid; place-items: center }
  .nav { top: 8px; width: calc(100% - 24px) }
  .mobile { width: calc(100% - 24px); top: 64px }
  .container, .container--wide { width: min(var(--max), calc(100% - 32px)) }
  .h1 { font-size: clamp(32px, 8vw, 48px) }
  .h2 { font-size: clamp(24px, 6vw, 36px) }
  .hero { padding: clamp(90px, 14vh, 140px) 0 clamp(36px, 6vh, 64px) }
}
