/* ==========================================================================
   Framer X Studio — styles
   1. Tokens & base      5. Hero + editor     9. Why / About    13. Footer
   2. Utilities          6. Reel wall         10. Process        14. Modal / toast
   3. Buttons            7. Services         11. Results        15. Motion prefs
   4. Nav / menu         8. Work + art       12. CTA + form
   ========================================================================== */

/* 1. Tokens & base ------------------------------------------------------- */
:root {
  --bg: #09090a;
  --bg-2: #0f0f11;
  --surface: #141416;
  --surface-2: #1b1b1e;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f3f0ea;
  --muted: #a19d95;
  --dim: #66635e;
  --accent: #ff1e1e;
  --accent-2: #ff5a52;
  --accent-soft: rgba(255, 30, 30, 0.14);

  --font-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 18px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #0a0a0a; }

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.x { color: var(--accent); }

/* Film grain overlay */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.07;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* 2. Utilities ------------------------------------------------------------ */
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000;
  padding: 10px 16px; border-radius: 10px;
  background: var(--accent); color: #0a0a0a; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.idx { color: var(--accent); }

.rec-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 30, 30, 0.6);
  animation: rec 1.8s ease-out infinite;
}
@keyframes rec {
  0% { box-shadow: 0 0 0 0 rgba(255, 30, 30, 0.55); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(255, 30, 30, 0); }
}

.section { position: relative; padding-block: clamp(96px, 13vw, 176px); }
.section-head {
  display: grid; gap: 24px;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.section-head .eyebrow { margin-bottom: 20px; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 64px; }
}

.h2 {
  font-size: clamp(2.5rem, 6.2vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
}
.lead { color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.125rem); max-width: 46ch; }
.note { display: block; margin-top: 10px; font-size: 0.85rem; color: var(--dim); }

.ph-badge {
  display: inline-block;
  vertical-align: middle;
  padding: 3px 8px;
  border: 1px dashed rgba(255, 138, 61, 0.55);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  white-space: nowrap;
}

.u-link {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease-out);
}
.u-link:hover, .u-link:focus-visible { background-size: 100% 1px; }

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

/* Split-word headline animation */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.word__inner { display: inline-block; transition: transform 1s var(--ease-out); }
.js [data-split]:not(.is-in) .word__inner { transform: translateY(110%); }

