/* ==================================================================
   CRESCENT — HOME PAGE STYLES
   Order: base → utilities → components → sections → motion states
   ================================================================== */

/* ---------------- Base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--canvas);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: auto;
  overflow-x: hidden;
  width: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  position: relative;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: rgba(91, 192, 248, 0.3); color: var(--ink); }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 10px; }
.btn:focus-visible, .loc-tab:focus-visible { border-radius: var(--r-pill); }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 3000;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; font-weight: 500;
  transform: translateY(-160%); transition: transform var(--dur-1) var(--ease);
}
.skip-link:focus { transform: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------------- Layout utilities ---------------- */
.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.center { text-align: center; }
.section-head { margin-bottom: clamp(48px, 6vw, 88px); }
.section-head > * { max-width: 860px; }
.section-head.center > * { margin-inline: auto; }
.section-head .lead { margin-top: 22px; max-width: 620px; }
.section-head.center .lead { margin-inline: auto; }

/* ---------------- Typography ---------------- */
.h1, .h2, .h3, .h4, .display {
  font-family: var(--font-display);
  font-variation-settings: var(--display-axes);
  font-weight: 340;
  letter-spacing: var(--tracking-display);
  line-height: 1.02;
  color: var(--ink);
  transition: font-variation-settings 0.9s var(--ease), font-weight 0.9s var(--ease);
}
.h1 { font-size: var(--fs-h1); line-height: 1; font-weight: 320; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.08; font-weight: 380; }
.h4 { font-size: var(--fs-h4); line-height: 1.15; font-weight: 420; }
.h2:hover { font-variation-settings: var(--display-axes-soft); font-weight: 380; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--slate); }
.mono, .eyebrow {
  font-family: var(--font-mono); font-size: var(--fs-mono);
  text-transform: uppercase; letter-spacing: var(--tracking-mono); font-weight: 500;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--slate);
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px;
  background: linear-gradient(90deg, var(--amber), var(--sky), var(--lavender));
}
.center .eyebrow::after {
  content: ""; width: 28px; height: 1px;
  background: linear-gradient(90deg, var(--lavender), var(--sky), var(--amber));
}

/* Gradient-italic accent words with slow shimmer */
.accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  background-image: var(--grad-text);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
  padding-right: 0.04em;
}
/* When split into words, each word carries the gradient (keeps clip-text working inside masks) */
.accent.is-split { background: none; animation: none; color: inherit; }
.accent .wi {
  background-image: var(--grad-text);
  background-size: 300% 100%;
  background-position: calc(var(--k, 0) * 22%) 0;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
  animation-delay: calc(var(--k, 0) * -0.6s);
}
@keyframes shimmer { to { background-position: -300% 0; } }

/* Split text masks */
[data-split] .w {
  display: inline-block; vertical-align: top; overflow: hidden;
  padding: 0.08em 0.1em 0.16em; margin: -0.08em -0.1em -0.16em;
}
[data-split] .wi { display: inline-block; will-change: transform; }
html.js [data-split]:not(.is-split) { opacity: 0; }
html.js [data-split].is-split .wi {
  transform: translate3d(0, 112%, 0) rotate(3deg);
  transition: transform 1.15s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
html.js [data-split].is-in .wi { transform: none; }

/* Generic reveal */
html.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 26px, 0);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------- Living surface ---------------- */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb {
  --c: rgba(91, 192, 248, 0.35);
  position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  background: radial-gradient(circle at center, var(--c) 0%, transparent 62%);
  will-change: transform;
}
.orb--1 { --c: rgba(247, 201, 72, 0.30); left: -22vmax; top: -26vmax; }
.orb--2 { --c: rgba(91, 192, 248, 0.30); right: -26vmax; top: -10vmax; }
.orb--3 { --c: rgba(185, 163, 245, 0.26); left: 10vmax; bottom: -40vmax; }
.orb--4 { --c: rgba(142, 227, 208, 0.22); right: -10vmax; bottom: -30vmax; }

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

/* ---------------- Components ---------------- */
/* Glass card */
.card {
  position: relative;
  background: var(--card);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}

/* Chip */
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: var(--r-pill);
  font-size: 0.86rem; font-weight: 500; color: var(--ink-2);
}
.chip--glass {
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--hair-2); box-shadow: var(--shadow-1);
}
.chip__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: conic-gradient(var(--amber), var(--sky), var(--lavender), var(--amber));
  box-shadow: 0 0 0 4px rgba(91, 192, 248, 0.14);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(91, 192, 248, 0.05); } }

/* Icon */
.ico { width: 20px; height: 20px; flex: none; }
.ico--xs { width: 15px; height: 15px; }

/* Gradient icon tile */
.tile {
  display: inline-grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 15px;
  background: var(--grad-tile); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.8s var(--ease), box-shadow 0.8s var(--ease), border-radius 0.8s var(--ease);
}
.tile .ico { width: 22px; height: 22px; }
.tile--sm { width: 38px; height: 38px; border-radius: 12px; }
.tile--sm .ico { width: 18px; height: 18px; }
.tile--xs { width: 22px; height: 22px; border-radius: 7px; box-shadow: none; }
.tile--xs .ico { width: 13px; height: 13px; }
.tile--ink { background: var(--ink); }

/* Buttons */
.btn {
  --bh: 50px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 24px; border-radius: var(--r-pill);
  font-weight: 500; font-size: 0.98rem; letter-spacing: -0.005em; white-space: nowrap;
  transition: box-shadow 0.6s var(--ease), background-color 0.6s var(--ease), color 0.4s var(--ease);
  will-change: transform;
}
.btn__label { position: relative; display: inline-block; will-change: transform; }
.btn .ico { width: 18px; height: 18px; transition: transform 0.6s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--sm { --bh: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn--lg { --bh: 56px; padding: 0 28px; }
.btn--xl { --bh: 64px; padding: 0 34px; font-size: 1.05rem; }

.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -14px rgba(14, 26, 58, 0.55); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--grad-sheen); background-size: 160% 100%;
  transform: translateX(-101%); transition: transform 0.8s var(--ease);
}
.btn--primary:hover::before { transform: translateX(0); animation: sheen 3s linear infinite; }
.btn--primary:hover { box-shadow: 0 18px 40px -16px rgba(79, 70, 229, 0.6); }
@keyframes sheen { 50% { background-position: 100% 0; } }

.btn--glass {
  background: rgba(255, 255, 255, 0.6); color: var(--ink);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--hair-2); box-shadow: var(--shadow-1);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-2); }

.btn--white { background: #fff; color: var(--ink); box-shadow: 0 20px 50px -20px rgba(20, 20, 80, 0.55); }
.btn--white::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, #FFF6D6, #E6F5FF, #EFE8FF); opacity: 0; transition: opacity 0.6s var(--ease);
}
.btn--white:hover::before { opacity: 1; }

/* Underline-draw link */
.ulink { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.6s var(--ease); padding-bottom: 2px; }
.ulink:hover, .ulink:focus-visible { background-size: 100% 1px; }

/* Glow border that traces around a card on hover */
.glow-border::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px;
  background: var(--grad-glow);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.6s var(--ease); pointer-events: none;
}
.glow-border:hover::before { opacity: 1; animation: trace 3.2s linear infinite; }
@keyframes trace { to { --ang: 360deg; } }

/* ---------------- Preloader ---------------- */
.preloader {
  position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center;
  background: var(--canvas);
  animation: pl-out 0.5s var(--ease) 0.7s forwards;
}
.preloader::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40vmax 30vmax at 50% 50%, rgba(247, 201, 72, 0.22), transparent 70%),
              radial-gradient(40vmax 30vmax at 55% 60%, rgba(91, 192, 248, 0.2), transparent 70%);
}
html.no-preload .preloader { display: none; }
.preloader__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 18px; }
.preloader__moon { width: 88px; height: 88px; overflow: visible; }
.preloader__shadow { animation: pl-wax 0.62s var(--ease-quart) 0.05s forwards; }
.preloader__halo { opacity: 0; filter: blur(10px); transform-origin: 60px 60px; animation: pl-halo 0.6s var(--ease) 0.42s forwards; }
.preloader__word { overflow: hidden; font-family: var(--font-display); font-variation-settings: var(--display-axes); font-weight: 360; font-size: 1.7rem; letter-spacing: -0.02em; }
.preloader__word span { display: block; transform: translateY(110%); animation: pl-rise 0.6s var(--ease) 0.2s forwards; }
@keyframes pl-wax { to { transform: translateX(-96px); } }
@keyframes pl-halo { 50% { opacity: 0.9; } to { opacity: 0.55; transform: scale(1.35); } }
@keyframes pl-rise { to { transform: none; } }
@keyframes pl-out { to { transform: translateY(-100%); border-radius: 0 0 50% 50% / 0 0 12vh 12vh; visibility: hidden; } }

/* ---------------- Cursor ---------------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 2400; pointer-events: none; display: none; }
html.has-cursor .cursor { display: block; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor [role="option"] { cursor: none; }
html.has-cursor input, html.has-cursor textarea { cursor: text; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ink); }
.cursor__ring {
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 1px solid rgba(14, 26, 58, 0.3);
  display: grid; place-items: center;
  transition: width 0.5s var(--ease), height 0.5s var(--ease), margin 0.5s var(--ease), background-color 0.5s var(--ease), border-color 0.5s var(--ease), opacity 0.3s;
}
.cursor__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity 0.3s; white-space: nowrap; }
.cursor.is-hover .cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: rgba(14, 26, 58, 0.18); background: rgba(91, 192, 248, 0.12); }
.cursor.has-label .cursor__ring {
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  background: rgba(255, 255, 255, 0.72); border-color: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -10px rgba(30, 50, 120, 0.35);
}
.cursor.has-label .cursor__label { opacity: 1; }
.cursor.has-label .cursor__dot, .cursor.is-text .cursor__dot { opacity: 0; }
.cursor.is-text .cursor__ring { opacity: 0; }
.cursor.is-down .cursor__ring { transform: scale(0.85); }

/* ---------------- Scroll progress moon ---------------- */
.moon-progress {
  position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: 800;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--hair-2);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow-1);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), opacity 0.6s;
}
.moon-progress svg { width: 44px; height: 44px; }
.moon-progress:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.moon-progress__shadow { will-change: transform; }

