/* ==========================================================================
   GigaPort — design system
   Palette drawn from the GigaPort decks: deep navy, amber, electric blue, teal
   ========================================================================== */

:root {
  --navy-950: #070d1a;
  --navy-900: #0b1426;
  --navy-800: #111d36;
  --navy-700: #1a2a4a;
  --navy-600: #253a63;
  --ink: #0b1426;
  --ink-soft: #46546e;
  --cream: #f7f4ee;
  --paper: #ffffff;
  --line: #e6e2d9;
  --line-dark: rgba(255, 255, 255, 0.1);

  --amber: #f5a524;
  --amber-600: #e08a0b;
  --amber-100: #fff3dc;
  --blue: #3b82f6;
  --blue-600: #2563eb;
  --blue-100: #e3edff;
  --teal: #14b8a6;
  --teal-600: #0d9488;
  --teal-100: #d9f7f2;
  --violet: #8b5cf6;
  --violet-100: #efe8ff;
  --rose: #f43f5e;
  --rose-100: #ffe4e8;

  --grad-brand: linear-gradient(135deg, #f5a524 0%, #f97316 45%, #ef4444 100%);
  --grad-cool: linear-gradient(135deg, #3b82f6 0%, #14b8a6 100%);
  --grad-text: linear-gradient(90deg, #fbbf24 0%, #f97316 50%, #fb7185 100%);
  --grad-night: radial-gradient(1200px 600px at 80% -10%, rgba(59,130,246,.35), transparent 60%),
                radial-gradient(900px 500px at -10% 110%, rgba(245,165,36,.25), transparent 60%),
                linear-gradient(180deg, #0b1426 0%, #070d1a 100%);

  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11,20,38,.06), 0 2px 8px rgba(11,20,38,.06);
  --shadow-md: 0 4px 12px rgba(11,20,38,.08), 0 16px 40px rgba(11,20,38,.10);
  --shadow-lg: 0 24px 80px rgba(11,20,38,.18);
  --glow-amber: 0 10px 40px rgba(245,165,36,.35);

  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --ease: cubic-bezier(.2,.8,.2,1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.025em; margin: 0; font-weight: 700; }
p { margin: 0 0 1em; } p:last-child { margin-bottom: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--amber); color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--amber); color: var(--navy-900); padding: .75rem 1.25rem; border-radius: var(--r-pill); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--white { background: var(--paper); }
.section--dark { background: var(--grad-night); color: #e8edf7; }
.section--navy { background: var(--navy-900); color: #e8edf7; }
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--top { align-items: start; }
.split > *, .grid > * { min-width: 0; }
@media (max-width: 960px) { .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem .4rem .7rem;
  border-radius: var(--r-pill); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: var(--amber-100); color: #9a5b00;
}
.eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(245,165,36,.25); }
.section--dark .eyebrow, .section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta .eyebrow { background: rgba(245,165,36,.12); color: #fbbf24; border: 1px solid rgba(245,165,36,.25); }
.eyebrow--blue { background: var(--blue-100); color: var(--blue-600); }
.eyebrow--blue::before { box-shadow: 0 0 0 4px rgba(59,130,246,.2); }
.eyebrow--teal { background: var(--teal-100); color: var(--teal-600); }
.eyebrow--teal::before { box-shadow: 0 0 0 4px rgba(20,184,166,.2); }

.h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); letter-spacing: -0.035em; line-height: 1.04; font-weight: 800; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.h4 { font-size: 1.15rem; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); }
.section--dark .lead, .section--navy .lead, .hero .lead, .page-hero .lead, .cta .lead { color: #aab6cc; }
.muted { color: var(--ink-soft); }
.section--dark .muted, .section--navy .muted, .cta .muted { color: #95a3bb; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-cool { background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--font-mono); }
.small { font-size: .9rem; }
.tiny { font-size: .8rem; }
.center { text-align: center; }
.measure { max-width: 42rem; }
.section-head { max-width: 50rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1rem; justify-items: start; }
.section-head.center { margin-inline: auto; justify-items: center; text-align: center; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease); padding-block: .9rem; }
.site-header.is-scrolled, .site-header.is-open { background: rgba(7,13,26,.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); padding-block: .55rem; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; min-height: 44px; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--grad-brand); display: grid; place-items: center; box-shadow: var(--glow-amber); color: #1a0e00; }
.brand-mark svg { width: 20px; height: 20px; }
.brand b { color: var(--amber); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: .15rem; }
.nav-links a { color: #c9d3e6; text-decoration: none; font-size: .92rem; font-weight: 500; padding: .55rem .85rem; border-radius: var(--r-pill); transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); }
.nav-links a.btn { color: #1a0e00; margin-left: .6rem; padding: .6rem 1.2rem; min-height: 42px; }
.nav-links a.btn:hover { background: var(--grad-brand); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; place-items: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s var(--ease), background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.is-open .menu-toggle span { background: transparent; }
.is-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.is-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1080px) {
  .menu-toggle { display: grid; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: .25rem;
    padding: 1rem var(--gutter) 1.5rem; background: rgba(7,13,26,.97); border-bottom: 1px solid rgba(255,255,255,.08); }
  .is-open .nav-links { display: flex; }
  .nav-links a { padding: .9rem 1rem; font-size: 1rem; border-radius: 12px; }
  .nav-links a.btn { margin: .5rem 0 0; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .85rem 1.5rem; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; border: 0; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s; }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--grad-brand); color: #1a0e00; box-shadow: var(--glow-amber); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px rgba(245,165,36,.45); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,.15); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy-900); border: 1px solid var(--line); }
.btn--light:hover { border-color: var(--navy-900); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--blue-600); text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.section--dark .text-link, .section--navy .text-link { color: #fbbf24; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; padding: 8rem 0 5rem; background: var(--navy-950); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: kenburns 24s ease-in-out infinite alternate; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,13,26,.96) 0%, rgba(7,13,26,.82) 42%, rgba(7,13,26,.3) 100%),
              linear-gradient(0deg, rgba(7,13,26,1) 0%, rgba(7,13,26,0) 35%); }
@keyframes kenburns { from { transform: scale(1.06) translate(0,0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.hero .container { position: relative; z-index: 2; }
.hero-title { font-size: clamp(3rem, 8.5vw, 6.75rem); font-weight: 800; letter-spacing: -0.045em; line-height: .98; margin-top: 1.5rem; }
.hero-title .line { display: block; }
.hero .lead { max-width: 38rem; margin-top: 1.5rem; }
.hero .btn-row { margin-top: 2.25rem; }
.hero-meta { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; max-width: 56rem; }
.glass { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: var(--r-md); }
.hero-meta .glass { padding: 1.1rem 1.25rem; }
.hero-meta strong { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.1; }
.hero-meta span { font-size: .85rem; color: #aab6cc; }
@media (max-width: 760px) { .hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.scroll-cue { position: absolute; left: 50%; bottom: 1.75rem; transform: translateX(-50%); z-index: 2; color: #95a3bb; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; display: grid; justify-items: center; gap: .5rem; }
.scroll-cue i { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.3); border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--amber); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-height: 820px), (max-width: 760px) { .scroll-cue { display: none; } }

/* Inner page hero */
.page-hero { position: relative; color: #fff; padding: clamp(8rem, 14vw, 11rem) 0 clamp(4rem, 8vw, 6rem); background: var(--grad-night); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,13,26,.96) 0%, rgba(7,13,26,.8) 55%, rgba(7,13,26,.45) 100%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .h1 { margin-top: 1.25rem; max-width: 18ch; }
.page-hero .lead { margin-top: 1.25rem; max-width: 40rem; }
.breadcrumb { display: flex; gap: .5rem; font-size: .85rem; color: #95a3bb; margin-bottom: 1.25rem; }
.breadcrumb a { text-decoration: none; } .breadcrumb a:hover { color: #fff; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.orb--amber { background: #f59e0b; width: 320px; height: 320px; right: 8%; top: 18%; opacity: .22; }
.orb--blue { background: #3b82f6; width: 420px; height: 420px; right: -120px; bottom: -180px; opacity: .3; }
.grid-lines { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); }
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.hero-chips span { padding: .45rem .9rem; border-radius: var(--r-pill); font-size: .85rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #dbe3f1; }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, background .3s; position: relative; }
.card--lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.section--dark .card, .section--navy .card, .cta .card { background: rgba(255,255,255,.04); border-color: var(--line-dark); box-shadow: none; }
.section--dark .card--lift:hover, .section--navy .card--lift:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--ink-soft); }
.section--dark .card p, .section--navy .card p { color: #9fadc4; }
.card--feature { background: linear-gradient(160deg, #1a2a4a, #0b1426); color: #fff; border: 0; }
.card--feature p { color: #aab6cc; }
a.card { text-decoration: none; display: block; }

.icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.25rem; }
.icon svg { width: 26px; height: 26px; }
.icon--amber { background: var(--amber-100); color: var(--amber-600); }
.icon--blue { background: var(--blue-100); color: var(--blue-600); }
.icon--teal { background: var(--teal-100); color: var(--teal-600); }
.icon--violet { background: var(--violet-100); color: var(--violet); }
.icon--rose { background: var(--rose-100); color: var(--rose); }
.section--dark .icon--amber, .section--navy .icon--amber, .card--feature .icon--amber { background: rgba(245,165,36,.14); color: #fbbf24; }
.section--dark .icon--blue, .section--navy .icon--blue { background: rgba(59,130,246,.16); color: #7fb0ff; }
.section--dark .icon--teal, .section--navy .icon--teal { background: rgba(20,184,166,.16); color: #5eead4; }
.section--dark .icon--violet, .section--navy .icon--violet { background: rgba(139,92,246,.18); color: #c4b5fd; }
.section--dark .icon--rose, .section--navy .icon--rose { background: rgba(244,63,94,.16); color: #fda4af; }

/* Mode cards (coloured top) */
.mode { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.mode-top { padding: 1.75rem 2rem 1.5rem; color: #fff; position: relative; overflow: hidden; }
.mode-top::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.12); }
.mode-top::before { content: ""; position: absolute; right: 30px; top: 60px; width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,.08); }
.mode-num { font-family: var(--font-mono); font-size: .8rem; opacity: .9; }
.mode-top h3 { margin-top: .75rem; font-size: 1.55rem; position: relative; }
.mode-body { padding: 1.5rem 2rem 2rem; flex: 1; }
.mode--blue .mode-top { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.mode--teal .mode-top { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.mode--amber .mode-top { background: linear-gradient(135deg, #ea580c, #f5a524); }

/* Check list */
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; padding: .45rem 0; align-items: start; }
.checks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: .15rem;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat; }
.section--dark .checks li::before, .section--navy .checks li::before, .card--feature .checks li::before { background-color: rgba(20,184,166,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* ---------- Stats ---------- */
.stat-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.stat { padding: 1.75rem; border-radius: var(--r-lg); position: relative; overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); }
.stat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-brand); }
.stat:nth-child(3n+2)::before { background: var(--grad-cool); }
.stat:nth-child(3n)::before { background: linear-gradient(90deg, #8b5cf6, #ec4899); }
.stat-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; }
.stat-value small { font-size: .45em; font-weight: 700; letter-spacing: -0.01em; margin-left: .1em; color: #95a3bb; }
.stat-label { margin-top: .6rem; font-size: .95rem; color: #9fadc4; }
.stat--light { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.stat--light .stat-label, .stat--light .stat-value small { color: var(--ink-soft); }
.stat-band--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .stat-band, .stat-band--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .stat-band, .stat-band--4 { grid-template-columns: 1fr; } }

/* ---------- Problem / outcome ---------- */
.metric { display: flex; gap: 1rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px dashed #d9d3c5; }
.metric:last-child { border-bottom: 0; }
.metric b { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -0.03em; min-width: 8rem; flex: none; }
.panel { border-radius: var(--r-xl); padding: clamp(1.75rem, 4vw, 2.5rem); }
.panel h3 { margin-bottom: .5rem; }
.panel--teal { background: linear-gradient(160deg, #e7fbf7, #ffffff 70%); border: 1px solid #c8efe7; }
.panel--teal .metric b { color: var(--teal-600); }
.panel--rose { background: linear-gradient(160deg, #fff0f2, #ffffff 70%); border: 1px solid #ffd3da; }
.panel--rose .metric b { color: #e11d48; }
@media (max-width: 480px) { .metric { flex-direction: column; gap: .15rem; } }

.outcome { border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.5rem); background: var(--navy-900); color: #fff; display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.outcome::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 50%, rgba(20,184,166,.3), transparent 70%), radial-gradient(500px 300px at 10% 50%, rgba(244,63,94,.2), transparent 70%); }
.outcome > * { position: relative; }
.outcome .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.045em; line-height: 1; }
.outcome .from { color: #fda4af; text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: rgba(253,164,175,.6); }
.outcome .to { background: linear-gradient(90deg, #5eead4, #93c5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.outcome .arrow { width: 64px; height: 64px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; color: #1a0e00; box-shadow: var(--glow-amber); }
.outcome .arrow svg { width: 28px; height: 28px; }
@media (max-width: 760px) { .outcome { grid-template-columns: 1fr; } .outcome .arrow { transform: rotate(90deg); } }

/* ---------- Image frames ---------- */
.frame { border-radius: var(--r-xl); overflow: hidden; position: relative; box-shadow: var(--shadow-lg); background: var(--navy-800); margin: 0; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.frame:hover img { transform: scale(1.04); }
.frame-caption { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; padding: .6rem .9rem; border-radius: 12px; font-size: .8rem; color: #e8edf7;
  background: rgba(7,13,26,.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.photo-stack { position: relative; aspect-ratio: 1 / 1.02; }
.photo-stack .frame { position: absolute; }
.photo-stack .frame:nth-child(1) { inset: 0 18% 24% 0; }
.photo-stack .frame:nth-child(2) { inset: 42% 0 0 34%; border: 6px solid var(--cream); }
.section--white .photo-stack .frame:nth-child(2) { border-color: #fff; }
.badge-float { position: absolute; z-index: 3; left: -1rem; bottom: 6%; padding: 1rem 1.25rem; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-md); display: flex; gap: .85rem; align-items: center; animation: float 6s ease-in-out infinite; }
.badge-float .icon { margin: 0; width: 44px; height: 44px; }
.badge-float b { font-family: var(--font-display); font-size: 1.35rem; display: block; line-height: 1.1; }
.badge-float span { font-size: .8rem; color: var(--ink-soft); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 600px) { .badge-float { left: .5rem; } }

.zoomable { cursor: zoom-in; }
.figure-card { background: #fff; border-radius: var(--r-xl); padding: clamp(.75rem, 2vw, 1.25rem); border: 1px solid var(--line); box-shadow: var(--shadow-md); margin: 0; }
.figure-card img { border-radius: var(--r-lg); width: 100%; }
.figure-card figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem .5rem .25rem; font-size: .85rem; color: var(--ink-soft); flex-wrap: wrap; align-items: center; }
.zoom-btn { background: var(--blue-100); border: 0; color: var(--blue-600); font-weight: 600; cursor: pointer; font: inherit; font-size: .85rem; padding: .45rem .9rem; border-radius: var(--r-pill); display: inline-flex; gap: .4rem; align-items: center; min-height: 36px; }
.zoom-btn:hover { background: #d3e2ff; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 110px; gap: 1rem; }
.gallery .frame { box-shadow: var(--shadow-md); border-radius: var(--r-lg); }
.gallery .frame:nth-child(1) { grid-column: span 5; grid-row: span 4; }
.gallery .frame:nth-child(2) { grid-column: span 7; grid-row: span 2; }
.gallery .frame:nth-child(3) { grid-column: span 4; grid-row: span 2; }
.gallery .frame:nth-child(4) { grid-column: span 3; grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; } .gallery .frame:nth-child(n) { grid-column: span 1; grid-row: span 1; } .gallery .frame:nth-child(1) { grid-column: span 2; grid-row: span 2; } }

/* ---------- Journey (stages) ---------- */
.journey { display: grid; grid-template-columns: 330px 1fr; gap: 2rem; align-items: start; }
.stage-list { display: grid; gap: .45rem; position: sticky; top: 100px; }
.stage-tab { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: center; width: 100%; text-align: left; cursor: pointer;
  padding: .65rem 1rem .65rem .65rem; border-radius: var(--r-md); border: 1px solid transparent; background: transparent; color: #c9d3e6; font: inherit; font-weight: 600; transition: background .2s, border-color .2s, color .2s; }
.stage-tab .n { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); font-family: var(--font-mono); font-size: .85rem; transition: background .2s, color .2s; }
.stage-tab small { display: block; font-weight: 400; font-size: .8rem; color: #8392ab; }
.stage-tab:hover { background: rgba(255,255,255,.04); color: #fff; }
.stage-tab[aria-selected="true"] { background: rgba(255,255,255,.07); border-color: rgba(245,165,36,.4); color: #fff; }
.stage-tab[aria-selected="true"] .n { background: var(--grad-brand); color: #1a0e00; }
.stage-panel { display: grid; grid-template-columns: 1.05fr 1fr; border-radius: var(--r-xl); overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); min-height: 540px; }
.stage-panel[hidden] { display: none; }
.stage-panel .frame { border-radius: 0; box-shadow: none; min-height: 320px; }
.stage-body { padding: clamp(1.75rem, 3.5vw, 2.75rem); display: flex; flex-direction: column; justify-content: center; animation: fadeUp .45s var(--ease); }
.stage-body .tag { font-family: var(--font-mono); font-size: .8rem; color: #fbbf24; }
.stage-body h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: .75rem 0 1rem; }
.stage-body p { color: #aab6cc; }
.stage-body .checks { margin-top: 1.25rem; color: #dbe3f1; }
.stage-nav { display: flex; gap: .6rem; margin-top: 2rem; }
.stage-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.stage-nav button:hover { background: rgba(255,255,255,.1); }
.stage-nav svg { width: 18px; height: 18px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 1000px) { .journey { grid-template-columns: 1fr; } .stage-list { position: static; grid-template-columns: repeat(2, 1fr); } .stage-panel { grid-template-columns: 1fr; min-height: 0; } .stage-panel .frame { aspect-ratio: 16 / 10; min-height: 0; } }
@media (max-width: 520px) { .stage-tab { grid-template-columns: 34px 1fr; gap: .6rem; padding: .55rem; font-size: .88rem; } .stage-tab .n { width: 34px; height: 34px; font-size: .75rem; } .stage-tab small { display: none; } }

/* Steps (home) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.step { position: relative; padding: 1.5rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; overflow: hidden; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step .n { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.04em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step:nth-child(4n+2) .n { background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; }
.step:nth-child(4n+3) .n { background: linear-gradient(90deg, #8b5cf6, #ec4899); -webkit-background-clip: text; background-clip: text; }
.step:nth-child(4n+4) .n { background: linear-gradient(90deg, #14b8a6, #84cc16); -webkit-background-clip: text; background-clip: text; }
.step h4 { margin: .75rem 0 .35rem; }
.step p { font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Loop (support) */
.loop { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; position: relative; }
.loop li { position: relative; padding: 1.4rem; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); }
.loop li .icon { margin-bottom: 1rem; }
.loop h4 { color: #fff; margin-bottom: .35rem; }
.loop p { font-size: .9rem; color: #9fadc4; }
.loop li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 38px; width: 12px; height: 12px; border-top: 2px solid #fbbf24; border-right: 2px solid #fbbf24; transform: rotate(45deg); z-index: 2; }
@media (max-width: 1000px) { .loop { grid-template-columns: 1fr 1fr; } .loop li::after { display: none; } }
@media (max-width: 520px) { .loop { grid-template-columns: 1fr; } }

/* ---------- Bars ---------- */
.bars { display: grid; gap: 1rem; }
.bar-row { display: grid; grid-template-columns: minmax(10rem, 15rem) 1fr 5.5rem; gap: 1rem; align-items: center; font-size: .95rem; }
.bar-track { display: block; height: 12px; border-radius: var(--r-pill); background: #ece7dc; overflow: hidden; }
.section--dark .bar-track, .section--navy .bar-track { background: rgba(255,255,255,.08); }
.bar-fill { display: block; height: 100%; border-radius: inherit; background: var(--grad-brand); width: 0; transition: width 1.2s var(--ease); }
.is-visible .bar-fill { width: var(--w); }
.bar-row:nth-child(4n+2) .bar-fill { background: var(--grad-cool); }
.bar-row:nth-child(4n+3) .bar-fill { background: linear-gradient(90deg, #8b5cf6, #ec4899); }
.bar-row:nth-child(4n+4) .bar-fill { background: linear-gradient(90deg, #14b8a6, #84cc16); }
.bar-val { font-family: var(--font-mono); font-size: .85rem; text-align: right; }
@media (max-width: 600px) { .bar-row { grid-template-columns: 1fr auto; } .bar-track { grid-column: 1 / -1; grid-row: 2; } }

/* Stacked bar */
.stackbar { display: flex; height: 64px; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.stackbar > div { display: flex; align-items: center; padding: 0 1rem; color: #fff; font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; }
.legend { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 1rem; font-size: .9rem; }
.legend span { display: inline-flex; align-items: center; gap: .5rem; }
.legend i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.c-amber { background: #f5a524; } .c-orange { background: #f97316; } .c-blue { background: #3b82f6; } .c-teal { background: #14b8a6; } .c-violet { background: #8b5cf6; } .c-navy { background: #1a2a4a; } .c-rose { background: #f43f5e; } .c-slate { background: #94a3b8; } .c-lime { background: #84cc16; } .c-pink { background: #ec4899; }

/* Donut */
.donut-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; align-items: center; }
.donut { width: 220px; height: 220px; border-radius: 50%; position: relative; }
.donut::after { content: ""; position: absolute; inset: 30px; border-radius: 50%; background: var(--paper); }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; z-index: 1; }
.donut-center b { font-family: var(--font-display); font-size: 2.1rem; letter-spacing: -0.04em; display: block; line-height: 1; }
.donut-center span { font-size: .8rem; color: var(--ink-soft); }
.donut-legend li { display: grid; grid-template-columns: 14px 1fr auto; gap: .75rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid #f0ece3; font-size: .95rem; }
.donut-legend li:last-child { border-bottom: 0; }
.donut-legend i { width: 14px; height: 14px; border-radius: 4px; }
.donut-legend b { font-family: var(--font-mono); font-size: .85rem; }
@media (max-width: 600px) { .donut-wrap { grid-template-columns: 1fr; justify-items: center; } .donut-legend { width: 100%; } }

/* ---------- Tables ---------- */
.table-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: .95rem 1.25rem; border-bottom: 1px solid #f0ece3; vertical-align: top; }
thead th { background: var(--navy-900); color: #e8edf7; font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; border: 0; white-space: nowrap; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: #fbf8f1; }
tbody th { font-weight: 600; }
td.num, th.num { text-align: right; font-family: var(--font-mono); font-size: .88rem; white-space: nowrap; }
tfoot td { background: var(--amber-100); font-weight: 700; border: 0; }
.pill { display: inline-block; padding: .2rem .65rem; border-radius: var(--r-pill); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.pill--green { background: var(--teal-100); color: var(--teal-600); }
.pill--amber { background: var(--amber-100); color: #9a5b00; }
.pill--blue { background: var(--blue-100); color: var(--blue-600); }
.pill--violet { background: var(--violet-100); color: #6d28d9; }
.pill--rose { background: var(--rose-100); color: #be123c; }
.table-note { padding: 1rem 1.25rem; font-size: .85rem; color: var(--ink-soft); background: #fcfaf6; }

/* ---------- Gantt ---------- */
.gantt { display: grid; gap: .9rem; }
.g-row { display: grid; grid-template-columns: minmax(12rem, 17rem) 1fr; gap: 1.5rem; align-items: center; }
.g-row h4 { color: #fff; font-size: 1rem; }
.g-row p { font-size: .82rem; color: #8392ab; margin-top: .15rem; }
.g-track { position: relative; height: 44px; border-radius: 12px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px calc(100% / 5)), rgba(255,255,255,.03); }
.g-bar { position: absolute; top: 6px; bottom: 6px; border-radius: 9px; display: flex; align-items: center; padding: 0 .75rem; font-family: var(--font-mono); font-size: .78rem; color: #fff; white-space: nowrap; width: 0; transition: width 1.1s var(--ease); overflow: hidden; }
.is-visible .g-bar { width: var(--w); }
.g-scale { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .75rem; color: #8392ab; }
@media (max-width: 700px) { .g-row { grid-template-columns: 1fr; gap: .5rem; } }

/* ---------- Plan grid (campus) ---------- */
.plan { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; padding: 1.1rem; border-radius: var(--r-xl); background: #ece6d8; box-shadow: inset 0 0 0 10px #ddd5c3, var(--shadow-md); }
.plan > div { min-height: 112px; border-radius: 14px; padding: .85rem; display: flex; align-items: flex-end; color: #fff; font-weight: 600; font-size: .92rem; line-height: 1.25; transition: transform .25s var(--ease), box-shadow .25s; }
.plan > div:hover { transform: translateY(-3px) scale(1.03); box-shadow: var(--shadow-md); }
.p-navy { background: linear-gradient(160deg, #22355c, #142140); } .p-blue { background: linear-gradient(160deg, #3b82f6, #2563c8); } .p-slate { background: linear-gradient(160deg, #5b6880, #434f66); } .p-sand { background: #d4cbb5; color: var(--ink) !important; } .p-amber { background: linear-gradient(160deg, #fbbf24, #f59e0b); color: var(--ink) !important; } .p-brown { background: linear-gradient(160deg, #a3661a, #7c4a0c); }
@media (max-width: 600px) { .plan { grid-template-columns: repeat(2, 1fr); } .plan > div { min-height: 84px; font-size: .85rem; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: #b8c3d6; white-space: nowrap; display: inline-flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; }
.marquee-track span::after { content: "✦"; color: var(--amber); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Quote ---------- */
.quote { position: relative; border-radius: var(--r-xl); padding: clamp(2.25rem, 5vw, 4rem); background: linear-gradient(135deg, #fff7e8, #ffeede 50%, #ffe6ea); overflow: hidden; margin: 0; }
.quote::before { content: "\201C"; position: absolute; top: -.02em; left: .12em; font-family: Georgia, serif; font-size: 10rem; line-height: 1; color: rgba(245,165,36,.28); }
.quote blockquote { margin: 0; position: relative; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 3vw, 2.1rem); line-height: 1.35; letter-spacing: -0.02em; max-width: 54rem; }
.quote figcaption { margin-top: 1.5rem; font-weight: 600; color: #9a5b00; position: relative; }

/* ---------- Numbered requests ---------- */
.req-list { display: grid; gap: 1rem; }
.req { display: grid; grid-template-columns: 64px 1fr; gap: 1.25rem; padding: 1.5rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.req:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.req .n { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: #fff; background: var(--grad-brand); }
.req:nth-child(3n+2) .n { background: var(--grad-cool); }
.req:nth-child(3n) .n { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.req h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.req p { color: var(--ink-soft); font-size: .97rem; }
@media (max-width: 520px) { .req { grid-template-columns: 1fr; } }

/* 90-day plan */
.plan90 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; position: relative; }
.plan90::before { content: ""; position: absolute; left: 22px; right: 0; top: 34px; height: 3px; background: linear-gradient(90deg, #f5a524, #3b82f6, #14b8a6, #8b5cf6); border-radius: 3px; opacity: .7; }
.p90 { position: relative; padding-top: 4.5rem; }
.p90 .dot { position: absolute; top: 12px; left: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--navy-900); border: 3px solid var(--amber); display: grid; place-items: center; font-family: var(--font-mono); font-size: .75rem; color: #fff; }
.p90:nth-child(2) .dot { border-color: var(--blue); } .p90:nth-child(3) .dot { border-color: var(--teal); } .p90:nth-child(4) .dot { border-color: var(--violet); }
.p90 h3 { font-size: 1.5rem; color: #fff; }
.p90 .card { margin-top: 1rem; padding: 1.25rem; }
.p90 .card p { font-size: .9rem; }
.p90 .card p + p { margin-top: .6rem; }
.p90 .card strong { color: #fff; }
.p90 .out { margin-top: .9rem; font-size: .82rem; color: #fbbf24; font-weight: 600; }
@media (max-width: 960px) { .plan90 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan90::before { display: none; } }
@media (max-width: 560px) { .plan90 { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.person { display: flex; gap: 1.25rem; align-items: flex-start; }
.avatar { width: 64px; height: 64px; border-radius: 20px; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: #1a0e00; background: var(--grad-brand); }
.person.alt .avatar { background: var(--grad-cool); color: #fff; }
.person h3 { color: #fff; }
.person a { color: #fbbf24; text-decoration: none; overflow-wrap: anywhere; }
.person a:hover { text-decoration: underline; }

/* ---------- CTA ---------- */
.cta { position: relative; border-radius: var(--r-xl); padding: clamp(2.5rem, 6vw, 5rem); overflow: hidden; color: #fff; background: var(--navy-900); }
.cta-bg { position: absolute; inset: 0; } .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(11,20,38,.97) 35%, rgba(11,20,38,.55)), radial-gradient(600px 300px at 90% 100%, rgba(245,165,36,.35), transparent 70%); }
.cta > :not(.cta-bg) { position: relative; z-index: 1; }

/* Next page link */
.next-link { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: clamp(2rem, 4vw, 3rem); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: box-shadow .3s, transform .3s var(--ease); }
.next-link:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.next-link .h2 { margin-top: .75rem; }
.next-link .circle { width: 72px; height: 72px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--grad-brand); color: #1a0e00; transition: transform .3s var(--ease); }
.next-link .circle svg { width: 28px; height: 28px; }
.next-link:hover .circle { transform: rotate(-45deg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9fadc4; padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #f5a524, #f97316, #3b82f6, #14b8a6); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer-grid li { margin-bottom: .45rem; }
.footer-grid a { text-decoration: none; } .footer-grid a:hover { color: #fbbf24; }
.footer-tag { margin-top: 1rem; max-width: 22rem; font-size: .95rem; }
.footer-big { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.05em; font-size: clamp(4rem, 17vw, 14rem); line-height: .9; margin: 3rem 0 1.5rem; text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-base { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(7,13,26,.9); backdrop-filter: blur(6px); }
.lightbox img { max-height: 84vh; max-width: 100%; width: auto; border-radius: var(--r-md); background: #fff; margin: auto; }
.lightbox-close { position: fixed; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--navy-900); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox-cap { color: #cbd5e1; text-align: center; margin-top: .75rem; font-size: .9rem; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s !important; } .reveal-d2 { transition-delay: .16s !important; } .reveal-d3 { transition-delay: .24s !important; } .reveal-d4 { transition-delay: .32s !important; }
.no-js .bar-fill, .no-js .g-bar { width: var(--w); }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: .75rem; } .mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2.5rem; } .mt-4 { margin-top: 4rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.note { font-size: .82rem; color: var(--ink-soft); font-style: italic; }
.section--dark .note, .section--navy .note { color: #8392ab; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .bar-fill, .g-bar { width: var(--w); }
}
@media print { .site-header, .scroll-cue, .next-link { display: none; } .js .reveal { opacity: 1; transform: none; } }

/* ---------- Column chart (financials) ---------- */
.colchart { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(.75rem, 2vw, 1.5rem); align-items: end; height: 300px; padding: 0 .5rem; border-bottom: 2px solid #e6e2d9; background: repeating-linear-gradient(0deg, transparent 0 59px, #efeae0 59px 60px); }
.colchart .col { display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 100%; position: relative; }
.colchart .b { width: min(34px, 40%); border-radius: 8px 8px 0 0; height: 0; transition: height 1.2s var(--ease); position: relative; }
.is-visible .colchart .b, .colchart.is-visible .b { height: var(--h); }
.colchart .b--rev { background: linear-gradient(180deg, #f5a524, #f97316); }
.colchart .b--ebitda { background: linear-gradient(180deg, #14b8a6, #3b82f6); }
.colchart .b span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: .72rem; padding-bottom: 4px; white-space: nowrap; color: var(--ink-soft); }
.colchart-x { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(.75rem, 2vw, 1.5rem); padding: .6rem .5rem 0; text-align: center; font-family: var(--font-mono); font-size: .8rem; color: var(--ink-soft); }
@media (max-width: 520px) { .colchart .b span { display: none; } }
.no-js .colchart .b { height: var(--h); }
@media (prefers-reduced-motion: reduce) { .colchart .b { height: var(--h); } }

.card p.stat-value { color: inherit; }

/* ==========================================================================
   Website components: service rows, FAQ, contact form, industries, leaders
   ========================================================================== */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem); }
.service-row + .service-row { border-top: 1px solid var(--line); }
.service-row:nth-child(even) > .service-media { order: 2; }
.service-media .frame { aspect-ratio: 4 / 3; }
.service-media .frame.contain { background: #e9e4d8; }
.service-media .frame.contain img { object-fit: contain; }
.service-num { font-family: var(--font-mono); font-size: .8rem; color: var(--amber-600); font-weight: 500; letter-spacing: .08em; }
.service-row h2 { margin: .5rem 0 1rem; }
.service-row .checks { margin-top: 1.25rem; }
@media (max-width: 900px) { .service-row { grid-template-columns: 1fr; } .service-row:nth-child(even) > .service-media { order: 0; } }

.toc { display: flex; flex-wrap: wrap; gap: .6rem; }
.toc a { padding: .55rem 1rem; border-radius: var(--r-pill); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #dbe3f1; text-decoration: none; font-size: .9rem; transition: background .2s, border-color .2s; }
.toc a:hover { background: rgba(245,165,36,.15); border-color: rgba(245,165,36,.45); color: #fff; }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 1.4rem; transition: box-shadow .25s, border-color .25s; }
.faq details[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--amber-100); color: var(--amber-600); font-size: 1.3rem; font-weight: 500; transition: transform .25s var(--ease), background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--grad-brand); color: #1a0e00; }
.faq details p { padding-bottom: 1.25rem; color: var(--ink-soft); }

/* Contact form */
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fbfaf7; border: 1.5px solid var(--line); border-radius: 12px; padding: .8rem 1rem; min-height: 50px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(59,130,246,.15); }
.form-note { font-size: .85rem; color: var(--ink-soft); }
.form-status { font-size: .9rem; font-weight: 600; color: var(--teal-600); min-height: 1.4em; }

.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 0; border-bottom: 1px solid var(--line-dark); }
.contact-card:last-child { border-bottom: 0; }
.contact-card .icon { margin: 0; flex: none; }
.contact-card a { color: #fbbf24; text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { text-decoration: underline; }
.contact-card h3 { color: #fff; font-size: 1rem; margin-bottom: .2rem; }
.contact-card p { color: #aab6cc; font-size: .95rem; }

/* Industry cards */
.industry { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; }
.industry .icon { margin: 0; width: 64px; height: 64px; border-radius: 18px; }
.industry .icon svg { width: 30px; height: 30px; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
@media (max-width: 520px) { .industry { grid-template-columns: 1fr; } }

/* Leaders */
.leader { display: flex; gap: 1.1rem; align-items: center; }
.leader .avatar { width: 72px; height: 72px; font-size: 1.4rem; }
.leader.alt .avatar { background: var(--grad-cool); color: #fff; }

/* Benefit tiles */
.benefit { padding: 1.75rem; border-radius: var(--r-lg); color: #fff; position: relative; overflow: hidden; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .3s var(--ease), box-shadow .3s; }
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.benefit::after { content: ""; position: absolute; right: -50px; top: -50px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.12); }
.benefit .icon { background: rgba(255,255,255,.18); color: #fff; position: absolute; top: 1.5rem; left: 1.5rem; margin: 0; }
.benefit h3 { font-size: 1.2rem; margin-bottom: .4rem; position: relative; }
.benefit p { font-size: .92rem; opacity: .9; position: relative; }
.b-1 { background: linear-gradient(140deg, #ea580c, #f5a524); }
.b-2 { background: linear-gradient(140deg, #1d4ed8, #3b82f6); }
.b-3 { background: linear-gradient(140deg, #0f766e, #14b8a6); }
.b-4 { background: linear-gradient(140deg, #6d28d9, #8b5cf6); }
.b-5 { background: linear-gradient(140deg, #be123c, #f43f5e); }
.b-6 { background: linear-gradient(140deg, #1a2a4a, #2f4a7a); }
.launch-badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; color: #5eead4; }
.launch-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2dd4bf; box-shadow: 0 0 0 0 rgba(45,212,191,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(45,212,191,.6); } 70% { box-shadow: 0 0 0 10px rgba(45,212,191,0); } 100% { box-shadow: 0 0 0 0 rgba(45,212,191,0); } }

@media (max-width: 900px) { #contact-grid { grid-template-columns: 1fr !important; } }
.text-link { white-space: nowrap; }
.text-link svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.card:hover .text-link svg, .text-link:hover svg { transform: translateX(3px); }
.nav-links a.btn[aria-current="page"] { background: var(--grad-brand); color: #1a0e00; }
