/* ============================================================
   GRAFTON MEDIA
   ------------------------------------------------------------
   Type   : Space Grotesk (display) + Inter (body). Sans only.
   Theme  : near-black, off-white, one warm accent
   Change the six values in :root to rebrand the whole site.
   ============================================================ */

:root {
  /* --- BRAND (change these) --- */
  --accent:      #FF5C1A;
  --accent-soft: #FF8A4C;
  --accent-ink:  #0A0603;

  /* --- Surfaces --- */
  --bg:      #08080A;
  --bg-2:    #0D0D10;
  --surface: #121216;
  --line:    #22222A;
  --line-2:  #2E2E38;

  /* --- Text --- */
  --ink:      #F2F2F0;
  --ink-mid:  #9A9AA4;
  --ink-dim:  #62626E;

  /* --- Type --- */
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono-n:  'Space Grotesk', 'Inter', sans-serif;

  /* --- Layout --- */
  --wrap: 1320px;
  --pad: clamp(20px, 4.5vw, 64px);
  --r: 4px;
  --ease: cubic-bezier(.16,1,.3,1);
  --ease-io: cubic-bezier(.65,0,.35,1);
}

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

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg, video, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }   /* author display rules must never resurrect hidden elements */
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; }

em.hl, .hl {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: var(--accent);
}

::selection { background: var(--accent); color: var(--accent-ink); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: var(--accent-ink);
  padding: 14px 22px; font-weight: 600;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding: clamp(80px, 11vw, 170px) 0; position: relative; }

/* ---------- Section headers ---------- */
.sec-head { max-width: 900px; margin-bottom: clamp(48px, 7vw, 86px); }
.sec-label {
  display: flex; align-items: center; gap: 12px;
  font-size: .74rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-mid); margin-bottom: 26px;
}
.sec-label i { width: 28px; height: 1px; background: var(--accent); display: block; flex: none; }
.sec-title { font-size: clamp(2.2rem, 6vw, 4.6rem); font-weight: 700; margin-bottom: 22px; }
.sec-sub { color: var(--ink-mid); font-size: clamp(1rem, 1.4vw, 1.13rem); max-width: 580px; line-height: 1.65; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 12px; padding: 17px 32px; border-radius: 100px;
  font-size: .93rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  border: 1px solid transparent; overflow: hidden; cursor: pointer;
  transform: none;
  transition: background-color .38s var(--ease), color .38s var(--ease),
    border-color .38s var(--ease), box-shadow .45s var(--ease);
}
.btn > span, .btn > i { position: relative; z-index: 2; }
.btn::before {
  content: none;
}

.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(255,90,31,.28),
    0 0 22px rgba(255,90,31,.34),
    0 10px 34px rgba(255,90,31,.18),
    inset 0 1px 0 rgba(255,255,255,.32);
}

.btn-line { border-color: var(--line-2); color: var(--ink); }
.btn-line:hover {
  background: rgba(255,90,31,.12); color: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255,90,31,.12),
    0 0 24px rgba(255,90,31,.24),
    inset 0 0 18px rgba(255,90,31,.08);
}

.btn .cta-arrow { transition: filter .38s var(--ease); }
.btn:hover .cta-arrow { filter: drop-shadow(0 0 5px currentColor); }

.btn-full { display: flex; width: 100%; }