/* ---------------- Navigation ---------------- */
.cr-nav {
  position: fixed; top: 14px; left: 50%; z-index: 1000;
  width: min(1180px, calc(100% - 24px));
  transform: translate3d(-50%, 0, 0);
  transition: transform 0.7s var(--ease);
}
.cr-nav.is-hidden { transform: translate3d(-50%, calc(-100% - 24px), 0); }
.nav__pill {
  display: flex; align-items: center; gap: 12px;
  /* 30px = half the 60px bar height: identical to a full pill, but animates cleanly to the "joined" shape */
  padding: 8px 8px 8px 16px; border-radius: 30px;
  background: rgba(255, 255, 255, 0.66);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 0 var(--hair) inset, var(--shadow-2);
  transition: background-color 0.4s var(--ease), border-radius 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cr-nav.is-scrolled .nav__pill { background: rgba(255, 255, 255, 0.8); }
/* Desktop: brand | links (true centre of the bar) | CTA */
@media (min-width: 1024px) {
  .nav__pill { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav__brand { justify-self: start; margin-right: 0; }
  .nav__links { justify-self: center; }
  .nav__cta { justify-self: end; }
}
/* Mega open: bar + panel become one continuous card (flat seam, shared surface, single shadow) */
.cr-nav.has-mega .nav__pill {
  border-radius: 28px 28px 0 0;
  background: rgba(255, 253, 248, 0.96);
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 var(--hair) inset;
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-variation-settings: var(--display-axes); font-weight: 420; font-size: 1.22rem; letter-spacing: -0.02em; margin-right: auto; }
.logo-mark { width: 30px; height: 30px; flex: none; transition: transform 1.2s var(--ease); }
.nav__brand:hover .logo-mark { transform: rotate(-24deg) scale(1.06); }

.nav__links { position: relative; }
.nav__links ul { display: flex; gap: 2px; }
.nav__link {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px;
  height: 40px; padding: 0 16px; border-radius: var(--r-pill);
  font-size: 0.94rem; font-weight: 500; color: var(--ink-2);
}
.nav__link .ico { transition: transform 0.5s var(--ease); }
.nav__link[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav__indicator {
  position: absolute; top: 0; left: 0; height: 40px; width: 0; border-radius: var(--r-pill);
  background: rgba(14, 26, 58, 0.06); box-shadow: inset 0 0 0 1px rgba(14, 26, 58, 0.04);
  transition: transform 0.55s var(--ease), width 0.55s var(--ease), opacity 0.3s;
  pointer-events: none;
}
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); place-items: center; position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform 0.6s var(--ease); }
.nav__burger span:first-child { transform: translateY(-4px); }
.nav__burger span:last-child { transform: translateY(4px); }
.nav__burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* Mega menu */
.mega {
  --mega-blue: #1D4A9E;
  position: absolute; left: 50%; top: 100%; width: 100%; /* exactly the bar's width */
  padding: 18px; border-radius: 0 0 var(--r-lg) var(--r-lg);
  background: rgba(255, 253, 248, 0.96);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.8); border-top: 1px solid var(--hair-2);
  box-shadow: 0 30px 60px -28px rgba(30, 50, 120, 0.30);
  /* Fades in place (no slide) so it never detaches from the nav bar while opening. */
  transform: translate3d(-50%, 0, 0); opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.mega[hidden] { display: block; visibility: hidden; pointer-events: none; }
.mega.is-open { opacity: 1; transform: translate3d(-50%, 0, 0); visibility: visible; pointer-events: auto; }
.mega__layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: stretch; }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 10px; align-content: center; }
.mega__item {
  position: relative; display: flex; align-items: center; gap: 14px;
  min-height: 62px; padding: 12px 12px; border-radius: 16px;
  font-size: 0.98rem; font-weight: 500; color: var(--ink);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
/* Stagger only the entrance (opacity/transform) — hover colours must react instantly. */
.mega.is-open .mega__item {
  opacity: 1; transform: none;
  transition-delay: calc(var(--i, 0) * 28ms), calc(var(--i, 0) * 28ms), 0s, 0s;
}
.mega__item:hover, .mega__item:focus-visible, .mega__item.is-current {
  background: #fff; box-shadow: 0 1px 2px rgba(14, 26, 58, 0.04), 0 10px 26px -16px rgba(14, 26, 58, 0.22);
}
.mega__tile {
  display: inline-grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 11px;
  background: #fff; color: var(--mega-blue);
  border: 1px solid var(--hair-2); box-shadow: 0 2px 6px -2px rgba(14, 26, 58, 0.10);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.6s var(--ease);
}
.mega__tile .ico { width: 18px; height: 18px; }
.mega__item:hover .mega__tile, .mega__item:focus-visible .mega__tile, .mega__item.is-current .mega__tile {
  background: #FFF1B8; border-color: rgba(247, 201, 72, 0.55); transform: rotate(-6deg);
}

/* Preview card */
.mega__preview {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 26px 20px 24px; border-radius: 22px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.75) 0%, rgba(239, 245, 250, 0.85) 100%);
  border: 1px solid var(--hair-2);
}
.mega__preview::after {
  content: ""; position: absolute; right: -60px; top: 30%; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 192, 248, 0.45), transparent 65%); pointer-events: none;
}
.mega__pv-body > * { will-change: opacity, transform; }
/* Name and tagline always stay on one line (card is sized for the longest: "Turning attention into measurable results.") */
.mega__label { white-space: nowrap; }
@media (max-width: 1099px) { .mega__label { white-space: normal; } }
.mega__pv-name, .mega__pv-tag { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega__pv-icon { display: block; color: var(--mega-blue); margin-bottom: 18px; }
.mega__pv-icon .ico { width: 40px; height: 40px; stroke-width: 1.6; }
.mega__pv-name {
  font-family: var(--font-display); font-variation-settings: var(--display-axes); font-weight: 400;
  font-size: 1.6rem; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 10px;
}
.mega__pv-tag { font-size: 0.92rem; line-height: 1.55; color: var(--slate); margin: 0; }
.mega__all {
  position: relative; z-index: 1; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.92rem; font-weight: 500; color: var(--mega-blue);
}
.mega__all .ico { transition: transform 0.4s var(--ease); }
.mega__all:hover span { text-decoration: underline; text-underline-offset: 3px; }
.mega__all:hover .ico { transform: translate(2px, -2px); }

@media (max-width: 1180px) {
  .mega__layout { grid-template-columns: minmax(0, 1fr) 310px; }
  .mega__preview { padding-inline: 20px; }
  .mega__pv-name { font-size: 1.45rem; }
  .mega__pv-tag { font-size: 0.84rem; }
  .mega__grid { gap: 4px 8px; }
  .mega__item { padding: 10px 12px; gap: 12px; font-size: 0.93rem; }
}

/* Mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 990; overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: clamp(86px, 11vh, 106px) var(--gutter) max(32px, env(safe-area-inset-bottom));
  background: radial-gradient(70vmax 50vmax at 0% 0%, rgba(247, 201, 72, 0.28), transparent 60%),
              radial-gradient(70vmax 50vmax at 100% 30%, rgba(91, 192, 248, 0.28), transparent 60%),
              radial-gradient(60vmax 50vmax at 30% 100%, rgba(185, 163, 245, 0.25), transparent 60%),
              var(--canvas);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0.7s;
  visibility: hidden;
}
.mmenu[hidden] { display: block; }
.mmenu.is-open {
  clip-path: inset(0);
  visibility: visible;
  transition: clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.mmenu__inner {
  max-width: 520px;
  margin-inline: auto;
}
.mmenu__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.mmenu__links li,
.mmenu__item {
  border-bottom: 1px solid var(--hair-2);
}
.mmenu__links li:last-child,
.mmenu__item:last-child {
  border-bottom: none;
}
.mmenu__row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  box-sizing: border-box;
}
.mmenu__link {
  flex: 1;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal !important;
  font-size: clamp(2rem, 7.2vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}
.mmenu__link.is-current {
  color: var(--navy);
  font-style: normal !important;
  font-weight: 500;
}
.mmenu__link-text {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.mmenu.is-open .mmenu__link-text {
  transform: none;
  opacity: 1;
}
.mmenu.is-open .mmenu__links li:nth-child(1) .mmenu__link-text { transition-delay: 0.10s; }
.mmenu.is-open .mmenu__links li:nth-child(2) .mmenu__link-text { transition-delay: 0.16s; }
.mmenu.is-open .mmenu__links li:nth-child(3) .mmenu__link-text { transition-delay: 0.22s; }
.mmenu.is-open .mmenu__links li:nth-child(4) .mmenu__link-text { transition-delay: 0.28s; }
.mmenu.is-open .mmenu__links li:nth-child(5) .mmenu__link-text { transition-delay: 0.34s; }

.mmenu__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--hair-2);
  color: var(--slate);
  box-shadow: 0 2px 8px rgba(14, 26, 58, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  text-decoration: none;
}
button.mmenu__arrow {
  cursor: pointer;
  font: inherit;
  padding: 0;
  margin: 0;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
}
.mmenu__row:hover .mmenu__arrow,
.mmenu__row:active .mmenu__arrow,
button.mmenu__arrow:hover,
button.mmenu__arrow:active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.mmenu__row:hover .mmenu__arrow:not(.mmenu__arrow--down),
.mmenu__row:active .mmenu__arrow:not(.mmenu__arrow--down) {
  transform: translate(2px, -2px);
}
.mmenu__arrow--down {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, color 0.2s ease;
}
.mmenu__item--has-sub.is-expanded .mmenu__arrow--down {
  transform: rotate(180deg);
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Accordion Submenu under Services */
.mmenu__sub {
  display: none;
}
.mmenu__item--has-sub.is-expanded .mmenu__sub {
  display: block;
  animation: mmenuSubExpand 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes mmenuSubExpand {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.mmenu__sub-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px 0 16px;
}
.mmenu__all-services {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--hair-2);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.mmenu__all-services:hover {
  background: #fff;
  border-color: rgba(91, 192, 248, 0.45);
}
.mmenu__services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.mmenu__svc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  min-height: 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--hair-2);
  box-shadow: 0 2px 8px rgba(14, 26, 58, 0.03);
  text-decoration: none;
  color: var(--ink);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.mmenu__svc-item:hover,
.mmenu__svc-item:active {
  background: #ffffff;
  border-color: rgba(91, 192, 248, 0.45);
  box-shadow: 0 4px 16px rgba(91, 192, 248, 0.18);
  transform: translateY(-1px);
}
.mmenu__svc-tile {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(91, 192, 248, 0.18), rgba(185, 163, 245, 0.18));
  color: var(--sky-deep);
}
.mmenu__svc-name {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile menu footer */
.mmenu__footer {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease) 0.42s, transform 0.6s var(--ease) 0.42s;
}
.mmenu.is-open .mmenu__footer {
  opacity: 1;
  transform: none;
}
.mmenu__cta {
  width: 100%;
  justify-content: center;
  min-height: 50px;
  font-size: 0.94rem;
  box-shadow: 0 8px 22px rgba(14, 26, 58, 0.12);
}
.mmenu__contact {
  display: flex;
  flex-direction: column;
  padding: 4px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hair-2);
  box-shadow: 0 4px 18px rgba(14, 26, 58, 0.04);
}
.mmenu__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s ease;
}
.mmenu__contact-item + .mmenu__contact-item {
  position: relative;
}
.mmenu__contact-item + .mmenu__contact-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 56px;
  right: 14px;
  height: 1px;
  background: var(--hair);
}
.mmenu__contact-item:hover,
.mmenu__contact-item:active {
  background: rgba(91, 192, 248, 0.08);
}
.mmenu__contact-tile {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(91, 192, 248, 0.18), rgba(185, 163, 245, 0.18));
  color: var(--sky-deep);
  transition: transform 0.25s ease, background 0.25s ease;
}
.mmenu__contact-item:hover .mmenu__contact-tile,
.mmenu__contact-item:active .mmenu__contact-tile {
  transform: scale(1.05);
  background: linear-gradient(135deg, rgba(91, 192, 248, 0.28), rgba(185, 163, 245, 0.28));
}
.mmenu__contact-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mmenu__contact-lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-soft);
  line-height: 1;
}
.mmenu__contact-val {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}
.mmenu__contact-arrow {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--slate-soft);
  background: rgba(14, 26, 58, 0.04);
  transition: all 0.2s ease;
}
.mmenu__contact-item:hover .mmenu__contact-arrow,
.mmenu__contact-item:active .mmenu__contact-arrow {
  background: var(--ink);
  color: #fff;
  transform: translate(2px, -2px);
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 140px 0 120px; overflow: hidden; isolation: isolate;
}
.hero__mesh { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob--amber { width: 62vmax; height: 62vmax; left: -14vmax; top: -24vmax; background: radial-gradient(circle, rgba(247, 201, 72, 0.55), transparent 62%); animation: drift-a 22s ease-in-out infinite alternate; }
.blob--sky   { width: 66vmax; height: 66vmax; right: -20vmax; top: -18vmax; background: radial-gradient(circle, rgba(91, 192, 248, 0.5), transparent 62%); animation: drift-b 26s ease-in-out infinite alternate; }
.blob--lav   { width: 56vmax; height: 56vmax; right: 4vmax; bottom: -30vmax; background: radial-gradient(circle, rgba(185, 163, 245, 0.5), transparent 62%); animation: drift-c 24s ease-in-out infinite alternate; }
.blob--mint  { width: 46vmax; height: 46vmax; left: 6vmax; bottom: -22vmax; background: radial-gradient(circle, rgba(142, 227, 208, 0.45), transparent 62%); animation: drift-b 28s ease-in-out infinite alternate-reverse; }
.hero__light {
  position: absolute; left: 0; top: 0; width: 46vmax; height: 46vmax; margin: -23vmax 0 0 -23vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), rgba(255, 244, 214, 0.35) 30%, transparent 62%);
  transform: translate3d(var(--lx, 50vw), var(--ly, 40vh), 0); will-change: transform; mix-blend-mode: soft-light;
}
@keyframes drift-a { to { transform: translate3d(12vmax, 8vmax, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(-10vmax, 10vmax, 0) scale(0.92); } }
@keyframes drift-c { to { transform: translate3d(-14vmax, -8vmax, 0) scale(1.08); } }
.hero::after { /* soft fade into canvas */
  content: ""; position: absolute; inset: auto 0 0; height: 22vh; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--canvas));
}
.hero__content { position: relative; z-index: 2; max-width: 1180px; will-change: transform, opacity; }
.hero__eyebrow { margin-bottom: 32px; }
.hero__title { max-width: 16.5ch; margin-inline: auto; }
.hero__sub { max-width: 640px; margin: 32px auto 0; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

html.js [data-hero-fade] { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
html.js .hero.is-in [data-hero-fade] { opacity: 1; transform: none; }

/* Constellation */
.constellation { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.constellation__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.constellation__lines line { stroke: url(#cn-grad); stroke-width: 1; stroke-linecap: round; fill: none; }
.node { position: absolute; left: var(--x); top: var(--y); will-change: transform; }
.node__in {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 6px 12px 6px 6px; border-radius: var(--r-pill);
  font-size: 0.8rem; font-weight: 500; color: var(--ink-2);
  background: rgba(255, 255, 255, 0.58);
  -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px -14px rgba(30, 50, 120, 0.35);
  transform: translate(-50%, -50%);
  animation: float 7s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.9s);
}
html.js .node { opacity: 0; transition: opacity 1.2s var(--ease); }
html.js .hero.is-in .node { opacity: 1; }
@keyframes float { 50% { transform: translate(-50%, calc(-50% - 8px)); } }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; z-index: 2; translate: -50% 0; display: inline-flex; align-items: center; gap: 10px; color: var(--slate); min-height: 44px; }
.scroll-hint svg { width: 20px; height: 20px; }
.scroll-hint__shadow { animation: hint-wax 2.8s var(--ease) infinite; }
@keyframes hint-wax { 0% { transform: translateX(0); } 60%, 100% { transform: translateX(-15px); } }

/* ---------------- Stats ---------------- */
.stats { position: relative; z-index: 2; margin-top: -40px; }
.stats__list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.85); border-radius: var(--r-xl); box-shadow: var(--shadow-2);
}
.stat { position: relative; padding: clamp(28px, 3.4vw, 48px) clamp(20px, 2.6vw, 40px); transition: transform 0.7s var(--ease); }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px;
  background: linear-gradient(transparent, var(--hair-3), transparent);
  transform: scaleY(0); transition: transform 1.2s var(--ease) 0.3s;
}
.stat.is-in::before { transform: scaleY(1); }
.stat__glow { position: absolute; inset: 10% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(91, 192, 248, 0.2), rgba(185, 163, 245, 0.12) 40%, transparent 70%); opacity: 0; transition: opacity 0.8s var(--ease); z-index: -1; filter: blur(6px); }
.stat:hover { transform: translateY(-6px); }
.stat:hover .stat__glow { opacity: 1; }
.stat__value {
  display: flex; align-items: flex-start; height: 1em; overflow: hidden;
  font-family: var(--font-display); font-variation-settings: var(--display-axes); font-weight: 320;
  font-size: clamp(3rem, 5.2vw, 5rem); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: lining-nums tabular-nums;
}
.stat__value .r-col { display: flex; flex-direction: column; align-items: center; transition-property: transform, width; transform: translateY(0); transition: transform 1.8s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.stat__value .r-col span, .stat__value .r-fix { display: block; height: 1em; line-height: 1; }
.stat__value .r-fix { background-image: var(--grad-text); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { display: block; margin-top: 16px; color: var(--slate); }

/* ---------------- Logos marquee ---------------- */
.logos { padding-bottom: calc(var(--section-y) * 0.7); }
.marquee { display: grid; gap: 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__row { overflow: hidden; padding-block: 10px; }
.marquee__track { display: flex; gap: 16px; width: max-content; will-change: transform; }
.logo-tile {
  display: grid; place-items: center; width: clamp(150px, 15vw, 196px); height: clamp(80px, 8vw, 100px);
  padding: 18px 26px; border-radius: var(--r-md);
  background: #ffffff; border: 1px solid var(--hair); box-shadow: var(--shadow-1);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), background-color 0.6s;
}
.logo-tile img { width: auto; height: auto; max-height: 48px; max-width: 100%; object-fit: contain; filter: none; opacity: 1; mix-blend-mode: multiply; transition: transform 0.4s var(--ease); }
.logo-tile:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow-glow); }
.logo-tile:hover img { transform: scale(1.06); }

/* ---------------- Services bento ---------------- */
.bento {
  position: relative; display: grid; gap: 18px;
  grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(230px, auto);
}
.bento__net { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; pointer-events: none; }
.bento__net line { stroke: rgba(14, 26, 58, 0.14); stroke-width: 1; transition: stroke 0.5s, stroke-width 0.5s, opacity 0.5s; }
.bento__net line.is-lit { stroke: url(#net-grad); stroke-width: 2.2; filter: drop-shadow(0 0 6px rgba(91, 192, 248, 0.7)); }
.bento__net circle { fill: var(--sky); opacity: 0.6; }

.svc {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  z-index: 1; display: flex; flex-direction: column; gap: 18px; overflow: hidden;
  padding: clamp(22px, 2.2vw, 32px); border-radius: var(--r-lg);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease), border-color 0.5s;
  transform-style: preserve-3d;
}
.svc:hover { box-shadow: var(--shadow-glow); border-color: rgba(91, 192, 248, 0.25); }
html.js .svc.is-tilting, .svc.is-tilting { transition: transform 0.15s linear, box-shadow 0.7s var(--ease), opacity 1s var(--ease), translate 1.2s var(--ease); }
.card__spot { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.5s; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(91, 192, 248, 0.16), rgba(185, 163, 245, 0.10) 35%, transparent 65%); }
.svc:hover .card__spot { opacity: 1; }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc__index { color: var(--slate-soft); }
.svc:hover .tile { transform: rotate(-10deg) scale(1.08); border-radius: 50%; background: var(--grad-tile-h); box-shadow: 0 14px 30px -10px rgba(79, 70, 229, 0.6), 0 0 0 6px rgba(91, 192, 248, 0.14); }
.svc__visual { position: relative; flex: 1; min-height: 96px; display: grid; place-items: center; }
.svc__body { display: grid; gap: 6px; }
.svc__service { color: var(--slate); font-size: 0.68rem; }
.svc__title { font-family: var(--font-display); font-variation-settings: var(--display-axes); font-weight: 360; font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.05; letter-spacing: -0.02em; transition: font-variation-settings 0.8s var(--ease), font-weight 0.8s var(--ease); }
.svc:hover .svc__title { font-weight: 480; font-variation-settings: var(--display-axes-soft); }
.svc__tagline { color: var(--slate); font-size: 0.98rem; }
.svc__arrow { position: absolute; right: clamp(22px, 2.2vw, 32px); bottom: clamp(22px, 2.2vw, 32px); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; opacity: 0; transform: translate(-10px, 10px) scale(0.8); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.svc:hover .svc__arrow, .svc:focus-visible .svc__arrow { opacity: 1; transform: none; }
.svc--xl .svc__title { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.svc--lg .svc__title { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.svc--xl .svc__visual, .svc--lg .svc__visual { min-height: 190px; }

/* Bento placement (desktop) */
.svc--web        { grid-column: 1 / span 7;  grid-row: 1 / span 2; }
.svc--seo        { grid-column: 8 / span 5;  grid-row: 1 / span 2; }
.svc--perf       { grid-column: 1 / span 5;  grid-row: 3 / span 2; }
.svc--video      { grid-column: 6 / span 4;  grid-row: 3; }
.svc--photo      { grid-column: 10 / span 3; grid-row: 3; }
.svc--design     { grid-column: 6 / span 3;  grid-row: 4; }
.svc--content    { grid-column: 9 / span 4;  grid-row: 4; }
.svc--influencer { grid-column: 1 / span 6;  grid-row: 5; }
.svc--writing    { grid-column: 7 / span 6;  grid-row: 5; }

html.js .svc { opacity: 0; translate: 0 40px; transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease), opacity 1s var(--ease), translate 1.2s var(--ease); transition-delay: 0s, 0s, calc(var(--d, 0) * 1ms), calc(var(--d, 0) * 1ms); }
html.js .svc.is-in { opacity: 1; translate: 0 0; }

/* Micro visuals — paused when off-screen */
.svc:not(.is-live) .svc__visual *, .svc:not(.is-live) .svc__visual *::before, .svc:not(.is-live) .svc__visual *::after { animation-play-state: paused !important; }

/* Web: browser wireframe building itself */
.v-web { width: min(100%, 460px); border-radius: 14px; background: rgba(255, 255, 255, 0.85); border: 1px solid var(--hair-2); box-shadow: var(--shadow-1); overflow: hidden; }
.v-web__bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; border-bottom: 1px solid var(--hair); }
.v-web__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--hair-3); }
.v-web__bar b { flex: 1; height: 8px; margin-left: 10px; border-radius: 4px; background: rgba(14, 26, 58, 0.06); }
.v-web__page { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; padding: 14px; }
.v-web__page > * { animation: build 6s var(--ease) infinite; transform-origin: left; }
.v-web__nav { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: rgba(14, 26, 58, 0.08); animation-delay: 0s; }
.v-web__hero { display: grid; gap: 7px; align-content: start; animation-delay: 0.3s; }
.v-web__hero span { height: 11px; border-radius: 6px; background: var(--ink); opacity: 0.85; }
.v-web__hero span:nth-child(2) { width: 70%; opacity: 0.35; }
.v-web__hero .v-web__btn { width: 42%; height: 16px; background: var(--grad-tile); opacity: 1; margin-top: 6px; border-radius: 9px; }
.v-web__img { height: 74px; border-radius: 10px; background: linear-gradient(135deg, rgba(247, 201, 72, 0.6), rgba(91, 192, 248, 0.6), rgba(185, 163, 245, 0.6)); animation-delay: 0.6s; }
.v-web__cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; animation-delay: 0.9s; }
.v-web__cards span { height: 34px; border-radius: 8px; background: rgba(14, 26, 58, 0.05); border: 1px solid var(--hair); }
@keyframes build { 0% { opacity: 0; transform: scaleX(0.3); } 12%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* SEO: typing search + ranking climb */
.v-seo { width: min(100%, 380px); display: grid; gap: 12px; }
.v-seo__search { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--hair-2); box-shadow: var(--shadow-1); font-size: 0.85rem; color: var(--ink-2); }
.v-seo__search svg { width: 16px; height: 16px; color: var(--sky-deep); }
.v-seo__type { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; border-right: 1.5px solid var(--ink); animation: type 6s steps(19) infinite; }
@keyframes type { 0% { width: 0; } 35%, 85% { width: 19ch; } 100% { width: 0; } }
.v-seo__results { position: relative; display: grid; gap: 8px; }
.v-seo__row, .v-seo__you { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.65); border: 1px solid var(--hair); }
.v-seo__row b, .v-seo__you b { font: 500 0.7rem var(--font-mono); color: var(--slate-soft); width: 20px; }
.v-seo__row i, .v-seo__you i { flex: 1; height: 7px; border-radius: 4px; background: rgba(14, 26, 58, 0.08); }
.v-seo__you { position: absolute; left: 0; right: 0; top: 0; background: #fff; border-color: rgba(91, 192, 248, 0.5); box-shadow: var(--shadow-glow); animation: climb 6s var(--ease) infinite; }
.v-seo__you b { color: var(--sky-deep); }
.v-seo__you i { background: var(--grad-tile); opacity: 0.7; }
.v-seo__you em { font: italic 400 0.85rem var(--font-display); color: var(--indigo-deep); }
@keyframes climb { 0%, 30% { transform: translateY(126px); opacity: 0; } 40% { transform: translateY(84px); opacity: 1; } 55% { transform: translateY(42px); } 70%, 90% { transform: translateY(0); opacity: 1; } 100% { opacity: 0; } }

/* Performance: ROAS chart */
.v-perf { position: relative; width: 100%; max-width: 420px; }
.v-perf svg { width: 100%; height: 170px; overflow: visible; }
.v-perf__label { position: absolute; top: -4px; left: 0; padding: 6px 10px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--hair-2); box-shadow: var(--shadow-1); color: var(--slate); }
.v-perf__label strong { color: var(--ink); font-weight: 500; }
.v-perf__bars rect { fill: rgba(91, 192, 248, 0.22); transform-box: fill-box; transform-origin: bottom; animation: bar 5s var(--ease) infinite; }
.v-perf__bars rect:nth-child(2) { animation-delay: 0.12s; } .v-perf__bars rect:nth-child(3) { animation-delay: 0.24s; }
.v-perf__bars rect:nth-child(4) { animation-delay: 0.36s; } .v-perf__bars rect:nth-child(5) { animation-delay: 0.48s; fill: rgba(185, 163, 245, 0.4); }
.v-perf__line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 5s var(--ease) infinite; }
.v-perf__area { animation: fade 5s var(--ease) infinite; }
@keyframes bar { 0% { transform: scaleY(0); } 25%, 85% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes draw { 0% { stroke-dashoffset: 1; } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes fade { 0%, 20% { opacity: 0; } 45%, 85% { opacity: 1; } 100% { opacity: 0; } }

/* Video: timeline scrubbing */
.v-video { width: 100%; display: grid; gap: 10px; }
.v-video__frame { height: 64px; border-radius: 12px; background: linear-gradient(120deg, rgba(91, 192, 248, 0.45), rgba(185, 163, 245, 0.45), rgba(247, 201, 72, 0.4)); background-size: 200% 100%; animation: shimmer 6s linear infinite; display: grid; place-items: center; }
.v-video__play { width: 0; height: 0; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; filter: drop-shadow(0 2px 6px rgba(14, 26, 58, 0.3)); }
.v-video__timeline { position: relative; display: grid; gap: 5px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--hair); }
.v-video__track { display: flex; gap: 3px; }
.v-video__track i { width: var(--w); height: 12px; border-radius: 4px; background: rgba(91, 192, 248, 0.45); }
.v-video__track--b i { background: rgba(185, 163, 245, 0.45); }
.v-video__head { position: absolute; top: 3px; bottom: 3px; left: 8px; width: 2px; border-radius: 2px; background: var(--ink); animation: scrub 4s ease-in-out infinite alternate; }
.v-video__head::before { content: ""; position: absolute; top: -3px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
@keyframes scrub { to { left: calc(100% - 10px); } }

/* Photo: before/after */
.v-photo { position: relative; width: 100%; height: 110px; border-radius: 14px; overflow: hidden; }
.v-photo__img { position: absolute; inset: 0; background: radial-gradient(circle at 70% 35%, #FFE38A 0 12%, transparent 13%), linear-gradient(180deg, #9FD8F7 0 55%, #3E9BD8 55% 100%); }
.v-photo__img--before { filter: grayscale(0.9) contrast(0.8) brightness(1.05); }
.v-photo__img--after { clip-path: inset(0 0 0 50%); animation: reveal-x 5s ease-in-out infinite alternate; }
.v-photo__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; box-shadow: 0 0 10px rgba(14, 26, 58, 0.25); animation: handle-x 5s ease-in-out infinite alternate; }
.v-photo__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); }
@keyframes reveal-x { from { clip-path: inset(0 0 0 85%); } to { clip-path: inset(0 0 0 15%); } }
@keyframes handle-x { from { left: 85%; } to { left: 15%; } }

/* Design: shape morph */
.v-design { position: relative; width: 110px; height: 110px; display: grid; place-items: center; }
.v-design__shape { width: 64px; height: 64px; background: linear-gradient(135deg, var(--amber), var(--sky) 50%, var(--lavender)); animation: morph 8s var(--ease) infinite; box-shadow: 0 16px 30px -14px rgba(79, 70, 229, 0.5); }
.v-design__ring { position: absolute; inset: 8px; border: 1px dashed var(--hair-3); border-radius: 50%; animation: spin 18s linear infinite; }
@keyframes morph {
  0%, 100% { border-radius: 50%; transform: rotate(0); }
  25% { border-radius: 18px; transform: rotate(45deg); }
  50% { border-radius: 50% 50% 50% 8px; transform: rotate(90deg) scale(0.92); }
  75% { border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%; transform: rotate(180deg); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Content: chat bubbles */
.v-chat { width: 100%; max-width: 300px; display: grid; gap: 8px; }
.v-chat__b { display: grid; gap: 5px; padding: 10px 14px; border-radius: 16px; max-width: 75%; opacity: 0; animation: bubble 6s var(--ease) infinite; }
.v-chat__b i { display: block; height: 6px; border-radius: 3px; background: currentColor; opacity: 0.35; }
.v-chat__b i:nth-child(2) { width: 60%; }
.v-chat__b--in { justify-self: start; background: #fff; border: 1px solid var(--hair-2); color: var(--ink); border-bottom-left-radius: 4px; }
.v-chat__b--out { justify-self: end; width: 55%; background: var(--grad-tile); color: #fff; border-bottom-right-radius: 4px; animation-delay: 0.8s; }
.v-chat__b--out i { opacity: 0.8; }
.v-chat__b--typing { display: flex; gap: 4px; animation-delay: 1.6s; }
.v-chat__b--typing em { width: 6px; height: 6px; border-radius: 50%; background: var(--slate-soft); animation: dot 1.2s ease-in-out infinite; }
.v-chat__b--typing em:nth-child(2) { animation-delay: 0.15s; } .v-chat__b--typing em:nth-child(3) { animation-delay: 0.3s; }
@keyframes bubble { 0% { opacity: 0; transform: translateY(10px) scale(0.95); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes dot { 50% { transform: translateY(-3px); opacity: 0.4; } }

/* Influencer: creator avatars linking */
.v-inf { position: relative; width: 100%; max-width: 360px; height: 90px; }
.v-inf svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.v-inf path { fill: none; stroke: url(#mp-g); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 5s var(--ease) infinite; }
.v-inf path + path { animation-delay: 0.4s; opacity: 0.6; }
.v-inf__a { position: absolute; left: var(--l); top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.9) 0 16%, transparent 17%), radial-gradient(ellipse 40% 30% at 50% 88%, rgba(255, 255, 255, 0.9) 0 98%, transparent 100%), linear-gradient(135deg, var(--c1), var(--c2)); border: 3px solid #fff; box-shadow: var(--shadow-1); animation: pop 5s var(--ease) infinite; }
.v-inf__a--hub { width: 56px; height: 56px; margin: -28px 0 0 -28px; animation-delay: 0.2s; }
.v-inf__a:last-of-type { animation-delay: 0.4s; }
@keyframes pop { 0%, 100% { transform: scale(0.9); } 15%, 80% { transform: scale(1); } 40% { box-shadow: 0 0 0 8px rgba(91, 192, 248, 0.15); } }

/* Writing: typewriter */
.v-write { width: 100%; padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--hair); }
.v-write__line { display: inline-block; overflow: hidden; white-space: nowrap; max-width: 100%; width: 0; font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--ink); border-right: 2px solid var(--sky-deep); animation: type-w 7s steps(24) infinite, caret 0.8s step-end infinite; }
@keyframes type-w { 0% { width: 0; } 45%, 85% { width: 24ch; } 100% { width: 0; } }
@keyframes caret { 50% { border-color: transparent; } }

/* ---------------- About ---------------- */
.about .section-head { margin-bottom: clamp(28px, 5vw, 48px); }
.about .h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.025em; line-height: 1.15; }
.pillars { display: grid; gap: clamp(40px, 6vw, 80px); }
.pillar { display: grid; grid-template-columns: 7fr 5fr; align-items: center; gap: clamp(24px, 4vw, 64px); --p: 0; }
.pillar:nth-child(even) { grid-template-columns: 5fr 7fr; }
.pillar:nth-child(even) .pillar__word { order: 2; text-align: right; }
.pillar__word {
  position: relative;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(5rem, 15vw, 15.5rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  user-select: none;
  white-space: nowrap;
}
.pillar__outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.1px rgba(14, 26, 58, 0.28);
}
.pillar__fill {
  position: absolute; inset: 0; display: block;
  background-image: var(--grad-text);
  background-size: 220% 100%;
  background-position: calc(var(--p) * -60%) 0;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0);
}
.pillar:nth-child(even) .pillar__fill {
  clip-path: inset(0 0 0 calc((1 - var(--p)) * 100%));
}
.pillar__card {
  padding: clamp(24px, 3.2vw, 40px);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(14, 26, 58, 0.08);
  border-radius: 22px;
  box-shadow: 0 4px 24px -2px rgba(14, 26, 58, 0.04), 0 1px 3px rgba(14, 26, 58, 0.02);
  opacity: calc(0.25 + var(--p) * 0.75);
  transform: translateY(calc((1 - var(--p)) * 30px));
}
.pillar__card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 12px 0 10px;
}
.pillar__card p {
  color: var(--slate);
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  line-height: 1.56;
  margin: 0;
}
.pillar__n {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--slate-soft);
}
html:not(.js) .pillar, html.rm .pillar { --p: 1; }

/* ---------------- Process ---------------- */
.process__track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); padding-top: 34px; }
.process__line { position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: var(--hair-2); }
.process__fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--amber), var(--sky), var(--lavender)); box-shadow: 0 0 14px rgba(91, 192, 248, 0.7); transform-origin: left; transform: scaleX(var(--pf, 1)); }
.step { position: relative; --a: 1; transition: filter 0.8s var(--ease), opacity 0.8s var(--ease); }
.step__dot { position: absolute; top: -34px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--canvas); border: 2px solid var(--hair-3); transition: border-color 0.6s, box-shadow 0.6s, background 0.6s; }
.step.is-active .step__dot, .step.is-done .step__dot { background: #fff; border-color: var(--sky-deep); box-shadow: 0 0 0 6px rgba(91, 192, 248, 0.18); }
.step__num { position: relative; display: block; font-family: var(--font-display); font-variation-settings: var(--display-axes); font-weight: 400; font-size: clamp(4.5rem, 8vw, 8rem); line-height: 0.9; letter-spacing: -0.05em; margin-bottom: 18px; }
.step__num-o { color: transparent; -webkit-text-stroke: 1.2px rgba(14, 26, 58, 0.25); }
.step__num-f { position: absolute; inset: 0; background-image: var(--grad-text); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease); }
.step.is-active .step__num-f, .step.is-done .step__num-f, html:not(.process-live) .step__num-f { clip-path: inset(0); }
.step__art { display: block; width: 100%; max-width: 260px; aspect-ratio: 200 / 140; margin-bottom: 22px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.55); border: 1px solid var(--hair); }
.step__art svg { width: 100%; height: 100%; overflow: visible; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--slate); max-width: 34ch; }
.process--h .step:not(.is-active) { filter: blur(1.5px); opacity: 0.45; }
.process-live .process:not(.process--h) .step:not(.is-active):not(.is-done) { opacity: 0.5; }

