/* ═══════════════════════════════════════════════════════════════════
   IKO — premium video production landing
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --bg: #06060a;
  --bg-2: #0b0b14;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-brd: rgba(255, 255, 255, 0.09);
  --txt: #eef2f8;
  --txt-dim: #9fb0c8;
  --txt-mute: #5f6f87;
  /* cold palette: violet → blue → cyan/ice */
  --violet: #7a5cff;
  --blue: #2b8cff;
  --cyan: #00e5ff;
  --ice: #8fe6ff;
  --accent: #34e0ff;
  --green: #28e07a;
  --danger: #ff4f6b;
  --grad: linear-gradient(105deg, #7a5cff 0%, #2b8cff 48%, #18e0ff 100%);
  --glow: rgba(43, 140, 255, 0.45);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1200px;
  --nav-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before { /* ambient noise/gradient base */
  content: '';
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 700px at 80% -10%, rgba(138, 92, 255, 0.18), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(0, 229, 255, 0.12), transparent 60%),
    radial-gradient(800px 800px at 50% 120%, rgba(24, 224, 255, 0.10), transparent 60%),
    var(--bg);
}

h1, h2, h3, .nav__logo, .intro__mark, .footer__logo {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--violet); color: #fff; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  background: var(--grad); color: #fff; position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: 0 8px 30px rgba(138, 92, 255, 0.35);
  background-size: 160% 100%;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 44px rgba(43, 140, 255, 0.55); background-position: 100% 0; }
.btn--ghost { background: transparent; color: var(--txt); border: 1px solid var(--panel-brd); box-shadow: none; }
.btn--ghost:hover { border-color: var(--violet); background: rgba(138, 92, 255, 0.1); box-shadow: none; }
.btn--sm { padding: 10px 20px; font-size: 0.88rem; }
.btn--full { width: 100%; padding: 16px; }

/* ── intro overlay ── */
.intro {
  position: fixed; inset: 0; z-index: 9999; background: var(--bg);
  display: grid; place-content: center; gap: 18px; justify-items: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.intro.is-gone { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(1.04); }
.intro__inner { display: grid; gap: 14px; justify-items: center; transition: transform 0.2s ease-out; will-change: transform; }
.intro__progress { width: min(240px, 60vw); height: 2px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; overflow: hidden; margin-top: 14px; }
.intro__progress i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: var(--grad); }
.intro__pct { font-family: 'Space Grotesk'; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--txt-mute); font-variant-numeric: tabular-nums; }
.intro__canvas { display: block; width: min(520px, 84vw); height: auto; }
/* by-line + rotator fade in once the particles have formed "IKO" */
.intro__by, .intro__rotator { opacity: 0; transform: translateY(10px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.intro.is-assembled .intro__by, .intro.is-assembled .intro__rotator { opacity: 1; transform: none; }
.intro__rotator { height: 1.3em; overflow: hidden; display: flex; justify-content: center; margin-top: 4px; }
.intro__roti {
  font-family: 'Space Grotesk'; font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--cyan);
  text-shadow: 0 0 16px rgba(24, 224, 255, 0.5);
}
.intro__bar { width: 0; height: clamp(3rem, 12vw, 6rem); overflow: hidden; }
.intro__bar i {
  display: block; width: 4px; height: 100%; background: var(--cyan); border-radius: 4px;
  animation: barGrow 1.4s var(--ease) 0.3s both;
}
.intro__by { color: var(--txt); font-family: 'Space Grotesk'; font-size: 0.95rem; letter-spacing: 0.04em; }
.intro__tag { color: var(--txt-dim); letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.78rem; opacity: 0; animation: fadeUp 0.8s var(--ease) 0.95s both; }
@keyframes introIn { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes barGrow { from { width: 0; } to { width: 4px; } }

/* ── scroll progress ── */
.scrollbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000; background: transparent; }
.scrollbar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); }

/* ── nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 48px);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(8, 8, 14, 0.7); backdrop-filter: blur(14px); border-color: var(--panel-brd); }
.nav__logo { display: flex; flex-direction: column; justify-content: center; line-height: 1; gap: 3px; }
.nav__logo-main { font-size: 1.5rem; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.nav__logo-sub { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--txt-mute); font-weight: 500; }
.nav__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: breathe 3s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.nav__links { display: flex; gap: 30px; }
.nav__links a { color: var(--txt-dim); font-size: 0.95rem; position: relative; transition: color 0.25s; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad); transition: width 0.3s var(--ease); }
.nav__links a:hover { color: var(--txt); }
.nav__links a:hover::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 18px; }
.langtoggle { display: flex; align-items: center; gap: 6px; color: var(--txt-mute); font-size: 0.85rem; font-weight: 600; }
.langtoggle button { color: var(--txt-mute); transition: color 0.2s; padding: 4px; }
.langtoggle button.is-active { color: var(--txt); }
.langtoggle button:hover { color: var(--violet); }

/* ── hero ── */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: var(--nav-h) clamp(18px, 5vw, 48px) 60px;
  overflow: hidden;
}
.hero::before { /* the photo layer — replace /assets/hero.svg with your photo */
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to bottom, rgba(6, 6, 10, 0.55), rgba(6, 6, 10, 0.9)),
    url('/assets/hero.svg');
  background-size: cover; background-position: center;
  opacity: 0.9;
}
.hero__canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; transition: opacity 0.3s linear; }
/* dark scrim under the text column so the headline is always readable */
.hero__scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(95deg, rgba(5, 5, 9, 0.95) 0%, rgba(5, 5, 9, 0.82) 26%, rgba(5, 5, 9, 0.4) 52%, rgba(5, 5, 9, 0) 74%),
    linear-gradient(to top, rgba(5, 5, 9, 0.85) 0%, rgba(5, 5, 9, 0) 32%);
}
.hero__glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(620px 460px at 76% 42%, rgba(122, 76, 255, 0.16), transparent 70%);
  mix-blend-mode: screen;
}
.hero__inner { position: relative; z-index: 3; max-width: 680px; }
.hero__title { text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6); }
.hero__sub { text-shadow: 0 1px 24px rgba(5, 5, 9, 0.9); }
/* on narrow screens the 3D becomes a subtle ambient backdrop so text stays crisp */
@media (max-width: 760px) {
  .hero__canvas { opacity: 0.55; }
  .hero__scrim {
    background:
      linear-gradient(to bottom, rgba(5, 5, 9, 0.55) 0%, rgba(5, 5, 9, 0.78) 45%, rgba(5, 5, 9, 0.94) 100%);
  }
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 13px; position: relative; overflow: hidden;
  padding: 9px 18px 9px 15px; border-radius: 12px; margin-bottom: 26px;
  background: linear-gradient(180deg, rgba(22, 30, 48, 0.5), rgba(10, 14, 22, 0.38));
  border: 1px solid var(--panel-brd); backdrop-filter: blur(8px);
}
.hero__eyebrow::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--grad); }
/* live equalizer */
.eq { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 13px; }
.eq i { width: 2.5px; height: 40%; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 8px rgba(24, 224, 255, 0.7); animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(1) { animation-delay: -0.1s; }
.eq i:nth-child(2) { animation-delay: -0.45s; }
.eq i:nth-child(3) { animation-delay: -0.25s; }
.eq i:nth-child(4) { animation-delay: -0.6s; }
@keyframes eq { 0%, 100% { height: 22%; } 50% { height: 100%; } }
/* words with a sliding "playhead" underline */
.hero__words { position: relative; display: inline-flex; gap: 15px; font-size: 0.8rem; letter-spacing: 0.22em; font-weight: 600; }
.hw { color: var(--txt-mute); transition: color 0.35s, text-shadow 0.35s; }
.hw.is-active { color: var(--ice); text-shadow: 0 0 14px rgba(24, 224, 255, 0.6); }
.hw__ink { position: absolute; bottom: -6px; left: 0; width: 0; height: 2px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 8px var(--glow); transition: left 0.45s var(--ease), width 0.45s var(--ease); }
.hero__title { font-size: clamp(2.6rem, 8vw, 5.6rem); font-weight: 700; margin-bottom: 22px; }
.hero__title .line { display: block; opacity: 0; transform: translateY(40px); animation: fadeUp 0.9s var(--ease) forwards; }
.hero__title .line:nth-child(1) { animation-delay: 0.1s; }
.hero__title .line:nth-child(2) { animation-delay: 0.28s; }
.hero__title .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(1.02rem, 2.2vw, 1.25rem); color: var(--txt-dim); max-width: 560px; margin-bottom: 34px; opacity: 0; animation: fadeUp 0.9s var(--ease) 0.5s forwards; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.9s var(--ease) 0.68s forwards; }
.hero__stats { display: flex; gap: 38px; margin-top: 54px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.9s var(--ease) 0.9s forwards; }
.hero__stats b { font-family: 'Space Grotesk'; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stats span { color: var(--txt-mute); font-size: 0.85rem; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--txt-mute); font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; }
.hero__scroll i { width: 1px; height: 38px; background: linear-gradient(var(--txt-mute), transparent); animation: scrollLine 1.8s infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ── marquee ── */
.marquee { overflow: hidden; border-top: 1px solid var(--panel-brd); border-bottom: 1px solid var(--panel-brd); padding: 18px 0; background: rgba(255, 255, 255, 0.015); }
.marquee__track { display: flex; width: max-content; white-space: nowrap; animation: marquee 30s linear infinite; will-change: transform; }
.marquee__seq { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font-family: 'Space Grotesk'; font-weight: 600; font-size: clamp(1.1rem, 3vw, 1.8rem); color: var(--txt); }
.marquee__seq i { color: var(--violet); font-style: normal; }
.marquee__seq span { opacity: 0.82; }
/* exactly two identical halves (built by JS) → translateX(-50%) loops seamlessly */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ── sections ── */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 12vw, 130px) clamp(18px, 5vw, 48px); }
.section__head { margin-bottom: 56px; max-width: 720px; }
.kicker { display: inline-block; font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--violet); margin-bottom: 16px; font-weight: 600; }
.section__head h2 { font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 700; }
.section__lead { color: var(--txt-dim); margin-top: 16px; }

