/* =========================================================
   SPARK — Motion Design & Product Video Studio
   Shared stylesheet  •  Dark, minimal, cinematic
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg:        #0a0a0b;
  --bg-soft:   #101012;
  --card:      #141416;
  --card-2:    #18181b;
  --fg:        #ededed;
  --fg-dim:    #a1a1a8;
  --fg-mute:   #6c6c74;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);

  --accent:    #f4b740;
  --accent-2:  #ffd06b;
  --accent-glow: rgba(244, 183, 64, 0.45);

  --max:       1180px;
  --gutter:    clamp(20px, 5vw, 48px);
  --radius:    16px;
  --radius-sm: 10px;

  --font-head: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Subtle film grain overlay ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 12vw, 140px); }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-dim); font-weight: 500; margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--accent);
}
.lead { color: var(--fg-dim); font-size: clamp(17px, 2vw, 19px); max-width: 56ch; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.01em; }
.display { font-weight: 700; }
.accent { color: var(--accent); }
.muted { color: var(--fg-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 500; font-size: 15px;
  padding: 14px 26px; border-radius: 999px;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0a0a0b; font-weight: 600;
  box-shadow: 0 8px 30px -8px var(--accent-glow);
}
.btn--primary:hover { box-shadow: 0 14px 40px -10px var(--accent-glow); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); background: rgba(255,255,255,0.04); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(10,10,11,0.6);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .4s var(--ease);
  will-change: transform;
}
.nav.scrolled { background: rgba(10,10,11,0.85); border-bottom-color: var(--line); }
.nav--hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__link {
  font-size: 15px; color: var(--fg-dim); position: relative; transition: color .25s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--fg); }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--accent);
  transition: width .3s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.nav__cta { margin-left: 8px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); }
.logo__mark { width: 30px; height: 30px; flex: none; }
.logo__text { font-weight: 700; font-size: 21px; letter-spacing: 0.02em; }
.logo__text b { color: var(--accent); }

/* Mobile menu */
.nav__toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); }
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--fg); position: relative; transition: .3s var(--ease); }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--fg); transition: .3s var(--ease); }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav.open .nav__toggle span { background: transparent; }
.nav.open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(70px, 13vw, 150px); padding-bottom: clamp(70px, 12vw, 140px); overflow: hidden; }
.hero__glow {
  position: absolute; z-index: 0; top: -10%; left: 50%; transform: translateX(-50%);
  width: min(1000px, 120vw); height: 700px; pointer-events: none;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 62%);
  opacity: 0.5; filter: blur(20px);
}
.hero__inner { position: relative; z-index: 1; }
.hero h1 { max-width: 16ch; margin-bottom: 28px; }
.hero .lead { font-size: clamp(18px, 2.2vw, 21px); max-width: 50ch; margin-bottom: 38px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Marquee / trust strip ---------- */
.strip { border-block: 1px solid var(--line); padding-block: 26px; }
.strip__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; justify-content: center; color: var(--fg-mute); font-family: var(--font-head); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.strip__row span { display: inline-flex; align-items: center; gap: 40px; }

/* ---------- Section headers ---------- */
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.sec-head h2 { max-width: 18ch; }
.sec-head p { max-width: 42ch; color: var(--fg-dim); }

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

.service {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 30px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.service:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--card-2); }
.service__num { font-family: var(--font-head); font-size: 13px; color: var(--accent); letter-spacing: 0.12em; margin-bottom: 24px; }
.service h3 { margin-bottom: 12px; }
.service p { color: var(--fg-dim); font-size: 15.5px; }
.service__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { font-size: 12.5px; color: var(--fg-dim); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-family: var(--font-head); }