.cta-arrow { width: 15px; height: 9px; position: relative; display: block; }
.cta-arrow::before, .cta-arrow::after {
  content: ''; position: absolute; background: currentColor; border-radius: 2px;
}
.cta-arrow::before { left: 0; top: 4px; height: 1.5px; width: 100%; }
.cta-arrow::after { right: 0; top: 1px; width: 7px; height: 1.5px; transform-origin: right; transform: rotate(45deg); box-shadow: 0 5.5px 0 currentColor; }
.cta-arrow::after { transform: rotate(45deg); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 1rem; padding-bottom: 6px;
  border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s, gap .3s var(--ease);
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); gap: 20px; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--bg);
  display: grid; place-content: center; gap: 30px;
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.pre-inner { display: flex; align-items: baseline; gap: 18px; justify-content: center; }
.pre-mark { font-family: var(--display); font-size: clamp(1.6rem, 5vw, 2.6rem); font-weight: 700; letter-spacing: -.04em; }
.pre-count { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 4vw, 2.2rem); color: var(--accent); font-variant-numeric: tabular-nums; }
.pre-count::after { content: '%'; font-size: .55em; }
.pre-bar { width: min(260px, 60vw); height: 1px; background: var(--line); margin-inline: auto; overflow: hidden; }
.pre-bar i { display: block; height: 100%; width: 0%; background: var(--accent); transition: width .2s linear; }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9000; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%); opacity: 0;
}
.cursor-dot { width: 6px; height: 6px; background: var(--accent); transition: opacity .3s, transform .2s var(--ease); }
.cursor-ring {
  width: 38px; height: 38px; border: 1px solid var(--line-2);
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), opacity .3s, background .4s, border-color .4s;
}
.cursor-ring span {
  font-size: .62rem; font-weight: 700; letter-spacing: .1em;
  color: var(--accent-ink); opacity: 0; transition: opacity .3s;
}
body.cursor-on .cursor-dot, body.cursor-on .cursor-ring { opacity: 1; }
body.cursor-hide .cursor-ring { opacity: 0; }
body.cursor-hide .cursor-dot { transform: translate(-50%,-50%) scale(2.4); }
body.cursor-view .cursor-ring {
  width: 84px; height: 84px; background: var(--accent); border-color: var(--accent);
}
body.cursor-view .cursor-ring span { opacity: 1; }
body.cursor-view .cursor-dot { opacity: 0; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--accent); z-index: 200; transition: width .1s linear;
}

/* clean arrow definition (overrides the shorthand above) */
.cta-arrow { width: 16px; height: 10px; position: relative; display: block; flex: none; }
.cta-arrow::before {
  content: ''; position: absolute; left: 0; top: 4.5px;
  height: 1.5px; width: 100%; background: currentColor;
}
.cta-arrow::after {
  content: ''; position: absolute; right: 0; top: 1.5px;
  width: 7px; height: 7px; border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor; transform: rotate(45deg); box-shadow: none;
}
.link-arrow:hover .cta-arrow { animation: arrowNudge .5s var(--ease); }
@keyframes arrowNudge {
  50% { transform: translateX(5px); opacity: .4; }
  51% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  transition: transform .5s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(8,8,10,.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  max-width: var(--wrap); margin-inline: auto; padding: 20px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { display: block; width: clamp(142px, 16vw, 196px); height: auto; object-fit: contain; }
.footer-logo { display: block; width: 220px; max-width: 100%; height: auto; margin-bottom: 22px; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  font-weight: 800; font-size: .95rem; letter-spacing: -.03em;
  transition: transform .5s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(360deg); }
.brand-text { font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.04em; }
.brand-text em { font-style: normal; font-size: .5em; vertical-align: super; color: var(--ink-mid); }

.nav-desktop { display: flex; gap: 6px; }
.nav-link {
  position: relative; padding: 9px 16px; border-radius: 100px;
  font-size: .9rem; font-weight: 500; color: var(--ink-mid);
  overflow: hidden; transition: color .35s var(--ease);
}
.nav-link::before {
  content: ''; position: absolute; inset: 0; background: var(--surface);
  border-radius: inherit; transform: scale(.7); opacity: 0;
  transition: transform .4s var(--ease), opacity .3s;
}
.nav-link span { position: relative; z-index: 2; }
.nav-link:hover { color: var(--ink); }
.nav-link:hover::before { transform: scale(1); opacity: 1; }
.nav-link.is-current { color: var(--ink); }
.nav-link.is-current::before { transform: scale(1); opacity: 1; }

.header-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 100px;
  background: var(--ink); color: var(--bg);
  font-size: .87rem; font-weight: 600;
  transform: none;
  transition: background-color .38s var(--ease), color .38s var(--ease),
    box-shadow .45s var(--ease);
}
.header-cta:hover {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(255,90,31,.25),
    0 0 22px rgba(255,90,31,.34),
    0 9px 30px rgba(255,90,31,.16),
    inset 0 1px 0 rgba(255,255,255,.3);
}

.menu-btn { display: none; width: 44px; height: 44px; position: relative; }
.menu-btn span {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform .4s var(--ease), opacity .3s;
}
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Fullscreen menu ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 140; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px var(--pad) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease);
}
.menu-overlay[hidden] { display: none; }
.menu-overlay.is-open { clip-path: inset(0 0 0 0); }

