/* =========================================================
   AdMotion v2 — premium editorial design
   Change the colors here to restyle everything.
   ========================================================= */
:root {
  --bg: #0c0c0c;
  --bg-2: #151515;
  --ink: #f0ece4;
  --muted: #8f8b83;
  --line: rgba(240, 236, 228, .14);
  --accent: #3d5afe;
  --accent-rgb: 61, 90, 254;
  --accent-ink: #ffffff;
  --blend-accent: #4966ff; /* shows as --accent after the hero's difference blend */
  --nav-bg: rgba(12, 12, 12, .72);
  --grain: .055;

  --light: #efebe3;
  --light-ink: #111111;
  --light-muted: #6c685f;
  --light-line: rgba(17, 17, 17, .14);

  --sans: "Inter Tight", "Manrope", system-ui, -apple-system, sans-serif;
  --serif: "Noto Serif Display", Georgia, serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --pad: clamp(16px, 4vw, 64px);

  /* names used by the video player (player.css) */
  --border: var(--line);
  --text: var(--ink);
  --pink: var(--accent);
  --grad: linear-gradient(120deg, #3d5afe, #7b8cff);
  --font-head: "Manrope", "Inter Tight", system-ui, sans-serif;
  --font-body: var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55; letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.04em; line-height: .95; }
em { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -.02em; }
::selection { background: var(--accent); color: var(--accent-ink); }
img, video { display: block; max-width: 100%; }

.kicker { display: flex; gap: 14px; margin: 0 0 28px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.kicker span:first-child { color: var(--accent); font-family: var(--serif); font-style: italic; letter-spacing: 0; font-size: 1rem; text-transform: none; }
.section-title { font-size: clamp(2.6rem, 7vw, 7.2rem); }
.section-title em, .hero-title em, .contact-title em { color: var(--accent); }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); } }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 400; pointer-events: none; }
.loader-panel { position: absolute; inset: 0; background: var(--bg); }
.loader-inner { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: flex-end; padding: var(--pad); }
.loader-brand { font-size: 1.1rem; font-weight: 600; letter-spacing: -.02em; align-self: flex-start; }
.loader-brand sup, .logo-word sup { font-size: .55em; font-weight: 400; margin-left: 2px; }
.loader-count { font-size: clamp(5rem, 18vw, 16rem); font-weight: 500; letter-spacing: -.06em; line-height: .8; font-variant-numeric: tabular-nums; }
.loader-count small { font-size: .3em; color: var(--accent); margin-left: 6px; vertical-align: top; }
.loader-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); }
.loader-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.reduced .loader { display: none; }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 350; pointer-events: none; border-radius: 50%; opacity: 0; }
.cursor {
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid color-mix(in srgb, var(--ink) 60%, transparent);
  display: grid; place-items: center; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s, border-color .4s, opacity .3s;
}
.cursor-label { font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--accent-ink); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--ease); white-space: nowrap; }
.cursor.is-label { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: var(--accent); border-color: transparent; }
.cursor.is-label .cursor-label { opacity: 1; transform: none; }
.cursor.is-link { width: 70px; height: 70px; margin: -35px 0 0 -35px; border-color: var(--accent); }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
.has-cursor .cursor, .has-cursor .cursor-dot { opacity: 1; }
.cursor.on-light { border-color: color-mix(in srgb, var(--light-ink) 50%, transparent); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px var(--pad);
  transition: transform .7s var(--ease), background .4s, padding .4s var(--ease);
}
.nav.scrolled { background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.nav.hide { transform: translateY(-110%); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.08rem; letter-spacing: -.03em; }
.logo-mark { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: transform .8s var(--ease); }
.logo-mark i { width: 0; height: 0; border-left: 8px solid var(--accent-ink); border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.logo:hover .logo-mark { transform: rotate(360deg) scale(1.1); }
.nav-links { display: flex; gap: clamp(14px, 2.4vw, 36px); }
.nav-links a { position: relative; display: flex; gap: 6px; align-items: baseline; font-size: .95rem; color: var(--muted); transition: color .35s; padding: 4px 0; }
.nl-num { font-family: var(--serif); font-style: italic; font-size: .8rem; color: var(--accent); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }
.lang button { color: var(--muted); font-weight: 600; padding: 4px 2px; transition: color .3s; }
.lang button.active { color: var(--ink); }
.nav-cta { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: .92rem; }
.nav-cta i { font-style: normal; transition: transform .5s var(--ease); }
.nav-cta:hover i { transform: translateX(4px) rotate(-45deg); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem; letter-spacing: -.01em;
  overflow: hidden; isolation: isolate; transition: color .45s var(--ease), border-color .45s;
}
.btn i { font-style: normal; transition: transform .6s var(--ease); }
.btn:hover i { transform: translateX(5px); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(102%); transition: transform .6s var(--ease); }
.btn:hover::before { transform: none; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent::before { background: var(--ink); }
.btn-line { border: 1px solid var(--line); color: var(--ink); }
.btn-line::before { background: var(--ink); }
.btn-line:hover { color: var(--bg); border-color: var(--ink); }
.btn-dark { background: var(--light-ink); color: var(--light); }
.btn-dark::before { background: var(--accent); }
.btn-dark:hover { color: var(--accent-ink); }
.btn-block { width: 100%; }
.btn-big { padding: 22px 30px; font-size: 1.08rem; }
.btn-ico { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-ink); color: var(--accent); display: grid; place-items: center; font-size: .65rem; padding-left: 2px; margin-left: -10px; transition: background .4s, color .4s; }
.btn-accent:hover .btn-ico { background: var(--accent); color: var(--accent-ink); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 120px var(--pad) 40px; display: flex; flex-direction: column; overflow: hidden; }
.hero-meta { display: flex; justify-content: space-between; gap: 20px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.hm-live { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.hm-live i { width: 7px; height: 7px; border-radius: 50%; background: #39d353; animation: livePulse 2s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(57,211,83,.6); } 70% { box-shadow: 0 0 0 9px rgba(57,211,83,0); } 100% { box-shadow: 0 0 0 0 rgba(57,211,83,0); } }
.hero-title { position: relative; z-index: 2; margin-top: clamp(40px, 9vh, 110px); font-size: clamp(3.1rem, 10.6vw, 12.8rem); font-weight: 500; letter-spacing: -.06em; line-height: .88; }
.ht-line { display: block; will-change: transform; }
.ht-indent { padding-left: 14vw; }
.hero-title em { font-weight: 300; letter-spacing: -.03em; }

.hero-media { position: absolute; z-index: 3; right: calc(var(--pad) + 4vw); top: clamp(150px, 22vh, 230px); width: clamp(210px, 19vw, 310px); }
.hphone {
  position: relative; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; background: #000; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 50px 100px -30px rgba(0,0,0,.9), 0 30px 120px -40px rgba(var(--accent-rgb), .5);
  transform-origin: 50% 60%; will-change: transform;
}
.hphone video { width: 100%; height: 100%; object-fit: cover; }
.hphone-notch { position: absolute; top: 10px; left: 50%; width: 30%; height: 20px; margin-left: -15%; border-radius: 20px; background: #000; }
.hphone-tag { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 14px; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .74rem; font-weight: 500; }
.hphone-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blink 1.2s steps(2) infinite; flex: none; }
.hphone.sound-on .hphone-tag i { background: #39d353; animation: none; }
.spin-badge { position: absolute; left: -64px; bottom: -40px; width: 132px; height: 132px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; z-index: 4; }
.spin-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spinSlow 14s linear infinite; }
.spin-badge text { font-size: 15.5px; font-weight: 700; letter-spacing: .14em; fill: var(--accent-ink); font-family: var(--sans); }
.sb-play { font-size: 1.1rem; padding-left: 3px; transition: transform .6s var(--spring); }
.spin-badge:hover .sb-play { transform: scale(1.35); }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.hero-bottom { position: relative; z-index: 2; margin-top: auto; padding-top: 48px; display: grid; grid-template-columns: minmax(0, 420px) auto 1fr; gap: 28px 40px; align-items: end; }
.hero-sub { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.5; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-cue { justify-self: end; display: flex; align-items: center; gap: 12px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 48px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* ---------- Marquee band ---------- */
.band { padding: clamp(40px, 7vw, 90px) 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-track { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.band-item { display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 48px); padding-right: clamp(20px, 3vw, 48px); font-size: clamp(3rem, 9vw, 9.5rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.05; }
.band-item.serif { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -.02em; color: var(--accent); }
.band-item.outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.band-dot { width: .2em; height: .2em; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(100px, 16vw, 220px) var(--pad) clamp(80px, 10vw, 140px); }
.manifesto-text { margin: 0; max-width: 1400px; font-size: clamp(1.9rem, 4.6vw, 4.6rem); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
.motion .mw { opacity: .13; }
.pillars { margin-top: clamp(70px, 9vw, 130px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 48px); }
.pillar { padding-top: 22px; border-top: 1px solid var(--line); }
.p-num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.3rem; }
.pillar h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.03em; margin: 26px 0 10px; }
.pillar p { margin: 0; color: var(--muted); max-width: 32ch; }

/* ---------- Work (horizontal) ---------- */
.work { position: relative; }
.work-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 110px 0 50px; overflow: hidden; }
.work-head { padding: 0 var(--pad); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 40px; margin-bottom: clamp(30px, 5vh, 60px); }
.work-head .kicker { grid-column: 1 / -1; }
.work-hint { margin: 0; color: var(--muted); font-size: .95rem; }
.work-track { display: flex; gap: clamp(18px, 2.4vw, 40px); padding: 0 var(--pad); width: max-content; will-change: transform; }
.wcard { position: relative; flex: none; cursor: pointer; outline: none; }
.wcard-media { position: relative; height: clamp(300px, 52vh, 600px); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--bg-2); }
.wcard-reel .wcard-media { aspect-ratio: 16 / 9; }
.wcard-reel .stage { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.wcard-img { position: absolute; inset: -6% -14%; background-size: cover; background-position: center; will-change: transform; transition: filter .8s var(--ease); }
.wcard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); pointer-events: none; }
.wcard:hover .wcard-img { filter: saturate(1.15) brightness(1.05); }
.wc-play { position: absolute; z-index: 2; right: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; padding-left: 3px; font-size: .9rem; transform: scale(.8); transition: transform .6s var(--spring), background .4s, color .4s; }
.wcard:hover .wc-play, .wcard:focus-visible .wc-play { transform: scale(1); background: var(--accent); color: var(--accent-ink); }
.wcard-info { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: baseline; padding: 18px 4px 0; max-width: 100%; }
.wc-num { font-family: var(--serif); font-style: italic; color: var(--accent); }
.wcard-info h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: -.03em; line-height: 1.05; }
.wc-dur { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.wc-sub { grid-column: 2 / -1; margin: 0; color: var(--muted); font-size: .92rem; }
.wcard-cta { display: flex; flex-direction: column; justify-content: space-between; width: clamp(280px, 30vw, 460px); height: clamp(300px, 52vh, 600px); padding: clamp(24px, 3vw, 40px); border-radius: 22px; background: var(--accent); color: var(--accent-ink); }
.wcard-cta p { margin: 0; font-size: clamp(1.8rem, 3.2vw, 3.2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.wcard-cta .cta-arrow { align-self: flex-end; width: clamp(80px, 8vw, 120px); height: clamp(80px, 8vw, 120px); border-radius: 50%; background: var(--accent-ink); color: var(--accent); display: grid; place-items: center; font-size: 2rem; transition: transform .8s var(--ease); }
.wcard-cta:hover .cta-arrow { transform: rotate(-45deg) scale(1.08); }
.work-progress { margin: clamp(30px, 5vh, 50px) var(--pad) 0; height: 1px; background: var(--line); }
.work-progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---------- Process (stacking cards) ---------- */
.process { padding: clamp(100px, 12vw, 180px) var(--pad) clamp(60px, 8vw, 120px); }
.process-head { margin-bottom: clamp(50px, 7vw, 100px); }
.stack { display: grid; gap: 22px; }
.stack-card {
  position: sticky; top: calc(110px + var(--i, 0) * 26px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 4vw, 70px);
  min-height: clamp(300px, 52vh, 520px); padding: clamp(28px, 4vw, 64px); border-radius: 28px;
  transform-origin: 50% 0; will-change: transform;
}
.sc-1 { --i: 0; background: var(--bg-2); border: 1px solid var(--line); }
.sc-2 { --i: 1; background: var(--accent); color: var(--accent-ink); }
.sc-3 { --i: 2; background: var(--light); color: var(--light-ink); }
.sc-num { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(4.5rem, 13vw, 13rem); line-height: .8; letter-spacing: -.04em; }
.sc-body h3 { font-size: clamp(2rem, 4.6vw, 4.6rem); letter-spacing: -.045em; }
.sc-body p { margin: 18px 0 0; font-size: clamp(1rem, 1.4vw, 1.25rem); max-width: 40ch; opacity: .75; }
.sc-icon { width: clamp(70px, 9vw, 130px); height: clamp(70px, 9vw, 130px); border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-size: clamp(1.4rem, 2.4vw, 2.4rem); opacity: .9; }

/* ---------- Pricing (light) ---------- */
.pricing { position: relative; background: var(--light); color: var(--light-ink); padding: clamp(100px, 12vw, 170px) var(--pad); border-radius: clamp(28px, 4vw, 60px) clamp(28px, 4vw, 60px) 0 0; transform-origin: 50% 0; }
.pricing .kicker { color: var(--light-muted); }
.pricing-head { margin-bottom: clamp(50px, 6vw, 90px); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: clamp(26px, 2.6vw, 40px); border-radius: 26px; border: 1px solid var(--light-line); background: transparent; transition: box-shadow .8s var(--ease); }
.plan:hover { box-shadow: 0 40px 80px -50px rgba(0,0,0,.35); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan-len { font-size: clamp(2.6rem, 4.4vw, 4.2rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.plan-tag { padding: 7px 12px; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .02em; border: 1px solid var(--light-line); text-align: center; }
.price { display: flex; align-items: flex-start; margin: 34px 0 6px; font-size: clamp(3.6rem, 6vw, 5.8rem); font-weight: 500; letter-spacing: -.06em; line-height: .9; }
.price-cur { font-size: .42em; margin: .14em 0 0 .08em; font-family: var(--serif); font-style: italic; font-weight: 300; }
.price-from { font-size: 1rem; letter-spacing: 0; align-self: flex-end; margin: 0 10px 12px 0; opacity: .6; }
.per-sec { margin: 0 0 26px; font-size: .86rem; color: var(--light-muted); }
.plan-note { margin: -12px 0 24px; font-size: .92rem; opacity: .8; }
.plan-list { list-style: none; padding: 24px 0 0; margin: 0 0 30px; display: grid; gap: 12px; flex: 1; border-top: 1px solid var(--light-line); align-content: start; }
.plan-list li { display: flex; gap: 12px; }
.plan-list li::before { content: "—"; color: var(--accent); flex: none; }
.plan-best { background: var(--light-ink); color: var(--light); border-color: transparent; box-shadow: 0 50px 90px -50px rgba(var(--accent-rgb), .8); }
.plan-best .per-sec, .plan-best .plan-list { color: color-mix(in srgb, var(--light) 72%, transparent); border-color: color-mix(in srgb, var(--light) 15%, transparent); }
.plan-best .per-sec-best b { color: var(--accent); font-weight: 600; }
.plan-tag-best { background: var(--accent); color: var(--accent-ink); border-color: transparent; }

/* ---------- Contact ---------- */
.contact { position: relative; padding: clamp(110px, 13vw, 190px) var(--pad) clamp(80px, 10vw, 140px); display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: clamp(40px, 6vw, 110px); align-items: start; }
.contact-title { font-size: clamp(3rem, 8.4vw, 9rem); letter-spacing: -.06em; line-height: .9; }
.mail-link { display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(30px, 5vw, 60px); font-size: clamp(1.2rem, 2.4vw, 2.2rem); font-weight: 500; letter-spacing: -.03em; position: relative; padding-bottom: 8px; word-break: break-all; }
.mail-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform-origin: left; transition: transform .8s var(--ease); }
.mail-link:hover::after { transform-origin: right; transform: scaleX(0); }
.mail-link i { font-style: normal; color: var(--accent); transition: transform .6s var(--ease); }
.mail-link:hover i { transform: translate(4px, -4px); }

.form { position: relative; }
.form-lead { margin: 0 0 30px; color: var(--muted); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.field { position: relative; margin-bottom: 26px; }
.field input, .field textarea {
  width: 100%; padding: 26px 0 12px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  color: var(--ink); font: inherit; font-size: 1.05rem; outline: none; resize: vertical; transition: border-color .4s;
}
.field::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); pointer-events: none; }
.field:has(.err:not(:empty))::after { top: auto; bottom: 26px; }
.field:focus-within::after { transform: scaleX(1); }
.field-seg::after { display: none; }
.field > label { position: absolute; left: 0; top: 26px; color: var(--muted); pointer-events: none; transition: all .45s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 2px; font-size: .75rem; letter-spacing: .06em; color: var(--accent); }
.field.invalid input, .field.invalid textarea { border-color: #ff7a6b; }
.group-label { display: block; font-size: .75rem; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.seg label { cursor: pointer; position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 13px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; color: var(--muted); transition: all .45s var(--ease); }
.seg em { font-family: var(--sans); font-style: normal; font-weight: inherit; letter-spacing: inherit; }
.seg label:hover span { border-color: color-mix(in srgb, var(--ink) 40%, transparent); color: var(--ink); }
.seg input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.err { display: block; color: #ff8b7d; font-size: .82rem; margin-top: 6px; }
.err:empty { display: none; }
.consent-err { margin: -10px 0 16px; }
.hp { position: absolute; left: -9999px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .9rem; color: var(--muted); margin: 6px 0 26px; }
.check input { position: absolute; opacity: 0; }
.check .box { flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px; border: 1px solid var(--line); display: grid; place-items: center; transition: all .35s var(--ease); }
.check .box::after { content: "✓"; font-size: .75rem; color: var(--accent-ink); transform: scale(0); transition: transform .4s var(--spring); }
.check input:checked + .box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .box::after { transform: scale(1); }
.check input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: var(--accent-ink); border-radius: 50%; animation: spin .8s linear infinite; }
.sending .spinner { display: inline-block; }
.sending i { display: none; }
.form-success { position: absolute; inset: -10px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 20px; background: var(--bg); opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s; }
.form.done .form-success { opacity: 1; visibility: visible; transform: none; }
.form-success h3 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 24px 0 10px; }
.form-success p { color: var(--muted); margin: 0 0 26px; max-width: 40ch; }
.check-anim { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 1.8rem; transform: scale(0); }
.form.done .check-anim { animation: popIn .8s .15s var(--spring) forwards; }

/* ---------- Footer ---------- */
.footer { padding: 0 var(--pad) 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; }
.socials { display: flex; gap: clamp(16px, 3vw, 40px); }
.socials a, .to-top { color: var(--muted); transition: color .3s; font-weight: 500; }
.socials a:hover, .to-top:hover { color: var(--ink); }
.footer-word { font-size: 22vw; font-weight: 600; letter-spacing: -.075em; line-height: .8; white-space: nowrap; user-select: none; overflow: hidden; padding-bottom: .04em; }
.footer-word .fl { display: inline-block; will-change: transform; }
.footer-word .fl:nth-child(n+3) { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; color: var(--muted); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Modal tweaks for the new look ---------- */
.modal-backdrop { background: rgba(8,8,8,.9) !important; }
.player { box-shadow: 0 40px 100px -30px rgba(var(--accent-rgb), .5) !important; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 160%); z-index: 320; padding: 14px 22px; border-radius: 14px; background: #2a1410; border: 1px solid rgba(255,122,107,.5); color: #ffd2cc; transition: transform .6s var(--ease); max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); }

/* ---------- Pre-animation states (only while JS motion is active) ---------- */
.motion [data-fade] { opacity: 0; transform: translateY(40px); }
.motion .hero-meta, .motion .nav, .motion .hero-media { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-media { width: clamp(190px, 24vw, 260px); }
  .hero-bottom { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .plan-best { order: -1; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 6px; padding: 0 var(--pad); background: var(--bg); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); }
  .nav-links.open { clip-path: inset(0 0 0 0); }
  .nav-links a { font-size: clamp(2.4rem, 11vw, 4rem); color: var(--ink); letter-spacing: -.04em; font-weight: 500; }
  .nav-links a::after { display: none; }
  .nl-num { font-size: 1rem; }
  .nav-cta { display: none; }
  .burger { display: block; }
  .hero { padding-top: 100px; }
  .hero-meta .hm-mid { display: none; }
  .hero-title { font-size: clamp(2.7rem, 13vw, 6rem); margin-top: 40px; }
  .ht-indent { padding-left: 8vw; }
  .hero-media { position: relative; right: auto; top: auto; width: min(62vw, 300px); margin: 44px auto 10px; }
  .spin-badge { width: 104px; height: 104px; left: -38px; bottom: -26px; }
  .pillars { grid-template-columns: 1fr; gap: 28px; }
  .work-pin { min-height: 0; padding: 90px 0 40px; }
  .work-head { grid-template-columns: 1fr; }
  .work-hint { margin-top: 14px; }
  .work-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 10px; scrollbar-width: none; }
  .work-track::-webkit-scrollbar { display: none; }
  .wcard { scroll-snap-align: center; }
  .wcard-media { height: 72vw; max-height: 440px; }
  .wcard-reel .wcard-media { height: 48vw; }
  .wcard-cta { height: 72vw; max-height: 440px; width: 70vw; }
  .work-progress { display: none; }
  .stack-card { grid-template-columns: 1fr; gap: 18px; top: calc(90px + var(--i, 0) * 18px); align-content: start; min-height: 60vh; }
  .sc-icon { display: none; }
  .row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}
@media (hover: none) { .cursor, .cursor-dot { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .grain, .spin-badge svg, .hm-live i, .scroll-cue i::after { animation: none !important; }
}
.wcard-info { width: 0; min-width: 100%; }
/* hero title floats over the phone and inverts where they overlap */
.hero-title { z-index: 5; mix-blend-mode: difference; pointer-events: none; }
.hero-title em { color: var(--blend-accent); }
@media (max-width: 860px) {
  .hero-media { width: min(66vw, 300px); }
  .spin-badge { width: 86px; height: 86px; left: -30px; bottom: -18px; }
  .sb-play { font-size: .9rem; }
}

/* buttons on the blue accent: dark fill + light text on hover */
.btn-accent::before { background: var(--ink); }
.btn-accent:hover { color: var(--bg); }
.btn-accent:hover .btn-ico { background: var(--bg); color: var(--ink); }
.btn-dark:hover { color: #fff; }

/* =========================================================
   LIGHT MODE
   ========================================================= */
:root[data-theme="light"] {
  --bg: #f4f2ee;
  --bg-2: #e9e6df;
  --ink: #0f0f12;
  --muted: #6a675f;
  --line: rgba(15, 15, 18, .12);
  --accent: #2f4dff;
  --accent-rgb: 47, 77, 255;
  --accent-ink: #ffffff;
  --nav-bg: rgba(244, 242, 238, .78);
  --grain: .035;
  /* the "contrast" sections (pricing, 3rd step) flip to dark */
  --light: #0f0f12;
  --light-ink: #f4f2ee;
  --light-muted: #9a978f;
  --light-line: rgba(244, 242, 238, .14);
}
:root[data-theme="light"] .hero-title { mix-blend-mode: normal; }
:root[data-theme="light"] .hero-title em { color: var(--accent); }
:root[data-theme="light"] .hphone { box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 50px 100px -40px rgba(0,0,0,.35), 0 30px 120px -40px rgba(var(--accent-rgb), .45); }
:root[data-theme="light"] .band-item.outline { -webkit-text-stroke-color: var(--ink); }
:root[data-theme="light"] .wcard-media { background: #ddd9d1; }
:root[data-theme="light"] .form-success { background: var(--bg); }
:root[data-theme="light"] .modal-backdrop { background: rgba(244,242,238,.92) !important; }
:root[data-theme="light"] .modal-close { color: var(--ink); border-color: var(--line); }

/* theme toggle */
.theme-toggle { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); overflow: hidden; transition: border-color .4s; }
.theme-toggle:hover { border-color: var(--accent); }
.theme-toggle svg { position: absolute; width: 18px; height: 18px; transition: transform .8s var(--ease), opacity .5s; }
.theme-toggle .i-sun { transform: translateY(150%) rotate(-90deg); opacity: 0; }
:root[data-theme="light"] .theme-toggle .i-moon { transform: translateY(-150%) rotate(90deg); opacity: 0; }
:root[data-theme="light"] .theme-toggle .i-sun { transform: none; opacity: 1; }

/* circular reveal when switching theme (View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 9999; }
/* fallback: smooth colour cross-fade */
html.theme-fade, html.theme-fade * { transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease) !important; }
@media (max-width: 860px) { .nav-actions { gap: 10px; } .theme-toggle { width: 40px; height: 40px; } }

/* ---------- FAQ ---------- */
.faq { padding: clamp(100px, 12vw, 170px) var(--pad) clamp(40px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; cursor: pointer; font-size: clamp(1.15rem, 1.8vw, 1.6rem); font-weight: 500; letter-spacing: -.02em; transition: color .3s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); transition: transform .6s var(--ease), background .4s, border-color .4s; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.faq-item summary i::after { transform: rotate(90deg); transition: transform .6s var(--ease); }
.faq-item[open] summary i { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: rotate(180deg); }
.faq-item[open] summary i::after { transform: rotate(0deg); }
.faq-item p { margin: -6px 0 28px; max-width: 60ch; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq-head { position: static; } }

.pricing-compare { margin: 28px 0 0; max-width: 60ch; font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--light-muted); line-height: 1.55; }
