/* ==========================================================================
   Spook Studio — site styles
   Colours come from the ghost-cat logo: blush pink -> periwinkle, on deep night purple.
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg: #0c0a15;
  --bg-2: #12101e;
  --surface: #181425;
  --surface-2: #211c32;
  --line: rgba(232, 222, 255, 0.09);
  --line-2: rgba(232, 222, 255, 0.18);
  --text: #f4eff7;
  --muted: #aba4c1;
  --dim: #7f7898;

  --pink: #f0cfd0;
  --rose: #d8a8b8;
  --peri: #97a4dc;
  --blue: #7b89b3;
  --lantern: #ffd66e;
  --grad: linear-gradient(115deg, #f4d5d2 0%, #d9b2c6 42%, #9ba7de 100%);
  --grad-soft: linear-gradient(115deg, rgba(244, 213, 210, 0.16), rgba(155, 167, 222, 0.16));

  --font-display: "Jost", "Century Gothic", "Futura", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* film-grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(155, 167, 222, 0.4); color: #fff; }
:focus-visible { outline: 2px solid var(--peri); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--grad); color: #1b1526; box-shadow: 0 8px 30px -10px rgba(217, 178, 198, 0.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(155, 167, 222, 0.75); }
.btn--ghost { background: rgba(255, 255, 255, 0.03); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: rgba(232, 222, 255, 0.4); background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 15px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(12, 10, 21, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: auto; height: 34px; }
.brand__word { font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: 0.16em; color: var(--pink); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s, background-color 0.2s;
}
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav__link[aria-current="page"] { color: var(--text); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--grad);
}
.nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  position: relative;
}
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.section-head--split { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px rgba(240, 207, 208, 0.6); }
.h2 { font-size: clamp(36px, 5.4vw, 68px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 60ch; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: 48px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* lantern light that follows the pointer */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 55%), rgba(255, 214, 110, 0.07), transparent 60%);
  transition: background-position 0.2s;
}
.hero__grid { display: grid; grid-template-columns: 1.12fr 0.88fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero__title { font-size: clamp(52px, 8.4vw, 124px); line-height: 0.94; letter-spacing: -0.035em; margin-top: 22px; }
.hero__title .grad-text { font-style: italic; padding-right: 0.08em; }
.hero__lead { margin-top: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 48px; color: var(--dim); font-size: 14px; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lantern); box-shadow: 0 0 10px var(--lantern); }

.hero-art { position: relative; aspect-ratio: 1 / 1.08; display: grid; place-items: center; }
.hero-art__orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.7; pointer-events: none; }
.hero-art__orb--a { width: 70%; height: 62%; left: 18%; top: 6%; background: radial-gradient(circle, rgba(155, 167, 222, 0.55), transparent 70%); }
.hero-art__orb--b { width: 55%; height: 50%; left: 6%; bottom: 8%; background: radial-gradient(circle, rgba(240, 207, 208, 0.35), transparent 70%); }
.hero-art__orb--c { width: 26%; height: 24%; left: 26%; top: 62%; background: radial-gradient(circle, rgba(255, 214, 110, 0.55), transparent 70%); animation: flicker 3.2s ease-in-out infinite; }
.hero-art__ghost { position: relative; width: min(78%, 430px); transform: translate(var(--gx, 0), var(--gy, 0)); transition: transform 0.6s var(--ease); }
.hero-art__ghost img { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45)) brightness(1.06); animation: float 6.5s ease-in-out infinite; }
.hero-art__shadow { position: absolute; left: 22%; right: 22%; bottom: 2%; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent); animation: shadow 6.5s ease-in-out infinite; }

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: rgba(33, 28, 50, 0.72);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  animation: bob 5s ease-in-out infinite;
  white-space: nowrap;
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); font-style: normal; }
.chip--1 { left: 0; top: 18%; }
.chip--2 { right: 0; top: 30%; animation-delay: -1.4s; }
.chip--3 { left: 4%; bottom: 20%; animation-delay: -2.6s; }
.chip--4 { right: 6%; bottom: 12%; animation-delay: -3.6s; }