.menu-links { display: flex; flex-direction: column; gap: 4px; }
.menu-links a {
  display: flex; align-items: baseline; gap: 18px;
  font-size: clamp(2.2rem, 9vw, 5rem); font-weight: 700; letter-spacing: -.045em;
  padding: 8px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.menu-overlay.is-open .menu-links a { opacity: 1; transform: none; }
.menu-links a:nth-child(1) { transition-delay: .1s; }
.menu-links a:nth-child(2) { transition-delay: .16s; }
.menu-links a:nth-child(3) { transition-delay: .22s; }
.menu-links a:nth-child(4) { transition-delay: .28s; }
.menu-links a:nth-child(5) { transition-delay: .34s; }
.menu-links a:hover { color: var(--accent); }
.menu-links em {
  font-family: var(--display); font-style: normal; font-size: .28em;
  color: var(--ink-dim); flex: none;
}

.menu-foot {
  display: flex; flex-wrap: wrap; gap: 34px; margin-top: 56px;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.mf-label {
  display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 6px;
}
.menu-foot a { font-size: .96rem; font-weight: 500; transition: color .3s; }
.menu-foot a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 140px 0 56px; overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(125% 95% at 50% 2%, transparent 26%, rgba(8,8,10,.45) 72%, var(--bg) 100%),
    linear-gradient(to top, var(--bg) 24%, rgba(8,8,10,.82) 44%, rgba(8,8,10,.28) 60%, transparent 76%);
}
.hero-content { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.hero-eyebrow {
  font-size: .76rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-mid); margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(1.85rem, 4.05vw, 3.6rem);
  font-weight: 700; letter-spacing: -.042em; line-height: .95;
  margin-bottom: clamp(38px, 6vw, 70px);
}


.anim-line { display: block; overflow: hidden; }
.anim-line > span { display: block; transform: translateY(105%); transition: transform 1.05s var(--ease); }
.is-ready .anim-line > span { transform: translateY(0); }
.is-ready .hero-title .anim-line:nth-child(1) > span { transition-delay: .12s; }
.is-ready .hero-title .anim-line:nth-child(2) > span { transition-delay: .22s; }
.is-ready .hero-bottom .anim-line > span { transition-delay: .42s; }
.hero-eyebrow.anim-line > span { transition-delay: .05s; }

.hero-bottom {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 34px; padding-top: 34px; border-top: 1px solid var(--line);
}
.hero-sub { color: var(--ink-mid); font-size: clamp(.98rem, 1.35vw, 1.1rem); max-width: 430px; line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.scroll-cue {
  position: absolute; top: 42%; right: var(--pad); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-dim);
}
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--ink-dim), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after {
  content: ''; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--accent); animation: cueRun 1.9s var(--ease-io) infinite;
}
@keyframes cueRun { 0% { top: -50%; } 100% { top: 100%; } }