/* step art animations */
.sc-lens { animation: scan 6s ease-in-out infinite; }
.sc-hit { opacity: 0; animation: hit 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes scan { 0% { transform: translate(50px, 46px); } 33% { transform: translate(140px, 54px); } 66% { transform: translate(86px, 96px); } 100% { transform: translate(50px, 46px); } }
@keyframes hit { 28%, 30% { opacity: 0; transform: scale(0.4); } 36%, 60% { opacity: 1; transform: scale(1.4); } 70% { opacity: 0; } }
.gr-cells rect { animation: assemble 5s var(--ease) infinite; }
.gr-cells rect:nth-child(2) { animation-delay: 0.12s; } .gr-cells rect:nth-child(3) { animation-delay: 0.24s; } .gr-cells rect:nth-child(4) { animation-delay: 0.36s; }
@keyframes assemble { 0%, 100% { transform: translate(var(--dx), var(--dy)) rotate(8deg); opacity: 0.4; } 30%, 75% { transform: none; opacity: 1; } }
.ln-parcel { offset-path: path("M20 124 C 70 120, 120 90, 182 18"); offset-rotate: 0deg; animation: launch 3.3s cubic-bezier(0.5, 0, 0.3, 1) infinite; animation-delay: var(--d); }
@keyframes launch { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.cv-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 5s var(--ease) infinite; }
.cv-dot { transform-box: fill-box; transform-origin: center; animation: grow-dot 5s var(--ease) infinite; }
@keyframes grow-dot { 0%, 35% { transform: scale(0); } 45%, 85% { transform: scale(1); } 100% { transform: scale(0); } }

/* Horizontal mode (JS adds .process--h on desktop) */
.process--h { padding-block: 0; }
.process--h .process__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 120px 60px; overflow: hidden; }
.process--h .section-head { margin-bottom: 48px; }
.process--h .process__viewport { padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); }
.process--h .process__track { display: flex; width: max-content; gap: 6vw; padding-right: 30vw; will-change: transform; }
.process--h .step { width: clamp(320px, 34vw, 520px); }
.process--h .process__line { right: 30vw; }
.process--h .step__art { max-width: 320px; }

