/* ==========================================================================
   Astraeon.ai — Design System
   Brand: navy #111A38 / gold #E8B84B / teal #0E9C96 / violet #6C5CE7
   Type:  Montserrat (display) + Inter (body)
   Layout language: AWS-style — dense, modular, card-driven, high contrast,
   single reserved accent colour for calls to action.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy-900: #0C1330;
  --navy-800: #111A38;
  --navy-700: #1B2650;
  --navy-600: #243163;
  --gold:      #E8B84B;
  --gold-deep: #B07C12;
  --gold-soft: #F2D083;
  --teal:      #0E9C96;
  --violet:    #6C5CE7;

  /* Surface */
  --paper: #FFFFFF;
  --mist:  #F5F6FA;
  --line:  #E5E7F0;
  --line-strong: #D3D7E6;

  /* Text */
  --ink:   #111A38;
  --body:  #454A5E;
  --muted: #8A90A6;
  --on-dark:      #FFFFFF;
  --on-dark-body: #C9CDE2;
  --on-dark-mute: #9AA1BE;

  /* Type */
  --display: 'Montserrat', 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --text:    'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;

  /* Space — 8px base */
  --s1: 4px;  --s2: 8px;   --s3: 12px;  --s4: 16px;  --s5: 24px;
  --s6: 32px; --s7: 48px;  --s8: 64px;  --s9: 88px;  --s10: 120px;

  /* Structure */
  --container: 1240px;
  --radius:    6px;
  --radius-lg: 12px;
  --header-h:  72px;

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(17, 26, 56, .06), 0 2px 8px rgba(17, 26, 56, .04);
  --shadow-2: 0 4px 12px rgba(17, 26, 56, .10), 0 12px 32px rgba(17, 26, 56, .08);
  --shadow-3: 0 12px 40px rgba(17, 26, 56, .16);

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5 { font-family: var(--display); color: var(--ink); margin: 0; line-height: 1.18; letter-spacing: -.02em; font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
strong, b { font-weight: 650; color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

/* Accessibility helpers */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 200;
  background: var(--gold); color: var(--navy-900); font-weight: 650;
  padding: var(--s3) var(--s5); border-radius: var(--radius); transition: top .18s var(--ease);
}
.skip-link:focus { top: var(--s4); }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s5); }

.section { padding-block: var(--s9); }
.section--tight { padding-block: var(--s8); }
.section--mist  { background: var(--mist); }
.section--dark  { background: var(--navy-800); color: var(--on-dark-body); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--on-dark); }

.section-head { max-width: 760px; margin-bottom: var(--s7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head > * + * { margin-top: var(--s4); }

.eyebrow {
  font-family: var(--display);
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0;
}
.section--dark .eyebrow { color: var(--gold); }

.h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -.03em; }
.h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.h4 { font-size: 1.0625rem; font-weight: 650; }

.lead { font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); line-height: 1.62; color: var(--body); }
.section--dark .lead { color: var(--on-dark-body); }
.muted { color: var(--muted); }
.section--dark .muted { color: var(--on-dark-mute); }

.rule { height: 3px; width: 56px; background: var(--gold); border-radius: 2px; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-family: var(--display); font-size: .9375rem; font-weight: 650; letter-spacing: .01em;
  padding: 13px 24px; border-radius: var(--radius);
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
  border: 1.5px solid transparent; white-space: nowrap; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--gold); color: var(--navy-900); box-shadow: var(--shadow-1); }
.btn--primary:hover { background: var(--gold-soft); box-shadow: var(--shadow-2); }

