@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   NORTH STAR VENTURES — Design System
   Navy #0B1D3A · Polaris Gold #D4A843 · Ivory #FBFAF8
   ============================================================ */

:root {
  --navy: #0b1d3a;
  --navy-700: #14294b;
  --navy-500: #2c4468;
  --slate: #5b6b82;
  --slate-light: #8b97a8;
  --gold: #d4a843;
  --gold-deep: #b98f2e;
  --gold-soft: rgba(212, 168, 67, 0.12);
  --ivory: #fbfaf8;
  --ivory-2: #f5f3ee;
  --white: #ffffff;
  --line: rgba(11, 29, 58, 0.09);
  --line-soft: rgba(11, 29, 58, 0.055);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow-sm: 0 1px 2px rgba(11, 29, 58, 0.04);
  --shadow-md: 0 12px 32px -12px rgba(11, 29, 58, 0.12);
  --shadow-lg: 0 32px 64px -24px rgba(11, 29, 58, 0.22);
  --nav-h: 74px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--ivory);
  color: var(--slate);
  overflow-x: hidden;
}

body.is-loading { overflow: hidden; height: 100vh; }

::selection { background: var(--gold); color: var(--navy); }

/* ---------- utility ---------- */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }

.serif { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; letter-spacing: -0.01em; }
.italic-gold { font-style: italic; color: var(--gold-deep); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.h1 { font-size: clamp(2.75rem, 7.5vw, 5.6rem); line-height: 0.98; color: var(--navy); }
.h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.04; color: var(--navy); }
.h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.25; color: var(--navy); font-weight: 600; }
.lede { font-size: clamp(15px, 1.25vw, 17.5px); line-height: 1.65; color: var(--slate); font-weight: 400; max-width: 40rem; }
.small { font-size: 13px; line-height: 1.6; color: var(--slate-light); font-weight: 500; }

.section { padding: clamp(72px, 11vw, 148px) 0; position: relative; }
.section-head { max-width: 46rem; }
.section-head .h2 { margin: 18px 0 0; }
.section-head .lede { margin-top: 20px; }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--navy);
  display: grid;
  place-items: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pre-inner { text-align: center; }
.pre-star {
  width: 34px; height: 34px; margin: 0 auto 22px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  animation: spinPulse 1.6s var(--ease-io) infinite;
}
@keyframes spinPulse {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 1; }
  50% { transform: rotate(180deg) scale(0.72); opacity: 0.55; }
}
.pre-label {
  font-size: 10.5px; letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); font-weight: 600;
}
.pre-count {
  font-family: 'Instrument Serif', serif;
  font-size: 40px; color: #fff; margin-top: 10px; letter-spacing: -0.02em;
}
.pre-bar { width: 168px; height: 1px; background: rgba(255,255,255,0.16); margin: 20px auto 0; overflow: hidden; }
.pre-bar i { display: block; height: 100%; width: 0%; background: var(--gold); transition: width 0.2s linear; }