/* ---------------- Why ---------------- */
.why__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__head { position: sticky; top: 130px; }
.why__head .lead { margin-top: 24px; }
.why__list { border-top: 1px solid var(--hair-2); }
.why__item {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
  padding: clamp(22px, 2.6vw, 34px) 16px; border-bottom: 1px solid var(--hair-2);
  transition: padding 0.7s var(--ease), background-color 0.6s;
}
.why__item::before { content: ""; position: absolute; inset: 4px 0; z-index: -1; border-radius: 18px; background: linear-gradient(90deg, rgba(247, 201, 72, 0.14), rgba(91, 192, 248, 0.12), rgba(185, 163, 245, 0.12), transparent); opacity: 0; transition: opacity 0.6s var(--ease); }
.why__item:hover { padding-left: 30px; }
.why__item:hover::before { opacity: 1; }
.why__check { width: 40px; height: 40px; }
.why__check circle, .why__check path { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.why__check circle { stroke: rgba(23, 132, 196, 0.35); }
.why__check path { stroke: var(--sky-deep); stroke-width: 2.2; }
html.js .why__check circle, html.js .why__check path { stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease); }
html.js .why__check path { transition-delay: 0.35s; }
.why__item.is-in .why__check circle, .why__item.is-in .why__check path { stroke-dashoffset: 0; }
.why__text { font-family: var(--font-display); font-variation-settings: var(--display-axes); font-weight: 360; font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.15; letter-spacing: -0.015em; }
.why__n { color: var(--slate-soft); }
html.js .why__item { opacity: 0; transform: translateX(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), padding 0.7s var(--ease); }
html.js .why__item.is-in { opacity: 1; transform: none; }