.btn--ghost-dark { border-color: rgba(255,255,255,.28); color: #fff; }
.btn--ghost-dark:hover { border-color: var(--gold); color: var(--gold); background: rgba(232,184,75,.06); }

.btn--ghost-light { border-color: var(--line-strong); color: var(--ink); background: var(--paper); }
.btn--ghost-light:hover { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }

.btn--sm { padding: 9px 18px; font-size: .875rem; }
.btn__arrow { transition: transform .18s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.textlink {
  font-family: var(--display); font-weight: 650; font-size: .9375rem;
  color: var(--gold-deep); display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1.5px solid transparent; transition: border-color .18s var(--ease), gap .18s var(--ease);
}
.textlink:hover { border-color: var(--gold-deep); gap: 10px; }
.section--dark .textlink { color: var(--gold); }
.section--dark .textlink:hover { border-color: var(--gold); }

/* --------------------------------------------------------------------------
   5. Brand lockup
   -------------------------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 28px; height: 28px; flex: none; }
.brand__mark path { fill: var(--gold); }
.brand__word {
  font-family: var(--display); font-weight: 800; font-size: 1.1875rem;
  letter-spacing: -.01em; color: #fff; line-height: 1;
}
.brand__word .dot-ai { color: var(--gold); }
.brand--ink .brand__word { color: var(--ink); }

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-800);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s5);
}
.nav { display: flex; align-items: center; gap: var(--s1); }
.nav__link {
  font-family: var(--display); font-size: .9375rem; font-weight: 550;
  color: #DDE1F0; padding: 9px 14px; border-radius: var(--radius);
  transition: color .16s var(--ease), background .16s var(--ease);
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav__link[aria-current="page"] { color: var(--gold); }

/* The in-nav CTA exists for the mobile drawer only; the header holds it on desktop */
.nav > .btn { display: none; }

.header__actions { display: flex; align-items: center; gap: var(--s3); }

.nav-toggle { display: none; padding: 8px; border-radius: var(--radius); color: #fff; }
.nav-toggle:hover { background: rgba(255,255,255,.08); }
.nav-toggle svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 78% 8%,  rgba(232,184,75,.16), transparent 62%),
    radial-gradient(760px 520px at 12% 96%, rgba(108,92,231,.24), transparent 66%),
    linear-gradient(145deg, #1A2450 0%, #111A38 52%, #0C1330 100%);
  color: var(--on-dark-body);
  padding-block: clamp(56px, 9vw, 104px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.hero__content > * + * { margin-top: var(--s5); }
.hero h1 { color: #fff; font-size: clamp(2.35rem, 5.2vw, 3.65rem); font-weight: 600; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lead { font-size: clamp(1.0625rem, 1.55vw, 1.1875rem); line-height: 1.62; color: var(--on-dark-body); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); padding-top: var(--s2); }
.hero__proof {
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6);
  padding-top: var(--s5); margin-top: var(--s6);
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero__proof li {
  display: flex; align-items: center; gap: 9px;
  font-size: .875rem; color: var(--on-dark-mute);
}
.hero__proof svg { width: 16px; height: 16px; flex: none; fill: var(--gold); }
.hero__visual { display: flex; justify-content: center; }
.hero__visual svg { width: 100%; max-width: 460px; height: auto; }

/* Constellation animation */
.cnode { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .cpulse { animation: cpulse 4.2s var(--ease) infinite; }
  .cpulse--b { animation-delay: .9s; }
  .cpulse--c { animation-delay: 1.8s; }
  .cpulse--d { animation-delay: 2.7s; }
  @keyframes cpulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
  .cdash { stroke-dasharray: 4 6; animation: cdash 3.2s linear infinite; }
  @keyframes cdash { to { stroke-dashoffset: -20; } }
}

/* --------------------------------------------------------------------------
   7b. Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(680px 380px at 88% 4%, rgba(232,184,75,.15), transparent 62%),
    radial-gradient(560px 380px at 4% 98%, rgba(108,92,231,.22), transparent 66%),
    linear-gradient(140deg, #1A2450 0%, #111A38 58%, #0C1330 100%);
  color: var(--on-dark-body);
  padding-block: clamp(48px, 7vw, 80px);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 800px; }
.page-hero__inner > * + * { margin-top: var(--s4); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 600; letter-spacing: -.03em; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero .lead { color: var(--on-dark-body); max-width: 62ch; }

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .8125rem; color: var(--on-dark-mute); }
.crumbs li::after { content: "/"; margin-left: 8px; color: rgba(255,255,255,.28); }
.crumbs li:last-child::after { content: none; }
.crumbs li { display: flex; align-items: center; }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: #fff; }

/* --------------------------------------------------------------------------
   7c. Prose (narrative copy blocks)
   -------------------------------------------------------------------------- */
.prose { max-width: 68ch; }
.prose > p + p { margin-top: var(--s5); }
.prose p { font-size: 1.0625rem; line-height: 1.68; }
.prose p:first-of-type { font-size: 1.1875rem; color: var(--ink); line-height: 1.6; }

.pullquote {
  margin-top: var(--s6); padding: var(--s5) var(--s6);
  border-left: 3px solid var(--gold); background: var(--mist); border-radius: 0 var(--radius) var(--radius) 0;
}
.pullquote p { font-family: var(--display); font-size: 1.125rem; font-weight: 500; color: var(--ink); line-height: 1.5; }
.pullquote cite { display: block; margin-top: var(--s3); font-style: normal; font-size: .8125rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   7d. Credential cards
   -------------------------------------------------------------------------- */
.cred {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s5); height: 100%; display: flex; flex-direction: column; gap: var(--s3);
}
.cred__status {
  align-self: flex-start;
  font-family: var(--display); font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
}
.cred__status--held       { background: rgba(14,156,150,.13);  color: #0B7C77; }
.cred__status--progress   { background: rgba(232,184,75,.18);  color: var(--gold-deep); }
.cred h3 { font-size: 1rem; font-weight: 650; }
.cred p { font-size: .9375rem; color: var(--body); }

/* --------------------------------------------------------------------------
   8. Sector marquee
   -------------------------------------------------------------------------- */
.marquee-band { background: var(--navy-900); padding-block: var(--s6); overflow: hidden; }
.marquee-band__label {
  font-family: var(--display); font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-mute);
  text-align: center; margin-bottom: var(--s5);
}
.marquee { position: relative; overflow: hidden; }
.marquee + .marquee { margin-top: var(--s3); }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--navy-900), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--navy-900), transparent); }
.marquee__track { display: flex; width: max-content; gap: var(--s3); will-change: transform; }
.marquee__track--ltr { animation: marquee-ltr 64s linear infinite; }
.marquee__track--rtl { animation: marquee-rtl 64s linear infinite; }
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee-ltr { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes marquee-rtl { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
}
.chip {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--display); font-size: .875rem; font-weight: 550; color: #D9DDEE;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  padding: 9px 18px; border-radius: 100px;
}
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }
.chip--teal::before   { background: var(--teal); }
.chip--violet::before { background: var(--violet); }

