/* ═══════════════════════════════════════════════════════════
   QIASKA — PREMIUM CONSULTANCY DESIGN SYSTEM
   Logo Colors: Blue #1600ee · Green #00bf63 · Red #ff3131
   ═══════════════════════════════════════════════════════════ */

:root {
  color-scheme: light;
  --paper: #f8f7ff;
  --white: #ffffff;
  --ink: #0d0d0d;
  --muted: #4a4a5a;
  --navy: #0a0033;
  --blue: #1600ee;
  --rust: #1600ee;
  --orange: #ff5500;
  --orange-ink: #a93400;
  --green-ink: #00773e;
  --orange-bright: #ff3828;
  --orange-tint: rgba(255,85,0,.09);
  --orange-border: rgba(255,85,0,.28);
  --green: #00bf63;
  --green-tint: rgba(0,191,99,.09);
  --mint: #eef8f3;
  --line: rgba(17,0,238,.12);
  --display: "Fraunces", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  --blue-wash: color-mix(in srgb, #1600ee 3%, #fff);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(10,0,51,.04);
  --shadow-md: 0 8px 30px rgba(10,0,51,.07);
  --shadow-lg: 0 20px 60px rgba(10,0,51,.10);
  --shadow-glow: 0 0 40px rgba(22,0,238,.12);
  --ease-premium: cubic-bezier(.22,.68,0,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
  --transition: .3s var(--ease-premium);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.7 var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #1600ee; outline-offset: 4px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 500; line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 5.5vw, 5.5rem); }
h2 { font-size: clamp(2.5rem, 4.5vw, 4.2rem); }
h3 { font-size: 1.45rem; line-height: 1.2; letter-spacing: -.03em; font-weight: 600; }
em { font-style: italic; font-weight: 500; color: var(--blue); }
h1 em, h2 em { font-family: var(--display); }
svg:not(.symbols) { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.symbols { position: absolute; }
.wrap { width: min(1440px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: clamp(56px, 6.4vw, 94px); }
.skip { position: fixed; z-index: 99; left: 1rem; top: 1rem; padding: .75rem 1.2rem; background: white; border-radius: 8px; box-shadow: var(--shadow-md); transform: translateY(-160%); transition: transform .3s; }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }

/* ── Scroll Progress Bar ── */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3.5px; background: linear-gradient(90deg, var(--blue) 0%, var(--orange) 50%, var(--green) 100%); z-index: 1000; transform-origin: left; width: 100%; pointer-events: none; }

/* Desktop defaults for mobile drawer items */
.mobile-menu-footer, .menu-backdrop { display: none; }

/* ═══ HEADER — Glassmorphism ═══ */
.header {
  position: sticky; z-index: 50; top: 0;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(22,0,238,.06);
  transition: box-shadow .4s, border-color .4s;
}
.header.scrolled { box-shadow: 0 4px 30px rgba(10,0,51,.06); border-bottom-color: rgba(22,0,238,.1); }
.nav { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { display: inline-flex; align-items: center; flex: none; transition: transform .3s; }
.logo:hover { transform: scale(1.03); }
.logo img { width: 115px; height: 54px; object-fit: contain; }
.nav nav { display: flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; margin-left: auto; }
.nav nav > a:not(.button), .nav-services > summary { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 8px; white-space: nowrap; transition: all var(--transition); }
.nav nav > a:not(.button):hover, .nav-services > summary:hover { background: rgba(22,0,238,.04); color: var(--blue); }
.nav nav > a[aria-current="page"]:not(.button), .nav-services.current > summary { color: var(--blue); box-shadow: inset 0 -2px var(--blue); }
.footer-main a:hover { color: var(--blue); }
.menu-button { display: none; }

/* ── Buttons ── */
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: .65rem;
  min-height: 50px; border: 1.5px solid transparent; padding: .8rem 1.5rem;
  border-radius: 10px; font-weight: 700; font-size: .9rem; line-height: 1.3;
  transition: all .3s var(--ease-premium);
  position: relative; overflow: hidden;
}
.button::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
  opacity: 0; transition: opacity .3s;
}
.button:hover::before { opacity: 1; }
.nav-cta { color: #fff; background: var(--blue); }
.nav-cta:hover { background: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(22,0,238,.25); }
.primary { color: #fff; background: var(--blue); }
.primary:hover { background: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(22,0,238,.3); }
.outline { border-color: var(--line); color: var(--ink); background: transparent; }
.outline:hover { border-color: var(--blue); color: var(--blue); background: rgba(22,0,238,.03); transform: translateY(-2px); }
.nav .nav-cta { margin-left: 14px; padding: 12px 24px; }

/* ── Text Links ── */
.text-link {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700;
  min-height: 44px; position: relative; color: var(--blue);
}
.text-link::after {
  content: ""; position: absolute; bottom: 10px; left: 0; width: 0; height: 1.5px;
  background: currentColor; transition: width .3s var(--ease-premium);
}
.text-link:hover::after { width: calc(100% - 1.5em); }
.text-link:hover { color: var(--navy); }

/* ── Eyebrow & Dot ── */
.eyebrow {
  display: flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .05em; line-height: 1.4;
  color: var(--blue); text-transform: none;
}
.dot {
  width: 9px; height: 9px; flex: none; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255,85,0,.6);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 12px rgba(255,85,0,.7); }
  50% { opacity: .7; transform: scale(.85); box-shadow: 0 0 6px rgba(255,85,0,.3); }
}

.badge-pill-orange {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  background: var(--orange-tint);
  color: var(--orange-ink);
  border: 1px solid var(--orange-border);
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
}

/* ═══ HERO ═══ */
.hero {
  display: grid; align-items: center;
  grid-template-columns: 1.12fr 1fr; gap: clamp(36px, 5vw, 72px);
  padding-block: 56px 48px;
}
.homepage .hero { padding-block: 56px; }
.hero-copy .eyebrow { margin-bottom: 24px; color: var(--blue); font-size: .82rem; }
.hero h1 { font-size: clamp(3.1rem, 5.4vw, 5.3rem); line-height: 1.04; letter-spacing: -.06em; }
.hero h1 em { color: var(--blue); }
.hero-intro { max-width: 46ch; color: var(--muted); margin-top: 20px; font-size: 1.12rem; line-height: 1.75; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.4rem; margin-top: 28px; }
.hero .actions .outline { color: var(--blue); background: var(--white); border-color: #bdb7ed; }
.hero .actions .outline:hover { border-color: var(--blue); background: var(--blue-wash); }
.hero-note { margin-top: 20px; display: flex; align-items: center; gap: .55rem; font-size: .88rem; color: var(--muted); }
.hero-note svg { color: var(--green-ink); }

/* ── Hero Visual ── */
.hero-visual {
  isolation: isolate; position: relative; min-width: 0;
  aspect-ratio: 1.18; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--navy);
}
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 49% center; filter: grayscale(.15) contrast(1.05); }
.hero-visual::after {
  content: ""; position: absolute; z-index: 1; inset: 40% 0 0;
  pointer-events: none; border-radius: inherit;
  background: linear-gradient(transparent, rgba(10,0,51,.65));
}

/* Hero stamp badge */
.hero-stamp {
  position: absolute; z-index: 3; right: -16px; top: 20px;
  padding: 14px 20px; border-radius: 10px;
  background: var(--green); color: var(--ink);
  font-size: .88rem; font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,191,99,.25);
  transform: rotate(0deg);
}

.visual-label {
  position: absolute; top: 24px; left: 24px; z-index: 2;
  border-radius: 6px; display: flex; align-items: center; gap: .5rem;
  color: white; background: var(--navy); padding: .5rem .8rem;
  font-size: .65rem; letter-spacing: .13em; font-weight: 700;
  backdrop-filter: blur(8px);
}
.visual-label span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse-dot 2s ease-in-out infinite; }