/* ---------------- FAQ ---------------- */
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq__item { position: relative; border-radius: var(--r-md); border: 1px solid var(--hair-2); background: rgba(255, 255, 255, 0.35); transition: background-color 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s; overflow: hidden; }
.faq__item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--amber), var(--sky), var(--lavender)); transform: scaleY(0); transform-origin: top; transition: transform 0.8s var(--ease); }
.faq__item.is-open { background: var(--card-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow-2); border-color: rgba(255, 255, 255, 0.9); }
.faq__item.is-open::before { transform: scaleY(1); }
.faq__q button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 26px; text-align: left; font-family: var(--font-display); font-variation-settings: var(--display-axes); font-weight: 380; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.25; letter-spacing: -0.01em; border-radius: var(--r-md); }
.faq__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(14, 26, 58, 0.05); transition: transform 0.7s var(--ease), background-color 0.5s, color 0.5s; }
.faq__item.is-open .faq__icon { transform: rotate(135deg); background: var(--ink); color: #fff; }
.faq__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.75s var(--ease-spring), visibility 0s 0.75s; }
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.75s var(--ease-spring), visibility 0s; }
.faq__inner { overflow: hidden; }
.faq__inner p { padding: 0 26px 26px; color: var(--slate); max-width: 62ch; opacity: 0; transform: translateY(-6px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); }
.faq__item.is-open .faq__inner p { opacity: 1; transform: none; transition-delay: 0.12s; }

