/* =====================================================================
   Brand typefaces (files in /typographie)
   ===================================================================== */
@font-face {
  font-family: 'Cal Sans';
  src: url('../typographie/CalSans-Regular.woff2') format('woff2'), url('../typographie/CalSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Display';
  src: url('../typographie/SFPRODISPLAYTHINITALIC.woff2') format('woff2'), url('../typographie/SFPRODISPLAYTHINITALIC.OTF') format('opentype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Display';
  src: url('../typographie/SFPRODISPLAYBOLD.woff2') format('woff2'), url('../typographie/SFPRODISPLAYBOLD.OTF') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Display';
  src: url('../typographie/SFPRODISPLAYMEDIUM.woff2') format('woff2'), url('../typographie/SFPRODISPLAYMEDIUM.OTF') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* =====================================================================
   SPENZIA STUDIO — styles
   ===================================================================== */

:root {
  --bg: #050507;
  --bg-2: #0a0a0f;
  --surface: #0e0e14;
  --surface-2: #14141c;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f3f3f6;
  --text-2: #b6b6c2;
  --muted: #7d7d8a;
  --accent: #9cc3ff;
  --accent-soft: rgba(156, 195, 255, 0.18);
  --cream: #ece4d6;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-display: 'Cal Sans', 'Inter', system-ui, sans-serif;
  --font-italic: 'SF Pro Display', 'Instrument Serif', Georgia, serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 22px;
  --radius-sm: 12px;
  --nav-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: rgba(156, 195, 255, 0.35); color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  padding: 10px 16px; border-radius: 999px; background: #fff; color: #000; font-weight: 500;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 0 18px rgba(156, 195, 255, 0.7);
}
.display {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.display em, .hero-title em, .display-xl em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: -0.015em;
  color: var(--cream);
}
.display-xl { font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: 1; letter-spacing: -0.035em; }
.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 62ch;
  text-wrap: pretty;
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.45s var(--ease), transform 0.5s var(--ease);
  will-change: transform;
}
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-primary {
  background: #fff; color: #07070b;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4) inset, 0 10px 40px -12px rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { background: #f1f1f6; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset, 0 16px 50px -12px rgba(200, 220, 255, 0.55); }
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.07); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.play-ico {
  width: 0; height: 0;
  border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent currentColor;
  margin-right: 2px; opacity: 0.9;
}

/* ---------- navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease), height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  height: 64px;
  background: rgba(5, 5, 7, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo-mark { width: auto; height: 24px; transition: transform 0.7s var(--ease); }
.logo:hover .logo-mark { transform: translateY(-1px) scale(1.06); }
.logo-text { font-size: 19px; font-weight: 600; letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  position: relative; font-size: 14px; font-weight: 500; color: var(--text-2); padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); align-items: center; justify-content: center;
}
.nav-toggle span {
  position: absolute; left: 14px; width: 16px; height: 1.5px; background: var(--text); border-radius: 2px;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease), opacity 0.3s;
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; left: 12px; right: 12px; top: calc(var(--nav-h) + 4px);
  padding: 22px 22px 24px; border-radius: 20px;
  background: rgba(12, 12, 18, 0.9); border: 1px solid var(--line-2);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  transform: translateY(-10px) scale(0.98); opacity: 0; pointer-events: none;
  transition: transform 0.45s var(--ease), opacity 0.35s var(--ease);
}
.mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; margin-bottom: 18px; }
.mobile-menu nav a { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu nav a:last-child { border-bottom: 0; }
.mobile-menu .btn { width: 100%; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 7, 0.55) 0%, rgba(5, 5, 7, 0) 22%),
    radial-gradient(120% 80% at 50% 50%, rgba(5, 5, 7, 0) 55%, rgba(5, 5, 7, 0.45) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  /* centred in the sky, between the nav and the lunar horizon (70% of the hero) */
  padding-top: var(--nav-h);
  padding-bottom: 24vh;
  max-width: calc(var(--container));
}
.hero-eyebrow { margin-bottom: 28px; }
.hero-title {
  font-weight: 500;
  font-size: clamp(2.9rem, 7.2vw, 6.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.hero-tagline {
  margin-top: 26px;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.1vw, 1.95rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text);
}
.hero-tagline em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 1.1em; letter-spacing: -0.01em; color: var(--cream);
}
.hero-title .w, .hero-tagline .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em) rotate(1.2deg);
  filter: blur(6px);
  animation: word-in 1.1s var(--ease) forwards;
  animation-delay: calc(0.25s + var(--i, 0) * 70ms);
}
@keyframes word-in {
  to { opacity: 1; transform: none; filter: blur(0); }
}
.hero-sub { margin-top: 22px; }
.hero-powered {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem); letter-spacing: -0.01em; color: var(--text-2);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* staged entrance for the rest of the hero */
.hero-sub, .hero-actions, .hero-foot { opacity: 0; animation: fade-up 1.2s var(--ease) forwards; }
.hero-sub { animation-delay: 1s; }
.hero-actions { animation-delay: 1.15s; }
.hero-foot { animation-delay: 1.45s; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding-bottom: 34px;
}
.hero-formats {
  display: flex; align-items: center; gap: 14px;
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2);
}
.hero-formats i { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.scroll-cue-track { position: relative; width: 22px; height: 36px; border-radius: 12px; border: 1px solid var(--line-2); }
.scroll-cue-dot {
  position: absolute; left: 50%; top: 7px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--text);
  animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* ---------- marquee ---------- */
.marquee {
  position: relative; z-index: 2;
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 0; background: var(--bg);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 36px; width: max-content;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-2);
  animation: marquee 40s linear infinite;
}
.marquee-track i { font-style: normal; color: var(--accent); font-size: 10px; opacity: 0.9; }
.marquee-track span { white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(88px, 10vw, 140px) 0; }
.section-head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 84px); }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head .lead { margin-top: 22px; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- studio ---------- */
.studio { padding-top: clamp(100px, 12vw, 160px); }
.studio-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; align-items: start; }
.studio-copy .display { max-width: 20ch; }
.studio-copy .lead { margin-top: 30px; }
.studio-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--line);
}
.fact { display: flex; flex-direction: column; gap: 8px; }
.fact-value { font-family: var(--font-serif); font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; color: var(--cream); letter-spacing: -0.02em; }
.fact-label { font-size: 14px; color: var(--muted); max-width: 18ch; line-height: 1.45; }