/* Floating glass card */
.visual-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: .85rem;
  left: 16px; bottom: 24px; width: min(340px, calc(100% - 32px));
  background: rgba(255,255,255,.85); backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  padding: .85rem; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 12px 40px rgba(10,0,51,.12);
}
.icon-box { display: grid; place-items: center; width: 48px; height: 48px; background: var(--blue-wash); border-radius: 10px; border: 1px solid var(--line); color: var(--blue); }
.icon-box svg { width: 22px; height: 22px; }
.visual-card div { display: grid; }
.visual-card div span { font-size: .8rem; color: var(--muted); }
.visual-card a { margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; transition: all var(--transition); }
.visual-card a:hover { background: var(--blue-wash); color: var(--blue); }

/* ═══ TESTIMONIALS SECTION ═══ */
.testimonials {
  background: radial-gradient(ellipse at 50% 0%, var(--blue-wash), var(--paper) 65%);
  border-top: 1px solid var(--line);
  padding-block: clamp(56px, 7vw, 92px);
}
.testimonials-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 44px;
}
.testimonials-header .eyebrow {
  justify-content: center;
  margin-bottom: 12px;
}
.testimonials-header h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  letter-spacing: -.05em;
  margin-bottom: 12px;
}
.testimonials-sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.testimonials-grid {
  display: flex;
  max-width: 850px;
  margin-inline: auto;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.testimonials-grid.is-sliding { scroll-snap-type: none; scroll-behavior: auto; }
.testimonials-grid.has-story-controls { scrollbar-width: none; }

.testimonial-card {
  position: relative;
  display: flex;
  flex: 0 0 100%;
  min-width: 0;
  flex-direction: column;
  scroll-snap-align: start;
  padding: clamp(24px, 4vw, 54px);
  background: linear-gradient(145deg, var(--white) 65%, var(--blue-wash));
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(10,0,51,.04);
}
.testimonial-card:nth-child(2) { border-top-color: var(--orange); }
.testimonial-project { border-top-color: var(--green); }
.testimonial-card:not(.testimonial-project)::before {
  content: '“'; position: absolute; right: 22px; top: 24px;
  color: var(--blue); opacity: .08; pointer-events: none;
  font: 500 clamp(5rem, 12vw, 10rem)/.9 var(--display);
}

.testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.rating-stars {
  display: flex;
  gap: 3px;
  color: var(--orange);
  font-size: 1.1rem;
}
.testimonial-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
  background: var(--blue-wash);
  color: var(--blue);
  border: 1px solid rgba(22,0,238,.15);
}
.testimonial-badge.badge-orange {
  background: var(--orange-tint);
  color: var(--orange-ink);
  border-color: var(--orange-border);
}

.testimonial-quote {
  margin: 0 0 24px;
  padding: 0;
  max-width: 46ch;
  font: 500 clamp(1.15rem, 2.2vw, 1.55rem)/1.5 var(--display);
  color: var(--ink);
  flex: 1;
}
.testimonial-project h3 { max-width: 32ch; margin-bottom: 10px; }
.testimonial-project p { max-width: 58ch; color: var(--muted); }
.testimonial-project .text-link { align-self: start; margin-top: auto; }
.story-controls:not([hidden]) { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.story-step {
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--blue); background: var(--white);
}
.story-step:hover { border-color: var(--blue); background: var(--blue-wash); }
.story-step[data-story-step="-1"] svg { transform: rotate(180deg); }
.story-status { display: grid; justify-items: center; gap: 5px; width: 84px; }
.story-count { color: var(--muted); font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.story-progress { width: 100%; height: 3px; overflow: hidden; border-radius: 999px; background: var(--line); }
.story-progress::after {
  content: ''; display: block; width: 100%; height: 100%;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
}
.story-controls.is-playing .story-progress::after { animation: story-countdown var(--story-duration) linear forwards; }
@keyframes story-countdown { to { transform: scaleX(1); } }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.author-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .02em;
  flex: none;
}
.avatar-blue {
  background: linear-gradient(135deg, #1600ee, #00bf63);
  box-shadow: 0 4px 12px rgba(22,0,238,.25);
}
.avatar-orange {
  background: linear-gradient(135deg, #ff5500, #ff3131);
  box-shadow: 0 4px 12px rgba(255,85,0,.28);
}
.author-meta {
  display: flex;
  flex-direction: column;
}
.author-meta strong {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 700;
}
.author-meta span {
  font-size: .84rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ═══ PROOF / TRUST LOGOS BAR ═══ */
.proof {
  background: var(--white);
  border-block: 1px solid var(--line);
  padding-block: 22px;
  overflow: clip;
}
.proof-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
}
.proof-window { max-width: 100%; min-width: 0; }
.proof-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  flex: none;
}
.proof-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(0,191,99,.6);
}
.proof-logos {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 12px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.proof-logos.proof-copy { display: none; }
.proof-logo {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 4px 6px;
  color: var(--navy);
  font: 600 clamp(1.15rem, 2.2vw, 2rem)/1.15 var(--display);
  text-align: center;
  overflow-wrap: anywhere;
}
.proof-logo:nth-child(1) { font-style: italic; font-weight: 500; }
.proof-logo:nth-child(2) { font-family: var(--body); font-weight: 800; letter-spacing: .06em; }
.proof-logo:nth-child(3) { letter-spacing: -.05em; }
.proof-logo:nth-child(4) { font-family: var(--body); font-weight: 600; letter-spacing: -.04em; }
.proof-logo:nth-child(5) { font-family: var(--body); font-weight: 700; letter-spacing: .12em; }

/* ═══ STATS BAR (Luxury Consultancy Style) ═══ */
.home-stats {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.home-stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 36px;
  gap: 0;
}
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-inline: 18px;
  transition: transform .3s ease;
  position: relative;
}
.stat-card:hover {
  transform: translateY(-4px);
}
.stat-card + .stat-card {
  border-left: 1px solid var(--line);
}
.stat-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.pill-blue {
  background: var(--blue-wash);
  color: var(--blue);
}
.pill-orange {
  background: var(--orange-tint);
  color: var(--orange-ink);
}
.pill-green {
  background: var(--green-tint);
  color: var(--green-ink);
}
.pill-navy {
  background: rgba(10,0,51,.05);
  color: var(--navy);
}
.stat-num {
  font: 600 clamp(2.3rem, 4vw, 3.2rem)/1.08 var(--display);
  letter-spacing: -.05em;
  margin-bottom: 6px;
}
.stat-num.stat-blue {
  color: var(--blue);
}
.stat-num.stat-orange {
  color: var(--orange);
}
.stat-num.stat-green {
  color: var(--green-ink);
}
.stat-label {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 500;
}