/* reveal default state */
.reveal { opacity: 1; }
.reveal.is-in { opacity: 1; }

/* ── service cards ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--panel-brd);
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
  overflow: hidden; will-change: transform;
}
.card::before { content: ''; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity 0.4s; z-index: -1; }
.card::after { content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 2px; background: var(--grad); opacity: 0; transition: opacity 0.4s; }
.card:hover { border-color: transparent; background: rgba(255, 255, 255, 0.06); }
.card:hover::after { opacity: 1; }
.card__icon { margin-bottom: 18px; line-height: 0; filter: drop-shadow(0 3px 12px rgba(43, 140, 255, 0.45)); transition: transform 0.4s var(--ease); }
.card__icon svg { width: 40px; height: 40px; display: block; }
.card:hover .card__icon { transform: translateY(-3px) scale(1.06); }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--txt-dim); font-size: 0.96rem; }

/* ── portfolio ── */
.grid-work { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.work-tile {
  position: relative; aspect-ratio: 9 / 12; border-radius: var(--radius); overflow: hidden;
  text-align: left; border: 1px solid var(--panel-brd); isolation: isolate;
  transition: transform 0.45s var(--ease);
}
.work-tile:nth-child(3n) { aspect-ratio: 9 / 14; }
.work-tile__bg { position: absolute; inset: 0; background: linear-gradient(150deg, hsl(var(--h), 80%, 22%), hsl(calc(var(--h) + 60), 75%, 12%)); transition: transform 0.6s var(--ease); }
.work-tile__grain { position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.14), transparent 50%); mix-blend-mode: overlay; }
.work-tile:hover { transform: translateY(-6px); }
.work-tile:hover .work-tile__bg { transform: scale(1.08); }
.work-tile__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-weight: 600; font-size: 1.1rem; opacity: 0; transition: opacity 0.35s; z-index: 2; background: rgba(0, 0, 0, 0.25); }
.work-tile__play em { font-style: normal; font-size: 0.95rem; }
.work-tile:hover .work-tile__play { opacity: 1; }
.work-tile__tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; font-family: 'Space Grotesk'; font-weight: 600; font-size: 1.05rem; padding: 6px 14px; border-radius: 999px; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.15); }