@media (min-width: 900px) {
  .hero-title .anim-line > span { white-space: nowrap; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line); padding: 22px 0;
  overflow: hidden; background: var(--bg-2);
}
.marquee-track {
  display: flex; align-items: center; gap: 30px; width: max-content;
  animation: marq 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--display); font-size: clamp(1.1rem, 2.4vw, 1.7rem); font-weight: 600;
  letter-spacing: -.035em; white-space: nowrap; color: var(--ink);
}
.marquee-track i { color: var(--accent); font-size: 1rem; font-style: normal; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Manifesto ---------- */
.manifesto { background: var(--bg); }
.manifesto-text {
  font-family: var(--display);
  font-size: clamp(1.45rem, 4.2vw, 3.2rem); font-weight: 500;
  letter-spacing: -.03em; line-height: 1.18; max-width: 32ch;
}
.word-line { display: block; overflow: hidden; }
.word-line > * { display: inline-block; }
.manifesto-text .word-line {
  opacity: .16; transition: opacity .8s var(--ease);
}
.manifesto-text .word-line.lit { opacity: 1; }

.manifesto-foot { margin-top: 52px; }

/* ---------- Services ---------- */
.services { background: var(--bg-2); border-block: 1px solid var(--line); }
.services-title span { display: block; white-space: nowrap; }
.services-title { font-size: clamp(1.35rem, 6vw, 4.6rem); }
.svc-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px; margin-top: clamp(34px, 5vw, 64px);
}
.svc-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  grid-column: span 2; min-height: 390px; padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  transition: border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.svc-card--wide { grid-column: span 3; min-height: 420px; }
.svc-card::before {
  content: ''; position: absolute; width: 250px; height: 250px; right: -110px; top: -120px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,91,0,.34), transparent 68%);
  opacity: 0; transform: scale(.65); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.svc-card::after {
  content: ''; position: absolute; inset: auto 0 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), #ffb000);
  transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease);
}
.svc-card:hover { border-color: rgba(255,105,20,.48); box-shadow: 0 24px 70px rgba(0,0,0,.34); }
.svc-card:hover::before { opacity: 1; transform: scale(1); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-top, .svc-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.svc-top { margin-bottom: auto; }
.svc-bottom { margin-top: clamp(28px, 4vw, 52px); align-items: flex-end; }

.svc-num {
  font-family: var(--display); font-size: .95rem; font-weight: 500;
  letter-spacing: .04em; color: var(--ink-dim); transition: color .35s;
  font-variant-numeric: tabular-nums;
}
.svc-card:hover .svc-num { color: var(--accent); }
.svc-kicker {
  padding: 7px 11px; border: 1px solid var(--line); border-radius: 100px;
  color: var(--ink-mid); font-size: .66rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; transition: color .35s, border-color .35s;
}
.svc-card:hover .svc-kicker { color: var(--ink); border-color: rgba(255,105,20,.46); }

.svc-name {
  position: relative; z-index: 1; margin-top: clamp(48px, 7vw, 92px);
  font-size: clamp(1.55rem, 3vw, 2.65rem); font-weight: 600; line-height: 1.02;
  letter-spacing: -.048em; transition: transform .5s var(--ease);
}
.svc-card:not(.svc-card--wide) .svc-name { font-size: clamp(1.45rem, 2.25vw, 2rem); }
.svc-card:hover .svc-name { transform: translateY(-6px); }

.svc-desc { position: relative; z-index: 1; margin-top: 18px; color: var(--ink-mid); font-size: .92rem; line-height: 1.65; max-width: 52ch; }
.svc-tags {
  max-width: 85%; font-size: .66rem; line-height: 1.6; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-dim);
}
.svc-arrow {
  display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-size: 1rem;
  transition: color .35s, background .35s, border-color .35s, transform .5s var(--ease);
}
.svc-card:hover .svc-arrow { color: #080808; background: var(--accent); border-color: var(--accent); transform: rotate(45deg); }

/* ---------- Work ---------- */
.work { background: var(--bg); overflow: hidden; }
.work-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.filter {
  padding: 10px 20px; border-radius: 100px; border: 1px solid var(--line);
  font-size: .84rem; font-weight: 500; color: var(--ink-mid);
  transition: color .3s, border-color .3s, background .3s;
}
.filter:hover { color: var(--ink); border-color: var(--line-2); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.reel-rail {
  margin-top: clamp(34px, 5vw, 58px);
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab; scroll-snap-type: x proximity;
}
.reel-rail::-webkit-scrollbar { display: none; }
.reel-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.rail-track {
  display: flex; gap: 16px; width: max-content;
  padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
}

.reel {
  position: relative; flex: none;
  width: clamp(210px, 23vw, 310px); aspect-ratio: 9 / 16;
  border-radius: 10px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); scroll-snap-align: center;
  transition: opacity .5s var(--ease), transform .6s var(--ease),
              border-color .4s, width .5s var(--ease), margin .5s var(--ease);
}
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.reel::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 62%; pointer-events: none;
  background: linear-gradient(to top, rgba(4,4,6,.94) 4%, rgba(4,4,6,.4) 45%, transparent);
}
.reel:hover img { transform: scale(1.07); filter: brightness(.72) saturate(1.1); }
.reel:hover { border-color: var(--line-2); }