/* ═══ SECTION HEADS ═══ */
.section-head { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head > :only-child { grid-column: 1 / -1; max-width: 54rem; }
.section-head .eyebrow, .faq-layout .eyebrow, .contact .eyebrow { margin-bottom: 18px; }
.section-head > p, .section-head > div:nth-child(2) > p { color: var(--muted); font-size: 1.05rem; max-width: 42ch; line-height: 1.75; }

/* ═══ SYSTEM SHOWCASE (Dark Section) ═══ */
.system-showcase {
  background: linear-gradient(160deg, var(--navy) 0%, #0f0055 50%, var(--navy) 100%);
  color: white; position: relative; overflow: hidden;
}
.system-showcase::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 50% at 70% 20%, rgba(22,0,238,.15), transparent);
}
.system-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; position: relative; z-index: 1; }
.system-showcase .eyebrow { color: rgba(255,255,255,.7); margin-bottom: 22px; }
.system-showcase h2 em { color: var(--green); }
.system-intro { color: rgba(255,255,255,.75); max-width: 42ch; margin: 24px 0; font-size: 1.08rem; line-height: 1.75; }
.system-showcase .primary { background: var(--green); color: var(--navy); }
.system-showcase .primary:hover { background: #fff; color: var(--navy); }
.system-note { font-size: .72rem; letter-spacing: .14em; color: rgba(255,255,255,.75); margin-top: 20px; font-weight: 600; }

/* System Map Card */
.system-map {
  background: var(--white); color: var(--ink); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(22,0,238,.08);
}
.system-map-top { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 22px; font-size: .72rem; letter-spacing: .12em; font-weight: 700; color: var(--muted); }
.map-row { display: flex; align-items: center; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.map-row:hover { background: var(--blue-wash); }
.map-row > span { font-size: .75rem; color: var(--blue); font-weight: 700; }
.map-row h3 { font-size: 1.2rem; }
.map-row p { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.map-row > svg { margin-left: auto; width: 24px; height: 24px; color: var(--blue); }
.system-map-bottom { display: flex; gap: 10px; align-items: center; font-size: .8rem; padding-top: 22px; color: var(--muted); }
.system-map-bottom .dot { background: var(--green); }

/* ═══ CARD GRIDS ═══ */
.route-grid, .pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.route-grid article, .pillar-grid article {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 32px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: all .35s var(--ease-premium);
  position: relative; overflow: hidden;
}
.route-grid article::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--blue); transition: height .3s;
}
.route-grid article:nth-child(2)::before { background: var(--green); }
.route-grid article:nth-child(2) .icon-box { background: var(--green-tint); color: var(--green-ink); border-color: rgba(0,191,99,.25); }
.route-grid article:nth-child(3)::before { background: var(--orange); }
.route-grid article:nth-child(3) .icon-box { background: var(--orange-tint); color: var(--orange-ink); border-color: var(--orange-border); }
.route-grid article:nth-child(3) .text-link { color: var(--orange-ink); }
.route-grid article:nth-child(3) .text-link:hover { color: var(--ink); }
.route-grid article:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.route-grid article .icon-box { margin-bottom: 22px; width: 56px; height: 56px; border-radius: 14px; }
.route-grid article p, .pillar-grid article p { color: var(--muted); margin: .6rem 0; line-height: 1.75; }
.route-grid .text-link { margin-top: auto; }
.route-grid h3 { font-size: 1.55rem; }
.pillar-grid article > span { color: var(--blue); font-size: .8rem; font-weight: 700; margin-bottom: .8rem; }

/* ═══ RICH SECTIONS & GRIDS ═══ */
.rich-section { background: var(--white); }
.rich-section:nth-of-type(even) { background: var(--paper); }
.rich-section + .rich-section { border-top: 1px solid var(--line); }
.rich-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.rich-grid article {
  padding: 30px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: all .35s var(--ease-premium);
}
.rich-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.rich-grid article p { margin-top: 14px; color: var(--muted); line-height: 1.78; }
.rich-grid h3 { margin-bottom: 6px; }
.rich-grid:has(article:nth-child(4)):not(:has(article:nth-child(5))) { grid-template-columns: repeat(2, minmax(0,1fr)); }
.rich-number { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--blue-wash); color: var(--blue); font-weight: 700; border-radius: 12px; margin-bottom: 22px; border: 1px solid var(--line); }

/* Audience section */
.audience-section { background: var(--paper) !important; }
.audience-section .rich-grid { gap: 24px; }
.audience-section .rich-grid article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }

/* Operations section */
.operations-section.rich-section { background: linear-gradient(150deg, var(--blue-wash), var(--white) 72%); }
.operations-section .rich-grid { gap: clamp(12px, 2vw, 24px); }
.operations-section .rich-grid article {
  display: grid; grid-template-rows: auto 1fr; align-content: start;
  gap: 16px; padding: clamp(18px, 2.6vw, 32px);
  box-shadow: var(--shadow-sm);
}
.operations-section .rich-grid article p { margin-top: 8px; }
.operations-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--blue-wash); color: var(--blue);
}
.operations-icon svg { width: 22px; height: 22px; }
.operations-section article:nth-child(3n + 2) .operations-icon { background: var(--green-tint); color: var(--green-ink); }
.operations-section article:nth-child(3n) .operations-icon { background: var(--orange-tint); color: var(--orange-ink); }

/* ═══ PROCESS STEPS ═══ */
.process, .faq { background: var(--blue-wash); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; gap: 24px; }
.steps li { padding: 0; border: 0; transition: transform .3s; }
.steps li:hover { transform: translateY(-4px); }
.steps li + li { padding-left: 0; border-left: 0; }
.steps span {
  display: block; font-family: var(--display); font-size: 3.2rem; font-weight: 500;
  color: var(--green-ink); padding-bottom: 16px; border-bottom: 2px solid var(--line);
  margin-bottom: 16px;
}
.steps p { color: var(--muted); margin-top: .5rem; line-height: 1.75; }

/* ═══ ENGAGEMENT SECTION ═══ */
.engagement { border-block: 1px solid var(--line); background: var(--white); }
.engagement-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; gap: clamp(32px, 5vw, 72px); }
.engagement-heading h2 { font-size: clamp(2.2rem, 3.4vw, 3.4rem); margin: 16px 0 22px; }
.engagement-heading > p:not(.eyebrow) { max-width: 46ch; line-height: 1.8; color: var(--muted); margin-bottom: 24px; }
.engagement-rows article { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.engagement-rows article:first-child { padding-top: 0; }
.engagement-rows article:last-child { border: 0; padding-bottom: 0; }
.engagement-rows h3 { font-size: 1.35rem; margin-bottom: 10px; }
.engagement-rows p { line-height: 1.8; max-width: 58ch; color: var(--muted); }
.engagement-icon { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border: 1px solid var(--line); border-radius: 12px; color: var(--blue); transition: all .3s; }
.engagement-icon svg { width: 24px; height: 24px; }
.engagement-rows article:hover .engagement-icon { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ═══ SUB-CTA BANNER ═══ */
.sub-cta { padding-block: clamp(40px, 5vw, 72px); background: var(--white); border-block: 1px solid var(--line); }
.sub-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px 2.5rem; flex-wrap: wrap; }
.sub-cta h2 { font-size: clamp(2rem, 3.2vw, 3.2rem); }
.sub-cta em { color: var(--blue); }
.sub-cta p { color: var(--muted); margin-top: .8rem; line-height: 1.7; }

/* ═══ SUBHERO (Inner Pages) ═══ */
.subhero { padding: 20px 0 clamp(36px, 5vw, 64px); border-bottom: 2px solid var(--blue); background: var(--blue-wash); }
.crumb { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: clamp(20px, 3vw, 36px); color: var(--muted); font-size: .85rem; }
.crumb a { text-decoration: underline; text-underline-offset: .22em; transition: color .2s; }
.crumb a:hover { color: var(--blue); }
.subhero-grid { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr); align-items: end; gap: 20px 5vw; }
.subhero-grid .eyebrow { margin-bottom: 15px; }
.subhero-grid h1 { font-size: clamp(2.7rem, 4.5vw, 4.3rem); text-wrap: initial; }
.subhero-grid h1 em { color: var(--blue); }
.subhero-grid > div:nth-child(2) { padding-bottom: .35rem; }
.subhero-grid > div:nth-child(2) p { color: var(--muted); max-width: 38ch; font-size: 1.08rem; line-height: 1.7; }
.subhero-grid .button { margin-top: .8rem; }
.subhero-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.subhero-links .button { margin: 0; min-height: 44px; padding: 8px 14px; color: var(--blue); background: var(--white); }

