/* =========================================================================
   GroupStay Partners — design tokens + every component.

   The look: midnight navy, warm gold, real paper. The reference points are the
   places that sell trust rather than inventory — private banking, members'
   clubs, aviation — not discount travel. Concretely that means four things
   used consistently:

     1. TEXTURE. Flat #0b1730 reads cheap at scale. Every dark surface carries
        a grain layer and an aura, so it reads as a printed field, not a div.
     2. HAIRLINES, not borders. Gradient strokes that fade around a card.
     3. LIGHT THAT FOLLOWS YOU. `.spot` cards carry a cursor-tracked highlight.
     4. ONE ACCENT. Gold is load-bearing. Nothing else is allowed to be bright.

   One stylesheet, no framework, no build step.
   ========================================================================= */

@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-var.woff2') format('woff2-variations');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-990: #030713;
  --navy-950: #060c1c;
  --navy-900: #0b1730;
  --navy-850: #0e1c39;
  --navy-800: #12244a;
  --navy-700: #1a3160;
  --navy-600: #24427c;

  --gold: #d8a441;
  --gold-lt: #eec680;
  --gold-hi: #f8e2b4;
  --gold-dk: #a97c26;

  --paper: #fbfaf7;
  --paper-2: #f3efe7;
  --paper-3: #e9e3d7;
  --ink: #101828;
  --ink-2: #3d4658;
  --ink-3: #6b7488;

  --cream: #f4efe6;
  --cream-2: #cbd3e4;
  --cream-3: #93a0bb;

  --line-d: rgba(216, 164, 65, 0.18);
  --line-l: rgba(16, 24, 40, 0.1);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.075);
  --stroke: rgba(255, 255, 255, 0.1);

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1220px;
  --wrap-n: 780px;
  --r: 16px;
  --r-lg: 24px;
  --r-sm: 10px;

  --shadow: 0 18px 44px -18px rgba(6, 12, 28, 0.45);
  --shadow-lg: 0 34px 80px -26px rgba(6, 12, 28, 0.6);
  --shadow-xl: 0 60px 120px -44px rgba(3, 7, 19, 0.85);
  --glow: 0 0 44px -6px rgba(216, 164, 65, 0.45);
  --ease: cubic-bezier(0.22, 0.68, 0.28, 1);

  /* Grain. One 120px tile of fractal noise, reused by every dark surface. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

/* A component that sets its own `display` silently defeats the `hidden`
   attribute. The chat panel shipped open on every page because of exactly
   this. Global, so the next component to use [hidden] cannot repeat it. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.95rem, 4.1vw, 3.1rem); }
h3 { font-size: 1.2rem; font-family: var(--sans); font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-style: italic; color: var(--gold); }

/* The gold in a display italic is doing a lot of work — give it a little
   luminance so it reads as light rather than as a highlighter. */
h1 em, h2 em {
  background: linear-gradient(96deg, var(--gold-hi), var(--gold) 44%, var(--gold-dk));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--navy-950);
  padding: 12px 20px; font-weight: 650; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, var(--wrap-n)); }

/* ------------------------------------------------------------ surfaces --- */

/**
 * Grain + aura on every dark field. `::before` is the grain (multiply-ish,
 * very low alpha); it must never intercept clicks, and it must sit under the
 * content, so z-index on the section's own children is set where needed.
 */
.hero, .phero, .band-dark, .band-gold-thin, .cta-band, .site-foot, .form-aside, .calc-out {
  position: relative;
  isolation: isolate;
}
.hero::before, .phero::before, .band-dark::before, .band-gold-thin::before,
.cta-band::before, .site-foot::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background-image: var(--grain);
  background-size: 120px 120px;
  opacity: 0.16;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/**
 * Cursor-tracked highlight. site.js writes --mx/--my on pointermove; with no
 * JavaScript the fallback centre keeps the hover state looking deliberate
 * rather than broken.
 */
.spot { position: relative; --mx: 50%; --my: 0%; }
.spot::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(216, 164, 65, 0.16), transparent 62%);
  opacity: 0; transition: opacity .35s var(--ease);
  pointer-events: none;
}
.spot:hover::after, .spot:focus-within::after { opacity: 1; }
.band:not(.band-dark) .spot::after { background: radial-gradient(340px circle at var(--mx) var(--my), rgba(216, 164, 65, 0.13), transparent 62%); }

