/* ============================================================
   VELLYS — Editorial design system
   Refs: matveyan.com (mono data + custom cursor) ·
         wibify.agency (light editorial, lime accent, numbered)
   ============================================================ */

:root {
  --paper: #0a0a16;       /* dark navy-purple base background */
  --paper-2: #12122a;     /* elevated dark purple surface */
  --ink: #f4f3ee;         /* light text */
  --ink-2: #e6e6df;
  --muted: #9a9b93;       /* muted light text */
  --line: rgba(244, 243, 238, 0.12);
  --line-soft: rgba(244, 243, 238, 0.07);

  --lime: #8b5cf6;        /* violet accent (primary) */
  --lime-bright: #a78bfa; /* lighter violet (hover) */
  --green: #6366f1;       /* indigo (secondary / dark-blue tone) */
  --blue-deep: #4338ca;   /* deep indigo-blue */
  --blue-bright: #8b5cf6;

  /* elevated dark section tokens (slightly lighter than base for rhythm) */
  --d-bg: #12122a;
  --d-text: #f4f3ee;
  --d-muted: #9a9bb0;
  --d-line: rgba(244, 243, 238, 0.12);

  --font: "Switzer", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "Space Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 600ms;

  --maxw: 1320px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ol, ul { list-style: none; padding: 0; }
em { font-style: italic; }
::selection { background: var(--lime); color: #fff; }

/* ---------- Preloader (waits for all assets, then reveals) ---------- */
html.is-loading { overflow: hidden; }
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--paper);
  transition: opacity 600ms var(--ease), visibility 0s linear 600ms;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; width: min(340px, 72vw); }
.preloader__logo { font-size: clamp(2rem, 7vw, 3rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.preloader__reg { color: var(--lime); font-size: 0.42em; vertical-align: super; margin-left: 0.05em; }
.preloader__bar { width: 100%; height: 3px; border-radius: 3px; background: rgba(244, 243, 238, 0.14); overflow: hidden; }
.preloader__fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--lime)); border-radius: 3px; transition: width 220ms var(--ease); }
.preloader__pct { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.05em; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .preloader { transition: opacity 200ms; } .preloader__fill { transition: none; } }

.mono { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.container--narrow { max-width: 880px; }

.skip-link { position: absolute; left: 50%; top: -60px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 0.6rem 1.2rem; z-index: 300; transition: top var(--dur); }
.skip-link:focus { top: 12px; }

/* ---------- Custom cursor (desktop) ---------- */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--lime);
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 280ms var(--ease), height 280ms var(--ease), background 280ms;
  display: none;
}
.cursor.is-hover { width: 64px; height: 64px; background: var(--lime); mix-blend-mode: normal; }
.cursor__label { font-family: var(--mono); font-size: 0.7rem; color: var(--ink); opacity: 0; transition: opacity 200ms; font-weight: 700; }
.cursor.is-hover .cursor__label { opacity: 1; }
body.cursor-on, body.cursor-on * { cursor: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.95rem;
  padding: 0.8rem 1.4rem;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), background 300ms, color 300ms, border-color 300ms;
  white-space: nowrap; min-height: 46px;
}
.btn .arr { font-style: normal; transition: transform var(--dur) var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1rem; min-height: 54px; }
.btn--block { width: 100%; justify-content: center; }