/* ============================================================
   CURSOR
   ============================================================ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 190;
  pointer-events: none; border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
}
.cursor-dot { width: 5px; height: 5px; background: var(--navy); }
.cursor-ring {
  width: 34px; height: 34px; border: 1px solid rgba(11,29,58,0.28);
  transition: width 0.32s var(--ease), height 0.32s var(--ease), background 0.32s var(--ease), border-color 0.32s var(--ease);
}
.cursor-ring.grow {
  width: 62px; height: 62px;
  background: var(--gold-soft);
  border-color: var(--gold);
}
@media (hover: none), (max-width: 900px) { .cursor-dot, .cursor-ring { display: none; } }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
#progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  z-index: 120;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), backdrop-filter 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.stuck {
  background: rgba(251, 250, 248, 0.82);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom-color: var(--line-soft);
}
.nav-in {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--nav-h);
  transition: height 0.5s var(--ease);
}
.nav.stuck .nav-in { height: 64px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.star-mark {
  width: 20px; height: 20px; flex: none; background: var(--navy);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  transition: transform 0.8s var(--ease), background 0.4s;
}
.brand:hover .star-mark { transform: rotate(144deg) scale(1.14); background: var(--gold); }
.brand-txt { font-size: 15.5px; letter-spacing: -0.01em; color: var(--navy); font-weight: 600; }
.brand-txt span { font-weight: 400; color: var(--slate-light); }

.nav-links { display: none; align-items: center; gap: 34px; }
@media (min-width: 1000px) { .nav-links { display: flex; } }
.nav-link {
  position: relative; font-size: 13.5px; font-weight: 500; color: var(--slate);
  text-decoration: none; padding: 4px 0; transition: color 0.3s;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width 0.4s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.burger {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,0.6);
  cursor: pointer;
}
@media (min-width: 1000px) { .burger { display: none; } }
.burger span { display: block; width: 15px; height: 1.4px; background: var(--navy); transition: transform 0.4s var(--ease), opacity 0.3s; }
.burger span + span { margin-top: 4px; }
.burger.open span:nth-child(1) { transform: translateY(5.4px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-5.4px) rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--nav-h) 0 auto; z-index: 105;
  background: var(--ivory); border-bottom: 1px solid var(--line);
  padding: 20px 24px 28px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease);
}
.drawer.open { clip-path: inset(0 0 0 0); }
.drawer a {
  display: block; padding: 13px 0; font-family: 'Instrument Serif', serif;
  font-size: 24px; color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.drawer.open a { opacity: 1; transform: none; }
.drawer.open a:nth-child(1) { transition-delay: 0.08s; }
.drawer.open a:nth-child(2) { transition-delay: 0.14s; }
.drawer.open a:nth-child(3) { transition-delay: 0.2s; }
.drawer.open a:nth-child(4) { transition-delay: 0.26s; }
.drawer.open a:nth-child(5) { transition-delay: 0.32s; }
.drawer.open a:nth-child(6) { transition-delay: 0.38s; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 9px; border-radius: 999px; padding: 14px 26px;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  overflow: hidden; white-space: nowrap;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), color 0.4s, background 0.4s, border-color 0.4s;
  will-change: transform;
}
.btn > span { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 9px; }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(212,168,67,0.95), transparent 62%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.btn:hover::before { opacity: 1; }
/* navy buttons: cool platinum sheen, never gold */
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 22px -10px rgba(11,29,58,0.55); }
.btn-primary::before {
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(226,234,246,0.30), rgba(148,170,200,0.14) 42%, transparent 68%);
}
.btn-primary:hover { color: #fff; box-shadow: 0 16px 38px -14px rgba(11,29,58,0.5), inset 0 0 0 1px rgba(255,255,255,0.14); }
.btn-ghost { background: rgba(255,255,255,0.72); border-color: var(--line); color: var(--navy); }
.btn-ghost:hover { border-color: var(--gold); box-shadow: 0 14px 32px -16px rgba(11,29,58,0.28); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold::before { background: radial-gradient(circle at var(--mx,50%) var(--my,50%), #fff, transparent 65%); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light::before { background: radial-gradient(circle at var(--mx,50%) var(--my,50%), var(--gold), transparent 62%); }
.btn-arrow { transition: transform 0.5s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none;
}
.link-arrow i {
  display: block; width: 15px; height: 1px; background: var(--navy);
  transition: width 0.4s var(--ease), background 0.4s;
}
.link-arrow:hover i { width: 28px; background: var(--gold-deep); }

/* ============================================================
   REVEAL SYSTEM
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal].in { transform: none; }

[data-stagger] > * { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-stagger].in > * { opacity: 1; transform: none; }

/* word mask reveal */
.line-mask { display: block; overflow: hidden; }
.word {
  display: inline-block; will-change: transform;
  transform: translateY(105%) rotate(4deg); opacity: 0;
  transition: transform 1s var(--ease), opacity 1s var(--ease);
}
.in .word, .word.in { transform: none; opacity: 1; }

/* char shimmer for gold words */
/* high-contrast gold on light backgrounds — stays legible, shimmer only lifts, never washes out */
.shimmer {
  background: linear-gradient(100deg, #6b470d 0%, #8f6516 26%, #b8892a 50%, #8f6516 74%, #6b470d 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: #966b16;
  -webkit-text-fill-color: transparent;
  animation: shimmerMove 6s linear infinite;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .shimmer { -webkit-text-fill-color: #966b16; color: #966b16; background: none; }
}
@keyframes shimmerMove { 0% { background-position: 200% 0; } 100% { background-position: -80% 0; } }
.italic-gold { font-style: italic; color: #966b16; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px)); padding-bottom: clamp(56px, 8vw, 104px); overflow: hidden; }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.aurora {
  position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora-a { width: 46vw; height: 46vw; top: -14vw; right: -8vw; background: radial-gradient(circle, rgba(212,168,67,0.24), transparent 68%); }
.aurora-b { width: 40vw; height: 40vw; bottom: -18vw; left: -12vw; background: radial-gradient(circle, rgba(11,29,58,0.14), transparent 68%); animation-delay: -8s; }
@keyframes drift {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(3vw, 4vw, 0) scale(1.12); }
}
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 92% 76% at 50% 22%, #000 26%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 92% 76% at 50% 22%, #000 26%, transparent 100%);
}

.hero-grid { position: relative; display: grid; gap: clamp(44px, 6vw, 76px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1060px) { .hero-grid { grid-template-columns: 1.14fr 0.86fr; } }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 11px; border-radius: 999px;
  background: rgba(255,255,255,0.7); border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.dot-live { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); position: relative; }
.dot-live::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--gold); animation: ping 2.2s var(--ease-io) infinite;
}
@keyframes ping { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; }
.hero-meta div { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--slate); }
.tick { color: var(--gold-deep); font-weight: 700; }

/* hero panel */
.panel {
  position: relative; border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,0.94), rgba(255,255,255,0.7));
  backdrop-filter: blur(22px); box-shadow: var(--shadow-lg);
  padding: 24px; overflow: hidden;
  transform-style: preserve-3d;
}
.panel-glow {
  position: absolute; inset: -1px; border-radius: 20px; pointer-events: none;
  background: radial-gradient(600px circle at var(--px, 50%) var(--py, 0%), rgba(212,168,67,0.16), transparent 42%);
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.panel:hover .panel-glow { opacity: 1; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.panel-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-light); }
.chip { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-deep); border: 1px solid rgba(212,168,67,0.34); }