/* ---------------- Locations ---------------- */
.loc-tabs { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.loc-tabs__pill { position: absolute; left: 0; top: 0; border-radius: var(--r-pill); background: var(--ink); box-shadow: 0 10px 24px -10px rgba(14, 26, 58, 0.55); transition: transform 0.6s var(--ease), width 0.6s var(--ease), height 0.6s var(--ease); pointer-events: none; }
.loc-tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: var(--r-pill); font-size: 0.94rem; font-weight: 500; color: var(--ink-2); background: rgba(255, 255, 255, 0.55); border: 1px solid var(--hair-2); transition: color 0.45s var(--ease), background-color 0.45s; }
.loc-tab:hover { background: rgba(255, 255, 255, 0.9); }
.loc-tab.is-active { color: #fff; background: transparent; border-color: transparent; }
html:not(.js) .loc-tab.is-active { background: var(--ink); }
.loc-stage { display: grid; grid-template-columns: 5fr 7fr; gap: 20px; }
.loc-map { position: relative; overflow: hidden; border-radius: var(--r-xl); min-height: 460px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(244, 241, 234, 0.6)); }
.loc-map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.loc-map__cam { transform-origin: 0 0; transition: transform 1.3s var(--ease); }
.loc-map__dots circle { fill: rgba(14, 26, 58, 0.17); }
.loc-map__outline { fill: rgba(14, 26, 58, 0.025); stroke: rgba(14, 26, 58, 0.16); stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.loc-map__arcs path { fill: none; stroke: url(#arc-grad); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0.7; transition: stroke-dashoffset 1.6s var(--ease), opacity 0.5s, stroke-width 0.5s; }
.loc-map.is-in .loc-map__arcs path { stroke-dashoffset: 0; }
.loc-map__arcs path.is-active { opacity: 1; stroke-width: 2.4; }
.pin { cursor: pointer; }
.pin__core { fill: var(--sky-deep); stroke: #fff; stroke-width: 2.5; transition: r 0.5s var(--ease); }
.pin__halo { fill: rgba(91, 192, 248, 0.25); }
.pin--hq .pin__core { fill: var(--amber); }
.pin--hq .pin__halo { fill: rgba(247, 201, 72, 0.35); }
.pin__ripple { fill: none; stroke: var(--sky); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.pin.is-active .pin__ripple { animation: ripple 2.2s var(--ease) infinite; }
.pin.is-active .pin__core { r: 8; }
.pin__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--ink-2); paint-order: stroke; stroke: rgba(250, 248, 243, 0.9); stroke-width: 4px; }
@keyframes ripple { 0% { opacity: 0.9; transform: scale(0.6); } 100% { opacity: 0; transform: scale(3.2); } }
.loc-map__legend { position: absolute; left: 22px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--slate); }
.loc-map__legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(247, 201, 72, 0.25); }

.loc-panel { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 3vw, 40px); padding: clamp(26px, 3.4vw, 48px); border-radius: var(--r-xl); }
.loc-panel__tag { display: flex; align-items: center; gap: 8px; color: var(--slate); line-height: 1.5; }
.loc-panel__tag .ico { color: var(--sky-deep); }
.loc-panel__title { margin: 18px 0 16px; }
.loc-panel__desc { color: var(--slate); }
.loc-panel__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.loc-panel__caps { padding: 24px; border-radius: var(--r-md); background: rgba(244, 241, 234, 0.7); border: 1px solid var(--hair); align-self: start; }
.loc-panel__caph { color: var(--slate); margin-bottom: 16px; }
.loc-panel__caps li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--hair); font-size: 0.95rem; line-height: 1.45; }
.loc-panel__caps li:first-child { border-top: 0; padding-top: 0; }
.loc-panel__caps .ico { margin-top: 3px; color: var(--sky-deep); }
.loc-panel [data-f] { transition: opacity 0.45s var(--ease), transform 0.6s var(--ease), filter 0.45s; }
.loc-panel.is-swapping [data-f] { opacity: 0; transform: translateY(10px); filter: blur(4px); }

/* ---------------- CTA band ---------------- */
.cta { padding-block: calc(var(--section-y) * 0.6); }
.cta__panel {
  --gx: 50%; --gy: 50%;
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff;
  padding: clamp(48px, 6vw, 84px) clamp(20px, 5vw, 64px); border-radius: clamp(28px, 4vw, 48px);
  background: var(--grad-cta); box-shadow: 0 40px 100px -40px rgba(76, 95, 216, 0.65);
  transform-origin: center 70%;
}
.cta__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgba(28, 30, 110, 0.20), transparent 70%); }
.cta__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(480px circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.28), transparent 60%); transition: opacity 0.6s; pointer-events: none; }
.cta__crescent { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(90vmin, 820px); aspect-ratio: 1; margin: calc(min(90vmin, 820px) / -2) 0 0 calc(min(90vmin, 820px) / -2); border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.55), rgba(255, 236, 170, 0.25) 45%, transparent 70%); -webkit-mask: radial-gradient(circle at 64% 40%, transparent 44%, #000 45.5%); mask: radial-gradient(circle at 64% 40%, transparent 44%, #000 45.5%); animation: spin 60s linear infinite; filter: blur(2px); opacity: 0.85; }
.cta__content { position: relative; max-width: 820px; margin-inline: auto; }
.cta .h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.75rem); }
/* No hover weight/axis change on the CTA headline — at this size it re-wraps the text and the block jumps. */
.cta .h2:hover { font-variation-settings: var(--display-axes); font-weight: 340; }
.cta .accent:not(.is-split), .cta .accent .wi { background-image: var(--grad-text-light); }
.cta .lead { color: rgba(255, 255, 255, 0.95); margin: 16px auto 28px; max-width: 640px; }

/* ---------------- Contact ---------------- */
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__intro .lead { margin-top: 24px; }
.contact__details { margin-top: 40px; display: grid; gap: 10px; }
.contact__details li { position: relative; display: flex; align-items: center; gap: 8px; }
.contact__details a, .contact__place { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; font-weight: 500; }
.contact__details a:hover span:last-child { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--hair-3); }
.copy { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--slate); opacity: 0; transform: translateX(-6px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), background-color 0.3s; }
.contact__details li:hover .copy, .copy:focus-visible, .copy.is-copied { opacity: 1; transform: none; }
.copy:hover { background: rgba(14, 26, 58, 0.05); color: var(--ink); }
.copy__tip { position: absolute; left: 50%; bottom: calc(100% + 2px); translate: -50% 0; padding: 4px 8px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 10px; opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.4s var(--ease); pointer-events: none; white-space: nowrap; }
.copy:hover .copy__tip, .copy.is-copied .copy__tip { opacity: 1; transform: none; }
@media (hover: none) { .copy { opacity: 1; transform: none; } }

.form { padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-xl); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .select__btn {
  width: 100%; min-height: 62px; padding: 26px 18px 10px; border-radius: 16px;
  font: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid var(--hair-2);
  background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)) padding-box, linear-gradient(var(--hair-2), var(--hair-2)) border-box;
  transition: box-shadow 0.5s var(--ease), background 0.5s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; padding-top: 30px; line-height: 1.5; }
.field label, .field__label { position: absolute; left: 19px; top: 20px; color: var(--slate); pointer-events: none; transform-origin: left top; transition: transform 0.5s var(--ease), color 0.4s; }
.field input:focus, .field textarea:focus, .select__btn:focus-visible, .select__btn[aria-expanded="true"] {
  outline: none; border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, var(--amber), var(--sky), var(--lavender)) border-box;
  box-shadow: 0 0 0 5px rgba(91, 192, 248, 0.16), 0 12px 30px -16px rgba(79, 70, 229, 0.4);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select.has-value .field__label, .field--select.is-open .field__label { transform: translateY(-11px) scale(0.76); color: var(--slate); }