/* ---------- services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.5s var(--ease), transform 0.7s var(--ease), background-color 0.5s var(--ease);
}
.service-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(156, 195, 255, 0.10), transparent 60%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.service-card:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }
.service-visual {
  position: relative; height: 220px; z-index: 1;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(80% 90% at 50% 100%, rgba(156, 195, 255, 0.07), transparent 70%);
  overflow: hidden;
}
.service-body { position: relative; z-index: 1; padding: 30px 30px 8px; flex: 1; }
.service-index { display: block; font-size: 12px; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 18px; }
.service-body h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.025em; margin-bottom: 14px; }
.service-body p { color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { font-size: 12.5px; color: var(--text-2); padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.service-link {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px; margin: 20px 30px 30px;
  font-size: 14.5px; font-weight: 500; color: var(--text);
}
.service-link span { transition: transform 0.4s var(--ease); display: inline-block; }
.service-card:hover .service-link span { transform: translateX(6px); }

/* visual: motion design, kinetic shapes */
.viz { position: absolute; inset: 0; }
.viz-motion .m { position: absolute; left: 50%; top: 50%; }
.viz-motion .m1 { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: #f3f3f6; animation: m1 4.2s var(--ease-io) infinite; }
.viz-motion .m2 { width: 54px; height: 54px; margin: -27px 0 0 -27px; border: 1.5px solid var(--accent); border-radius: 14px; animation: m2 4.2s var(--ease-io) infinite; }
.viz-motion .m3 { width: 120px; height: 2px; margin: -1px 0 0 -60px; background: linear-gradient(90deg, transparent, #fff, transparent); animation: m3 4.2s var(--ease-io) infinite; }
.viz-motion .m4 { width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); animation: m4 4.2s linear infinite; }
@keyframes m1 { 0%, 100% { transform: translateX(-52px) scale(1); } 50% { transform: translateX(52px) scale(0.72); } }
@keyframes m2 { 0%, 100% { transform: translateX(52px) rotate(0deg); } 50% { transform: translateX(-52px) rotate(135deg); } }
@keyframes m3 { 0%, 100% { transform: scaleX(0.2); opacity: 0.2; } 50% { transform: scaleX(1.4); opacity: 1; } }
@keyframes m4 { from { transform: rotate(0deg) translateX(84px) rotate(0deg); } to { transform: rotate(360deg) translateX(84px) rotate(-360deg); } }

/* visual: storytelling, a cinematic frame */
.viz-story .bar { position: absolute; left: 0; right: 0; height: 22%; background: #05050a; z-index: 2; }
.viz-story .bar-top { top: 0; }
.viz-story .bar-bot { bottom: 0; }
.viz-story .frame {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 30% 40%, rgba(236, 228, 214, 0.55), transparent 70%),
    radial-gradient(50% 70% at 75% 65%, rgba(156, 195, 255, 0.45), transparent 70%),
    linear-gradient(180deg, #1a1a26, #0a0a10);
  animation: kenburns 12s var(--ease-io) infinite alternate;
}
.viz-story .glow { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%); animation: flare 12s var(--ease-io) infinite alternate; }
.viz-story .subtitle {
  position: absolute; left: 50%; bottom: 27%; height: 6px; width: 120px; margin-left: -60px; border-radius: 3px; z-index: 3;
  background: rgba(255, 255, 255, 0.85); transform-origin: left; animation: subtitle 6s var(--ease-io) infinite;
}
@keyframes kenburns { from { transform: scale(1) translateX(0); } to { transform: scale(1.18) translateX(-4%); } }
@keyframes flare { from { transform: translateX(-60%); } to { transform: translateX(60%); } }
@keyframes subtitle { 0% { transform: scaleX(0); opacity: 0; } 15% { opacity: 1; } 45% { transform: scaleX(1); opacity: 1; } 60% { opacity: 0; } 100% { transform: scaleX(1); opacity: 0; } }

/* visual: AI creatives, a grid generating variants */
.viz-ai { display: grid; grid-template-columns: repeat(3, 44px); grid-auto-rows: 44px; gap: 10px; place-content: center; }
.viz-ai span { border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); animation: tile 3.6s var(--ease-io) infinite; }
.viz-ai span:nth-child(1) { animation-delay: 0s; }
.viz-ai span:nth-child(2) { animation-delay: 0.4s; }
.viz-ai span:nth-child(3) { animation-delay: 0.8s; }
.viz-ai span:nth-child(4) { animation-delay: 1.2s; }
.viz-ai span:nth-child(5) { animation-delay: 1.6s; }
.viz-ai span:nth-child(6) { animation-delay: 2s; }
.viz-ai span:nth-child(7) { animation-delay: 2.4s; }
.viz-ai span:nth-child(8) { animation-delay: 2.8s; }
.viz-ai span:nth-child(9) { animation-delay: 3.2s; }
@keyframes tile {
  0%, 100% { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); transform: scale(1); }
  12% { background: #f3f3f6; border-color: #fff; transform: scale(1.06); }
  30% { background: var(--accent-soft); border-color: var(--accent); transform: scale(1); }
  55% { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); }
}