.row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-soft);
  background: rgba(251,250,248,0.72); margin-top: 11px;
  opacity: 0; transform: translateX(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), background 0.3s, border-color 0.3s;
}
.row.in { opacity: 1; transform: none; }
.row:hover { background: #fff; border-color: rgba(212,168,67,0.4); }
.row-t { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.row-s { font-size: 12px; color: var(--slate-light); margin-top: 3px; font-weight: 500; }
.row-v { font-size: 13.5px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }

.panel-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.metric-l { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-light); }
.metric-v { font-family: 'Instrument Serif', serif; font-size: 34px; color: var(--navy); margin-top: 4px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { position: relative; overflow: hidden; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: rgba(255,255,255,0.5); padding: 17px 0; }
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 110px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ivory), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--ivory), transparent); }
.marquee-track { display: flex; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 30px; padding: 0 15px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-light);
  white-space: nowrap;
}
.marquee-track span::after { content: '✦'; color: var(--gold); font-size: 9px; letter-spacing: 0; }

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: rgba(255,255,255,0.72); padding: 26px 22px; position: relative; transition: background 0.45s var(--ease); }
.stat::after { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold); transition: width 0.6s var(--ease); }
.stat:hover { background: #fff; }
.stat:hover::after { width: 100%; }
.stat b {
  display: block; font-family: 'Instrument Serif', serif;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem); color: var(--navy);
  letter-spacing: -0.02em; font-weight: 400; font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat > span { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 500; color: var(--slate); }
.stat b span { display: inline; margin: 0; font: inherit; color: inherit; }

/* ============================================================
   CARDS
   ============================================================ */
.grid-auto { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 296px), 1fr)); }