/* ------------------------------------------------------------- buttons --- */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 28px; border-radius: 100px; border: 1.5px solid transparent;
  font: 650 15.5px/1 var(--sans); letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease),
              background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-ico { width: 17px; height: 17px; flex: none; transition: transform .22s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn-ico { transform: translateX(2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 48%, var(--gold-dk));
  color: #23180a;
  box-shadow: 0 12px 30px -12px rgba(216, 164, 65, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  overflow: hidden;
}
/* A slow sheen across the primary button. Once, on hover — not a loop. */
.btn-gold::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.55) 48%, transparent 64%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn-gold:hover::before { transform: translateX(120%); }
.btn-gold:hover { box-shadow: 0 18px 40px -12px rgba(216, 164, 65, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-gold > * { position: relative; z-index: 1; }

.btn-ghost { border-color: currentColor; color: inherit; background: transparent; opacity: .88; }
.btn-ghost:hover { background: rgba(216, 164, 65, .1); border-color: var(--gold); color: var(--gold); opacity: 1; }

.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.btn-inline { vertical-align: middle; margin-left: 6px; }

.link-more {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--gold); font-weight: 620; text-decoration: none;
  border-bottom: 1.5px solid rgba(216, 164, 65, .35); padding-bottom: 2px;
}
.link-more:hover { border-bottom-color: var(--gold); }
.go-ico { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.link-more:hover .go-ico, .seg-card:hover .go-ico { transform: translateX(4px); }

.gs-icon { width: 20px; height: 20px; flex: none; }

/* ---------------------------------------------------------- the eyebrow --- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 11.5px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 20px;
}
.pip {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--gold); box-shadow: 0 0 0 0 rgba(216, 164, 65, .55);
  animation: pip 2.6s var(--ease) infinite;
}
@keyframes pip {
  0% { box-shadow: 0 0 0 0 rgba(216, 164, 65, .5); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(216, 164, 65, 0); }
}

/* -------------------------------------------------------------- header --- */

.site-head {
  position: sticky; top: 0; z-index: 90;
  background: rgba(3, 7, 19, 0.72);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  color: var(--cream);
}
.site-head.stuck {
  background: rgba(3, 7, 19, 0.93);
  border-bottom-color: var(--line-d);
  box-shadow: 0 18px 40px -30px #000;
}
.head-in { display: flex; align-items: center; gap: 26px; min-height: 78px; }

.brand { text-decoration: none; color: var(--cream); flex: none; }
.gs-mark { display: inline-flex; align-items: center; gap: 11px; }
.gs-mark-glyph { width: 34px; height: 34px; color: var(--gold); flex: none; transition: transform .4s var(--ease); }
.brand:hover .gs-mark-glyph { transform: rotate(-6deg) scale(1.06); }
.gs-mark-text { display: flex; flex-direction: column; line-height: 1; }
.gs-mark-text b { font: 700 19px/1 var(--serif); letter-spacing: -0.02em; }
.gs-mark-text i {
  font: 550 9.5px/1 var(--sans); font-style: normal;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-top: 4px;
}

.nav { margin-left: auto; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px; border-radius: 9px;
  font: 550 14.5px/1 var(--sans); color: var(--cream-2); text-decoration: none;
  transition: color .18s, background-color .18s;
}
.nav-list > li > a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-list > li > a:hover { color: var(--gold); }
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current]::after { transform: scaleX(1); }
.nav-list > li > a[aria-current] { color: var(--gold); }
.caret { width: 13px; height: 13px; opacity: .55; transition: transform .2s var(--ease); }
.has-sub:hover .caret { transform: rotate(180deg); }

.has-sub { position: relative; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 226px;
  list-style: none; margin: 0; padding: 8px;
  background: rgba(8, 16, 36, .97); border: 1px solid var(--line-d);
  border-radius: 14px; box-shadow: var(--shadow-xl);
  backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a {
  display: block; padding: 10px 13px; border-radius: 8px;
  font: 550 14px/1.3 var(--sans); color: var(--cream-2); text-decoration: none;
  transition: background-color .16s, color .16s, padding-left .16s;
}
.sub a:hover, .sub a[aria-current] { background: rgba(216,164,65,.12); color: var(--gold); padding-left: 17px; }

.head-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.head-phone {
  display: inline-flex; align-items: center; gap: 7px;
  font: 620 14.5px/1 var(--sans); color: var(--cream); text-decoration: none;
}
.head-phone .gs-icon { width: 16px; height: 16px; color: var(--gold); }
.head-phone:hover { color: var(--gold); }

.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 23px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { background: var(--navy-990); border-top: 1px solid var(--line-d); padding: 14px 20px 22px; }
.mobile-nav ul { list-style: none; margin: 0 0 14px; padding: 0; }
.mobile-nav a {
  display: block; padding: 13px 4px; color: var(--cream);
  font: 600 16.5px/1 var(--sans); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav .sub-item a { padding-left: 18px; font-size: 15px; font-weight: 500; color: var(--cream-3); }
.mobile-quote { color: var(--gold) !important; }
.mobile-call {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px; border-radius: 100px; background: var(--gold); color: #23180a;
  font: 680 16px/1 var(--sans); text-decoration: none;
}

/* ============================================================== the hero === */

.hero { background: var(--navy-990); color: var(--cream); overflow: hidden; }

/* Aurora. Three offset radials that drift, so the field is never flat. */
.hero-aura {
  position: absolute; inset: -30% -20% -10%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38% 44% at 18% 22%, rgba(36, 66, 124, .62), transparent 68%),
    radial-gradient(34% 40% at 78% 14%, rgba(216, 164, 65, .18), transparent 66%),
    radial-gradient(46% 50% at 62% 88%, rgba(26, 49, 96, .55), transparent 70%);
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to   { transform: translate3d(2%, 2.5%, 0) scale(1.07); }
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(216,164,65,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216,164,65,.055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(78% 70% at 50% 34%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(78% 70% at 50% 34%, #000, transparent 78%);
}
.hero-fade {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 150px; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--navy-990) 82%);
  pointer-events: none;
}

.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 4.5vw, 68px);
  align-items: center;
  padding: clamp(52px, 7vw, 96px) 0 clamp(64px, 8vw, 104px);
}
/* The hero headline lives in a half-width column, so it cannot take the full
   display scale — at 4.6rem "Group hotel blocks" broke across three lines and
   the two-line lockup stopped reading as a lockup. */
.hero h1 { font-size: clamp(2.35rem, 4.4vw, 3.9rem); margin-bottom: 22px; }
.hero-sub { font-size: clamp(1.03rem, 1.5vw, 1.18rem); color: var(--cream-2); max-width: 54ch; margin-bottom: 28px; }

.hero-alt { display: flex; align-items: center; gap: 14px; margin: 18px 0 22px; flex-wrap: wrap; }
.hero-alt span { font-size: .9rem; color: var(--cream-3); }
.hero-alt .btn-ghost { color: var(--cream-2); border-color: rgba(255,255,255,.24); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 0; padding: 0; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font: 550 14px/1.4 var(--sans); color: var(--cream-3); }
.hero-trust .gs-icon { width: 15px; height: 15px; color: var(--gold); }

/* ------------------------------------------------------- the starter --- */

.starter {
  padding: 18px;
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255,255,255,.085), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.14);
}
.starter-head {
  display: flex; align-items: center; gap: 9px; margin: 0 0 14px;
  font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3);
}
.starter-head .gs-icon { width: 15px; height: 15px; color: var(--gold); }
.starter-row { display: grid; grid-template-columns: 1.5fr 1fr .72fr; gap: 10px; margin-bottom: 13px; }
.st-fld { display: grid; gap: 6px; min-width: 0; }
.st-fld > span {
  font: 600 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-3);
}
.st-fld input {
  width: 100%; min-width: 0;
  padding: 13px 13px; border-radius: 12px;
  background: rgba(3, 7, 19, .55);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--cream); font: 500 15.5px/1.2 var(--sans);
  color-scheme: dark; /* so the native date picker is legible on navy */
  transition: border-color .18s, box-shadow .18s, background-color .18s;
}
.st-fld input::placeholder { color: rgba(147,160,187,.72); }
.st-fld input:focus {
  outline: none; border-color: var(--gold);
  background: rgba(3, 7, 19, .75);
  box-shadow: 0 0 0 3.5px rgba(216,164,65,.18);
}
.starter-go { margin-top: 2px; }
.starter-fine { margin: 12px 0 0; font-size: .78rem; line-height: 1.5; color: var(--cream-3); text-align: center; }

/* --------------------------------------------------- the drawn block --- */