.reel.is-hidden { width: 0; opacity: 0; margin-right: -16px; pointer-events: none; border-width: 0; }

.reel-num {
  position: absolute; top: 14px; left: 16px; z-index: 3;
  font-family: var(--display); font-weight: 500; font-size: .82rem;
  letter-spacing: .06em; color: var(--ink); opacity: .7;
  font-variant-numeric: tabular-nums;
}
.reel-tag {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: rgba(10,10,12,.62); backdrop-filter: blur(6px);
  border: 1px solid var(--line-2); border-radius: 100px; padding: 4px 9px;
}
.reel-info {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3;
  text-align: left; transform: translateY(6px);
  transition: transform .5s var(--ease);
}
.reel:hover .reel-info { transform: translateY(0); }
.reel-info strong {
  display: block; font-size: 1rem; font-weight: 600; letter-spacing: -.03em; margin-bottom: 3px;
}
.reel-info em {
  font-style: normal; font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-mid);
}

.rail-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-top: 30px;
}
.rail-hint { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); }
.rail-btns { display: flex; gap: 8px; }
.rail-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2);
  color: var(--ink); font-size: 1rem;
  transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease);
}
.rail-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.rail-btn:active { transform: scale(.92); }
.rail-btn:disabled { opacity: .3; pointer-events: none; }

/* ---------- Stats ---------- */
.stats-sec { padding-block: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat strong {
  display: block; font-family: var(--display); font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700;
  letter-spacing: -.055em; line-height: 1; margin-bottom: 10px;
}
.stat strong::after { content: attr(data-suffix); color: var(--accent); }
.stat span { font-size: .87rem; color: var(--ink-mid); }

/* ---------- Video testimonials ---------- */
.quotes-sec { background: var(--bg); }

.vtests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.vtest {
  position: relative; display: block; padding: 0; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: 12px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .4s, transform .55s var(--ease);
}
.vtest:hover { border-color: var(--accent); transform: translateY(-6px); }
.vtest img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.vtest:hover img { transform: scale(1.06); filter: brightness(.62); }
.vtest::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 68%; pointer-events: none;
  background: linear-gradient(to top, rgba(4,4,6,.96) 6%, rgba(4,4,6,.5) 48%, transparent);
}

.vtest-play {
  position: absolute; top: 44%; left: 50%; z-index: 3;
  transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.32);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  transition: background .35s, border-color .35s, transform .45s var(--ease);
}
.vtest-play::before {
  content: ''; border-style: solid; border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff; margin-left: 4px;
}
.vtest:hover .vtest-play { background: var(--accent); border-color: var(--accent); transform: translate(-50%,-50%) scale(1.12); }
.vtest:hover .vtest-play::before { border-left-color: var(--accent-ink); }

.vtest-tag {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: rgba(10,10,12,.62); backdrop-filter: blur(6px);
  border: 1px solid var(--line-2); border-radius: 100px; padding: 5px 11px;
}
.vtest-tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: recBlink 1.6s ease-in-out infinite;
}
@keyframes recBlink { 50% { opacity: .25; } }

.vtest-info {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 3;
  display: block; text-align: left;
}
.vtest-quote {
  display: block; font-size: .92rem; line-height: 1.5; color: var(--ink);
  margin-bottom: 14px; letter-spacing: -.012em;
}
.vtest-info strong {
  display: block; font-family: var(--display); font-size: .96rem; font-weight: 600;
  letter-spacing: -.03em;
}
.vtest-info em {
  font-style: normal; font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-mid);
}