@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-18px) rotate(1.5deg); } }
@keyframes shadow { 0%, 100% { transform: scaleX(1); opacity: 0.9; } 50% { transform: scaleX(0.8); opacity: 0.55; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes flicker { 0%, 100% { opacity: 0.75; } 40% { opacity: 0.55; } 55% { opacity: 0.85; } 70% { opacity: 0.6; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; background: var(--bg-2); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 34px); letter-spacing: 0.02em; color: var(--muted); white-space: nowrap; }
.marquee__item img { width: auto; height: 0.9em; opacity: 0.85; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Media frames ---------- */
.frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
.frame video, .frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--16x9 { aspect-ratio: 16 / 9; }

.reel { position: relative; }
.reel::before {
  content: "";
  position: absolute;
  inset: -12% -6%;
  background: radial-gradient(closest-side, rgba(155, 167, 222, 0.22), transparent);
  filter: blur(30px);
  z-index: -1;
}
.reel .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(12, 10, 21, 0.65)); pointer-events: none; }
.play-btn {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.play-btn__disc {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 12px;
  border-radius: 999px;
  background: rgba(12, 10, 21, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-weight: 600;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.play-btn__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #1b1526; }
.play-btn__icon svg { width: 20px; height: 20px; margin-left: 3px; }
.play-btn:hover .play-btn__disc { transform: scale(1.05); background: rgba(12, 10, 21, 0.7); }
.reel__caption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; color: var(--dim); font-size: 14px; }

/* ---------- Service cards ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(155, 167, 222, 0.35); }
.service-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.service-card__media > video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.service-card:hover .service-card__media > video { transform: scale(1.04); }
.service-card__media--phone { display: grid; place-items: center; background: radial-gradient(circle at 50% 120%, rgba(240, 207, 208, 0.35), transparent 60%), linear-gradient(160deg, #2a2342, #1a1628); }
.service-card__body { display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 28px; flex: 1; }
.service-card__num { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.1em; color: var(--dim); }
.service-card h3 { font-size: 30px; }
.service-card p { color: var(--muted); font-size: 16px; }
.service-card .link-arrow { margin-top: auto; padding-top: 8px; }
.service-card .link-arrow::after { content: ""; position: absolute; inset: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: rgba(255, 255, 255, 0.02); }

/* phone mock-up */
.phone {
  position: relative;
  width: 38%;
  aspect-ratio: 9 / 19;
  border-radius: 26px;
  padding: 5px;
  background: linear-gradient(160deg, #3a3254, #1b1729);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; width: 28%; height: 5px; margin-left: -14%; border-radius: 99px; background: rgba(0, 0, 0, 0.6); z-index: 2; }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 21px; background: #000; }
/* phone height = 86% of a 4:3 media box -> width = 0.86 * 0.75 * 9/19 */
.service-card__media--phone .phone { width: 30.5%; }

/* ---------- Work grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(220px, 25vw, 340px); gap: 18px; }
.tile {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  grid-column: span 4;
}
.tile--w5 { grid-column: span 5; }
.tile--w6 { grid-column: span 6; }
.tile--w7 { grid-column: span 7; }
.tile--w8 { grid-column: span 8; }
.tile--w12 { grid-column: span 12; }
.tile video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.tile:hover video { transform: scale(1.04); }
.tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 48px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(12, 10, 21, 0.85));
  pointer-events: none;
}
.tile__title { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.1; }
.tile__meta { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.tile__expand {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.tile__expand svg { width: 16px; height: 16px; }
.tile:hover .tile__expand { transform: scale(1.1); background: rgba(255, 255, 255, 0.2); }
.tile__hit { position: absolute; inset: 0; z-index: 2; border: 0; background: transparent; cursor: pointer; border-radius: inherit; }

/* worm divider: black background disappears with screen blending */
.strip { overflow: hidden; pointer-events: none; }
.strip video { width: min(100%, 1100px); margin-inline: auto; mix-blend-mode: screen; filter: contrast(1.45) brightness(0.92); opacity: 0.9; aspect-ratio: 1600 / 388; }

/* ---------- Steps / features ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px 24px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  margin-bottom: 26px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature { padding: 34px 30px 36px; background: var(--bg); transition: background-color 0.3s; }
.feature:hover { background: var(--bg-2); }
.feature__num { font-family: var(--font-display); color: var(--dim); font-size: 14px; letter-spacing: 0.1em; }
.feature h3 { font-size: 26px; margin: 18px 0 10px; }
.feature p { color: var(--muted); font-size: 16px; }
.features--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Crew ---------- */
.crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.crew-card { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
.crew-card__avatar { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-soft), var(--surface-2); border: 1px solid var(--line-2); overflow: hidden; }
.crew-card__avatar img { height: 62%; width: auto; }
.crew-card__avatar--2 img { filter: hue-rotate(40deg) saturate(1.2); }
.crew-card__avatar--3 img { filter: hue-rotate(-60deg) saturate(1.3); }
.crew-card h3 { font-size: 26px; }
.crew-card__role { color: var(--peri); font-weight: 500; font-size: 15px; margin-top: 6px; }
.crew-card p { color: var(--muted); font-size: 16px; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.check-list { display: grid; gap: 14px; margin-top: 28px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.check-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--grad-soft); border: 1px solid var(--line-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0cfd0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); background-size: 13px; background-position: center; background-repeat: no-repeat; }
.check-list strong { color: var(--text); font-weight: 600; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 900px; height: 900px; left: -300px; top: -200px; background: radial-gradient(closest-side, rgba(155, 167, 222, 0.14), transparent); pointer-events: none; }
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; position: relative; }
.contact__email { display: inline-flex; align-items: center; gap: 12px; margin-top: 36px; font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px); border-bottom: 1px solid var(--line-2); padding-bottom: 6px; transition: border-color 0.3s; }
.contact__email:hover { border-color: var(--pink); }
.contact__email svg { width: 26px; height: 26px; color: var(--pink); }
.contact__notes { display: grid; gap: 10px; margin-top: 36px; color: var(--dim); font-size: 15px; }
.contact__notes span { display: inline-flex; gap: 10px; align-items: center; }
.contact__notes span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--peri); }

.form { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--muted); }
.field label small { font-weight: 400; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aba4c1' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--peri); box-shadow: 0 0 0 4px rgba(151, 164, 220, 0.18); }
.field ::placeholder { color: var(--dim); }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form__note { font-size: 13px; color: var(--dim); max-width: 40ch; }
.hidden-field { display: none; }

/* ---------- Page hero (service pages) ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 110px)); padding-bottom: clamp(56px, 8vw, 110px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 1000px; height: 800px; right: -300px; top: -250px; background: radial-gradient(closest-side, rgba(155, 167, 222, 0.18), transparent); pointer-events: none; }
.page-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; }
.page-hero h1 { font-size: clamp(48px, 7vw, 100px); line-height: 0.95; letter-spacing: -0.035em; margin-top: 20px; }
.page-hero .lead { margin-top: 26px; }
.page-hero .hero__actions { margin-top: 34px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--dim); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }

.phones { position: relative; display: flex; justify-content: center; align-items: center; min-height: 460px; }
.phones .phone { width: min(34%, 200px); }
.phones .phone:nth-child(1) { transform: translateX(22%) rotate(-8deg) translateY(18px); }
.phones .phone:nth-child(2) { z-index: 2; width: min(38%, 224px); }
.phones .phone:nth-child(3) { transform: translateX(-22%) rotate(8deg) translateY(18px); }

/* formats (video editing) */
.formats { display: flex; align-items: flex-end; justify-content: center; gap: clamp(10px, 2vw, 24px); flex-wrap: wrap; }
.format { display: grid; gap: 12px; justify-items: center; }
.format__frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.8); }
.format__frame video { width: 100%; height: 100%; object-fit: cover; }
.format span { font-size: 13px; color: var(--muted); text-align: center; line-height: 1.35; }
.format span b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--text); }
.format--169 .format__frame { width: clamp(220px, 30vw, 380px); aspect-ratio: 16 / 9; }
.format--11 .format__frame { width: clamp(130px, 15vw, 200px); aspect-ratio: 1; }
.format--45 .format__frame { width: clamp(120px, 13vw, 170px); aspect-ratio: 4 / 5; }
.format--916 .format__frame { width: clamp(110px, 11vw, 150px); aspect-ratio: 9 / 16; }