.field.is-invalid input, .field.is-invalid .select__btn { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(var(--error), var(--error)) border-box; }
.field.is-invalid { animation: shake 0.5s var(--ease); }
.field__err { display: block; min-height: 0; font-size: 0.8rem; color: var(--error); padding: 6px 4px 0; }
.field__err:empty { display: none; }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

.select__btn { display: flex; align-items: center; justify-content: space-between; text-align: left; }
.select__btn .ico { transition: transform 0.5s var(--ease); color: var(--slate); }
.select__btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
.select__list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; max-height: 300px; overflow-y: auto; padding: 8px; border-radius: 18px; background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--hair-2); box-shadow: var(--shadow-2); transform-origin: top; animation: drop 0.45s var(--ease); }
.select__list[hidden] { display: none; }
.select__list li { padding: 12px 14px; border-radius: 12px; cursor: pointer; font-size: 0.96rem; transition: background-color 0.25s; }
.select__list li:hover, .select__list li.is-focus { background: rgba(91, 192, 248, 0.12); }
.select__list li[aria-selected="true"] { font-weight: 500; color: var(--indigo-deep); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px) scaleY(0.96); } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { margin-top: 22px; min-width: 200px; }
.form__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset -4px 0 0 0 #fff; animation: spin 0.9s linear infinite; }
.form.is-loading .form__spinner { display: block; }
.form.is-loading .form__submit .ico { display: none; }
.form.is-sent .form__submit { background: var(--success); }
.form__status { margin-top: 16px; font-size: 0.95rem; color: var(--slate); min-height: 1.5em; }
.form.is-sent .form__status { color: var(--success); font-weight: 500; }
.form.is-error .form__status { color: var(--error); }

/* ---------------- Footer ---------------- */
.footer { position: relative; padding-top: clamp(80px, 10vw, 140px); overflow: hidden; border-top: 1px solid var(--hair); background: linear-gradient(to bottom, transparent, rgba(244, 241, 234, 0.7)); }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand p { margin-top: 18px; max-width: 34ch; color: var(--slate); }
.footer__col > p { color: var(--slate); margin-bottom: 18px; }
.footer__col li + li { margin-top: 10px; }
.footer__col a { display: inline-block; padding-block: 4px; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 72px; padding-block: 26px; border-top: 1px solid var(--hair-2); font-size: 0.86rem; color: var(--slate); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__sign { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--ink-2); }
.wordmark { --wx: 50%; --wy: 50%; padding-inline: 1vw; margin-top: 2vw; line-height: 0.78; overflow: hidden; }
.wordmark span {
  display: block; text-align: center; font-family: var(--font-display); font-variation-settings: "opsz" 144, "SOFT" 100; font-weight: 400;
  font-size: 23.5vw; letter-spacing: -0.06em; padding-bottom: 0.04em;
  background: radial-gradient(34vw circle at var(--wx) var(--wy), rgba(247, 201, 72, 0.95), rgba(91, 192, 248, 0.85) 30%, rgba(185, 163, 245, 0.7) 50%, rgba(14, 26, 58, 0.055) 72%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(30%); transition: transform 1.6s var(--ease);
}
.wordmark.is-in span, html:not(.js) .wordmark span { transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .svc--web        { grid-column: 1 / -1; grid-row: auto; }
  .svc--seo, .svc--perf { grid-column: span 3; grid-row: auto; }
  .svc--video, .svc--content { grid-column: span 4; grid-row: auto; }
  .svc--photo, .svc--design { grid-column: span 2; grid-row: auto; }
  .svc--influencer, .svc--writing { grid-column: span 3; grid-row: auto; }
  .loc-stage { grid-template-columns: 1fr; }
  .loc-map { min-height: 380px; }
}

@media (max-width: 1023px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: grid; }
  .cr-nav { top: 12px; width: calc(100% - 24px); }

  .process:not(.process--h) .process__track { grid-template-columns: 1fr; gap: 48px; padding-top: 0; padding-left: 38px; }
  .process:not(.process--h) .process__line { left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .process:not(.process--h) .process__fill { transform-origin: top; transform: scaleY(var(--pf, 1)); }
  .process:not(.process--h) .step__dot { top: 6px; left: -38px; }

  /* Horizontal mode on tablet */
  .process--h .process__pin { padding-block: 90px 48px; min-height: 100vh; min-height: 100svh; }
  .process--h .section-head { margin-bottom: 32px; }
  .process--h .process__viewport { padding-left: var(--gutter); }
  .process--h .process__track { gap: 28px; padding-right: 25vw; padding-top: 34px; padding-left: 0; }
  .process--h .step { width: clamp(280px, 45vw, 380px); flex-shrink: 0; }
  .process--h .process__line { left: 0; right: 25vw; top: 6px; bottom: auto; width: auto; height: 2px; }
  .process--h .process__fill { transform-origin: left; transform: scaleX(var(--pf, 1)); }
  .process--h .step__dot { top: -34px; left: 0; width: 13px; height: 13px; }

  .why__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .why__head { position: static; }
  .pillar, .pillar:nth-child(even) { grid-template-columns: 1fr; gap: clamp(10px, 2vw, 16px); }
  .pillar:nth-child(even) .pillar__word { order: 0; text-align: left; }
  .pillar:nth-child(even) .pillar__fill { clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0); }
  .pillar__card { transform: none; opacity: 1; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) and (min-width: 768px) {
  .svc--video, .svc--content { grid-column: span 3; }
  .svc--photo, .svc--design { grid-column: span 3; }
}

@media (max-width: 767px) {
  .hero { padding: 110px 0 80px; min-height: 90svh; }
  .hero__title { max-width: 100%; }
  .node:nth-of-type(n+7) { display: none; }
  .node__in { font-size: 0.72rem; padding: 5px 10px 5px 5px; }
  .stats { margin-top: -28px; }
  .stats__list {
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.76);
    border-radius: 26px;
    box-shadow: 0 16px 45px -14px rgba(30, 50, 120, 0.15), 0 1px 0 rgba(255, 255, 255, 0.95) inset;
    border: 1px solid rgba(255, 255, 255, 0.9);
  }
  .stat { padding: 22px 18px 20px; }
  .stat + .stat::before { top: 14%; bottom: 14%; background: var(--hair-2); opacity: 0.85; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--hair-2); }
  .stat__value {
    font-size: clamp(2.3rem, 7.8vw, 2.9rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
  }
  .stat__label {
    margin-top: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    line-height: 1.38;
    color: var(--slate);
  }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .bento > .svc { grid-column: 1 / -1; padding: clamp(20px, 4.5vw, 28px); }
  .svc--xl .svc__visual, .svc--lg .svc__visual { min-height: 140px; }
  .bento__net { display: none; }
  .v-web, .v-seo, .v-perf, .v-chat, .v-inf { max-width: 100%; }
  .v-write__line { font-size: clamp(1.05rem, 3.8vw, 1.35rem); }
  .about .section-head { margin-bottom: 24px; }
  .about .h2 { font-size: clamp(2rem, 7.8vw, 2.7rem); line-height: 1.15; }
  .pillars { gap: clamp(40px, 8vw, 52px); }
  .pillar, .pillar:nth-child(even) { gap: clamp(10px, 2.5vw, 14px); }
  .pillar__word { font-size: clamp(4.4rem, 18vw, 6.2rem); line-height: 0.86; letter-spacing: -0.035em; }
  .pillar__card { padding: clamp(20px, 5.5vw, 28px) clamp(18px, 4.5vw, 22px); border-radius: 22px; }
  .pillar__card h3 { font-size: clamp(1.4rem, 4.5vw, 1.65rem); margin: 0 0 10px 0; }
  .pillar__card p { font-size: clamp(0.9rem, 2.5vw, 0.95rem); line-height: 1.54; }

  /* Horizontal process on mobile */
  .process--h .process__pin { padding-block: 76px 32px; min-height: 100vh; min-height: 100svh; }
  .process--h .section-head { margin-bottom: 22px; }
  .process--h .section-head .eyebrow { margin-bottom: 12px; }
  .process--h .process__viewport { padding-left: var(--gutter); }
  .process--h .process__track { gap: 20px; padding-right: 25vw; padding-top: 30px; }
  .process--h .step { width: clamp(250px, 78vw, 320px); flex-shrink: 0; }
  .process--h .step__art { max-width: 230px; aspect-ratio: 16 / 10; margin-bottom: 12px; }
  .process--h .step__num { font-size: clamp(2.8rem, 9vw, 3.8rem); margin-bottom: 6px; }
  .process--h .step h3 { font-size: 1.22rem; margin-bottom: 6px; }
  .process--h .step p { font-size: 0.88rem; max-width: 32ch; }
  .process--h .process__line { left: 0; right: 25vw; top: 6px; bottom: auto; width: auto; height: 2px; }
  .process--h .process__fill { transform-origin: left; transform: scaleX(var(--pf, 1)); }
  .process--h .step__dot { top: -30px; left: 0; width: 11px; height: 11px; }
  .loc-tabs { gap: 6px; margin-bottom: 20px; }
  .loc-tab { min-height: 40px; padding: 0 14px; font-size: 0.85rem; }
  .loc-panel { grid-template-columns: 1fr; padding: clamp(20px, 4vw, 32px); }
  .loc-map { min-height: 300px; }
  .form { padding: clamp(20px, 4vw, 32px); }
  .form__grid { grid-template-columns: 1fr; }
  .form__submit { width: 100%; }
  .contact__details { margin-top: 24px; }
  .contact__details li { flex-wrap: wrap; }
  .contact__details a, .contact__place { min-height: 42px; font-size: 0.95rem; word-break: break-word; }
  .why__item { grid-template-columns: auto 1fr; padding: 18px 12px; gap: 14px; }
  .why__n { display: none; }
  .footer { padding-top: 60px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 48px; padding-block: 20px; }
  .moon-progress { width: 44px; height: 44px; right: 14px; bottom: 14px; }
  .moon-progress svg { width: 36px; height: 36px; }
}

@media (max-width: 640px) {
  /* On phones, constellation nodes float directly over the headline text — hide them for crystal-clear readability */
  .constellation { display: none !important; }
  .scroll-hint { display: none !important; }
}

