/* ==========================================================================
   Brevin Creation — Design Beyond Limits
   Main stylesheet
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #1e4598;
  --bg-2: #193b86;
  --surface: #2552ae;
  --surface-2: #2c5fc2;
  --line: rgba(255, 255, 255, 0.18);
  --line-2: rgba(255, 255, 255, 0.32);
  --text: #ffffff;
  --muted: #d6e1ff;
  --dim: #abc0ef;

  --blue: #2955a3;       /* brand blue (from logo) */
  --blue-lt: #7fa6ff;
  --ink: #10265c;          /* deep blue text on yellow */
  --gold: #f7bd1e;       /* brand yellow (from logo) */
  --gold-lt: #ffcd5a;
  --grad: linear-gradient(120deg, #ffe27a 0%, var(--gold) 100%);

  --font-display: "Syne", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1760px;                          /* wider site */
  --gutter: clamp(20px, 4.2vw, 84px);
  --header-h: 92px;
  --logo-h: 46px;                         /* shared by header + menu */
  --radius: 22px;
  --ease: cubic-bezier(0.77, 0, 0.18, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --section: clamp(90px, 11vw, 190px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: var(--bg); }

html.is-locked, html.is-locked body { overflow: hidden; }

/* film grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.045;
  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='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(60px, 7vw, 110px); }
.section--line { border-top: 1px solid var(--line); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; }
.display { font-size: clamp(3rem, 8.6vw, 10rem); line-height: 0.92; letter-spacing: -0.05em; }
.h1 { font-size: clamp(2.8rem, 6.6vw, 7.4rem); line-height: 0.95; letter-spacing: -0.045em; }
.h2 { font-size: clamp(2.2rem, 4.6vw, 5rem); }
.h3 { font-size: clamp(1.4rem, 2vw, 2rem); letter-spacing: -0.02em; }
.lead { font-size: clamp(1.1rem, 1.35vw, 1.4rem); color: var(--muted); line-height: 1.6; max-width: 46ch; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.outline-text { color: transparent; -webkit-text-stroke: 1.5px var(--line-2); }
em { font-style: normal; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px;
  background: var(--gold); transform: rotate(45deg);
  box-shadow: 0 0 18px var(--gold);
}

.section-head {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px;
  margin-bottom: clamp(48px, 6vw, 96px);
}
.section-head .eyebrow { margin-bottom: 24px; }
.section-head p { max-width: 42ch; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 30px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  background: var(--text); color: var(--bg);
  transition: color 0.5s var(--ease-out), transform 0.3s var(--ease-out);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.6s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease-out); }
.btn:hover svg { transform: translateX(4px) rotate(-45deg); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover { color: var(--bg); }
.btn--sm { --h: 50px; padding: 0 22px; font-size: 0.88rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600;
  padding-bottom: 6px; border-bottom: 1px solid var(--line-2);
  transition: border-color 0.4s, gap 0.4s var(--ease-out);
}
.link-arrow:hover { border-color: var(--gold); gap: 16px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Logo (identical size in header and menu) ---------- */
.logo { display: inline-flex; align-items: center; height: var(--logo-h); flex-shrink: 0; }
.logo img { height: var(--logo-h); width: auto; image-rendering: -webkit-optimize-contrast; }

/* ==========================================================================
   Preloader — shown only on the first page load of a visit
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  pointer-events: all;
}
html.no-preload .preloader { display: none !important; }
.preloader__panel {
  position: absolute; left: 0; right: 0; height: 50.5%;
  background: var(--bg-2);
  transition: transform 1.1s var(--ease);
}
.preloader__panel--top { top: 0; }
.preloader__panel--bottom { bottom: 0; }
.preloader.is-done .preloader__panel--top { transform: translateY(-101%); }
.preloader.is-done .preloader__panel--bottom { transform: translateY(101%); }

.preloader__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 34px;
  transition: opacity 0.5s, transform 0.8s var(--ease);
}
.preloader.is-done .preloader__inner { opacity: 0; transform: scale(0.92); }

.preloader__mark { position: relative; width: 132px; height: 132px; }
.preloader__mark svg { width: 100%; height: 100%; overflow: visible; }
.pl-diamond, .pl-square {
  fill: none; stroke-width: 3; stroke-linejoin: round;
  stroke-dasharray: 400; stroke-dashoffset: 400;
}
.pl-diamond { stroke: var(--blue-lt); animation: pl-draw 1.4s var(--ease) 0.15s forwards, pl-fill-blue 0.6s ease 1.35s forwards; }
.pl-square  { stroke: var(--gold);   animation: pl-draw 1.4s var(--ease) 0.35s forwards, pl-fill-gold 0.6s ease 1.5s forwards; }
.pl-orbit { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 7; transform-origin: 66px 66px; animation: pl-spin 9s linear infinite; }
.pl-orbit-dot { fill: var(--gold); transform-origin: 66px 66px; animation: pl-spin 2.4s var(--ease) infinite; }
.pl-b { fill: #fff; opacity: 0; transform-origin: 66px 66px; transform: scale(0.6) rotate(-12deg); animation: pl-b 0.7s var(--ease-out) 1.6s forwards; }
@keyframes pl-draw { to { stroke-dashoffset: 0; } }
@keyframes pl-fill-blue { to { fill: var(--blue); } }
@keyframes pl-fill-gold { to { fill: rgba(238, 175, 31, 0.95); } }
@keyframes pl-spin { to { transform: rotate(360deg); } }
@keyframes pl-b { to { opacity: 1; transform: scale(1) rotate(0); } }

.preloader__logo { position: relative; overflow: hidden; height: 50px; }
.preloader__logo img { height: 50px; width: auto; transform: translateY(110%); animation: pl-rise 0.9s var(--ease-out) 1.2s forwards; }
.preloader__logo::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  animation: pl-shine 1.4s ease 2.1s infinite;
}
@keyframes pl-rise { to { transform: translateY(0); } }
@keyframes pl-shine { 0% { left: -60%; } 60%, 100% { left: 130%; } }

.preloader__bar { width: 220px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

.preloader__meta {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(24px, 4vw, 48px);
  display: flex; justify-content: space-between; align-items: flex-end;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
  transition: opacity 0.4s;
}
.preloader.is-done .preloader__meta { opacity: 0; }
.preloader__count { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6rem); line-height: 0.8; letter-spacing: -0.04em; color: var(--text); font-variant-numeric: tabular-nums; }
.preloader__count sup { font-size: 0.32em; color: var(--gold); vertical-align: top; margin-left: 4px; }

/* page transition veil (between pages — NOT the loader) */
.veil {
  position: fixed; inset: 0; z-index: 9500; pointer-events: none;
  background: var(--bg-2);
  transform: translateY(100%);
  transition: transform 0.6s var(--ease);
}
html.is-leaving .veil { transform: translateY(0); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--header-h);
  transition: transform 0.6s var(--ease), background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(5, 8, 22, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav { display: flex; align-items: center; gap: 4px; padding: 6px; border: 0; border-radius: 999px; background: rgba(255,255,255,0.02); }
.nav a {
  position: relative; display: block; overflow: hidden;
  padding: 9px 18px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 600; color: var(--muted);
  transition: color 0.3s, background 0.3s;
}
.nav a span { display: block; transition: transform 0.5s var(--ease-out); }
.nav a span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--text); }
.nav a:hover span { transform: translateY(-100%); }
.nav a.is-active { color: var(--text); background: rgba(255,255,255,0.07); }

.header__actions { display: flex; align-items: center; gap: 12px; }

/* Toggle (hamburger) */
.toggle {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  transition: border-color 0.3s, background 0.3s;
}
.toggle:hover { border-color: var(--gold); background: rgba(238, 175, 31, 0.08); }
.toggle__lines { position: relative; width: 22px; height: 12px; }
.toggle__lines span {
  position: absolute; left: 0; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform 0.5s var(--ease-out), width 0.5s var(--ease-out), background 0.3s;
}
.toggle__lines span:nth-child(1) { top: 0; width: 100%; }
.toggle__lines span:nth-child(2) { bottom: 0; width: 60%; left: auto; right: 0; }
.toggle:hover .toggle__lines span:nth-child(1) { width: 60%; }
.toggle:hover .toggle__lines span:nth-child(2) { width: 100%; background: var(--gold); }

/* ==========================================================================
   Fullscreen toggle menu
   ========================================================================== */
.menu {
  position: fixed; inset: 0; z-index: 800;
  visibility: hidden; pointer-events: none;
  display: flex; flex-direction: column;
}
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(41, 85, 163, 0.35), transparent 60%),
    radial-gradient(40% 50% at 10% 100%, rgba(238, 175, 31, 0.12), transparent 60%),
    var(--bg-2);
  clip-path: circle(0px at var(--mx, 95%) var(--my, 46px));
  transition: clip-path 0.95s var(--ease);
}
.menu.is-open .menu__bg { clip-path: circle(160vmax at var(--mx, 95%) var(--my, 46px)); }
.menu.is-closing .menu__bg { transition-delay: 0.25s; }
.menu__wrap { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; }

.menu__top { height: var(--header-h); flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; }
.menu__top .logo { opacity: 0; transform: translateY(-10px); transition: opacity 0.5s, transform 0.6s var(--ease-out); }
.menu.is-open .menu__top .logo { opacity: 1; transform: none; transition-delay: 0.35s; }

/* Animated close button */
.menu__close {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  transition: transform 0.6s var(--ease-out);
}
.menu__close svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.menu__close .ring-bg { fill: none; stroke: var(--line-2); stroke-width: 1; }
.menu__close .ring-fg {
  fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round;
  stroke-dasharray: 170; stroke-dashoffset: 170;
  transition: stroke-dashoffset 0.9s var(--ease);
}
.menu.is-open .menu__close .ring-fg { stroke-dashoffset: 0; transition-delay: 0.45s; }
.menu__close .x { position: relative; width: 20px; height: 20px; }
.menu__close .x span {
  position: absolute; top: 50%; left: 50%; width: 22px; height: 2px; margin: -1px 0 0 -11px;
  background: var(--text); border-radius: 2px;
  transform: rotate(0) scaleX(0);
  transition: transform 0.6s var(--ease-out), background 0.3s;
}
.menu.is-open .menu__close .x span:nth-child(1) { transform: rotate(45deg) scaleX(1); transition-delay: 0.55s; }
.menu.is-open .menu__close .x span:nth-child(2) { transform: rotate(-45deg) scaleX(1); transition-delay: 0.65s; }
.menu__close:hover { transform: rotate(90deg); }
.menu__close:hover .x span { background: var(--gold); }

.menu__body {
  flex: 1; min-height: 0;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 0.6fr);
  gap: clamp(30px, 5vw, 100px); align-items: center;
  padding-block: 20px;
}
.menu__label { font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; display: block; }

.menu__links { counter-reset: m; }
.menu__links li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu__links li:first-child { border-top: 1px solid var(--line); }
.menu__links a {
  display: flex; align-items: center; gap: 22px;
  padding: clamp(10px, 1.4vh, 16px) 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 2.3vw, 2.35rem);   /* smaller menu font */
  line-height: 1.1; letter-spacing: -0.02em;
  transform: translateY(105%);
  transition: transform 0.8s var(--ease-out), color 0.35s, padding 0.5s var(--ease-out);
}
.menu.is-open .menu__links a { transform: none; transition-delay: calc(0.35s + var(--i) * 0.06s), 0s, 0s; }
.menu__links a .num { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; color: var(--dim); width: 26px; }
.menu__links a .arr { margin-left: auto; width: 22px; height: 22px; opacity: 0; transform: translateX(-12px) rotate(-45deg); transition: 0.5s var(--ease-out); color: var(--gold); }
.menu__links:hover a { color: var(--dim); }
.menu__links a:hover { color: var(--text); padding-left: 14px; }
.menu__links a:hover .arr { opacity: 1; transform: none; }
.menu__links a.is-active .num { color: var(--gold); }
.menu__links a.is-active { color: var(--text); }

.menu__preview {
  position: relative; aspect-ratio: 4 / 4.6; max-height: 62vh; width: 100%;
  border-radius: var(--radius); overflow: hidden; background: var(--surface);
  opacity: 0; transform: translateY(30px) scale(0.96);
  transition: opacity 0.7s, transform 0.9s var(--ease-out);
}
.menu.is-open .menu__preview { opacity: 1; transform: none; transition-delay: 0.5s; }
.menu__preview img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12);
  transition: opacity 0.6s, transform 1.2s var(--ease-out);
}
.menu__preview img.is-active { opacity: 1; transform: scale(1); }
.menu__preview figcaption {
  position: absolute; left: 20px; bottom: 20px; right: 20px; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px; border-radius: 14px;
  background: rgba(5, 8, 22, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 0.82rem; font-weight: 600;
}
.menu__preview figcaption span:last-child { color: var(--gold); }

.menu__info { display: flex; flex-direction: column; gap: 34px; opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.8s var(--ease-out); }
.menu.is-open .menu__info { opacity: 1; transform: none; transition-delay: 0.6s; }
.menu__info a, .menu__info p { font-size: 1rem; color: var(--muted); display: block; transition: color 0.3s; }
.menu__info a:hover { color: var(--gold); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a {
  display: inline-flex; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 0.82rem !important; font-weight: 600; color: var(--text) !important;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.socials a:hover { background: var(--gold); color: var(--bg) !important; border-color: var(--gold); }

.menu__bottom {
  flex-shrink: 0; height: 72px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: var(--dim); letter-spacing: 0.06em;
  opacity: 0; transition: opacity 0.6s;
}
.menu.is-open .menu__bottom { opacity: 1; transition-delay: 0.7s; }

/* closing — reverse quickly */
.menu.is-closing .menu__links a { transform: translateY(-105%); transition: transform 0.45s var(--ease); }
.menu.is-closing .menu__preview, .menu.is-closing .menu__info, .menu.is-closing .menu__bottom, .menu.is-closing .menu__top .logo { opacity: 0; transition-delay: 0s; }
.menu.is-closing .menu__close .x span { transform: scaleX(0); transition-delay: 0s; }
.menu.is-closing .menu__close .ring-fg { stroke-dashoffset: 170; transition-delay: 0s; }

/* ==========================================================================
   Cursor
   ========================================================================== */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9800; border-radius: 50%; }
.cursor {
  width: 42px; height: 42px; margin: -21px 0 0 -21px;
  border: 1px solid rgba(255,255,255,0.35);
  display: grid; place-items: center;
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), margin 0.4s var(--ease-out), background 0.4s, border-color 0.4s, opacity 0.3s;
}
.cursor span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bg); opacity: 0; transition: opacity 0.3s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--gold); background: rgba(238,175,31,0.08); }
.cursor.is-view { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: var(--gold); border-color: var(--gold); }
.cursor.is-view span { opacity: 1; }
.cursor.is-hidden, .cursor-dot.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ==========================================================================
   Reveal system
   ========================================================================== */