.card {
  position: relative; border-radius: 18px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.66); backdrop-filter: blur(16px);
  padding: 30px; overflow: hidden;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease), background 0.6s var(--ease);
  will-change: transform;
}
.card-spot {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--px,50%) var(--py,50%), rgba(212,168,67,0.15), transparent 45%);
  transition: opacity 0.5s var(--ease);
}
.card:hover { transform: translateY(-7px); background: #fff; border-color: rgba(212,168,67,0.4); box-shadow: var(--shadow-md); }
.card:hover .card-spot { opacity: 1; }
.card-num { font-family: 'Instrument Serif', serif; font-size: 15px; color: var(--gold); letter-spacing: 0.06em; }
.card .h3 { margin: 14px 0 0; }
.card p { margin: 13px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--slate); }
.card-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 13px; font-weight: 600; color: var(--navy); }

/* service card */
.svc { display: flex; flex-direction: column; }
.svc-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); flex: none;
  transition: transform 0.6s var(--ease), background 0.5s;
}
.card:hover .svc-icon { transform: rotate(-8deg) scale(1.06); background: var(--gold); color: var(--navy); }
.svc-name { font-family: 'Instrument Serif', serif; font-size: 27px; color: var(--navy); letter-spacing: -0.01em; margin-top: 20px; }
.svc-dom { font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-top: 8px; }
.svc-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 9px; }
.svc-list li { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--slate); }
.svc-list li::before { content: '→'; color: var(--gold-deep); font-weight: 700; flex: none; }

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.timeline { position: relative; margin-top: 56px; }
.tl-rail { position: absolute; left: 19px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
@media (min-width: 900px) { .tl-rail { left: 50%; transform: translateX(-0.5px); } }
.tl-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0%; background: linear-gradient(180deg, var(--gold), var(--gold-deep)); transition: height 0.2s linear; }
.tl-item { position: relative; padding-left: 56px; padding-bottom: 40px; }
@media (min-width: 900px) {
  .tl-item { width: 50%; padding-left: 0; padding-bottom: 64px; }
  .tl-item:nth-child(odd) { padding-right: 56px; text-align: right; }
  .tl-item:nth-child(even) { margin-left: 50%; padding-left: 56px; }
}
.tl-dot {
  position: absolute; left: 12px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--line); display: grid; place-items: center;
  transition: border-color 0.5s, background 0.5s, transform 0.5s var(--ease);
}
.tl-dot::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background 0.5s; }
@media (min-width: 900px) {
  .tl-item:nth-child(odd) .tl-dot { left: auto; right: -8px; }
  .tl-item:nth-child(even) .tl-dot { left: -8px; }
}
.tl-item.lit .tl-dot { border-color: var(--gold); background: #fff; transform: scale(1.18); }
.tl-item.lit .tl-dot::after { background: var(--gold); }
.tl-step { font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }
.tl-item .h3 { margin: 10px 0 0; }
.tl-item p { margin: 11px 0 0; font-size: 14.5px; line-height: 1.62; color: var(--slate); }
.tl-out { display: inline-block; margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* ============================================================
   DARK BANDS
   ============================================================ */
.dark { position: relative; background: var(--navy); color: rgba(255,255,255,0.76); overflow: hidden; }
.dark .h2, .dark .metric-v { color: #fff; }
.dark .lede { color: rgba(255,255,255,0.7); }
.dark .eyebrow { color: var(--gold); }
.dark-mesh {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px circle at 12% 8%, rgba(212,168,67,0.17), transparent 55%),
    radial-gradient(620px circle at 92% 88%, rgba(78,124,200,0.16), transparent 58%);
}
.dark-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000, transparent 78%);
}

.guarantee { position: relative; border-radius: 20px; padding: clamp(28px, 4vw, 44px); overflow: hidden; }