/* AI pipeline */
.pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.pipeline__step { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; }
.pipeline__step h3 { font-size: 24px; margin: 14px 0 8px; }
.pipeline__step p { color: var(--muted); font-size: 16px; }
.pipeline__badge { display: inline-flex; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.pipeline__badge--ai { background: rgba(155, 167, 222, 0.15); color: var(--peri); }
.pipeline__badge--human { background: rgba(240, 207, 208, 0.14); color: var(--pink); }

/* callout panel */
.panel { padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); background: linear-gradient(160deg, #1d1830, #141120); border: 1px solid var(--line); position: relative; overflow: hidden; }
.panel::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; bottom: -160px; background: radial-gradient(closest-side, rgba(255, 214, 110, 0.12), transparent); pointer-events: none; }
.panel h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 16px 0 16px; }
.panel .lead { font-size: 17px; }
.fine-print { margin-top: 22px; font-size: 14px; color: var(--dim); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.3s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; font-family: var(--font-display); font-size: 21px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--font-body); font-size: 20px; font-weight: 400; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 24px; color: var(--muted); max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: clamp(48px, 7vw, 96px) var(--gutter); border-radius: 36px; background: radial-gradient(circle at 50% 120%, rgba(255, 214, 110, 0.14), transparent 55%), linear-gradient(160deg, #221c37, #15121f); border: 1px solid var(--line); position: relative; overflow: hidden; }
.cta-band img { width: 76px; height: auto; margin: 0 auto 24px; animation: float 6.5s ease-in-out infinite; }
.cta-band h2 { font-size: clamp(36px, 5.4vw, 72px); max-width: 16ch; margin-inline: auto; }
.cta-band .lead { margin: 20px auto 0; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 96px); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__blurb { color: var(--muted); max-width: 36ch; margin-top: 18px; font-size: 16px; }
.footer__col h3 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.footer__col li + li { margin-top: 10px; }
.footer__col a { color: var(--muted); transition: color 0.2s; }
.footer__col a:hover { color: var(--text); }
.footer__word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 11vw, 158px);
  line-height: 0.8;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  margin-top: clamp(48px, 7vw, 96px);
  background: linear-gradient(180deg, rgba(240, 207, 208, 0.22), rgba(155, 167, 222, 0.02) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }

/* ---------- Media dialog ---------- */
.media-dialog { width: min(100% - 32px, 1200px); max-height: calc(100vh - 32px); padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible; }
.media-dialog::backdrop { background: rgba(6, 5, 12, 0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.media-dialog__stage { border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; max-height: calc(100vh - 120px); margin-inline: auto; }
.media-dialog__stage.is-square { aspect-ratio: 1; width: min(100%, calc(100vh - 120px)); }
.media-dialog__stage video, .media-dialog__stage iframe { width: 100%; height: 100%; border: 0; display: block; object-fit: contain; }
.media-dialog__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; }
.media-dialog__caption { font-family: var(--font-display); font-size: 20px; }
.media-dialog__close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.06); cursor: pointer; display: grid; place-items: center; flex: none; }
.media-dialog__close:hover { background: rgba(255, 255, 255, 0.14); }
.media-dialog__close svg { width: 18px; height: 18px; }
.media-dialog[open] { animation: pop 0.35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(0.97); } }

/* ---------- Simple pages (thanks / 404) ---------- */
.simple { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; }
.simple img { width: min(240px, 50vw); height: auto; margin: 0 auto 28px; animation: float 6.5s ease-in-out infinite; }
.simple h1 { font-size: clamp(40px, 6vw, 76px); }
.simple .lead { margin: 18px auto 0; }
.simple .hero__actions { justify-content: center; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: 1fr 1fr; }
  .services .service-card:last-child { grid-column: 1 / -1; }
  .services .service-card:last-child .service-card__media { aspect-ratio: 16 / 7; }
  .services .service-card:last-child .phone { width: 17.8%; }
  .steps { grid-template-columns: 1fr 1fr; }
  .features--4 { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-auto-rows: clamp(200px, 30vw, 300px); }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--gutter) 24px;
    background: rgba(12, 10, 21, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s 0.25s;
  }
  .site-header.is-open .nav { opacity: 1; transform: none; visibility: visible; transition: opacity 0.25s, transform 0.25s var(--ease); }
  .nav__link { padding: 14px 4px; font-size: 20px; font-family: var(--font-display); border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__link[aria-current="page"]::after { left: auto; right: 6px; top: 50%; bottom: auto; margin-top: -2.5px; }
  .nav .btn { margin: 16px 0 0; justify-content: center; padding: 16px; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 36px); }
  .hero__grid, .page-hero__grid, .split, .contact__grid { grid-template-columns: 1fr; }
  .hero-art { width: min(100%, 420px); margin: 0 auto; aspect-ratio: 1 / 0.95; }
  .hero__meta { margin-top: 32px; }
  .section-head--split { grid-template-columns: 1fr; }
  .features, .features--4 { grid-template-columns: 1fr; }
  .crew { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .phones { min-height: 380px; }
}

@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; }
  .services .service-card:last-child .service-card__media { aspect-ratio: 4 / 3; }
  .services .service-card:last-child .phone { width: 30.5%; }
  .steps { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile, .tile--w5, .tile--w6, .tile--w7, .tile--w8, .tile--w12 { grid-column: auto; aspect-ratio: 4 / 3; }
  .form { grid-template-columns: 1fr; }
  .chip { font-size: 12px; padding: 7px 11px; }
  .chip--1 { top: 10%; }
  .chip--2 { top: 22%; }
  .play-btn__disc span:last-child { display: none; }
  .play-btn__disc { padding: 10px; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__word { font-size: 15px; }
  .formats { gap: 14px 10px; }
  .format--169 { width: 100%; }
  .format--169 .format__frame { width: 100%; }
}

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