/* ---------- Pricing ---------- */
.pricing { background: var(--bg-2); border-block: 1px solid var(--line); }
.billing {
  display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 30px; padding: 4px;
  border: 1px solid var(--line); border-radius: 100px; background: var(--bg);
}
.bill-opt {
  padding: 9px 20px; border-radius: 100px; font-size: .85rem; font-weight: 600;
  color: var(--ink-mid); transition: background .35s var(--ease), color .35s;
}
.bill-opt em { font-style: normal; font-size: .8em; opacity: .7; margin-left: 4px; }
.bill-opt.is-active { background: var(--ink); color: var(--bg); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: clamp(28px, 3vw, 38px);
  transition: border-color .45s, transform .5s var(--ease);
}
.plan:hover { border-color: var(--line-2); transform: translateY(-5px); }
.plan.is-featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(255,92,26,.07), var(--bg) 42%); }
.plan-tag {
  position: absolute; top: -11px; left: clamp(28px, 3vw, 38px);
  background: var(--accent); color: var(--accent-ink);
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
}
.plan-top h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.035em; margin-bottom: 8px; }
.plan-top p { color: var(--ink-dim); font-size: .87rem; line-height: 1.55; min-height: 2.9em; }

.plan-price { display: flex; align-items: baseline; gap: 2px; margin: 26px 0 4px; }
.plan-price .cur { font-size: 1.3rem; font-weight: 500; color: var(--ink-mid); }
.plan-price .amt {
  font-family: var(--display); font-size: clamp(2.2rem, 4.4vw, 2.9rem); font-weight: 700; letter-spacing: -.045em;
  transition: opacity .2s;
}
.plan-price.swap .amt { opacity: 0; }
.plan-price .per { font-size: .88rem; color: var(--ink-dim); margin-left: 7px; }

.plan-feats {
  display: grid; gap: 13px; margin: 26px 0 30px;
  padding-top: 24px; border-top: 1px solid var(--line); flex: 1;
}
.plan-feats li { position: relative; padding-left: 26px; font-size: .9rem; color: var(--ink-mid); }
.plan-feats li::before {
  content: ''; position: absolute; left: 0; top: .34em;
  width: 13px; height: 7px; border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg);
}
.plan-feats li strong { color: var(--ink); font-weight: 600; }
.plan-feats li.off { opacity: .45; }
.plan-feats li.off::before { border: 0; width: 10px; height: 1.5px; background: var(--ink-dim); transform: none; top: .68em; }

.plans-note { text-align: center; font-size: .82rem; color: var(--ink-dim); margin-top: 26px; }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-title {
  font-size: clamp(2.2rem, 5.6vw, 4.3rem); font-weight: 700;
  letter-spacing: -.05em; line-height: .98; margin-bottom: 24px;
}


.contact-links { margin-top: 44px; border-top: 1px solid var(--line); }
.contact-links li {
  display: flex; align-items: baseline; gap: 20px;
  padding: 17px 0; border-bottom: 1px solid var(--line);
}
.cl-label {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-dim); width: 92px; flex: none;
}
.contact-links a, .contact-links li > span:last-child { font-size: 1rem; font-weight: 500; transition: color .3s; }
.contact-links a:hover { color: var(--accent); }

.contact-form { display: grid; gap: 18px; }
.f { display: grid; gap: 8px; align-content: start; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); }
.f input, .f select, .f textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 12px 0; font-size: 1rem; border-radius: 0;
  transition: border-color .35s;
}
.f textarea { resize: vertical; min-height: 96px; }
.f input::placeholder, .f textarea::placeholder { color: var(--ink-dim); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-bottom-color: var(--accent); }
.f select {
  appearance: none; cursor: pointer; color: var(--ink);
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-mid) 50%), linear-gradient(135deg, var(--ink-mid) 50%, transparent 50%);
  background-position: right 8px center, right 2px center;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.f select option { background: var(--surface); color: var(--ink); }
.f.bad input, .f.bad textarea { border-bottom-color: var(--accent); }
.err { font-size: .78rem; color: var(--accent); min-height: 1em; }
.form-status { font-size: .88rem; text-align: center; min-height: 1.2em; color: var(--ink-mid); }
.form-status.ok { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 90px); overflow: hidden; }
.foot-big {
  font-family: var(--display); font-size: clamp(3.4rem, 17vw, 15rem); font-weight: 700; letter-spacing: -.05em;
  line-height: .8; color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
  margin-bottom: clamp(40px, 5vw, 70px); user-select: none;
}
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.foot-about p { color: var(--ink-mid); font-size: .92rem; max-width: 330px; line-height: 1.62; }
.foot-col { display: flex; flex-direction: column; gap: 11px; }
.foot-col h4 { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 6px; font-weight: 600; }
.foot-col a { font-size: .92rem; color: var(--ink-mid); transition: color .3s, transform .3s var(--ease); width: fit-content; }
.foot-col a:hover { color: var(--accent); transform: translateX(4px); }