html.js [data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal="scale"] { transform: scale(0.94); }
html.js [data-reveal="scale"].is-in { transform: none; }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; }
html.js .split .w > span { transform: translateY(110%) rotate(4deg); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0s) + var(--wi) * 0.045s); }
html.js .split.is-in .w > span { transform: none; }

/* image reveal */
.img-reveal { position: relative; overflow: hidden; border-radius: var(--radius); }
html.js .img-reveal::after { content: ""; position: absolute; inset: 0; background: var(--surface-2); transform-origin: top; transition: transform 1.2s var(--ease); z-index: 2; }
html.js .img-reveal.is-in::after { transform: scaleY(0); }
html.js .img-reveal img { transform: scale(1.25); transition: transform 1.8s var(--ease-out); }
html.js .img-reveal.is-in img { transform: scale(1); }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding-top: var(--header-h);
  display: flex; flex-direction: column;
  overflow: hidden; isolation: isolate;
}
.hero__webgl { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; display: block; pointer-events: none; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(90px); z-index: -3; pointer-events: none; }
.hero__orb--1 { width: 46vw; height: 46vw; right: -10vw; top: -14vw; background: rgba(41, 85, 163, 0.55); animation: orb 16s ease-in-out infinite alternate; }
.hero__orb--2 { width: 30vw; height: 30vw; left: -8vw; bottom: -10vw; background: rgba(238, 175, 31, 0.18); animation: orb 20s ease-in-out infinite alternate-reverse; }
@keyframes orb { to { transform: translate(-6vw, 6vw) scale(1.15); } }

.hero__main { flex: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 4vw, 80px); padding-block: clamp(40px, 6vh, 80px); }

.hero__title { font-size: clamp(3.2rem, 9.4vw, 11.5rem); line-height: 0.88; letter-spacing: -0.055em; }
.hero__title .row { display: block; }
.hero__title .row--indent { padding-left: clamp(0px, 7vw, 160px); }
.hero__title .ring-word { position: relative; display: inline-block; }

.hero__sub { margin-top: clamp(28px, 3.4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; }
.hero__sub p { font-size: clamp(1.05rem, 1.3vw, 1.3rem); color: var(--muted); max-width: 40ch; }
.rotator { display: inline-grid; vertical-align: bottom; height: 1.6em; overflow: hidden; color: var(--text); font-weight: 700; }
.rotator span { grid-area: 1 / 1; transform: translateY(100%); opacity: 0; transition: transform 0.8s var(--ease-out), opacity 0.5s; white-space: nowrap; }
.rotator span.is-active { transform: none; opacity: 1; }
.rotator span.is-out { transform: translateY(-100%); opacity: 0; }
.rotator span { color: var(--gold); }



/* hero intro (waits for loader) */
html.js .hero [data-intro] { opacity: 0; transform: translateY(30px); transition: opacity 1s, transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
html.is-ready .hero [data-intro] { opacity: 1; transform: none; }
html.js .hero .split .w > span { transition-delay: calc(var(--d, 0s) + var(--wi) * 0.07s); }
html.js:not(.is-ready) .hero .split .w > span { transform: translateY(110%) rotate(4deg) !important; }



/* ==========================================================================
   Statement (scroll-lit words)
   ========================================================================== */
.statement { display: grid; grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr); gap: 40px; }
.statement__text { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3.7vw, 4.1rem); line-height: 1.12; letter-spacing: -0.03em; }
.statement__text .sw { opacity: 0.16; transition: opacity 0.4s; }
.statement__text .sw.is-lit { opacity: 1; }
.statement__text .hl { color: var(--gold); }
.statement__aside { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.statement__aside img { width: 100%; max-width: 280px; border-radius: 18px; aspect-ratio: 1; object-fit: cover; }

/* ==========================================================================
   Services list (home)
   ========================================================================== */
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  position: relative; display: grid;
  grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1fr) 64px;
  gap: 30px; align-items: center;
  padding: clamp(28px, 3vw, 46px) 0;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.svc-row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: linear-gradient(90deg, rgba(41,85,163,0.22), rgba(238,175,31,0.06));
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease-out);
}
.svc-row:hover::before { transform: scaleY(1); }
.svc-row__num { font-size: 0.85rem; font-weight: 700; color: var(--dim); letter-spacing: 0.1em; }
.svc-row__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.5vw, 3.6rem); line-height: 1; letter-spacing: -0.04em; transition: transform 0.6s var(--ease-out); }
.svc-row:hover .svc-row__title { transform: translateX(16px); }
.svc-row__desc { color: var(--muted); max-width: 46ch; }
.svc-row__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag { display: inline-flex; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.76rem; font-weight: 600; color: var(--muted); }
.svc-row__arrow { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: 0.5s var(--ease-out); }
.svc-row__arrow svg { width: 22px; height: 22px; transform: rotate(-45deg); transition: transform 0.5s var(--ease-out); }
.svc-row:hover .svc-row__arrow { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.svc-row:hover .svc-row__arrow svg { transform: rotate(0); }

.hover-img {
  position: fixed; top: 0; left: 0; z-index: 400; pointer-events: none;
  width: 340px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(0.6) rotate(-6deg);
  transition: opacity 0.4s, transform 0.6s var(--ease-out);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8);
}
.hover-img.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.hover-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s; }
.hover-img img.is-active { opacity: 1; }
@media (hover: none) { .hover-img { display: none; } }

/* ==========================================================================
   Work grid
   ========================================================================== */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 80px) clamp(24px, 3vw, 56px); }
.work-grid--offset .work-card:nth-child(even) { margin-top: clamp(0px, 9vw, 180px); }
.work-card { display: block; }
.work-card__media { position: relative; aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out) !important; }
.work-card:hover .work-card__media img { transform: scale(1.06) !important; }
.work-card__tag { position: absolute; top: 18px; left: 18px; z-index: 3; padding: 7px 14px; border-radius: 999px; background: rgba(5,8,22,0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.work-card__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-top: 24px; }
.work-card__title { font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.work-card__sub { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }
.work-card__year { font-size: 0.85rem; font-weight: 700; color: var(--dim); padding-top: 8px; white-space: nowrap; }
.work-card.is-hidden { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(40px, 5vw, 72px); }
.filter {
  padding: 11px 22px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 0.88rem; font-weight: 600; color: var(--muted);
  transition: 0.3s;
}
.filter sup { font-size: 0.7em; margin-left: 4px; color: var(--dim); }
.filter:hover { color: var(--text); border-color: var(--text); }
.filter.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter.is-active sup { color: var(--blue); }

/* ==========================================================================
   Process / cards
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step {
  position: relative; padding: clamp(28px, 2.6vw, 44px); min-height: 360px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent);
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  overflow: hidden; transition: border-color 0.4s, transform 0.6s var(--ease-out);
}
.step::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: var(--blue); filter: blur(70px); opacity: 0; transition: opacity 0.6s; }
.step:hover { border-color: var(--line-2); transform: translateY(-8px); }
.step:hover::after { opacity: 0.55; }
.step__num { font-family: var(--font-display); font-size: clamp(3rem, 4.6vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; }
.step__num.outline-text { -webkit-text-stroke: 1.5px rgba(255,255,255,0.3); }
.step h3 { font-size: 1.5rem; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 0.97rem; }

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; padding: clamp(28px, 2.6vw, 44px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2); overflow: hidden;
  transition: border-color 0.4s, transform 0.6s var(--ease-out);
}
.card:hover { border-color: rgba(238, 175, 31, 0.4); transform: translateY(-6px); }
.card__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: rgba(41, 85, 163, 0.25); border: 1px solid rgba(76, 127, 224, 0.35); margin-bottom: 32px; color: var(--gold); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.45rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(32px, 4vw, 64px) clamp(16px, 2vw, 40px); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 6vw, 6.4rem); line-height: 1; letter-spacing: -0.05em; }
.stat__num sup { font-size: 0.4em; color: var(--gold); vertical-align: top; margin-left: 4px; }
.stat p { color: var(--muted); margin-top: 12px; font-size: 0.95rem; }

/* ==========================================================================
   Industries
   ========================================================================== */
.industries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.industry { background: var(--bg); padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; gap: 60px; transition: background 0.5s; min-height: 250px; justify-content: space-between; }
.industry:hover { background: var(--surface); }
.industry__top { display: flex; justify-content: space-between; align-items: flex-start; }
.industry__top span { font-size: 0.8rem; font-weight: 700; color: var(--dim); }
.industry svg { width: 40px; height: 40px; color: var(--gold); transition: transform 0.6s var(--ease-out); }
.industry:hover svg { transform: rotate(-12deg) scale(1.1); }
.industry h3 { font-size: 1.6rem; margin-bottom: 8px; }
.industry p { color: var(--muted); font-size: 0.95rem; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { position: relative; overflow: hidden; text-align: center; padding-block: clamp(110px, 14vw, 230px); isolation: isolate; }
.cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(41,85,163,0.45), transparent 62%); z-index: -1; }
.cta__title { font-size: clamp(3rem, 9vw, 10rem); line-height: 0.9; letter-spacing: -0.055em; }
.cta__btn {
  position: relative; margin: clamp(40px, 5vw, 70px) auto 0;
  width: clamp(150px, 14vw, 200px); height: clamp(150px, 14vw, 200px); border-radius: 50%;
  background: var(--gold); color: var(--bg);
  display: grid; place-items: center; text-align: center;
  font-weight: 800; font-size: 1rem; line-height: 1.25;
  transition: transform 0.4s var(--ease-out), background 0.4s;
}
.cta__btn:hover { background: var(--text); }
.cta__btn svg { width: 26px; height: 26px; margin: 8px auto 0; transform: rotate(-45deg); }
.cta__ring { position: absolute; inset: -18px; animation: pl-spin 18s linear infinite; }
.cta__ring text { font-size: 9.2px; font-weight: 700; letter-spacing: 2.6px; fill: var(--muted); text-transform: uppercase; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(70px, 10vw, 170px)); padding-bottom: clamp(60px, 7vw, 110px); overflow: hidden; isolation: isolate; }
.page-hero .hero__orb--1 { width: 40vw; height: 40vw; top: -18vw; right: -8vw; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); gap: 50px; align-items: end; }
.page-hero .eyebrow { margin-bottom: 32px; }
.crumbs { display: flex; gap: 10px; font-size: 0.85rem; color: var(--dim); margin-bottom: 26px; }
.crumbs a:hover { color: var(--gold); }
.page-hero__aside { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.page-hero__aside p { color: var(--muted); font-size: 1.12rem; }

.wide-media { aspect-ratio: 21 / 9; border-radius: var(--radius); overflow: hidden; }
.wide-media img { width: 100%; height: 100%; object-fit: cover; }

/* split content */
.split-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.split-2--center { align-items: center; }
.prose p { color: var(--muted); font-size: 1.08rem; margin-bottom: 22px; max-width: 60ch; }
.prose p strong { color: var(--text); font-weight: 600; }
.sticky { position: sticky; top: calc(var(--header-h) + 40px); }

/* values list */
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 60px; }
.value { padding: 34px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 60px 1fr; gap: 20px; }
.value span { font-weight: 700; color: var(--gold); font-size: 0.85rem; padding-top: 6px; }
.value h3 { font-size: 1.5rem; margin-bottom: 10px; }
.value p { color: var(--muted); }

/* service detail blocks */
.svc-detail { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); padding-block: clamp(60px, 7vw, 110px); border-top: 1px solid var(--line); align-items: center; }
.svc-detail:nth-of-type(even) .svc-detail__media { order: 2; }
.svc-detail__media { aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; }
.svc-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail__num { font-size: 0.85rem; font-weight: 700; color: var(--gold); letter-spacing: 0.14em; margin-bottom: 20px; display: block; }
.svc-detail h2 { font-size: clamp(2rem, 3.8vw, 3.8rem); margin-bottom: 22px; }
.svc-detail p { color: var(--muted); font-size: 1.08rem; max-width: 52ch; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 30px; margin-top: 34px; }
.checklist li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 0.97rem; }
.checklist li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--gold); flex-shrink: 0; }
.stack-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 30px 0; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.55rem); letter-spacing: -0.02em; }
.faq__icon { position: relative; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-2); transition: 0.4s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; transition: transform 0.5s var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.faq__item.is-open .faq__icon::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--muted); padding-bottom: 30px; max-width: 70ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* timeline (process page) */
.timeline { position: relative; }
.timeline__item { display: grid; grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-block: clamp(40px, 5vw, 70px); border-top: 1px solid var(--line); align-items: start; }
.timeline__num { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 5.4rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.05em; }
.timeline__item h3 { font-size: clamp(1.8rem, 2.8vw, 2.8rem); margin-bottom: 10px; }
.timeline__item .dur { font-size: 0.85rem; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }
.timeline__item p { color: var(--muted); }
.timeline__item ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* pricing / engagement */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { padding: clamp(30px, 3vw, 50px); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 26px; background: var(--bg-2); }
.plan--featured { background: linear-gradient(160deg, rgba(41,85,163,0.5), rgba(13,20,48,0.9) 60%); border-color: rgba(76,127,224,0.5); }
.plan h3 { font-size: 1.6rem; }
.plan > p { color: var(--muted); }
.plan ul { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 12px; font-size: 0.97rem; }
.plan li::before { content: "✓"; color: var(--gold); font-weight: 800; }
.plan__badge { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--bg); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