.hero-panel { min-width: 0; }
.panel-glass {
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.015));
  border: 1px solid rgba(216,164,65,.24);
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
}
.panel-top {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(3,7,19,.4);
}
.panel-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 12px 2px rgba(216,164,65,.6); flex: none;
}
.panel-title { font: 600 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cream-3); }
.panel-art { background: linear-gradient(180deg, #050a18, #0a1530); }
.gs-hero-art { width: 100%; height: auto; display: block; }
.panel-cap {
  margin: 0; padding: 16px 20px 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(3,7,19,.4);
  display: grid; gap: 5px;
}
.panel-cap strong {
  font: 700 1.3rem/1 var(--serif); color: var(--gold);
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.panel-cap span { font-size: .82rem; line-height: 1.55; color: var(--cream-3); }

/* --------------------------------------------- the rooms lighting up --- */

/**
 * Turning ON is an animation; turning OFF is a transition.
 *
 * That split is the whole trick. An animation re-fires every time the class is
 * added, so when the visitor types a bigger number only the NEW rooms flare —
 * the ones already lit sit still. A transition would have re-eased all of them
 * on every keystroke.
 *
 * `transform-box: fill-box` is not optional: without it an SVG rect scales
 * about the origin of the whole 760x720 viewBox, and the cells fly off the
 * tower instead of popping in place.
 */
.gs-cell {
  fill: var(--gold);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transition: opacity .3s var(--ease);
}
.gs-cell.on { opacity: .95; animation: cellOn .5s var(--ease) backwards; }
@keyframes cellOn {
  0%   { opacity: 0; transform: scale(.35); }
  55%  { opacity: 1; transform: scale(1.16); }
  100% { opacity: .95; transform: scale(1); }
}
/**
 * The stagger belongs to the opening sweep only. Leave it on and a visitor
 * going from 24 rooms to 25 waits most of a second for the 25th window,
 * because its delay is a function of its index. site.js drops .intro once the
 * sweep has run.
 */
.gs-cells.intro .gs-cell.on { animation-delay: var(--d, 0s); }

.gs-block-wash, .gs-block-tag { transition: opacity .4s var(--ease); }
.gs-block-ring { animation: ringPulse 4.4s ease-in-out infinite; }
@keyframes ringPulse { 0%, 100% { opacity: .34; } 50% { opacity: .68; } }
.gs-spill { animation: spill 5.6s ease-in-out infinite; }
@keyframes spill { 0%, 100% { opacity: .5; } 50% { opacity: .95; } }

.gs-tag-1 { font: 600 11px/1 var(--sans); letter-spacing: .18em; }
.gs-tag-2 { font: 700 15px/1 var(--serif); letter-spacing: -0.01em; }
.gs-beacon { animation: beacon 3.4s ease-in-out infinite; }
@keyframes beacon { 0%, 100% { opacity: .9; } 50% { opacity: .15; } }

/* ------------------------------------------------------------- the sky --- */

/**
 * The whole field drifts, and every star also twinkles on its own clock —
 * its own floor, ceiling, period and phase, written inline by art.mjs. One
 * animation over the group made the sky pulse like a dimmer switch; the drift
 * is what actually reads as movement.
 */
.gs-stars { animation: starDrift 120s ease-in-out infinite alternate; }
@keyframes starDrift {
  from { transform: translate(0, 0); }
  to   { transform: translate(-16px, 7px); }
}
.gs-star { animation: starTwinkle var(--t, 4s) ease-in-out var(--d, 0s) infinite alternate; }
@keyframes starTwinkle { from { opacity: var(--o1); } to { opacity: var(--o2); } }

/* Two shooting stars on coprime-ish cycles, so they never pair up. The
   translate distances match each trail's own angle, or the streak slides
   sideways through itself. */
.gs-shoot { opacity: 0; }
.gs-shoot-a { animation: shootA 11s linear 3s infinite; }
.gs-shoot-b { animation: shootB 17s linear 9.5s infinite; }
@keyframes shootA {
  0%   { opacity: 0; transform: translate(70px, 4px); }
  2%   { opacity: .95; }
  11%  { opacity: 0; transform: translate(330px, 116px); }
  100% { opacity: 0; transform: translate(330px, 116px); }
}
@keyframes shootB {
  0%   { opacity: 0; transform: translate(430px, 0); }
  3%   { opacity: .75; }
  10%  { opacity: 0; transform: translate(630px, 86px); }
  100% { opacity: 0; transform: translate(630px, 86px); }
}

.gs-par { transition: transform .5s var(--ease); will-change: transform; }

/* -------------------------------------------------------- page heroes --- */

.phero { background: var(--navy-990); color: var(--cream); overflow: hidden; }
.phero-glow {
  position: absolute; inset: -40% -10% auto -10%; height: 160%; z-index: -2;
  background:
    radial-gradient(50% 46% at 20% 14%, rgba(36, 66, 124, .6), transparent 70%),
    radial-gradient(44% 42% at 84% 6%, rgba(216, 164, 65, .17), transparent 68%);
  pointer-events: none;
  animation: drift 30s ease-in-out infinite alternate;
}
.phero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(216,164,65,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216,164,65,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 76%);
}
.phero-in { position: relative; z-index: 2; padding: clamp(62px, 9vw, 116px) 0 clamp(58px, 8vw, 96px); max-width: 860px; }
.phero-slim .phero-in { padding-bottom: clamp(40px, 6vw, 64px); }
.phero-lede { font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--cream-2); max-width: 62ch; margin-bottom: 30px; }
.phero-lede strong { color: var(--cream); }

/* --------------------------------------------------------------- bands --- */

.band { padding: clamp(66px, 8.5vw, 122px) 0; position: relative; }
.band-tight { padding: clamp(44px, 5vw, 70px) 0; }
.band-dark { background: var(--navy-990); color: var(--cream); }
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4 { color: var(--cream); }
.band-dark p { color: var(--cream-2); }

.sec-head { max-width: 700px; margin-bottom: clamp(36px, 5vw, 62px); }
.sec-head h2 { margin-bottom: 14px; }
.sec-head-c { max-width: 720px; margin-inline: auto; text-align: center; }
.sec-head-c .eyebrow { justify-content: center; }
.sec-sub { color: var(--ink-2); font-size: 1.04rem; margin: 0; }
.band-dark .sec-sub { color: var(--cream-3); }

.gs-rule { display: flex; align-items: center; gap: 16px; color: var(--gold); margin: 0 auto 26px; max-width: 300px; }
.gs-rule span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, currentColor); opacity: .4; }
.gs-rule span:last-child { background: linear-gradient(90deg, currentColor, transparent); }
.gs-rule svg { width: 22px; height: 22px; opacity: .7; }

/* ==================================================== the proof strip === */