/* ---------- Work / portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--card);
  aspect-ratio: 16 / 10; display: block; transition: transform .45s var(--ease), border-color .45s var(--ease);
}
.work:hover { transform: translateY(-4px); border-color: var(--line-2); }
.work__media { position: absolute; inset: 0; }
.work__media iframe, .work__media video { width: 100%; height: 100%; object-fit: cover; border: 0; }
/* placeholder gradient when no video yet */
.work__ph { position: absolute; inset: 0; background:
    radial-gradient(120% 120% at 18% 8%, rgba(255,208,107,0.20), transparent 52%),
    radial-gradient(120% 120% at 92% 92%, rgba(244,183,64,0.16), transparent 55%),
    linear-gradient(160deg, #161513, #0e0e10); }
.work__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,10,11,0.45); border: 1px solid var(--line-2); backdrop-filter: blur(6px); transition: .4s var(--ease); }
.work:hover .work__play { background: var(--accent); border-color: var(--accent); transform: translate(-50%,-50%) scale(1.06); }
.work:hover .work__play svg { color: #0a0a0b; }
.work__play svg { color: var(--fg); width: 22px; height: 22px; margin-left: 3px; }
.work__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; display: flex; align-items: end; justify-content: space-between; gap: 16px; background: linear-gradient(to top, rgba(8,8,9,0.9), transparent); }
.work__meta h3 { font-size: 1.2rem; }
.work__meta span { font-size: 13px; color: var(--fg-dim); font-family: var(--font-head); letter-spacing: 0.04em; }

/* ---------- Process (steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { border-top: 1px solid var(--line-2); padding-top: 22px; }
.step__n { font-family: var(--font-head); font-size: 14px; color: var(--accent); margin-bottom: 16px; letter-spacing: 0.1em; }
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--fg-dim); font-size: 15px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--card); }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--fg-dim); margin-top: 12px; font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: linear-gradient(160deg, var(--card-2), #0c0c0e); padding: clamp(40px, 7vw, 84px); text-align: center; }
.cta-band__glow { position: absolute; inset: auto; bottom: -40%; left: 50%; transform: translateX(-50%); width: 700px; height: 500px; background: radial-gradient(ellipse at center, var(--accent-glow), transparent 60%); opacity: 0.45; filter: blur(10px); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 20px; }
.cta-band p { color: var(--fg-dim); max-width: 48ch; margin: 0 auto 34px; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__media { aspect-ratio: 4/5; border-radius: var(--radius); border: 1px solid var(--line); background:
    radial-gradient(130% 120% at 15% 10%, rgba(255,208,107,0.22), transparent 52%),
    linear-gradient(160deg, #161513, #0d0d0f); position: relative; overflow: hidden; }
.split__media .badge { position: absolute; bottom: 22px; left: 22px; font-family: var(--font-head); font-size: 13px; letter-spacing: 0.1em; color: var(--fg-dim); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--card); margin-bottom: 18px; }
.contact-card .label { font-family: var(--font-head); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 10px; }
.contact-card a { font-size: 19px; color: var(--fg); transition: color .25s var(--ease); }
.contact-card a:hover { color: var(--accent); }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--fg-dim); margin-bottom: 8px; font-family: var(--font-head); letter-spacing: 0.04em; }
.field input, .field textarea {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--fg); padding: 14px 16px; font-family: var(--font-body); font-size: 15.5px; transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #0c0c0e; }
.field textarea { resize: vertical; min-height: 140px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 60px 36px; margin-top: 40px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.footer__brand { max-width: 32ch; }
.footer__brand p { color: var(--fg-dim); margin-top: 16px; font-size: 15px; }
.footer__cols { display: flex; gap: clamp(40px, 7vw, 90px); flex-wrap: wrap; }
.footer__col h4 { font-family: var(--font-head); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 16px; font-weight: 500; }
.footer__col a { display: block; color: var(--fg-dim); font-size: 15px; margin-bottom: 11px; transition: color .25s var(--ease); }
.footer__col a:hover { color: var(--fg); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--fg-mute); font-size: 13.5px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--3, .steps, .stats { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 16/10; order: -1; }
}
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 4px;
    background: rgba(10,10,11,0.97); border-bottom: 1px solid var(--line); padding: 18px var(--gutter) 28px;
    transform: translateY(-120%); transition: transform .4s var(--ease); backdrop-filter: blur(14px);
  }
  .nav.open .nav__links { transform: none; }
  .nav__links .nav__link { width: 100%; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 14px 0 0; width: 100%; }
  .nav__toggle { display: flex; }
}
@media (max-width: 560px) {
  .grid--3, .grid--2, .work-grid, .steps, .stats { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero__cta, .cta-band__btns { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Additional components (gold accent build)
   ========================================================= */

