/* ============================================================
   DPO Gate — dark cinematic landing
   ============================================================ */

:root {
  --bg: #060609;
  --bg-2: #0a0a10;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --hairline: rgba(255, 255, 255, 0.09);
  --hairline-strong: rgba(255, 255, 255, 0.14);
  --text: #eef0f6;
  --muted: #9ea0b0;
  --muted-2: #6f7180;

  /* brand gradient (matches logo: violet -> magenta -> coral) */
  --g1: #8b5cff;
  --g2: #b64ce6;
  --g3: #f0537e;
  --g4: #ff7a4d;
  --grad: linear-gradient(120deg, var(--g1) 0%, var(--g2) 34%, var(--g3) 68%, var(--g4) 100%);
  --grad-soft: linear-gradient(120deg, rgba(139,92,255,.16), rgba(240,83,126,.14) 60%, rgba(255,122,77,.12));

  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1180px;
  --pad: clamp(20px, 5vw, 40px);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; padding: 0; }
::selection { background: rgba(182, 76, 230, 0.35); color: #fff; }

/* ---------- background texture ---------- */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(80% 60% at 50% -10%, rgba(139, 92, 255, 0.12), transparent 60%),
    radial-gradient(60% 50% at 100% 100%, rgba(255, 122, 77, 0.07), transparent 60%);
  z-index: -2; pointer-events: none;
}
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  will-change: transform;
}
.orb--violet { width: 42vw; height: 42vw; left: -12vw; top: -8vw; background: radial-gradient(circle, rgba(139,92,255,.55), transparent 70%); }
.orb--coral  { width: 38vw; height: 38vw; right: -14vw; top: 32vh; background: radial-gradient(circle, rgba(255,122,77,.4), transparent 70%); }
.orb--pink   { width: 34vw; height: 34vw; left: 20vw; bottom: -18vw; background: radial-gradient(circle, rgba(240,83,126,.4), transparent 70%); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--pad); }
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  padding: 7px 14px; border-radius: 100px;
  border: 1px solid var(--hairline);
  background: var(--surface);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 10px rgba(240,83,126,.8);
}
.grad-text {
  font-style: normal;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 70px); }
.section__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.02em;
  margin-top: 18px;
}
.section__lead { color: var(--muted); font-size: clamp(16px, 2vw, 19px); margin-top: 20px; max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  transition: transform .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--pill { padding: 13px 15px 13px 22px; border-radius: 100px; }
.btn--primary { color: #fff; background: var(--grad); box-shadow: 0 10px 34px -12px rgba(240,83,126,.6); }
.btn--primary:hover { box-shadow: 0 16px 44px -12px rgba(240,83,126,.8); }
.btn--ghost {
  padding: 13px 22px; border-radius: 100px;
  border: 1px solid var(--hairline-strong); color: var(--text); background: var(--surface);
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--hairline-strong); }
.btn--block { width: 100%; justify-content: center; margin-top: 8px; }
.btn__icon {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.16);
  transition: transform .5s var(--ease), background .5s var(--ease);
}
.btn__icon svg { width: 15px; height: 15px; }
.btn:hover .btn__icon { transform: translate(2px, -2px) scale(1.06); background: rgba(255,255,255,0.26); }
.btn--ghost .btn__icon { display: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  padding: 18px var(--pad);
  transition: padding .5s var(--ease);
}
.nav__inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 11px 11px 11px 22px;
  border-radius: 100px;
  border: 1px solid var(--hairline);
  background: rgba(10, 10, 16, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.nav.is-scrolled .nav__inner {
  background: rgba(8, 8, 13, 0.8);
  box-shadow: 0 14px 40px -20px rgba(0,0,0,.9);
}
.nav__logo { height: 24px; width: auto; }
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  position: relative; transition: color .4s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0;
  background: var(--grad); transition: width .4s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 14px; }