/* ============================================================
   TABLE
   ============================================================ */
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-md); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th {
  padding: 15px 20px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--slate-light); background: var(--ivory-2); border-bottom: 1px solid var(--line); white-space: nowrap;
}
td { padding: 18px 20px; font-size: 13.5px; line-height: 1.55; color: var(--slate); border-bottom: 1px solid var(--line-soft); vertical-align: top; transition: background 0.35s; }
tbody tr { transition: background 0.35s; }
tbody tr:hover { background: rgba(212,168,67,0.045); }
tbody tr:hover td:first-child { color: var(--navy); }
td:first-child { font-weight: 600; color: var(--navy); }
tbody tr:last-child td { border-bottom: none; }

/* ============================================================
   PRICING
   ============================================================ */
.tiers { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 940px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { position: relative; display: flex; flex-direction: column; padding: 32px; }
.tier.feat { border-color: var(--navy); box-shadow: var(--shadow-lg); }
.tier.feat::before { content: ''; position: absolute; inset: 0; border-radius: 18px; border: 1px solid var(--gold); opacity: 0.55; pointer-events: none; }
.tier-badge { position: absolute; top: -1px; right: 22px; padding: 5px 12px 6px; border-radius: 0 0 8px 8px; background: var(--navy); color: var(--gold); font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.tier-name { font-family: 'Instrument Serif', serif; font-size: 25px; color: var(--navy); }
.tier-price { font-family: 'Instrument Serif', serif; font-size: clamp(2.1rem, 3.6vw, 2.9rem); color: var(--navy); margin-top: 16px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tier-sub { font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--slate-light); margin-top: 7px; }
.tier-desc { font-size: 14px; line-height: 1.6; color: var(--slate); margin-top: 18px; }
.tier-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; flex: 1; }
.tier-list li { display: flex; gap: 11px; font-size: 13.5px; line-height: 1.5; color: var(--slate); }
.tier-list li b { color: var(--navy); font-weight: 600; }
.tier-list li::before { content: '✦'; color: var(--gold); font-size: 10px; margin-top: 4px; flex: none; }
.tier .btn { margin-top: 28px; width: 100%; }

/* ============================================================
   FORM
   ============================================================ */
.form-card { border-radius: 20px; background: #fff; border: 1px solid rgba(255,255,255,0.2); padding: clamp(24px, 3.4vw, 38px); box-shadow: var(--shadow-lg); }
.fgrid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .fgrid { grid-template-columns: 1fr 1fr; } .span2 { grid-column: span 2; } }

.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 14.5px; color: var(--navy);
  background: transparent; border: none; border-bottom: 1px solid var(--line);
  padding: 20px 0 9px; outline: none; border-radius: 0;
  transition: border-color 0.4s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 62px; }
.field label {
  position: absolute; left: 0; top: 19px; font-size: 14px; color: var(--slate-light);
  pointer-events: none; transform-origin: left top;
  transition: transform 0.4s var(--ease), color 0.4s var(--ease);
}
.field input:focus + label, .field textarea:focus + label,
.field input.has + label, .field textarea.has + label,
.field select + label {
  transform: translateY(-19px) scale(0.76); color: var(--gold-deep); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.field::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold);
  transition: width 0.5s var(--ease);
}
.field:focus-within::after { width: 100%; }
.field.err input, .field.err textarea { border-bottom-color: #c0392b; }
.field select { color: var(--navy); cursor: pointer; background-image: none; }
.sel-arrow { position: absolute; right: 2px; bottom: 12px; color: var(--slate-light); pointer-events: none; }

.form-msg { margin-top: 16px; font-size: 13.5px; font-weight: 600; opacity: 0; transform: translateY(-6px); transition: all 0.4s var(--ease); }
.form-msg.show { opacity: 1; transform: none; }
.form-msg.ok { color: #1e7d52; }
.form-msg.bad { color: #c0392b; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 24px 0; background: none; border: none; cursor: pointer; text-align: left;
  font-family: 'Instrument Serif', serif; font-size: clamp(18px, 2.1vw, 22px); color: var(--navy);
  transition: color 0.35s;
}
.faq-q:hover { color: var(--gold-deep); }
.faq-ic { position: relative; flex: none; width: 22px; height: 22px; margin-top: 3px; }
.faq-ic::before, .faq-ic::after {
  content: ''; position: absolute; top: 50%; left: 50%; background: var(--navy);
  transform: translate(-50%, -50%); transition: transform 0.5s var(--ease), background 0.4s;
}
.faq-ic::before { width: 13px; height: 1.4px; }
.faq-ic::after { width: 1.4px; height: 13px; }
.faq-item.open .faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-ic::before, .faq-item.open .faq-ic::after { background: var(--gold-deep); }
.faq-a { overflow: hidden; height: 0; transition: height 0.55s var(--ease); }
.faq-a p { margin: 0 0 26px; max-width: 44rem; font-size: 14.5px; line-height: 1.72; color: var(--slate); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: rgba(255,255,255,0.62); position: relative; overflow: hidden; }
.footer-word {
  font-family: 'Instrument Serif', serif; font-size: clamp(3rem, 13vw, 11rem); line-height: 0.86;
  color: rgba(255,255,255,0.055); letter-spacing: -0.03em; white-space: nowrap; user-select: none;
  padding: 20px 0 0;
}
.footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s; }
.footer a:hover { color: var(--gold); }
.f-head { font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 14px; }

#toTop {
  position: fixed; right: 20px; bottom: 20px; z-index: 100;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); border: none; cursor: pointer;
  opacity: 0; transform: translateY(14px) scale(0.85); pointer-events: none;
  transition: all 0.5s var(--ease); box-shadow: var(--shadow-md);
}
#toTop.show { opacity: 1; transform: none; pointer-events: auto; }
#toTop:hover { background: var(--gold); color: var(--navy); }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal], [data-stagger] > *, .word, .row { opacity: 1 !important; transform: none !important; }
}