/* --------------------------------------------------------------------------
   9. Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--s5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-top: 3px solid var(--gold); border-radius: var(--radius);
  padding: var(--s6) var(--s5); height: 100%;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card > * + * { margin-top: var(--s3); }
.card p { font-size: .9375rem; color: var(--body); }
.card--teal   { border-top-color: var(--teal); }
.card--violet { border-top-color: var(--violet); }

.card__icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(232,184,75,.14); margin-bottom: var(--s2);
}
.card__icon svg { width: 22px; height: 22px; stroke: var(--gold-deep); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card--teal   .card__icon { background: rgba(14,156,150,.12); }
.card--teal   .card__icon svg { stroke: var(--teal); }
.card--violet .card__icon { background: rgba(108,92,231,.12); }
.card--violet .card__icon svg { stroke: var(--violet); }

/* --------------------------------------------------------------------------
   10. Phases
   -------------------------------------------------------------------------- */
.phase {
  display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  padding-block: var(--s7);
  border-top: 1px solid var(--line);
}
.phase:first-of-type { border-top: 0; padding-top: 0; }
.phase__aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.phase__num {
  font-family: var(--display); font-size: 3.25rem; font-weight: 300;
  color: var(--gold); line-height: 1; letter-spacing: -.04em;
}
.phase__aside h3 { margin-top: var(--s3); }
.phase__aside p  { margin-top: var(--s3); font-size: .9375rem; color: var(--muted); }
.phase__tag {
  display: inline-block; margin-top: var(--s4);
  font-family: var(--display); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-deep); background: rgba(232,184,75,.15);
  padding: 5px 12px; border-radius: 100px;
}