/* ═══ PLATFORM (HROS Dark Section) ═══ */
.platform {
  color: #fff;
  background: linear-gradient(160deg, var(--navy) 0%, #0f0055 100%);
  position: relative; overflow: hidden;
}
.platform::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 100%, rgba(0,191,99,.08), transparent);
  pointer-events: none;
}
.platform em, .contact em { color: var(--green); }
.platform .eyebrow, .contact .eyebrow { color: rgba(255,255,255,.8); }
.platform .dot, .contact .dot { background: var(--orange); }
.platform .section-head > p, .platform article p { color: rgba(255,255,255,.7); }
.layer-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.layer-grid article { padding: clamp(22px, 3vw, 40px); background: rgba(255,255,255,.04); backdrop-filter: blur(8px); transition: background .3s; }
.layer-grid article:hover { background: rgba(255,255,255,.08); }
.layer-grid article + article { border-left: 1px solid rgba(255,255,255,.1); }
.layer-meta { display: flex; align-items: center; justify-content: space-between; gap: .65rem; margin-bottom: 28px; }
.layer-meta svg { width: 1.65rem; height: 1.65rem; color: var(--green); }
.layer-meta span { font-size: .72rem; color: rgba(255,255,255,.5); letter-spacing: .13em; font-weight: 700; }
.layer-grid h3 { margin-bottom: 10px; }

/* ═══ SERVICES LIST ═══ */
.service-list { border-top: 0; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.service-list details {
  padding: 20px 28px; margin-bottom: 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: all .3s;
}
.service-list details:hover { box-shadow: var(--shadow-sm); }
.service-list details[open] { box-shadow: var(--shadow-md); border-color: rgba(22,0,238,.15); }
.service-list summary { display: grid; grid-template-columns: 38px 1fr minmax(190px, 32%) 32px; align-items: center; gap: .9rem; min-height: 70px; padding: 8px 0; }
.service-list summary:hover { color: var(--blue); }
.service-list summary span:first-child { color: var(--blue); font-size: .8rem; font-weight: 700; }
.service-list summary strong { font-size: clamp(1.4rem, 2.8vw, 1.8rem); letter-spacing: -.04em; }
.service-teaser { color: var(--muted); font-size: .92rem; }
.service-list summary::after, .faq-list summary::after {
  content: "+"; display: grid; place-items: center; width: 34px; height: 34px;
  border: 1.5px solid var(--line); border-radius: 50%;
  line-height: 1; font-size: 1.2rem; font-weight: 500;
  transition: all .3s var(--ease-premium);
}
.service-list details[open] summary::after, .faq-list details[open] summary::after { content: "−"; background: var(--blue); color: white; border-color: var(--blue); transform: rotate(180deg); }
.service-body { margin-left: 59px; max-width: none; padding-right: 0; }
.service-body .text-link { color: var(--blue); }
.service-scope { color: var(--blue); font-size: .84rem; font-weight: 700; margin-top: .55rem; }
.service-deliverables { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; padding: 18px 0; margin-top: 10px; border-top: 1px solid var(--line); }
.service-deliverables h4 { margin: 0 0 8px; color: var(--ink); font-size: 1rem; }
.service-deliverables p { font-size: .92rem; color: var(--muted); line-height: 1.7; }
.service-list details:last-child { margin-bottom: 0; }

/* ═══ PRICING ═══ */
.pricing-layout { display: grid; grid-template-columns: 320px minmax(0,1fr); gap: 28px; align-items: start; }
.billing { display: none; border: 1.5px solid var(--line); padding: 3px; margin: 0; border-radius: 10px; align-self: start; }
.js .billing { display: inline-flex; }
.billing label { display: grid; position: relative; cursor: pointer; }
.billing input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.billing span { display: grid; place-items: center; min-height: 44px; padding-inline: 1rem; border-radius: 7px; font-size: .9rem; font-weight: 700; transition: all .25s; }
.billing input:checked + span { background: var(--blue); color: white; }
.billing input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.plan-finder { display: none; grid-template-columns: 1fr 1fr; align-items: center; gap: 18px 4vw; margin-bottom: 30px; padding: clamp(20px, 3vw, 32px); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); }
.js .plan-finder { display: flex; flex-direction: column; align-items: stretch; position: sticky; top: 100px; gap: 22px; margin: 0; }
.plan-finder .eyebrow { margin-bottom: .55rem; }
.plan-finder h3 { font-size: 1.5rem; }
.plan-finder p { color: var(--muted); margin-top: .5rem; font-size: .9rem; }
.plan-finder label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; }
.plan-finder output { font-size: 2.2rem; letter-spacing: -.06em; color: var(--blue); }
.plan-finder input { width: 100%; margin: 4px 0 0; min-height: 44px; accent-color: var(--blue); cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
#headcount-note { font-size: .88rem; }
.size-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.size-presets button { min-width: 44px; min-height: 44px; border: 1.5px solid var(--line); border-radius: 22px; padding: 8px 12px; color: var(--ink); background: var(--white); font-weight: 600; transition: all .25s; }
.size-presets button:hover { border-color: var(--blue); }
.size-presets button[aria-pressed="true"] { color: #fff; background: var(--blue); border-color: var(--blue); }
.estimate { border-top: 1px solid var(--line); padding-top: 16px; }
.estimate p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.estimate strong { color: var(--blue); }
#estimate-price { font-size: 1.65rem; }
.estimate-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.estimate-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; color: var(--blue); border: 1px solid var(--line); border-radius: 8px; font-size: .85rem; font-weight: 600; transition: all .25s; }
.estimate-links a:hover { border-color: var(--blue); background: var(--blue-wash); }
.calculator-note { font-size: .8rem !important; color: var(--muted); }

.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; align-items: stretch; }
.plan:last-child { grid-column: 1 / -1; }
.plan, .plan.featured {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 26px 26px; border: 1.5px solid var(--line);
  border-radius: var(--radius); background: var(--white);
  box-shadow: var(--shadow-sm); min-height: 370px;
  transition: all .35s var(--ease-premium);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.featured {
  border: 2px solid var(--orange);
  background: linear-gradient(180deg, rgba(255,85,0,.025), var(--white));
  box-shadow: 0 16px 48px rgba(255,85,0,.12);
}
.plan-badge {
  position: absolute; left: 16px; top: -14px; padding: 6px 16px;
  background: linear-gradient(135deg, var(--orange-ink), #a92121);
  color: #fff; border-radius: 20px; text-transform: uppercase; letter-spacing: .08em;
  font-size: .72rem; font-weight: 800; box-shadow: 0 4px 14px rgba(255,85,0,.35);
}
.featured .plan-badge { top: -15px; }
.team-size { font-size: .8rem; color: var(--muted); margin-bottom: .5rem; font-weight: 600; }
.price { margin-top: .8rem; font-variant-numeric: tabular-nums; }
.price strong { font-size: clamp(1.6rem, 2.5vw, 2.4rem); font-weight: 800; letter-spacing: -.06em; }
.price small { margin-left: .2rem; color: var(--muted); }
.plan ul { list-style: none; padding: 14px 0 0; border-top: 1px solid var(--line); margin: 12px 0 20px; font-size: .92rem; color: var(--muted); line-height: 1.7; }
.plan li + li { margin-top: .4rem; }
.plan li::before { content: "✓"; color: var(--blue); margin-right: .4rem; font-weight: 800; }
.featured ul { border-color: rgba(22,0,238,.15); }
.featured li::before { color: var(--blue); }
.featured .team-size, .featured ul { color: var(--ink); }
.plan .button { margin-top: auto; width: 100%; font-size: .88rem; min-height: 48px; }
.plan.matches { box-shadow: inset 0 0 0 2px var(--green); }
.match-badge { align-self: flex-start; margin: 0 0 .7rem; padding: .2rem .5rem; border-radius: 6px; font-size: .72rem; font-weight: 700; color: var(--navy); background: rgba(0,191,99,.15); }
.billing-note, .price-fine { color: var(--muted); font-size: .86rem; margin-top: 10px; }
.plan .price, .estimate { font-variant-numeric: tabular-nums; }
.plan:target, .plan:focus { outline: 2px solid var(--blue); outline-offset: 4px; }

/* ═══ COMPARISON TABLE ═══ */
.table-wrap { overflow: auto; -webkit-overflow-scrolling: touch; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 650px; text-align: left; font-size: .88rem; }
.table-wrap :is(th,td) { padding: .9rem .85rem; border-bottom: 1px solid var(--line); }
.table-wrap thead { color: #fff; background: var(--blue); }
.table-wrap thead th:first-child { position: sticky; left: 0; background: var(--blue); }
.table-wrap tbody th { position: sticky; left: 0; background: var(--white); box-shadow: 1px 0 var(--line); font-weight: 600; }
.table-wrap tr:last-child > * { border-bottom: 0; }
.table-hint { display: none; margin-bottom: 10px; font-size: .86rem; color: var(--muted); }

/* ═══ ABOUT PAGE ═══ */
.about { background: var(--blue-wash); }
.founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.founder-grid article {
  display: flex; align-items: flex-start; gap: 1.2rem;
  padding: 34px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: all .35s;
}
.founder-grid article:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.monogram { display: grid; place-items: center; flex: none; width: 56px; height: 56px; background: var(--blue-wash); border: 1px solid var(--line); border-radius: 14px; font: 600 1.4rem var(--display); color: var(--blue); }
.founder-grid article:nth-child(2) .monogram { background: rgba(0,191,99,.08); border-color: rgba(0,191,99,.2); color: #006e38; }
.founder-grid h3 { margin-bottom: .25rem; }
.founder-grid p { color: var(--muted); line-height: 1.7; }
.founder-grid .role { color: var(--blue); font-size: .84rem; font-weight: 700; margin-bottom: .55rem; }
.about-industries { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(24px, 5vw, 64px); }
.about-industries .section-head { display: block; margin: 0; }
.about-industries .section-head > p { margin-top: 14px; }
.about-industries .industry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.about-industries .industry-list li { border-radius: 8px; padding: 12px 14px; font-size: .93rem; line-height: 1.45; }
.about-principles { background: var(--white); border-block: 1px solid var(--line); }
.about-principles .rich-grid { gap: 0 24px; }
.about-principles .rich-grid article { padding: 18px 0; border: 0; border-top: 2px solid var(--line); border-radius: 0; background: transparent; }
.about-principles .rich-grid article:hover { transform: none; box-shadow: none; }
.industry-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.industry-list li { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-weight: 700; background: var(--white); transition: all .3s; }
.industry-list li:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ═══ INSIGHTS PAGE ═══ */
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.insight-grid article { padding: clamp(20px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); border-top: 4px solid var(--blue); transition: all .35s; }
.insight-grid article:nth-child(2) { border-top-color: var(--green); }
.insight-grid article:nth-child(3) { border-top-color: var(--orange); }
.insight-grid article:nth-child(3) :is(.eyebrow, summary) { color: var(--orange-ink); }
.insight-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.insight-grid .eyebrow { color: var(--blue); margin-bottom: 14px; }
.insight-grid summary { min-height: 44px; display: flex; align-items: center; gap: .6rem; font-weight: 700; margin-top: .4rem; color: var(--blue); font-size: .89rem; }
.insight-grid summary::before { content: "+"; font-size: 1.25rem; }
.insight-grid details[open] summary::before { content: "−"; }
.insight-grid details p { color: var(--muted); font-size: .95rem; margin-top: 14px; line-height: 1.85; }

/* Playbooks */
.playbook { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.playbook-title {
  position: relative; display: grid; gap: 4px;
  padding: 16px 58px 16px 20px;
}
.playbook-title:hover { color: var(--blue); }
.playbook-title::after {
  content: '+'; display: grid; place-items: center; position: absolute; inset-inline-end: 18px; top: 50%;
  transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%;
  color: var(--blue); background: var(--blue-wash); font-weight: 700;
}
.playbook[open] .playbook-title::after { content: '−'; }
.playbook-name { font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.3; font-weight: 700; }
.playbook-content { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; padding: 20px; border-top: 1px solid var(--line); }
.playbook-content h3 { font-size: 1.1rem; margin: 0 0 8px; }
.playbook-content p { line-height: 1.8; max-width: 75ch; color: var(--muted); }
.practical-guides { padding-top: 12px; }

/* Decision list */
.decision-list { border-top: 1px solid var(--line); }
.decision-list a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); transition: all .2s; }
.decision-list a:hover h3 { color: var(--blue); }
.decision-list h3 { font-size: 1.25rem; margin-bottom: 8px; transition: color .2s; }
.decision-list p { max-width: 85ch; color: var(--muted); }
.decision-list svg { width: 24px; height: 24px; color: var(--blue); }

/* Quick links */
.quick-links { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: 24px; }
.quick-links a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 1rem; border: 1.5px solid var(--line); border-radius: 8px; font-size: .88rem; font-weight: 700; transition: all .25s; }
.quick-links a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-wash); }