/* ---------- layout overrides for inline grids ---------- */
@media (min-width: 960px) {
  #contact-grid { grid-template-columns: 1fr 1.05fr !important; }
  #footer-grid { grid-template-columns: 1.2fr 1fr !important; }
}

/* ---------- offer lists inside pillar cards ---------- */
.offers { margin-top: 20px; display: grid; gap: 2px; }
.offer {
  padding: 13px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.07);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.offer:hover { background: rgba(255,255,255,0.085); border-color: rgba(212,168,67,0.42); transform: translateX(3px); }
.offer-n { margin: 0; font-size: 13.5px; font-weight: 600; color: #fff; }
.offer-o { margin: 5px 0 0; font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,0.55); }
.offer-p { margin: 8px 0 0; font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; color: var(--gold); font-variant-numeric: tabular-nums; }

/* gold italics stay bright on navy */
.dark .italic-gold, .dark .shimmer {
  color: var(--gold); -webkit-text-fill-color: currentColor; background: none; animation: none;
}

/* cursor inverts over dark bands */
.cursor-dot.on-dark, .cursor-ring.on-dark { mix-blend-mode: screen; }
.cursor-dot.on-dark { background: var(--gold); }
.cursor-ring.on-dark { border-color: rgba(212,168,67,0.5); }
.cursor-ring.on-dark.grow { background: rgba(212,168,67,0.14); border-color: var(--gold); }

/* ============================================================
   v5 — LEGIBILITY · LIQUID GLASS · MOTION
   Overrides everything above intentionally.
   ============================================================ */

:root {
  --gold-text: #8a5c10;        /* solid, always legible on light */
  --body-ink: #45566e;         /* high-contrast body text */
  --glass-blur: saturate(180%) blur(26px);
}

/* ------------------------------------------------------------
   1. GOLD TEXT — solid fill, no background-clip, always visible
   ------------------------------------------------------------ */
.italic-gold,
.shimmer,
.italic-gold.shimmer {
  font-style: italic;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: var(--gold-text) !important;
  color: var(--gold-text) !important;
  animation: none !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}
/* animated sheen that never affects legibility */
.shimmer { position: relative; }
.shimmer::after {
  content: '';
  position: absolute; inset: -2% -6%;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 240, 200, 0.72) 50%, transparent 62%);
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: sheen 5.5s var(--ease-io) infinite;
}
@keyframes sheen {
  0%, 62% { transform: translateX(-115%); }
  92%, 100% { transform: translateX(115%); }
}
.dark .italic-gold, .dark .shimmer {
  -webkit-text-fill-color: var(--gold) !important;
  color: var(--gold) !important;
  text-shadow: none;
}