.langswitch { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.langswitch__btn { color: var(--muted-2); transition: color .3s var(--ease); letter-spacing: .02em; }
.langswitch__btn.is-active { color: var(--text); }
.langswitch__btn:hover { color: var(--text); }
.langswitch__divider { color: var(--muted-2); }

.hamburger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hairline); position: relative; }
.hamburger span {
  position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--text); border-radius: 2px;
  transition: transform .45s var(--ease), opacity .3s var(--ease);
}
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { bottom: 16px; }
.hamburger.is-open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }

/* mobile menu overlay */
.mobilemenu {
  position: fixed; inset: 0; z-index: 39;
  background: rgba(6, 6, 10, 0.92);
  backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 0 var(--pad);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
.mobilemenu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobilemenu__links { display: flex; flex-direction: column; gap: 6px; }
.mobilemenu__links a {
  font-family: var(--font-display); font-size: clamp(30px, 9vw, 46px); font-weight: 600; letter-spacing: -0.02em;
  opacity: 0; transform: translateY(20px);
}
.mobilemenu.is-open .mobilemenu__links a { animation: revealUp .6s var(--ease) forwards; }
.mobilemenu.is-open .mobilemenu__links a:nth-child(1) { animation-delay: .08s; }
.mobilemenu.is-open .mobilemenu__links a:nth-child(2) { animation-delay: .14s; }
.mobilemenu.is-open .mobilemenu__links a:nth-child(3) { animation-delay: .20s; }
.mobilemenu.is-open .mobilemenu__links a:nth-child(4) { animation-delay: .26s; }
.mobilemenu.is-open .mobilemenu__links a:nth-child(5) { animation-delay: .32s; }
@keyframes revealUp { to { opacity: 1; transform: none; } }
.langswitch--big { font-size: 18px; gap: 12px; }

/* ============================================================
   double-bezel primitives
   ============================================================ */
.shell {
  padding: 7px; border-radius: var(--radius-xl);
  background: var(--surface); border: 1px solid var(--hairline);
}
.core {
  border-radius: calc(var(--radius-xl) - 7px);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.08);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad) clamp(48px, 9vh, 96px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; background: #060609; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* fallback if WebGL / Three.js is unavailable */
.hero__media--fallback {
  background:
    radial-gradient(120% 90% at 15% 15%, rgba(139,92,255,.5), transparent 55%),
    radial-gradient(120% 90% at 85% 40%, rgba(240,83,126,.42), transparent 55%),
    radial-gradient(120% 120% at 60% 100%, rgba(255,122,77,.4), transparent 55%),
    #060609;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,6,9,.55) 0%, rgba(6,6,9,.2) 32%, rgba(6,6,9,.75) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(6,6,9,.7), transparent 60%);
}
.hero__content { max-width: 980px; width: 100%; margin: 0 auto; }
.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 8.5vw, 104px); line-height: 0.98; letter-spacing: -0.035em;
  margin: 26px 0 0;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero__sub { color: #c9cbd6; font-size: clamp(16px, 2.1vw, 21px); max-width: 60ch; margin-top: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero__scroll {
  position: absolute; right: var(--pad); bottom: clamp(48px, 9vh, 96px);
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  writing-mode: vertical-rl;
}
.hero__scroll-line { width: 1.5px; height: 54px; background: linear-gradient(var(--muted), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%;
  background: var(--grad); animation: scrollpulse 2.2s var(--ease) infinite;
}
@keyframes scrollpulse { 0% { transform: translateY(-100%); } 100% { transform: translateY(320%); } }

/* ============================================================
   STATS
   ============================================================ */
.stats { padding: clamp(40px, 6vw, 70px) 0; border-bottom: 1px solid var(--hairline); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(34px, 5vw, 58px); line-height: 1; letter-spacing: -0.03em;
  display: flex; align-items: baseline;
}
.stat__suffix { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 20ch; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scard { height: 100%; transition: transform .6s var(--ease); }
.scard:hover { transform: translateY(-6px); }
.scard__inner { height: 100%; overflow: hidden; display: flex; flex-direction: column; }
.scard__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: calc(var(--radius-xl) - 7px) calc(var(--radius-xl) - 7px) 0 0; }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.scard:hover .scard__media img { transform: scale(1.06); }
.scard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8,8,13,.85)); }
.scard__index {
  position: absolute; top: 16px; left: 18px; z-index: 2;
  font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .1em;
  color: #fff; padding: 6px 12px; border-radius: 100px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px);
}
.scard__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.scard__title { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.scard__text { color: var(--muted); font-size: 15px; }
.scard__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.scard__tags li {
  font-size: 12.5px; color: #cdd0da; padding: 6px 12px; border-radius: 100px;
  border: 1px solid var(--hairline); background: var(--surface);
}

/* ============================================================
   APPROACH / STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.step {
  position: relative; padding: 26px 20px 30px;
  border-top: 1px solid var(--hairline-strong);
}
.step::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 40%; height: 2px; background: var(--grad);
  transition: width .8s var(--ease);
}
.step:hover::before { width: 100%; }
.step__num {
  font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .1em;
  color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text;
}
.step__title { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-top: 18px; }
.step__text { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* ============================================================
   BAND (parallax)
   ============================================================ */
.band { position: relative; overflow: hidden; padding: clamp(90px, 16vw, 190px) 0; }
.band__media { position: absolute; inset: 0; z-index: -1; }
.band__media img { width: 100%; height: 128%; object-fit: cover; position: absolute; inset: 0; opacity: .42; }
.band__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg), rgba(6,6,9,.5) 40%, rgba(6,6,9,.7)), radial-gradient(60% 80% at 20% 50%, rgba(139,92,255,.18), transparent); }
.band__content { max-width: 720px; }
.band__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 5.5vw, 60px); line-height: 1.02; letter-spacing: -0.025em; margin-top: 18px; }
.band__text { color: #c9cbd6; font-size: clamp(16px, 2vw, 20px); margin-top: 22px; }

/* ============================================================
   BENTO
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento__card { grid-column: span 2; }
.bento__card--wide { grid-column: span 3; }
.bento__inner { height: 100%; padding: 30px; display: flex; flex-direction: column; gap: 12px; transition: transform .6s var(--ease); }
.bento__card:hover .bento__inner { transform: translateY(-4px); }
.bento__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 6px;
  background: var(--grad-soft); border: 1px solid var(--hairline);
  color: #fff;
}
.bento__icon svg { width: 24px; height: 24px; }
.bento__inner h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.bento__inner p { color: var(--muted); font-size: 14.5px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about__media { align-self: stretch; overflow: hidden; }
.about__media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; border-radius: calc(var(--radius-xl) - 7px); }
.about__body { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.about__text { color: var(--muted); font-size: clamp(15px, 1.7vw, 17px); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { overflow: hidden; }
.contact__bg { position: absolute; inset: 0; z-index: -1; }
.contact__bg img { width: 100%; height: 120%; object-fit: cover; position: absolute; inset: 0; opacity: .16; }
.contact__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg), rgba(6,6,9,.85)); }
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.contact__intro { position: sticky; top: 120px; }
.contact__details { margin-top: 40px; display: flex; flex-direction: column; gap: 22px; }
.contact__details li { display: flex; align-items: center; gap: 16px; }
.contact__ico {
  width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center;
  border: 1px solid var(--hairline); background: var(--surface); color: var(--g2);
}
.contact__ico svg { width: 22px; height: 22px; }
.contact__details small { display: block; font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 3px; }
.contact__details a { font-size: 16px; font-weight: 500; }
.contact__details a[href]:hover { color: var(--g3); }

.contact__form { align-self: start; }
.form__inner { padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 9px; grid-column: 1 / -1; }
.field--half { grid-column: span 1; }
.field label { font-size: 13.5px; font-weight: 600; color: #d7d9e2; }
.field .opt { color: var(--muted-2); font-weight: 500; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 15px; color: var(--text);
  padding: 14px 16px; border-radius: var(--radius-md);
  background: rgba(0,0,0,.25); border: 1px solid var(--hairline);
  transition: border-color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: transparent; background: rgba(0,0,0,.4);
  box-shadow: 0 0 0 1.5px rgba(182,76,230,.6), 0 0 30px -10px rgba(182,76,230,.5);
}
.select-wrap { position: relative; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.select-caret { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.select-caret svg { width: 16px; height: 16px; }
.field select option { background: #12121a; color: var(--text); }
.form__status { grid-column: 1 / -1; font-size: 14px; margin-top: 2px; min-height: 1px; }
.form__status.is-ok { color: #5ee6a8; }
.form__status.is-err { color: #ff8a8a; }
.form__note { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted-2); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--hairline); padding: clamp(50px, 7vw, 80px) 0 30px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__logo { height: 26px; margin-bottom: 18px; }
.footer__brand p { color: var(--muted); font-size: 15px; max-width: 34ch; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 26px; align-items: flex-start; }
.footer__nav a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .3s var(--ease); }
.footer__nav a:hover { color: var(--text); }
.footer__bar {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(40px, 6vw, 64px); padding-top: 24px; border-top: 1px solid var(--hairline);
  color: var(--muted-2); font-size: 13px;
}
.footer__bar a:hover { color: var(--text); }

/* ============================================================
   ENHANCEMENTS — extra motion
   ============================================================ */

/* scroll progress bar */
.scrollprogress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; pointer-events: none;
  background: rgba(255, 255, 255, 0.05);
}
.scrollprogress span {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: var(--grad); box-shadow: 0 0 12px rgba(240, 83, 126, 0.7);
}