.btn--lime { background: var(--lime); color: #fff; }
.btn--lime:hover { background: var(--lime-bright); transform: translateY(-2px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.section--dark .btn--ghost { border-color: var(--d-text); color: var(--d-text); }
.section--dark .btn--ghost:hover { background: var(--d-text); color: var(--ink); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 200; display: flex; justify-content: center; padding: 0 clamp(0.75rem, 3vw, 1.5rem); transition: padding 450ms var(--ease); }
.header__inner {
  width: 100%; max-width: 1160px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 72px; padding-inline: clamp(1.1rem, 2.5vw, 1.75rem);
  border: 1px solid transparent; border-radius: 16px;
  transition: max-width 450ms var(--ease), height 450ms var(--ease), background 450ms, border-color 450ms, box-shadow 450ms, padding 450ms;
}
.header.scrolled { padding-top: 14px; }
.header.scrolled .header__inner {
  max-width: 1000px; height: 60px;
  background: rgba(14, 15, 20, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 16px 44px -16px rgba(0, 0, 0, 0.6);
}
@media (max-width: 767px) {
  /* Header is a clean full-bleed bar on mobile (just logo + burger; language moves into the menu) */
  .header { padding: 0; }
  .header__inner { max-width: 100%; height: 64px; border-radius: 0; padding-inline: clamp(1.25rem, 5vw, 1.5rem); }
  .header .lang-toggle { display: none; }
  .header__actions { gap: 0; }
  .header.scrolled { padding-top: 0; }
  .header.scrolled .header__inner { max-width: 100%; height: 64px; border-radius: 0; border-color: transparent; border-bottom-color: rgba(255, 255, 255, 0.12); box-shadow: none; }
}
/* Dark header theme: light text in both states (over video + floating dark pill) */
.header .logo__word, .header .logo__mark, .header .nav__link { color: #fff; }
.header .logo__reg { color: rgba(255,255,255,0.55); }
.header .nav__idx { color: rgba(255,255,255,0.5); }
.header .nav__link:hover { background: rgba(255,255,255,0.1); }
.header .lang-toggle { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.25); }
.header .lang-toggle__opt.is-active { color: #fff; }
.header .burger span { background: #fff; }
.logo { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; }
.logo__mark { color: var(--ink); display: grid; place-items: center; }
.logo__word { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; }
.logo__reg { font-size: 0.7rem; vertical-align: super; color: var(--muted); }

.nav { display: flex; gap: 0.3rem; }
.nav__link { display: inline-flex; align-items: baseline; gap: 0.4rem; font-size: 0.92rem; font-weight: 500; padding: 0.5rem 0.85rem; border-radius: 100px; color: var(--ink); transition: background 300ms; }
.nav__link:hover { background: rgba(10, 10, 11, 0.06); }
.nav__idx { font-family: var(--mono); font-size: 0.62rem; color: var(--muted); }

.header__actions { display: flex; align-items: center; gap: 0.7rem; }
.lang-toggle { font-family: var(--mono); font-size: 0.72rem; display: inline-flex; gap: 0.25rem; border: 1px solid var(--line); padding: 0.4rem 0.65rem; border-radius: 100px; color: var(--muted); }
.lang-toggle__opt.is-active { color: var(--ink); font-weight: 700; }
.lang-toggle__sep { opacity: 0.4; }

.burger { display: none; width: 46px; height: 46px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.burger span { width: 24px; height: 2px; background: var(--ink); transition: transform var(--dur) var(--ease), opacity var(--dur); }
.burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 72px 0 0 0; z-index: 190; background: var(--paper); overflow-y: auto; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform var(--dur) var(--ease), opacity var(--dur), visibility var(--dur); }
.mobile-menu.is-open { transform: none; opacity: 1; visibility: visible; }
.mobile-menu__nav { display: flex; flex-direction: column; min-height: 100%; box-sizing: border-box; padding: 1rem clamp(1.25rem, 4vw, 3rem) 2.25rem; }
.mobile-menu__link { display: flex; gap: 0.8rem; align-items: baseline; padding: 1rem 0; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
.mobile-menu__link span:first-child { font-family: var(--mono); font-size: 0.7rem; color: var(--muted); }
.mobile-menu__cta { margin-top: auto; justify-content: center; }
.mobile-menu__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.mobile-menu__contact { color: var(--muted); font-size: 0.78rem; }
.mobile-menu__contact:hover { color: var(--lime); }
.mobile-menu__lang { min-height: 40px; padding: 0.4rem 0.8rem; color: var(--muted); border-color: var(--line); flex: none; }
.mobile-menu__lang .lang-toggle__opt.is-active { color: var(--ink); }

/* ---------- Hero (with scroll-scrubbed video background) ---------- */
.hero.hero--video { position: relative; height: 170vh; min-height: 0; padding: 0; }
.hero__pin { position: sticky; top: 0; height: 100vh; min-height: 100svh; width: 100%; overflow: hidden; display: flex; align-items: center; background: #06060f; }
.hero__video { position: absolute; inset: 0; z-index: 0; }
.hero__video #heroVideo { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__scrim { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(8,7,20,0.58) 0%, rgba(8,7,20,0.30) 32%, rgba(8,7,20,0.48) 70%, rgba(10,9,24,0.90) 100%),
  radial-gradient(120% 90% at 50% 35%, transparent 45%, rgba(40,20,80,0.40) 100%); }
.hero__content { position: relative; z-index: 2; width: 100%; }

/* Sizing so the whole hero fits one screen above the video */
.hero--video .hero__title { font-size: clamp(2rem, 6vw, 5.2rem); line-height: 1; margin-top: clamp(1rem, 2.5vw, 1.75rem); }
.hero--video .hero__bottom { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.hero--video .ticker { margin-top: clamp(1.5rem, 3vw, 2.25rem); }

/* Light text treatment over the video */
.hero--video .hero__meta { color: rgba(255,255,255,0.7); border-bottom-color: rgba(255,255,255,0.18); }
.hero--video .hero__title { color: #fff; }
.hero--video .hero__title em { color: #fff; }
.hero--video .hero__sub { color: rgba(255,255,255,0.82); }
.hero--video .btn--ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.hero--video .btn--ghost:hover { background: #fff; color: var(--ink); }
.hero--video .ticker { border-color: rgba(255,255,255,0.18); }
.hero--video .ticker__item b { color: #fff; }
.hero--video .ticker__item em { color: rgba(255,255,255,0.6); }
.hero__cue { position: absolute; left: 50%; bottom: clamp(1rem, 3vh, 2rem); transform: translateX(-50%); color: rgba(255,255,255,0.7); display: inline-flex; gap: 0.4rem; animation: cueBob 2.4s ease-in-out infinite; z-index: 3; }
@keyframes cueBob { 0%,100% { transform: translateX(-50%) translateY(0); opacity: 0.6; } 50% { transform: translateX(-50%) translateY(5px); opacity: 1; } }

/* Looping autoplay hero: content vertically centered over the video */
.hero--video.hero--static { height: auto; }
.hero--video.hero--static .hero__pin { position: relative; top: auto; height: auto; min-height: 100svh; overflow: hidden; align-items: center; padding-block: calc(var(--header-h) + 1.5rem) 3rem; }

@media (max-width: 720px) {
  .hero--video .hero__title { font-size: clamp(2rem, 9vw, 3.1rem); }
  .hero--video .hero__meta { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
  .hero--video .ticker { display: none; }
  .hero__cue { display: none; }
  /* Mobile: anchor the content to the upper area instead of dead-center */
  .hero--video.hero--static .hero__pin { align-items: flex-start; padding-block: calc(var(--header-h) + 2.25rem) 2.5rem; }
}
@media (prefers-reduced-motion: reduce) { .hero__cue { animation: none; } }

/* ---------- Hero (base, shared) ---------- */
.hero { padding-top: calc(76px + clamp(2rem, 7vw, 5rem)); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.hero__meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 1.25rem; }
.hero__title { font-weight: 700; font-size: clamp(2.4rem, 8vw, 7rem); line-height: 0.98; letter-spacing: -0.04em; margin-top: clamp(1.5rem, 4vw, 2.75rem); }
/* Editorial serif-italic emphasis (Switzer + Instrument Serif — wibify pairing) */
.hero__title em, .head__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 1.08em;
}
.hero__title em {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.04em;
  text-decoration-skip-ink: none;
}
.line { display: block; overflow: hidden; padding-bottom: 0.14em; }
.line__in { display: block; transform: translateY(110%); transition: transform 900ms var(--ease); }
.reveal-lines.in .line:nth-child(1) .line__in { transition-delay: 60ms; }
.reveal-lines.in .line:nth-child(2) .line__in { transition-delay: 150ms; }
.reveal-lines.in .line:nth-child(3) .line__in { transition-delay: 240ms; }
.reveal-lines.in .line__in { transform: none; }

.hero__bottom { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: end; margin-top: clamp(2rem, 5vw, 3.5rem); }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-end; }

.ticker { margin-top: clamp(2.5rem, 5vw, 4rem); border-block: 1px solid var(--line); overflow: hidden; -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; gap: 3rem; padding-block: 1.1rem; width: max-content; animation: scroll-x 26s linear infinite; }
.ticker__item { display: inline-flex; align-items: baseline; gap: 0.5rem; }
.ticker__item b { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ticker__item em { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; color: var(--muted); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 3;
  background: var(--d-bg);
  color: var(--d-text);
  border-block: 1px solid var(--d-line);
  overflow: hidden;
  padding-block: clamp(0.85rem, 1.8vw, 1.35rem);
}
.marquee__track { display: flex; align-items: center; gap: 1.5rem; width: max-content; animation: scroll-x 34s linear infinite; }
.marquee__track span { font-size: clamp(1.2rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -0.03em; color: var(--d-text); }
.marquee__track i { color: var(--lime); font-style: normal; font-size: clamp(1rem, 2vw, 1.6rem); }

/* ---------- Section + heads ---------- */
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--dark { background: var(--d-bg); color: var(--d-text); }
.section--dark .mono, .section--dark .muted { color: var(--d-muted); }

.head { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 1rem 1.5rem; border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section--dark .head { border-color: var(--d-line); }
.head__idx { color: var(--muted); }
.head__title { font-size: clamp(2rem, 5.5vw, 4.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.head__title em { color: var(--muted); }
.section--dark .head__title em { color: var(--lime); }
.head__years { color: var(--muted); justify-self: end; }
.head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.head__lead { grid-column: 1 / -1; max-width: 52ch; color: var(--muted); font-size: 1.1rem; margin-top: 0.5rem; }
.head--center .head__lead { margin-inline: auto; }

/* ---------- Work / cases ---------- */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.work__item { display: block; }
.work__media { aspect-ratio: 16 / 11; border-radius: 14px; background: linear-gradient(130deg, var(--c1), var(--c2)); overflow: hidden; transition: transform var(--dur) var(--ease); position: relative; }
.work__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,0.18), transparent 50%); }
.work__item:hover .work__media { transform: scale(0.985); }
.work__info { display: flex; flex-direction: column; gap: 0.3rem; padding-top: 1.1rem; }
.work__info h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; transition: color 300ms; }
.work__item:hover .work__info h3 { color: var(--muted); }
.work__info > span { color: var(--muted); }
.work__stat { margin-top: 0.4rem; display: flex; align-items: baseline; gap: 0.4rem; }
.work__stat b { font-size: 1.4rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.work__stat em { font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; color: var(--muted); }

/* ---------- Services (Wibify-style cards + animated glow) ---------- */
.services { position: relative; overflow: hidden; }
.services .container { position: relative; z-index: 1; }
.services__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.services__bg span { position: absolute; border-radius: 50%; filter: blur(90px); }
.services__bg span:nth-child(1) { width: 46vw; height: 46vw; top: -16%; right: -6%; background: radial-gradient(circle, rgba(139, 92, 246, 0.34), transparent 62%); animation: sglow1 19s ease-in-out infinite; }
.services__bg span:nth-child(2) { width: 40vw; height: 40vw; bottom: -18%; left: -8%; background: radial-gradient(circle, rgba(99, 102, 241, 0.26), transparent 62%); animation: sglow2 25s ease-in-out infinite; }
.services__bg span:nth-child(3) { width: 28vw; height: 28vw; top: 34%; left: 42%; background: radial-gradient(circle, rgba(139, 92, 246, 0.20), transparent 60%); animation: sglow1 31s ease-in-out infinite reverse; }
@keyframes sglow1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-12%, 16%); } }
@keyframes sglow2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(16%, -12%); } }

.scards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 1.6vw, 1.5rem); }
.scard {
  position: relative; isolation: isolate;
  background: rgba(12, 14, 18, 0.82);
  border: 1px solid var(--d-line); border-radius: 16px;
  padding: clamp(1.6rem, 3vw, 2.75rem);
  min-height: clamp(300px, 34vw, 380px);
  display: flex; flex-direction: column;
  transition: background 400ms var(--ease), box-shadow 400ms var(--ease), border-color 400ms var(--ease), transform 400ms var(--ease);
}
.scard:hover { z-index: 2; transform: translateY(-4px); background: rgba(12, 14, 18, 0.28); border-color: rgba(139, 92, 246, 0.55); box-shadow: 0 0 70px -16px rgba(139, 92, 246, 0.4); }

.scard__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.scard__icon {
  width: 56px; height: 56px; display: grid; place-items: center;
  border: 1.5px solid var(--lime); border-radius: 12px; color: var(--lime);
  background: rgba(139, 92, 246, 0.07);
  transform: rotate(0deg);
  transition: transform 500ms var(--ease), background 400ms;
}
.scard__icon svg { width: 26px; height: 26px; transform: rotate(0deg); transition: transform 500ms var(--ease); }
.scard:hover .scard__icon { transform: rotate(-8deg); background: rgba(139, 92, 246, 0.16); }
.scard:hover .scard__icon svg { transform: rotate(8deg); }
.scard__num {
  font-family: var(--font); font-weight: 800; font-size: clamp(3.4rem, 6.5vw, 5.6rem);
  line-height: 0.78; letter-spacing: -0.04em; color: transparent;
  -webkit-text-stroke: 1.5px rgba(243, 242, 236, 0.16);
  transition: -webkit-text-stroke-color 400ms;
}
.scard:hover .scard__num { -webkit-text-stroke-color: rgba(139, 92, 246, 0.55); }

.scard__title { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.25; margin-bottom: 1rem; }
.roll { display: inline-grid; overflow: hidden; vertical-align: top; line-height: 1.25; padding-top: 0.04em; }
.roll__a, .roll__b { grid-area: 1 / 1; transition: transform 520ms var(--ease); }
.roll__b { transform: translateY(108%); color: var(--lime); }
.scard:hover .roll__a { transform: translateY(-108%); }
.scard:hover .roll__b { transform: translateY(0); }

.scard__desc { color: var(--d-muted); font-size: 0.98rem; max-width: 42ch; }
.scard__foot { margin-top: auto; padding-top: clamp(1.5rem, 3vw, 2.25rem); }
.scard__div { display: block; height: 1px; background: var(--d-line); margin-bottom: 1.2rem; transition: background 400ms; }
.scard:hover .scard__div { background: rgba(139, 92, 246, 0.3); }
.scard__tags { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--d-muted); border: 1px solid var(--d-line); border-radius: 8px; padding: 0.45rem 0.6rem;
  transition: border-color 320ms, color 320ms;
}
.chip svg { width: 11px; height: 11px; fill: var(--lime); flex: none; }
.scard:hover .chip { border-color: rgba(139, 92, 246, 0.28); color: var(--d-text); }
.scard__arrow {
  position: absolute; right: clamp(1.6rem, 3vw, 2.75rem); bottom: clamp(1.6rem, 3vw, 2.75rem);
  color: var(--lime); font-size: 1.4rem; line-height: 1;
  opacity: 0; transform: translateX(-8px); transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.scard:hover .scard__arrow { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .services__bg span { animation: none; } }

/* ---------- Process (Wibify-style big cards + hologram visuals) ---------- */
/* Stacking cards: each sticks near the top and the next scrolls over it */
.pcards { display: flex; flex-direction: column; gap: 0; }
.pcard {
  position: sticky;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 3vw, 3.5rem); align-items: center;
  border: 1px solid var(--d-line); border-radius: 20px; overflow: hidden;
  background: #111116;
  padding: clamp(1.25rem, 2vw, 2rem);
  min-height: clamp(340px, 44vh, 460px);
  box-shadow: 0 -18px 50px -14px rgba(0, 0, 0, 0.6);
  margin-bottom: clamp(2rem, 5vh, 4rem);
  transition: border-color 400ms var(--ease);
}
.pcard:nth-child(1) { top: 92px; }
.pcard:nth-child(2) { top: 108px; }
.pcard:nth-child(3) { top: 124px; }
.pcard:nth-child(4) { top: 140px; margin-bottom: 0; }
.pcard:hover { border-color: rgba(139, 92, 246, 0.28); }

.pcard__visual { position: relative; border-radius: 12px; overflow: hidden; background: radial-gradient(ellipse at 50% 80%, rgba(255,255,255,0.05), transparent 55%), #060606; display: grid; place-items: center; min-height: clamp(280px, 30vw, 420px); }
.holo__portal { position: absolute; left: 50%; bottom: 15%; width: 44%; height: 14%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(255,255,255,0.95), rgba(255,255,255,0.25) 35%, transparent 70%); filter: blur(7px); animation: holoPulse 5s ease-in-out infinite; }
.holo { width: min(78%, 340px); aspect-ratio: 1; overflow: visible; }
.holo__orbit { stroke: rgba(255, 255, 255, 0.22); stroke-width: 1; transform-box: view-box; transform-origin: 200px 185px; animation: holoSpin 30s linear infinite; }
.holo__glyph { stroke: rgba(255, 255, 255, 0.92); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.55)); transform-box: view-box; transform-origin: 200px 185px; animation: holoFloat 7s ease-in-out infinite; }
.holo__dots circle { animation: holoTwinkle 3.5s ease-in-out infinite; }
.holo__dots circle:nth-child(2) { animation-delay: 0.7s; }
.holo__dots circle:nth-child(3) { animation-delay: 1.4s; }
.holo__dots circle:nth-child(4) { animation-delay: 2.1s; }
.holo__dots circle:nth-child(5) { animation-delay: 2.8s; }
@keyframes holoSpin { to { transform: rotate(360deg); } }
@keyframes holoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes holoPulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
@keyframes holoTwinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

.pcard__body { padding: clamp(0.5rem, 2vw, 1.5rem) clamp(0.5rem, 3vw, 2rem); }
.pcard__count { display: block; color: var(--d-muted); margin-bottom: clamp(1rem, 2.5vw, 1.75rem); font-size: 0.82rem; letter-spacing: 0.1em; }
.pcard__count b { color: var(--lime); font-weight: 700; }
.pcard__title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 1rem; }
.pcard__desc { color: var(--d-muted); font-size: clamp(1rem, 1.4vw, 1.1rem); max-width: 44ch; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.pcard__tags { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.pcard__tags span { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--d-muted); }
.pcard__tags span::before { content: ""; width: 6px; height: 6px; background: var(--lime); flex: none; }
@media (prefers-reduced-motion: reduce) { .holo__orbit, .holo__glyph, .holo__portal, .holo__dots circle { animation: none; } }

/* ---------- Metrics ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--d-line); border: 1px solid var(--d-line); border-radius: 14px; overflow: hidden; }
.metric { background: var(--d-bg); padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 0.5rem; }
.metric__v { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--lime); font-variant-numeric: tabular-nums; }
.metric span { color: var(--d-muted); font-size: 0.95rem; }
.metric__chart { display: block; width: 100%; height: 42px; margin-top: 1rem; overflow: visible; }
.metric__area { fill: var(--lime); opacity: 0; transition: opacity 900ms var(--ease) 350ms; }
.metric.in .metric__area { opacity: 0.14; }
.metric__line { fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 340; stroke-dashoffset: 340; transition: stroke-dashoffset 1400ms var(--ease) 250ms; }
.metric.in .metric__line { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .metric__line { stroke-dashoffset: 0; } .metric__area { opacity: 0.14; } }

/* Results: animated background */
.results { position: relative; overflow: hidden; }
.results .container { position: relative; z-index: 1; }
.results__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.results__bg span { position: absolute; border-radius: 50%; filter: blur(100px); }
.results__bg span:nth-child(1) { width: 42vw; height: 42vw; top: -12%; left: -6%; background: radial-gradient(circle, rgba(139, 92, 246, 0.20), transparent 62%); animation: sglow2 24s ease-in-out infinite; }
.results__bg span:nth-child(2) { width: 38vw; height: 38vw; bottom: -14%; right: -6%; background: radial-gradient(circle, rgba(99, 102, 241, 0.16), transparent 62%); animation: sglow1 28s ease-in-out infinite; }

/* Results: horizontal ticker */
.rticker { margin-top: clamp(2.5rem, 5vw, 4rem); border-block: 1px solid var(--d-line); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rticker__track { display: flex; align-items: center; gap: 2.5rem; width: max-content; padding-block: 1.1rem; animation: scroll-x 26s linear infinite; font-weight: 700; font-size: clamp(1.2rem, 2.4vw, 2rem); letter-spacing: -0.02em; color: var(--d-text); }
.rticker__track > i { color: var(--lime); font-style: normal; font-size: 0.7em; }
@media (prefers-reduced-motion: reduce) { .results__bg span, .rticker__track { animation: none; } }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.quote { border-top: 1px solid var(--d-line); padding-top: 1.5rem; }
.quote blockquote { font-size: clamp(1.25rem, 2.4vw, 1.8rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.quote figcaption { margin-top: 1.25rem; display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.quote figcaption strong { font-weight: 600; }
.quote figcaption .mono { color: var(--d-muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-weight: 400; font-size: 1.6rem; color: var(--muted); transition: transform var(--dur) var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); color: var(--ink); }
.faq__item p { padding: 0 0 1.5rem; color: var(--muted); max-width: 62ch; font-size: 1.05rem; }
.faq__item summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- Contact [06] — light section (white) with aura + staggered animations ---------- */
.contact--light {
  /* Re-map the dark tokens locally so the form + text invert to dark-on-white */
  --d-bg: #ffffff;
  --d-text: #15161a;
  --d-muted: #62646f;
  --d-line: rgba(21, 22, 26, 0.12);
  --accent-ink: #6d28d9;   /* deep violet — readable on white */
  --accent-ink-2: #4338ca; /* indigo */
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(85% 60% at 50% -12%, rgba(139, 92, 246, 0.10), transparent 60%),
    radial-gradient(70% 55% at 105% 112%, rgba(99, 102, 241, 0.09), transparent 60%),
    #ffffff;
  color: var(--d-text);
}
.contact--light .container { position: relative; z-index: 1; }

/* Floating aura blobs (soft violet / indigo) */
.contact__aura { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.contact__aura span { position: absolute; border-radius: 50%; filter: blur(72px); }
.contact__aura span:nth-child(1) { width: 34vw; height: 34vw; min-width: 280px; min-height: 280px; top: -8%; left: -6%; background: radial-gradient(circle, rgba(139, 92, 246, 0.40), transparent 66%); animation: cAura1 22s ease-in-out infinite; }
.contact__aura span:nth-child(2) { width: 30vw; height: 30vw; min-width: 260px; min-height: 260px; bottom: -10%; right: -6%; background: radial-gradient(circle, rgba(99, 102, 241, 0.36), transparent 66%); animation: cAura2 27s ease-in-out infinite; }
.contact__aura span:nth-child(3) { width: 22vw; height: 22vw; min-width: 200px; min-height: 200px; top: 42%; left: 50%; background: radial-gradient(circle, rgba(167, 139, 250, 0.30), transparent 62%); animation: cAura1 31s ease-in-out infinite reverse; }
@keyframes cAura1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6%, 8%) scale(1.12); } }
@keyframes cAura2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-7%, -6%) scale(1.1); } }

/* Heading with animated gradient emphasis */
.contact--light .head__idx { color: var(--accent-ink); }
.contact--light .head__title { color: var(--d-text); }
.contact--light .head__title em {
  color: var(--accent-ink); /* fallback */
  background: linear-gradient(100deg, var(--accent-ink-2), var(--accent-ink) 48%, #a78bfa);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: cGrad 6s ease-in-out infinite;
}
@keyframes cGrad { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Centered intro */
.contact__head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.contact__head .head__idx { display: block; margin-bottom: 1.1rem; }
.contact__lead { color: var(--d-muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.55; max-width: 56ch; margin: 1.5rem auto 0; }

/* Form panel — clean white card floating over the aura */
.contact__panel { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; background: #ffffff; border: 1px solid rgba(139, 92, 246, 0.16); border-radius: 22px; padding: clamp(1.6rem, 4vw, 2.75rem); box-shadow: 0 40px 90px -55px rgba(76, 29, 149, 0.5), 0 2px 10px -6px rgba(76, 29, 149, 0.25); }

/* Fields rise in, staggered, when the panel enters view */
.contact__panel .form > * { opacity: 0; transform: translateY(16px); }
.contact__panel.in .form > * { animation: cFieldIn 600ms var(--ease) both; }
.contact__panel.in .form > *:nth-child(1) { animation-delay: 0.05s; }
.contact__panel.in .form > *:nth-child(2) { animation-delay: 0.12s; }
.contact__panel.in .form > *:nth-child(3) { animation-delay: 0.19s; }
.contact__panel.in .form > *:nth-child(4) { animation-delay: 0.26s; }
.contact__panel.in .form > *:nth-child(5) { animation-delay: 0.33s; }
.contact__panel.in .form > *:nth-child(6) { animation-delay: 0.40s; }
.contact__panel.in .form > *:nth-child(7) { animation-delay: 0.47s; }
@keyframes cFieldIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Light-section field styling + focus glow */
.contact--light .field input, .contact--light .field select, .contact--light .field textarea { background: #fbfaff; border-color: rgba(21, 22, 26, 0.13); }
.contact--light .field label .req { color: var(--accent-ink); }
.contact--light .field input:focus, .contact--light .field select:focus, .contact--light .field textarea:focus { border-color: var(--accent-ink); background: #fff; box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14); }
.contact--light .form__consent input { accent-color: var(--accent-ink); }
.contact--light .form__consent a { color: var(--accent-ink); }
.contact--light .form-success__check { background: var(--lime); color: #fff; }

/* Submit button shine sweep on hover */
.contact--light .form .btn--lime { position: relative; overflow: hidden; }
.contact--light .form .btn--lime::after { content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: skewX(-18deg); pointer-events: none; }
.contact--light .form .btn--lime:hover::after { animation: cShine 900ms var(--ease); }
@keyframes cShine { from { left: -130%; } to { left: 140%; } }

/* Channels row + meta */
.contact__channels { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.5rem; max-width: 720px; margin: clamp(2.25rem, 4vw, 3rem) auto 0; padding-top: clamp(2rem, 4vw, 2.5rem); border-top: 1px solid var(--d-line); }
.contact__channel { display: flex; align-items: baseline; gap: 0.6rem; }
.contact__channel .mono { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--d-muted); }
.contact__channel a, .contact__channel > span:last-child { font-size: 1.02rem; color: var(--d-text); transition: color 300ms; }
.contact__channel a { position: relative; }
.contact__channel a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1.5px; background: var(--accent-ink); transform: scaleX(0); transform-origin: left; transition: transform 350ms var(--ease); }
.contact__channel a:hover { color: var(--accent-ink); }
.contact__channel a:hover::after { transform: scaleX(1); }
.contact__meta { color: var(--d-muted); text-align: center; margin-top: 1.25rem; }

/* Respect reduced motion: no aura drift, gradient sweep, or field stagger */
@media (prefers-reduced-motion: reduce) {
  .contact__aura span { animation: none; }
  .contact--light .head__title em { animation: none; }
  .contact__panel .form > * { opacity: 1; transform: none; }
}

.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--d-muted); }
.field label .req { color: var(--lime); }
.field label .opt { font-style: normal; text-transform: none; opacity: 0.6; letter-spacing: 0; }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 1rem; color: var(--d-text);
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--d-line); border-radius: 10px;
  padding: 0.85rem 1rem; min-height: 52px; transition: border-color 300ms, background 300ms; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; padding-top: 0.85rem; }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238b8b80' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.field select option { background: var(--d-bg); color: var(--d-text); }
.field input::placeholder, .field textarea::placeholder { color: var(--d-muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); background: rgba(139, 92, 246, 0.05); }
.field__error { color: #ff8b7d; font-size: 0.8rem; display: none; font-family: var(--mono); }
.field.has-error input, .field.has-error textarea { border-color: #ff8b7d; }
.field.has-error .field__error { display: block; }
.form__consent { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.88rem; color: var(--d-muted); cursor: pointer; margin-top: 0.25rem; }
.form__consent input { width: 20px; height: 20px; min-height: 0; flex: none; accent-color: var(--lime); margin-top: 1px; cursor: pointer; }
.form__consent.has-error span { color: #ff8b7d; }
.form__consent a { color: var(--d-text); text-decoration: underline; }
.form .btn--lime { margin-top: 0.75rem; }

.form-success { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; padding-block: 2rem; animation: pop var(--dur) var(--ease); }
.form-success__check { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 1.8rem; font-weight: 700; }
.form-success h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; }
.form-success p { color: var(--d-muted); max-width: 44ch; }
.form-success__note { color: var(--d-muted); }
@keyframes pop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.footer { background: var(--paper); padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: 2rem; border-top: 1px solid var(--line); }
.footer__cta { padding-bottom: clamp(2rem, 5vw, 4rem); }
.footer__big { display: inline-block; font-size: clamp(2.5rem, 11vw, 9rem); font-weight: 700; letter-spacing: -0.04em; line-height: 0.95; transition: color 300ms; }
.footer__big:hover { color: var(--lime); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-block: 2.5rem; border-top: 1px solid var(--line); }
.footer__brand .logo__word { font-size: 1.5rem; font-weight: 800; }
.footer__brand p { color: var(--muted); margin-top: 0.6rem; max-width: 30ch; }
.footer__col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col .mono { color: var(--muted); margin-bottom: 0.4rem; }
.footer__col a { color: var(--ink); transition: color 300ms; }
.footer__col a:hover { color: var(--muted); }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 2rem; border-top: 1px solid var(--line); color: var(--muted); flex-wrap: wrap; gap: 0.5rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 90ms; }
.reveal[data-delay="2"] { transition-delay: 180ms; }
.reveal[data-delay="3"] { transition-delay: 270ms; }

/* Section headers exit (fade up) when they leave through the top */
.contact__head { transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.head.is-out, .contact__head.is-out { opacity: 0; transform: translateY(-44px); }
@media (prefers-reduced-motion: reduce) { .head.is-out, .contact__head.is-out { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__cta { display: none; }
  .pcard { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero__bottom { grid-template-columns: 1fr; align-items: start; gap: 1.5rem; }
  .hero__cta { justify-content: flex-start; }
  .work { grid-template-columns: 1fr; }
  .scards { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .head { grid-template-columns: auto 1fr; }
  .head__years { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__cta .footer__big { font-size: clamp(2.5rem, 16vw, 5rem); }
}
@media (max-width: 480px) {
  .process, .metrics { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Touch & mobile refinements ---------- */
@media (hover: none) {
  a, button, .btn { -webkit-tap-highlight-color: transparent; }
  .btn:active { transform: scale(0.97); }
  .scard:active, .work__item:active, .faq__item summary:active, .nav__link:active, .mobile-menu__link:active { opacity: 0.7; }
}
@media (max-width: 767px) {
  /* Larger tap targets (>=44px comfortable) */
  .lang-toggle { padding: 0.5rem 0.9rem; min-height: 44px; align-items: center; }
  .footer__col a { padding: 0.65rem 0; }
  .faq__item summary { padding-block: 1.3rem; }
  /* Typography & spacing: a touch more breathing room, readable leads */
  .section { padding-block: clamp(3.5rem, 12vw, 5rem); }
  .head { margin-bottom: clamp(2rem, 8vw, 3rem); }
  .hero__sub, .contact__lead, .scard__desc, .pcard__desc, .faq__item p { font-size: 1.02rem; line-height: 1.55; }

  /* Contact [06]: keep section titles visible on mobile — the exit fade left an empty void at the top */
  .head.is-out, .contact__head.is-out { opacity: 1; transform: none; }

  /* Contact [06]: tighten the white panel and stack the channel row */
  .contact__head { margin-bottom: clamp(2rem, 7vw, 2.5rem); }
  .contact__head .head__idx { margin-bottom: 0.8rem; }
  .contact__lead { margin-top: 1.1rem; }
  .contact__channels { flex-direction: column; align-items: center; gap: 0.9rem; }
}

/* ---------- 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; }
  .reveal, .line__in { opacity: 1 !important; transform: none !important; }
  .cursor { display: none !important; }
  .ticker__track, .marquee__track { animation: none; }
}