/* ---------- work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 18px; }
.tile-tall { grid-row: span 2; }
.tile-wide { grid-column: span 2; }
.work-tile {
  --mx: 50%; --my: 50%;
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); isolation: isolate;
}
.work-media {
  position: absolute; inset: 0;
  transition: transform 1.1s var(--ease);
  background-color: #0b0b12;
}
.work-media::before {
  content: ''; position: absolute; inset: -20%;
  background: var(--tone);
  filter: saturate(1.1);
  transition: transform 1.4s var(--ease);
}
.work-media::after {
  content: ''; position: absolute; inset: 0; opacity: 0.35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.work-tile[data-tone="a"] .work-media::before { --tone: radial-gradient(60% 60% at 30% 25%, #3d4ee6 0%, transparent 60%), radial-gradient(55% 55% at 80% 85%, #7a2cd6 0%, transparent 60%), linear-gradient(160deg, #0d0d1c, #05050a); }
.work-tile[data-tone="b"] .work-media::before { --tone: radial-gradient(60% 60% at 70% 30%, #d97a3a 0%, transparent 60%), radial-gradient(60% 60% at 20% 90%, #7a2a3a 0%, transparent 60%), linear-gradient(160deg, #16100d, #05050a); }
.work-tile[data-tone="c"] .work-media::before { --tone: radial-gradient(60% 60% at 25% 70%, #1fd1c5 0%, transparent 60%), radial-gradient(60% 60% at 80% 20%, #0e3d6b 0%, transparent 60%), linear-gradient(160deg, #0a1416, #05050a); }
.work-tile[data-tone="d"] .work-media::before { --tone: radial-gradient(60% 60% at 75% 70%, #8c6cff 0%, transparent 60%), radial-gradient(60% 60% at 20% 20%, #2b1d6b 0%, transparent 60%), linear-gradient(160deg, #0e0c1a, #05050a); }
.work-tile[data-tone="e"] .work-media::before { --tone: radial-gradient(55% 70% at 30% 40%, #cfd3dc 0%, transparent 60%), radial-gradient(60% 60% at 85% 80%, #3a3d47 0%, transparent 60%), linear-gradient(160deg, #15161c, #05050a); }
.work-tile[data-tone="f"] .work-media::before { --tone: radial-gradient(60% 60% at 70% 25%, #9fe870 0%, transparent 60%), radial-gradient(60% 60% at 20% 80%, #1f5a3a 0%, transparent 60%), linear-gradient(160deg, #0b140f, #05050a); }
.work-tile:hover .work-media { transform: scale(1.03); }
.work-tile:hover .work-media::before { transform: rotate(6deg) scale(1.06); }
.work-tile::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 5, 7, 0) 45%, rgba(5, 5, 7, 0.75) 100%),
              radial-gradient(500px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.07), transparent 55%);
}
.work-play {
  position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; z-index: 2;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.45); background: rgba(10, 10, 16, 0.35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform 0.6s var(--ease), background-color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.work-play::after {
  content: ''; position: absolute; left: 50%; top: 50%; margin: -7px 0 0 -4px;
  border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff;
  transition: border-color 0.5s var(--ease);
}
.work-tile:hover .work-play { transform: scale(1.1); background: #fff; border-color: #fff; }
.work-tile:hover .work-play::after { border-left-color: #07070b; }
.work-meta { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.work-title { font-size: 17px; font-weight: 500; letter-spacing: -0.015em; }
.work-tag { font-size: 13px; color: var(--text-2); letter-spacing: 0.01em; }
/* ---------- process (accordion) ---------- */
.process { background: var(--bg); }
.steps { border-top: 1px solid var(--line); }
.step { border-bottom: 1px solid var(--line); }
.step-toggle {
  display: flex; align-items: center; gap: 18px; width: 100%;
  padding: 26px 0; text-align: left; color: var(--text);
  transition: color 0.3s var(--ease);
}
.step-toggle:hover h3 { color: var(--cream); }
.step-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.step-num { font-family: var(--font-serif); font-size: 24px; line-height: 1; color: var(--cream); min-width: 30px; letter-spacing: -0.01em; }
.step-dash { color: var(--muted); font-size: 18px; }
.step-toggle h3 { flex: 1; font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; transition: color 0.3s var(--ease); }
.step-icon {
  position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.5s var(--ease);
}
.step-icon::before, .step-icon::after {
  content: ''; position: absolute; left: 50%; top: 50%; background: var(--text); border-radius: 1px;
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease);
}
.step-icon::before { width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px; }
.step-icon::after { width: 1.5px; height: 14px; margin: -7px 0 0 -0.75px; }
.step-toggle:hover .step-icon { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.07); }
.step.is-open .step-icon { transform: rotate(180deg); background: #fff; border-color: #fff; }
.step.is-open .step-icon::before { background: #07070b; }
.step.is-open .step-icon::after { opacity: 0; transform: scaleY(0); }
.step-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.step-body > div { overflow: hidden; min-height: 0; }
.step-body p {
  max-width: 62ch; padding: 0 0 30px 66px;
  font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.6; color: var(--text-2);
  opacity: 0; transform: translateY(-6px); transition: opacity 0.45s var(--ease) 0.1s, transform 0.5s var(--ease) 0.1s;
}
.step.is-open .step-body { grid-template-rows: 1fr; }
.step.is-open .step-body p { opacity: 1; transform: none; }
.process-timeline { margin-top: 34px; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.45rem); color: var(--cream); letter-spacing: -0.01em; }

/* ---------- ai ---------- */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.ai-copy { position: sticky; top: 120px; }
.ai-copy .eyebrow { margin-bottom: 22px; }
.ai-copy .lead { margin-top: 26px; }
.ai-list { display: flex; flex-direction: column; }
.ai-item { display: flex; gap: 22px; padding: 30px 0; border-top: 1px solid var(--line); }
.ai-item:last-child { border-bottom: 1px solid var(--line); }
.ai-ico {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03);
}
.ai-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ai-item h4 { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.ai-item p { font-size: 15px; color: var(--text-2); line-height: 1.6; }

/* ---------- cta ---------- */
.cta { overflow: hidden; padding-bottom: clamp(200px, 22vw, 320px); text-align: center; }
.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta-inner .eyebrow { margin-bottom: 28px; }
.cta-inner .lead { margin-top: 26px; text-align: center; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 44px; }
.cta-horizon {
  position: absolute; left: 50%; top: calc(100% - clamp(120px, 14vw, 200px));
  width: 260vw; height: 260vw; border-radius: 50%; transform: translateX(-50%);
  background: radial-gradient(farthest-side at 50% 0%, #1a1a24, #0b0b11 25%, var(--bg) 60%);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.45), 0 -22px 90px rgba(156, 195, 255, 0.14), 0 -80px 240px rgba(156, 195, 255, 0.08);
}
.cta-horizon::after {
  content: ''; position: absolute; left: 50%; top: -1px; width: 40vw; height: 2px; margin-left: -20vw;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  filter: blur(1px);
}

/* ---------- footer ---------- */
.footer { position: relative; background: var(--bg); border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 44px; }
.footer-brand p { margin-top: 18px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.footer-links, .footer-social { display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-social a { font-size: 14.5px; color: var(--text-2); transition: color 0.3s var(--ease); width: max-content; }
.footer-links a:hover, .footer-social a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-note { font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--text-2); }

/* ---------- work: video tiles, filters, lightbox ---------- */
.work-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -24px 0 40px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02);
  color: var(--text-2); font-size: 13.5px; font-weight: 500; letter-spacing: -0.005em;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.chip span { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; transition: color 0.35s var(--ease); }
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.35); }
.chip.is-active { background: #fff; color: #07070b; border-color: #fff; }
.chip.is-active span { color: rgba(7, 7, 11, 0.55); }
.chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.work-grid { grid-auto-flow: dense; }
.tile-feature { grid-column: span 2; grid-row: span 2; }
.work-grid.is-filtered .tile-feature { grid-column: auto; grid-row: auto; }
.work-tile.is-hidden { display: none; }
.work-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.work-poster, .work-preview {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.work-preview { opacity: 0; transition: opacity 0.7s var(--ease); }
.work-tile.is-playing .work-preview { opacity: 1; }
.work-tile .work-media::after { opacity: 0.2; }
.work-play { transition: transform 0.6s var(--ease), background-color 0.5s var(--ease), border-color 0.5s var(--ease), opacity 0.5s var(--ease); }
.work-tile.is-playing .work-play { opacity: 0; transform: scale(0.8); }
.work-tile.is-playing .work-media { transform: scale(1.03); }

/* closing card */
.tile-cta {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    radial-gradient(90% 100% at 50% 100%, rgba(156, 195, 255, 0.14), transparent 70%),
    var(--surface);
  border-color: var(--line-2);
}
.tile-cta::after { display: none; }
.work-cta { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 32px; }
.work-cta h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.work-cta h3 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.12em; color: var(--cream); }
.work-cta .btn { margin-top: 6px; }
.tile-cta:hover .btn-primary { background: #f1f1f6; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset, 0 16px 50px -12px rgba(200, 220, 255, 0.55); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(12px, 3vw, 40px);
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(3, 3, 6, 0.86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  animation: lb-fade 0.4s var(--ease) both;
}
.lightbox-dialog {
  position: relative; width: min(1180px, 100%); max-width: 100%;
  display: flex; flex-direction: column; gap: 14px;
  animation: lb-in 0.55s var(--ease) both;
}
.lightbox-player {
  position: relative; width: 100%; border-radius: var(--radius); overflow: hidden;
  background: #000; border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9);
}
.lightbox-player video { display: block; width: 100%; max-height: calc(100vh - 150px); background: #000; }
.lightbox-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 0 6px; }
.lightbox-meta .work-title { font-size: 16px; }
.lightbox-close {
  position: absolute; top: -56px; right: 0; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.lightbox-close span { position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; margin: -1px 0 0 -8px; background: #fff; border-radius: 2px; }
.lightbox-close span:first-child { transform: rotate(45deg); }
.lightbox-close span:last-child { transform: rotate(-45deg); }
.lightbox-close:hover { background: rgba(255, 255, 255, 0.14); transform: rotate(90deg); }
.lightbox-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
body.lightbox-open { overflow: hidden; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-in { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }

/* ---------- pricing ---------- */
.pricing { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 30px 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.5s var(--ease), transform 0.7s var(--ease), background-color 0.5s var(--ease);
}
.price-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 50% at 50% 0%, rgba(156, 195, 255, 0.10), transparent 70%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.price-card:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-4px); }
.price-card:hover::before { opacity: 1; }
.price-head { position: relative; }
.price-head h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.025em; }
.price-head p { margin-top: 8px; font-size: 15px; color: var(--text-2); line-height: 1.55; }
.price-tiers { position: relative; margin-top: 28px; border-top: 1px solid var(--line); }
.price-tiers li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.tier-label { font-size: 15px; color: var(--text-2); line-height: 1.4; }
.tier-label small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.tier-price {
  font-family: var(--font-serif); font-size: 34px; line-height: 1; letter-spacing: -0.02em;
  color: var(--cream); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.price-includes { position: relative; margin-top: 24px; flex: 1; }
.includes-label { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.price-includes ul { display: flex; flex-direction: column; gap: 9px; }
.price-includes li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--text-2); line-height: 1.45; }
.price-includes li::before {
  content: ''; position: absolute; left: 1px; top: 6px; width: 10px; height: 5px;
  border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg);
}
.price-card .btn { position: relative; margin-top: 30px; width: 100%; }
.price-card:hover .btn-ghost { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.07); }
.price-note { margin-top: 32px; text-align: center; font-size: 14.5px; color: var(--muted); }
.price-note a { color: var(--text); border-bottom: 1px solid var(--line-2); transition: border-color 0.3s var(--ease); }
.price-note a:hover { border-color: var(--text); }