/* ── lightbox ── */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(4, 4, 8, 0.92); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 5vw; }
.lightbox.is-open { display: flex; animation: lbIn 0.3s var(--ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__close { position: absolute; top: 24px; right: 30px; font-size: 2.4rem; line-height: 1; color: var(--txt); opacity: 0.7; }
.lightbox__close:hover { opacity: 1; }
.lightbox__frame { width: min(420px, 90vw); aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6); }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; }
.lb-placeholder { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 24px; background: linear-gradient(150deg, hsl(var(--h), 80%, 26%), hsl(calc(var(--h) + 60), 75%, 12%)); }
.lb-placeholder span { font-family: 'Space Grotesk'; font-size: 2.4rem; font-weight: 700; }
.lb-placeholder small { letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.lb-placeholder p { margin-top: 16px; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; }

/* ── process steps ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--panel-brd); transition: border-color 0.4s, transform 0.4s var(--ease); }
.steps li:hover { border-color: var(--violet); transform: translateY(-4px); }
.steps__n { font-family: 'Space Grotesk'; font-size: 2.6rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 14px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { color: var(--txt-dim); font-size: 0.94rem; }

/* ── contact ── */
.contact__wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact__left h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: 16px; }
.contact__left > p { color: var(--txt-dim); margin-bottom: 30px; }
.contact__list { list-style: none; display: grid; gap: 16px; margin-bottom: 30px; }
.contact__list li { display: flex; flex-direction: column; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--panel-brd); }
.contact__list span { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--txt-mute); }
.contact__list a { font-size: 1.05rem; color: var(--txt); transition: color 0.25s; }
.contact__list a:hover { color: var(--violet); }
.socials { display: flex; gap: 14px; }
.socials a { width: 46px; height: 46px; display: grid; place-content: center; border-radius: 12px; border: 1px solid var(--panel-brd); color: var(--txt-dim); transition: all 0.3s var(--ease); }
.socials a:hover { color: #fff; border-color: transparent; background: var(--grad); transform: translateY(-3px); box-shadow: 0 10px 26px rgba(138, 92, 255, 0.4); }

/* form */
.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 34px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--panel-brd); backdrop-filter: blur(8px); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; color: var(--txt-dim); font-weight: 500; }
.field input, .field select, .field textarea {
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--panel-brd); border-radius: 12px;
  padding: 13px 15px; color: var(--txt); font: inherit; font-size: 0.95rem; transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(138, 92, 255, 0.2); }
.field select option { background: var(--bg-2); }
.contact__form .btn--full { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { grid-column: 1 / -1; min-height: 1.2em; font-size: 0.9rem; }
.form__status.is-ok { color: var(--green); }
.form__status.is-err { color: var(--danger); }

/* ── success state: thank-you card with a beating heart ── */
.form__success { display: none; grid-column: 1 / -1; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 14px 0; }
.contact__form.is-sent { grid-template-columns: 1fr; }
.contact__form.is-sent .field,
.contact__form.is-sent > .btn,
.contact__form.is-sent .hp,
.contact__form.is-sent .form__status { display: none; }
.contact__form.is-sent .form__success { display: flex; animation: successIn 0.6s var(--ease) both; }
@keyframes successIn { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }
.form__heart svg { width: 66px; height: 66px; filter: drop-shadow(0 0 18px var(--glow)); animation: heartbeat 1.2s ease-in-out infinite; transform-origin: center; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.2); } 26% { transform: scale(1); } 40% { transform: scale(1.12); } 54% { transform: scale(1); } }
.form__success-t { font-size: 1.55rem; }
.form__success-d { color: var(--txt-dim); font-size: 0.95rem; }
/* celebratory burst particles */
.confetti { position: fixed; z-index: 10002; font-size: 18px; line-height: 1; pointer-events: none; opacity: 1; transform: translate(0, 0); transition: transform 1.15s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 1.15s ease-out; will-change: transform, opacity; }

/* ── footer ── */
.footer { border-top: 1px solid var(--panel-brd); padding: 40px clamp(18px, 5vw, 48px); max-width: var(--maxw); margin: 0 auto; }
.footer__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.footer__brand { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.footer__logo { font-size: 1.6rem; font-weight: 700; }
.footer__by { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--txt-mute); }
.footer__credit { display: inline-flex; align-items: center; gap: 9px; color: var(--txt-dim); font-size: 0.85rem; transition: color 0.25s; }
.footer__credit:hover { color: var(--txt); }
.footer__credit b { color: var(--txt); font-weight: 600; }
.footer__made { color: var(--txt-mute); }
.footer__flag { width: 20px; height: 13px; border-radius: 2px; overflow: hidden; flex: none;
  background: linear-gradient(180deg, #000 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6% 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08); }
.socials--sm { gap: 24px; }
.socials--sm a { width: auto; height: auto; border: none; background: none; color: var(--txt-dim); font-size: 0.92rem; }
.socials--sm a:hover { color: var(--violet); background: none; transform: none; box-shadow: none; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--txt-mute); font-size: 0.85rem; padding-top: 22px; border-top: 1px solid var(--panel-brd); }

/* ── responsive ── */
@media (max-width: 880px) {
  .nav__links { display: none; }
  .contact__wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact__form { grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 560px) {
  .hero__stats { gap: 24px; }
  .hero { padding-top: calc(var(--nav-h) + 10px); }
}

/* ═══ neon breathing ═══ */
@keyframes breathe {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 6px var(--cyan)); }
  50% { opacity: 0.55; filter: drop-shadow(0 0 14px var(--cyan)); }
}