.deliverables { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.deliverables li { background: var(--paper); padding: var(--s4) var(--s5); display: flex; gap: var(--s4); align-items: flex-start; }
.deliverables li:hover { background: #FBFCFE; }
.deliverables__check { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--gold-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.deliverables__text strong { display: block; font-family: var(--display); font-size: .9375rem; font-weight: 650; color: var(--ink); }
.deliverables__text span { display: block; margin-top: 3px; font-size: .875rem; color: var(--muted); line-height: 1.55; }

/* --------------------------------------------------------------------------
   11. Sector families
   -------------------------------------------------------------------------- */
.family {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--s5); height: 100%;
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.family:hover { box-shadow: var(--shadow-1); border-color: var(--line-strong); }
.family__head { display: flex; align-items: center; gap: var(--s3); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.family__dot { width: 9px; height: 9px; border-radius: 2px; background: var(--gold); flex: none; }
.family__head h3 { font-size: .9375rem; font-weight: 700; }
.family ul { margin-top: var(--s3); display: flex; flex-wrap: wrap; gap: 6px; }
.family li { font-size: .8125rem; color: var(--body); background: var(--mist); border: 1px solid var(--line); padding: 4px 10px; border-radius: 4px; }

/* --------------------------------------------------------------------------
   12. Pricing
   -------------------------------------------------------------------------- */
.price-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s6) var(--s5); height: 100%; display: flex; flex-direction: column;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.price-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.price-card--feature { border-color: var(--gold); box-shadow: var(--shadow-1); position: relative; }
.price-card__flag {
  position: absolute; top: -11px; left: var(--s5);
  font-family: var(--display); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: var(--gold); color: var(--navy-900); padding: 4px 11px; border-radius: 3px;
}
.price-card__label { font-family: var(--display); font-size: .9375rem; font-weight: 650; color: var(--ink); }
.price-card__fig { font-family: var(--display); font-size: 2.5rem; font-weight: 300; color: var(--navy-800); letter-spacing: -.04em; line-height: 1; margin-top: var(--s3); }
.price-card__unit { font-size: .875rem; color: var(--muted); margin-top: var(--s2); }
.price-card__note { font-size: .875rem; color: var(--body); margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   13. Use-case pills
   -------------------------------------------------------------------------- */
.usecases { display: flex; flex-wrap: wrap; gap: var(--s3); }
.usecase {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 11px 18px; font-size: .9375rem; color: var(--ink); font-weight: 500;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.usecase:hover { border-color: var(--gold); box-shadow: var(--shadow-1); }
.usecase svg { width: 17px; height: 17px; flex: none; stroke: var(--gold-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------------
   14. Split feature (image + copy)
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 72px); align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-800); box-shadow: var(--shadow-3); }
.split__media picture { display: block; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split__body > * + * { margin-top: var(--s4); }

/* Placeholder while imagery is being selected */
.media-placeholder {
  aspect-ratio: 4 / 3; display: flex; flex-direction: column; gap: var(--s3);
  align-items: center; justify-content: center; text-align: center; padding: var(--s6);
  background: repeating-linear-gradient(135deg, #1B2650 0 12px, #16203F 12px 24px);
  color: var(--on-dark-mute); font-size: .8125rem;
}
.media-placeholder svg { width: 38px; height: 38px; stroke: var(--gold); fill: none; stroke-width: 1.4; }

/* --------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 400px at 85% 10%, rgba(232,184,75,.18), transparent 64%),
    radial-gradient(620px 420px at 8% 92%, rgba(108,92,231,.24), transparent 66%),
    linear-gradient(140deg, #1A2450 0%, #111A38 56%, #0C1330 100%);
  color: var(--on-dark-body); padding-block: var(--s9); text-align: center;
}
.cta-band__inner { max-width: 720px; margin-inline: auto; }
.cta-band__inner > * + * { margin-top: var(--s5); }
.cta-band h2 { color: #fff; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--navy-900); color: var(--on-dark-mute); padding-block: var(--s8) var(--s6); font-size: .875rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.footer__blurb { margin-top: var(--s4); max-width: 34ch; line-height: 1.65; }
.footer h4 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: var(--s4); }
.footer li + li { margin-top: 10px; }
.footer a:hover { color: var(--gold); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 15px; height: 15px; flex: none; margin-top: 4px; stroke: var(--gold); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer__base {
  margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: var(--s4); justify-content: space-between; align-items: center;
  font-size: .8125rem;
}
.footer__legal { max-width: 62ch; line-height: 1.6; }
.footer__powered { display: inline-flex; align-items: center; gap: 8px; }
.footer__powered::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* Editorial flags for unverified content — removed before launch */
.todo {
  background: rgba(232,184,75,.14); border: 1px dashed var(--gold-deep);
  color: var(--gold-deep); border-radius: 4px; padding: 1px 7px;
  font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s7) var(--s6); }
}

@media (max-width: 920px) {
  :root { --s9: 64px; --s10: 80px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { order: -1; max-width: 340px; margin-inline: auto; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .phase { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .phase__aside { position: static; }

  /* Mobile navigation */
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-800); border-bottom: 1px solid rgba(255,255,255,.12);
    padding: var(--s3) var(--s5) var(--s5);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__link { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; font-size: 1rem; }
  .header__actions .btn--primary { display: none; }
  .nav > .btn { display: inline-flex; margin-top: var(--s4); width: 100%; }
}

@media (max-width: 640px) {
  :root { --s9: 56px; }
  .container { padding-inline: var(--s4); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .marquee::before, .marquee::after { width: 56px; }
  .hero__proof { gap: var(--s3); flex-direction: column; }
  .btn { width: 100%; }
  .hero__actions .btn, .cta-band__actions .btn { flex: 1 1 100%; }
}

/* --------------------------------------------------------------------------
   18. Print
   -------------------------------------------------------------------------- */
@media print {
  .header, .nav-toggle, .marquee-band, .cta-band { display: none; }
  body { color: #000; }
  .section { padding-block: 24px; }
}

/* --------------------------------------------------------------------------
   19. Partner / backing band
   -------------------------------------------------------------------------- */
.partner-band { background: var(--navy-800); color: var(--on-dark-body); padding-block: var(--s8); }
.partner-band__grid {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.partner-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.partner-band p { color: var(--on-dark-body); }
.partner-band p + p { margin-top: var(--s4); }

.partner-lockups { display: flex; flex-wrap: wrap; gap: var(--s4); }
.partner-lockup {
  display: inline-flex; align-items: center; gap: var(--s3);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: var(--s4) var(--s5);
}
.partner-lockup img, .partner-lockup svg { width: 30px; height: 30px; flex: none; }
.partner-lockup__text { line-height: 1.3; }
.partner-lockup__text strong {
  display: block; font-family: var(--display); font-size: .9375rem;
  font-weight: 650; color: #fff;
}
.partner-lockup__text span { display: block; font-size: .75rem; color: var(--on-dark-mute); margin-top: 2px; }

/* Slim variant: a single trust strip rather than a full section */
.partner-band--slim { padding-block: var(--s7); }
.partner-band--slim .partner-band__grid { grid-template-columns: auto minmax(0, 1fr); gap: var(--s6); }
.partner-band--slim p { font-size: .9375rem; max-width: 84ch; }

@media (max-width: 920px) {
  .partner-band__grid,
  .partner-band--slim .partner-band__grid { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   20. Phase pricing + engagement steps
   -------------------------------------------------------------------------- */
.phase__price { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); }
.phase__price .fig {
  font-family: var(--display); font-size: 1.875rem; font-weight: 300;
  color: var(--navy-800); letter-spacing: -.035em; line-height: 1;
}
.phase__price .unit { font-size: .8125rem; color: var(--muted); margin-top: 6px; }
.phase__price .dur {
  display: inline-block; margin-top: var(--s3);
  font-family: var(--display); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); background: rgba(14,156,150,.12);
  padding: 4px 11px; border-radius: 100px;
}

.step-card {
  background: var(--paper); border: 1px solid var(--line);
  border-top: 3px solid var(--gold); border-radius: var(--radius);
  padding: var(--s5); height: 100%;
}
.step-card__n {
  font-family: var(--display); font-size: 2rem; font-weight: 300;
  color: var(--gold); line-height: 1; letter-spacing: -.04em;
}
.step-card h3 { font-size: 1rem; font-weight: 650; margin-top: var(--s3); }
.step-card p { font-size: .9375rem; color: var(--body); margin-top: var(--s3); }

.vat-note { font-size: .8125rem; color: var(--muted); margin-top: var(--s5); }

/* --------------------------------------------------------------------------
   21. Events
   -------------------------------------------------------------------------- */
.workshop {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(28px, 5vw, 56px); align-items: start;
  background: var(--paper); border: 1px solid var(--line);
  border-top: 3px solid var(--gold); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}
.workshop__body > * + * { margin-top: var(--s4); }
.workshop__meta { display: flex; flex-wrap: wrap; gap: var(--s3); }
.meta-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 500; color: var(--ink);
  background: var(--mist); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 100px;
}
.meta-pill svg { width: 15px; height: 15px; flex: none; stroke: var(--gold-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.bring { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bring li { background: var(--paper); padding: var(--s4) var(--s5); display: flex; gap: var(--s4); align-items: center; font-size: .9375rem; color: var(--ink); }
.bring svg { width: 19px; height: 19px; flex: none; stroke: var(--gold-deep); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* QR panel */
.qr-panel {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--s5); text-align: center;
}
.qr-panel__code {
  width: 100%; max-width: 220px; margin: 0 auto var(--s4);
  aspect-ratio: 1; padding: var(--s3);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.qr-panel__code img { width: 100%; height: 100%; }
.qr-panel h3 { font-size: 1rem; font-weight: 650; }
.qr-panel p { font-size: .875rem; color: var(--muted); margin-top: var(--s2); }
.qr-panel .btn { margin-top: var(--s4); width: 100%; }

/* Large scannable variant for the room */
.qr-stage { text-align: center; }
.qr-stage__code {
  width: min(420px, 78vw); margin: 0 auto var(--s5);
  aspect-ratio: 1; padding: var(--s5);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-3);
}
.qr-stage__code img { width: 100%; height: 100%; }

/* Status notice for a page with no dates published yet */
.notice {
  display: flex; gap: var(--s4); align-items: flex-start;
  background: rgba(232,184,75,.10); border: 1px solid rgba(176,124,18,.28);
  border-left: 3px solid var(--gold-deep);
  border-radius: var(--radius); padding: var(--s5);
}
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; stroke: var(--gold-deep); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.notice p { font-size: .9375rem; color: var(--body); }
.notice strong { display: block; margin-bottom: 4px; }

@media (max-width: 920px) {
  .workshop { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   22. FAQ accordion
   Built on <details>/<summary> so answers are in the DOM and crawlable
   even when collapsed, and the page works with JavaScript disabled.
   -------------------------------------------------------------------------- */
.faq-nav { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s7); }
.faq-nav a {
  font-family: var(--display); font-size: .875rem; font-weight: 600;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: 100px;
  padding: 9px 18px; transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.faq-nav a:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.faq-group + .faq-group { margin-top: var(--s8); }
.faq-group__head { display: flex; align-items: baseline; gap: var(--s4); padding-bottom: var(--s4); border-bottom: 2px solid var(--navy-800); }
.faq-group__head h2 { font-size: 1.25rem; }
.faq-group__count { font-size: .8125rem; color: var(--muted); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; gap: var(--s5); align-items: flex-start; justify-content: space-between;
  padding: var(--s5) 0;
  font-family: var(--display); font-size: 1.0625rem; font-weight: 600;
  color: var(--ink); line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-deep); }
.faq-item__icon {
  flex: none; width: 22px; height: 22px; margin-top: 2px;
  stroke: var(--gold-deep); fill: none; stroke-width: 2; stroke-linecap: round;
  transition: transform .2s var(--ease);
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__body { padding: 0 0 var(--s6); max-width: 78ch; }
.faq-item__body p { font-size: .9688rem; line-height: 1.68; }
.faq-item__body p + p { margin-top: var(--s4); }
.faq-item__body ul { margin-top: var(--s4); display: grid; gap: var(--s2); }
.faq-item__body li { position: relative; padding-left: var(--s5); font-size: .9688rem; line-height: 1.6; }
.faq-item__body li::before {
  content: ""; position: absolute; left: 2px; top: 10px;
  width: 6px; height: 6px; border-radius: 2px; background: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__icon { transition: none; }
}

/* --------------------------------------------------------------------------
   23. Ownership list
   -------------------------------------------------------------------------- */
.owns {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.owns li {
  background: var(--paper); padding: var(--s4) var(--s5);
  display: flex; gap: var(--s4); align-items: flex-start;
  font-size: .9375rem; color: var(--ink); line-height: 1.5;
}
.owns svg {
  width: 18px; height: 18px; flex: none; margin-top: 3px;
  stroke: var(--teal); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.owns li span small { display: block; margin-top: 2px; font-size: .8125rem; color: var(--muted); }

.owns-callout {
  margin-top: var(--s5); padding: var(--s5) var(--s6);
  background: var(--navy-800); color: var(--on-dark-body);
  border-radius: var(--radius); border-left: 3px solid var(--gold);
}
.owns-callout p { font-size: .9688rem; line-height: 1.62; }
.owns-callout strong { color: var(--gold); }

@media (max-width: 720px) { .owns { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   24. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px); align-items: start;
}

.contact-card {
  background: var(--navy-800); color: var(--on-dark-body);
  border-radius: var(--radius); padding: var(--s6) var(--s5);
}
.contact-card h2 { color: #fff; font-size: 1.25rem; }
.contact-card__role { font-size: .875rem; color: var(--gold); margin-top: 4px; }
.contact-card__list { margin-top: var(--s5); display: grid; gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.contact-card__list li { background: var(--navy-800); padding: var(--s4); display: flex; gap: var(--s4); align-items: flex-start; }
.contact-card__list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card__list span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-mute); font-family: var(--display); }
.contact-card__list a, .contact-card__list p { display: block; font-size: .9375rem; color: #fff; margin-top: 3px; word-break: break-word; }
.contact-card__list a:hover { color: var(--gold); }

/* Form */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--display); font-size: .8125rem; font-weight: 650; color: var(--ink); }
.field .hint { font-size: .75rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--text); font-size: .9375rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 12px 14px; width: 100%;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { min-height: 148px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(232,184,75,.22);
}
.field input::placeholder, .field textarea::placeholder { color: #A9AEC2; }
.form-consent { grid-column: 1 / -1; display: flex; gap: var(--s3); align-items: flex-start; }
.form-consent input { width: 17px; height: 17px; margin-top: 3px; flex: none; accent-color: var(--gold-deep); }
.form-consent label { font-family: var(--text); font-size: .8125rem; font-weight: 400; color: var(--muted); line-height: 1.55; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; }

@media (max-width: 920px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   25. Event listing
   -------------------------------------------------------------------------- */
.event-list { display: grid; gap: var(--s4); }
.event-card {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) 210px;
  gap: var(--s5); align-items: start;
  background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--gold); border-radius: var(--radius);
  padding: var(--s5);
  transition: box-shadow .2s var(--ease);
}
.event-card:hover { box-shadow: var(--shadow-2); }
.event-card--muted { border-left-color: var(--line-strong); opacity: .92; }

.event-card__date {
  text-align: center; background: var(--mist);
  border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4) var(--s2);
}
.event-card__month {
  display: block; font-family: var(--display); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep);
}
.event-card__day {
  display: block; margin-top: 4px; font-family: var(--display);
  font-size: 1.75rem; font-weight: 300; color: var(--navy-800); line-height: 1;
}

.event-card__body h3 { font-size: 1.125rem; font-weight: 650; }
.event-card__meta { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); margin: var(--s3) 0; }
.event-card__meta li { display: flex; align-items: center; gap: 8px; font-size: .8438rem; color: var(--muted); }
.event-card__meta svg { width: 15px; height: 15px; flex: none; stroke: var(--gold-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.event-card__body p { font-size: .9375rem; color: var(--body); }

.event-card__action { display: flex; flex-direction: column; gap: var(--s3); align-items: stretch; }
.event-card__status {
  font-family: var(--display); font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; text-align: center;
  color: var(--gold-deep); background: rgba(232,184,75,.16);
  padding: 6px 10px; border-radius: 100px;
}
.event-card--muted .event-card__status { color: var(--muted); background: var(--mist); }
.event-card__action .btn { width: 100%; }

@media (max-width: 860px) {
  .event-card { grid-template-columns: 76px minmax(0, 1fr); }
  .event-card__action { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .event-card__action .btn { width: auto; }
}
@media (max-width: 520px) {
  .event-card { grid-template-columns: minmax(0, 1fr); }
  .event-card__date { display: inline-block; justify-self: start; padding-inline: var(--s5); }
  .event-card__action { flex-direction: column; align-items: stretch; }
  .event-card__action .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   26. Utilities
   These exist so no element needs an inline style attribute, which lets the
   Content Security Policy drop 'unsafe-inline' from style-src entirely.
   -------------------------------------------------------------------------- */
.u-mb-4 { margin-bottom: var(--s4); }
.u-mb-5 { margin-bottom: var(--s5); }
.u-mt-5 { margin-top: var(--s5); }
.u-mt-6 { margin-top: var(--s6); }
.u-ml-1 { margin-left: 6px; }
.u-pt-2 { padding-top: var(--s2); }
.u-pt-5 { padding-top: var(--s5); }
.u-items-start { align-items: start; }
.u-my-head { margin-block: var(--s4) var(--s6); }

.family__dot--teal   { background: var(--teal); }
.family__dot--deep   { background: var(--gold-deep); }
.family__dot--violet { background: var(--violet); }