/* nav auto hide/show */
.nav { transition: transform .55s var(--ease), padding .5s var(--ease); }
.nav.nav--hidden { transform: translateY(-135%); }

/* marquee ticker */
.ticker {
  overflow: hidden; padding: 22px 0;
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex; align-items: center; gap: 26px; white-space: nowrap; width: max-content;
  animation: tickerMove 40s linear infinite; will-change: transform;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span {
  font-family: var(--font-display); font-size: clamp(17px, 2.3vw, 28px); font-weight: 600;
  letter-spacing: -0.01em; color: #b9bbc8;
}
.ticker__track .dot {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* split-word title reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > i {
  display: inline-block; font-style: inherit;
  transform: translateY(110%); opacity: 0.001;
  transition: transform .9s var(--ease-out), opacity .9s var(--ease-out);
}
[data-reveal].is-in .split .w > i { transform: none; opacity: 1; }

/* 3D card tilt + cursor spotlight */
.scard, .bento__card { perspective: 1100px; }
.scard__inner, .bento__inner { position: relative; transform-style: preserve-3d; transition: transform .5s var(--ease); }
.scard__inner::after, .bento__inner::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 4; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.10), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.scard__inner:hover::after, .bento__inner:hover::after { opacity: 1; }

/* animated gradient shimmer on gradient text */
.grad-text, .stat__suffix {
  background-size: 220% auto; animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

/* primary CTA glow pulse */
.btn--primary { animation: ctaGlow 3.6s ease-in-out infinite; }
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 10px 34px -14px rgba(240, 83, 126, 0.55); }
  50%      { box-shadow: 0 16px 46px -12px rgba(240, 83, 126, 0.85); }
}

/* ============================================================
   reveal animation base (JS-driven)
   ============================================================ */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }
/* if scripting is unavailable, never hide content */
html:not(.reveal-ready) [data-reveal] { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .hamburger { display: block; }
  .nav__cta { display: none; }
  .nav__actions .langswitch { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .bento__card, .bento__card--wide { grid-column: span 3; }
  .contact__intro { position: static; }
}
@media (max-width: 720px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__card, .bento__card--wide { grid-column: 1 / -1; }
  .about { grid-template-columns: 1fr; }
  .about__media img { min-height: 260px; }
  .contact__grid { grid-template-columns: 1fr; }
  .form__inner { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .hero__scroll { display: none; }
  .footer__bar { flex-direction: column; gap: 8px; }
}

/* ============================================================
   reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .orb { display: none; }
}