/* 3. Buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 26px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600; font-size: 0.975rem; letter-spacing: -0.01em;
  isolation: isolate; overflow: hidden;
  transition: transform 0.5s var(--ease-out), background-color 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: var(--btn-hover, #fff);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--btn-hover-fg, #0a0a0a); }

.btn__label { display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3em; }
.btn__label > span { display: block; position: relative; transition: transform 0.55s var(--ease-out); }
.btn__label > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.btn:hover .btn__label > span, .btn:focus-visible .btn__label > span { transform: translateY(-100%); }

.btn__icon {
  display: grid; place-items: center;
  width: 28px; height: 28px; margin-right: -12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  transition: transform 0.5s var(--ease-out);
}
.btn__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn__icon { transform: rotate(-45deg); }

.btn--accent { --btn-bg: var(--accent); --btn-fg: #0a0a0a; --btn-hover: #fff; }
.btn--ghost { box-shadow: inset 0 0 0 1px var(--line-2); --btn-hover: var(--text); }
.btn--light { --btn-bg: var(--text); --btn-fg: #0a0a0a; --btn-hover: var(--accent); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 0.9rem; }
.btn--lg { height: 64px; padding: 0 32px; font-size: 1.05rem; }

/* 4. Nav / mobile menu ---------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  transition: transform 0.5s var(--ease-out), background-color 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(9, 9, 10, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; font-size: 1.05rem; }
.logo__mark { display: block; flex: none; transition: transform 0.6s var(--ease-out); }
.logo__mark img { display: block; width: 46px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)); }
.logo:hover .logo__mark { transform: translateY(-1px) scale(1.06); }

.nav__links { display: none; margin-left: auto; gap: 4px; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 0.925rem; color: var(--muted);
  transition: color 0.25s, background-color 0.25s;
}
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--accent);
}
.nav__cta { display: none; }

/* Sound toggle: equaliser bars animate while sound is on */
.sound {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 14px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  transition: color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.sound:hover { color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.sound[aria-pressed="true"] { color: var(--text); background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255, 30, 30, 0.5); }
.sound__bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.sound__bars i { width: 2px; height: 3px; border-radius: 1px; background: currentColor; transition: height 0.3s; }
.sound[aria-pressed="true"] .sound__bars i { background: var(--accent); animation: eq 0.9s ease-in-out infinite alternate; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(2) { animation-delay: -0.3s; animation-duration: 0.7s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(3) { animation-delay: -0.6s; animation-duration: 1.1s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(4) { animation-delay: -0.2s; animation-duration: 0.8s; }
@keyframes eq { from { height: 3px; } to { height: 14px; } }
@media (max-width: 599px) { .sound__label { display: none; } .sound { width: 44px; padding: 0; justify-content: center; } }

.nav__toggle {
  margin-left: 8px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-content: center; gap: 6px;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform 0.4s var(--ease-out); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (min-width: 960px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .sound { margin-left: 0; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 32px;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  background: var(--bg);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-io);
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-size: clamp(2.5rem, 12vw, 4rem);
  font-weight: 600; letter-spacing: -0.045em; line-height: 1.1;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s, transform 0.6s var(--ease-out), color 0.2s;
}
.mobile-menu nav a:hover { color: var(--accent); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(1) { transition-delay: 0.2s; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: 0.25s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: 0.35s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: 0.4s; }
.mobile-menu .btn { align-self: flex-start; }
@media (min-width: 960px) { .mobile-menu { display: none; } }

/* Intro loader */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: #050505;
  transition: clip-path 0.9s var(--ease-io);
  clip-path: inset(0 0 0 0);
}
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.loader__logo { width: clamp(96px, 16vw, 150px); height: auto; margin-bottom: 10px; animation: logo-in 0.9s var(--ease-out) both; }
@keyframes logo-in { from { opacity: 0; transform: translateY(12px) scale(0.92); } }
.loader__tc { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--accent); }
.loader__brand { font-size: clamp(1.75rem, 5vw, 3rem); font-weight: 600; letter-spacing: -0.04em; }
.is-loaded .loader { clip-path: inset(0 0 100% 0); pointer-events: none; }

/* Custom cursor (fine pointers only; enabled by JS) */
.cursor { display: none; }
.has-cursor .cursor {
  position: fixed; left: 0; top: 0; z-index: 150;
  display: grid; place-items: center;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--text);
  pointer-events: none;
  mix-blend-mode: difference;
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), margin 0.4s var(--ease-out), background-color 0.3s, opacity 0.3s;
}
.has-cursor .cursor.is-hidden { opacity: 0; }
.has-cursor .cursor.is-label {
  width: 88px; height: 88px; margin: -44px 0 0 -44px;
  background: var(--accent);
  mix-blend-mode: normal;
}
.cursor__label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #0a0a0a; opacity: 0; transition: opacity 0.2s;
}
.cursor.is-label .cursor__label { opacity: 1; transition-delay: 0.1s; }

/* 5. Hero + editor -------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + clamp(40px, 7vh, 88px)) 0 96px;
  overflow: hidden;
}
.hero__glow {
  position: absolute; right: -15%; top: -25%;
  width: min(1000px, 120vw); aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 30, 30, 0.26), rgba(255, 30, 30, 0.06) 55%, transparent);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: clamp(48px, 6vw, 72px); align-items: center; }
@media (min-width: 1080px) { .hero__grid { grid-template-columns: 1fr 1.05fr; } }

.hero__title {
  margin: 24px 0 28px;
  font-size: clamp(3.4rem, 8.4vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.058em;
  font-weight: 600;
}
@media (min-width: 1080px) { .hero__title { font-size: clamp(4.5rem, 7vw, 7.75rem); } }
.hero__title em { padding-right: 0.06em; }
.hero__lead { color: var(--muted); font-size: clamp(1.05rem, 1.35vw, 1.2rem); max-width: 44ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 40px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.hero__meta li { display: flex; align-items: center; gap: 14px; }
.hero__meta li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--dim); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px;
  width: 26px; height: 42px; margin-left: -13px;
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2);
}
.hero__scroll span {
  position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 3px; background: var(--text);
  animation: scrolly 1.8s var(--ease-io) infinite;
}
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-height: 700px), (max-width: 1079px) { .hero__scroll { display: none; } }

/* Editor mock */
.editor {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, #161618, #0e0e10);
  box-shadow: 0 0 0 1px var(--line), 0 40px 120px -30px rgba(0, 0, 0, 0.9), 0 0 80px -20px rgba(255, 30, 30, 0.25);
  overflow: hidden;
}
.editor__bar {
  display: flex; align-items: center; gap: 14px;
  height: 40px; padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--dim);
}
.editor__dots { display: flex; gap: 6px; }
.editor__dots i { width: 9px; height: 9px; border-radius: 50%; background: #2a2a2d; }
.editor__file { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.editor__tc { color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

.editor__viewer { position: relative; aspect-ratio: 16 / 9; margin: 12px 12px 0; border-radius: 10px; overflow: hidden; background: #000; }
.viewer__safe { position: absolute; inset: 7%; border: 1px dashed rgba(255, 255, 255, 0.14); border-radius: 4px; pointer-events: none; }
.viewer__label, .viewer__rec {
  position: absolute; bottom: 10px;
  padding: 4px 8px; border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.06em; color: #fff;
}
.viewer__label { left: 10px; }
.viewer__rec { right: 10px; top: 10px; bottom: auto; display: flex; align-items: center; gap: 6px; }
.viewer__rec i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Scenes — real clips; JS plays the one under the playhead (hard cuts) */
.scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; background: #000; }
.scene.is-active { visibility: visible; }
/* Timeline */
.editor__timeline { display: flex; gap: 8px; padding: 12px; }
.track-labels { display: grid; grid-template-rows: 16px repeat(4, 22px); gap: 4px; font-family: var(--font-mono); font-size: 0.6rem; color: var(--dim); }
.track-labels::before { content: ""; }
.track-labels span { display: grid; place-items: center; width: 26px; border-radius: 4px; background: #1c1c1f; }
.tracks { position: relative; flex: 1; display: grid; grid-template-rows: 16px repeat(4, 22px); gap: 4px; }
.ruler { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 10%), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 2%); background-size: 100% 100%, 100% 45%; background-repeat: no-repeat; background-position: 0 0, 0 100%; border-bottom: 1px solid var(--line); }
.track { position: relative; border-radius: 4px; background: #121214; }
.clip {
  position: absolute; top: 0; bottom: 0;
  padding: 0 6px; overflow: hidden; white-space: nowrap;
  border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.45);
  font-family: var(--font-mono); font-size: 0.58rem; line-height: 20px; color: rgba(0, 0, 0, 0.75);
  transition: filter 0.3s;
}
.c1 { background: #6f7cff; } .c2 { background: var(--accent); } .c3 { background: #ffd23f; } .c4 { background: #d7a36b; }
.clip.is-current { filter: brightness(1.25); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7); }
.clip--title { background: #b58cff; }
.clip--music { background: #2c5a47; color: rgba(255, 255, 255, 0.6); }
.wave { position: absolute; inset: 3px 4px; display: flex; align-items: center; gap: 2px; }
.wave i { flex: 1; min-width: 1px; border-radius: 1px; background: #3fbf8a; opacity: 0.8; }
.playhead { position: absolute; top: -2px; bottom: -2px; left: 0; width: 2px; background: var(--accent); pointer-events: none; transform: translateX(var(--x, 0)); }
.playhead span { position: absolute; top: 0; left: -5px; width: 12px; height: 12px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }

@media (max-width: 480px) {
  .editor__timeline { padding: 10px; }
  .tracks, .track-labels { grid-template-rows: 12px repeat(4, 18px); }
  .clip { line-height: 16px; font-size: 0.5rem; }
}

/* 6. Reel wall ------------------------------------------------------------ */
.reels {
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px) 0;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.reels__track { display: flex; gap: clamp(12px, 1.5vw, 20px); width: max-content; animation: marquee 60s linear infinite; }
.reels:hover .reels__track { animation-play-state: paused; }
.reel {
  flex: none; margin: 0;
  width: clamp(150px, 15vw, 220px); aspect-ratio: 9 / 16;
  border-radius: 16px; overflow: hidden;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.6s var(--ease-out);
}
.reel:nth-child(even) { transform: translateY(18px); }
.reel:hover { transform: translateY(-6px) scale(1.02); }
.reel video { display: block; width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee { to { transform: translateX(-50%); } }
/* 7. Services ------------------------------------------------------------- */
.services { display: grid; gap: 16px; }
@media (min-width: 760px) { .services { grid-template-columns: 1fr 1fr; } }

.svc {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  transition: box-shadow 0.4s, background-color 0.4s, transform 0.9s var(--ease-out), opacity 0.9s var(--ease-out);
}
.svc::after { /* spotlight follows pointer via --mx/--my set in JS */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 30, 30, 0.12), transparent 60%);
  transition: opacity 0.4s;
}
.svc:hover, .svc:focus-visible, .svc.is-live { box-shadow: inset 0 0 0 1px var(--line-2); background: var(--surface-2); }
.svc:hover::after { opacity: 1; }
.svc:focus-visible { outline-offset: -2px; }

.svc__visual { position: relative; height: clamp(180px, 22vw, 240px); border-bottom: 1px solid var(--line); overflow: hidden; background: radial-gradient(ellipse at 50% 120%, rgba(255, 255, 255, 0.04), transparent 70%); }
.svc__body { position: relative; padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; }
.svc__num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); }
.svc__title { font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.svc__body p { color: var(--muted); max-width: 44ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tags li { padding: 5px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 0.78rem; color: var(--muted); }

/* Phone frame — shared by services, process and anywhere a vertical edit is shown */
.phone {
  position: relative; flex: none;
  aspect-ratio: 9 / 16;
  border-radius: 18px; overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 30px 60px -20px rgba(0, 0, 0, 0.9);
}
.phone video { display: block; width: 100%; height: 100%; object-fit: cover; }

.svc__visual { height: clamp(260px, 28vw, 340px); }

/* Media visuals: two phones over a blurred still, straighten + play on hover */
.svc__visual--media { display: flex; align-items: center; justify-content: center; gap: 18px; }
.svc__visual--media::before {
  content: ""; position: absolute; inset: -20%;
  background: var(--bg) center / cover;
  filter: blur(40px) saturate(1.4) brightness(0.45);
  opacity: 0.7;
}
.svc__visual--media .phone { height: 82%; transition: transform 0.8s var(--ease-out); }
.phone--tilt-l { transform: rotate(-5deg) translateY(10px); }
.phone--tilt-r { transform: rotate(5deg) translateY(-6px); }
.svc:is(:hover, :focus-visible, .is-live) .phone--tilt-l { transform: rotate(-2deg) translateY(0) scale(1.03); }
.svc:is(:hover, :focus-visible, .is-live) .phone--tilt-r { transform: rotate(2deg) translateY(0) scale(1.03); }

/* Fan visuals: stacked stills that spread apart on hover */
.svc__visual--fan img {
  position: absolute; left: 50%; top: 50%;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 50px -16px rgba(0, 0, 0, 0.9);
  transition: transform 0.9s var(--ease-out);
  object-fit: cover;
}
.svc__visual--thumbs img { width: min(58%, 330px); aspect-ratio: 16 / 9; }
.svc__visual--posters img { height: 80%; aspect-ratio: 4 / 5; }
.svc__visual--fan img:nth-child(1) { transform: translate(-50%, -50%) translate(-14%, 4%) rotate(-7deg); }
.svc__visual--fan img:nth-child(2) { transform: translate(-50%, -50%) translate(14%, 4%) rotate(7deg); }
.svc__visual--fan img:nth-child(3) { transform: translate(-50%, -50%); }
.svc:is(:hover, :focus-visible, .is-live) .svc__visual--thumbs img:nth-child(1) { transform: translate(-50%, -50%) translate(-58%, 8%) rotate(-9deg) scale(0.9); }
.svc:is(:hover, :focus-visible, .is-live) .svc__visual--thumbs img:nth-child(2) { transform: translate(-50%, -50%) translate(58%, 8%) rotate(9deg) scale(0.9); }
.svc:is(:hover, :focus-visible, .is-live) .svc__visual--thumbs img:nth-child(3) { transform: translate(-50%, -50%) translateY(-6%) scale(1.06); }
.svc:is(:hover, :focus-visible, .is-live) .svc__visual--posters img:nth-child(1) { transform: translate(-50%, -50%) translate(-78%, 6%) rotate(-8deg) scale(0.92); }
.svc:is(:hover, :focus-visible, .is-live) .svc__visual--posters img:nth-child(2) { transform: translate(-50%, -50%) translate(78%, 6%) rotate(8deg) scale(0.92); }
.svc:is(:hover, :focus-visible, .is-live) .svc__visual--posters img:nth-child(3) { transform: translate(-50%, -50%) translateY(-4%) scale(1.04); }
/* 8. Work ---------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter {
  height: 40px; padding: 0 18px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 0.9rem; color: var(--muted);
  transition: color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.filter:hover { color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.filter.is-active { background: var(--text); color: #0a0a0a; box-shadow: none; }

.work-grid { columns: 2; column-gap: 12px; }
@media (min-width: 900px) { .work-grid { columns: 3; column-gap: 20px; } }
@media (min-width: 1280px) { .work-grid { columns: 4; } }
.work-card { break-inside: avoid; margin-bottom: 20px; }
@media (min-width: 900px) { .work-card { margin-bottom: 28px; } }
.work-card.is-filtered-in { animation: cardIn 0.6s var(--ease-out) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: none; } }
.work-empty { color: var(--muted); }

.work-card__open { display: block; width: 100%; text-align: left; border-radius: var(--radius); }
.work-card__open:focus-visible { outline-offset: 6px; }
.work-card__meta { display: grid; gap: 2px; padding: 14px 2px 0; }
.work-card__meta h3 { font-size: clamp(0.95rem, 1.3vw, 1.1rem); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; transition: color 0.3s; }
.work-card__meta span { font-size: 0.78rem; color: var(--dim); }
.work-card__open:hover .work-card__meta h3 { color: var(--accent); }

.art {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius);
  background: var(--surface);
  transform: translateZ(0);
}
.art > img, .art > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), opacity 0.4s; }
.art > video { opacity: 0; }
.art > video.is-playing { opacity: 1; }
.art::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); pointer-events: none; }
.art::before { /* soft bottom shade so the preview bar stays legible on light footage */
  content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: 1; pointer-events: none;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55)); opacity: 0; transition: opacity 0.4s;
}
.work-card__open:is(:hover, :focus-visible) .art::before { opacity: 1; }
.r-16x9 { aspect-ratio: 16 / 9; } .r-9x16 { aspect-ratio: 9 / 16; } .r-4x5 { aspect-ratio: 4 / 5; } .r-1x1 { aspect-ratio: 1; } .r-7x10 { aspect-ratio: 7 / 10; }
.work-card__open:is(:hover, :focus-visible) .art > :is(img, video) { transform: scale(1.04); }
.art__count {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
}

/* Hover "preview": scrubbing progress bar */
.preview { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.5s var(--ease-out); }
.preview__bar { position: relative; flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.preview__bar::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.preview__tc { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.08em; color: #fff; text-transform: uppercase; }
.work-card__open:is(:hover, :focus-visible) .preview { opacity: 1; transform: none; }
.work-card__open:is(:hover, :focus-visible) .preview__bar::after { animation: scrub 6s linear infinite; }
@keyframes scrub { to { transform: scaleX(1); } }

/* 9. Why / About ---------------------------------------------------------- */
.why { display: grid; gap: 48px; }
@media (min-width: 960px) {
  .why { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
  .why__head { position: sticky; top: calc(var(--nav-h) + 40px); }
}
.why__head .eyebrow { margin-bottom: 20px; }
.why__head .lead { margin-top: 28px; }
.why__list { border-top: 1px solid var(--line); }
.why__item {
  position: relative;
  display: grid; grid-template-columns: 56px 1fr; gap: 16px;
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
}
.why__item::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease-out); }
.why__item:hover::before { transform: scaleX(1); }
.why__n { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); padding-top: 0.5em; }
.why__item h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; transition: transform 0.5s var(--ease-out); }
.why__item p { margin-top: 10px; color: var(--muted); max-width: 48ch; }
.why__item:hover h3 { transform: translateX(8px); }

/* 10. Process ------------------------------------------------------------- */
.section--process { background: var(--bg-2); border-block: 1px solid var(--line); }
.process { position: relative; }
.process__line { display: none; }
.process__steps { display: grid; gap: 16px; }
@media (min-width: 720px) { .process__steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) {
  .process__steps { grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 48px; }
  .process__line { display: block; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
  .process__line span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
  .step::before { content: ""; position: absolute; top: -54px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color 0.4s, box-shadow 0.4s; }
  .step.is-reached::before { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
}
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.step__n { display: block; margin-bottom: 40px; font-size: clamp(3rem, 5vw, 4.25rem); font-weight: 600; letter-spacing: -0.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: color 0.5s, -webkit-text-stroke-color 0.5s; }
.step:hover .step__n, .step.is-reached .step__n { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }

/* 11. Results ------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 960px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: clamp(180px, 20vw, 260px); padding: clamp(20px, 2.5vw, 32px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat__value { font-size: clamp(3rem, 7vw, 6rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--muted); font-size: 0.925rem; max-width: 24ch; }
.stat--accent .stat__value { color: var(--accent); }

/* 12. CTA + form ---------------------------------------------------------- */
.cta { position: relative; overflow: hidden; padding: clamp(112px, 15vw, 200px) 0 clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); }
.cta__glow { position: absolute; left: 50%; top: 0; width: min(1200px, 140vw); aspect-ratio: 2; transform: translate(-50%, -55%); background: radial-gradient(closest-side, rgba(255, 30, 30, 0.3), transparent); pointer-events: none; }
.cta__title { position: relative; margin: 28px 0 clamp(56px, 7vw, 96px); font-size: clamp(3rem, 9.5vw, 9.5rem); font-weight: 600; line-height: 0.9; letter-spacing: -0.06em; text-wrap: balance; }
.cta__grid { position: relative; display: grid; gap: 48px; }
@media (min-width: 960px) { .cta__grid { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; } }
.cta__aside { display: grid; gap: 32px; justify-items: start; }
.discord-group { display: grid; gap: 10px; width: 100%; max-width: 420px; }
.discord {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  padding: 14px 14px 14px 16px;
  border-radius: 16px;
  background: rgba(88, 101, 242, 0.1);
  box-shadow: inset 0 0 0 1px rgba(88, 101, 242, 0.35);
}
.discord__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: #5865f2; }
.discord__icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.discord__icon circle { fill: #fff; stroke: none; }
.discord__icon .discord__stroke { fill: none; stroke: #fff; }
.discord--founder { background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); }
.discord--founder .discord__icon { background: var(--surface-2, #1c1c1f); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.discord__note { font-size: 0.75rem; line-height: 1.45; color: var(--muted); padding: 0 4px; }
.discord__text { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.discord__text small { font-size: 0.78rem; color: var(--muted); }
.discord__text strong { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; }
.discord__user { margin-top: 2px; }
.discord__user b { color: var(--text); font-weight: 600; }
.discord__copy-user {
  margin-left: 4px; padding: 1px 8px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(88, 101, 242, 0.5);
  font-size: 0.72rem; color: #c9cdfb;
  transition: background-color 0.2s, color 0.2s;
}
.discord__copy-user:hover { background: rgba(88, 101, 242, 0.25); color: #fff; }
.discord__join {
  display: inline-grid; place-items: center;
  flex: none; height: 40px; padding: 0 20px; border-radius: 999px;
  background: #5865f2; color: #fff; font-size: 0.9rem; font-weight: 600;
  transition: background-color 0.25s, transform 0.3s var(--ease-out);
}
.discord__join:hover { background: #4752c4; transform: translateY(-1px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.form { display: grid; gap: 20px; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: 0.8rem; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px;
  border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--text); font: inherit; font-size: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field [aria-invalid="true"] { border-color: #ff6b6b; }
.field--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field--chips legend { width: 100%; margin-bottom: 8px; }
.field .chip { position: relative; cursor: pointer; font-family: var(--font-sans); font-size: 1rem; letter-spacing: 0; text-transform: none; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 0.9rem; color: var(--muted); transition: all 0.25s; }
.chip:hover span { color: var(--text); }
.chip input:checked + span { background: var(--accent); color: #0a0a0a; box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.form .btn { justify-self: start; }
.form__captcha { min-height: 65px; }
.form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn:disabled { opacity: 0.6; cursor: progress; }
.form__status { min-height: 1.5em; font-size: 0.925rem; color: var(--muted); }
.form__status.is-error { color: #ff8a8a; }
.form__status.is-ok { color: #8fe3b5; }
.form__status.is-info { color: var(--accent-2); }

/* 13. Footer -------------------------------------------------------------- */
.footer { padding: clamp(64px, 8vw, 96px) 0 32px; border-top: 1px solid var(--line); background: #060607; overflow: hidden; }
.footer__top { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; display: grid; gap: 16px; }
.footer__brand p { color: var(--muted); max-width: 36ch; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 2fr 1fr 1fr; } .footer__brand { grid-column: auto; } }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h3 { margin-bottom: 6px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.footer__col :is(a, .footer__link) { color: var(--muted); transition: color 0.2s; justify-self: start; text-align: left; font-size: 1rem; }
.footer__col :is(a, .footer__link):hover { color: var(--text); }
.footer__word { margin: clamp(56px, 8vw, 96px) 0 24px; font-size: clamp(3rem, 13.5vw, 13rem); font-weight: 600; letter-spacing: -0.065em; line-height: 0.85; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(243, 240, 234, 0.18); }
.footer__word .x { -webkit-text-stroke-color: var(--accent); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--dim); }

/* 14. Modal / toast ------------------------------------------------------- */
.modal {
  width: min(100% - 32px, 1040px); max-height: calc(100svh - 32px);
  padding: 0; border: 0; border-radius: 24px;
  background: var(--surface); color: var(--text);
  box-shadow: 0 0 0 1px var(--line-2), 0 40px 120px rgba(0, 0, 0, 0.8);
  overflow: auto;
}
.modal::backdrop { background: rgba(5, 5, 6, 0.75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal[open] { animation: modalIn 0.6s var(--ease-out); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.modal__inner { position: relative; display: grid; }
@media (min-width: 860px) { .modal__inner { grid-template-columns: 1.3fr 1fr; } }
.modal__media { padding: 12px; display: grid; place-items: center; background: #0c0c0d; min-height: 200px; }
.modal__frame { width: 100%; border: 0; border-radius: 12px; background: #000; display: block; }
.modal__frame.r-16x9 { aspect-ratio: 16 / 9; }
.modal__frame.r-9x16 { aspect-ratio: 9 / 16; width: auto; height: min(78svh, 680px); max-width: 100%; }
.modal__gallery { display: grid; gap: 10px; width: 100%; max-height: 78svh; overflow: auto; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.modal__gallery img { width: 100%; height: auto; border-radius: 10px; display: block; }
.modal__gallery--single { grid-template-columns: 1fr; }
.modal__body { display: grid; gap: 18px; align-content: start; padding: clamp(24px, 3vw, 40px); }
.modal__body h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.modal__body p { color: var(--muted); }
.modal__body dl { display: grid; gap: 0; margin: 8px 0 0; border-top: 1px solid var(--line); }
.modal__body dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.925rem; }
.modal__body dt { color: var(--dim); }
.modal__body dd { margin: 0; text-align: right; }
.modal__body .btn { justify-self: start; margin-top: 8px; }
.modal__close {
  position: absolute; right: 16px; top: 16px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.6); box-shadow: inset 0 0 0 1px var(--line-2);
  transition: transform 0.4s var(--ease-out), background-color 0.3s;
}
.modal__close:hover { transform: rotate(90deg); background: var(--accent); }
.modal__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  max-width: calc(100% - 32px);
  padding: 12px 18px; border-radius: 999px;
  background: var(--text); color: #0a0a0a; font-size: 0.9rem; font-weight: 500;
  transform: translate(-50%, 150%); opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.3s;
  pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* Behind-the-scenes block (process) */
.bts {
  display: grid; gap: 40px; align-items: center;
  margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(24px, 4vw, 56px);
  border-radius: 24px;
  background: radial-gradient(ellipse at 90% 50%, rgba(255, 30, 30, 0.14), transparent 60%), var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
@media (min-width: 860px) { .bts { grid-template-columns: 1.2fr auto; gap: 64px; } }
.bts__copy { display: grid; gap: 18px; }
.bts__title { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.phone--lg { width: min(260px, 70vw); justify-self: center; }

/* CTA background loop */
.cta__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
  opacity: 0.22; filter: grayscale(0.4) blur(2px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 60%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 60%, transparent);
}

/* 15. Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .reels__track { animation: none; }
  .grain { animation: none; }
}