/* ═══ FAQ ═══ */
.faq-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 64px; padding-block: 10px; font-weight: 700; transition: color .2s; }
.faq-list summary:hover { color: var(--blue); }
.faq-list summary::after { flex: none; }
.faq-list details p { color: var(--muted); padding-bottom: 18px; max-width: 62ch; line-height: 1.8; }

/* ═══ CONTACT ═══ */
.contact {
  color: #fff;
  background: linear-gradient(160deg, var(--navy), #0f0055);
  position: relative; overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 70% at 20% 80%, rgba(0,191,99,.06), transparent);
  pointer-events: none;
}
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 72px); align-items: start; position: relative; z-index: 1; }
.contact-layout > div > p:not(.eyebrow) { color: rgba(255,255,255,.7); margin-top: 18px; max-width: 39ch; line-height: 1.7; }
.contact .text-link { margin-top: 10px; color: var(--green); }
.contact .text-link::after { background: var(--green); }
.contact-layout > div > .location:not(.eyebrow) { font-size: .92rem; color: rgba(255,255,255,.75); margin-top: 0; }
.contact h1 { font-size: clamp(2.7rem, 4vw, 4rem); }

/* Contact Form */
.contact form { display: grid; gap: .85rem; min-width: 0; color: var(--ink); background: var(--white); padding: clamp(18px, 3vw, 36px); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.contact form h2 { font: 600 clamp(1.3rem, 3.5vw, 1.45rem)/1.2 var(--body); letter-spacing: -.03em; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.contact form label { display: block; font-size: .87rem; font-weight: 700; }
.contact form small { color: var(--muted); font-weight: 400; }
.contact :is(input, select, textarea) {
  display: block; width: 100%; min-height: 46px; margin-top: .3rem;
  padding: .55rem .75rem; font-size: 1rem; font-weight: 400;
  border: 1.5px solid #85809c; border-radius: 8px;
  background: white; color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
.contact :is(input, select, textarea):focus { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 2px; }
.contact textarea { resize: vertical; }
.contact form .button { justify-self: start; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-success { color: var(--green-ink); }
.form-error { color: var(--orange-ink); }

/* ═══ ROADMAP (Dark Section) ═══ */
.roadmap { background: linear-gradient(160deg, var(--blue), #0f0055); color: #fff; }
.roadmap .section-head > p, .roadmap .eyebrow { color: rgba(255,255,255,.7); }
.roadmap-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; }
.roadmap-grid article { border-top: 1px solid rgba(255,255,255,.2); padding-top: 24px; transition: transform .3s; }
.roadmap-grid article:hover { transform: translateY(-4px); }
.roadmap-grid article > span { font-size: .9rem; color: var(--green); font-weight: 600; }
.roadmap-grid h3 { margin: 14px 0; font-size: 1.6rem; }
.roadmap-grid p { line-height: 1.8; color: rgba(255,255,255,.7); }
.roadmap-grid ul { padding-left: 20px; line-height: 1.8; color: rgba(255,255,255,.6); }

/* ═══ FOOTER — Dark Premium ═══ */
footer {
  background: var(--navy); color: rgba(255,255,255,.8);
  border-top: 0;
}
.footer-wordmark {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 5rem); line-height: 1.2; letter-spacing: -.06em;
  padding-top: 48px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(110deg, #b9b2ff 0%, #ff975f 30%, #53d995 60%, #b9b2ff 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 24px; padding-block: 36px; font-size: .9rem; }
.footer-main > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-main strong { margin-bottom: .4rem; color: #fff; font-size: .82rem; letter-spacing: .04em; }
.footer-main p { margin-top: .55rem; color: rgba(255,255,255,.68); }
.footer-main a:not(.logo) { display: inline-flex; align-items: center; min-height: 36px; color: rgba(255,255,255,.65); transition: color .2s; }
.footer-main a:not(.logo):hover { color: var(--green); }
.footer-main .logo img { width: 105px; height: 47px; }
.legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px;
  border-top: 1px solid rgba(255,255,255,.14); padding-block: 14px 18px;
  font-size: .84rem; color: rgba(255,255,255,.74);
}
.legal a { display: inline-block; padding-block: 7px; color: #e0dcff; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.legal a:hover { color: #53d995; }
.legal a:focus-visible { outline-color: #b9b2ff; }
.legal-identity { display: flex; flex-wrap: wrap; gap: 2px 8px; }
.legal-registration { white-space: nowrap; }
.legal-registration::before { content: '·'; margin-inline-end: 8px; }
.legal-credit { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; }

/* ═══ NAV FLYOUT ═══ */
.chevron { display: block; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-left: 5px; margin-top: -4px; transition: transform .2s; }
.nav-services[open] .chevron { transform: rotate(225deg); margin-top: 4px; }
.nav-services { position: relative; }
.nav-services summary { display: flex; min-height: 44px; align-items: center; gap: .38rem; }
.nav-flyout {
  position: absolute; z-index: 50; top: calc(100% + 12px); left: 0; width: 240px;
  padding: 10px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(20px);
  box-shadow: 0 16px 48px rgba(10,0,51,.12);
}
.nav-flyout a { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: 8px; color: var(--ink); transition: all .2s; }
.nav-flyout a:hover, .nav-flyout a:focus-visible { background: var(--blue-wash); color: var(--blue); }

/* ── Mobile Menu Hamburger & Cross ── */
.menu-lines {
  display: inline-block;
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: background .2s ease;
  vertical-align: middle;
}
.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .25s ease, top .25s ease;
}
.menu-lines::before {
  top: -5px;
}
.menu-lines::after {
  top: 5px;
}
.menu-button[aria-expanded="true"] .menu-lines {
  background: transparent !important;
}
.menu-button[aria-expanded="true"] .menu-lines::before {
  top: 0;
  transform: rotate(45deg);
}
.menu-button[aria-expanded="true"] .menu-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ═══════════════════════════════════
   MOTION & INTERACTION ANIMATIONS
   ═══════════════════════════════════ */
@keyframes qiaska-enter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes qiaska-menu {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-ready) :is(.hero-copy, .subhero-grid) { animation: qiaska-enter 700ms cubic-bezier(.2,.7,.2,1) both; }
  html:not(.motion-ready) .hero-visual { animation: qiaska-enter 900ms 120ms cubic-bezier(.2,.7,.2,1) both; }
  .nav-services[open] .nav-flyout { animation: qiaska-menu 220ms ease-out; }
  .button, .size-presets button { transition: all .3s var(--ease-premium); }
  .button:active, .size-presets button:active { transform: scale(.97); }
  .route-grid article, .insight-grid article, .rich-grid article, .pillar-grid article { transition: transform .35s var(--ease-premium), box-shadow .35s var(--ease-premium); }
  .chevron { transition: transform .2s ease; }
  .plan { transition: all .35s var(--ease-premium); }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .route-grid article:hover, .insight-grid article:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
  .rich-grid article:hover, .pillar-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .button:hover { transform: translateY(-2px); }
  .button svg, .text-link svg, .decision-list svg { transition: transform .3s var(--ease-premium); }
  .button:hover svg, .text-link:hover svg, .decision-list a:hover svg { transform: translate(3px, -3px); }
}
@media (max-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .js .nav nav.is-open { animation: qiaska-menu 250ms ease-out; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  *, *::before, *::after { animation: none !important; }
}

/* ═══════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════ */

/* ── Large Screens ── */
@media (min-width: 1600px) {
  .hero-visual { max-height: 500px; }
  .homepage .hero { gap: 80px; }
}

/* ── Tablets / Medium ── */
@media (max-width: 1100px) {
  html.menu-locked { overflow: hidden; }
  html { scroll-padding-top: 77px; }
  .skip { z-index: 102; }

  .wrap { width: calc(100% - 32px); }
  .section { padding-block: 52px; }
  .hero { gap: 28px; }
  .hero h1 { font-size: clamp(2.5rem, 4.8vw, 3.8rem); }
  .homepage .hero { gap: 32px; }
  .pricing-layout { grid-template-columns: 1fr; }
  .js .plan-finder { position: static; }
  .operations-section .rich-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .price-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

  /* Fixed Clean Header Bar */
  .header {
    position: sticky; top: 0; z-index: 100;
    min-height: 64px;
    background: rgba(255,255,255,.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(22,0,238,.08);
    transition: background .2s ease, box-shadow .2s ease;
  }
  .header.menu-open {
    background: #ffffff !important;
    border-bottom-color: rgba(22,0,238,.12);
  }

  .nav {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 0;
  }
  .logo img { width: 104px; height: 46px; object-fit: contain; }

  /* Tactile Modern Menu Button */
  .js .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 88px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1.5px solid rgba(22,0,238,.14);
    background: #ffffff;
    color: var(--ink);
    border-radius: 9999px;
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(10,0,51,.04);
    transition: all .2s ease;
    z-index: 101;
  }
  .menu-button:hover, .menu-button:focus-visible {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-wash);
  }
  .menu-button[aria-expanded="true"] {
    background: rgba(22,0,238,.07);
    border-color: var(--blue);
    color: var(--blue);
  }

  /* Dark Backdrop Overlay */
  .menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    top: 65px;
    background: rgba(10,0,51,.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 95;
    opacity: 0;
    transition: opacity .25s ease;
  }
  .menu-backdrop.is-active {
    display: block;
    opacity: 1;
  }

  /* Full-width Mobile Drawer */
  html:not(.js) .header { position: static; }
  html:not(.js) .nav, html:not(.js) .nav nav { flex-wrap: wrap; }
  html:not(.js) .nav nav { width: 100%; margin: 0; padding-bottom: 12px; }
  html:not(.js) .nav-services { width: auto; }
  html:not(.js) .mobile-menu-footer { display: none; }
  .js .nav nav { display: none; }
  .js .nav nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 65px);
    max-height: calc(100dvh - 65px);
    background: #ffffff;
    z-index: 98;
    padding: 14px 16px max(24px, env(safe-area-inset-bottom));
    gap: 6px;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 24px 48px rgba(10,0,51,.16);
    border-bottom: 3px solid var(--blue);
  }
  .nav nav.is-open > * { flex-shrink: 0; }

  .nav nav > a:not(.button), .nav-services > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 10px;
    color: var(--ink);
    transition: all .2s ease;
  }
  .nav nav > a:not(.button):hover, .nav-services > summary:hover,
  .nav nav > a:not(.button):focus-visible, .nav-services > summary:focus-visible {
    background: rgba(22,0,238,.05);
    color: var(--blue);
    transform: translateX(4px);
  }
  .nav nav > a[aria-current="page"]:not(.button), .nav-services.current > summary {
    background: rgba(22,0,238,.08);
    color: var(--blue);
    font-weight: 700;
    border-left: 3.5px solid var(--blue);
    border-radius: 0 10px 10px 0;
    box-shadow: none;
  }

  /* Services accordion inside mobile menu */
  .nav-services { position: relative; width: 100%; }
  .nav-services[open] > summary { color: var(--blue); background: rgba(22,0,238,.04); }
  .nav-services[open] .nav-flyout {
    position: static;
    width: auto;
    margin: 6px 0 10px 10px;
    padding: 6px;
    background: rgba(22,0,238,.025);
    border: 1px solid rgba(22,0,238,.08);
    border-radius: 12px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .nav-flyout a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    font-size: .95rem;
    font-weight: 500;
    color: var(--muted);
    border-radius: 8px;
    transition: all .2s ease;
  }
  .nav-flyout a:hover, .nav-flyout a:focus-visible {
    background: #fff;
    color: var(--blue);
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(10,0,51,.04);
    transform: translateX(3px);
  }

  .nav .nav-cta {
    margin: 14px 0 4px;
    min-height: 52px;
    font-size: 1.05rem;
    font-weight: 700;
    justify-content: center;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(22,0,238,.24);
  }

  /* Direct contact footer inside drawer */
  .mobile-menu-footer {
    display: block;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(22,0,238,.08);
  }
  .mobile-contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .mobile-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 14px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--muted);
    border-radius: 8px;
    background: var(--paper);
    transition: all .2s ease;
  }
  .mobile-contact-link:hover {
    color: var(--blue);
    background: var(--blue-wash);
  }
  .mobile-contact-link svg { width: 18px; height: 18px; }
}

@media (max-width: 850px) {
  .homepage .hero, .system-layout, .engagement-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { grid-template-columns: 1fr; padding-block: 36px; }
  .hero-visual { width: 100%; aspect-ratio: 1.5; max-height: 420px; }
  .hero-stamp { right: 12px; top: 16px; }
  .system-map { transform: none; }
  .pillar-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-inner { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 12px; }
  .proof-label { justify-content: center; }
  .proof-logos { justify-content: center; }
  .about-industries { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; margin-bottom: 28px; }
  .layer-grid { grid-template-columns: 1fr; }
  .layer-grid article + article { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .layer-meta { margin-bottom: 18px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-layout > div > p:not(.eyebrow) { max-width: 60ch; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .rich-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .service-deliverables { grid-template-columns: 1fr; }
  .subhero-grid { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: 1fr; gap: 24px; }
  .playbook-content { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 680px) {
  .form-grid { grid-template-columns: 1fr; }
  .route-grid, .insight-grid { grid-template-columns: 1fr; }
}

@media (min-width: 571px) {
  .price-grid .plan:last-child { min-height: 0; }
  .price-grid .plan:last-child ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 1rem; }
  .price-grid .plan:last-child li { margin: 0; }
  .price-grid .plan:last-child .button { width: fit-content; }
}

@media (max-width: 570px) {
  .wrap { width: calc(100% - 28px); }
  .section { padding-block: 38px; }
  h1 { font-size: clamp(2.2rem, 9vw, 3rem); line-height: 1.08; text-wrap: balance; }
  .homepage .hero { padding-block: 28px; gap: 24px; }
  .hero h1 { font-size: clamp(2.25rem, 9.2vw, 3rem); }
  .hero-intro { font-size: 1rem; line-height: 1.6; }
  .hero-copy .eyebrow { margin-bottom: 14px; }
  .hero-visual { aspect-ratio: 1.35; max-height: 380px; overflow: hidden; }
  .hero-stamp { right: 8px; top: 10px; padding: 9px 12px; font-size: .74rem; }
  .visual-label { top: 14px; left: 12px; font-size: .56rem; }
  .visual-card { left: 12px; bottom: 12px; width: min(340px, calc(100% - 24px)); padding: 12px; box-shadow: var(--shadow-sm); }
  .actions { margin-top: 20px; flex-direction: column; align-items: stretch; gap: 10px; }
  .actions .button { width: 100%; justify-content: center; min-height: 48px; }
  .proof-window { width: min(100%, 25rem); justify-self: center; }
  .proof-logo { flex: 0 0 calc((100% - 32px) / 3); min-width: 0; padding-inline: 2px; }
  .hero-note { margin-top: 12px; text-align: center; }
  .section-head { margin-bottom: 20px; }
  h2, .section-head h2 { font-size: clamp(1.95rem, 7.5vw, 2.45rem); }
  .section-head .eyebrow, .faq-layout .eyebrow, .contact .eyebrow { margin-bottom: 12px; }
  .home-stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; padding-block: 24px; }
  .stat-card { padding-inline: 12px; }
  .stat-card:nth-child(3) { border-left: 0; }
  .stat-card:nth-child(3), .stat-card:nth-child(4) { border-top: 1px solid var(--line); padding-top: 18px; }
  .stat-num { font-size: clamp(1.8rem, 7vw, 2.3rem); }
  .testimonial-card { padding: 24px 20px; }
  .testimonials-header { margin-bottom: 22px; }
  .testimonial-card:not(.testimonial-project)::before { top: 44px; right: 12px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .steps li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 0 12px; }
  .steps span { grid-row: span 2; align-self: start; margin: 0; padding: 0; border: 0; font-size: 1.65rem; line-height: 1.2; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 16px; padding-left: 0; }
  .route-grid, .pillar-grid, .industry-list { grid-template-columns: 1fr; }
  .rich-grid, .rich-grid:has(article:nth-child(4)):not(:has(article:nth-child(5))) { grid-template-columns: 1fr; }
  .operations-section .rich-grid { grid-template-columns: 1fr; }
  .operations-section .rich-grid article {
    grid-template-columns: 38px minmax(0, 1fr); grid-template-rows: auto auto;
    gap: 10px 12px; padding: 16px;
  }
  .operations-section .rich-grid article > div { display: contents; }
  .operations-section .rich-grid h3 { align-self: center; margin: 0; font-size: 1.15rem; }
  .operations-section .rich-grid article p { grid-column: 1 / -1; margin: 0; }
  .operations-icon { width: 38px; height: 38px; }
  .layer-grid article + article { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .founder-grid, .insight-grid, .faq-layout, .contact-layout { grid-template-columns: 1fr; }
  .service-list summary { grid-template-columns: 25px minmax(0,1fr) 34px; gap: 2px 8px; padding: 4px 0; min-height: 58px; align-content: center; }
  .service-list summary > span:first-child { grid-row: 1 / 3; }
  .service-teaser { grid-column: 2; font-size: .83rem; }
  .service-list summary::after { grid-column: 3; grid-row: 1 / 3; }
  .service-body { margin-left: 0; padding: 12px 0 0; }
  .service-list details { padding: 14px; }
  .service-list summary strong { font-size: 1.3rem; }
  .price-grid { grid-template-columns: 1fr; }
  .js .plan-finder { gap: 16px; padding: 16px; }
  .size-presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .size-presets button { padding-inline: 4px; }
  .js .billing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .table-wrap :is(th,td) { padding: .75rem .65rem; }
  .table-wrap th:first-child { width: 7.5rem; }
  .plan, .plan.featured { min-height: 0; padding: 24px 18px; }
  .plan .button { font-size: .92rem; min-height: 48px; }
  .contact h1 { font-size: clamp(2.1rem, 8vw, 2.7rem); }
  .contact form .button { width: 100%; justify-content: center; min-height: 48px; }
  .subhero { padding-bottom: 28px; }
  .subhero-grid h1 { font-size: 2.3rem; }
  .sub-cta { padding-block: 32px; }
  .sub-cta .button { width: 100%; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; overflow-wrap: anywhere; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-main a:not(.logo) { min-height: 44px; }
  .footer-wordmark { font-size: clamp(1.8rem, 6vw, 3rem); padding-top: 28px; }
  footer { padding-bottom: 18px; }
  .legal {
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 14px 16px 2px;
    border: 1px solid rgba(255,255,255,.16); border-radius: 12px;
    background: rgba(255,255,255,.045); text-align: center;
  }
  .legal-identity { display: grid; gap: 4px; line-height: 1.5; }
  .legal-registration { font-size: .76rem; }
  .legal-registration::before { content: none; }
  .legal-credit { justify-content: center; border-top: 1px solid rgba(255,255,255,.16); }
  .legal a { min-height: 44px; padding-block: 10px; }
  .engagement-rows article { gap: 14px; }
  .engagement-icon { width: 38px; height: 38px; }
  .founder-grid article { display: grid; padding: 20px; gap: 12px; }
  .monogram { width: 44px; height: 44px; }
  .system-map { padding: 18px; }
  .map-row { gap: 12px; padding-block: 16px; }
  .route-grid article { padding: 20px; }
  .rich-grid article, .audience-section .rich-grid article, .pillar-grid article, .insight-grid article { padding: 20px; }
  .dot { animation: none; }
}

@media (max-width: 355px) {
  .wrap { width: calc(100% - 20px); }
}

@media (max-width: 730px) {
  .table-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 6px 12px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--blue);
    background: var(--blue-wash);
    border-radius: 6px;
    border: 1px solid var(--line);
  }
}

/* ═══ CURSOR GLOW (JS adds this) ═══ */
.hero { position: relative; }
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.hero-glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,0,238,.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: left .15s, top .15s;
}

/* ═══ JS MOTION LAYER ═══ */
#estimate-price { display: inline-block; }
@media (max-width: 850px) {
  .visual-label span { animation: none; }
}
@media screen and (prefers-reduced-motion: no-preference) {
  .footer-wordmark { animation: footer-gradient 10s ease-in-out infinite alternate; }
  .proof-window.is-scrolling:not(:focus) {
    width: 100%; overflow: hidden; container-type: inline-size;
    --edge-fade: clamp(10px, 4vw, 42px);
    mask-image: linear-gradient(to right, transparent, #000 var(--edge-fade), #000 calc(100% - var(--edge-fade)), transparent);
  }
  .proof-window.is-scrolling:not(:focus) .proof-track {
    display: flex;
    width: max-content;
    animation: proof-scroll 24s linear infinite;
  }
  .proof-window.is-scrolling:not(:focus) .proof-logos {
    display: flex; flex: none; min-width: 30rem; min-width: max(30rem, 100cqw);
    flex-wrap: nowrap; justify-content: space-around; padding-inline: 8px;
  }
  .proof-window.is-scrolling:not(:focus) .proof-logo { flex: none; }
}
@media (hover: hover) and (pointer: fine) {
  .proof-window:hover .proof-track { animation-play-state: paused; }
}
@keyframes proof-scroll {
  to { transform: translateX(-50%); }
}
@keyframes footer-gradient {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
@media print {
  [data-reveal="running"] { opacity: 1 !important; transform: none !important; }
}

/* Homepage cover and HROS overview */
.hros-announcement { background: var(--navy); color: #fff; text-align: center; padding: 9px 14px; font-size: .85rem; font-weight: 700; }
.hros-announcement a:hover { text-decoration: underline; }
.hros-announcement span { color: #c6bfff; }
.homepage .hros-cover { position: relative; isolation: isolate; display: block; padding-block: clamp(54px, 9vw, 144px); color: white; background: var(--navy); }
.hros-cover-photo,.hros-cover::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hros-cover-photo { object-fit: cover; object-position: center; z-index: -2; }
.hros-cover::before { content: ''; z-index: -1; background: linear-gradient(90deg, rgba(10,0,51,.98), rgba(10,0,51,.86) 50%, rgba(10,0,51,.52)); }
.hros-cover-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); align-items: center; gap: clamp(32px, 6vw, 100px); }
.hros-cover .hero-copy .eyebrow { color: #e0dcff; }
.hros-cover h1 em { color: #68e6a7; }
.hros-cover .hero-intro { color: #edeaff; }
.hros-cover .actions .outline { background: transparent; color: white; border-color: #c6bfff; }
.hros-cover .actions .outline:hover { background: var(--navy); }
.hros-cover .primary { background: #4532ff; }
.hros-cover a:focus-visible,.hros-announcement a:focus-visible { outline-color: #fff; }
.hros-board { background: rgba(10,0,51,.92); border: 1px solid #746b9d; border-radius: 16px; padding: clamp(16px, 3vw, 30px); }
.hros-board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hros-board h2 { font: 700 clamp(1rem, 2vw, 1.3rem)/1.2 var(--body); letter-spacing: -.02em; }
.hros-board-head span { font-size: .8rem; color: #e0dcff; white-space: nowrap; }
.hros-board ol { list-style: none; margin: 16px 0; padding: 0; }
.hros-board li { display: grid; grid-template-columns: 9px minmax(0,1fr); gap: 12px; align-items: start; padding: 13px 0; border-top: 1px solid #514877; }
.hros-board li:last-child { border-bottom: 1px solid #514877; }
.hros-board li p { font-size: .88rem; color: #d6d0ed; }
.hros-board-mark { width: 9px; height: 9px; margin-top: 9px; border-radius: 2px; background: #9c8dff; }
.hros-board li:nth-child(2) .hros-board-mark { background: #68e6a7; }
.hros-board li:nth-child(3) .hros-board-mark { background: #ff975f; }
.hros-board a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: #e0dcff; text-decoration: underline; text-underline-offset: .2em; }
.hros-paths { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; padding-block: clamp(28px, 6vw, 64px); }
.hros-paths section { padding: clamp(20px, 4vw, 46px); background: var(--blue-wash); }
.hros-paths section:first-child { border-top: 3px solid var(--blue); }
.hros-paths section:last-child { border-top: 3px solid var(--green); background: var(--white); }
.hros-paths h2 { font-size: clamp(1.7rem, 3.4vw, 3rem); }
.hros-paths p { margin-block: 12px 18px; color: var(--muted); }
@media (max-width: 850px) {
  .hros-cover-grid { grid-template-columns: 1fr; }
  .hros-cover::before { background: linear-gradient(180deg, rgba(10,0,51,.87), rgba(10,0,51,.97)); }
}
@media (max-width: 570px) {
  .hros-paths { grid-template-columns: 1fr; gap: 12px; }
  .hros-paths .button { width: 100%; }
}