.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  padding-block: 24px; border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--ink-dim);
}
.to-top { font-size: .84rem; color: var(--ink-mid); transition: color .3s; }
.to-top:hover { color: var(--accent); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #06301A;
  transition: transform .4s var(--ease);
}
.wa-float:hover { transform: scale(1.1) rotate(6deg); }
.wa-float svg { width: 27px; height: 27px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: rgba(4,4,6,.96); backdrop-filter: blur(12px); padding: 26px;
  opacity: 0; transition: opacity .35s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lb-stage { display: grid; gap: 16px; justify-items: center; max-height: 100%; }
.lb-stage video {
  max-height: 78vh; max-width: min(100%, 420px);
  border-radius: 10px; background: #000; border: 1px solid var(--line);
}
.lb-cap { text-align: center; }
.lb-cap strong { display: block; font-size: 1rem; font-weight: 600; }
.lb-cap span { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mid); }
.lb-close {
  position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--ink); font-size: 1.6rem; line-height: 1;
  transition: background .3s, transform .4s var(--ease);
}
.lb-close:hover { background: var(--surface); transform: rotate(90deg); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-card, .svc-card--wide { grid-column: span 1; min-height: 390px; }
  .svc-card:last-child { grid-column: 1 / -1; min-height: 340px; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .vtests { grid-template-columns: repeat(2, 1fr); }
  .nav-desktop, .header-cta { display: none; }
  .menu-btn { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
  .cursor-dot, .cursor-ring { display: none; }
}

@media (max-width: 900px) {
  .scroll-cue { display: none; }
}

@media (max-width: 620px) {
  .svc-grid { grid-template-columns: 1fr; gap: 10px; }
  .svc-card, .svc-card--wide, .svc-card:last-child { grid-column: 1; min-height: 350px; }
  .svc-name, .svc-card:not(.svc-card--wide) .svc-name { font-size: clamp(1.55rem, 8vw, 2.1rem); }
  .vtests { grid-template-columns: 1fr; }
  .hero { min-height: 92svh; padding-top: 120px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 26px; }
  .hero-actions { width: 100%; flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .scroll-cue { display: none; }
  .f-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stats { gap: 24px; }
  .rail-controls { flex-direction: column; align-items: flex-start; }
  .contact-links li { flex-direction: column; gap: 4px; }
  .cl-label { width: auto; }
  .plan-top p { min-height: 0; }
  .menu-foot { gap: 22px; }
}

/* ============================================================
   MOTION / PRINT
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .anim-line > span { transform: none; }
  .manifesto-text .word-line { opacity: 1; }
  .marquee-track { animation: none; }
  .cursor-dot, .cursor-ring { display: none; }
}

@media print {
  .site-header, .wa-float, .lightbox, .preloader, .cursor-dot, .cursor-ring,
  .scroll-progress, .hero-canvas, .scroll-cue, .menu-overlay, .marquee { display: none !important; }
  body { background: #fff; color: #000; }
  .plan, .vtest { border-color: #ccc; break-inside: avoid; }
  .foot-big { display: none; }
}

/* ============================================================
   TYPING LINE + 3D TILT
   ============================================================ */
.hero-type {
  font-family: var(--display);
  font-size: clamp(1rem, 2.1vw, 1.45rem);
  font-weight: 500; letter-spacing: -.025em;
  color: var(--ink-mid);
  margin: -14px 0 clamp(30px, 4vw, 46px);
}
.type-word { color: var(--accent); font-weight: 600; }
.type-caret {
  display: inline-block; width: 2px; height: 1em; vertical-align: -.13em;
  background: var(--accent); margin-left: 3px;
  animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }

/* Tilt: the card leans toward the pointer in real 3D space. */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}
[data-tilt] > * { transform: translateZ(0.01px); }
.tilt-wrap { perspective: 1000px; }

/* the tilt transform replaces the hover lift, so neutralise the old one */
.plan[data-tilt]:hover { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .type-caret { animation: none; }
  [data-tilt] { transform: none !important; }
}
