/* =========================================================
   BrandIQ Creative Studio — shared design system (every page)
   Brand = the logo only: royal blue #133783 + white (and light tints of that blue)
   The whole site sits on the logo blue · white type · white cards
   Type: Plus Jakarta Sans + Instrument Serif
   ========================================================= */
:root {
  /* colour */
  --brand: #133783;
  --brand-700: #0f2c6b;
  --brand-500: #1d4bb0;
  --brand-400: #2f63d8;
  --electric: #4f7dff;
  --sky: #8fb0ff;
  --lav: #c9d4f2;
  --ice: #eef2fc;
  --paper: #f6f8fd;
  --white: #ffffff;
  --night: #133783;           /* feature sections = the logo blue */
  --night-2: #0f2c6b;
  --brand-deep: #0f2c6b;
  --world-bg: #133783;        /* the BrandIQ world = the logo background */
  --text: #0c1734;            /* type on white cards */
  --muted: #56637f;
  --muted-dark: #d3dcf3;
  --line: rgba(19, 55, 131, 0.12);
  --line-dark: rgba(255, 255, 255, 0.18);
  --grad: linear-gradient(120deg, #133783 0%, #2f63d8 55%, #8fb0ff 100%);
  --grad-text: linear-gradient(100deg, #ffffff 0%, #c9d4f2 45%, #8fb0ff 100%);
  --grad-text-light: linear-gradient(100deg, #133783 0%, #2f63d8 60%, #4f7dff 100%);
  --night-grad: radial-gradient(120% 100% at 80% 0%, #2350b4 0%, #1a429a 40%, #133783 80%);

  /* type scale */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --fs-hero: clamp(2.375rem, 1.55rem + 2.6vw, 4rem);      /* 38 → 64 */
  --fs-h1: clamp(2.125rem, 1.5rem + 2vw, 3.25rem);        /* 34 → 52 */
  --fs-h2: clamp(1.75rem, 1.3rem + 1.4vw, 2.75rem);       /* 28 → 44 */
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.625rem);      /* 20 → 26 */
  --fs-h4: 1.125rem;                                        /* 18 */
  --fs-lead: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);       /* 16 → 18 */
  --fs-body: clamp(0.9375rem, 0.9rem + 0.18vw, 1.0625rem); /* 15 → 17 */
  --fs-small: 0.875rem;                                     /* 14 */
  --fs-xs: 0.8125rem;                                       /* 13 */
  --fs-nav: 0.9375rem;                                      /* 15 */
  --fs-btn: 0.9375rem;                                      /* 15 */

  /* space & shape */
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 8vw, 112px);
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 22px;
  --r-xl: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow: 0 26px 56px -30px rgba(19, 55, 131, 0.38);
  --shadow-lg: 0 46px 90px -40px rgba(19, 55, 131, 0.45);
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.65; color: #fff; background: var(--brand); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: #fff; color: var(--brand); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--brand); font-weight: 700; transition: top .3s; }
.skip-link:focus { top: 12px; }
section[id], article[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--white { background: var(--brand); }
.section--ice { background: #163c8a; }
.section--dark { background: var(--night-grad); color: #e8edfb; overflow: hidden; isolation: isolate; }
.section--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(143,176,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(143,176,255,.06) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%); }

/* ---------- typography ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.display { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; }
.hero .display { font-size: var(--fs-hero); }
.h2 { font-size: var(--fs-h2); letter-spacing: -0.035em; line-height: 1.08; }
.h3, h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0 0 1em; }
.lead { font-size: var(--fs-lead); color: var(--muted-dark); max-width: 600px; line-height: 1.65; }
.section--dark .lead, .dark .lead { color: var(--muted-dark); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-light { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--dark .grad-text-light { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.section--dark .eyebrow, .dark .eyebrow { color: var(--sky); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px 40px; margin-bottom: clamp(28px, 3.4vw, 44px); flex-wrap: wrap; }
.section-head > div { max-width: 720px; }
.section-head h2 { margin-top: 14px; }
.section-head > .lead { margin: 0; max-width: 440px; }

/* split-word reveal */
.split-line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.split-word { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 60ms + var(--base, 0ms)); }
.is-in .split-word, .split-word.is-in { transform: none; }

/* ---------- buttons ---------- */
.btn { --bg: #fff; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; min-height: 46px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 700; font-size: var(--fs-btn); letter-spacing: -0.01em; background: var(--bg); color: var(--brand); overflow: hidden; isolation: isolate; white-space: nowrap; transition: transform .45s var(--ease), box-shadow .45s var(--ease), color .3s; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.35); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ice); transform: translateY(101%); border-radius: inherit; transition: transform .55s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); }
.btn .arrow { width: 24px; height: 24px; margin-right: -8px; border-radius: 50%; display: grid; place-items: center; background: rgba(19,55,131,.1); transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: rotate(-45deg); }
.btn .arrow svg { width: 13px; height: 13px; }
.btn--light { --bg: #fff; color: var(--brand); box-shadow: 0 14px 30px -16px rgba(0,0,0,.25); }
.btn--light::before { background: var(--ice); }
.btn--light .arrow { background: var(--ice); }
.btn--ghost { --bg: transparent; color: #fff; box-shadow: none; border: 1.5px solid rgba(255,255,255,.4); }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--brand); }
.dark .btn--ghost, .section--dark .btn--ghost, .cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.dark .btn--ghost::before, .section--dark .btn--ghost::before, .cta .btn--ghost::before { background: #fff; }
.dark .btn--ghost:hover, .section--dark .btn--ghost:hover, .cta .btn--ghost:hover { color: var(--brand); }
.btn--sm { padding: 9px 16px; min-height: 40px; font-size: var(--fs-small); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: var(--fs-small); color: #fff; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .45s var(--ease); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--sky); }

/* ---------- header ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 200; transform-origin: 0 50%; transform: scaleX(0); background: #fff; }
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px 0; transition: padding .45s var(--ease), transform .45s var(--ease), opacity .6s; }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 8px 8px 20px; border-radius: 999px; border: 1px solid transparent; transition: background .45s, border-color .45s, box-shadow .45s; }
.header.scrolled { padding: 8px 0; }
.header.scrolled .header__bar, body.menu-open .header__bar { background: rgba(19, 55, 131, 0.82); border-color: rgba(255,255,255,.14); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 18px 44px -24px rgba(0,0,0,.4); }
.header.hidden { transform: translateY(-120%); }
.logo { display: inline-flex; }
.logo img { height: 34px; width: auto; transition: height .45s var(--ease); }
.header.scrolled .logo img { height: 30px; }
.nav { display: flex; gap: 2px; }
.nav a { position: relative; padding: 9px 14px; border-radius: 999px; font-size: var(--fs-nav); font-weight: 600; color: rgba(255,255,255,.75); transition: color .3s, background .3s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a.active { color: #fff; }
.nav a.active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #fff; }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header .btn { min-height: 42px; padding: 9px 18px; font-size: var(--fs-small); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: #fff; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 25px; }
body.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--brand); color: #fff; padding: 110px var(--gutter) 36px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0% at calc(100% - 44px) 44px); transition: clip-path .8s var(--ease-in-out); visibility: hidden; }
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.mobile-menu nav { display: grid; gap: 2px; }
.mobile-menu nav a { font-size: clamp(1.75rem, 7vw, 2.25rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.3; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s; }
.mobile-menu nav a:hover, .mobile-menu nav a.active { color: var(--lav); }
body.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.mobile-menu nav a:nth-child(2) { transition-delay: .05s; } .mobile-menu nav a:nth-child(3) { transition-delay: .1s; } .mobile-menu nav a:nth-child(4) { transition-delay: .15s; } .mobile-menu nav a:nth-child(5) { transition-delay: .2s; } .mobile-menu nav a:nth-child(6) { transition-delay: .25s; }
.mobile-menu__foot { display: grid; gap: 6px; color: var(--muted-dark); font-size: var(--fs-small); }
.mobile-menu__foot a { color: #fff; font-weight: 600; }
body.menu-open { overflow: hidden; }

/* =========================================================
   THE BRANDIQ WORLD (3D) — shared by every page hero
   ========================================================= */
.world { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: var(--world-bg); opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
html.intro-on .world { opacity: 1; visibility: visible; transition: none; }
html.is-intro-leaving .world { opacity: 0; transition: opacity .9s var(--ease); }
.world canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s var(--ease); }
.world.world--ready canvas { opacity: 1; }
.world.world--fallback canvas { display: none; }
.world::after { /* static fallback: blueprint grid + soft portal glow, shown until/unless 3D loads */
  content: ""; position: absolute; inset: 0; pointer-events: none; transition: opacity 1s;
  background:
    radial-gradient(circle at 72% 46%, rgba(255,255,255,.22) 0, rgba(255,255,255,.08) 14%, transparent 30%),
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 45%, #000 30%, transparent 85%); mask-image: radial-gradient(ellipse 90% 80% at 60% 45%, #000 30%, transparent 85%);
}
.world.world--ready::after { opacity: 0; }
.world-label { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; padding: 6px 12px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; color: var(--brand); background: #fff; box-shadow: 0 10px 24px -10px rgba(19,55,131,.45); white-space: nowrap; opacity: 0; transition: opacity .2s; margin-top: -8px; }
.world-label.is-on { opacity: 1; }

/* ---------- aurora: the hero background on every page ---------- */
.aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: radial-gradient(120% 90% at 85% 5%, #1d4bb0 0%, var(--brand) 58%); }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); animation: aurora 18s ease-in-out infinite alternate; will-change: transform; }
.aurora i:nth-child(1) { width: 58vw; height: 58vw; right: -12vw; top: -24vw; background: radial-gradient(circle, rgba(79,125,255,.85) 0%, transparent 65%); }
.aurora i:nth-child(2) { width: 46vw; height: 46vw; right: 12vw; bottom: -26vw; background: radial-gradient(circle, rgba(201,212,242,.5) 0%, transparent 62%); animation-delay: -7s; }
.aurora i:nth-child(3) { width: 42vw; height: 42vw; left: -16vw; top: 18%; background: radial-gradient(circle, rgba(47,99,216,.55) 0%, transparent 65%); animation-delay: -12s; }
.aurora::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 78% 45%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 78% 45%, #000 0%, transparent 75%); }
@keyframes aurora { to { transform: translate(6vw, 4vw) scale(1.12); } }

.hero__glass { position: absolute; z-index: 2; top: 50%; right: max(calc(var(--gutter) + 44px), calc((100vw - var(--container)) / 2 + var(--gutter))); width: min(440px, 34vw); aspect-ratio: 1; transform: translateY(-46%); }
.glass-panel { position: absolute; inset: 14%; border-radius: 36px; display: grid; place-items: center; overflow: hidden; padding: 0; background: linear-gradient(145deg, rgba(255,255,255,.2), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.28); box-shadow: 0 40px 80px -40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.35); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: glassFloat 7s ease-in-out infinite; }
/* the founder photo fills the whole glass box */
.glass-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.glass-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 18px; color: #fff; font-size: var(--fs-small); font-weight: 700; line-height: 1.25; white-space: nowrap; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.26); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 24px 48px -28px rgba(0,0,0,.5); animation: glassFloat 6s ease-in-out infinite; transition: background .3s, border-color .3s; }
.glass-card:hover, .glass-card:focus-visible { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }
.glass-card small { display: block; font-weight: 500; font-size: var(--fs-xs); color: var(--muted-dark); }
.glass-card i { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--brand); }
.glass-card i svg { width: 100%; height: 100%; display: block; }
.glass-card--a { left: -12%; top: 6%; animation-delay: -2s; }
.glass-card--b { right: -10%; top: 40%; animation-delay: -4s; }
.glass-card--c { left: -4%; bottom: 4%; }
@keyframes glassFloat { 50% { transform: translateY(-10px); } }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; padding: calc(var(--header-h) + 40px) 0 72px; overflow: hidden; isolation: isolate; background: var(--world-bg); }
.hero > .container { position: relative; z-index: 2; pointer-events: none; }
.hero__content { max-width: 600px; pointer-events: auto; }
.hero .pill { margin-bottom: 22px; }
.hero h1 { margin: 0 0 20px; }
.hero .lead { color: var(--muted-dark); }
.hero .lead strong { color: #fff; font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__tagline { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); color: var(--lav); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); font-size: var(--fs-xs); font-weight: 600; color: #fff; backdrop-filter: blur(8px); }
.pill b { padding: 3px 9px; border-radius: 999px; background: #fff; color: var(--brand); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; display: grid; justify-items: center; gap: 8px; font-size: 0.6875rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-dark); }
.scroll-hint i { width: 1px; height: 38px; background: linear-gradient(rgba(255,255,255,.4), transparent); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -38px; width: 1px; height: 38px; background: #fff; animation: scrollHint 2s var(--ease) infinite; }
@keyframes scrollHint { to { top: 38px; } }

/* ---------- inner page hero (same world, another "station") ---------- */
.page-hero { position: relative; min-height: min(78svh, 680px); display: flex; align-items: flex-end; color: #fff; padding: calc(var(--header-h) + 56px) 0 clamp(44px, 6vw, 72px); overflow: hidden; isolation: isolate; background: var(--world-bg); }
.page-hero .container { position: relative; z-index: 2; pointer-events: none; }
.page-hero .container > * { pointer-events: auto; }
.page-hero h1 { margin: 14px 0 16px; max-width: 760px; }
.page-hero .lead { color: var(--muted-dark); max-width: 560px; }
.page-hero .hero__actions { margin-top: 24px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: var(--fs-xs); color: var(--muted-dark); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }

/* =========================================================
   OPENING SEQUENCE (home, first visit)
   ========================================================= */
.intro-overlay { position: fixed; inset: 0; z-index: 250; pointer-events: none; }
.intro-overlay__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom)); pointer-events: auto; }
.intro-overlay__note { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.intro-skip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; min-height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(19,55,131,.5); color: #fff; font-size: var(--fs-small); font-weight: 700; cursor: pointer; backdrop-filter: blur(10px); transition: background .3s; }
.intro-skip:hover { background: rgba(255,255,255,.14); }
.intro-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.15); }
.intro-progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s linear; }
.intro-flash { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, #fff 0%, rgba(255,255,255,.9) 18%, rgba(201,212,242,.6) 40%, rgba(19,55,131,.9) 80%); opacity: 0; transition: opacity .9s var(--ease); }
.intro-reveal { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; padding: var(--gutter); text-align: center; background: radial-gradient(circle at 50% 46%, #2350b4 0%, #133783 62%); opacity: 0; transition: opacity .7s var(--ease); }
.intro-reveal img { width: min(560px, 82vw); height: auto; transform: scale(.92); opacity: 0; filter: drop-shadow(0 18px 40px rgba(0,0,0,.18)); transition: transform 1.6s var(--ease), opacity 1s var(--ease); }
.intro-reveal p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); color: #fff; letter-spacing: 0; opacity: 0; transform: translateY(10px); transition: opacity 1s var(--ease) .35s, transform 1s var(--ease) .35s; }
html.intro-on body { overflow: hidden; }
html.intro-on .header, html.intro-on .hero__content, html.intro-on .hero__glass, html.intro-on .scroll-hint, html.intro-on .wa-float { opacity: 0; pointer-events: none; }
.hero__glass, .hero__content, .scroll-hint { transition: opacity .9s var(--ease); }
html.intro-on .intro-overlay { pointer-events: auto; }
html.is-intro-flash .intro-flash { opacity: .9; }
html.is-intro-reveal .intro-reveal { opacity: 1; }
html.is-intro-reveal .intro-reveal img { opacity: 1; transform: none; }
html.is-intro-reveal .intro-reveal p { opacity: 1; transform: none; }
html.is-intro-reveal .intro-overlay__bar { opacity: 0; }
html.is-intro-leaving .intro-overlay { opacity: 0; transition: opacity .9s var(--ease); }
html:not(.intro-on) .intro-overlay { display: none; }

/* page transition curtain */
.curtain { position: fixed; inset: 0; z-index: 240; pointer-events: none; background: var(--night-grad); opacity: 0; transition: opacity .35s var(--ease); display: grid; place-items: center; }
.curtain img { width: 84px; opacity: .9; transform: scale(.9); transition: transform .5s var(--ease); }
html.is-leaving .curtain { opacity: 1; pointer-events: auto; }
html.is-leaving .curtain img { transform: none; }
html.is-arriving .curtain { opacity: 1; }

/* =========================================================
   COMPONENTS
   ========================================================= */
@keyframes spin { to { transform: rotate(360deg); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 24px 50px -28px rgba(19,55,131,.6); }
.stat { padding: 22px; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat__num { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: #fff; }
.stat__num .suf { color: var(--sky); }
.stat__label { margin-top: 8px; font-weight: 700; font-size: var(--fs-small); color: #fff; }
.stat__sub { font-size: var(--fs-xs); color: var(--lav); }

/* intro / about split */
.intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.intro__media { position: relative; max-width: 440px; }
.intro__media .img-main { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.intro__media .img-main img, .intro__media .img-sub img { width: 100%; height: 100%; object-fit: cover; }
.intro__media .img-sub { position: absolute; right: -36px; bottom: -36px; width: 50%; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; border: 7px solid var(--brand); box-shadow: var(--shadow); }
.intro__badge { position: absolute; left: -26px; top: 36px; width: 116px; height: 116px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(255,255,255,.9), var(--shadow); }
.intro__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.intro__badge img { width: 42px; }
.intro h2 { margin: 14px 0 20px; }
.checks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: var(--fs-small); }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f63d8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.parallax-img { overflow: hidden; }
.parallax-img img { will-change: transform; transform: translateY(var(--py, 0)) scale(1.12); }

/* service cards */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.svc { position: relative; display: flex; flex-direction: column; padding: 22px 20px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(79,125,255,.13), transparent 60%); }
.svc:hover, .svc:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(47,99,216,.3); }
.svc:hover::before { opacity: 1; }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc__icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--ice); color: var(--brand-400); flex: none; transition: background .45s, color .45s, transform .5s var(--ease); }
.svc__icon svg { width: 21px; height: 21px; }
.svc:hover .svc__icon { background: var(--brand); color: #fff; transform: rotate(-8deg); }
.svc__num { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); letter-spacing: .1em; }
.svc h3 { margin: 18px 0 8px; font-size: 1.125rem; }
.svc p { color: var(--muted); font-size: var(--fs-small); line-height: 1.6; margin: 0 0 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag { font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--ice); color: var(--brand); }
.svc .tags { padding-right: 38px; }
.svc__go { position: absolute; right: 16px; bottom: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; transform: scale(0) rotate(-90deg); transition: transform .5s var(--ease); }
.svc__go svg { width: 14px; height: 14px; }
.svc:hover .svc__go, .svc:focus-visible .svc__go { transform: none; }

/* service detail rows (services page) */
/* reels stack: each service sticks, the next one slides up over it (site.js sets --stick, --enter, --covered) */
.reel-bar { position: sticky; top: calc(var(--header-h) + 14px); z-index: 20; display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding: 10px 14px; border-radius: 999px; background: rgba(19,55,131,.72); border: 1px solid var(--line-dark); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.reel-bar__segs { flex: 1; display: flex; gap: 5px; }
.reel-bar__segs i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; }
.reel-bar__segs b { display: block; height: 100%; width: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(var(--fill, 0)); }
.reel-bar__count { flex: none; font-size: var(--fs-xs); font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.reel-bar__name { flex: none; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-xs); font-weight: 600; color: var(--muted-dark); }
/* the Instagram mascot: sits on the stack's top edge (its seat line is 2/3 down the svg), arms follow --push */
.reel-bar { --rb: 140px; margin-right: calc(var(--rb) - 18px); }
.reel-buddy { position: absolute; right: calc(-1 * var(--rb) + 4px); top: calc(100% + 14px - var(--rb) * .667); width: var(--rb); pointer-events: none; transform-origin: 50% 70%; }
.reel-buddy svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 10px 14px rgba(0,0,0,.28)); }
.rb-body { fill: url(#rbIg); }
.rb-glyph rect, .rb-glyph circle { fill: none; stroke: #fff; stroke-width: 4.5; }
.rb-glyph .rb-dot { fill: #fff; stroke: none; }
.rb-arm path, .rb-leg path { fill: none; stroke: var(--brand-500); stroke-width: 7; stroke-linecap: round; }
.rb-arm circle, .rb-leg ellipse { fill: #fff; stroke: var(--brand-500); stroke-width: 3; }
.rb-arm, .rb-leg { transform-box: view-box; }
.rb-arm--l { transform-origin: 32px 52px; transform: rotate(calc(18deg + var(--push, 0) * 152deg)); }
.rb-arm--r { transform-origin: 88px 52px; transform: rotate(calc(-18deg - var(--push, 0) * 152deg)); }
.rb-leg--l { transform-origin: 48px 78px; animation: rbKick 1.6s ease-in-out infinite; }
.rb-leg--r { transform-origin: 72px 78px; animation: rbKick 1.6s ease-in-out infinite reverse; }
.reel-buddy.is-hop { animation: rbHop .55s cubic-bezier(.3,1.6,.5,1); }
@keyframes rbKick { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(16deg); } }
@keyframes rbHop { 0% { transform: translateY(0) scale(1); } 35% { transform: translateY(-26px) scale(1.04, .96); } 70% { transform: translateY(2px) scale(1.06, .92); } 100% { transform: none; } }
.svc-rows { display: grid; gap: 28vh; padding-bottom: 8vh; }
.svc-row { display: grid; grid-template-columns: 64px 1.1fr 1fr; gap: 28px; padding: clamp(24px, 3vw, 34px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); align-items: start; position: sticky; top: var(--stick, calc(var(--header-h) + 76px)); box-shadow: 0 -24px 50px -30px rgba(0,0,0,.45); transform-origin: 50% 0; transform: translateY(calc(var(--covered, 0) * -14px)) scale(calc((.94 + var(--enter, 1) * .06) * (1 - var(--covered, 0) * .07))); will-change: transform; }
.svc-row::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--brand-deep); opacity: calc(var(--covered, 0) * .45); pointer-events: none; }
.svc-row:nth-child(even) { background: var(--paper); }
.svc-row:target { border-color: rgba(47,99,216,.55); box-shadow: 0 0 0 4px rgba(47,99,216,.12), var(--shadow); }
.svc-row__num { font-size: var(--fs-small); font-weight: 800; color: var(--brand-400); letter-spacing: .1em; }
.svc-row h3 { font-size: var(--fs-h3); margin-bottom: 12px; }
.svc-row p { color: var(--muted); margin: 0 0 20px; }
.svc-row__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/9; margin-bottom: 16px; }
.svc-row__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-row__list { list-style: none; margin: 0; padding: 0; }
.svc-row__list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: var(--fs-small); }
.svc-row__list li span { color: var(--brand-400); font-size: 0.75rem; }

/* industries tabs (dark section) */
.tabs { display: grid; grid-template-columns: 250px 1fr; gap: 24px; }
.tabs__list { display: grid; gap: 2px; align-content: start; }
.tab-btn { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid transparent; background: transparent; cursor: pointer; text-align: left; font-weight: 700; font-size: var(--fs-small); color: var(--muted-dark); position: relative; overflow: hidden; transition: background .35s, color .35s, border-color .35s; }
.tab-btn .n { font-size: 0.6875rem; color: rgba(143,176,255,.55); font-variant-numeric: tabular-nums; }
.tab-btn .ar { margin-left: auto; opacity: 0; transform: translateX(-8px); transition: .35s var(--ease); }
.tab-btn:hover { color: #fff; background: rgba(255,255,255,.04); }
.tab-btn.active { color: #fff; background: rgba(143,176,255,.1); border-color: rgba(143,176,255,.2); }
.tab-btn.active .ar { opacity: 1; transform: none; }
.tab-btn.active .n { color: var(--sky); }
.tab-btn::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--grad); }
.tab-btn.active::after { animation: tabTimer 7s linear forwards; }
.tabs.paused .tab-btn.active::after { animation-play-state: paused; }
@keyframes tabTimer { to { width: 100%; } }
.tab-panels { position: relative; min-height: 400px; }
.tab-panel { position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-rows: 1fr auto; opacity: 0; visibility: hidden; transform: scale(.97); transition: opacity .6s var(--ease), transform .8s var(--ease), visibility .6s; border: 1px solid var(--line-dark); }
.tab-panel.active { opacity: 1; visibility: visible; transform: none; }
.tab-panel__img { position: absolute; inset: 0; }
.tab-panel__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.tab-panel.active .tab-panel__img img { transform: scale(1); }
.tab-panel__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,55,131,.05) 0%, rgba(19,55,131,.5) 45%, rgba(15,44,107,.95) 100%); }
.tab-panel__body { position: relative; grid-row: 2; padding: 24px 26px; }
.tab-panel__body h3 { font-size: var(--fs-h3); margin-bottom: 8px; color: #fff; }
.tab-panel__body p { color: var(--lav); max-width: 500px; margin: 0 0 14px; font-size: var(--fs-small); }
.tab-panel .tag { background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(8px); }

/* portfolio */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter { padding: 9px 18px; min-height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; cursor: pointer; font-weight: 700; font-size: var(--fs-xs); color: var(--muted-dark); transition: .35s var(--ease); }
.filter:hover { color: #fff; border-color: rgba(255,255,255,.6); }
.filter.active { background: #fff; color: var(--brand); border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work { display: block; position: relative; }
.work.is-hidden { display: none; }
.work__media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16/10; background: var(--night-2); }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.work:hover .work__media img { transform: scale(1.06); }
.work__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(19,55,131,.45)); }
.work__cat { position: absolute; left: 18px; top: 18px; z-index: 2; padding: 7px 13px; border-radius: 999px; font-size: 0.6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); background: rgba(255,255,255,.88); border: 0; backdrop-filter: blur(10px); }
.work__view { position: absolute; left: 50%; top: 50%; z-index: 2; width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); font-size: var(--fs-xs); font-weight: 800; transform: scale(0); transition: transform .5s var(--ease); }
.work:hover .work__view, .work:focus-visible .work__view { transform: scale(1); }
.work__info { display: flex; justify-content: space-between; gap: 18px; padding: 18px 4px 0; align-items: flex-start; }
.work__info small { font-size: 0.75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lav); }
.work__info h3 { font-size: var(--fs-h3); margin: 6px 0 8px; }
.work__info p { margin: 0 0 14px; color: var(--muted-dark); font-size: var(--fs-small); }
.work__year { white-space: nowrap; font-weight: 700; color: var(--muted-dark); font-size: var(--fs-xs); padding-top: 4px; }
.work:nth-child(even) { margin-top: 56px; }
.work-grid.filtered .work:nth-child(even) { margin-top: 0; }
/* featured project: full width, image beside the story */
.work--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(22px, 3vw, 44px); align-items: center; margin-top: 0 !important; }
.work--feature .work__media { aspect-ratio: 16 / 11; }
.work--feature .work__info { padding: 0; }
.work--feature h3 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); letter-spacing: -0.035em; line-height: 1.12; }
.work__scope { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.work__scope li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: var(--fs-small); }
.work__scope li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23133783' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.is-light .work__scope li::before { background-color: var(--ice); }
/* after the feature the stagger flips: the cards in the right column drop down */
.work--feature ~ .work:nth-child(even) { margin-top: 0; }
.work--feature ~ .work:nth-child(odd) { margin-top: 56px; }
.work-grid.filtered .work:nth-child(odd) { margin-top: 0; }
.work-grid--home { grid-template-columns: repeat(3, 1fr); }
.work-grid--home .work--feature ~ .work { margin-top: 0; }
.work__metric { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: grid; padding: 12px 16px; border-radius: 16px; background: #fff; color: var(--brand); font-size: var(--fs-xs); font-weight: 700; line-height: 1.2; box-shadow: 0 18px 36px -18px rgba(0,0,0,.5); }
.work__metric b { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.04em; }

/* process (dark section) */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process__line { position: absolute; left: 0; right: 0; top: 26px; height: 2px; background: var(--line-dark); }
.process__line i { position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.step { position: relative; }
.step__dot { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--night-2); border: 1px solid var(--line-dark); color: var(--sky); font-weight: 800; font-size: var(--fs-small); transition: background .5s, color .5s, box-shadow .5s, border-color .5s; }
.step.on .step__dot { background: var(--brand); color: #fff; border-color: var(--brand-400); box-shadow: 0 0 0 7px rgba(47,99,216,.18), 0 0 36px rgba(79,125,255,.5); }
.step__when { display: inline-block; margin: 20px 0 8px; font-size: 0.6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.step h3 { font-size: 1.0625rem; color: #fff; margin-bottom: 8px; }
.step p { color: var(--muted-dark); font-size: var(--fs-small); margin: 0 0 14px; }
.step ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.step li { font-size: var(--fs-xs); color: var(--lav); display: flex; gap: 10px; }
.step li::before { content: ""; width: 5px; height: 5px; margin-top: 8px; border-radius: 50%; background: var(--electric); flex: none; }

/* timeline (process page) */
.timeline { position: relative; max-width: 960px; margin: 0 auto; }
.timeline__rail { position: absolute; left: 26px; top: 0; bottom: 0; width: 2px; background: var(--line-dark); }
.timeline__rail i { position: absolute; inset: 0; background: #fff; transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
.tl-item { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 26px; padding-bottom: 24px; }
.tl-item .step__dot { background: #fff; border-color: var(--line); color: var(--brand-400); }
.tl-item.on .step__dot { background: var(--brand); color: #fff; border-color: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.15); }
.tl-card { padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.tl-card:hover { box-shadow: var(--shadow); transform: translateX(5px); }
.tl-card .step__when { margin: 0 0 6px; color: var(--brand-400); }
.tl-card h3 { font-size: var(--fs-h3); margin-bottom: 10px; color: var(--text); }
.tl-card p { color: var(--muted); margin: 0 0 18px; }

/* values */
.cards-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.value { padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value .svc__icon { margin-bottom: 18px; }
.value h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.value p { color: var(--muted); margin: 0; font-size: var(--fs-small); }
.value__bg-n { position: absolute; right: 18px; top: -8px; font-size: 5.5rem; font-weight: 800; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px var(--line); line-height: 1; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); }
.faq h2 { margin: 14px 0 18px; }
.faq__list { border-top: 1px solid var(--line-dark); }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; background: none; border: 0; cursor: pointer; text-align: left; font-size: clamp(1rem, .95rem + .25vw, 1.125rem); font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.faq-q .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-dark); position: relative; transition: background .35s, border-color .35s, transform .5s var(--ease); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .45s var(--ease); }
.faq-q .pm::after { transform: rotate(90deg); }
.faq-item.open .pm { background: #fff; border-color: #fff; color: var(--brand); transform: rotate(180deg); }
.faq-item.open .pm::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0 0 22px; color: var(--muted-dark); max-width: 640px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* CTA */
.cta { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: linear-gradient(135deg, #1d4bb0 0%, #163c8a 100%); border: 1px solid var(--line-dark); color: #fff; padding: clamp(44px, 6vw, 80px) clamp(22px, 5vw, 64px); text-align: center; }
.cta::before { content: ""; position: absolute; left: 50%; top: 115%; width: 760px; height: 760px; margin-left: -380px; border-radius: 50%; border: 1px solid rgba(143,176,255,.25); box-shadow: 0 0 0 40px rgba(47,99,216,.06), 0 0 0 90px rgba(47,99,216,.04), 0 0 120px rgba(79,125,255,.35) inset; transform: translateY(-50%); z-index: -1; }
.cta h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); letter-spacing: -0.04em; max-width: 860px; margin: 16px auto 18px; }
.cta p { color: var(--lav); max-width: 540px; margin: 0 auto 32px; }
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta .eyebrow { color: var(--sky); }
.cta__mark { position: absolute; right: -40px; bottom: -60px; width: 300px; opacity: .07; z-index: -1; transform: rotate(-12deg); }

/* contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.contact-list { display: grid; gap: 12px; margin-top: 32px; }
.contact-item { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
a.contact-item:hover { transform: translateX(5px); box-shadow: var(--shadow); border-color: rgba(47,99,216,.3); }
.contact-item .svc__icon { width: 42px; height: 42px; border-radius: 14px; }
.contact-item small { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-item b { font-size: var(--fs-body); word-break: break-word; }
.form-card { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.form-card h3 { font-size: var(--fs-h3); }
.form-card > p { color: var(--muted); margin: 8px 0 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; padding: 22px 16px 8px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); font-size: var(--fs-small); outline: none; transition: border-color .3s, background .3s, box-shadow .3s; appearance: none; -webkit-appearance: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 15px; font-size: var(--fs-small); color: var(--muted); pointer-events: none; transition: .3s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-400); background: #fff; box-shadow: 0 0 0 4px rgba(47,99,216,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select + label { top: 7px; font-size: 0.6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-400); }
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6788' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.chips-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-select label { cursor: pointer; }
.chips-select input { position: absolute; opacity: 0; pointer-events: none; }
.chips-select span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: var(--fs-xs); font-weight: 600; color: var(--muted); transition: .3s var(--ease); }
.chips-select input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chips-select input:focus-visible + span { box-shadow: 0 0 0 4px rgba(47,99,216,.25); }
.form-label { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: 0.75rem; max-width: 300px; }
.form-success { display: none; text-align: center; padding: 40px 0; }
.form-success .svc__icon { margin: 0 auto 18px; background: var(--ice); color: var(--brand); }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; animation: rise .7s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* social bento (home) */
.social-bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 132px; gap: 12px; }
.soc { --c: #133783; --fg: #fff; position: relative; border-radius: var(--r-lg); padding: 16px; overflow: hidden; isolation: isolate; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; transition: transform .45s var(--ease), border-color .35s, box-shadow .45s; }
.soc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bgc, var(--c)); clip-path: circle(0% at var(--x, 50%) var(--y, 50%)); transition: clip-path .65s var(--ease); }
.soc:hover::before, .soc:focus-visible::before { clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); }
.soc:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -24px var(--c); border-color: transparent; }
.soc__ic { width: 44px; height: 44px; border-radius: 13px; padding: 10px; background: var(--bgc, var(--c)); color: var(--fg); transition: background .35s, color .35s, transform .5s var(--ease); }
.soc:hover .soc__ic { background: #fff; color: var(--ic-hover, var(--c)); transform: rotate(-8deg); }
.soc__name { font-weight: 700; font-size: 1rem; letter-spacing: -0.02em; transition: color .35s; }
.soc__handle { font-size: 0.75rem; color: var(--muted); transition: color .35s; }
.soc:hover .soc__name, .soc:hover .soc__handle { color: var(--fg); }
.soc__arrow { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-size: 12px; color: var(--brand); transition: transform .45s var(--ease), background .35s, color .35s; }
.soc:hover .soc__arrow { transform: rotate(45deg); background: #fff; color: var(--brand); border-color: transparent; }
.soc--xl { grid-column: span 2; grid-row: span 2; padding: 22px; }
.soc--xl .soc__ic { width: 56px; height: 56px; border-radius: 17px; padding: 13px; }
.soc--xl .soc__name { font-size: 1.5rem; letter-spacing: -0.03em; }
.soc--wide { grid-column: span 2; }
.soc__feed { position: absolute; right: -14px; bottom: -14px; width: 56%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; transform: rotate(-8deg); transition: transform .6s var(--ease); }
.soc__feed img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.soc:hover .soc__feed { transform: rotate(-4deg) translateY(-6px); }
.soc__play { position: absolute; right: 18px; bottom: 18px; width: 56px; height: 40px; border-radius: 12px; background: var(--brand); display: grid; place-items: center; }
.soc__play::after { content: ""; border-left: 13px solid #fff; border-block: 8px solid transparent; margin-left: 4px; }
.soc__cta { display: inline-flex; margin-top: 8px; font-size: var(--fs-xs); font-weight: 700; padding: 7px 13px; border-radius: 999px; background: var(--ice); color: var(--brand); width: max-content; transition: background .35s, color .35s; }
.soc:hover .soc__cta { background: #fff; color: var(--brand); }

/* ambassador (home; shown only when a video/realistic model exists) */
.amb-section .amb-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.amb { position: relative; aspect-ratio: 4/5; max-width: 480px; width: 100%; margin: 0 auto; border-radius: var(--r-xl); overflow: hidden; background: var(--night-grad); }
.amb .founder { position: absolute; inset: 0; }
.amb .founder canvas { width: 100%; height: 100%; display: block; }
.amb__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease); }
.amb__video--idle ~ .amb__video--talk { opacity: 0; }
.amb.is-talking-video .amb__video--talk { opacity: 1; }
.amb.is-talking-video .amb__video--idle { opacity: 0; }
.amb__bubble { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); color: var(--text); }
.amb__head { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); }
.amb__head b { color: var(--brand); }
.amb__status { margin-left: auto; color: var(--muted); }
.amb__text { margin: 8px 0 12px; font-size: var(--fs-small); font-weight: 500; color: #8d97b3; min-height: 2.8em; }
.amb.is-speaking .w.said, .amb.is-speaking .w.now, .amb.is-done .w, .amb:not(.is-speaking):not(.is-done) .amb__text { color: var(--text); }
.amb.is-speaking .w.now { color: var(--brand-400); }
.amb__ctrl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.amb__play svg { width: 12px; height: 12px; }
.amb__play .i-stop, .amb__play.is-stop .i-play { display: none; }
.amb__play.is-stop .i-stop { display: block; }
.amb__replay { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--brand); background: #fff; cursor: pointer; }
.amb__note { display: block; margin-top: 8px; font-size: 0.75rem; color: var(--muted); }
.voicebars { display: inline-flex; gap: 2px; align-items: center; height: 12px; }
.voicebars i { width: 3px; height: 4px; background: var(--brand-400); border-radius: 2px; }
.amb.is-speaking .voicebars i { animation: eq .8s ease-in-out infinite; }
.voicebars i:nth-child(2) { animation-delay: -.3s; } .voicebars i:nth-child(3) { animation-delay: -.6s; } .voicebars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 12px; } }

/* footer — the world closes the page */
.footer { background: #0f2c6b; color: var(--muted-dark); padding: clamp(56px, 7vw, 80px) 0 0; position: relative; overflow: hidden; isolation: isolate; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(143,176,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(143,176,255,.05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(transparent, #000 60%); mask-image: linear-gradient(transparent, #000 60%); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer__brand img { height: 40px; width: auto; }
.footer__brand p { margin: 20px 0 22px; max-width: 340px; font-size: var(--fs-small); }
.footer__tagline { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--sky); margin: -8px 0 18px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.soc-dot { --c: #2f63d8; width: 38px; height: 38px; border-radius: 12px; padding: 10px; border: 1px solid var(--line-dark); color: var(--lav); background: rgba(255,255,255,.04); position: relative; transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s; }
.soc-dot:hover, .soc-dot:focus-visible { background: var(--bgc, var(--c)); color: var(--fg, #fff); border-color: transparent; transform: translateY(-3px); }
.soc-dot svg, .soc__ic svg, [data-icon] svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.footer h4 { color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { font-size: var(--fs-small); transition: color .3s; }
.footer ul a:hover { color: #fff; }
.footer__contact a { color: #fff; font-weight: 600; }
.footer__big { font-size: clamp(3rem, 10vw, 9.5rem); font-weight: 800; letter-spacing: -0.06em; line-height: .8; text-align: center; margin: 44px 0 -0.08em; background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; white-space: nowrap; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; font-size: var(--fs-xs); border-top: 1px solid var(--line-dark); }
.footer__bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__bottom a:hover, .footer__bottom button:hover { color: #fff; }
.footer__bottom button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-size: inherit; }
.footer__legal { width: 100%; font-size: 0.6875rem; color: rgba(255,255,255,.6); }

/* floating */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: #fff; color: var(--brand); display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.4); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .45s, transform .45s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; position: relative; z-index: 1; }
.to-top circle { fill: none; stroke: var(--brand); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: calc(151 - 151 * var(--p, 0)); transform: rotate(-90deg); transform-origin: center; }
.to-top .ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.wa-float { position: fixed; left: 20px; bottom: 20px; z-index: 80; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.4); transition: transform .45s var(--ease), opacity .6s; }
.wa-float:hover { transform: scale(1.08) rotate(-8deg); }
.wa-float svg { width: 24px; height: 24px; }

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* large desktop monitors: use more of the width */
@media (min-width: 1600px) {
  :root { --container: 1320px; }
  .hero__content { max-width: 660px; }
}
/* small laptops / iPad landscape: full nav still fits; tighten the hero so copy and glass sit side by side */
@media (max-width: 1180px) and (min-width: 1001px) {
  .hero__content { max-width: 500px; }
  .hero__glass { width: 30vw; }
  .nav a { padding: 9px 11px; }
}
@media (max-width: 1023px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__cta .btn { display: none; }
}
@media (max-width: 1000px) {
  .hero__glass { display: none; }
  /* without the glass panel the hero is just copy: size it to the content instead of the full screen */
  .hero { min-height: 0; padding: calc(var(--header-h) + 72px) 0 104px; }
  .page-hero { min-height: 0; padding-top: calc(var(--header-h) + 64px); }
}
@media (max-width: 1100px) {
  .work-grid--home { grid-template-columns: repeat(2, 1fr); }
  .work-grid--home .work:last-child { grid-column: 1 / -1; }
  .intro, .faq, .contact, .amb-section .amb-wrap { grid-template-columns: 1fr; gap: 44px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr 1fr; gap: 36px 22px; }
  .process__line { display: none; }
  .tabs { grid-template-columns: 1fr; }
  .tabs__list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tab-btn .ar { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 16px; }
  .svc-rows { gap: 18vh; }
  .reel-bar__name { display: none; }
  .reel-bar { --rb: 96px; }
  .social-bento { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .header { padding: 10px 0; }
  .logo img { height: 30px; }
  .hero { padding: calc(var(--header-h) + 48px) 0 64px; }
  .hero__content { max-width: none; }
  .page-hero { padding-top: calc(var(--header-h) + 44px); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 14px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .svc-grid, .work-grid, .cards-4, .process { grid-template-columns: 1fr; }
  .work:nth-child(even) { margin-top: 0; }
  .work-grid .work, .work--feature ~ .work:nth-child(odd) { margin-top: 0; }
  .work--feature { grid-template-columns: 1fr; }
  .work-grid--home { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .intro__media .img-sub { right: -6px; bottom: -26px; border-width: 5px; }
  .intro__badge { left: -6px; top: 18px; width: 92px; height: 92px; }
  .tab-panels { min-height: 400px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .tl-item { grid-template-columns: 1fr; gap: 14px; }
  .timeline__rail { display: none; }
  .social-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 128px; gap: 10px; }
  .soc--xl { grid-column: span 2; grid-row: span 2; }
  .to-top { right: 14px; bottom: 14px; }
  .wa-float { left: 14px; bottom: 14px; }
  .intro-overlay__note { display: none; }
  .scroll-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split-word { opacity: 1 !important; transform: none !important; }
  .svc-row { transform: none !important; }
}

/* social profiles without a URL yet */
.soc--soon { opacity: 1; }
.soc--soon::before { display: none; }
.soc--soon:hover { transform: none; box-shadow: none; border-color: var(--line); }
.soc--soon:hover .soc__ic { background: var(--bgc, var(--c)); color: var(--fg); transform: none; }
.soc--soon:hover .soc__name, .soc--soon:hover .soc__handle { color: inherit; }
.soc--soon .soc__handle { font-style: italic; }

/* logo colours only: every social / service icon renders in the brand blue, whatever its platform colour */
.soc, .soc-dot { --c: var(--brand) !important; --bgc: var(--brand) !important; --fg: #fff !important; --ic-hover: var(--brand) !important; }

/* white surfaces on the blue site: dark type and blue buttons inside them */
:is(.svc, .svc-row, .tl-card, .value, .form-card, .contact-item, .soc, .amb__bubble) { color: var(--text); }
:is(.svc, .svc-row, .tl-card, .value, .form-card, .contact-item) .btn { --bg: var(--brand); color: #fff; }
:is(.svc, .svc-row, .tl-card, .value, .form-card, .contact-item) .btn::before { background: var(--brand-500); }
:is(.svc, .svc-row, .tl-card, .value, .form-card, .contact-item) .btn .arrow { background: rgba(255,255,255,.16); }
:is(.svc, .svc-row, .tl-card, .value, .form-card, .contact-item) .btn--ghost { --bg: transparent; color: var(--brand); border-color: rgba(19,55,131,.22); }
:is(.svc, .svc-row, .tl-card, .value, .form-card, .contact-item) .btn--ghost::before { background: var(--brand); }
:is(.svc, .svc-row, .tl-card, .value, .form-card, .contact-item) .btn--ghost:hover { color: #fff; }
:is(.svc, .svc-row, .tl-card, .value, .form-card, .contact-item) .link-arrow { color: var(--brand-400); }

/* =========================================================
   SECTION RHYTHM — site.js marks every other section .is-light (hero blue → half-white → blue …)
   Half-white sections get dark type and blue buttons; the blue CTA panel keeps its own white-on-blue look.
   ========================================================= */
.section:not(.is-light) { background: var(--brand); }
.section.section--dark:not(.is-light) { background: var(--night-grad); }
.section.is-light { background: var(--paper); color: var(--text); }
.section.is-light::before { display: none; }
.is-light :is(.lead, .faq-a p, .work__info p, .work__year):not(.cta *) { color: var(--muted); }
.is-light .eyebrow:not(.cta *) { color: var(--brand-400); }
.is-light :is(.grad-text, .grad-text-light):not(.cta *) { background: var(--grad-text-light); -webkit-background-clip: text; background-clip: text; }
.is-light .link-arrow:not(.cta *) { color: var(--brand-400); }
.is-light .btn:not(.cta *, .btn--ghost) { --bg: var(--brand); color: #fff; box-shadow: 0 14px 30px -14px rgba(19,55,131,.6); }
.is-light .btn:not(.cta *, .btn--ghost)::before { background: var(--brand-500); }
.is-light .btn:not(.cta *) .arrow { background: rgba(255,255,255,.16); }
.is-light .btn--ghost:not(.cta *) { color: var(--brand); border-color: rgba(19,55,131,.25); }
.is-light .btn--ghost:not(.cta *)::before { background: var(--brand); }
.is-light .btn--ghost:not(.cta *):hover { color: #fff; }
.is-light .btn--ghost:not(.cta *) .arrow { background: rgba(19,55,131,.1); }
/* about split + stats */
.is-light .intro__media .img-sub { border-color: var(--paper); }
.is-light .stats { background: var(--night-grad); border-color: transparent; }
/* FAQ */
.is-light .faq__list, .is-light .faq-item { border-color: var(--line); }
.is-light .faq-q { color: var(--text); }
.is-light .faq-q .pm { border-color: var(--line); }
.is-light .faq-item.open .pm { background: var(--brand); border-color: var(--brand); color: #fff; }
/* work grid + filters */
.is-light .work__info small { color: var(--brand-400); }
.is-light .filter { border-color: var(--line); color: var(--muted); background: #fff; }
.is-light .filter:hover { color: var(--brand); border-color: rgba(19,55,131,.4); }
.is-light .filter.active { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 12px 26px -12px rgba(19,55,131,.7); }
/* industries tabs */
.is-light .tab-btn { color: var(--muted); }
.is-light .tab-btn .n { color: rgba(19,55,131,.45); }
.is-light .tab-btn:hover { color: var(--brand); background: rgba(19,55,131,.05); }
.is-light .tab-btn.active { color: var(--brand); background: #fff; border-color: var(--line); box-shadow: 0 10px 24px -16px rgba(19,55,131,.5); }
.is-light .tab-btn.active .n { color: var(--brand-400); }
/* process steps + timeline */
.is-light .process__line { background: var(--line); }
.is-light .process__line i, .is-light .timeline__rail i { background: var(--brand); }
.is-light .step__dot { background: #fff; border-color: var(--line); color: var(--brand); }
.is-light .step.on .step__dot { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 0 0 7px rgba(19,55,131,.12); }
.is-light .step__when { color: var(--brand-400); }
.is-light .step h3 { color: var(--text); }
.is-light .step p { color: var(--muted); }
.is-light .step li { color: var(--muted); }
.is-light .timeline__rail { background: var(--line); }
.is-light .tl-item .step__dot { border-color: var(--line); }
.is-light .tl-item.on .step__dot { border-color: var(--brand); box-shadow: 0 0 0 6px rgba(19,55,131,.12); }
/* white cards on half-white need a little lift */
.is-light :is(.svc, .tl-card, .value, .form-card, .contact-item, .soc) { box-shadow: 0 18px 40px -30px rgba(19,55,131,.45); }
.is-light .reel-bar { background: rgba(19,55,131,.92); }

/* =========================================================
   BLOG — featured post, post grid, article reader
   ========================================================= */
.post-feature { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: var(--r-xl); overflow: hidden; background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(19,55,131,.55); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-feature__media { min-height: 340px; overflow: hidden; }
.post-feature__media img, .post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-feature:hover .post-feature__media img, .post:hover .post__media img { transform: scale(1.05); }
.post-feature__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(24px, 4vw, 48px); }
.post-feature__body h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); letter-spacing: -0.035em; line-height: 1.12; }
.post-feature__body p { margin: 0; color: var(--muted); }
.post-feature .link-arrow { color: var(--brand-400); align-self: flex-start; }
.post-tag { align-self: flex-start; font-size: 0.6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-400); }
.post-meta { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; color: var(--text); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post:hover, .post:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow); }
.post.is-hidden { display: none; }
.post__media { aspect-ratio: 16 / 10; overflow: hidden; }
.post__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 22px; flex: 1; }
.post__body h3 { font-size: 1.1875rem; line-height: 1.25; }
.post__body p { margin: 0; color: var(--muted); font-size: var(--fs-small); }
.post__body .post-meta { margin-top: auto; padding-top: 6px; }
.is-light .post-feature, .is-light .post { box-shadow: 0 18px 40px -30px rgba(19,55,131,.45); }

.reader { width: min(820px, 100%); max-width: 100%; height: 100%; max-height: 100%; margin: 0 0 0 auto; padding: 0; border: 0; background: #fff; color: var(--text); box-shadow: -30px 0 80px -30px rgba(0,0,0,.5); }
.reader[open] { display: flex; flex-direction: column; animation: readerIn .55s var(--ease); }
.reader::backdrop { background: rgba(15,44,107,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes readerIn { from { transform: translateX(40px); opacity: 0; } }
.reader__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px max(18px, env(safe-area-inset-right)) 14px clamp(20px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.reader__tag { font-size: 0.6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-400); }
.reader__close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--brand); cursor: pointer; padding: 11px; transition: background .3s, color .3s; }
.reader__close:hover { background: var(--brand); color: #fff; }
.reader__close svg { width: 100%; height: 100%; display: block; }
.reader__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.reader__hero { aspect-ratio: 21 / 9; overflow: hidden; }
.reader__hero img { width: 100%; height: 100%; object-fit: cover; }
.reader__body, .reader__end { padding: 0 clamp(20px, 5vw, 56px); }
.reader__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 8px 0 40px; padding-top: 24px; padding-bottom: 0; border-top: 1px solid var(--line); }
.reader__end p { margin: 0; font-weight: 700; color: var(--brand); }
.reader .btn { --bg: var(--brand); color: #fff; }
.reader .btn::before { background: var(--brand-500); }
.reader .btn .arrow { background: rgba(255,255,255,.16); }
.prose { padding-top: 32px; padding-bottom: 24px; max-width: 72ch; }
.prose h1, .prose .post-title { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 10px; color: var(--text); }
.prose .post-meta { display: block; margin-bottom: 24px; }
.prose h2:not(.post-title) { font-size: 1.3125rem; margin: 30px 0 10px; color: var(--brand); }
.prose p, .prose li { color: #33405f; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 8px; }
.prose li::marker { color: var(--brand-400); font-weight: 700; }
.prose strong { color: var(--text); }
body.reader-open { overflow: hidden; }

@media (max-width: 1100px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .post-feature { grid-template-columns: 1fr; }
  .post-feature__media { min-height: 0; aspect-ratio: 16 / 10; }
  .post-grid { grid-template-columns: 1fr; }
  .reader { width: 100%; }
  .reader__hero { aspect-ratio: 16 / 9; }
}

/* =========================================================
   SERVICE + CASE STUDY PAGES
   ========================================================= */
.detail { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.detail__main { min-width: 0; display: grid; gap: 18px; align-content: start; }
.detail__main .lead { max-width: 62ch; margin: 0; }
.detail__img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 10; margin-top: 10px; }
.detail__img img, .case-cover img { width: 100%; height: 100%; object-fit: cover; }
.fact-card { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(0,0,0,.45); }
.fact-card h3 { font-size: 0.75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-400); margin-top: 6px; }
.fact-card .btn { --bg: var(--brand); color: #fff; justify-self: start; margin-top: 6px; }
.fact-card .btn::before { background: var(--brand-500); }
.fact-card .btn .arrow { background: rgba(255,255,255,.16); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: var(--fs-small); line-height: 1.45; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23133783' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.facts a { color: var(--brand-400); }
.process--4 { grid-template-columns: repeat(4, 1fr); }
.process--4 .step h3 { margin-top: 18px; }
.work-grid--plain { grid-template-columns: repeat(3, 1fr); }
.work-grid--plain .work { margin-top: 0 !important; }
.work-grid--plain .work__info h3 { font-size: 1.125rem; }
.pill-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-link { padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: var(--fs-small); border: 1px solid var(--line-dark); color: #fff; transition: background .3s, color .3s, transform .3s var(--ease); }
.pill-link:hover { background: #fff; color: var(--brand); transform: translateY(-2px); }
.is-light .pill-link { border-color: var(--line); color: var(--brand); background: #fff; }
.is-light .pill-link:hover { background: var(--brand); color: #fff; }
.case-cover { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 9; margin-bottom: clamp(36px, 5vw, 64px); }
.story { gap: 30px; }
.story__block h2 { font-size: var(--fs-h3); margin-bottom: 10px; }
.story__block p { margin: 0; font-size: var(--fs-lead); line-height: 1.7; color: var(--muted-dark); max-width: 62ch; }
.is-light .story__block p { color: var(--muted); }
.big-metric { display: inline-grid; justify-self: start; padding: 18px 24px; border-radius: var(--r-lg); background: var(--brand); color: #fff; }
.big-metric b { font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.big-metric span { font-weight: 600; color: var(--muted-dark); }
.next-case { display: grid; gap: 18px; }
.next-case__link { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 24px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); border: 1px solid var(--line-dark); transition: background .4s, transform .4s var(--ease); }
.next-case__link small { grid-column: 1; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.next-case__link b { grid-column: 1; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.4rem); letter-spacing: -0.035em; line-height: 1.1; }
.next-case__link .arrow { grid-column: 2; grid-row: 1 / span 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); }
.next-case__link .arrow svg { width: 20px; height: 20px; }
.next-case__link:hover { background: rgba(255,255,255,.06); transform: translateY(-3px); }
.is-light .next-case__link { border-color: var(--line); background: #fff; color: var(--text); }
.is-light .next-case__link .arrow { background: var(--brand); color: #fff; }
@media (max-width: 1100px) {
  .detail { grid-template-columns: 1fr; }
  .fact-card { position: static; }
  .process--4 { grid-template-columns: 1fr 1fr; }
  .work-grid--plain { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .process--4, .work-grid--plain { grid-template-columns: 1fr; }
  .case-cover { aspect-ratio: 16 / 10; }
}

/* =========================================================
   Blog article pages (e.g. local-seo-hyderabad-guide.html):
   SEO title → intro → table of contents + sections → FAQ → conclusion
   ========================================================= */
.page-hero--article { min-height: min(70svh, 600px); }
.page-hero--article h1.display--article { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); line-height: 1.08; max-width: 980px; }
.page-hero--article .lead { max-width: 680px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: var(--fs-small); font-weight: 600; color: var(--muted-dark); }
.article-meta span + span::before { content: "•"; margin-right: 22px; opacity: .6; }
.article { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.article--end { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.article__body { max-width: 760px; padding-top: 0; width: 100%; }
.toc { position: sticky; top: calc(var(--header-h) + 28px); padding: 22px 22px 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -40px rgba(19,55,131,.5); max-height: calc(100svh - var(--header-h) - 60px); overflow: auto; }
.toc h2 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-400); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 10px; font-size: .875rem; line-height: 1.35; font-weight: 600; color: var(--muted); transition: background .25s, color .25s; }
.toc a::before { content: counter(toc, decimal-leading-zero); flex: none; font-size: .7rem; font-weight: 800; color: var(--brand-400); padding-top: 2px; }
.toc a:hover, .toc a.is-active { background: rgba(19,55,131,.07); color: var(--brand); }
.article__cover { margin: 0 0 32px; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 9; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__intro { font-size: 1.1875rem; color: var(--text) !important; }
.article__sec { scroll-margin-top: calc(var(--header-h) + 24px); padding-top: 12px; }
.article__body h2, .article__h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem) !important; letter-spacing: -0.03em; line-height: 1.15; color: var(--text) !important; margin: 40px 0 14px !important; }
.article__body h3 { font-size: 1.1875rem; letter-spacing: -0.015em; color: var(--brand); margin: 26px 0 8px; }
.article__body p { margin: 0 0 1em; }
.article__body a:not(.pill-link) { color: var(--brand); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(19,55,131,.3); text-underline-offset: 3px; }
.article__body a:not(.pill-link):hover { text-decoration-color: currentColor; }
.keybox { margin: 28px 0 8px; padding: 24px 26px; border-radius: var(--r-lg); background: var(--brand); color: #fff; }
.keybox h3 { color: #fff; margin: 0 0 12px; font-size: 1.0625rem; }
.keybox li, .keybox strong { color: #fff !important; }
.keybox li { color: rgba(255,255,255,.88) !important; }
.keybox li::marker { color: #fff; }
.factor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 8px; }
.factor { padding: 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.factor b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .875rem; }
.factor h3 { margin: 12px 0 6px !important; }
.factor p { font-size: .9375rem; margin: 0; }
.example { margin: 16px 0 20px; padding: 18px 22px; border-left: 4px solid var(--brand); border-radius: 0 var(--r-lg) var(--r-lg) 0; background: #fff; }
.example span { font-size: .6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-400); }
.example p { margin: 6px 0 4px; font-weight: 600; color: var(--text); }
.example small { color: var(--muted); }
.tbl { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .9375rem; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: block; overflow-x: auto; }
.tbl th, .tbl td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: #33405f; }
.tbl th { background: var(--brand); color: #fff; font-weight: 700; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 700; color: var(--text); white-space: nowrap; }
.article__share { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.article__share > span { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-400); }
/* blog list: single featured article */
.post-feature__body .post-meta { color: var(--muted); }
@media (max-width: 1023px) {
  .article { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; max-height: none; }
}
@media (max-width: 760px) {
  .factor-grid { grid-template-columns: 1fr; }
  .article-meta span + span::before { content: none; }
  .article-meta { gap: 6px 12px; }
}