@media (max-width: 480px) {
  .hero { padding: 96px 0 56px; min-height: auto; }
  .hero__eyebrow { margin-bottom: 18px; font-size: 0.78rem; padding: 6px 14px 6px 10px; }
  .hero__title { font-size: clamp(1.95rem, 8vw, 2.5rem); line-height: 1.08; }
  .hero__sub { margin-top: 16px; font-size: 0.94rem; line-height: 1.55; }
  .hero__actions { flex-direction: column; width: 100%; max-width: 320px; margin-inline: auto; margin-top: 24px; gap: 10px; }
  .hero__actions .btn { width: 100%; min-height: 50px; font-size: 0.94rem; justify-content: center; }

  .stats { margin-top: -24px; }
  .stats__list { border-radius: 22px; }
  .stat { padding: 18px 14px 16px; }
  .stat__value { font-size: clamp(2.15rem, 7.5vw, 2.65rem); letter-spacing: -0.02em; }
  .stat__label { font-size: 0.69rem; letter-spacing: 0.07em; margin-top: 6px; line-height: 1.35; }

  .marquee { gap: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
  .marquee__row { padding-block: 4px; }
  .logo-tile { width: 130px; height: 72px; padding: 10px 14px; border-radius: var(--r-sm); }
  .logo-tile img { max-height: 32px; }

  .section-head { margin-bottom: 36px; }
  .section-head .lead { margin-top: 14px; font-size: 0.96rem; }

  .bento { gap: 12px; }
  .svc { padding: 18px 14px; border-radius: var(--r-md); gap: 12px; }
  .svc__title { font-size: 1.38rem; }
  .svc__tagline { font-size: 0.88rem; }
  .v-web__page { padding: 10px; gap: 8px; }
  .v-seo__search { padding: 10px 14px; font-size: 0.78rem; }
  .v-write__line { font-size: 1.05rem; }

  .about .section-head { margin-bottom: 22px; }
  .about .h2 { font-size: clamp(1.95rem, 7.5vw, 2.5rem); line-height: 1.16; }
  .pillars { gap: clamp(38px, 8vw, 46px); }
  .pillar, .pillar:nth-child(even) { gap: 12px; }
  .pillar__word { font-size: clamp(4.2rem, 18.5vw, 5.5rem); line-height: 0.86; letter-spacing: -0.035em; }
  .pillar__card { padding: 22px 18px 20px; border-radius: 22px; }
  .pillar__card h3 { font-size: 1.5rem; margin: 0 0 8px 0; }
  .pillar__card p { font-size: 0.92rem; line-height: 1.54; }

  .process:not(.process--h) .process__track { padding-left: 24px; gap: 32px; }
  .process:not(.process--h) .process__line { left: 4px; }
  .process:not(.process--h) .step__dot { left: -24px; top: 4px; width: 10px; height: 10px; }
  .process:not(.process--h) .step__num { font-size: 3rem; margin-bottom: 8px; }
  .process:not(.process--h) .step__art { max-width: 100%; aspect-ratio: 16 / 10; margin-bottom: 12px; border-radius: var(--r-sm); }
  .process:not(.process--h) .step h3 { font-size: 1.18rem; }
  .process:not(.process--h) .step p { font-size: 0.88rem; }

  /* Horizontal mode on small mobile */
  .process--h .process__pin { padding-block: 68px 24px; }
  .process--h .section-head { margin-bottom: 16px; }
  .process--h .process__track { gap: 16px; padding-right: 20vw; padding-top: 26px; }
  .process--h .step { width: clamp(230px, 80vw, 280px); }
  .process--h .step__art { max-width: 200px; aspect-ratio: 16 / 10; margin-bottom: 10px; }
  .process--h .step__num { font-size: 2.5rem; margin-bottom: 4px; }
  .process--h .step h3 { font-size: 1.12rem; margin-bottom: 4px; }
  .process--h .step p { font-size: 0.84rem; line-height: 1.45; }
  .process--h .step__dot { top: -26px; width: 10px; height: 10px; }
  .process--h .process__line { right: 20vw; }

  .why__item { padding: 14px 6px; gap: 12px; }
  .why__check { width: 28px; height: 28px; }
  .why__text { font-size: 1.05rem; }

  .faq__q button { padding: 16px 14px; gap: 10px; font-size: 1rem; }
  .faq__icon { width: 32px; height: 32px; }
  .faq__inner p { padding: 0 14px 16px; font-size: 0.88rem; }

  .loc-tabs { gap: 6px; margin-bottom: 16px; }
  .loc-tab { min-height: 36px; padding: 0 12px; font-size: 0.8rem; }
  .loc-map { min-height: 240px; border-radius: var(--r-md); }
  .loc-panel { padding: 18px 14px; border-radius: var(--r-md); }
  .loc-panel__title { margin: 12px 0 10px; font-size: 1.3rem; }
  .loc-panel__desc { font-size: 0.88rem; }
  .loc-panel__actions { flex-direction: column; width: 100%; gap: 8px; margin-top: 18px; }
  .loc-panel__actions .btn { width: 100%; min-height: 46px; justify-content: center; }
  .loc-panel__caps { padding: 14px; margin-top: 14px; border-radius: var(--r-sm); }
  .loc-panel__caps li { font-size: 0.85rem; padding: 8px 0; }

  .cta { padding-block: calc(var(--section-y) * 0.4); }
  .cta__panel { padding: 36px 16px; border-radius: 20px; }
  .cta .h2 { font-size: clamp(1.75rem, 6.5vw, 2.3rem); }
  .cta .lead { font-size: 0.92rem; margin: 12px auto 20px; }
  .cta__content .btn { width: 100%; max-width: 320px; min-height: 50px; }

  .contact__intro .lead { margin-top: 16px; font-size: 0.95rem; }
  .contact__details { margin-top: 20px; }
  .contact__details a, .contact__place { min-height: 38px; font-size: 0.9rem; word-break: break-word; }
  .form { padding: 18px 12px; border-radius: var(--r-md); }
  .field input, .field textarea, .select__btn { min-height: 52px; padding: 22px 12px 6px; font-size: 0.92rem; border-radius: 12px; }
  .field label, .field__label { left: 13px; top: 16px; font-size: 0.88rem; }
  .form__submit { width: 100%; min-height: 50px; font-size: 0.94rem; margin-top: 16px; }

  .footer { padding-top: 48px; }
  .footer__top { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { margin-top: 36px; padding-block: 16px; gap: 12px; }
  .footer__bottom ul { flex-direction: column; gap: 8px; }
  .wordmark { margin-top: 4vw; }
  .wordmark span { font-size: 20vw; }

  .cr-nav { top: 8px; width: calc(100% - 16px); }
  .nav__pill { padding: 6px 6px 6px 12px; border-radius: 24px; min-height: 48px; }
  .nav__brand { font-size: 1.05rem; gap: 8px; }
  .logo-mark { width: 24px; height: 24px; }
  .nav__burger { width: 36px; height: 36px; }
  .mmenu { padding: 74px 14px max(24px, env(safe-area-inset-bottom)); }
  .mmenu__link { font-size: clamp(1.85rem, 8vw, 2.35rem); padding: 7px 0; }
  .mmenu__arrow { width: 32px; height: 32px; }
  .mmenu__svc-item { padding: 8px 10px; min-height: 46px; gap: 8px; }
  .mmenu__svc-tile { width: 28px; height: 28px; border-radius: 8px; }
  .mmenu__svc-name { font-size: 0.78rem; }
  .moon-progress { width: 40px; height: 40px; right: 12px; bottom: 12px; }
  .moon-progress svg { width: 32px; height: 32px; }
}

@media (max-width: 360px) {
  .mmenu__services { grid-template-columns: 1fr; gap: 6px; }
  .mmenu__svc-name { font-size: 0.82rem; }
  .stat { padding: 14px 10px 12px; }
  .stat__value { font-size: 1.85rem; }
  .stat__label { font-size: 0.63rem; letter-spacing: 0.05em; }
  .logo-tile { width: 110px; height: 60px; padding: 6px 8px; }
  .logo-tile img { max-height: 26px; }
  .hero__title { font-size: 1.8rem; }
  .hero__actions .btn { padding: 0 16px; font-size: 0.9rem; }
  .pillar__word { font-size: clamp(3.6rem, 18vw, 4.4rem); line-height: 0.86; letter-spacing: -0.03em; }
}

@media (hover: none) {
  .svc:active { transform: scale(0.98); }
  .svc__arrow { opacity: 0.85; transform: none; }
  .logo-tile img { filter: none; opacity: 1; }
  .copy { opacity: 1; transform: none; }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .grain, .hero__light { display: none; }
  html.js [data-split].is-split .wi { transform: none; transition: none; }
  html.js [data-split].is-split { opacity: 0; transition: opacity 0.8s ease; }
  html.js [data-split].is-in { opacity: 1; }
  html.js [data-reveal], html.js .why__item, html.js .svc { transform: none; translate: none; }
  .accent, .accent .wi { animation: none; }
  .v-seo__type, .v-write__line { width: auto; border: 0; }
  .v-seo__you { transform: none; opacity: 1; }
  .v-perf__line, .v-inf path, .cv-line { stroke-dashoffset: 0; }
  .v-chat__b, .v-web__page > * { opacity: 1; }
  .svc { transform: none !important; }
}

/* ---------------- Late additions ---------------- */
/* Orb colours cross-fade between sections (registered custom property) */
@property --c { syntax: "<color>"; inherits: false; initial-value: transparent; }
.orb { transition: --c 2.4s var(--ease), transform 3.2s var(--ease); }

/* Reduced motion: marquee becomes a calm static grid */
html.rm .marquee { -webkit-mask-image: none; mask-image: none; }
html.rm .marquee__row[data-dir="-1"], html.rm .logo-tile[aria-hidden="true"] { display: none; }
html.rm .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; }
/* Process viewport gutter in vertical/grid mode (horizontal mode overrides) */
.process__viewport { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.process--h .process__viewport { max-width: none; margin: 0; padding-right: 0; }
/* Italic accent overhang: give the last glyph room inside its mask */
[data-split] .accent .w { padding-right: 0.18em; margin-right: -0.18em; }