/* ═══ custom cursor ═══ */
@media (hover: hover) and (pointer: fine) {
  * { cursor: none !important; }
  .cursor, .cursor__ring {
    position: fixed; top: 0; left: 0; z-index: 10000; pointer-events: none;
    border-radius: 50%; transform: translate(-50%, -50%);
    will-change: transform; mix-blend-mode: screen;
  }
  .cursor {
    width: 7px; height: 7px; background: var(--ice);
    box-shadow: 0 0 12px var(--cyan), 0 0 26px var(--blue);
    transition: width 0.2s, height 0.2s, background 0.2s;
  }
  .cursor__ring {
    width: 38px; height: 38px; border: 1.5px solid rgba(120, 200, 255, 0.7);
    transition: width 0.25s var(--ease), height 0.25s var(--ease),
                border-color 0.25s, background 0.25s, opacity 0.25s;
  }
  /* hovering interactive elements */
  body.cur-hover .cursor { width: 0; height: 0; }
  body.cur-hover .cursor__ring {
    width: 64px; height: 64px; border-color: transparent;
    background: radial-gradient(circle, rgba(43, 140, 255, 0.28), rgba(43, 140, 255, 0) 70%);
  }
  /* over media tiles → show a PLAY label */
  body.cur-media .cursor__ring {
    width: 86px; height: 86px; border-color: var(--cyan);
    background: rgba(8, 12, 24, 0.35); backdrop-filter: blur(2px);
  }
  .cursor__label {
    position: fixed; top: 0; left: 0; z-index: 10001; pointer-events: none;
    transform: translate(-50%, -50%) scale(0.6); opacity: 0;
    font-family: 'Space Grotesk'; font-size: 0.74rem; font-weight: 600;
    letter-spacing: 0.15em; color: #fff; transition: opacity 0.2s, transform 0.2s;
  }
  body.cur-media .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  body.cur-down .cursor__ring { width: 26px; height: 26px; }
}

/* ═══ cursor-reactive spotlight on cards & form ═══ */
.card, .steps li, .contact__form, .work-tile {
  --mx: 50%; --my: 50%;
}
.card::before {
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(43, 140, 255, 0.16), transparent 45%) !important;
  opacity: 1 !important;
}
.card:hover::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(43, 140, 255, 0.22), transparent 45%) !important; }
.steps li { position: relative; overflow: hidden; }
.steps li::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgba(24, 224, 255, 0.14), transparent 50%);
}
.steps li:hover::after { opacity: 1; }

/* ═══ aurora that drifts behind the whole page ═══ */
.aurora {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.6;
  background:
    radial-gradient(40% 42% at var(--ax, 30%) var(--ay, 25%), rgba(122, 92, 255, 0.16), transparent 62%),
    radial-gradient(36% 38% at var(--bx, 75%) var(--by, 70%), rgba(0, 200, 255, 0.14), transparent 62%);
  /* no blur filter — the radial gradients are already soft; blur on a fullscreen
     element was forcing an expensive repaint every frame. */
  will-change: background;
}

/* ═══ scroll-reveal helpers (richer than before) ═══ */
/* hidden only once JS is active, so the page is never blank without JS */
.reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
body.js-ready .reveal { opacity: 0; transform: translateY(36px); }
body.js-ready .reveal.is-in { opacity: 1; transform: none; }

/* ═══ magnetic wrap (set by JS) ═══ */
[data-magnetic] { transition: transform 0.25s var(--ease); }

/* ═══ section number watermark ═══ */
.section { position: relative; }

/* ── reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero__title .line, .hero__sub, .hero__cta, .hero__stats { opacity: 1 !important; transform: none !important; }
}