/* jobs */
.jobs { border-top: 1px solid var(--line); }
.job { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); transition: padding 0.5s var(--ease-out); }
.job:hover { padding-inline: 18px; }
.job h3 { font-size: clamp(1.4rem, 2.2vw, 2.1rem); }
.job span { color: var(--muted); font-size: 0.95rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 40px; }
.contact-info__block span { display: block; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.contact-info__block a, .contact-info__block p { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; transition: color 0.3s; word-break: break-word; }
.contact-info__block a:hover { color: var(--gold); }

.form { padding: clamp(28px, 4vw, 64px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.form__group { margin-bottom: 38px; }
.form__label { display: block; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: 0.3s; user-select: none; }
.chip span:hover { border-color: var(--text); }
.chip input:checked + span { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.chip input:focus-visible + span { outline: 2px solid var(--blue-lt); outline-offset: 3px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
.field { position: relative; margin-bottom: 30px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  padding: 22px 0 12px; font-size: 1.1rem; outline: none; resize: vertical;
  transition: border-color 0.3s;
}
.field textarea { min-height: 120px; }
.field label { position: absolute; left: 0; top: 22px; color: var(--muted); pointer-events: none; transition: 0.3s var(--ease-out); }
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 0; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.field.is-error input, .field.is-error textarea { border-color: #ff6b6b; }
.field .err { display: none; color: #ff8a8a; font-size: 0.8rem; margin-top: 6px; }
.field.is-error .err { display: block; }
.form__success { display: none; text-align: center; padding: 60px 20px; }
.form__success svg { width: 76px; height: 76px; margin: 0 auto 26px; color: var(--gold); }
.form.is-sent form { display: none; }
.form.is-sent .form__success { display: block; }

.map-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21/8; background: var(--bg-2); }
.map-card img { width: 100%; height: 100%; object-fit: cover; }
.map-card iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
.map-card__pin { position: absolute; left: 68%; top: 39%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.map-card__pin i { width: 22px; height: 22px; border-radius: 6px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 0 10px rgba(238,175,31,0.18), 0 0 0 26px rgba(238,175,31,0.07); animation: pulse 2.4s infinite; }
.map-card__pin span { padding: 10px 18px; border-radius: 12px; background: rgba(5,8,22,0.8); border: 1px solid var(--line-2); font-weight: 700; font-size: 0.9rem; }
@keyframes pulse { 50% { box-shadow: 0 0 0 16px rgba(238,175,31,0.12), 0 0 0 40px rgba(238,175,31,0.03); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { position: relative; border-top: 1px solid var(--line); padding-block: 34px; background: var(--bg-2); }
.footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.footer__menu { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 30px; }
.footer__menu a { font-weight: 600; font-size: 0.95rem; color: var(--muted); transition: color 0.3s; }
.footer__menu a:hover, .footer__menu a.is-active { color: var(--gold); }
@media (max-width: 720px) { .footer__bar { flex-direction: column; text-align: center; } .footer__menu { justify-content: center; gap: 8px 20px; } .footer .socials { justify-content: center; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .nav { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu__body { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
  .menu__info { display: none; }
}
@media (max-width: 1024px) {
  :root { --header-h: 80px; --logo-h: 40px; }
  .hero__main { grid-template-columns: 1fr; }
  .statement, .split-2, .contact-grid, .page-hero__grid, .svc-detail { grid-template-columns: 1fr; }
  .svc-detail:nth-of-type(even) .svc-detail__media { order: 0; }
  .svc-row { grid-template-columns: 50px 1fr 56px; }
  .svc-row__desc { grid-column: 2 / 3; grid-row: 2; }
  .svc-row__arrow { width: 56px; height: 56px; grid-row: 1; grid-column: 3; }
  .cards-3, .plans, .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .timeline__item { grid-template-columns: 100px 1fr; }
  .timeline__item > :last-child { grid-column: 2; }
  .job { grid-template-columns: 1fr 1fr; gap: 10px 30px; }
  .sticky { position: static; }
  .section-head { grid-template-columns: 1fr; }
  .menu__body { grid-template-columns: 1fr; align-content: center; }
  .menu__preview { display: none; }
  .menu__info { display: flex; flex-direction: row; flex-wrap: wrap; gap: 24px 40px; }
  .menu__info > div:first-child { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .header .btn { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid--offset .work-card:nth-child(even) { margin-top: 0; }
  .steps, .cards-3, .plans, .industries, .values, .checklist, .form__row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding-inline: 14px; }
  .svc-row { grid-template-columns: 1fr 48px; gap: 16px; }
  .svc-row__num { display: none; }
  .svc-row__desc { grid-column: 1 / -1; }
  .svc-row__arrow { width: 48px; height: 48px; grid-column: 2; }
  .timeline__item { grid-template-columns: 1fr; gap: 16px; }
  .timeline__item > :last-child { grid-column: auto; }
  .job { grid-template-columns: 1fr; }
  .wide-media { aspect-ratio: 4 / 3; }
  .map-card { aspect-ratio: 4 / 3; }
  .menu__links a { font-size: clamp(1.5rem, 7vw, 2rem); }
  .menu__bottom { font-size: 0.72rem; }
  .menu__bottom span:last-child { display: none; }
  .preloader__meta span:not(.preloader__count) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* page veil — entering state after an internal navigation */
html.is-entering .veil { transform: translateY(0); transition: none; }
html.is-entered .veil { transform: translateY(-100%); }
/* hold inner-page hero animations until the page is ready (after loader/veil) */
html.js:not(.is-ready) .page-hero [data-reveal] { opacity: 0 !important; transform: translateY(46px) !important; }
html.js:not(.is-ready) .page-hero .split .w > span { transform: translateY(110%) rotate(4deg) !important; }


/* ==========================================================================
   Blue & yellow theme + centered hero
   ========================================================================== */
.logo img { filter: drop-shadow(0 2px 8px rgba(8, 24, 70, 0.35)); }

/* buttons: yellow primary, white ghost */
.btn { background: var(--gold); color: var(--ink); box-shadow: 0 16px 40px -18px rgba(247, 189, 30, 0.9); }
.btn::before { background: #fff; }
.btn:hover { color: var(--ink); }
.btn--ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: var(--line-2); box-shadow: none; }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--ink); }

/* header + menu */
.header.is-scrolled { background: rgba(25, 59, 134, 0.85); }
.nav { background: rgba(255, 255, 255, 0.06); }
.nav a { color: var(--muted); }
.nav a.is-active { background: var(--gold); color: var(--ink); }
.nav a span::after { color: #fff; }
.nav a.is-active span::after { color: var(--ink); }
.toggle { background: rgba(255, 255, 255, 0.08); }
.menu__bg {
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(127, 166, 255, 0.45), transparent 60%),
    radial-gradient(45% 55% at 8% 100%, rgba(127, 166, 255, 0.3), transparent 60%),
    var(--bg-2);
}
.menu__preview figcaption, .work-card__tag { background: rgba(16, 38, 92, 0.7); }

/* hero — centered, smaller title */
.hero { justify-content: center; }
.hero__main { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding-block: clamp(60px, 10vh, 120px); }
.hero__content { max-width: 1180px; margin-inline: auto; }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 7.2rem); line-height: 0.96; letter-spacing: -0.045em; }
.hero__lead { margin: clamp(22px, 2.6vw, 36px) auto 0; max-width: 44ch; font-size: clamp(1.05rem, 1.3vw, 1.3rem); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(28px, 3vw, 44px); }
.hero__orb--1 { background: rgba(127, 166, 255, 0.5); }
.hero__orb--2 { background: rgba(127, 166, 255, 0.4); }
.hero .rotator { justify-items: center; }

/* sections */
.section--line { background: var(--bg-2); }
.statement__text .sw { opacity: 0.28; }
.svc-row::before { background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(247, 189, 30, 0.14)); }
.svc-row:hover .svc-row__arrow { color: var(--ink); }
.step { background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)); }
.step::after { background: var(--gold); }
.step:hover::after { opacity: 0.35; }
.card { background: rgba(255, 255, 255, 0.05); }
.card__icon { background: rgba(255, 255, 255, 0.1); border-color: var(--line-2); }
.industry:hover { background: var(--surface); }
.plan { background: rgba(255, 255, 255, 0.05); }
.plan--featured { background: linear-gradient(160deg, rgba(247, 189, 30, 0.28), rgba(37, 82, 174, 0.9) 60%); border-color: rgba(247, 189, 30, 0.5); }
.plan__badge, .chip input:checked + span, .filter.is-active { color: var(--ink); }
.filter.is-active sup { color: var(--blue); }
.form { background: rgba(255, 255, 255, 0.05); }
.faq__item.is-open .faq__icon { color: var(--ink); }
.socials a:hover { color: var(--ink) !important; }
.cursor { border-color: rgba(255, 255, 255, 0.55); }
.cursor.is-view span { color: var(--ink); }
.hover-img { box-shadow: 0 30px 60px -20px rgba(8, 24, 70, 0.7); }

/* CTA in yellow */
.cta { background: var(--gold); color: var(--ink); }
.cta::before { background: radial-gradient(circle, rgba(255, 255, 255, 0.45), transparent 62%); }
.cta .eyebrow { color: var(--ink); }
.cta .eyebrow::before { background: var(--ink); box-shadow: none; }
.cta .grad-text { background: none; -webkit-text-fill-color: currentColor; color: var(--blue); }
.cta__btn { background: var(--blue); color: #fff; }
.cta__btn:hover { background: var(--ink); color: #fff; }
.cta__ring text { fill: var(--ink); }

/* ==========================================================================
   v4 — nav without background, 3D hero, portfolio, team, music, veil logo
   ========================================================================== */

/* navigation: no background / border, active = yellow text + dot */
.nav, .header .nav { background: none; border: 0; padding: 0; }
.nav a { background: none !important; color: var(--muted); padding: 10px 16px; }
.nav a.is-active { color: var(--gold); }
.nav a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold); }
.nav a.is-active span::after { color: var(--gold); }

/* hero: text left, 3D object right */
.hero__main { justify-items: start; text-align: left; }
.hero__content { max-width: 780px; margin-inline: 0; position: relative; z-index: 2; pointer-events: none; }
.hero__content a, .hero__content .rotator { pointer-events: auto; }
.hero__title { font-size: clamp(2.2rem, 4.3vw, 4.9rem); }
.hero__lead { margin-left: 0; margin-right: 0; font-size: clamp(0.98rem, 1.1vw, 1.12rem); max-width: 40ch; }
.hero__content { max-width: 620px; }
.hero__actions .btn { --h: 52px; padding: 0 26px; font-size: 0.9rem; }
.hero__actions { justify-content: flex-start; }
.hero .rotator { justify-items: start; }
.hero__orb--1 { right: -6vw; top: -10vw; }
.hero__hint {
  position: absolute; right: var(--gutter); bottom: clamp(24px, 4vh, 44px); z-index: 3;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 12px; border-radius: 999px;
  background: rgba(16, 38, 92, 0.45); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 0.82rem; font-weight: 600; color: var(--muted); pointer-events: none;
}
.hero__hint b { color: var(--gold); font-weight: 700; letter-spacing: 0.06em; }
.hero__hint-icon { position: relative; width: 22px; height: 30px; border: 1.5px solid var(--muted); border-radius: 12px; }
.hero__hint-icon::before { content: ""; position: absolute; left: 50%; top: 5px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--gold); }
.hero__hint-icon::after { content: ""; position: absolute; left: 0; top: 0; width: 50%; height: 45%; border-top-left-radius: 11px; background: rgba(247, 189, 30, 0.35); animation: clickpulse 1.8s ease-in-out infinite; }
@keyframes clickpulse { 0%, 100% { opacity: 0.15; } 50% { opacity: 1; } }
.hero.no-webgl .hero__hint { display: none; }
@media (max-width: 1024px) {
  .hero__content { max-width: 100%; }
  .hero__hint { left: 50%; right: auto; transform: translateX(-50%); }
}

/* portfolio screenshots */
.work-card__media { aspect-ratio: 16 / 10; }
.work-card__media img { object-position: center top; }

/* music toggle */
.sound-toggle {
  position: fixed; left: var(--gutter); bottom: 24px; z-index: 700;
  display: inline-flex; align-items: center; gap: 12px;
  height: 50px; padding: 0 20px 0 16px; border-radius: 999px;
  background: rgba(16, 38, 92, 0.6); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.sound-toggle:hover { border-color: var(--gold); transform: translateY(-2px); }
.sound-toggle__bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.sound-toggle__bars i { width: 3px; height: 4px; border-radius: 2px; background: var(--gold); transition: height 0.3s; }
.sound-toggle.is-playing .sound-toggle__bars i { animation: eq 1s ease-in-out infinite; }
.sound-toggle.is-playing .sound-toggle__bars i:nth-child(2) { animation-delay: -0.3s; animation-duration: 0.8s; }
.sound-toggle.is-playing .sound-toggle__bars i:nth-child(3) { animation-delay: -0.6s; animation-duration: 1.2s; }
.sound-toggle.is-playing .sound-toggle__bars i:nth-child(4) { animation-delay: -0.15s; animation-duration: 0.9s; }
.sound-toggle.is-armed { border-color: var(--gold); }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
html.menu-open .sound-toggle { opacity: 0; pointer-events: none; }
@media (max-width: 720px) { .sound-toggle { bottom: 16px; height: 44px; padding: 0 14px; } .sound-toggle__label { display: none; } }

/* page transition: logo in the centre */
.veil { display: grid; place-items: center; }
.veil__logo { height: 56px; width: auto; opacity: 0; transform: scale(0.85); transition: opacity 0.4s, transform 0.6s var(--ease-out); }
html.is-leaving .veil__logo { opacity: 1; transform: none; transition-delay: 0.3s; animation: veilpulse 1.2s ease-in-out 0.6s infinite; }
html.is-entering .veil__logo { opacity: 1; transform: none; transition: none; }
html.is-entered .veil { transition-delay: 0.25s; }
html.is-entered .veil__logo { opacity: 0; transform: scale(1.08); transition-duration: 0.35s; }
@keyframes veilpulse { 50% { transform: scale(1.05); } }
.hero__hint { white-space: nowrap; }
@media (max-width: 720px) { .hero__hint { font-size: 0.72rem; padding: 8px 14px 8px 10px; bottom: 18px; left: auto; right: 16px; transform: none; } .hero__hint-icon { width: 18px; height: 25px; } }

/* ==========================================================================
   v5 — 3D object docks into the intro, swapped intro, Team page
   ========================================================================== */
/* sections after the hero sit above the fixed 3D canvas */
.hero { cursor: pointer; }
.hero a, .hero button { cursor: pointer; }
.hero ~ section { position: relative; z-index: 1; }
html.no-webgl .hero__webgl { display: none; }

/* intro: text left, 3D object slot right */
.statement--swap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: clamp(40px, 6vw, 120px); }
.statement--swap .eyebrow { margin-bottom: 28px; }
.statement__object { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; justify-self: end; }
html.no-webgl .statement__object { background: url("../images/about-studio.svg") center / cover; border-radius: var(--radius); }
@media (max-width: 1024px) {
  .statement--swap { grid-template-columns: 1fr; }
  .statement__object { justify-self: center; max-width: 380px; }
}

/* ---------- Team page ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 140px); align-items: center; }
.founder__media { position: relative; }
.founder__frame { aspect-ratio: 4 / 5; border-radius: calc(var(--radius) * 1.6); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 50px 100px -40px rgba(8, 24, 70, 0.8); }
.founder__frame img { width: 100%; height: 100%; object-fit: cover; }
.founder__badge { position: absolute; top: 28px; left: -18px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; box-shadow: 0 20px 40px -16px rgba(247, 189, 30, 0.8); }
.founder__badge i { width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--ink); }
.founder__ring { position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.3); z-index: -1; animation: pl-spin 40s linear infinite; }
.founder__num { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.founder__name { font-size: clamp(3.6rem, 9vw, 9.5rem); line-height: 0.9; letter-spacing: -0.055em; }
.founder__role { font-family: var(--font-display); font-size: clamp(1.2rem, 1.8vw, 1.7rem); font-weight: 600; color: var(--muted); margin: 18px 0 34px; }
.founder__focus { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 34px; }
.founder__focus li span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 0.92rem; }
.founder__focus li span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--gold); }

.tgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 56px); }
.tgrid .tcard:nth-child(even) { margin-top: clamp(0px, 8vw, 160px); }
.tcard { display: block; }
.tcard__media { position: relative; aspect-ratio: 4 / 4.6; border-radius: calc(var(--radius) * 1.4); overflow: hidden; border: 1px solid var(--line); isolation: isolate; }
.tcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter 0.8s; }
.tcard:hover .tcard__media img { transform: scale(1.07); filter: saturate(1.15); }
.tcard__overlay {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(24px, 2.6vw, 40px);
  background: linear-gradient(180deg, transparent, rgba(12, 30, 80, 0.92) 45%);
  transform: translateY(101%); transition: transform 0.8s var(--ease-out);
}
.tcard:hover .tcard__overlay, .tcard:focus-within .tcard__overlay { transform: none; }
.tcard__overlay p { color: #fff; font-size: 1.02rem; max-width: 40ch; }
.tcard__social { display: flex; gap: 8px; }
.tcard__social a { padding: 8px 16px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 0.8rem; font-weight: 700; transition: background 0.3s; }
.tcard__social a:hover { background: #fff; }
.tcard__meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 26px; }
.tcard__name { font-size: clamp(1.6rem, 2.6vw, 2.6rem); letter-spacing: -0.03em; }
.tcard__role { color: var(--gold); font-weight: 600; margin-top: 6px; }
.tcard__arrow { width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: 0.5s var(--ease-out); }
.tcard__arrow svg { width: 20px; height: 20px; transform: rotate(-45deg); transition: transform 0.5s var(--ease-out); }
.tcard:hover .tcard__arrow { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.tcard:hover .tcard__arrow svg { transform: rotate(0); }
.tcard__media--join { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 20px; padding: clamp(28px, 3vw, 50px); background: radial-gradient(70% 60% at 80% 20%, rgba(247, 189, 30, 0.28), transparent 70%), linear-gradient(160deg, var(--surface-2), var(--bg-2)); border: 1px dashed var(--line-2); }
.tcard__media--join h3 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 0.98; }
.tcard__media--join p { color: var(--muted); max-width: 30ch; }
.tcard__plus { position: absolute; top: clamp(28px, 3vw, 50px); right: clamp(28px, 3vw, 50px); width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform 0.8s var(--ease-out), background 0.4s; }
.tcard__plus::before, .tcard__plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 24px; height: 2px; margin: -1px 0 0 -12px; background: #fff; }
.tcard__plus::after { transform: rotate(90deg); }
.tcard--join:hover .tcard__plus { transform: rotate(90deg); background: var(--gold); }
.tcard--join:hover .tcard__plus::before, .tcard--join:hover .tcard__plus::after { background: var(--ink); }

@media (max-width: 1024px) {
  .founder { grid-template-columns: 1fr; }
  .founder__media { max-width: 560px; }
  .founder__badge { left: 16px; }
  .founder__ring { display: none; }
}
@media (max-width: 720px) {
  .tgrid { grid-template-columns: 1fr; }
  .tgrid .tcard:nth-child(even) { margin-top: 0; }
  .tcard__overlay { display: none; }
  .tcard__media { aspect-ratio: 4 / 4.4; }
}

/* menu close: the background now shrinks back into the toggle (no stuck panel) */
.menu.is-open.is-closing .menu__bg { clip-path: circle(0px at var(--mx, 95%) var(--my, 46px)); transition: clip-path 0.85s var(--ease) 0.2s; }
.footer { padding-bottom: 96px; }
@media (max-width: 720px) { .footer { padding-bottom: 80px; } }

/* mobile & tablet: 3D model on top, hero text at the bottom */
@media (max-width: 1024px) {
  .hero__main { align-items: end; align-content: end; padding-top: 54vh; padding-top: 54svh; padding-bottom: 96px; }
  .hero__content { max-width: 560px; }
}
@media (max-width: 720px) {
  .hero__main { padding-top: 52vh; padding-top: 52svh; padding-bottom: 84px; }
  .hero__title { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero__lead { font-size: 0.95rem; }
  .hero__actions { margin-top: 22px; }
}

/* smaller toggle-menu links */
.menu__links a { font-size: clamp(1.1rem, 1.5vw, 1.6rem); padding: clamp(8px, 1.1vh, 12px) 0; gap: 18px; }
.menu__links a .num { width: 24px; }
.menu__links a .arr { width: 18px; height: 18px; }
@media (max-width: 720px) { .menu__links a { font-size: clamp(1.15rem, 5.2vw, 1.4rem); } }

/* crew: three columns + full-width join banner */
.tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); }
.tgrid .tcard:nth-child(even) { margin-top: 0; }
.tgrid .tcard:nth-child(2) { margin-top: clamp(0px, 5vw, 90px); }
.tcard__media { aspect-ratio: 4 / 5; }
.tcard__overlay p { font-size: 0.95rem; margin-bottom: 18px; }
.tcard__name { font-size: clamp(1.4rem, 1.9vw, 2rem); }
.tcard__arrow { width: 52px; height: 52px; }
.tcard--join { grid-column: 1 / -1; margin-top: clamp(10px, 2vw, 30px) !important; }
.tcard--join .tcard__media--join { aspect-ratio: auto; min-height: 260px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.tcard--join .tcard__media--join h3 { font-size: clamp(2rem, 3.6vw, 3.6rem); }
.tcard--join .tcard__plus { position: static; flex-shrink: 0; }
@media (max-width: 1024px) {
  .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tgrid .tcard:nth-child(2) { margin-top: 0; }
}
@media (max-width: 720px) {
  .tgrid { grid-template-columns: 1fr; }
  .tcard--join .tcard__media--join { flex-direction: column; align-items: flex-start; }
}
.tcard--join .tcard__plus { order: 3; }
.tcard--join .tcard__plus { position: relative; top: auto; right: auto; }

/* full-page scroll preview on hover (Ascent Himalayas) */
.work-card__scroll {
  position: absolute; inset: 0; z-index: 1;
  background-repeat: no-repeat; background-size: 100% auto; background-position: center top;
  opacity: 0;
  transition: opacity 0.5s ease, background-position 1.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.work-card:hover .work-card__scroll, .work-card:focus-visible .work-card__scroll {
  opacity: 1; background-position: center bottom;
  transition: opacity 0.5s ease, background-position 9s cubic-bezier(0.45, 0, 0.55, 1) 0.35s;
}
.work-card__hint {
  position: absolute; right: 18px; top: 18px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0; transform: translateY(-6px); transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.work-card__hint::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); animation: hintbob 1.2s ease-in-out infinite; }
@keyframes hintbob { 50% { transform: rotate(45deg) translate(2px, 0); } }
.work-card:hover .work-card__hint { opacity: 1; transform: none; }
.work-card:hover .work-card__media:has(.work-card__scroll) img { transform: scale(1) !important; }
@media (hover: none) { .work-card__hint { display: none; } }

/* ---------- loader: brand mark image animation ---------- */
.preloader__mark { width: 150px; height: 150px; }
.pl-rings { position: absolute; inset: -10px; width: calc(100% + 20px) !important; height: calc(100% + 20px) !important; }
.pl-logo { position: absolute; inset: 14px; }
.pl-logo img { width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(0.2) rotate(-140deg); filter: drop-shadow(0 18px 30px rgba(8, 24, 70, 0.45));
  animation: pl-pop 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards, pl-float 3.2s ease-in-out 1.4s infinite; }
.pl-shine { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.85) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0;
  -webkit-mask: url("../images/logo-mark.png") center / contain no-repeat; mask: url("../images/logo-mark.png") center / contain no-repeat;
  animation: pl-sweep 2.2s ease-in-out 1.3s infinite; }
@keyframes pl-pop { 0% { opacity: 0; transform: scale(0.2) rotate(-140deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes pl-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(3deg); } }
@keyframes pl-sweep { 0% { background-position: 150% 0; } 55%, 100% { background-position: -60% 0; } }

/* ---------- inner page banners: 3D temples on the right ---------- */
.page-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); grid-template-areas: "title scene" "aside scene"; align-items: center; row-gap: 34px; }
.page-hero__grid > div:first-child { grid-area: title; align-self: end; }
.page-hero__grid > .page-hero__aside { grid-area: aside; align-self: start; }
.page-hero .h1 { font-size: clamp(2.4rem, 4.6vw, 5.2rem); }
.page-hero__scene { grid-area: scene; position: relative; height: clamp(380px, 38vw, 620px); cursor: pointer; }
.page-hero__webgl { display: block; width: 100%; height: 100%; }
.page-hero__scene .hero__hint { right: 0; bottom: 0; left: auto; transform: none; }
html.no-webgl .page-hero__scene { display: none; }
@media (max-width: 1024px) {
  .page-hero__grid { grid-template-columns: 1fr; grid-template-areas: "scene" "title" "aside"; }
  .page-hero__scene { height: clamp(300px, 70vw, 460px); }
  .page-hero__scene .hero__hint { right: 50%; transform: translateX(50%); }
}

/* ---------- client video reviews ---------- */
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); }
.vgrid--home { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: auto auto; }
.vgrid--home .vcard--feature { grid-row: 1 / 3; }
.vgrid--home .vcard--feature .vcard__media { aspect-ratio: auto; height: 100%; min-height: 420px; }
.vcard { display: flex; flex-direction: column; text-align: left; width: 100%; color: inherit; cursor: pointer; }
.vcard__media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); isolation: isolate; }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.2s var(--ease-out), filter 0.6s; }
.vcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 30, 80, 0.05), rgba(12, 30, 80, 0.55)); transition: opacity 0.5s; }
.vcard:hover .vcard__media img { transform: scale(1.06); filter: saturate(1.1); }
.vcard:hover .vcard__media::after { opacity: 0.6; }
.vcard__tag { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 7px 14px; border-radius: 999px; background: rgba(16, 38, 92, 0.75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.vcard__play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); box-shadow: 0 0 0 0 rgba(247, 189, 30, 0.6); animation: vpulse 2.2s ease-out infinite; transition: transform 0.5s var(--ease-out); }
.vcard__play svg { width: 28px; height: 28px; margin-left: 4px; }
.vcard__play--xl { width: 110px; height: 110px; margin: -55px 0 0 -55px; }
.vcard__play--xl svg { width: 40px; height: 40px; }
.vcard:hover .vcard__play { transform: scale(1.12); }
@keyframes vpulse { 0% { box-shadow: 0 0 0 0 rgba(247, 189, 30, 0.55); } 100% { box-shadow: 0 0 0 26px rgba(247, 189, 30, 0); } }
.vcard__meta { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; }
.vcard__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1.6vw, 1.6rem); letter-spacing: -0.02em; }
.vcard__role { color: var(--gold); font-size: 0.9rem; font-weight: 600; }
.vcard--wide .vcard__media { aspect-ratio: 21 / 9; }
.vcard__caption { position: absolute; left: clamp(20px, 3vw, 44px); bottom: clamp(20px, 3vw, 40px); z-index: 2; display: flex; flex-direction: column; gap: 6px; max-width: 46ch; }
.vcard__caption b { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 3rem); letter-spacing: -0.03em; line-height: 1; }
.vcard__caption span { color: var(--muted); }
@media (max-width: 1024px) { .vgrid, .vgrid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vgrid--home .vcard--feature { grid-column: 1 / -1; grid-row: auto; } .vgrid--home .vcard--feature .vcard__media { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 720px) { .vgrid, .vgrid--home { grid-template-columns: 1fr; } .vcard--wide .vcard__media { aspect-ratio: 4 / 3; } }

/* video modal */
.vmodal { position: fixed; inset: 0; z-index: 9200; display: grid; place-items: center; padding: var(--gutter); visibility: hidden; opacity: 0; transition: opacity 0.4s, visibility 0s 0.4s; }
.vmodal.is-open { visibility: visible; opacity: 1; transition: opacity 0.4s; }
.vmodal__backdrop { position: absolute; inset: 0; background: rgba(8, 22, 62, 0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.vmodal__box { position: relative; width: min(1180px, 100%); transform: scale(0.94) translateY(20px); transition: transform 0.6s var(--ease-out); }
.vmodal.is-open .vmodal__box { transform: none; }
.vmodal__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0b1b45; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7); }
.vmodal__frame iframe, .vmodal__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmodal__soon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; }
.vmodal__soon b { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.6rem); }
.vmodal__soon span { color: var(--muted); }
.vmodal__title { margin-top: 18px; font-weight: 700; font-size: 1.05rem; }
.vmodal__close { position: absolute; top: -64px; right: 0; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform 0.5s var(--ease-out), background 0.3s; }
.vmodal__close:hover { transform: rotate(90deg); background: var(--gold); color: var(--ink); }
.vmodal__close::before, .vmodal__close::after { content: ""; position: absolute; width: 20px; height: 2px; background: currentColor; transform: rotate(45deg); }
.vmodal__close::after { transform: rotate(-45deg); }