/* ------------------------------------------------------------
   2. LIQUID GLASS (iOS 26)
   ------------------------------------------------------------ */
.glass {
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(11, 29, 58, 0.05),
    0 10px 30px -12px rgba(11, 29, 58, 0.18);
}
.glass::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 46%);
}

/* floating glass nav pill */
.nav { padding: 10px 0; transition: padding 0.6s var(--ease); }
.nav.stuck { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; padding: 8px 0; }
.nav-in {
  border-radius: 999px;
  padding: 0 10px 0 18px;
  height: 62px !important;
  background: rgba(251, 250, 248, 0.42);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  backdrop-filter: saturate(170%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 6px 20px -14px rgba(11,29,58,0.3);
  transition: background 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease), transform 0.6s var(--ease);
}
.nav.stuck .nav-in {
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(11,29,58,0.05),
    0 14px 34px -16px rgba(11,29,58,0.26);
}
.wrap.nav-in { max-width: 1240px; }

/* glass buttons */
.btn-ghost {
  background: rgba(255, 255, 255, 0.5) !important;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-color: rgba(255, 255, 255, 0.8) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 6px 18px -12px rgba(11,29,58,0.22);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.78) !important;
  border-color: rgba(212, 168, 67, 0.6) !important;
  box-shadow: inset 0 1px 0 #fff, 0 14px 30px -14px rgba(11,29,58,0.28);
}
.btn { border-radius: 999px; }
.btn-primary {
  background: linear-gradient(180deg, #16294a 0%, #08132a 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 10px 26px -12px rgba(8,19,42,0.6);
}
.dark .btn-ghost {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.28) !important;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}

/* burger goes glass */
.burger {
  background: rgba(255,255,255,0.5);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-color: rgba(255,255,255,0.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}
.drawer {
  background: rgba(251, 250, 248, 0.86);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-radius: 0 0 26px 26px;
}

/* cards become glass */
.card {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 26px -16px rgba(11,29,58,0.14);
}
.card:hover {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(212, 168, 67, 0.5);
  box-shadow: inset 0 1px 0 #fff, 0 26px 50px -22px rgba(11,29,58,0.24);
}

/* ------------------------------------------------------------
   3. BLUR-IN SCROLL REVEALS
   ------------------------------------------------------------ */
[data-reveal] { filter: blur(10px); transition: opacity 0.95s var(--ease), transform 0.95s var(--ease), filter 0.95s var(--ease); }
[data-reveal].in { filter: blur(0); }
[data-stagger] > * { filter: blur(9px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), filter 0.85s var(--ease); }
[data-stagger].in > * { filter: blur(0); }
.word { filter: blur(9px); transition: transform 1s var(--ease), opacity 1s var(--ease), filter 1s var(--ease); }
.in .word, .word.in { filter: blur(0); }

/* per-line blur text */
.bl-line { display: block; opacity: 0; filter: blur(14px); transform: translateY(24px); transition: all 1s var(--ease); }
.bl-line.in { opacity: 1; filter: blur(0); transform: none; }

/* ------------------------------------------------------------
   4. "WHAT WE BUILD" — light, high contrast, filterable grid
   ------------------------------------------------------------ */
#systems { background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-2) 55%, var(--ivory) 100%); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.filter-btn {
  border-radius: 999px; padding: 9px 18px; cursor: pointer;
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--navy);
  background: rgba(255,255,255,0.55);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 4px 14px -10px rgba(11,29,58,0.2);
  transition: all 0.45s var(--ease);
}
.filter-btn:hover { transform: translateY(-2px); border-color: rgba(212,168,67,0.6); }
.filter-btn.active {
  background: var(--navy); color: #fff; border-color: var(--navy);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 10px 24px -12px rgba(11,29,58,0.5);
}
.filter-btn i { font-style: normal; opacity: 0.55; margin-left: 6px; font-variant-numeric: tabular-nums; }

