/* ==========================================================================
   CoreTech — site styles
   Palette taken from the CoreTech logo (deep blue → teal) with an amber accent.
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #F4F7FA;
  --bg-alt: #EAF0F6;
  --surface: #FFFFFF;
  --surface-2: #F7F9FC;
  --line: #DCE4EC;
  --text: #0A1B2E;
  --text-2: #22364D;
  --muted: #5A6B7E;

  --brand: #0B5A8F;
  --brand-2: #13B5B1;
  --brand-deep: #083B66;
  --brand-soft: #E2F0F7;
  --accent: #F2A93B;
  --accent-soft: #FDF1DE;
  --accent-text: #A86A12;

  --navy: #061A2E;
  --navy-2: #0C2742;
  --on-navy: #FFFFFF;
  --on-navy-muted: rgba(255, 255, 255, .68);

  --grad: linear-gradient(135deg, #0A4C82 0%, #0F7FA6 55%, #13B5B1 100%);
  --grad-text: linear-gradient(100deg, #0B5A8F 0%, #0FA3AE 100%);
  --header-bg: rgba(244, 247, 250, .82);
  --input-bg: #F4F7FA;
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0 32V66' fill='none' stroke='%230A1B2E' stroke-opacity='.07'/%3E%3C/svg%3E");
  --hex-on-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0 32V66' fill='none' stroke='%23FFFFFF' stroke-opacity='.06'/%3E%3C/svg%3E");

  --shadow-sm: 0 1px 2px rgba(10, 27, 46, .06);
  --shadow: 0 12px 32px -14px rgba(10, 27, 46, .22);
  --shadow-lg: 0 34px 70px -28px rgba(10, 27, 46, .38);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --hex-clip: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 9vw, 120px);
  --header-h: 76px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #06101C;
    --bg-alt: #0A1726;
    --surface: #0E1D30;
    --surface-2: #12243A;
    --line: #1E3249;
    --text: #E9F0F7;
    --text-2: #C7D4E2;
    --muted: #8FA3B8;
    --brand: #4CC3DC;
    --brand-soft: rgba(19, 181, 177, .13);
    --accent-soft: rgba(242, 169, 59, .14);
    --accent-text: #F2B556;
    --navy: #030B16;
    --navy-2: #0A1A2C;
    --grad-text: linear-gradient(100deg, #4FB6F0 0%, #2FD4C8 100%);
    --header-bg: rgba(6, 16, 28, .8);
    --input-bg: #0A1726;
    --hex: var(--hex-on-dark);
    --shadow: 0 12px 32px -14px rgba(0, 0, 0, .6);
    --shadow-lg: 0 34px 70px -28px rgba(0, 0, 0, .75);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #06101C;
  --bg-alt: #0A1726;
  --surface: #0E1D30;
  --surface-2: #12243A;
  --line: #1E3249;
  --text: #E9F0F7;
  --text-2: #C7D4E2;
  --muted: #8FA3B8;
  --brand: #4CC3DC;
  --brand-soft: rgba(19, 181, 177, .13);
  --accent-soft: rgba(242, 169, 59, .14);
  --accent-text: #F2B556;
  --navy: #030B16;
  --navy-2: #0A1A2C;
  --grad-text: linear-gradient(100deg, #4FB6F0 0%, #2FD4C8 100%);
  --header-bg: rgba(6, 16, 28, .8);
  --input-bg: #0A1726;
  --hex: var(--hex-on-dark);
  --shadow: 0 12px 32px -14px rgba(0, 0, 0, .6);
  --shadow-lg: 0 34px 70px -28px rgba(0, 0, 0, .75);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@view-transition { navigation: auto; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: pageIn .5s ease both;
  transition: background-color .3s ease, color .3s ease;
}
body.is-leaving { opacity: 0; transition: opacity .18s ease; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; color: var(--text); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--surface { background: var(--surface); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 16px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; width: 10px; height: 11px; background: var(--accent); clip-path: var(--hex-clip); }
.eyebrow--light { color: var(--brand-2); }

.display {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.02em; line-height: 1.04;
}
.grad-text, .display em, .h2 em {
  font-style: italic;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -0.015em; line-height: 1.1; }
.h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); line-height: 1.7; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .h2 { margin: 16px 0 18px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.section-head--split .lead { padding-bottom: 6px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease, filter .2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -12px rgba(11, 90, 143, .7); }
.btn--primary:hover { filter: brightness(1.08) saturate(1.1); box-shadow: 0 16px 30px -12px rgba(15, 127, 166, .75); }
.btn--ghost { border-color: var(--text); color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--bg); }
.btn--accent { background: var(--accent); color: #0A1B2E; }
.btn--accent:hover { background: #F7BB5E; box-shadow: 0 14px 28px -12px rgba(242, 169, 59, .8); }
.btn--light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--light:hover { background: #fff; color: #0A1B2E; }
.btn--sm { padding: 11px 18px; font-size: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease, background-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 44px; height: 44px; flex: none; object-fit: contain; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-name { font-weight: 800; font-size: 21px; letter-spacing: -0.02em; color: var(--text); }
.brand-name span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { position: relative; font-size: 15px; font-weight: 600; color: var(--text-2); padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-tools { display: flex; align-items: center; gap: 10px; }

.theme-toggle, .nav-toggle {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); display: inline-grid; place-items: center; flex: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.theme-toggle:hover { border-color: var(--brand); }
.theme-toggle > span { grid-area: 1 / 1; display: grid; place-items: center; transition: transform .4s ease, opacity .3s ease; }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .i-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
.is-dark .theme-toggle .i-sun { opacity: 1; transform: none; }
.is-dark .theme-toggle .i-moon { opacity: 0; transform: rotate(90deg) scale(.6); }

.nav-toggle { display: none; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform .25s ease, background-color .25s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hex background helpers ---------- */
.hex-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: var(--hex); background-size: 56px 98px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 72% 35%, #000 15%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 65% at 72% 35%, #000 15%, transparent 75%);
}
.hex-bg > * { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero .display { margin: 22px 0 24px; }
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 40px; }
.hero-points li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.hero-points svg { width: 18px; height: 18px; color: var(--brand-2); flex: none; }