/* ---------- modal / booking ---------- */
.modal {
  position: fixed; inset: 0; z-index: 320;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(12px, 3vw, 40px);
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(3, 3, 6, 0.86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  animation: lb-fade 0.4s var(--ease) both;
}
.modal-dialog {
  position: relative; width: min(1040px, 100%); max-height: 100%; overflow: auto;
  display: grid; grid-template-columns: 1fr 1.15fr;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 26px;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9);
  animation: lb-in 0.55s var(--ease) both;
}
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(10, 10, 16, 0.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.modal-close span { position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; margin: -1px 0 0 -8px; background: #fff; border-radius: 2px; }
.modal-close span:first-child { transform: rotate(45deg); }
.modal-close span:last-child { transform: rotate(-45deg); }
.modal-close:hover { background: rgba(255, 255, 255, 0.14); transform: rotate(90deg); }
.modal-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
body.modal-open { overflow: hidden; }

.booking-intro {
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
  padding: 52px 44px;
  border-right: 1px solid var(--line);
  background: radial-gradient(90% 70% at 0% 100%, rgba(156, 195, 255, 0.10), transparent 70%);
}
.booking-intro .display { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.booking-intro .lead { font-size: 1.02rem; }
.booking-alt { font-size: 14px; color: var(--muted); }
.booking-alt a { color: var(--text); border-bottom: 1px solid var(--line-2); transition: border-color 0.3s var(--ease); }
.booking-alt a:hover { border-color: var(--text); }

.booking-embed {
  position: relative; min-height: 560px;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; background: var(--bg-2);
}
.iclosed-widget { width: 100%; border-radius: 14px; overflow: hidden; }
.iclosed-widget iframe { display: block; width: 100%; height: 100%; border: 0; }
.booking-embed iframe { width: 100%; border: 0; }
.booking-placeholder { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; max-width: 360px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.booking-placeholder-title { font-size: 19px; font-weight: 500; color: var(--text); letter-spacing: -0.02em; margin-top: 10px; }
.booking-placeholder .btn { margin-top: 8px; }

.mini-cal { width: 238px; padding: 14px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); }
.mini-cal-head { display: flex; justify-content: space-between; margin-bottom: 12px; }
.mini-cal-head span { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); }
.mini-cal-head span:first-child { width: 78px; }
.mini-cal-head span:last-child { width: 30px; }
.mini-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.mini-cal-grid i { display: block; aspect-ratio: 1; border-radius: 6px; background: rgba(255, 255, 255, 0.05); }
.mini-cal-grid i.on { background: rgba(156, 195, 255, 0.22); animation: cal-pulse 3.6s var(--ease-io) infinite; }
.mini-cal-grid i.picked { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18); }
.mini-cal-grid i.on:nth-child(3n) { animation-delay: 0.6s; }
.mini-cal-grid i.on:nth-child(4n) { animation-delay: 1.4s; }
@keyframes cal-pulse { 0%, 100% { background: rgba(156, 195, 255, 0.16); } 50% { background: rgba(156, 195, 255, 0.4); } }

.footer-mail { display: inline-block; margin-top: 14px; font-size: 14.5px; color: var(--text-2); border-bottom: 1px solid var(--line-2); transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.footer-mail:hover { color: var(--text); border-color: var(--text); }

.price-dots { display: none; }
.offer-group[hidden] { display: none; }
@media (max-width: 1000px) {
  /* offers become a swipeable row */
  .price-grid {
    display: flex; gap: 14px;
    margin: 0 calc(-1 * var(--gutter)); padding: 6px var(--gutter) 10px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .price-grid::-webkit-scrollbar { display: none; }
  .price-card { flex: 0 0 min(84vw, 380px); scroll-snap-align: center; }
  .price-card:hover { transform: none; }
  .price-dots { display: flex; justify-content: center; gap: 8px; margin: -14px 0 24px; }
  .price-dots button {
    width: 7px; height: 7px; padding: 0; border-radius: 50%;
    background: rgba(255, 255, 255, 0.22); transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .price-dots button.is-active { background: #fff; transform: scale(1.35); box-shadow: 0 0 10px rgba(156, 195, 255, 0.6); }
  .price-dots button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
}
@media (max-width: 900px) {
  .modal-dialog { grid-template-columns: 1fr; }
  .booking-intro { padding: 40px 28px 28px; border-right: 0; border-bottom: 1px solid var(--line); gap: 16px; }
  .booking-embed { min-height: 460px; padding: 10px; }
}
@media (max-width: 640px) {
  .price-card { padding: 28px 22px 24px; }
  .tier-price { font-size: 30px; }
  .modal { padding: 0; align-items: stretch; }
  .modal-dialog { border-radius: 0; border: 0; width: 100%; }
}

/* ---------- direct order ---------- */
.price-direct { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--muted); text-align: center; }
.price-direct a { color: var(--text); border-bottom: 1px solid var(--line-2); transition: border-color 0.3s var(--ease); white-space: nowrap; }
.price-direct a:hover { border-color: var(--text); }

.order-dialog { grid-template-columns: 1fr 1.2fr; }
.order-side {
  display: flex; flex-direction: column; gap: 18px;
  padding: 44px 40px;
  border-right: 1px solid var(--line);
  background: radial-gradient(90% 70% at 0% 100%, rgba(156, 195, 255, 0.10), transparent 70%);
}
.order-side .display { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.order-intro { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.order-alt { font-size: 14px; color: var(--muted); margin-top: auto; padding-top: 10px; }
.order-alt a { color: var(--text); border-bottom: 1px solid var(--line-2); transition: border-color 0.3s var(--ease); }
.order-alt a:hover { border-color: var(--text); }

.offer-list { border: 0; padding: 0; margin: 4px 0 0; min-width: 0; }
.offer-list legend { padding: 0; margin-bottom: 6px; }
.offer-group { margin-top: 12px; }
.offer-group-name { display: block; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.offer {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; margin-bottom: 8px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.offer:hover { border-color: var(--line-2); }
.offer input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.offer::before {
  content: ''; flex: none; width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--line-2); transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.offer.is-selected { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.05); }
.offer.is-selected::before { border-color: #fff; background: radial-gradient(#fff 0 38%, transparent 44%); }
.offer:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.offer-name { flex: 1; font-size: 14.5px; color: var(--text-2); line-height: 1.35; }
.offer.is-selected .offer-name { color: var(--text); }
.offer-price { font-family: var(--font-serif); font-size: 21px; line-height: 1; color: var(--cream); letter-spacing: -0.02em; white-space: nowrap; }

.order-form { display: flex; flex-direction: column; gap: 18px; padding: 44px 40px; }
.order-form[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.field label small { font-weight: 400; color: var(--muted); margin-left: 6px; font-size: 12.5px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 0 14px; height: 48px; outline: 0;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.field textarea { height: auto; min-height: 150px; padding: 13px 14px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.28); }
.field input:focus, .field textarea:focus { border-color: rgba(156, 195, 255, 0.7); box-shadow: 0 0 0 4px rgba(156, 195, 255, 0.12); background: rgba(255, 255, 255, 0.045); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-hint { font-size: 13px; color: var(--muted); }
.field-error { display: none; font-size: 13px; color: #ffa3a3; }
.field.is-invalid .field-error { display: block; }
.field.is-invalid .field-hint { display: none; }
.field.is-invalid input, .field.is-invalid textarea { border-color: rgba(255, 130, 130, 0.65); }
.order-submit { width: 100%; justify-content: space-between; margin-top: 6px; }
.order-submit-price { font-family: var(--font-serif); font-size: 21px; letter-spacing: -0.02em; }
.order-submit[disabled] { opacity: 0.7; cursor: progress; }
.order-legal { font-size: 12.5px; line-height: 1.5; color: var(--muted); text-align: center; }

.order-done { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 44px 40px; }
.order-done[hidden] { display: none; }
.order-done .display { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.order-done .lead { font-size: 1.02rem; }
.order-done .lead strong { color: var(--text); font-weight: 500; }
.order-done .btn { align-self: flex-start; }

@media (max-width: 900px) {
  .order-dialog { grid-template-columns: 1fr; }
  .order-side { border-right: 0; border-bottom: 1px solid var(--line); padding: 40px 28px 28px; }
  .order-form, .order-done { padding: 28px; }
}
@media (max-width: 640px) {
  .order-side { padding: 56px 22px 24px; }
  .order-form, .order-done { padding: 24px 22px 32px; }
  .field-row { grid-template-columns: 1fr; }
  .order-done .btn { align-self: stretch; }
}

/* ---------- language & currency switcher ---------- */
.locale { position: relative; }
.locale-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px 0 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02);
  color: var(--text-2); font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.locale-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.locale-toggle:hover, .locale-toggle[aria-expanded="true"] { color: var(--text); border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); }
.locale-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.locale-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 120; min-width: 230px;
  padding: 14px; border-radius: 16px;
  background: rgba(12, 12, 18, 0.92); border: 1px solid var(--line-2);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
  opacity: 0; transform: translateY(-6px) scale(0.98); pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
}
.locale-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.locale-group { display: flex; flex-direction: column; gap: 4px; }
.locale-group + .locale-group { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.locale-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 0 8px 4px; }
.locale-group button {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: 10px; text-align: left;
  font-size: 14px; color: var(--text-2);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.locale-group button:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.locale-group button.is-active { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.locale-group button.is-active::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.mobile-locale { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.mobile-locale .locale-group { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 6px; }
.mobile-locale .locale-group + .locale-group { margin: 0; padding: 0; border: 0; }
.mobile-locale .locale-label { width: 100%; padding: 0 0 2px; }
.mobile-locale .locale-group button { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.mobile-locale .locale-group button.is-active { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.08); }
.mobile-locale .locale-group button.is-active::after { display: none; }
.price-currency-note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }
.price-currency-note[hidden] { display: none; }
@media (max-width: 860px) { .nav-actions .locale { display: none; } }

/* ---------- collapsible work grid ---------- */
.work-more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.work-more-wrap:has(.work-more[hidden]) { display: none; }
.work-more { min-width: 220px; }

/* ---------- scroll progress + section rail ---------- */
.scroll-progress { position: fixed; left: 0; top: 0; right: 0; height: 2px; z-index: 110; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, rgba(156, 195, 255, 0.6), #fff);
  transform-origin: left; transform: scaleX(0);
  box-shadow: 0 0 12px rgba(156, 195, 255, 0.6);
}
.scroll-rail {
  position: fixed; right: 26px; top: 50%; z-index: 90;
  display: flex; flex-direction: column; gap: 18px;
  transform: translateY(-50%) translateX(12px); opacity: 0; pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.scroll-rail.is-visible { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
body.modal-open .scroll-rail, body.lightbox-open .scroll-rail { opacity: 0; pointer-events: none; }
.scroll-rail a { position: relative; display: flex; align-items: center; justify-content: flex-end; height: 14px; }
.rail-dot {
  width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.28);
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.scroll-rail a:hover .rail-dot { background: rgba(255, 255, 255, 0.7); }
.scroll-rail a.is-active .rail-dot { background: #fff; transform: scale(1.5); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12), 0 0 16px rgba(156, 195, 255, 0.6); }
.rail-label {
  position: absolute; right: 22px; white-space: nowrap;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2);
  padding: 5px 10px; border-radius: 8px; background: rgba(12, 12, 18, 0.85); border: 1px solid var(--line);
  opacity: 0; transform: translateX(6px); transition: opacity 0.3s var(--ease), transform 0.35s var(--ease); pointer-events: none;
}
.scroll-rail a:hover .rail-label, .scroll-rail a:focus-visible .rail-label { opacity: 1; transform: none; }
.scroll-rail a:focus-visible { outline: none; }
.scroll-rail a:focus-visible .rail-dot { box-shadow: 0 0 0 3px var(--accent); }
@media (max-width: 1100px) { .scroll-rail { display: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .studio-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: span 2; }
  .service-card:last-child .service-visual { height: 200px; }
}
@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .ai-grid { grid-template-columns: 1fr; }
  .ai-copy { position: static; }
}
@media (max-width: 860px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-content { padding-top: var(--nav-h); padding-bottom: 28vh; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 26px; }
  .hero-formats { flex-wrap: wrap; gap: 10px; font-size: 11px; letter-spacing: 0.12em; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  :root { --radius: 18px; }
  .hero-title { font-size: clamp(2.7rem, 13.5vw, 3.9rem); }
  .hero-tagline { font-size: clamp(1.3rem, 6.2vw, 1.7rem); margin-top: 20px; }
  .hero-sub { margin-top: 26px; }
  .hero-actions { margin-top: 30px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; }
  .work-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .work-meta { left: 12px; right: 12px; bottom: 12px; gap: 2px; }
  .work-title { font-size: 13.5px; line-height: 1.3; }
  .work-tag { font-size: 11.5px; }
  .work-play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .work-play::after { margin: -6px 0 0 -3px; border-width: 6px 0 6px 10px; }
  .work-cta { padding: 14px; gap: 8px; }
  .work-cta h3 { font-size: 1.15rem; }
  .work-cta .eyebrow { font-size: 11px; }
  .work-cta .btn { height: 40px; padding: 0 16px; font-size: 14px; margin-top: 0; }
  .tile-wide, .tile-feature { grid-row: auto; grid-column: auto; }
  .work-filters { gap: 6px; margin-bottom: 28px; }
  .chip { height: 34px; padding: 0 13px; font-size: 12.5px; }
  .lightbox-close { top: auto; bottom: calc(100% + 10px); }
  .step-toggle { gap: 12px; padding: 20px 0; }
  .step-dash { display: none; }
  .step-num { min-width: 26px; font-size: 20px; }
  .step-icon { width: 34px; height: 34px; }
  .step-body p { padding-left: 38px; }
  .studio-facts { grid-template-columns: 1fr; gap: 26px; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero-sub, .hero-actions, .hero-foot, .reveal { opacity: 1; transform: none; }
  .hero-title .w, .hero-tagline .w { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   Typography overrides: Cal Sans for every heading, SF Pro Display Thin
   Italic for every italic accent. Kept last so they win over the rules above.
   ===================================================================== */
h1, h2, h3, .display, .display-xl, .hero-title, .hero-tagline, .price-head h3, .step-toggle h3, .work-cta h3,
.booking-placeholder-title, .order-done .display {
  font-family: var(--font-display);
  font-weight: 400;
}
.hero-title { letter-spacing: -0.03em; }
.display, .display-xl { letter-spacing: -0.02em; }
.hero-tagline { letter-spacing: -0.015em; }
.price-head h3, .step-toggle h3, .work-cta h3 { letter-spacing: -0.015em; }

.display em, .display-xl em, .hero-title em, .hero-tagline em, .work-cta h3 em,
.footer-note, .process-timeline, .process-timeline em, .hero-powered {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 100;
  letter-spacing: 0;
}
.display em, .display-xl em, .hero-title em, .hero-tagline em, .work-cta h3 em { font-size: 1.06em; color: var(--cream); }
.footer-note { font-size: 17px; color: var(--text); }
.process-timeline { font-size: clamp(1.3rem, 1.8vw, 1.65rem); }

/* contact headline in SF Pro Display Bold */
.cta .contact-title { font-family: 'SF Pro Display', var(--font-display); font-weight: 700; font-style: normal; letter-spacing: -0.035em; }

/* savings badge on the higher tiers */
.tier-save {
  display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em; white-space: nowrap; line-height: 1.2;
  color: #bfe6c9; background: rgba(120, 205, 145, 0.12); border: 1px solid rgba(120, 205, 145, 0.32);
}
.offer .tier-save { margin-left: 6px; }
@media (max-width: 640px) { .tier-save { display: block; width: max-content; margin: 6px 0 0; } }

/* ---------- skeleton loading ---------- */
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.sk {
  display: block; border-radius: 10px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.11) 50%, rgba(255, 255, 255, 0.05) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}
.hero-skeleton {
  position: absolute; inset: 0; z-index: 2;
  display: none; flex-direction: column; justify-content: center; gap: 14px;
  padding-top: var(--nav-h); padding-bottom: 24vh;
  pointer-events: none;
}
.sk-title { width: min(560px, 70%); height: clamp(54px, 6.8vw, 104px); border-radius: 16px; margin-bottom: 28px; }
.sk-line { width: min(300px, 55%); height: clamp(18px, 2vw, 30px); }
.sk-line-2 { width: min(430px, 72%); }
.sk-line-3 { width: min(360px, 62%); }
.sk-row { display: flex; gap: 14px; margin-top: 22px; }
.sk-pill { width: 190px; height: 56px; border-radius: 999px; }
.sk-pill-2 { width: 170px; }
body.is-loading .hero-skeleton { display: flex; }
body.is-loading .hero-content { opacity: 0; }
body.is-loading .hero-title .w, body.is-loading .hero-tagline .w, body.is-loading .hero-actions, body.is-loading .hero-foot { animation-play-state: paused; }
body.is-ready .hero-content { opacity: 1; transition: opacity 0.4s var(--ease); }
/* work tiles shimmer until their poster has arrived */
.work-media { background: var(--surface); }
.work-tile:not(.is-loaded) .work-media::before {
  content: ''; position: absolute; inset: 0; display: block;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.10) 50%, rgba(255, 255, 255, 0.04) 100%);
  background-size: 200% 100%; animation: shimmer 1.6s linear infinite;
}
.work-poster { opacity: 0; transition: opacity 0.5s var(--ease); }
.work-tile.is-loaded .work-poster { opacity: 1; }
.work-tile:not(.is-loaded) .work-play, .work-tile:not(.is-loaded) .work-meta { opacity: 0; }
.work-play, .work-meta { transition: opacity 0.4s var(--ease); }
/* honeypot */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
@media (max-width: 860px) { .hero-skeleton { padding-bottom: 28vh; } .sk-pill, .sk-pill-2 { width: 100%; } .sk-row { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .sk, .work-tile:not(.is-loaded) .work-media::before { animation: none; } }

/* header shows the mark alone, a little larger */
.nav .logo-mark-only .logo-mark { height: 30px; }

/* ---------- hero: mobile sizing ---------- */
.hero-formats { flex-wrap: nowrap; white-space: nowrap; }
@media (max-width: 640px) {
  .hero-title { font-size: clamp(2.2rem, 10.5vw, 3rem); }
  .hero-tagline { font-size: clamp(1.02rem, 4.6vw, 1.25rem); margin-top: 16px; }
  .hero-actions { gap: 10px; margin-top: 24px; }
  .hero-actions .btn { height: 46px; padding: 0 18px; font-size: 14px; flex: 1 1 0; }
  .hero-formats { font-size: clamp(8.5px, 2.55vw, 11px); letter-spacing: 0.08em; gap: 8px; flex-wrap: nowrap; }
  .hero-formats i { width: 2px; height: 2px; }
  .sk-title { height: clamp(40px, 10vw, 52px); }
  .sk-line { height: clamp(14px, 4vw, 18px); }
}

/* hero tagline in SF Pro Display Medium (italic accents keep the thin italic) */
.hero-tagline { font-family: 'SF Pro Display', var(--font-display); font-weight: 500; letter-spacing: -0.01em; }

/* hero buttons on desktop: centred and larger */
@media (min-width: 861px) {
  .hero-actions { justify-content: center; gap: 18px; margin-top: 44px; }
  .hero-actions .btn { height: 66px; padding: 0 40px; font-size: 18px; }
  .hero-actions .play-ico { border-width: 6px 0 6px 11px; }
  .sk-row { justify-content: center; margin-top: 30px; }
  .sk-pill { width: 230px; height: 66px; }
  .sk-pill-2 { width: 210px; }
}

/* second tagline line: thin italic, smaller, so the first line leads */
.hero-tagline .tagline-sub { display: block; margin-top: 6px; font-family: var(--font-italic); font-style: italic; font-weight: 100; font-size: 0.9em; letter-spacing: 0; color: var(--cream); }
@media (max-width: 640px) { .hero-tagline .tagline-sub { font-size: 0.95em; margin-top: 4px; } }

/* ---------- toast (email copied) ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 400;
  display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px);
  padding: 12px 16px 12px 14px; border-radius: 14px;
  background: rgba(12, 12, 18, 0.92); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
  font-size: 14px; color: var(--text-2); white-space: nowrap;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  transition: transform 0.4s var(--ease), opacity 0.35s var(--ease);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast strong { color: var(--text); font-weight: 500; }
.toast-check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(120, 205, 145, 0.18); color: #bfe6c9; font-size: 12px; flex: none; }
.toast a { color: var(--text); border-bottom: 1px solid var(--line-2); margin-left: 4px; white-space: nowrap; }
.toast a:hover { border-color: var(--text); }
@media (max-width: 640px) { .toast { flex-wrap: wrap; white-space: normal; bottom: 16px; font-size: 13px; } }