.build-grid {
  display: grid; gap: 18px; margin-top: 30px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 282px), 1fr));
}
.build {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 24px 22px; border-radius: 18px;
  background: rgba(255,255,255,0.62);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 24px -16px rgba(11,29,58,0.14);
  overflow: hidden;
  opacity: 0; transform: translateY(26px) scale(0.98); filter: blur(8px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease),
              box-shadow .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease);
}
.build.shown { opacity: 1; transform: none; filter: blur(0); }
.build:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.92);
  border-color: rgba(212,168,67,0.5);
  box-shadow: inset 0 1px 0 #fff, 0 28px 52px -24px rgba(11,29,58,0.26);
}
.build-cat {
  align-self: flex-start; font-size: 9.5px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
  color: var(--gold-text); background: rgba(212,168,67,0.16);
  border: 1px solid rgba(212,168,67,0.34);
}
.build-n {
  margin: 16px 0 0; font-family: 'Instrument Serif', serif; font-size: 23px; line-height: 1.12;
  color: var(--navy); letter-spacing: -0.01em;
}
.build-o { margin: 11px 0 0; font-size: 14px; line-height: 1.58; color: var(--body-ink); flex: 1; }
.build-p {
  margin: 20px 0 0; padding-top: 15px; border-top: 1px solid rgba(11,29,58,0.09);
  font-size: 13px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums;
}
.build-p em { font-style: normal; display: block; margin-top: 3px; font-size: 11.5px; font-weight: 600; color: var(--gold-text); letter-spacing: 0.03em; }
.build-ic {
  position: absolute; top: 22px; right: 22px; opacity: 0.14; color: var(--navy);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.build:hover .build-ic { opacity: 0.4; transform: rotate(-10deg) scale(1.12); }

/* ------------------------------------------------------------
   5. BODY TEXT CONTRAST PASS
   ------------------------------------------------------------ */
.lede { color: var(--body-ink); }
.card p, .tl-item p, .tier-desc, .tier-list li, .svc-list li, td { color: var(--body-ink); }
.small { color: #5d6d84; }
.dark .lede, .dark p { color: rgba(255,255,255,0.82); }
.dark .small { color: rgba(255,255,255,0.6); }
.offer-o { color: rgba(255,255,255,0.78) !important; }
.offer-n { color: #fff !important; }
.stat > span { color: var(--body-ink); }
.tl-out { color: var(--navy); }

/* ------------------------------------------------------------
   6. RESPONSIVE HARDENING
   ------------------------------------------------------------ */
@media (max-width: 560px) {
  :root { --nav-h: 66px; }
  .wrap { padding: 0 18px; }
  .h1 { font-size: clamp(2.3rem, 11vw, 3.1rem); }
  .h2 { font-size: clamp(1.75rem, 8vw, 2.2rem); }
  .section { padding: 62px 0; }
  .btn { width: 100%; padding: 15px 22px; }
  .hero-cta { gap: 10px; }
  .hero-meta { gap: 8px 16px; }
  .hero-meta div { font-size: 12px; }
  .panel { padding: 18px; }
  .metric-v { font-size: 27px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 16px; }
  .card, .build { padding: 22px 20px; }
  .build-grid { gap: 14px; }
  .filters { gap: 8px; }
  .filter-btn { padding: 8px 14px; font-size: 12px; flex: 1 1 auto; text-align: center; }
  .nav-in { padding: 0 8px 0 14px; height: 56px !important; }
  .brand-txt { font-size: 14px; }
  .footer-word { font-size: clamp(2.4rem, 17vw, 4rem); }
  .faq-q { font-size: 17px; padding: 20px 0; }
  .tier { padding: 26px 22px; }
}
@media (max-width: 900px) {
  .tl-item { padding-left: 46px; }
  .table-wrap { border-radius: 14px; }
  td, th { padding: 14px 15px; }
}
@media (min-width: 1600px) {
  .wrap { max-width: 1400px; }
}

/* smoother momentum feel */
@media (hover: hover) {
  a, button { -webkit-tap-highlight-color: transparent; }
}