/* ---------- inner pages: tighter top spacing ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(16px, 2.4vw, 40px)); padding-bottom: clamp(40px, 5vw, 80px); }
.page-hero .crumbs { margin-bottom: 18px; }
.page-hero .eyebrow { margin-bottom: 22px; }

/* ---------- reveal: animate in AND out ---------- */
html.js [data-reveal].is-out-up { transform: translateY(-46px); }
html.js [data-reveal="scale"].is-out-up { transform: scale(0.94); }
html.js [data-reveal="fade"].is-out-up { transform: none; }
html.js .split.is-out-up .w > span { transform: translateY(-110%) rotate(-4deg); }
html.js .img-reveal.is-out-up::after { transform-origin: bottom; }

/* ---------- client video carousel ---------- */
.vcarousel {
  --vc-gap: clamp(16px, 2vw, 30px);
  --vc-cols: 4;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: auto;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none;
  touch-action: pan-x pan-y;
}
.vcarousel::-webkit-scrollbar { display: none; }
.vcarousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.vcarousel.is-dragging .vcard { pointer-events: none; }
.vcarousel__track { display: flex; gap: var(--vc-gap); width: max-content; padding-bottom: 6px; }
.vcarousel .vcard {
  flex: 0 0 calc((min(100vw, var(--max)) - 2 * var(--gutter) - (var(--vc-cols) - 1) * var(--vc-gap)) / var(--vc-cols));
  scroll-snap-align: start;
}
.vcarousel .vcard__media { aspect-ratio: 4 / 5; }
.vcarousel img { pointer-events: none; }
.vcarousel__progress { max-width: calc(var(--max) - 2 * var(--gutter)); height: 2px; margin: 34px auto 0; background: var(--line); border-radius: 2px; overflow: hidden; }
.vcarousel__progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0.1); transition: transform 0.2s linear; }
.vcarousel__controls { display: flex; align-items: center; gap: 10px; }
.vcarousel__arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: 0.4s var(--ease-out); }
.vcarousel__arrow svg { width: 20px; height: 20px; }
.vcarousel__arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
@media (max-width: 1280px) { .vcarousel { --vc-cols: 3; } }
@media (max-width: 1024px) { .vcarousel { --vc-cols: 2.3; } }
@media (max-width: 720px) { .vcarousel { --vc-cols: 1.25; } .vcarousel__controls .vcarousel__arrow { display: none; } }