/* Rotating headline word */
.rotator { display: inline-grid; vertical-align: top; }
.rotator > span {
  grid-area: 1 / 1; opacity: 0; transform: translateY(.35em); filter: blur(4px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1), filter .55s ease;
  white-space: nowrap;
}
.rotator > span.is-active { opacity: 1; transform: none; filter: none; }
.rotator > span.is-leaving { opacity: 0; transform: translateY(-.35em); filter: blur(4px); }

/* Hero visual */
.panel-wrap { position: relative; perspective: 1400px; }
.panel-tilt { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.hero-hex { position: absolute; z-index: 0; width: 130%; left: -15%; top: 50%; transform: translateY(-50%); pointer-events: none; opacity: .9; }
.hero-hex .spin { transform-origin: 50% 50%; animation: spin 80s linear infinite; }
.hero-hex .spin-rev { transform-origin: 50% 50%; animation: spin 120s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.panel {
  position: relative; z-index: 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 26px;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.panel-title { font-weight: 800; font-size: 15px; }
.panel-sub { font-size: 12.5px; color: var(--muted); }
.pill {
  display: inline-grid; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: var(--brand-soft); color: var(--brand); white-space: nowrap; transition: background-color .4s ease, color .4s ease;
}
.pill > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; transition: opacity .3s ease, transform .3s ease; }
.pill .pill-track::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); animation: pulse 2s infinite; }
.pill .pill-live { opacity: 0; transform: translateY(6px); }
.pill .pill-live svg { width: 13px; height: 13px; }
.is-live .pill { background: var(--accent); color: #0A1B2E; }
.is-live .pill .pill-track { opacity: 0; transform: translateY(-6px); }
.is-live .pill .pill-live { opacity: 1; transform: none; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.workstreams { display: grid; gap: 16px; }
.ws-row { display: grid; grid-template-columns: 116px 1fr 44px; align-items: center; gap: 14px; font-size: 13.5px; }
.ws-name { font-weight: 700; color: var(--text-2); }
.ws-bar { height: 8px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; }
.ws-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.ws-bar i.is-amber { background: linear-gradient(90deg, #D98A1E, var(--accent)); }
.ws-val { text-align: right; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.panel-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px dashed var(--line); }
.metric { background: var(--bg); border-radius: var(--radius-sm); padding: 12px 14px; }
.metric b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.metric > span { font-size: 11.5px; color: var(--muted); font-weight: 600; }

.golive-stamp {
  position: absolute; z-index: 4; right: -54px; bottom: 120px; width: 74px; height: 84px;
  clip-path: var(--hex-clip); background: var(--grad); color: #fff;
  display: grid; place-items: center; text-align: center; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; line-height: 1.2;
  transform: scale(0) rotate(-30deg); transition: transform .6s cubic-bezier(.3, 1.6, .5, 1) .2s;
}
.golive-stamp svg { width: 22px; height: 22px; margin: 0 auto 2px; }
.is-live .golive-stamp { transform: scale(1) rotate(0); }

.float-card {
  position: absolute; z-index: 3; background: var(--navy-2); color: #fff; border-radius: var(--radius);
  padding: 14px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
  font-size: 13px; animation: float 6s ease-in-out infinite; border: 1px solid rgba(255,255,255,.08);
}
.float-card b { display: block; font-size: 14px; }
.float-card span { color: rgba(255, 255, 255, .65); }
.float-card .fc-icon { width: 36px; height: 40px; clip-path: var(--hex-clip); background: rgba(19, 181, 177, .2); display: grid; place-items: center; color: var(--brand-2); flex: none; }
.float-card .fc-icon svg { width: 17px; height: 17px; }
.float-card--a { left: -36px; bottom: -54px; }
.float-card--b { right: -26px; top: -70px; background: var(--accent); color: #0A1B2E; animation-delay: -3s; border: 0; }
.float-card--b span { color: rgba(10, 27, 46, .7); }
.float-card--b .fc-icon { background: rgba(10, 27, 46, .12); color: #0A1B2E; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- Platforms strip ---------- */
.platforms { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: 26px 0; }
.platforms-inner { display: flex; align-items: center; gap: 40px; }
.platforms-label { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.marquee { position: relative; overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; font-family: var(--font-display); font-size: 22px; color: var(--text-2); opacity: .75; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 8px; height: 9px; background: var(--brand-2); clip-path: var(--hex-clip); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Hex icon badge ---------- */
.icon {
  position: relative; width: 52px; height: 58px; display: grid; place-items: center; flex: none;
  clip-path: var(--hex-clip); background: var(--brand-soft); color: var(--brand); margin-bottom: 8px;
  transition: background .35s ease, color .35s ease, transform .5s cubic-bezier(.2,.8,.2,1);
}
.icon svg { width: 24px; height: 24px; }
.icon--amber { background: var(--accent-soft); color: var(--accent-text); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; isolation: isolate;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .35s ease;
}
.card::after {
  content: ""; position: absolute; width: 180px; height: 200px; right: -70px; bottom: -80px; z-index: -1;
  background: var(--grad); clip-path: var(--hex-clip); opacity: 0; transform: rotate(0deg) scale(.6);
  transition: opacity .45s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card:hover::after { opacity: .08; transform: rotate(30deg) scale(1); }
.card:hover .icon { background: var(--grad); color: #fff; transform: rotate(-6deg); }
.card-num { position: absolute; top: 28px; right: 28px; font-family: var(--font-display); font-size: 15px; color: var(--muted); opacity: .6; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .link-arrow { margin-top: auto; padding-top: 8px; font-size: 14.5px; }

/* ---------- Capability tabs ---------- */
.tabs { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.tab-list { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 100px; }
.tab-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left;
  padding: 18px 20px; border-radius: var(--radius); border: 1px solid transparent; background: transparent;
  font-weight: 700; font-size: 16px; color: var(--muted); transition: all .2s ease;
}
.tab-btn small { font-weight: 600; font-size: 12px; color: var(--muted); opacity: .8; }
.tab-btn:hover { color: var(--text); background: var(--surface); }
.tab-btn[aria-selected="true"] { background: var(--surface); color: var(--text); border-color: var(--line); box-shadow: var(--shadow-sm); position: relative; }
.tab-btn[aria-selected="true"]::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--grad); }
.tab-btn[aria-selected="true"] small { color: var(--brand); }
.tab-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); animation: fadeUp .4s ease; }
.tab-panel[hidden] { display: none; }
.tab-panel .h2 { font-size: clamp(26px, 3vw, 36px); margin: 14px 0 16px; }
.tab-panel > p { color: var(--muted); max-width: 640px; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; margin-top: 30px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.feature-list li b { display: block; font-weight: 700; }
.feature-list li span { color: var(--muted); font-size: 14px; }
.check { width: 22px; height: 24px; clip-path: var(--hex-clip); background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; margin-top: 1px; }
.check svg { width: 12px; height: 12px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Dark band ---------- */
.section--dark { background: var(--navy); color: var(--on-navy-muted); overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--hex-on-dark); background-size: 56px 98px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.section--dark::after {
  content: ""; position: absolute; width: 620px; height: 620px; right: -220px; top: -260px; pointer-events: none;
  background: radial-gradient(circle, rgba(19, 181, 177, .22), transparent 65%);
}
.section--dark > .container { position: relative; z-index: 1; }
.section--dark .h2, .section--dark h3 { color: #fff; }
.section--dark .h2 em { background: linear-gradient(100deg, #F2A93B, #F7CB7A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--dark .lead { color: rgba(255, 255, 255, .65); }

/* ---------- Approach steps with scroll progress ---------- */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; --progress: 0; }
.steps-track, .steps-fill { position: absolute; top: 29px; left: 32px; right: 32px; height: 2px; border-radius: 2px; }
.steps-track { background: rgba(255, 255, 255, .1); }
.steps-fill { background: linear-gradient(90deg, var(--brand-2), var(--accent)); transform-origin: left; transform: scaleX(var(--progress)); transition: transform .15s linear; }
.step { position: relative; transition: opacity .4s ease; opacity: .45; }
.step.is-active { opacity: 1; }
.step-dot {
  position: relative; z-index: 1; width: 58px; height: 62px; display: grid; place-items: center;
  clip-path: var(--hex-clip); background: var(--navy-2); color: #fff;
  font-family: var(--font-display); font-size: 18px; margin-bottom: 22px; transition: background .4s ease, transform .4s cubic-bezier(.3,1.5,.5,1);
}
.step-dot::before { content: ""; position: absolute; inset: 0; clip-path: var(--hex-clip); background: rgba(255,255,255,.14); z-index: -1; }
.step.is-active .step-dot { background: var(--grad); transform: scale(1.06); }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14.5px; line-height: 1.6; }
.step-tag { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .04em; }

/* ---------- Why / stats ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.why-visual { position: relative; }
.why-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6, 26, 46, .65)); }
.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin: -70px 28px 0; box-shadow: var(--shadow); }
.stat { background: var(--surface); padding: 26px 24px; }
.stat-num { font-family: var(--font-display); font-size: clamp(38px, 4.4vw, 52px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.stat-num sup, .stat-num small { font-size: .5em; color: var(--brand); vertical-align: top; margin-left: 2px; position: relative; top: .25em; }
.stat p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.why-list { display: grid; gap: 26px; margin-top: 34px; }
.why-list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.why-list .icon { width: 48px; height: 54px; margin: 0; }
.why-list .icon svg { width: 22px; height: 22px; }
.why-list h3 { font-size: 17px; margin-bottom: 4px; }
.why-list p { color: var(--muted); font-size: 15px; }

/* ---------- Case study cards ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.case-card:hover .case-media img { transform: scale(1.06); }
.case-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6, 26, 46, .75)); }
.case-tag { position: absolute; z-index: 1; left: 18px; top: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: #0A1B2E; font-size: 12px; font-weight: 700; }
.case-metric { position: absolute; z-index: 1; left: 22px; bottom: 16px; color: #fff; }
.case-metric b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 1; letter-spacing: -0.02em; }
.case-metric span { font-size: 13px; font-weight: 600; opacity: .85; }
.case-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-body h3 { font-size: 19px; }
.case-body p { color: var(--muted); font-size: 15px; }
.case-body .link-arrow { margin-top: auto; padding-top: 6px; font-size: 14.5px; }

/* ---------- Testimonials ---------- */
.quotes { position: relative; max-width: 920px; margin: 0 auto; text-align: center; }
.quote-slides { display: grid; }
.quote-slide { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.quote-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote-slide blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 2.8vw, 34px); line-height: 1.35; color: var(--text); letter-spacing: -0.01em; }
.quote-slide blockquote em { font-style: italic; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote-by { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; text-align: left; }
.quote-avatar { width: 46px; height: 52px; clip-path: var(--hex-clip); background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.quote-by b { display: block; font-size: 15px; }
.quote-by > span:last-child span { font-size: 14px; color: var(--muted); }
.quote-mark { width: 54px; height: 60px; margin: 0 auto 28px; clip-path: var(--hex-clip); background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-family: var(--font-display); font-size: 46px; line-height: 1; padding-top: 18px; }
.quote-dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.quote-dots button { width: 30px; height: 6px; border-radius: 6px; border: 0; background: var(--line); padding: 0; transition: background-color .3s ease, width .3s ease; }
.quote-dots button[aria-current="true"] { width: 46px; background: var(--grad); }
.sample-note { margin-top: 18px; font-size: 12px; color: var(--muted); text-align: center; opacity: .8; }

/* ---------- Readiness band ---------- */
.ready-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(36px, 5vw, 64px);
  background: var(--surface); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.ready-band::before { content: ""; position: absolute; inset: 0; background-image: var(--hex); background-size: 56px 98px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.ready-band > * { position: relative; }
.ready-band .h2 { margin: 16px 0 16px; }
.ready-band p { color: var(--muted); max-width: 540px; }
.ready-band .btn { margin-top: 28px; }
.ready-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.ready-meta span { display: inline-flex; align-items: center; gap: 8px; }
.ready-meta span::before { content: ""; width: 8px; height: 9px; background: var(--brand-2); clip-path: var(--hex-clip); }
.mini-gauge { justify-self: center; width: min(260px, 100%); }
.mini-gauge svg { width: 100%; height: auto; overflow: visible; }
.mini-gauge .g-track { stroke: var(--bg-alt); }
.mini-gauge .g-val { stroke-dasharray: 0 1000; transition: stroke-dasharray 1.8s cubic-bezier(.2,.8,.2,1); }
.mini-gauge.is-visible .g-val { stroke-dasharray: var(--dash) 1000; }
.mini-gauge text { fill: var(--text); font-family: var(--font-display); }
.mini-gauge .g-label { fill: var(--muted); font-family: var(--font-body); font-weight: 700; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.industry { position: relative; padding: 34px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .25s ease; overflow: hidden; }
.industry::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.industry:hover { background: var(--surface); }
.industry:hover::after { transform: scaleX(1); }
.industry-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.industry-top svg { width: 30px; height: 30px; color: var(--brand); }
.industry-top span { font-family: var(--font-display); color: var(--muted); font-size: 14px; }
.industry h3 { font-size: 19px; margin-bottom: 8px; }
.industry p { color: var(--muted); font-size: 14.5px; }

/* ---------- Engagement models ---------- */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model { border-radius: var(--radius-lg); padding: 34px 30px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.model:hover { transform: translateY(-4px); }
.model--featured { background: var(--grad); color: rgba(255, 255, 255, .82); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(11, 90, 143, .8); }
.model--featured h3 { color: #fff; }
.model-label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.model--featured .model-label { color: #FFD48A; }
.model h3 { font-family: var(--font-display); font-weight: 500; font-size: 28px; margin-bottom: 12px; }
.model > p { font-size: 15px; color: var(--muted); }
.model--featured > p { color: rgba(255, 255, 255, .82); }
.model ul { display: grid; gap: 10px; margin: 24px 0 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.model--featured ul { border-top-color: rgba(255, 255, 255, .22); }
.model li { display: flex; gap: 10px; font-size: 14.5px; font-weight: 600; }
.model li::before { content: ""; width: 8px; height: 9px; margin-top: 7px; clip-path: var(--hex-clip); background: var(--brand-2); flex: none; }
.model--featured li::before { background: var(--accent); }
.model .btn { margin-top: auto; align-self: flex-start; }
.model--featured .btn--ghost { border-color: #fff; color: #fff; }

/* ---------- Insights ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-media { aspect-ratio: 16 / 9; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; gap: 14px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.post-meta .cat { color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.post-body h3 { font-size: 19px; line-height: 1.3; }
.post-body p { color: var(--muted); font-size: 15px; }
.post-body .link-arrow { margin-top: auto; padding-top: 6px; font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--grad); color: #fff;
  padding: clamp(44px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
}
.cta::before { content: ""; position: absolute; inset: 0; background-image: var(--hex-on-dark); background-size: 56px 98px; -webkit-mask-image: linear-gradient(270deg, #000, transparent 70%); mask-image: linear-gradient(270deg, #000, transparent 70%); }
.cta::after { content: ""; position: absolute; right: -60px; bottom: -110px; width: 320px; height: 360px; clip-path: var(--hex-clip); background: rgba(255, 255, 255, .08); animation: spin 60s linear infinite; }
.cta > * { position: relative; z-index: 1; }
.cta .h2 { color: #fff; }
.cta .h2 em { background: none; color: #FFD48A; -webkit-background-clip: initial; background-clip: initial; }
.cta p { margin-top: 16px; color: rgba(255, 255, 255, .82); max-width: 560px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .display { font-size: clamp(38px, 5.4vw, 64px); margin: 20px 0 22px; max-width: 900px; }
.page-hero .lead { max-width: 680px; }
.breadcrumb { font-size: 13.5px; color: var(--muted); font-weight: 600; margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 8px; opacity: .5; }
.page-hero-mark { position: absolute; right: -40px; top: 50%; width: 400px; height: 400px; object-fit: contain; opacity: .08; pointer-events: none; transform: translateY(-50%); animation: drift 14s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translateY(-50%) rotate(0); } 50% { transform: translateY(-53%) rotate(-4deg); } }
.is-dark .page-hero-mark { opacity: .12; }

/* ---------- Services detail ---------- */
.svc-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.svc-nav a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; transition: all .2s ease; }
.svc-nav a:hover { border-color: var(--brand); color: var(--brand); }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; padding: clamp(56px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.svc:last-child { border-bottom: 0; }
.svc-index { font-family: var(--font-display); font-size: 15px; color: var(--muted); margin-bottom: 14px; display: block; }
.svc h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -0.015em; margin-bottom: 18px; }
.svc-body p { color: var(--muted); margin-bottom: 16px; }
.svc-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.svc-box h3 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); margin-bottom: 18px; }
.svc-box ul { display: grid; gap: 12px; }
.svc-box li { display: flex; gap: 12px; font-size: 15px; }
.svc-box + .svc-box { margin-top: 16px; }
.svc-box--tint { background: var(--brand-soft); border-color: transparent; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.int-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.int-item { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .25s ease, background-color .25s ease, transform .3s ease; }
.int-item:hover { border-color: rgba(19, 181, 177, .55); background: rgba(255, 255, 255, .06); transform: translateY(-3px); }
.int-badge { width: 48px; height: 54px; clip-path: var(--hex-clip); display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 12.5px; }
.int-item h3 { font-size: 17px; margin-bottom: 6px; }
.int-item p { font-size: 14.5px; color: rgba(255, 255, 255, .62); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 24px 0; background: none; border: 0; font-weight: 700; font-size: 18px; color: var(--text); }
.faq-q .plus { position: relative; width: 32px; height: 36px; clip-path: var(--hex-clip); background: var(--bg-alt); flex: none; transition: all .25s ease; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--text); transform: translate(-50%, -50%); transition: transform .25s ease, background-color .25s ease; }
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .plus { background: var(--grad); }
.faq-q[aria-expanded="true"] .plus::before { background: #fff; }
.faq-q[aria-expanded="true"] .plus::after { background: #fff; transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--muted); padding-bottom: 24px; max-width: 760px; }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.prose p { color: var(--muted); margin-bottom: 18px; font-size: 16.5px; }
.prose p:first-child { color: var(--text); font-size: 19px; font-family: var(--font-display); line-height: 1.55; }
.photo-stack { position: relative; }
.photo-stack .ph-main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.photo-stack .ph-main img, .photo-stack .ph-small img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack .ph-small { position: absolute; width: 46%; aspect-ratio: 1; left: -28px; bottom: -48px; clip-path: var(--hex-clip); border: 0; box-shadow: var(--shadow-lg); }
.quote-card { background: var(--navy-2); color: #fff; border-radius: var(--radius-lg); padding: 36px; position: relative; margin-top: 34px; border: 1px solid rgba(255,255,255,.06); }
.quote-card blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(21px, 2.2vw, 26px); line-height: 1.35; }
.quote-card blockquote em { color: var(--accent); }
.quote-card footer { margin-top: 20px; color: rgba(255, 255, 255, .6); font-size: 14px; font-weight: 600; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 30px 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .35s ease, box-shadow .35s ease; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value .icon { margin-bottom: 20px; }
.value h3 { font-size: 18px; margin-bottom: 8px; }
.value p { font-size: 14.5px; color: var(--muted); }
.team-model { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); }
.team-role { background: var(--navy); padding: 32px 26px; transition: background-color .3s ease; }
.team-role:hover { background: var(--navy-2); }
.team-role b { display: block; font-family: var(--font-display); font-weight: 500; color: var(--accent); font-size: 32px; margin-bottom: 14px; }
.team-role h3 { font-size: 17px; margin-bottom: 8px; }
.team-role p { font-size: 14.5px; color: rgba(255, 255, 255, .62); }
.timezones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.tz { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.tz-time { font-family: var(--font-display); font-size: 34px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tz h3 { font-size: 16px; margin-top: 4px; }
.tz p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.wide-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 8; margin-top: clamp(40px, 5vw, 64px); position: relative; }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }
.wide-photo figcaption { position: absolute; left: 24px; bottom: 20px; padding: 8px 14px; border-radius: 999px; background: rgba(6, 26, 46, .7); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }

/* ---------- Case studies page ---------- */
.case { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.case:last-child { border-bottom: 0; }
.case:nth-child(even) .case-photo { order: 2; }
.case-photo { position: sticky; top: 100px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.case-photo img { width: 100%; height: 100%; object-fit: cover; }
.case-photo .case-tag { left: 20px; top: 20px; }
.case-content h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.015em; margin: 14px 0 14px; }
.case-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.case-block { margin-top: 24px; }
.case-block h3 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); margin-bottom: 10px; }
.case-block p { color: var(--muted); }
.case-block ul { display: grid; gap: 10px; }
.case-block li { display: flex; gap: 12px; color: var(--text-2); font-size: 15px; }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.case-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.case-stat b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 1; letter-spacing: -0.02em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.case-quote { margin-top: 26px; padding: 20px 22px; border-left: 3px solid var(--brand-2); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-display); font-size: 18px; line-height: 1.5; color: var(--text); }
.case-quote footer { margin-top: 10px; font-family: var(--font-body); font-size: 13.5px; color: var(--muted); font-weight: 600; }

/* ---------- Article (insights) ---------- */
.featured-post { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); margin-bottom: 28px; transition: box-shadow .35s ease; }
.featured-post:hover { box-shadow: var(--shadow); }
.featured-post .post-media { aspect-ratio: auto; min-height: 320px; }
.featured-post .post-body { padding: clamp(28px, 4vw, 48px); justify-content: center; }
.featured-post h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3vw, 34px); }
.article { max-width: 760px; margin: 0 auto; padding: clamp(56px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.article:last-child { border-bottom: 0; }
.article h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 3.8vw, 44px); letter-spacing: -0.015em; margin: 14px 0 18px; }
.article .post-meta { margin-bottom: 26px; }
.article figure { margin: 0 0 30px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; }
.article figure img { width: 100%; height: 100%; object-fit: cover; }
.article p { color: var(--text-2); font-size: 17px; line-height: 1.8; margin-bottom: 18px; }
.article h3 { font-size: 20px; margin: 30px 0 12px; }
.article ol { padding-left: 22px; margin: 0 0 18px; color: var(--text-2); font-size: 17px; line-height: 1.8; }
.article ol li { margin-bottom: 8px; padding-left: 6px; }
.article ol li::marker { color: var(--brand); font-weight: 800; }
.callout { margin: 26px 0; padding: 22px 24px; border-radius: var(--radius); background: var(--brand-soft); color: var(--text); font-weight: 600; display: flex; gap: 14px; }
.callout::before { content: ""; width: 14px; height: 16px; flex: none; margin-top: 4px; clip-path: var(--hex-clip); background: var(--grad); }

/* ---------- Readiness check ---------- */
.quiz-wrap { max-width: 860px; margin: 0 auto; }
.quiz { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); padding: clamp(26px, 4vw, 48px); position: relative; overflow: hidden; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.quiz-area { color: var(--brand); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.quiz-progress { height: 6px; border-radius: 6px; background: var(--bg-alt); overflow: hidden; margin-bottom: 34px; }
.quiz-progress i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.q { animation: fadeUp .45s ease; }
.q[hidden] { display: none; }
.q h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.01em; margin-bottom: 26px; }
.q-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q-option {
  display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px 18px; border-radius: var(--radius);
  border: 1.5px solid var(--line); background: var(--surface-2); font-weight: 600; font-size: 15.5px; color: var(--text);
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.q-option:hover { border-color: var(--brand); transform: translateY(-2px); }
.q-option .q-key { width: 30px; height: 34px; clip-path: var(--hex-clip); background: var(--bg-alt); display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--muted); flex: none; transition: background .2s ease, color .2s ease; }
.q-option[aria-pressed="true"] { border-color: var(--brand-2); background: var(--brand-soft); }
.q-option[aria-pressed="true"] .q-key { background: var(--grad); color: #fff; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; gap: 12px; }
.quiz-nav .btn[disabled] { opacity: .4; pointer-events: none; }
.btn-text { background: none; border: 0; font-weight: 700; color: var(--muted); padding: 10px 4px; display: inline-flex; align-items: center; gap: 8px; }
.btn-text:hover { color: var(--text); }
.btn-text svg { width: 16px; height: 16px; }

.result[hidden] { display: none; }
.result { animation: fadeUp .5s ease; }
.result-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.gauge { width: 210px; position: relative; }
.gauge svg { width: 100%; height: auto; transform: rotate(-90deg); }
.gauge .g-track { stroke: var(--bg-alt); }
.gauge .g-val { transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1); }
.gauge-num { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.gauge-num b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 56px; line-height: 1; letter-spacing: -0.03em; }
.gauge-num span { font-size: 13px; color: var(--muted); font-weight: 700; }
.result-band { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.result h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3.2vw, 38px); margin: 14px 0 12px; }
.result-head p { color: var(--muted); }
.area-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin: 36px 0 10px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.area-bar { display: grid; gap: 7px; font-size: 14px; font-weight: 700; }
.area-bar div { display: flex; justify-content: space-between; }
.area-bar div span { color: var(--muted); font-variant-numeric: tabular-nums; }
.area-bar i { display: block; height: 7px; border-radius: 7px; background: var(--bg-alt); overflow: hidden; }
.area-bar i::after { content: ""; display: block; height: 100%; width: var(--w, 0%); background: var(--grad); border-radius: inherit; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.area-bar.is-low i::after { background: linear-gradient(90deg, #D98A1E, var(--accent)); }
.recs-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); margin: 30px 0 16px; }
.recs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rec { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); display: grid; gap: 8px; }
.rec h3 { font-size: 16.5px; }
.rec p { color: var(--muted); font-size: 14.5px; }
.rec .link-arrow { font-size: 14px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; align-items: center; }
.quiz-aside { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.quiz-aside div { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.quiz-aside b { display: block; color: var(--text); font-size: 15px; }
.quiz-aside .check { margin-top: 2px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-card { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); align-items: center; }
.info-card .icon { width: 48px; height: 54px; margin: 0; }
.info-card .icon svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 15px; margin-bottom: 2px; }
.info-card p, .info-card a { font-size: 15px; color: var(--muted); }
.info-card a:hover { color: var(--brand); }
.next-steps { margin-top: 12px; padding: 28px; border-radius: var(--radius); background: var(--navy-2); color: rgba(255, 255, 255, .75); }
.next-steps h3 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.next-steps ol { margin: 0; padding: 0; list-style: none; counter-reset: ns; display: grid; gap: 14px; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 14.5px; }
.next-steps li::before { content: counter(ns); width: 28px; height: 31px; clip-path: var(--hex-clip); background: var(--grad); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card h2 { font-family: var(--font-display); font-weight: 500; font-size: 30px; margin-bottom: 6px; }
.form-intro p { color: var(--muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 13.5px; font-weight: 700; color: var(--text-2); }
.field label .req { color: #E05A2B; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text); padding: 13px 15px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--input-bg); transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(19, 181, 177, .18); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #E05A2B; }
.field-error { font-size: 12.5px; color: #E05A2B; font-weight: 600; display: none; }
.field.is-invalid .field-error { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s ease; background: var(--input-bg); }
.chip input:checked + span { background: var(--grad); color: #fff; border-color: transparent; }
.chip input:focus-visible + span { outline: 3px solid var(--brand-2); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 320px; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success .icon { margin: 0 auto 20px; width: 64px; height: 72px; background: var(--grad); color: #fff; }
.form-success .icon svg { width: 30px; height: 30px; }
.form-success h2 { margin-bottom: 10px; }
.form-success p { color: var(--muted); }
.form-card.is-sent form, .form-card.is-sent > .form-intro { display: none; }
.form-card.is-sent .form-success { display: block; }
.score-note { display: none; margin-bottom: 22px; padding: 14px 16px; border-radius: var(--radius); background: var(--brand-soft); font-size: 14.5px; font-weight: 600; }
.score-note.is-shown { display: block; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy); color: rgba(255, 255, 255, .62); padding: 80px 0 32px; margin-top: var(--section-y); overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background-image: var(--hex-on-dark); background-size: 56px 98px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 55%); mask-image: linear-gradient(200deg, #000, transparent 55%); pointer-events: none; }
.site-footer > .container { position: relative; }
.site-footer--flush { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name span { background: linear-gradient(100deg, #4FB6F0, #2FD4C8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-about p { margin-top: 20px; font-size: 15px; max-width: 340px; }
.footer-col h3 { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 15px; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none;
  gap: 10px; padding: 10px; border-radius: 18px; background: var(--header-bg); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-lg);
  transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.mobile-cta.is-shown { transform: none; }
.mobile-cta .btn { flex: 1; padding: 13px 14px; font-size: 14px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .rotator > span:not(.is-active) { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .nav-toggle { display: inline-grid; }
  .nav-menu {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px var(--gutter) 24px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s ease;
  }
  .nav-menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-links a::after { display: none; }
  .nav-menu .btn { margin-top: 20px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps-track, .steps-fill { display: none; }
  .values, .team-model { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .hero-grid, .why-grid, .split, .contact-grid, .svc, .case, .featured-post, .ready-band { grid-template-columns: 1fr; }
  .case:nth-child(even) .case-photo { order: 0; }
  .case-photo { position: relative; top: 0; }
  .panel-wrap { max-width: 560px; margin: 0 auto; width: 100%; }
  .float-card--a { left: -8px; }
  .float-card--b { right: -8px; }
  .golive-stamp { display: none; }
  .float-card--b { top: -26px; }
  .section-head--split { grid-template-columns: 1fr; gap: 0; }
  .cards, .industries, .models, .cases, .posts { grid-template-columns: repeat(2, 1fr); }
  .tabs { grid-template-columns: 1fr; }
  .tab-list { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-btn { white-space: nowrap; padding: 12px 18px; }
  .tab-btn small { display: none; }
  .tab-btn[aria-selected="true"]::before { display: none; }
  .cta { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .int-grid { grid-template-columns: 1fr; }
  .platforms-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .marquee { width: 100%; }
  .mini-gauge { width: 200px; }
  .photo-stack { margin-bottom: 40px; }
  .photo-stack .ph-small { left: auto; right: -8px; }
}

@media (max-width: 760px) {
  .mobile-cta { display: flex; }
  body.has-mobile-cta { padding-bottom: 80px; }
  .q-options, .area-bars, .recs, .quiz-aside { grid-template-columns: 1fr; }
  .result-head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

@media (max-width: 640px) {
  .cards, .industries, .models, .values, .team-model, .timezones, .feature-list, .form-grid, .cases, .posts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; padding-left: 0; }
  .stats { grid-template-columns: 1fr 1fr; margin: -50px 12px 0; }
  .stat { padding: 20px 16px; }
  .case-stats { grid-template-columns: 1fr 1fr; }
  .ws-row { grid-template-columns: 92px 1fr 40px; gap: 10px; font-size: 13px; }
  .panel { padding: 20px; }
  .panel-metrics { gap: 8px; }
  .metric { padding: 10px; }
  .metric b { font-size: 17px; }
  .float-card { position: relative; inset: auto; margin-top: 14px; animation: none; }
  .float-card--b { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .faq-q { font-size: 16.5px; }
  .wide-photo { aspect-ratio: 4 / 3; }
  .rotator > span { white-space: normal; }
}