.proof { background: var(--paper); }
.proof-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.proof-t {
  display: grid; gap: 4px; align-content: start;
  padding: 28px 26px 26px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line-l);
  box-shadow: 0 2px 12px -8px rgba(16,24,40,.3);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  overflow: hidden;
}
.proof-t:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(216,164,65,.4); }
.proof-ico {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(216,164,65,.14); color: var(--gold-dk); margin-bottom: 12px;
}
.proof-big {
  font: 700 clamp(2rem, 3.2vw, 2.7rem)/1 var(--serif);
  letter-spacing: -0.03em; color: var(--navy-900);
}
.proof-lab { font: 650 .96rem/1.3 var(--sans); color: var(--ink); }
.proof-sub { font-size: .85rem; line-height: 1.5; color: var(--ink-3); margin-top: 4px; }

/* ---------------------------------------------------- problem/solution --- */

.ps-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.prob-list, .sol-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.prob, .sol { display: flex; gap: 15px; padding: 24px; border-radius: var(--r); }
.prob { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.sol {
  background: linear-gradient(150deg, rgba(216,164,65,.11), rgba(216,164,65,.03));
  border: 1px solid var(--line-d);
}
.prob h3, .sol h3 { margin-bottom: 5px; font-size: 1.03rem; }
.prob p, .sol p { margin: 0; font-size: .93rem; line-height: 1.55; }
.prob-ico, .sol-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.prob-ico { background: rgba(255,255,255,.06); color: var(--cream-3); }
.sol-ico { background: rgba(216,164,65,.18); color: var(--gold); }

.ps-arrow { display: flex; flex-direction: column; align-items: center; gap: 9px; color: var(--gold); }
.ps-arrow svg { width: 60px; }
.ps-arrow span { font: 600 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: .8; }

/* ========================================================= the compare === */

.cmp {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.022);
}
.cmp-head, .cmp-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1.25fr) minmax(0, 1.25fr);
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
  padding: 16px clamp(16px, 2.4vw, 28px);
}
.cmp-head { background: rgba(3,7,19,.55); border-bottom: 1px solid rgba(255,255,255,.09); padding-block: 14px; }
.cmp-h { font: 700 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.cmp-h-a { color: var(--cream-3); }
.cmp-h-b { color: var(--gold); }
.cmp-row + .cmp-row, .cmp-head + .cmp-row { border-top: 1px solid rgba(255,255,255,.055); }
.cmp-row:nth-child(even) { background: rgba(255,255,255,.014); }
.cmp-k { font: 650 .93rem/1.35 var(--sans); color: var(--cream); }
.cmp-a, .cmp-b { display: flex; gap: 10px; font-size: .93rem; line-height: 1.5; }
.cmp-a { color: var(--cream-3); }
.cmp-a i { font-style: normal; color: #e07a6a; font-size: 1.1rem; line-height: 1.25; flex: none; }
.cmp-b { color: var(--cream-2); }
.cmp-b .gs-icon { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 3px; }
.cmp-note { margin: 26px auto 0; max-width: 72ch; font-size: .9rem; color: var(--cream-3) !important; text-align: center; }

/* --------------------------------------------------------------- steps --- */

.steps {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
}
.step {
  position: relative; padding: 32px 28px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line-l);
  box-shadow: 0 2px 12px -8px rgba(16,24,40,.28);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  overflow: hidden;
}
.band-dark .step { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(216,164,65,.38); }
.step-n { margin-bottom: 18px; }
.step-n b {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
  font: 700 15px/1 var(--sans); letter-spacing: .02em;
  color: var(--gold-dk); background: rgba(216,164,65,.15);
  border: 1px solid rgba(216,164,65,.3);
}
.band-dark .step-n b { color: var(--gold); }
.step h3 { font-size: 1.16rem; margin-bottom: 9px; }
.step p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.band-dark .step p { color: var(--cream-2); }
.step-detail {
  display: flex; gap: 9px; margin-top: 16px !important; padding-top: 16px;
  border-top: 1px dashed var(--line-l); font-size: .875rem !important; color: var(--ink-3) !important;
}
.step-detail .gs-icon { width: 15px; height: 15px; flex: none; color: var(--gold); margin-top: 3px; }

/* ------------------------------------------------------------ segments --- */

.seg-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.seg-card {
  display: flex; flex-direction: column; padding: 26px 26px 28px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg); text-decoration: none; color: inherit; overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s var(--ease), background-color .28s var(--ease);
}
.band:not(.band-dark) .seg-card { background: #fff; border-color: var(--line-l); }
.seg-card:hover { transform: translateY(-6px); border-color: rgba(216,164,65,.45); }

.seg-scene {
  display: grid; place-items: center; margin-bottom: 16px; padding: 12px 0 14px;
  border-radius: var(--r); background: rgba(3,7,19,.45); border: 1px solid rgba(255,255,255,.06);
}
.band:not(.band-dark) .seg-scene { background: var(--navy-990); border-color: transparent; }
.gs-seg-art { width: 100%; max-width: 172px; height: auto; color: var(--cream-3); }
/* Labels drawn INSIDE a shape stay in the SVG — they are short and they have
   to sit where the shape is. The card's caption does not. */
.gs-seg-note { font: 600 9px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.seg-note {
  margin: 10px 12px 0; text-align: center;
  font: 600 9.5px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream-3);
}
/* The segment blocks light up when their card arrives, not at page load —
   they are four screens down, and an animation nobody saw is a wasted one.
   .in is what the reveal observer adds. */
.gs-seg-on { opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.reveal.in .gs-seg-on { animation: segOn .45s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes segOn {
  0%   { opacity: 0; transform: scale(.4); }
  60%  { opacity: 1; transform: scale(1.14); }
  100% { opacity: .9; transform: scale(1); }
}

.seg-card h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin-bottom: 7px; letter-spacing: -0.02em; }
.seg-kicker { font: 550 12.5px/1.5 var(--sans); color: var(--gold); margin-bottom: 12px; }
.seg-lede { font-size: .96rem; margin-bottom: 12px; }
.seg-typ { font-size: .88rem; color: var(--ink-3); margin-bottom: 18px; }
.band-dark .seg-typ { color: var(--cream-3); }
.seg-go { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font: 620 14px/1 var(--sans); color: var(--gold); }
.seg-grid-full { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.seg-other { margin-top: 34px; font-size: 1rem; color: var(--ink-2); }

/* ------------------------------------------------------------- savings --- */

.claim-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(210px, 320px) 1fr; gap: clamp(24px, 4vw, 54px);
  align-items: center; padding: clamp(30px, 4vw, 52px);
  background:
    radial-gradient(70% 120% at 8% 0%, rgba(216,164,65,.14), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border: 1px solid var(--line-d); border-radius: 26px; color: var(--cream);
  box-shadow: var(--shadow-lg); margin-bottom: 48px;
}
.claim-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); background-size: 120px 120px; opacity: .14; mix-blend-mode: overlay;
}
.claim-fig, .claim-note { position: relative; }
.claim-num {
  display: block;
  font: 700 clamp(3.2rem, 8.4vw, 5.4rem)/0.92 var(--serif);
  background: linear-gradient(120deg, var(--gold-hi), var(--gold) 46%, var(--gold-dk));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.04em;
}
.claim-num i { font-style: normal; font-size: .5em; }
.claim-lab { display: block; margin-top: 12px; font: 550 13.5px/1.5 var(--sans); color: var(--cream-3); }
.claim-note p { margin-bottom: .8em; font-size: .99rem; color: var(--cream-2); }
.claim-note strong { color: var(--cream); }
.claim-src {
  display: flex; gap: 9px; align-items: flex-start;
  color: var(--gold) !important; font-weight: 550; margin-bottom: 0 !important;
}
.claim-src .gs-icon { width: 17px; height: 17px; flex: none; margin-top: 4px; }

/* calculator */
.calc { background: #fff; border: 1px solid var(--line-l); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 52px; }
.band-dark .calc { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.09); }
.calc-head { padding: 28px 32px 0; }
.calc-head h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.02em; }
.calc-head p { color: var(--ink-3); font-size: .93rem; margin: 0; }
.calc-body { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 24px 32px 32px; }
.calc-inputs { display: grid; gap: 15px; align-content: start; }
.calc-out { background: var(--navy-990); color: var(--cream); border-radius: var(--r); padding: 26px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.calc-k { font: 550 13.5px/1.4 var(--sans); color: var(--cream-3); }
.calc-v { font: 650 1.14rem/1 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-row-hi .calc-v { color: var(--gold-lt); }
.calc-row-save { border-bottom: 0; padding-bottom: 4px; }
.calc-row-save .calc-k { color: var(--cream); font-weight: 650; }
.calc-row-save .calc-v { color: var(--gold); font-size: 1.38rem; }
.calc-disc { font-size: .78rem; line-height: 1.5; color: var(--cream-3); margin: 14px 0 18px; }

/* included */
.inc-wrap { margin-bottom: 48px; }
.inc-head { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; margin-bottom: 24px; letter-spacing: -0.02em; }
.inc-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.inc {
  display: flex; gap: 13px; padding: 20px 22px; border-radius: var(--r);
  border: 1px solid var(--line-l); background: #fff; overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.inc:hover { transform: translateY(-3px); border-color: rgba(216,164,65,.42); }
.band-dark .inc { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.inc h4 { font: 650 .99rem/1.3 var(--sans); margin: 0 0 4px; }
.inc p { font-size: .875rem; color: var(--ink-3); margin: 0; line-height: 1.5; }
.inc-tick { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(216,164,65,.16); color: var(--gold-dk); }
.inc-tick .gs-icon { width: 13px; height: 13px; }
.inc-caveat { margin-top: 22px; font-size: .89rem; color: var(--ink-3); max-width: 76ch; }

.never { padding: clamp(28px, 3.5vw, 44px); border-radius: 24px; background: var(--paper-2); border: 1px solid var(--line-l); }
.band-dark .never { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
.never h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 18px; letter-spacing: -0.02em; }
.never ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.never li { display: flex; gap: 11px; align-items: flex-start; font-size: .96rem; }
.never .gs-icon { width: 18px; height: 18px; color: var(--gold-dk); flex: none; margin-top: 3px; }
.band-dark .never .gs-icon { color: var(--gold); }

/* ---------------------------------------------------------- guarantees --- */

.band-gold-thin {
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(216,164,65,.1), transparent 70%),
    var(--navy-990);
  color: var(--cream); padding: clamp(44px, 5vw, 70px) 0; border-block: 1px solid var(--line-d);
}
.gtee-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.gtee { text-align: center; padding: 8px; }
.gtee-ico {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: rgba(216,164,65,.14); color: var(--gold); margin-bottom: 15px;
  border: 1px solid rgba(216,164,65,.28);
}
.gtee h3 { font-size: 1.09rem; margin-bottom: 8px; color: var(--cream); }
.gtee p { font-size: .92rem; color: var(--cream-3); margin: 0; }

/* ---------------------------------------------------------- specialist --- */

/* The decorative ring behind the portrait deliberately overhangs its frame,
   and .spec-photo cannot clip it without erasing it. Clipping at the band
   instead keeps the glow and stops it widening the document — on a 375px
   screen the overhang was pushing scrollWidth to 381. */
.spec { overflow: hidden; }
.spec-in { display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: clamp(30px, 5vw, 74px); align-items: center; }
.spec-photo { position: relative; }
.spec-frame { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-d); box-shadow: var(--shadow-xl); }
.spec-frame img { width: 100%; }
.spec-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,7,19,.68), transparent 42%);
  pointer-events: none;
}
/* A soft gold ring behind the portrait, so it sits in the field rather than
   on top of it. Purely decorative and pointer-transparent. */