/* ---- Gold placeholder gradients (override earlier) ---- */
.work__ph { background:
    radial-gradient(120% 120% at 18% 8%, rgba(255,208,107,0.20), transparent 52%),
    radial-gradient(120% 120% at 92% 92%, rgba(244,183,64,0.16), transparent 55%),
    linear-gradient(160deg, #161513, #0e0e10); }
.split__media { background:
    radial-gradient(130% 120% at 15% 10%, rgba(255,208,107,0.22), transparent 52%),
    linear-gradient(160deg, #161513, #0d0d0f); }

/* ---- Language toggle ---- */
.lang-toggle { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; font-family: var(--font-head); font-size: 13px; }
.lang-toggle button { padding: 7px 13px; color: var(--fg-dim); transition: color .25s var(--ease), background .25s var(--ease); letter-spacing: 0.04em; }
.lang-toggle button.active { background: var(--accent); color: #0a0a0b; font-weight: 600; }
.lang-toggle button:not(.active):hover { color: var(--fg); }

/* ---- Hero atmosphere (animated, no reel yet) ---- */
.hero__glow { animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift {
  0%   { transform: translateX(-54%) translateY(0) scale(1); opacity: .42; }
  100% { transform: translateX(-46%) translateY(26px) scale(1.08); opacity: .58; }
}
.hero__orb { position: absolute; z-index: 0; border-radius: 50%; filter: blur(60px); pointer-events: none; opacity: .5; }
.hero__orb--1 { width: 340px; height: 340px; top: 8%; left: -60px; background: radial-gradient(circle, rgba(244,183,64,0.28), transparent 70%); animation: float1 14s ease-in-out infinite alternate; }
.hero__orb--2 { width: 280px; height: 280px; bottom: 4%; right: -40px; background: radial-gradient(circle, rgba(255,208,107,0.20), transparent 70%); animation: float2 18s ease-in-out infinite alternate; }
@keyframes float1 { to { transform: translateY(34px) translateX(20px); } }
@keyframes float2 { to { transform: translateY(-30px) translateX(-18px); } }

/* ---- Showreel frame (swap iframe in later) ---- */
.reel { position: relative; margin-top: clamp(40px, 7vw, 72px); border-radius: calc(var(--radius) + 4px); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background:
    radial-gradient(120% 130% at 50% 0%, rgba(244,183,64,0.12), transparent 55%),
    linear-gradient(160deg, #141413, #0c0c0e); }
.reel iframe, .reel video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.reel__inner { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; gap: 18px; }
.reel__play { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(244,183,64,0.12); border: 1px solid var(--accent); transition: .4s var(--ease); }
.reel:hover .reel__play { background: var(--accent); transform: scale(1.06); }
.reel:hover .reel__play svg { color: #0a0a0b; }
.reel__play svg { width: 26px; height: 26px; color: var(--accent); margin-left: 4px; transition: color .4s var(--ease); }
.reel__label { font-family: var(--font-head); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim); }

/* ---- Big intro statement ---- */
.statement { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.18; letter-spacing: -0.02em; max-width: 22ch; }
.statement .accent { color: var(--accent); }
.statement--wide { max-width: 30ch; }

/* ---- Service (expanded list on services page) ---- */
.service--row { display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; padding: 30px 0; border-top: 1px solid var(--line); }
.service--row:last-child { border-bottom: 1px solid var(--line); }
.service--row .service__num { margin: 0; font-size: 15px; }
.service--row h3 { margin-bottom: 10px; }
.service--row p { color: var(--fg-dim); max-width: 60ch; }
@media (max-width: 560px) { .service--row { grid-template-columns: 1fr; gap: 10px; } }

/* ---- Socials ---- */
.socials { display: flex; gap: 12px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--fg-dim); transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease); }
.socials a:hover { color: var(--accent); border-color: var(--accent); }
.socials svg { width: 18px; height: 18px; }

/* ---- Page header (inner pages) ---- */
.page-head { padding-top: clamp(54px, 9vw, 96px); padding-bottom: clamp(28px, 5vw, 48px); }
.page-head h1 { max-width: 18ch; margin-bottom: 22px; }

/* ---- Contact ---- */
.contact-hero__mail { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.6rem, 4.5vw, 2.8rem); letter-spacing: -0.02em; display: inline-block; margin: 6px 0 4px; }
.contact-hero__mail:hover { color: var(--accent); }
.contact-info { display: grid; gap: 14px; margin-top: 10px; }

/* ---- Legal pages ---- */
.legal { max-width: 760px; }
.legal h1 { margin-bottom: 14px; }
.legal h2 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin: 38px 0 12px; }
.legal p, .legal li { color: var(--fg-dim); font-size: 16px; margin-bottom: 12px; }
.legal a { color: var(--accent); }
.legal ul { padding-left: 20px; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal .placeholder { color: var(--accent); background: rgba(244,183,64,0.10); border: 1px dashed rgba(244,183,64,0.4); border-radius: 6px; padding: 1px 7px; font-size: 14px; font-family: var(--font-head); }
.legal .note { border-left: 2px solid var(--accent); padding: 12px 0 12px 18px; margin: 24px 0; color: var(--fg-mute); font-size: 14.5px; }

/* ---- Portfolio video cards ---- */
.work { aspect-ratio: 16 / 9; cursor: pointer; }
.work__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0c0c0e; }
.work.is-playing .work__play { opacity: 0; pointer-events: none; }
.work__play { transition: opacity .3s var(--ease), background .4s var(--ease), transform .4s var(--ease); }
.work--feature { margin-bottom: 22px; }
.work:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- New starburst logo + hero echo ---- */
.logo__mark { object-fit: contain; }
.hero__burst {
  position: absolute; z-index: 0; top: 46%; left: 64%; transform: translate(-50%, -50%);
  width: min(820px, 92vw); aspect-ratio: 1;
  background: url("logo.svg") center / contain no-repeat;
  opacity: 0.06; pointer-events: none;
  animation: burstspin 160s linear infinite;
}
@keyframes burstspin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (max-width: 720px) {
  .hero__burst { opacity: 0.05; left: 50%; top: 40%; width: 130vw; }
}

/* =========================================================
   Upgrade pass — contact form, booking, visual polish
   ========================================================= */

/* ---- Contact form ---- */
.contact-form {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
}
.field select {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--fg); padding: 14px 16px; font-family: var(--font-body); font-size: 15.5px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a1a1a8' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field select:focus { outline: none; border-color: var(--accent); background-color: #0c0c0e; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-mute); }
.contact-form .btn { margin-top: 6px; }
.form-note { margin-top: 14px; color: var(--fg-mute); font-size: 14px; }

/* ---- Calendly booking ---- */
.calendly-slot { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.calendly-slot iframe { width: 100%; height: 700px; border: 0; }

/* ---- Card spotlight (gold glow follows cursor, JS sets --mx/--my) ---- */
.service, .contact-card, .contact-form { position: relative; overflow: hidden; }
.service::before, .contact-card::before, .contact-form::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(244,183,64,0.08), transparent 65%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.service:hover::before, .contact-card:hover::before, .contact-form:hover::before { opacity: 1; }
.service > *, .contact-card > *, .contact-form > * { position: relative; z-index: 1; }

/* ---- Cinematic headline gradient ---- */
h1, .sec-head h2, .cta-band h2 {
  background: linear-gradient(180deg, #f7f7f8 55%, #b9b9c2);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #ededed;
}
h1 .accent, .sec-head h2 .accent, .cta-band h2 .accent {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Softer, filmier reveal ---- */
.reveal { filter: blur(7px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.reveal.in { filter: blur(0); }

/* ---- Button sheen sweep ---- */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease); pointer-events: none;
}
.btn--primary:hover::after { left: 130%; }

/* ---- Portfolio hover: subtle zoom ---- */
.work__vid { transition: transform .6s var(--ease); }
.work:hover .work__vid { transform: scale(1.045); }

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

/* ---- Reduced motion: kill the extras too ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal { filter: none; }
  .btn--primary::after { display: none; }
}

/* =========================================================
   Upgrade pass 2 — carousel, sound, cursor glow, badges,
   tighter vertical rhythm
   ========================================================= */

/* ---- Tighter section spacing ---- */
.section { padding-block: clamp(44px, 6.5vw, 84px); }
.section--tight { padding-block: clamp(32px, 4.5vw, 56px); }
.hero { padding-top: clamp(52px, 9vw, 104px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-head { padding-top: clamp(36px, 5.5vw, 64px); padding-bottom: clamp(18px, 3vw, 32px); }
.sec-head { margin-bottom: 36px; }
.footer { margin-top: 16px; padding-block: 44px 28px; }


/* ---- Video carousel ---- */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 8px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track .work { flex: 0 0 min(620px, 84%); scroll-snap-align: start; }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10,10,11,0.7); border: 1px solid var(--line-2); color: var(--fg);
  backdrop-filter: blur(8px);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), opacity .3s var(--ease);
}
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #0a0a0b; }
.carousel__btn:disabled { opacity: 0.3; cursor: default; }
.carousel__btn--prev { left: -12px; }
.carousel__btn--next { right: -12px; }
@media (max-width: 560px) {
  .carousel__track .work { flex-basis: 92%; }
  .carousel__btn--prev { left: 4px; }
  .carousel__btn--next { right: 4px; }
}

/* ---- Per-video sound toggle ---- */
.work__sound {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10,10,11,0.55); border: 1px solid var(--line-2); color: var(--fg);
  backdrop-filter: blur(6px);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.work__sound svg { width: 20px; height: 20px; }
.work__sound .ico-on { display: none; }
.work__sound:hover { border-color: var(--accent); color: var(--accent); }
.work.has-sound .work__sound { background: var(--accent); border-color: var(--accent); color: #0a0a0b; }
.work.has-sound .work__sound .ico-on { display: block; }
.work.has-sound .work__sound .ico-off { display: none; }

/* ---- Storyboards ---- */
.sb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sb {
  position: relative; display: block; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.sb:hover { transform: translateY(-4px); border-color: rgba(244,183,64,0.5); }
.sb img { width: 100%; display: block; transition: transform .6s var(--ease); }
.sb:hover img { transform: scale(1.02); }
.sb__meta {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px;
  display: flex; align-items: end; justify-content: space-between; gap: 16px;
  background: linear-gradient(to top, rgba(8,8,9,0.9), transparent);
}
.sb__meta h3 { font-size: 1.1rem; }
.sb__meta span { font-size: 13px; color: var(--fg-dim); font-family: var(--font-head); letter-spacing: 0.04em; }
@media (max-width: 700px) { .sb-grid { grid-template-columns: 1fr; } }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(6,6,7,0.93); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 3vw; cursor: zoom-out;
}
.lightbox img { max-width: 94vw; max-height: 92vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }

/* ---- "Most booked" service highlight ---- */
.service__badge {
  display: inline-flex; align-items: center;
  font-family: var(--font-head); font-size: 11px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(244,183,64,0.45); background: rgba(244,183,64,0.09);
  border-radius: 999px; padding: 5px 12px;
}
.service .service__badge { position: absolute; top: 26px; right: 24px; }
.service--top { border-color: rgba(244,183,64,0.4); background: linear-gradient(160deg, rgba(244,183,64,0.06), var(--card) 55%); }
.service--top:hover { border-color: rgba(244,183,64,0.65); }
.service--top-row .service__badge { position: static; margin-bottom: 12px; }
.service--top-row { border-top-color: rgba(244,183,64,0.45); }
@media (max-width: 700px) {
  .service .service__badge { position: static; margin-bottom: 14px; }
}