/* hover preview video inside cards */
.vcard__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.vcard__media.is-previewing .vcard__preview { opacity: 1; }
.vcard__media.is-previewing .vcard__play { transform: scale(0.7); opacity: 0.85; }
.vcard__media::after { z-index: 1; }
.vcard__time { position: absolute; right: 16px; bottom: 16px; z-index: 2; padding: 5px 10px; border-radius: 8px; background: rgba(16, 38, 92, 0.75); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em; }

/* ---------- industries: one row, name + icon first, details on hover ---------- */
.industries { display: flex; gap: 1px; grid-template-columns: none; }
.industry {
  position: relative; flex: 1 1 0; min-width: 0; min-height: 320px; overflow: hidden;
  justify-content: space-between; gap: 20px;
  transition: flex-grow 0.8s var(--ease-out), background 0.5s;
}
.industry::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(247, 189, 30, 0.22), rgba(44, 95, 194, 0.55));
  transform: translateY(101%); transition: transform 0.8s var(--ease-out);
}
.industry > * { position: relative; z-index: 1; }
.industry svg { width: 46px; height: 46px; transition: transform 0.8s var(--ease-out), color 0.4s; }
.industry h3 { font-size: clamp(1.05rem, 1.25vw, 1.35rem); line-height: 1.2; margin-bottom: 0; transition: transform 0.6s var(--ease-out); }
.industry p {
  max-height: 0; opacity: 0; transform: translateY(14px); margin-top: 0; overflow: hidden;
  transition: max-height 0.7s var(--ease-out), opacity 0.4s, transform 0.7s var(--ease-out), margin 0.6s;
}
.industry__top span { transition: color 0.4s; }
.industries:hover .industry { flex-grow: 0.75; }
.industries .industry:hover { flex-grow: 2.2; background: var(--surface); }
.industry:hover::before { transform: none; }
.industry:hover svg { transform: rotate(-10deg) scale(1.18); color: #fff; }
.industry:hover .industry__top span { color: var(--gold); }
.industry:hover h3 { transform: translateY(-4px); }
.industry:hover p { max-height: 160px; opacity: 1; transform: none; margin-top: 10px; transition-delay: 0.15s; }
@media (max-width: 1024px) {
  .industries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry { min-height: 220px; }
  .industry p { max-height: none; opacity: 1; transform: none; margin-top: 8px; }
}
@media (max-width: 560px) { .industries { grid-template-columns: 1fr; } }

/* ==========================================================================
   Toggle menu v2 — background stripes first, content second (in & out)
   ========================================================================== */
.menu__stripes { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; pointer-events: none; }
.menu__stripes span {
  flex: 1 1 0; margin-bottom: -1px;                      /* no hairline gaps */
  background: var(--bg-2);
  transform: translateX(101%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1);
  transition-delay: calc(var(--s) * 0.03s);
}
.menu__stripes span:nth-child(odd) { background: var(--bg-2); }
.menu.is-open .menu__stripes span { transform: none; }
.menu.is-closing .menu__stripes span { transform: translateX(-101%); transition-delay: calc((4 - var(--s)) * 0.03s); }
.menu.is-reset .menu__stripes span { transition: none !important; transform: translateX(101%) !important; }

/* soft gradient glow fades in on top of the stripes once they've landed */
.menu__bg { clip-path: none !important; z-index: 1; opacity: 0; transition: opacity 0.5s ease !important;
  background: radial-gradient(60% 70% at 85% 10%, rgba(127, 166, 255, 0.4), transparent 60%),
              radial-gradient(45% 55% at 8% 100%, rgba(127, 166, 255, 0.25), transparent 60%) !important; }
.menu.is-ready .menu__bg { opacity: 1; }

/* content stays hidden until the background is fully in */
.menu.is-open:not(.is-ready) .menu__links a { transform: translateY(105%); transition: transform 0.3s cubic-bezier(0.55, 0, 1, 0.45); transition-delay: 0s; }
.menu.is-open:not(.is-ready) .menu__top .logo,
.menu.is-open:not(.is-ready) .menu__preview,
.menu.is-open:not(.is-ready) .menu__info,
.menu.is-open:not(.is-ready) .menu__bottom,
.menu.is-open:not(.is-ready) .menu__label { opacity: 0; transform: translateY(12px); transition: opacity 0.25s, transform 0.3s; transition-delay: 0s; }
.menu.is-open:not(.is-ready) .menu__close .x span { transform: scaleX(0); transition: transform 0.25s; transition-delay: 0s; }
.menu.is-open:not(.is-ready) .menu__close .ring-fg { stroke-dashoffset: 170; transition: stroke-dashoffset 0.3s; transition-delay: 0s; }

/* once ready: quick, tidy stagger */
.menu.is-ready .menu__links a { transform: none; transition: transform 0.7s var(--ease-out), color 0.35s, padding 0.5s var(--ease-out); transition-delay: calc(var(--i) * 0.045s), 0s, 0s; }
.menu.is-ready .menu__top .logo { opacity: 1; transform: none; transition: opacity 0.4s, transform 0.5s var(--ease-out); transition-delay: 0s; }
.menu.is-ready .menu__label { opacity: 1; transform: none; transition: opacity 0.4s 0.05s, transform 0.5s var(--ease-out) 0.05s; }
.menu.is-ready .menu__preview { opacity: 1; transform: none; transition: opacity 0.5s 0.12s, transform 0.7s var(--ease-out) 0.12s; }
.menu.is-ready .menu__info { opacity: 1; transform: none; transition: opacity 0.5s 0.2s, transform 0.6s var(--ease-out) 0.2s; }
.menu.is-ready .menu__bottom { opacity: 1; transform: none; transition: opacity 0.5s 0.3s, transform 0.5s 0.3s; }
.menu.is-ready .menu__close .x span:nth-child(1) { transform: rotate(45deg) scaleX(1); transition: transform 0.5s var(--ease-out) 0.05s; }
.menu.is-ready .menu__close .x span:nth-child(2) { transform: rotate(-45deg) scaleX(1); transition: transform 0.5s var(--ease-out) 0.12s; }
.menu.is-ready .menu__close .ring-fg { stroke-dashoffset: 0; transition: stroke-dashoffset 0.8s var(--ease) 0s; }
.menu__label { transition: opacity 0.3s, transform 0.3s; }

/* old closing rules no longer needed */
.menu.is-closing .menu__bg { transition-delay: 0s !important; }

/* ==========================================================================
   Brand mouse pointer — static, logo colours only (blue + yellow)
   ========================================================================== */
.cursor, .cursor-dot { display: none !important; }
html, body { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M4 2 L4 22 L9.5 17 L13 25 L16.5 23.5 L13 15.8 L20.5 15.8 Z' fill='%232955A3' stroke='%23F7BD1E' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto; }
a, button, label, select, summary, [role="button"], [data-video], .chip span, .filter, .vcard, .industry, .svc-row, .tcard, .work-card,
.hero, .page-hero__scene, .vcarousel, .vcarousel.is-dragging, .toggle, .menu__close { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M4 2 L4 22 L9.5 17 L13 25 L16.5 23.5 L13 15.8 L20.5 15.8 Z' fill='%23F7BD1E' stroke='%232955A3' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, pointer !important; }
input, textarea { cursor: text; }

/* ==========================================================================
   v6 — new toggle button (no border), close button, single-row sections,
   scroll-to-top, richer footer
   ========================================================================== */

/* toggle: borderless pill with label + yellow icon disc */
.toggle {
  width: auto; height: 54px; padding: 0 6px 0 22px; gap: 14px;
  display: inline-flex; align-items: center;
  border: 0 !important; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background 0.35s;
}
.toggle:hover { background: rgba(255, 255, 255, 0.18); }
.toggle__label { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; }
.toggle__lines {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold); display: block;
  transition: transform 0.45s var(--ease-out);
}
.toggle__lines span {
  position: absolute; left: 12px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: width 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.toggle__lines span:nth-child(1) { top: 14px; width: 18px; }
.toggle__lines span:nth-child(2) { top: 20px; width: 12px; right: auto; bottom: auto; }
.toggle__lines span:nth-child(3) { top: 26px; width: 18px; }
.toggle:hover .toggle__lines { transform: rotate(90deg); }
.toggle:hover .toggle__lines span:nth-child(2) { width: 18px; }
.toggle:hover .toggle__lines span:nth-child(1), .toggle:hover .toggle__lines span:nth-child(3) { width: 10px; transform: translateX(4px); }
@media (max-width: 720px) {
  .toggle { padding: 0; background: none; height: 46px; }
  .toggle__label { display: none; }
  .toggle__lines { width: 46px; height: 46px; }
  .toggle__lines span { left: 14px; }
  .toggle__lines span:nth-child(1) { top: 16px; } .toggle__lines span:nth-child(2) { top: 22px; } .toggle__lines span:nth-child(3) { top: 28px; }
}

/* close button inside the menu: same yellow disc, no ring border */
.menu__close { width: 54px; height: 54px; border-radius: 50%; background: var(--gold); }
.menu__close svg.ring { display: none; }
.menu__close .x span { background: var(--ink) !important; }
.menu__close:hover { transform: rotate(90deg); background: #fff; }
@media (max-width: 720px) { .menu__close { width: 46px; height: 46px; } }

/* ---------- WHAT WE DO: single row of expanding panels ---------- */
.svc-list { display: flex; gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.svc-row {
  flex: 1 1 0; min-width: 0; min-height: 400px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  padding: clamp(24px, 2.4vw, 38px); background: var(--bg); border: 0;
  transition: flex-grow 0.8s var(--ease-out), background 0.5s;
}
.svc-row::before { inset: 0; background: linear-gradient(180deg, rgba(247, 189, 30, 0.2), rgba(44, 95, 194, 0.55)); transform: translateY(101%); transition: transform 0.8s var(--ease-out); }
.svc-row:hover::before { transform: none; }
.svc-row > * { position: relative; z-index: 1; }
.svc-row__num { font-size: 0.9rem; color: var(--gold); }
.svc-row__title { font-size: clamp(1.25rem, 1.7vw, 1.9rem); line-height: 1.1; margin-top: auto; }
.svc-row:hover .svc-row__title { transform: none; }
.svc-row__desc { max-height: 0; opacity: 0; overflow: hidden; transform: translateY(12px); transition: max-height 0.7s var(--ease-out), opacity 0.4s, transform 0.7s var(--ease-out); }
.svc-row__arrow { width: 52px; height: 52px; align-self: flex-start; }
.svc-list:hover .svc-row { flex-grow: 0.7; }
.svc-list .svc-row:hover { flex-grow: 2.3; }
.svc-row:hover .svc-row__desc { max-height: 220px; opacity: 1; transform: none; transition-delay: 0.15s; }
.svc-list + .hover-img, .hover-img { display: none; }     /* panels now show the info themselves */

/* ---------- HOW WE WORK: single row of expanding steps ---------- */
.steps { display: flex; gap: 16px; }
.step { flex: 1 1 0; min-width: 0; min-height: 340px; transition: flex-grow 0.8s var(--ease-out), border-color 0.4s, transform 0.6s var(--ease-out); }
.step:hover { transform: none; }
.step h3 { margin-bottom: 0; }
.step p { max-height: 0; opacity: 0; overflow: hidden; transform: translateY(12px); transition: max-height 0.7s var(--ease-out), opacity 0.4s, transform 0.7s var(--ease-out), margin 0.6s; }
.steps:hover .step { flex-grow: 0.8; }
.steps .step:hover { flex-grow: 1.9; border-color: rgba(247, 189, 30, 0.55); }
.step:hover p { max-height: 180px; opacity: 1; transform: none; margin-top: 12px; transition-delay: 0.15s; }
.step__num { transition: color 0.4s, -webkit-text-stroke-color 0.4s; }
.step:hover .step__num { -webkit-text-stroke-color: var(--gold); }

@media (max-width: 1024px) {
  .svc-list, .steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-row, .step { min-height: 0; }
  .svc-row__desc, .step p { max-height: none; opacity: 1; transform: none; margin-top: 10px; }
}
@media (max-width: 560px) { .svc-list, .steps { grid-template-columns: 1fr; } }

/* ---------- scroll to top ---------- */
.to-top-btn {
  position: fixed; right: var(--gutter); bottom: 24px; z-index: 700;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(16, 38, 92, 0.65); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -18px rgba(8, 24, 70, 0.8);
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.85);
  transition: opacity 0.4s, transform 0.5s var(--ease-out), visibility 0s 0.5s, background 0.35s;
}
.to-top-btn.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity 0.4s, transform 0.5s var(--ease-out), background 0.35s; }
.to-top-btn__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-btn__track { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 3; }
.to-top-btn__bar { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset 0.15s linear; }
.to-top-btn__arrow { position: relative; width: 22px; height: 22px; color: #fff; transition: transform 0.45s var(--ease-out), color 0.3s; }
.to-top-btn:hover { background: var(--gold); }
.to-top-btn:hover .to-top-btn__arrow { color: var(--ink); transform: translateY(-3px); }
.to-top-btn:hover .to-top-btn__bar { stroke: var(--ink); }
html.menu-open .to-top-btn { opacity: 0; pointer-events: none; }
@media (max-width: 720px) { .to-top-btn { width: 50px; height: 50px; bottom: 16px; right: 16px; } }

/* ---------- footer: menu + social logos / contact / copyright ---------- */
.footer { padding-top: clamp(40px, 5vw, 70px); padding-bottom: 96px; }
.footer__bar { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.social-icons { display: flex; flex-wrap: wrap; gap: 10px; }
.social-icons a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: #fff; transition: background 0.3s, color 0.3s, transform 0.4s var(--ease-out); }
.social-icons a svg { width: 19px; height: 19px; }
.social-icons a:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.footer__info { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.footer__item { display: flex; align-items: center; gap: 16px; }
.footer__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: rgba(247, 189, 30, 0.14); color: var(--gold); }
.footer__icon svg { width: 22px; height: 22px; }
.footer__label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.footer__item p, .footer__item a { font-weight: 600; font-size: 1rem; color: #fff; transition: color 0.3s; word-break: break-word; }
.footer__item a:hover { color: var(--gold); }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 30px; padding-top: 26px; font-size: 0.86rem; color: var(--dim); }
@media (max-width: 1180px) { .footer__info { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .footer__info { grid-template-columns: 1fr; } }
.footer__item a + a { margin-left: 14px; }
@media (max-width: 720px) { .footer__legal { flex-direction: column; text-align: center; align-items: center; } .social-icons { justify-content: center; } }
.svc-row { align-items: flex-start; text-align: left; } .svc-row__title { width: 100%; text-align: left; }

/* ==========================================================================
   v7 — big icons + heavy, smooth, distinct hover animations; animated footer
   ========================================================================== */
.big-icon {
  position: relative; display: grid; place-items: center;
  width: 84px; height: 84px; border-radius: 24px;
  color: #fff; background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 14px 30px -18px rgba(5, 15, 50, 0.9);
  transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.6s, color 0.5s, box-shadow 0.7s, border-radius 0.8s var(--ease-out);
  isolation: isolate;
}
.big-icon svg { width: 44px; height: 44px; transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1); }
.big-icon::before {               /* glowing yellow halo */
  content: ""; position: absolute; inset: -10px; z-index: -1; border-radius: inherit;
  background: radial-gradient(circle, rgba(247, 189, 30, 0.55), transparent 70%);
  opacity: 0; transform: scale(0.6); transition: opacity 0.6s, transform 0.9s var(--ease-out);
}
.big-icon::after {                /* orbiting ring */
  content: ""; position: absolute; inset: -9px; border-radius: 30px;
  border: 1.5px dashed rgba(247, 189, 30, 0.8);
  opacity: 0; transform: scale(0.8) rotate(0); transition: opacity 0.5s, transform 0.8s var(--ease-out);
}
.industry svg { width: 44px; height: 44px; color: inherit; }
.industry__top { justify-content: flex-start; }

/* card shadow + lift (shared) */
.svc-row, .step, .industry { transition: flex-grow 0.9s cubic-bezier(0.65, 0, 0.35, 1), background 0.6s, box-shadow 0.8s var(--ease-out), transform 0.8s var(--ease-out), border-color 0.5s !important; }
.svc-row:hover, .step:hover, .industry:hover {
  box-shadow: 0 40px 70px -30px rgba(5, 15, 50, 0.95), 0 0 0 1px rgba(247, 189, 30, 0.45) inset;
  z-index: 2;
}

/* WHAT WE DO — icon flips in 3D, turns yellow, ring spins */
.svc-row { perspective: 600px; }
.svc-row:hover .big-icon {
  background: var(--gold); color: var(--ink); border-radius: 50%;
  transform: translateY(-6px) rotateY(360deg) scale(1.08);
  box-shadow: 0 22px 44px -14px rgba(247, 189, 30, 0.85);
}
.svc-row:hover .big-icon::before { opacity: 1; transform: scale(1.35); }
.svc-row:hover .big-icon::after { opacity: 1; transform: scale(1.12) rotate(180deg); border-radius: 50%; transition: opacity 0.5s, transform 4s linear; }
.svc-row::after {               /* light sweep across the panel */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.14) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 1.2s var(--ease-out);
}
.svc-row:hover::after { transform: translateX(120%); }

/* HOW WE WORK — icon pops up and bounces, card tilts up */
.step:hover { transform: translateY(-14px) !important; border-color: rgba(247, 189, 30, 0.6) !important; }
.step:hover .big-icon {
  background: var(--gold); color: var(--ink);
  transform: translateY(-4px) scale(1.15) rotate(-8deg);
  box-shadow: 0 26px 50px -16px rgba(247, 189, 30, 0.9);
  animation: iconBounce 1.6s cubic-bezier(0.45, 0, 0.55, 1) 0.9s infinite;
}
.step:hover .big-icon svg { transform: scale(1.06); }
.step:hover .big-icon::before { opacity: 1; transform: scale(1.4); }
@keyframes iconBounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.step::after { background: var(--gold) !important; }

/* INDUSTRIES — icon swings and grows, yellow pulse rings */
.industry:hover .big-icon {
  background: var(--gold); color: var(--ink); border-radius: 30px;
  transform: scale(1.2) rotate(-12deg);
  box-shadow: 0 24px 48px -16px rgba(247, 189, 30, 0.9);
}
.industry:hover .big-icon svg { transform: rotate(12deg) scale(1.05); }
.industry:hover .big-icon::after { opacity: 1; border-style: solid; animation: ringPulse 1.6s ease-out 0.4s infinite; }
.industry:hover .big-icon::before { opacity: 1; transform: scale(1.4); }
@keyframes ringPulse { 0% { transform: scale(0.95); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
.industry:hover svg { color: var(--ink) !important; transform: none; }

@media (max-width: 720px) { .big-icon { width: 68px; height: 68px; border-radius: 20px; } .big-icon svg, .industry svg { width: 36px; height: 36px; } }
@media (hover: none) { .svc-row .big-icon, .step .big-icon, .industry .big-icon { background: var(--gold); color: var(--ink); } }

/* ---------- animated footer background ---------- */
.footer { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #173a82 0%, #12306f 100%); }
.footer__fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fx-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.fx-blob--1 { width: 520px; height: 520px; left: -140px; top: -220px; background: #2c5fc2; animation: blobA 18s ease-in-out infinite alternate; }
.fx-blob--2 { width: 420px; height: 420px; right: -100px; top: -120px; background: rgba(247, 189, 30, 0.45); animation: blobB 22s ease-in-out infinite alternate; }
.fx-blob--3 { width: 360px; height: 360px; left: 40%; bottom: -220px; background: #4f86ff; animation: blobC 20s ease-in-out infinite alternate; }
@keyframes blobA { to { transform: translate(220px, 120px) scale(1.2); } }
@keyframes blobB { to { transform: translate(-260px, 160px) scale(0.85); } }
@keyframes blobC { to { transform: translate(-200px, -120px) scale(1.25); } }
.fx-grid {
  position: absolute; inset: -60px 0 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
  transform: perspective(600px) rotateX(55deg) translateY(10%); transform-origin: bottom;
  animation: gridMove 6s linear infinite;
}
@keyframes gridMove { to { background-position: 0 64px, 0 0; } }
.fx-waves { position: absolute; left: 0; bottom: 0; width: 200%; height: 140px; animation: waveSlide 16s linear infinite; }
.fx-wave--1 { fill: rgba(247, 189, 30, 0.08); }
.fx-wave--2 { fill: rgba(127, 166, 255, 0.1); animation: waveBob 7s ease-in-out infinite alternate; }
@keyframes waveSlide { to { transform: translateX(-50%); } }
@keyframes waveBob { to { transform: translateY(18px); } }
.fx-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(247, 189, 30, 0.9) 1.2px, transparent 1.6px), radial-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1.4px);
  background-size: 180px 180px, 120px 120px; background-position: 0 0, 60px 40px;
  opacity: 0.35; animation: dotsRise 24s linear infinite;
}
@keyframes dotsRise { to { background-position: 0 -540px, 60px -320px; } }
.social-icons a, .footer__icon { box-shadow: 0 10px 24px -14px rgba(5, 15, 50, 0.9); }
.social-icons a:hover { box-shadow: 0 16px 30px -12px rgba(247, 189, 30, 0.8); }
@media (prefers-reduced-motion: reduce) { .footer__fx * { animation: none !important; } }

/* ==========================================================================
   Toggle menu v3 — split layout: blue navigation + yellow brand panel
   ========================================================================== */
.menu { --panel: 32%; }
.menu__stripes { flex-direction: row; }
.menu__stripes span { flex: 1 1 0; margin: 0 -1px 0 0; background: var(--bg-2) !important; transform: translateY(-101%); transition: transform 0.55s cubic-bezier(0.77, 0, 0.18, 1); transition-delay: calc(var(--s) * 0.05s); }
.menu__stripes span:nth-child(5) { flex: 0 0 var(--panel); background: var(--gold) !important; }
.menu.is-open .menu__stripes span { transform: none; }
.menu.is-closing .menu__stripes span { transform: translateY(101%); transition-delay: calc((4 - var(--s)) * 0.05s); }
.menu.is-reset .menu__stripes span { transform: translateY(-101%) !important; }
.menu__bg { background: radial-gradient(55% 70% at 25% 30%, rgba(127, 166, 255, 0.35), transparent 65%) !important; right: var(--panel); }

/* layout */
.menu__body { grid-template-columns: minmax(0, 1fr) calc(var(--panel) - var(--gutter)) !important; gap: 0 !important; align-items: stretch; padding-block: 0; }
.menu__body > div:first-child { display: flex; flex-direction: column; justify-content: center; padding-right: clamp(30px, 5vw, 90px); }
.menu__preview { display: none !important; }
.menu__top .menu__close { position: relative; z-index: 3; }

/* links: two-column list with number, hover wipe and arrow */
.menu__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 70px); }
.menu__links li, .menu__links li:first-child { border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.menu__links a { position: relative; padding: clamp(12px, 1.8vh, 20px) 0; font-size: clamp(1.15rem, 1.6vw, 1.7rem); }
.menu__links a::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease-out); }
.menu__links a:hover::after, .menu__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.menu__links a:hover { padding-left: 10px; color: var(--gold) !important; }
.menu__links a .num { color: rgba(255, 255, 255, 0.45); }
.menu__links a.is-active { color: var(--gold); }

/* yellow brand panel */
.menu__info { display: flex !important; flex-direction: column; justify-content: center; gap: 26px; padding-left: clamp(24px, 3vw, 56px); color: var(--ink); }
.menu__info .menu__label { color: rgba(16, 38, 92, 0.6); }
.menu__info a, .menu__info p { color: var(--ink) !important; font-weight: 600; }
.menu__info a:hover { color: #fff !important; }
.menu__brand img { width: 92px; height: 92px; filter: drop-shadow(0 14px 22px rgba(16, 38, 92, 0.35)); animation: brandSpin 14s linear infinite; }
@keyframes brandSpin { 50% { transform: rotate(8deg) scale(1.04); } }
.menu__pitch { margin: 22px 0 18px; font-size: 1.05rem !important; font-weight: 500 !important; max-width: 24ch; line-height: 1.5; }
.menu__pitch b { display: block; font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.1; letter-spacing: -0.02em; margin-top: 6px; }
.menu__cta { display: inline-flex !important; align-items: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff !important; font-weight: 700; transition: transform 0.4s var(--ease-out), background 0.3s; }
.menu__cta svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease-out); }
.menu__cta:hover { background: var(--blue); transform: translateY(-2px); }
.menu__cta:hover svg { transform: translateX(4px); }
.menu__info .socials a { border-color: rgba(16, 38, 92, 0.35) !important; color: var(--ink) !important; }
.menu__info .socials a:hover { background: var(--ink) !important; color: #fff !important; border-color: var(--ink) !important; }
.menu__close { background: var(--ink) !important; }
.menu__close .x span { background: #fff !important; }
.menu__close:hover { background: var(--blue) !important; }
.menu__bottom { border-top-color: rgba(255, 255, 255, 0.12); }
.menu__bottom > span:last-child { color: var(--ink); font-weight: 700; }

/* staggered entrance for the panel pieces */
.menu.is-open:not(.is-ready) .menu__brand, .menu.is-open:not(.is-ready) .menu__info > div { opacity: 0; transform: translateY(20px); }
.menu__brand, .menu__info > div { transition: opacity 0.4s, transform 0.5s var(--ease-out); }
.menu.is-ready .menu__brand { opacity: 1; transform: none; transition-delay: 0.1s; }
.menu.is-ready .menu__info > div:nth-child(2) { transition-delay: 0.2s; }
.menu.is-ready .menu__info > div:nth-child(3) { transition-delay: 0.28s; }

@media (max-width: 1024px) {
  .menu { --panel: 0%; }
  .menu__stripes span:nth-child(5) { flex: 0 0 0; }
  .menu__bg { right: 0; }
  .menu__body { grid-template-columns: 1fr !important; align-content: center; gap: 28px !important; overflow-y: auto; }
  .menu__body > div:first-child { padding-right: 0; }
  .menu__info { padding: 22px; border-radius: var(--radius); background: var(--gold); gap: 18px; }
  .menu__info > div:not(.menu__brand):first-of-type { display: none; }
  .menu__brand img { width: 56px; height: 56px; }
  .menu__pitch { margin: 12px 0; }
  .menu__close { background: var(--gold) !important; }
  .menu__close .x span { background: var(--ink) !important; }
  .menu__bottom span:last-child { color: inherit; }
}
@media (max-width: 720px) {
  .menu__links { grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .menu__links a { font-size: 1.1rem; gap: 10px; padding: 12px 0; }
  .menu__links a .num { width: 18px; font-size: 0.62rem; }
  .menu__links a .arr { display: none; }
  .menu__pitch { font-size: 0.92rem !important; }
}
.menu .menu__info a.menu__cta { color: #fff !important; }
.menu .menu__info a.menu__cta:hover { color: #fff !important; }
@media (max-width: 1024px) {
  .menu .menu__info > div.menu__brand { display: block !important; }
  .menu .menu__info > div:nth-child(2) { display: none !important; }
  .menu .menu__top .menu__close { background: var(--gold) !important; }
}

/* ==========================================================================
   v8 — new section designs
   ========================================================================== */
.flip__icon, .ptl__icon, .spot__icon { display: grid; place-items: center; }

/* ---------- WHAT WE DO: 3D flip cards with cursor tilt ---------- */
.flips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); perspective: 1400px; }
.flip { display: block; height: clamp(340px, 30vw, 420px); --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; }
.flip__inner {
  position: relative; display: block; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.flip:hover .flip__inner, .flip:focus-visible .flip__inner { transform: rotateX(calc(var(--rx) * 0.4)) rotateY(calc(180deg + var(--ry) * 0.4)); }
.flip__face {
  position: absolute; inset: 0; display: flex; flex-direction: column; padding: clamp(22px, 2vw, 30px);
  border-radius: calc(var(--radius) * 1.1); backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(5, 15, 50, 0.9);
}
.flip__front { align-items: flex-start; justify-content: space-between; background: linear-gradient(160deg, #2c5fc2 0%, #173a82 100%); border: 1px solid rgba(255, 255, 255, 0.14); }
.flip__glow { position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx) var(--my), rgba(247, 189, 30, 0.35), transparent 60%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.flip:hover .flip__glow { opacity: 1; }
.flip__front .flip__icon { width: 96px; height: 96px; border-radius: 28px; background: rgba(255, 255, 255, 0.1); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); transform: translateZ(40px); }
.flip__front .flip__icon svg { width: 50px; height: 50px; }
.flip__title { position: relative; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1.5vw, 1.6rem); line-height: 1.12; letter-spacing: -0.02em; }
.flip__hint { position: relative; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.flip__hint::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.flip__back { transform: rotateY(180deg); background: linear-gradient(160deg, #ffd34d 0%, var(--gold) 55%, #e9a80c 100%); color: var(--ink); gap: 12px; }
.flip__icon--sm { width: 54px; height: 54px; border-radius: 16px; background: var(--ink); color: var(--gold); }
.flip__icon--sm svg { width: 28px; height: 28px; }
.flip__desc { font-size: 0.94rem; line-height: 1.5; font-weight: 500; }
.flip__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.flip__tags .tag { border-color: rgba(16, 38, 92, 0.3); background: rgba(255, 255, 255, 0.35); color: var(--ink); }
.flip__go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.flip__go svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease-out); }
.flip:hover .flip__go svg { transform: translateX(5px); }

/* ---------- HOW WE WORK: animated timeline ---------- */
.ptl { position: relative; --p: 0; padding-top: 10px; }
.ptl__line { position: absolute; left: 12.5%; right: 12.5%; top: 64px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.ptl__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), #ffe27a); transform-origin: left; transform: scaleX(var(--p)); transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1); box-shadow: 0 0 18px rgba(247, 189, 30, 0.7); }
.ptl__steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ptl__step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 8px; outline: none; }
.ptl__node {
  position: relative; width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-items: center;
  background: #173a82; border: 4px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 40px -18px rgba(5, 15, 50, 0.95);
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.5s, border-color 0.5s, box-shadow 0.6s;
}
.ptl__icon { color: #fff; transition: color 0.4s, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
.ptl__icon svg { width: 46px; height: 46px; }
.ptl__num { position: absolute; top: -6px; right: -6px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 0.75rem; font-weight: 800; color: #fff; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.6); transition: background 0.4s, color 0.4s; }
.ptl__title { margin-top: 26px; font-size: clamp(1.3rem, 1.7vw, 1.7rem); transition: color 0.4s; }
.ptl__desc { margin-top: 12px; color: var(--muted); font-size: 0.95rem; max-width: 30ch; opacity: 0.35; transform: translateY(8px); transition: opacity 0.5s, transform 0.6s var(--ease-out); }
.ptl__step.is-done .ptl__node { border-color: var(--gold); }
.ptl__step.is-active .ptl__node {
  background: var(--gold); border-color: #fff; transform: scale(1.12);
  box-shadow: 0 0 0 10px rgba(247, 189, 30, 0.18), 0 26px 50px -16px rgba(247, 189, 30, 0.85);
}
.ptl__step.is-active .ptl__icon { color: var(--ink); transform: rotate(-10deg) scale(1.08); }
.ptl__step.is-active .ptl__num { background: var(--ink); color: var(--gold); }
.ptl__step.is-active .ptl__title { color: var(--gold); }
.ptl__step.is-active .ptl__desc { opacity: 1; transform: none; }
.ptl__step.is-active .ptl__node::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--gold); animation: ptlPing 1.8s ease-out infinite; }
@keyframes ptlPing { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- INDUSTRIES: glass tiles with cursor spotlight ---------- */
.spots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.spot {
  position: relative; overflow: hidden; isolation: isolate; outline: none;
  height: clamp(260px, 22vw, 320px); padding: 26px 22px; border-radius: calc(var(--radius) * 1.1);
  display: flex; flex-direction: column; justify-content: space-between;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 24px 50px -30px rgba(5, 15, 50, 0.9);
  --mx: 50%; --my: 0%;
  transition: transform 0.7s var(--ease-out), border-color 0.5s, box-shadow 0.6s;
}
.spot__light { position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(247, 189, 30, 0.45), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.spot__icon { width: 74px; height: 74px; border-radius: 50%; background: rgba(247, 189, 30, 0.14); color: var(--gold); transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.5s, color 0.4s, box-shadow 0.6s; }
.spot__icon svg { width: 38px; height: 38px; }
.spot__body { position: relative; }
.spot__title { font-size: clamp(1.05rem, 1.2vw, 1.3rem); line-height: 1.2; transition: transform 0.6s var(--ease-out); }
.spot__desc { color: #fff; font-size: 0.88rem; line-height: 1.45; max-height: 0; opacity: 0; overflow: hidden; transform: translateY(10px); transition: max-height 0.6s var(--ease-out), opacity 0.4s, transform 0.6s var(--ease-out), margin 0.5s; }
.spot:hover, .spot:focus-visible { transform: translateY(-12px); border-color: rgba(247, 189, 30, 0.6); box-shadow: 0 40px 70px -30px rgba(5, 15, 50, 1), 0 0 30px -10px rgba(247, 189, 30, 0.5); }
.spot:hover .spot__light, .spot:focus-visible .spot__light { opacity: 1; }
.spot:hover .spot__icon, .spot:focus-visible .spot__icon { background: var(--gold); color: var(--ink); transform: scale(0.78) translateY(-6px); box-shadow: 0 16px 34px -12px rgba(247, 189, 30, 0.9); }
.spot:hover .spot__desc, .spot:focus-visible .spot__desc { max-height: 140px; opacity: 1; transform: none; margin-top: 10px; transition-delay: 0.1s; }

/* responsive */
@media (max-width: 1280px) { .flips { grid-template-columns: repeat(3, minmax(0, 1fr)); } .spots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .flips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ptl__line { left: 55px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .ptl__fill { transform-origin: top; transform: scaleY(var(--p)); }
  .ptl__steps { grid-template-columns: 1fr; gap: 34px; }
  .ptl__step { display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto auto; column-gap: 22px; text-align: left; align-items: center; padding: 0; }
  .ptl__node { grid-row: 1 / 3; }
  .ptl__title { margin-top: 0; align-self: end; }
  .ptl__desc { margin-top: 6px; align-self: start; opacity: 1; transform: none; }
  .spots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spot__desc { max-height: none; opacity: 1; transform: none; margin-top: 8px; }
}
@media (max-width: 520px) { .flips { grid-template-columns: 1fr; } .flip { height: 300px; } .spots { grid-template-columns: 1fr; } .spot { height: auto; min-height: 200px; } }
@media (hover: none) { .flip__hint { display: none; } }

/* ---------- footer: stars only ---------- */
.footer__fx { inset: 0; }
.footer__stars { position: absolute; inset: 0; display: block; }
.footer { background: linear-gradient(180deg, #173a82 0%, #0f2a66 100%); }

/* ---------- menu: footer social icons ---------- */
.social-icons--menu a { background: rgba(16, 38, 92, 0.12) !important; color: var(--ink) !important; box-shadow: none; }
.social-icons--menu a:hover { background: var(--ink) !important; color: var(--gold) !important; }
/* touch screens: no hover, so show the detail side of each service card */
@media (hover: none) {
  .flip { height: auto; }
  .flip__inner { transform: none !important; }
  .flip__front { display: none; }
  .flip__back { position: relative; transform: none; min-height: 240px; }
}

/* ==========================================================================
   v9 — WHAT WE DO: big-type list + live showcase
   ========================================================================== */
.sx { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.sx__list { counter-reset: none; border-top: 1px solid var(--line); }
.sx__item {
  position: relative; display: grid; grid-template-columns: 54px 1fr 56px; align-items: center; gap: 14px;
  padding: clamp(14px, 1.9vw, 24px) 0; border-bottom: 1px solid var(--line); overflow: hidden; outline: none;
}
.sx__no { font-size: 0.85rem; font-weight: 800; color: var(--dim); transition: color 0.4s; }
.sx__name {
  position: relative; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  font-size: clamp(1.9rem, 4.2vw, 4.4rem); white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.45);
  transition: transform 0.7s var(--ease-out), -webkit-text-stroke-color 0.4s;
}
.sx__name::after {               /* yellow fill wipes across the outlined word */
  content: attr(data-text); position: absolute; left: 0; top: 0; color: var(--gold); -webkit-text-stroke: 0;
  clip-path: inset(0 100% 0 0); transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}
.sx__arrow { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); transform: scale(0) rotate(-90deg); transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.sx__arrow svg { width: 22px; height: 22px; }
.sx__item.is-active .sx__name { transform: translateX(14px); -webkit-text-stroke-color: transparent; }
.sx__item.is-active .sx__name::after { clip-path: inset(0 0 0 0); }
.sx__item.is-active .sx__no { color: var(--gold); }
.sx__item.is-active .sx__arrow { transform: scale(1) rotate(0); }

.sx__stage {
  position: relative; min-height: clamp(440px, 36vw, 540px); border-radius: calc(var(--radius) * 1.4); overflow: hidden; isolation: isolate;
  background: linear-gradient(155deg, #2c5fc2 0%, #173a82 70%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 50px 90px -40px rgba(5, 15, 50, 0.95);
}
.sx__orb { position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; filter: blur(50px); background: rgba(247, 189, 30, 0.55);
  top: -20%; right: -20%; transform: translate(calc(var(--i, 0) * -14%), calc(var(--i, 0) * 18%)); transition: transform 1.4s cubic-bezier(0.65, 0, 0.35, 1); }
.sx__panel {
  position: absolute; inset: 0; padding: clamp(28px, 3vw, 46px); display: flex; flex-direction: column; justify-content: flex-end; gap: 16px;
  opacity: 0; transform: translateY(40px); filter: blur(8px); pointer-events: none;
  transition: opacity 0.5s, transform 0.8s var(--ease-out), filter 0.6s;
}
.sx__panel.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; transition-delay: 0.15s; }
.sx__icon {
  position: absolute; top: clamp(28px, 3vw, 46px); left: clamp(28px, 3vw, 46px);
  width: 120px; height: 120px; border-radius: 34px; display: grid; place-items: center;
  background: var(--gold); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(247, 189, 30, 0.8);
  transform: rotate(-12deg) scale(0.6); transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sx__icon svg { width: 64px; height: 64px; }
.sx__panel.is-active .sx__icon { transform: rotate(0) scale(1); transition-delay: 0.25s; }
.sx__count { position: absolute; top: clamp(28px, 3vw, 46px); right: clamp(28px, 3vw, 46px); font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.04em; color: #fff; }
.sx__count i { font-style: normal; font-size: 1rem; color: var(--muted); }
.sx__title { font-size: clamp(1.7rem, 2.4vw, 2.5rem); }
.sx__desc { color: var(--muted); font-size: 1.05rem; max-width: 38ch; }
.sx__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sx__panel .btn { align-self: flex-start; margin-top: 6px; }
.sx__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, 0.1); }
.sx__progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.sx.is-paused .sx__progress span { transform: scaleX(1) !important; }

/* ==========================================================================
   v10 — WHAT WE DO on brand yellow
   ========================================================================== */
.section--yellow { background: var(--gold); color: var(--ink); }
.section--yellow .eyebrow { color: var(--ink); }
.section--yellow .eyebrow::before { background: var(--ink); box-shadow: none; }
.section--yellow .h2, .section--yellow h2 { color: var(--ink); }
.section--yellow .grad-text, .section--yellow .grad-text span, .section--yellow .split .grad-text { background: none !important; -webkit-text-fill-color: var(--blue) !important; color: var(--blue) !important; }
.section--yellow .section-head p { color: rgba(16, 38, 92, 0.75); }
.section--yellow .sx__list { border-top-color: rgba(16, 38, 92, 0.18); }
.section--yellow .sx__item { border-bottom-color: rgba(16, 38, 92, 0.18); }
.section--yellow .sx__no { color: rgba(16, 38, 92, 0.5); }
.section--yellow .sx__item.is-active .sx__no { color: var(--ink); }
.section--yellow .sx__name { -webkit-text-stroke-color: rgba(16, 38, 92, 0.45); }
.section--yellow .sx__name::after { color: var(--ink); }
.section--yellow .sx__arrow { background: var(--ink); color: var(--gold); }
.section--yellow .sx__stage { box-shadow: 0 50px 90px -40px rgba(16, 38, 92, 0.75); }
.section--yellow .sx__progress span { background: var(--gold); }

/* titles always fit inside the column / site width */
.sx__item { min-width: 0; }
.sx__name { font-size: clamp(1.5rem, 3.1vw, 3.4rem); white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
.sx__item.is-active .sx__name { transform: translateX(8px); }
@media (max-width: 720px) { .sx__name { font-size: clamp(1.4rem, 7.2vw, 2.2rem); } }

/* ==========================================================================
   v10 — Big slogan: "Design Beyond Limits."
   ========================================================================== */
.slogan { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(90px, 12vw, 190px); background: radial-gradient(70% 90% at 50% 50%, #2c5fc2 0%, #173a82 70%); }
.slogan__stars { position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: radial-gradient(rgba(247, 189, 30, 0.9) 1.2px, transparent 1.6px), radial-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1.4px);
  background-size: 140px 140px, 90px 90px; background-position: 0 0, 45px 30px; }
.slogan__inner { position: relative; }
.slogan__eyebrow { margin-bottom: clamp(20px, 3vw, 40px); opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.8s var(--ease-out); }
.slogan.is-in .slogan__eyebrow { opacity: 1; transform: none; }
.slogan__text { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.055em; line-height: 0.86; font-size: clamp(3.6rem, 15.5vw, 16.5rem); }
.slogan__line { display: flex; align-items: center; gap: 0.12em; transform: translateX(calc(var(--sp, 0) * var(--dir) * 6vw)); will-change: transform; }
.slogan__line--mid { justify-content: center; }
.slogan__line--end { justify-content: flex-end; }
.slogan__word { display: inline-flex; }
.slogan__char { display: inline-block; will-change: transform, opacity; }

/* word 1 — letters rise up and un-skew */
[data-fx="rise"] .slogan__char { color: #fff; transform: translateY(110%) skewY(12deg); opacity: 0; clip-path: inset(-10% -10% 0 -10%);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s; transition-delay: calc(var(--c) * 0.06s); }
/* word 2 — outline letters drop in rotating, then fill with yellow */
[data-fx="outline"] .slogan__char { color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.85); transform: translateY(-80%) rotateX(90deg); opacity: 0; transform-origin: 50% 0;
  transition: transform 1.1s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s, color 0.8s, -webkit-text-stroke-color 0.8s; transition-delay: calc(0.35s + var(--c) * 0.07s), calc(0.35s + var(--c) * 0.07s), calc(1.1s + var(--c) * 0.08s), calc(1.1s + var(--c) * 0.08s); }
/* word 3 — letters zoom from blur and land in brand yellow */
[data-fx="zoom"] .slogan__char { color: var(--gold); transform: scale(2.4); filter: blur(18px); opacity: 0;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1s, opacity 0.7s; transition-delay: calc(0.75s + (var(--n) - var(--c)) * 0.06s); }
.slogan.is-in [data-fx] .slogan__char { transform: none; opacity: 1; filter: none; }
.slogan.is-in [data-fx="outline"] .slogan__char { color: var(--gold); -webkit-text-stroke-color: transparent; }
/* playful hover on each letter */
.slogan.is-in .slogan__char:hover { transform: translateY(-0.08em) scale(1.06) !important; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important; color: #fff !important; }

.slogan__badge { width: 0.62em; height: 0.62em; flex-shrink: 0; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 20px 50px -18px rgba(5, 15, 50, 0.9);
  transform: scale(0) rotate(-180deg); transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s; }
.slogan__badge img { width: 72%; height: 72%; animation: pl-spin 14s linear infinite; }
.slogan.is-in .slogan__badge { transform: none; }
.slogan__sub { margin: clamp(26px, 3vw, 44px) 0 0 auto; max-width: 36ch; text-align: right; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.25rem);
  opacity: 0; transform: translateY(24px); transition: opacity 0.8s 1.6s, transform 1s var(--ease-out) 1.6s; }
.slogan.is-in .slogan__sub { opacity: 1; transform: none; }
/* leaving: quick reverse */
.slogan:not(.is-in) .slogan__char, .slogan:not(.is-in) .slogan__badge, .slogan:not(.is-in) .slogan__sub { transition-delay: 0s !important; transition-duration: 0.4s !important; }
@media (max-width: 720px) { .slogan__line--mid { justify-content: flex-start; } .slogan__sub { text-align: left; margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .slogan__line { transform: none; } }
.section--yellow .sx__stage { color: #fff; }
.section--yellow .sx__stage .sx__title { color: #fff; }
[data-fx="rise"] .slogan__char { clip-path: none; }
.slogan__line { padding-bottom: 0.06em; }

/* ==========================================================================
   v11 — Slogan animation now plays in the intro (preloader)
   ========================================================================== */
.preloader__inner { gap: clamp(26px, 5vh, 48px); }
.preloader__slogan { margin: 0; width: min(1100px, 92vw); padding: 0; background: none; overflow: visible;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.055em; line-height: 0.86; font-size: clamp(3.2rem, 13.5vw, 11rem); }
.preloader__slogan .slogan__line { transform: none; }

/* ==========================================================================
   v11 — HOW WE WORK: pinned, the steps change as you scroll
   ========================================================================== */
.pscroll { position: relative; height: 320vh; }
.pscroll__pin { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) + 10px); padding-bottom: 36px; }
.pscroll__pin .section-head { margin-bottom: clamp(36px, 5vh, 64px); }
.pscroll__hint { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: clamp(28px, 4vh, 48px);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.pscroll__hint b { color: var(--gold); font-variant-numeric: tabular-nums; }
.pscroll__mouse { width: 18px; height: 28px; border: 1.5px solid currentColor; border-radius: 10px; position: relative; }
.pscroll__mouse::after { content: ""; position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: pscrollDot 1.6s ease-in-out infinite; }
@keyframes pscrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(9px); } }
.ptl__step { cursor: default; }
/* small or short screens: no pinning, steps light up as they pass the middle of the screen */
@media (max-width: 860px), (max-height: 780px) {
  .pscroll { height: auto; padding-block: var(--section); }
  .pscroll__pin { position: static; min-height: 0; padding: 0; display: block; }
  .pscroll__hint { display: none; }
}



/* ==========================================================================
   v13 — INDUSTRIES: tabs + feature panel
   ========================================================================== */
.itab__nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: clamp(18px, 2.4vw, 30px); }
.itab__btn { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px 8px 8px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); color: var(--text);
  transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease-out); }
.itab__btn:hover { border-color: rgba(247, 189, 30, 0.6); transform: translateY(-2px); }
.itab__ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(247, 189, 30, 0.16); color: var(--gold); transition: background 0.4s, color 0.4s; }
.itab__ico svg { width: 20px; height: 20px; }
.itab__btn.is-active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.itab__btn.is-active .itab__ico { background: var(--ink); color: var(--gold); }
.itab__stage { position: relative; display: grid; }
.itab__panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 48px); align-items: stretch;
  padding: clamp(22px, 3vw, 44px); border-radius: calc(var(--radius) * 1.2); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity 0.5s, transform 0.8s var(--ease-out), visibility 0s 0.5s; }
.itab__panel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.6s 0.1s, transform 0.8s var(--ease-out) 0.1s, visibility 0s; }
.itab__info { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.itab__no { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.2em; color: var(--gold); }
.itab__no i { font-style: normal; color: var(--muted); }
.itab__info h3 { margin-top: 16px; font-size: clamp(2rem, 3.8vw, 3.6rem); line-height: 1.02; }
.itab__info p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; max-width: 40ch; }
.itab__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.itab__tags li { padding: 6px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); }
.itab__media { position: relative; min-height: 300px; border-radius: var(--radius); overflow: hidden; background: #10265c; }
.itab__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.1); transition: transform 1.4s var(--ease-out); }
.itab__panel.is-active .itab__media img { transform: scale(1); }
@media (max-width: 860px) {
  .itab__nav { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .itab__nav::-webkit-scrollbar { display: none; }
  .itab__btn { flex: none; }
  .itab__panel { grid-template-columns: 1fr; }
  .itab__media { min-height: 220px; order: -1; }
}

/* What we do — bold, straight list names (no outline effect) */
.sx__name { font-family: var(--font-body); font-weight: 800; letter-spacing: -0.02em; color: var(--text); -webkit-text-stroke: 0; opacity: 0.6; transition: opacity 0.4s, color 0.4s; }
.sx__name::after { display: none; }
.sx__item.is-active .sx__name, .sx__item:hover .sx__name { transform: none; opacity: 1; -webkit-text-stroke: 0; }
.section--yellow .sx__name { color: var(--ink); -webkit-text-stroke: 0; }
.sx__item.is-active .sx__name { transform: none; }

/* menu — logo removed, pitch line stays on one line */
.menu__pitch { margin: 0 0 18px; max-width: none; }
.menu__pitch b { white-space: nowrap; font-size: clamp(1rem, 1.5vw, 1.5rem); }
@media (max-width: 1024px) { .menu__pitch { margin: 0 0 12px; } .menu__pitch b { font-size: clamp(1.05rem, 3.4vw, 1.5rem); } }

/* What we do — responsive */
@media (max-width: 1024px) {
  .sx { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .sx__stage { min-height: 400px; }
  .sx__icon { width: 96px; height: 96px; border-radius: 28px; }
  .sx__icon svg { width: 52px; height: 52px; }
}
@media (max-width: 720px) {
  .sx__item { grid-template-columns: 34px minmax(0, 1fr) 44px; gap: 10px; }
  .sx__arrow { width: 44px; height: 44px; }
  .sx__arrow svg { width: 18px; height: 18px; }
  .sx__stage { min-height: 440px; }
  .sx__panel { padding: 22px; gap: 12px; }
  .sx__icon { top: 22px; left: 22px; width: 76px; height: 76px; border-radius: 22px; }
  .sx__icon svg { width: 40px; height: 40px; }
  .sx__count { top: 22px; right: 22px; font-size: 1.8rem; }
  .sx__desc { font-size: 0.98rem; }
}
@media (max-width: 380px) { .sx__stage { min-height: 480px; } .sx__name { font-size: 1.3rem; } }

/* client stories — the last card ends flush at the right edge (no blank space after it) */
.vcarousel {
  --vc-pad: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  padding-inline: var(--vc-pad) 0;
  scroll-padding-inline: var(--vc-pad) 0;
}
.vcarousel__progress { position: sticky; left: var(--vc-pad); margin: 34px 0 0; }

/* client stories — scrolling stops at the last card: no rubber-band / blank overscroll, snap lands on the last card */
.vcarousel { overscroll-behavior-x: contain; }
.vcarousel .vcard:last-child { scroll-snap-align: end; }

/* client stories v2 — transform slider (no native scroll, so it can never end on blank space) */
.vcarousel { overflow: hidden; padding-inline: 0; scroll-snap-type: none; scroll-padding-inline: 0; touch-action: pan-y; overscroll-behavior-x: auto; }
.vcarousel__track { padding-left: var(--vc-pad); will-change: transform; }
.vcarousel__track.is-easing { transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.vcarousel .vcard, .vcarousel .vcard:last-child { scroll-snap-align: none; }
.vcarousel__progress { position: static; margin: 34px 0 0 var(--vc-pad); width: min(calc(100% - 2 * var(--vc-pad)), calc(var(--max) - 2 * var(--gutter))); max-width: none; }

/* v14 — CTA brief picker */
.brief { margin-top: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.brief__label { font-weight: 800; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.brief__label i { font-style: normal; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); margin-left: 8px; }
.brief__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.brief__chip { padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; color: var(--text); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.brief__chip:hover { transform: translateY(-3px); border-color: var(--gold); }
.brief__chip.is-on { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.brief__chip.is-on::before { content: "✓ "; }

/* v15 — creative content motion */
[data-fill] .fw { opacity: 0.22; transition: opacity 0.35s, filter 0.35s; filter: blur(1.2px); }
[data-fill] .fw.on { opacity: 1; filter: none; }
.work-card__media { transform-style: preserve-3d; transition: transform 0.6s var(--ease-out), box-shadow 0.6s; will-change: transform; }
.work-card.is-tilting .work-card__media { transition: transform 0.12s linear; box-shadow: 0 40px 70px -30px rgba(5, 15, 50, 0.95); }
.work-card__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.22), transparent 55%); }
.work-card.is-tilting .work-card__media::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { [data-fill] .fw { opacity: 1; filter: none; } }

/* v16 — footer terrain strip sits below the copyright line */
.footer { padding-bottom: 0; }
.footer__fx { display: none; }
.footer__terrain { position: relative; height: clamp(170px, 22vw, 260px); margin-top: 26px; overflow: hidden; border-top: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 35%); mask-image: linear-gradient(180deg, transparent 0, #000 35%); }
.footer__terrain .footer__stars { position: absolute; inset: 0; width: 100%; height: 100%; }

/* v16 — How we work: one screen, steps change per scroll gesture */
.pscroll { height: 100vh; min-height: 640px; }
@media (max-width: 860px), (max-height: 780px) { .pscroll { height: auto; min-height: 0; } }

/* v17 — How we work: no pinning on any screen size */
.pscroll { height: auto; min-height: 0; padding-block: var(--section); }
.pscroll__pin { position: static; min-height: 0; padding: 0; display: block; }
.pscroll__hint { display: none; }
.ptl__fill { transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1); }
.ptl__step .ptl__node, .ptl__step .ptl__title, .ptl__step .ptl__desc { transition-delay: 0.25s; }