.spec-ring {
  position: absolute; inset: -26px -26px -26px -26px; z-index: -1; pointer-events: none;
  border-radius: 34px;
  background: radial-gradient(60% 60% at 50% 40%, rgba(216,164,65,.2), transparent 72%);
}
.spec-badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  padding: 9px 13px; border-radius: 11px;
  background: rgba(3,7,19,.78); border: 1px solid var(--line-d);
  backdrop-filter: blur(6px);
}
.spec-badge img { width: 92px; height: auto; }
.spec-copy h2 { margin-bottom: 18px; }
.spec-quote {
  margin: 30px 0 0; padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: linear-gradient(120deg, rgba(216,164,65,.1), rgba(216,164,65,.02));
  border-radius: 0 var(--r) var(--r) 0;
}
.spec-quote p { font: 600 1.3rem/1.35 var(--serif); color: var(--cream) !important; margin: 0 0 12px; letter-spacing: -0.02em; }
.spec-sig { width: 168px; margin-bottom: 10px; mix-blend-mode: screen; opacity: .92; }
.spec-quote cite { font: 550 12.5px/1 var(--sans); font-style: normal; letter-spacing: .05em; color: var(--gold); }

/* --------------------------------------------------------------- reach --- */

.reach { text-align: center; }
.reach-lead { display: inline-flex; align-items: center; gap: 10px; font: 600 1.04rem/1.4 var(--sans); color: var(--ink); margin-bottom: 22px; }
.reach-lead .gs-icon { color: var(--gold-dk); }
.reach-track {
  overflow: hidden; padding: 5px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.reach-run { display: flex; gap: 34px; width: max-content; animation: marquee 42s linear infinite; }
.reach-run span { font: 600 1.05rem/1 var(--serif); color: var(--ink-3); white-space: nowrap; }
.reach-track-b .reach-run span { font-size: .92rem; opacity: .62; }
.reach-run-b { animation-duration: 56s; animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }
.reach-note { margin: 22px auto 0; max-width: 62ch; font-size: .95rem; color: var(--ink-3); }

/* ---------------------------------------------------------------- form --- */

.formcard {
  display: grid; grid-template-columns: 1fr minmax(250px, 320px); gap: 0;
  background: #fff; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--line-l); box-shadow: var(--shadow-xl);
  color: var(--ink);
}
.form-head { grid-column: 1 / -1; padding: clamp(28px, 3.4vw, 44px) clamp(24px, 3.4vw, 46px) 0; }
.form-head .eyebrow { color: var(--gold-dk); }
.form-head h2 { margin-bottom: 9px; }
.form-head p { color: var(--ink-3); font-size: .96rem; margin: 0; max-width: 56ch; }
.qform { padding: 26px clamp(24px, 3.4vw, 46px) clamp(28px, 3.4vw, 42px); display: grid; gap: 15px; align-content: start; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.fld { display: grid; gap: 7px; }
.fld > span { font: 600 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.fld > span b { color: var(--gold-dk); }
.fld input, .fld select, .fld textarea {
  width: 100%; padding: 14px 15px; font: 400 16px/1.4 var(--sans); color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-l); border-radius: 12px;
  transition: border-color .18s, box-shadow .18s, background-color .18s;
}
.fld textarea { resize: vertical; min-height: 88px; }
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: none; background: #fff; border-color: var(--gold);
  box-shadow: 0 0 0 3.5px rgba(216,164,65,.16);
}
.fld input[aria-invalid="true"], .fld select[aria-invalid="true"] { border-color: #c0392b; box-shadow: 0 0 0 3.5px rgba(192,57,43,.12); }
.fld-err { font: 500 12.5px/1.4 var(--sans); color: #c0392b; }
.fld-money { position: relative; }
.fld-money i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--ink-3); font-size: 15px; }
.fld-money input { padding-left: 28px; }

.fld-check { grid-template-columns: auto 1fr; align-items: center; gap: 11px; }
.fld-check input { width: 19px; height: 19px; accent-color: var(--gold-dk); padding: 0; }
.fld-check span { font: 400 .93rem/1.4 var(--sans); color: var(--ink-2); text-transform: none; letter-spacing: 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.f-actions { margin-top: 6px; }
.f-fine { font-size: .8rem; line-height: 1.55; color: var(--ink-3); margin: 13px 0 0; text-align: center; }
.f-fine a { color: var(--gold-dk); }

.f-status { margin-top: 15px; padding: 16px 18px; border-radius: var(--r-sm); font-size: .93rem; line-height: 1.55; }
.f-status.err { background: #fdf0ee; border: 1px solid #e8c3bd; color: #8e2c1f; }
.f-status.ok { background: #eef7ef; border: 1px solid #bcdcc1; color: #1e5a2a; }
.f-status.warn { background: #fdf6e6; border: 1px solid #e6d3a4; color: #6d5411; }
.f-status a { color: inherit; font-weight: 650; }
.f-status .btn { margin-top: 12px; }

.form-aside {
  background: var(--navy-990); color: var(--cream); padding: clamp(26px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 16px; justify-content: center;
}
.fa-urgent { font-size: .93rem; color: var(--cream-2); margin: 0; display: flex; gap: 9px; align-items: flex-start; }
.fa-urgent .gs-icon { color: var(--gold); flex: none; width: 17px; height: 17px; margin-top: 3px; }
.fa-urgent strong { color: var(--cream); }
.fa-phone {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; border-radius: 100px; background: rgba(216,164,65,.14);
  border: 1.5px solid var(--gold); color: var(--gold);
  font: 680 17px/1 var(--sans); text-decoration: none; transition: background-color .2s, color .2s;
}
.fa-phone:hover { background: var(--gold); color: #23180a; }
.fa-book, .fa-alt { font-size: .89rem; color: var(--cream-3); margin: 0; display: flex; gap: 8px; align-items: center; justify-content: center; text-decoration: none; }
.fa-alt a, .fa-book { color: var(--gold); }
.fa-alt .gs-icon, .fa-book .gs-icon { width: 15px; height: 15px; }
.fa-list {
  list-style: none; margin: 4px 0 0; padding: 16px 0 0; display: grid; gap: 10px;
  border-top: 1px solid rgba(255,255,255,.09);
}
.fa-list li { display: flex; gap: 9px; align-items: center; font: 550 .85rem/1.4 var(--sans); color: var(--cream-3); }
.fa-list .gs-icon { width: 15px; height: 15px; color: var(--gold); flex: none; }

.formcard-compact .form-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

/* quote page assurances */
.q-assure { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }
.qa-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(216,164,65,.14); color: var(--gold); margin-bottom: 14px; border: 1px solid rgba(216,164,65,.26); }
.qa h3 { font-size: 1.03rem; margin-bottom: 7px; }
.qa p { font-size: .91rem; color: var(--cream-3); margin: 0; }

/* ---------------------------------------------------------------- misc --- */

.pf-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pf { padding: 26px 28px; border-radius: var(--r); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.pf-pain { display: flex; gap: 11px; font: 600 1.05rem/1.4 var(--sans); color: var(--cream) !important; margin-bottom: 12px; }
.pf-pain span { color: #e07a6a; font-size: 1.2rem; line-height: 1.2; flex: none; }
.pf-fix { display: flex; gap: 11px; font-size: .94rem; margin: 0; }
.pf-fix .gs-icon { color: var(--gold); flex: none; width: 17px; height: 17px; margin-top: 3px; }

.two-col { display: grid; grid-template-columns: 1fr minmax(260px, 350px); gap: clamp(28px, 4vw, 58px); align-items: start; }
.need-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.need-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.need-list .gs-icon { color: var(--gold-dk); flex: none; width: 18px; height: 18px; margin-top: 4px; }
.need-note { font-size: .89rem; color: var(--ink-3); }
.tc-side { display: grid; gap: 16px; position: sticky; top: 100px; }
.fact { padding: 24px 26px; border-radius: var(--r); background: var(--paper-2); border: 1px solid var(--line-l); }
.fact h3 { display: flex; align-items: center; gap: 9px; font-size: .98rem; margin-bottom: 8px; }
.fact h3 .gs-icon { color: var(--gold-dk); width: 17px; height: 17px; }
.fact p { font-size: .91rem; color: var(--ink-2); margin: 0 0 14px; }
.fact p:last-child { margin-bottom: 0; }
.fact-cta { background: var(--navy-990); border-color: var(--line-d); }
.fact-cta h3 { color: var(--cream); }
.fact-cta h3 .gs-icon { color: var(--gold); }
.fact-cta p { color: var(--cream-3); }

.term-list { display: grid; gap: 18px; }
.term { padding: 28px 30px; border-radius: var(--r); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.term h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin-bottom: 10px; color: var(--gold) !important; letter-spacing: -0.02em; }
.term p { margin: 0; font-size: .97rem; }
.term-note { display: flex; gap: 12px; margin-top: 22px; font-size: .89rem; color: var(--cream-3) !important; }
.term-note .gs-icon { color: var(--gold); flex: none; margin-top: 3px; }

.tl { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--line-l); display: grid; gap: 28px; }
.tl-i { position: relative; }
.tl-i::before { content: ''; position: absolute; left: -35px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--paper), 0 0 16px 2px rgba(216,164,65,.5); }
.tl-when { display: block; font: 700 12px/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 8px; }
.tl-i p { margin: 0; font-size: .98rem; color: var(--ink-2); }

.prose p { font-size: 1.04rem; color: var(--ink-2); }
.band-dark .prose p { color: var(--cream-2); }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.src-note { display: flex; gap: 10px; font-size: .88rem !important; color: var(--ink-3) !important; padding-top: 14px; border-top: 1px solid var(--line-l); }
.src-note .gs-icon { color: var(--gold-dk); flex: none; width: 16px; height: 16px; margin-top: 3px; }
.legal h2 { font-family: var(--sans); font-size: 1.16rem; font-weight: 680; }
.legal-date { font-size: .86rem; color: var(--ink-3); }

.wont { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 11px; }
.wont li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--ink-2); }
.wont li span { color: #c0392b; font-weight: 700; font-size: 1.1rem; line-height: 1.3; flex: none; }
.wont-note { font-size: .93rem; color: var(--ink-3); }

/* ----------------------------------------------------------------- faq --- */

.faq { display: grid; gap: 10px; }
.faq-i { border: 1px solid var(--line-l); border-radius: var(--r); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.band-dark .faq-i { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.faq-i:hover { border-color: rgba(216,164,65,.36); }
.faq-i[open] { border-color: rgba(216,164,65,.5); box-shadow: 0 12px 30px -22px rgba(16,24,40,.5); }
.faq-i summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font: 640 1.05rem/1.4 var(--sans);
}
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary i { flex: none; width: 22px; height: 22px; position: relative; }
.faq-i summary i::before, .faq-i summary i::after {
  content: ''; position: absolute; inset: 50% 3px auto 3px; height: 2px;
  background: var(--gold); border-radius: 2px; transition: transform .25s var(--ease);
}
.faq-i summary i::after { transform: rotate(90deg); }
.faq-i[open] summary i::after { transform: rotate(0); }
.faq-a { padding: 0 24px 22px; }
.faq-a p { margin: 0; font-size: .98rem; color: var(--ink-2); max-width: 70ch; }
.band-dark .faq-a p { color: var(--cream-2); }

/* ----------------------------------------------------------- final CTA --- */

.cta-band { background: var(--navy-990); color: var(--cream); text-align: center; overflow: hidden; }
.cta-glow { position: absolute; inset: auto -10% -60% -10%; height: 130%; z-index: -1; background: radial-gradient(46% 52% at 50% 100%, rgba(216,164,65,.26), transparent 70%); pointer-events: none; }
.cta-in { position: relative; z-index: 2; }
.cta-in h2 { margin-bottom: 16px; }
.cta-in > p { color: var(--cream-2); font-size: 1.06rem; max-width: 58ch; margin-inline: auto; margin-bottom: 28px; }
.cta-in .hero-cta { justify-content: center; }
.cta-fine { font-size: .85rem; color: var(--cream-3); margin: 0; }

/* -------------------------------------------------------------- thanks --- */

.thanks-tick { display: inline-grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: rgba(216,164,65,.16); color: var(--gold); margin-bottom: 22px; border: 1px solid rgba(216,164,65,.3); }
.thanks-tick .gs-icon { width: 30px; height: 30px; stroke-width: 2.2; }
.thanks-next { text-align: left; margin: 34px 0; padding: 30px 32px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.thanks-next h2 { font-size: 1.45rem; margin-bottom: 16px; }
.thanks-next ol { margin: 0; padding-left: 20px; display: grid; gap: 11px; }
.thanks-next li { color: var(--cream-2); font-size: .97rem; }
.thanks-next strong { color: var(--cream); }
.thanks-urgent { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-radius: var(--r); border: 1px solid var(--line-d); background: rgba(216,164,65,.07); text-align: left; }
.thanks-urgent p { margin: 0; display: flex; gap: 10px; align-items: center; color: var(--cream-2); }
.thanks-urgent .gs-icon { color: var(--gold); flex: none; }
.nf-links { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.nf-links a { color: var(--gold); font: 550 .95rem/1 var(--sans); text-decoration: none; border-bottom: 1px solid rgba(216,164,65,.35); padding-bottom: 3px; }

/* -------------------------------------------------------------- footer --- */

.site-foot { background: var(--navy-990); color: var(--cream-3); padding: clamp(54px, 6vw, 82px) 0 26px; border-top: 1px solid var(--line-d); }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: clamp(24px, 3vw, 48px); padding-bottom: 40px; }
.foot-brand .brand { display: inline-block; margin-bottom: 18px; }
.foot-pitch { font: 600 1.16rem/1.35 var(--serif); color: var(--gold); margin-bottom: 14px; letter-spacing: -0.02em; }
.foot-partner { font-size: .9rem; line-height: 1.6; max-width: 46ch; }
.foot-partner strong { color: var(--cream-2); }
.foot-min { font-size: .85rem; color: var(--cream-3); opacity: .8; }
.foot-col h3 { font: 600 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { color: var(--cream-3); text-decoration: none; font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; transition: color .16s, transform .16s; }
.foot-col a:hover { color: var(--gold); transform: translateX(2px); }
.foot-col a .gs-icon { width: 15px; height: 15px; color: var(--gold); }
.foot-contact a { color: var(--cream-2); font-weight: 550; }
.foot-note { font-size: .84rem; opacity: .78; line-height: 1.5; }
.foot-bar { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; align-items: center; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.07); font-size: .84rem; }
.foot-bar p { margin: 0; }
.foot-legal { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.foot-legal a { color: var(--cream-3); text-decoration: none; }
.foot-legal a:hover { color: var(--gold); }

/* --------------------------------------------------------- sticky bar --- */

.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(3,7,19,.95); border-top: 1px solid var(--line-d);
  backdrop-filter: blur(12px);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.sticky-bar.on { transform: translateY(0); }
.sticky-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; border-radius: 100px; font: 680 15.5px/1 var(--sans); text-decoration: none;
}
.sb-call { background: rgba(255,255,255,.09); color: var(--cream); border: 1.5px solid rgba(255,255,255,.18); flex: 0 0 34% !important; }
.sb-quote { background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: #23180a; }

/* -------------------------------------------------------------- chat --- */

.chat { position: fixed; right: 20px; bottom: 20px; z-index: 85; }
.chat-fab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: 100px; cursor: pointer;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-950));
  color: var(--cream); font: 640 14.5px/1 var(--sans);
  box-shadow: var(--shadow-xl); border: 1px solid var(--line-d);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.chat-fab:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl), var(--glow); }
.chat-fab .gs-icon { color: var(--gold); }
.chat-fab[aria-expanded="true"] { display: none; }

.chat-panel {
  position: absolute; right: 0; bottom: 0; width: min(92vw, 380px);
  display: flex; flex-direction: column; max-height: min(78vh, 580px);
  background: #fff; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line-l); box-shadow: var(--shadow-xl);
  animation: chatIn .28s var(--ease);
}
@keyframes chatIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.chat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--navy-990); color: var(--cream); }
.chat-head strong { display: block; font-size: 1rem; }
.chat-head span { font-size: .78rem; color: var(--cream-3); }
.chat-x { background: none; border: 0; color: var(--cream-3); font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-x:hover { color: var(--gold); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; background: var(--paper); }
.cmsg { max-width: 84%; padding: 11px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.5; }
.cmsg-bot { background: #fff; border: 1px solid var(--line-l); border-bottom-left-radius: 4px; justify-self: start; }
.cmsg-me { background: var(--navy-900); color: var(--cream); border-bottom-right-radius: 4px; justify-self: end; }
.chat-input { padding: 12px 14px; border-top: 1px solid var(--line-l); display: grid; gap: 8px; background: #fff; }
.chat-input input, .chat-input select {
  width: 100%; padding: 11px 13px; font: 400 16px/1.3 var(--sans);
  border: 1.5px solid var(--line-l); border-radius: var(--r-sm); background: var(--paper);
}
.chat-input input:focus, .chat-input select:focus { outline: none; border-color: var(--gold); }
.chat-opts { display: flex; flex-wrap: wrap; gap: 7px; }
.chat-opt {
  padding: 9px 14px; border-radius: 100px; border: 1.5px solid var(--line-l);
  background: #fff; font: 550 13.5px/1 var(--sans); cursor: pointer; color: var(--ink);
  transition: border-color .18s, background-color .18s;
}
.chat-opt:hover { border-color: var(--gold); background: rgba(216,164,65,.08); }
.chat-send { padding: 12px; border-radius: 100px; border: 0; background: var(--gold); color: #23180a; font: 680 14.5px/1 var(--sans); cursor: pointer; }
.chat-foot { margin: 0; padding: 9px 14px 12px; font-size: .72rem; color: var(--ink-3); text-align: center; background: #fff; }

/* ------------------------------------------------------------ reveals --- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.d1 { --d: .09s; } .d2 { --d: .18s; } .d3 { --d: .27s; } .d4 { --d: .36s; }

/* ---------------------------------------------------------- responsive --- */

@media (max-width: 1160px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 720px; }
  .hero-panel { max-width: 560px; }
}
@media (max-width: 1080px) {
  .nav-list > li > a { padding: 10px 10px; font-size: 13.6px; }
  .head-phone { display: none; }
}
@media (max-width: 900px) {
  .nav, .head-cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .ps-grid { grid-template-columns: 1fr; }
  .ps-arrow { flex-direction: row; justify-content: center; gap: 14px; }
  .ps-arrow svg { width: 44px; }
  .claim-card { grid-template-columns: 1fr; text-align: left; }
  .calc-body { grid-template-columns: 1fr; }
  .spec-in { grid-template-columns: 1fr; }
  .spec-photo { max-width: 340px; }
  .formcard { grid-template-columns: 1fr; }
  .form-aside { order: 3; }
  .two-col { grid-template-columns: 1fr; }
  .tc-side { position: static; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .sticky-bar { display: flex; }
  .chat { bottom: 84px; right: 14px; }
  .chat-fab span { display: none; }
  .chat-fab { padding: 15px; }

  /**
   * The comparison stops being a table and becomes stacked pairs, so each
   * half has to re-state its own column heading.
   *
   * Both halves switch from flex to a 2-column grid first. As flex items the
   * injected headings were competing for width with the sentence beside them
   * and breaking "On your own —" across two lines; spanning them across a
   * grid row is the only way they stay a heading.
   */
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; gap: 14px; padding: 22px clamp(16px, 4vw, 24px); }
  .cmp-k { font-size: 1.02rem; color: var(--gold); font-family: var(--serif); font-weight: 600; }
  .cmp-a, .cmp-b { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 4px 10px; }
  .cmp-a::before, .cmp-b::before {
    grid-column: 1 / -1;
    font: 600 10px/1 var(--sans); letter-spacing: .17em; text-transform: uppercase;
  }
  .cmp-a::before { content: 'On your own'; color: var(--cream-3); opacity: .7; }
  .cmp-b::before { content: 'With GroupStay'; color: var(--gold); opacity: .85; }
}
@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .f-row { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 44px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .starter-row { grid-template-columns: 1fr 1fr; }
  .st-fld:first-child { grid-column: 1 / -1; }
  .thanks-urgent { flex-direction: column; align-items: stretch; }
  .thanks-urgent .btn { width: 100%; }
  .never ul, .inc-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-t { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .reach-run, .hero-aura, .phero-glow, .pip, .gs-beacon, .gs-stars, .gs-star,
  .gs-block-ring, .gs-spill { animation: none !important; }
  .gs-shoots { display: none !important; }
  .gs-cell { transition: none; }
  .gs-cell.on { animation: none !important; opacity: .95 !important; transform: none !important; }
  .gs-block-ring { opacity: .5 !important; }
  .gs-spill { opacity: .7 !important; }
  .reveal.in .gs-seg-on, .gs-seg-on { animation: none !important; opacity: .9 !important; transform: none !important; }
  .btn-gold::before { display: none; }
  .btn:hover, .step:hover, .seg-card:hover, .chat-fab:hover, .proof-t:hover, .inc:hover { transform: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media print {
  .site-head, .sticky-bar, .chat, .cta-band, .hero-panel, .hero-aura, .hero-grid-lines { display: none !important; }
  body { background: #fff; color: #000; }
  .band-dark, .cta-band, .phero, .hero { background: #fff !important; color: #000 !important; }
  .hero::before, .phero::before, .band-dark::before, .cta-band::before, .site-foot::before { display: none !important; }
}
