/* ==========================================================================
   STARS DELIGHTFUL AGENCY — Design System
   Brand colors sampled directly from LOGO.png
   Royal blue #003491 · Bright blue #0159A8 · Gold #E58B01
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Brand */
  --brand-blue: #003491;
  --brand-blue-bright: #0159A8;
  --brand-blue-deep: #001F5C;
  --brand-gold: #E58B01;
  --brand-gold-light: #FFA82B;
  --brand-gold-deep: #B86D00;

  /* Surfaces (dark canvas) */
  --ink-900: #04070F;
  --ink-850: #070C1A;
  --ink-800: #0A1122;
  --ink-700: #0F1830;
  --ink-600: #16224180;
  --surface: #0A1122;
  --surface-2: #101A33;
  --surface-3: #16233F;

  /* Light sections */
  --cream: #F6F3EC;
  --cream-2: #EDE8DE;
  --cream-ink: #0A1122;

  /* Text */
  --text: #FFFFFF;
  --text-soft: #C3CCDE;
  --text-mute: #8E9BB4;
  --text-faint: #7C8BAB;  /* 4.56:1 on the lightest card surface — WCAG AA */

  /* Lines */
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --line-gold: rgba(229, 139, 1, 0.45);

  /* Gradients */
  --grad-blue: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-bright) 100%);
  --grad-gold: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-light) 100%);
  --grad-mixed: linear-gradient(120deg, var(--brand-blue) 0%, var(--brand-blue-bright) 55%, var(--brand-gold) 130%);

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Fluid type scale */
  --fs-hero: clamp(2.65rem, 6.4vw, 5.9rem);
  --fs-d1: clamp(2.25rem, 5.4vw, 4.5rem);
  --fs-d2: clamp(1.85rem, 3.9vw, 3.15rem);
  --fs-d3: clamp(1.5rem, 2.6vw, 2.1rem);
  --fs-h4: clamp(1.2rem, 1.7vw, 1.4rem);
  --fs-lead: clamp(1.05rem, 1.35vw, 1.28rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-kicker: 0.75rem;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  /* Layout */
  --wrap: 1280px;
  --wrap-narrow: 860px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms;
  --t: 240ms;
  --t-slow: 420ms;

  /* Shadow */
  --sh-sm: 0 2px 8px rgba(0, 0, 0, 0.28);
  --sh-md: 0 12px 32px rgba(0, 0, 0, 0.34);
  --sh-lg: 0 28px 70px rgba(0, 0, 0, 0.48);
  --sh-gold: 0 10px 32px rgba(229, 139, 1, 0.32);

  --header-h: 76px;
}

/* ---------- 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) + 20px);
}

/* scroll-padding alone is not enough: focusing an anchor target (tabindex="-1")
   scrolls again and ignores it, tucking the heading under the sticky header.
   scroll-margin travels with the element, so it applies to every scroll type. */
section[id],
[id][tabindex="-1"] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-soft);
  background: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, picture, video, svg { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 var(--space-3);
  font-weight: 800;
  text-wrap: balance;
}

h1 { font-size: var(--fs-d1); }
h2 { font-size: var(--fs-d2); }
h3 { font-size: var(--fs-d3); }
h4 { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 var(--space-3); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-gold-light); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--brand-gold); }

ul, ol { margin: 0 0 var(--space-3); padding-left: 1.15rem; }
li { margin-bottom: 0.4rem; }

strong { color: var(--text); font-weight: 650; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

/* Focus — always visible, never removed */
:focus-visible {
  outline: 3px solid var(--brand-gold-light);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--brand-gold); color: #05070E; }

.skip-link {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -140%);
  z-index: 999;
  background: var(--brand-gold);
  color: #05070E;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: 0 0 var(--r-md) var(--r-md);
  transition: transform var(--t) var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: #05070E; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. LAYOUT ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }
.wrap--wide { max-width: 1560px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--flush-top { padding-top: 0; }

.section--light {
  background: var(--cream);
  color: #3B4459;
}
.section--light h1, .section--light h2, .section--light h3, .section--light h4 { color: var(--cream-ink); }
.section--light .kicker { color: var(--brand-blue); }
.section--light .lead { color: #4A5468; }

.section--panel { background: var(--ink-850); }
.section--blue {
  background: var(--grad-blue);
  color: rgba(255, 255, 255, 0.9);
}

/* Section headers */
.sec-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-4);
  align-items: end;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: var(--fs-kicker);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-gold-light);
  margin-bottom: var(--space-2);
}
.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand-gold);
  flex: none;
}
.kicker--center::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand-gold);
  flex: none;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--text-soft);
  max-width: 62ch;
}
.sec-head--center .lead { margin-inline: auto; }

.grad-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.blue-text { color: var(--brand-blue-bright); }

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 1rem 1.75rem;
  min-height: 52px;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
              background-color var(--t) var(--ease), color var(--t) var(--ease),
              border-color var(--t) var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad-gold);
  color: #08101F;
  box-shadow: var(--sh-gold);
}
.btn--primary:hover { color: #08101F; box-shadow: 0 16px 42px rgba(229, 139, 1, 0.44); }

.btn--blue {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 52, 145, 0.42);
}
.btn--blue:hover { color: #fff; }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold-light);
  background: rgba(229, 139, 1, 0.07);
}

.btn--dark {
  background: var(--ink-800);
  color: #fff;
  border-color: var(--ink-800);
}
.btn--dark:hover { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }

.btn--outline-dark {
  border-color: rgba(10, 17, 34, 0.24);
  color: var(--cream-ink);
}
.btn--outline-dark:hover { border-color: var(--brand-blue); color: var(--brand-blue); background: rgba(0, 52, 145, 0.05); }

.btn--sm { padding: 0.7rem 1.25rem; min-height: 44px; font-size: 0.875rem; }
.btn--lg { padding: 1.2rem 2.25rem; min-height: 60px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-gold-light);
  min-height: 44px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 5. HEADER ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color var(--t-slow) var(--ease),
              backdrop-filter var(--t-slow) var(--ease),
              box-shadow var(--t-slow) var(--ease),
              border-color var(--t-slow) var(--ease);
  border-bottom: 1px solid transparent;
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4, 7, 15, 0.72), rgba(4, 7, 15, 0));
  pointer-events: none;
  transition: opacity var(--t-slow) var(--ease);
}
.header.is-stuck {
  background: rgba(6, 10, 22, 0.86);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.36);
}
.header.is-stuck::before { opacity: 0; }

.header .wrap {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  max-width: 1560px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  margin-right: auto;
}
.brand img { height: 44px; width: auto; }
.brand__txt { display: none; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 0.85rem;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--text-soft);
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 8px;
  height: 2px;
  background: var(--brand-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: #fff; }

/* Dropdown */
.nav__item { position: relative; }
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 44px;
  padding: 0 0.85rem;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--text-soft);
  font-family: var(--font-body);
}
.nav__toggle svg { width: 12px; height: 12px; transition: transform var(--t) var(--ease); }
.nav__toggle:hover { color: #fff; }
.nav__item:hover .nav__toggle svg,
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  background: rgba(10, 17, 34, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.5rem;
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
  list-style: none;
  margin: 0;
}
.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li { margin: 0; }
.dropdown a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  color: var(--text-soft);
  font-weight: 500;
}
.dropdown a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }

.header__cta { flex: none; display: flex; align-items: center; gap: 0.5rem; }
.header__cta .btn { white-space: nowrap; }

/* Compact buttons sized for the header bar */
.btn--nav {
  min-height: 40px;
  padding: 0.45rem 1.05rem;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  gap: 0.45rem;
  /* never wrap: a two-line label makes the button taller than the header bar */
  white-space: nowrap;
  flex: none;
}
.btn--nav svg { width: 15px; height: 15px; }

/* Primary CTA sitting inside the nav list */
.nav__cta { display: flex; align-items: center; margin: 0 0.4rem; }
.nav__cta .btn { box-shadow: 0 6px 20px rgba(229, 139, 1, 0.3); }
.nav__cta .btn:hover { box-shadow: 0 10px 26px rgba(229, 139, 1, 0.42); }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  flex: none;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: background var(--t-fast) var(--ease);
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform var(--t) var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 190;
  background: var(--ink-900);
  padding: var(--space-4) var(--gutter) calc(var(--space-7) + env(safe-area-inset-bottom));
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--t-slow) var(--ease), visibility var(--t-slow);
  display: none;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:hover { color: var(--brand-gold-light); }
/* the trailing chevron has no size of its own — without this it fills the row */
.mobile-nav a svg {
  width: 18px;
  height: 18px;
  flex: none;
  opacity: 0.45;
}
.mobile-nav__group { margin-bottom: var(--space-4); }
.mobile-nav__sub a { font-size: 1rem; font-weight: 500; color: var(--text-soft); font-family: var(--font-body); padding-left: 1rem; }
.mobile-nav__cta { margin-top: var(--space-4); display: grid; gap: 0.75rem; }
.mobile-nav__meta { margin-top: var(--space-5); color: var(--text-mute); font-size: var(--fs-sm); }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 2.25rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: var(--ink-900);
}
.hero__bg picture { display: block; width: 100%; height: 100%; }
.hero__bg video,
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep the subject clear of the headline column */
  object-position: 72% center;
}

/* Fades the photograph out toward the left so the headline sits on solid navy.
   Second layer lifts the bottom edge for the scroll cue and section seam. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    /* horizontal fade — opaque across the whole text column, then falls away
       so the subject on the right stays fully visible */
    linear-gradient(100deg,
      var(--ink-900) 0%,
      rgba(4, 7, 15, 0.985) 30%,
      rgba(4, 7, 15, 0.93) 45%,
      rgba(4, 7, 15, 0.7) 57%,
      rgba(4, 7, 15, 0.34) 71%,
      rgba(4, 7, 15, 0.12) 87%,
      rgba(4, 7, 15, 0.05) 100%),
    /* lift the bottom edge into the next section */
    linear-gradient(to top, var(--ink-900) 0%, rgba(4, 7, 15, 0) 30%),
    /* gentle overall tint so the photo sits in the dark palette */
    linear-gradient(rgba(4, 7, 15, 0.2), rgba(4, 7, 15, 0.2));
}

.hero--photo .hero__content {
  max-width: 740px;
  position: relative;
  z-index: 1;
}
/* Slightly smaller than the full-width hero so each line still fits the
   narrower column on one line instead of wrapping to four. */
.hero--photo .hero__title { font-size: clamp(2.05rem, 4.05vw, 4.05rem); }
.hero--photo .hero__lead { max-width: 50ch; }
.hero--photo .hero__badge {
  position: static;
  display: inline-flex;
  margin-top: 1.15rem;
}
.hero__glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}
.hero__glow--blue {
  width: 46vw; height: 46vw;
  background: radial-gradient(circle, rgba(1, 89, 168, 0.55), transparent 68%);
  top: -12%; left: -10%;
  animation: drift 22s var(--ease) infinite alternate;
}
.hero__glow--gold {
  width: 38vw; height: 38vw;
  background: radial-gradient(circle, rgba(229, 139, 1, 0.42), transparent 68%);
  bottom: -14%; right: -6%;
  animation: drift 18s var(--ease) infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4%, 6%, 0) scale(1.12); }
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem 0.5rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: var(--space-3);
}
.hero__eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 0 4px rgba(229, 139, 1, 0.2);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(229, 139, 1, 0.22); }
  50% { box-shadow: 0 0 0 8px rgba(229, 139, 1, 0.02); }
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: block;
  transform: translateY(105%);
  animation: riseIn 0.95s var(--ease-out) forwards;
}
.hero__title .line:nth-child(2) > span { animation-delay: 0.11s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.22s; }
@keyframes riseIn { to { transform: translateY(0); } }

.hero__lead {
  font-size: var(--fs-lead);
  color: var(--text-soft);
  max-width: 56ch;
  margin-bottom: var(--space-4);
}
.hero__note {
  margin-top: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--text-mute);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__note svg { width: 16px; height: 16px; color: var(--brand-gold); flex: none; }

.hero__badge {
  position: absolute;
  left: -8%;
  bottom: 8%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.2rem;
  border-radius: var(--r-lg);
  background: rgba(10, 17, 34, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  box-shadow: var(--sh-lg);
}
.hero__badge b {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  line-height: 1;
}
.hero__badge span { font-size: var(--fs-xs); color: var(--text-mute); display: block; }
.hero__badge .icon {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--grad-gold);
  color: #08101F;
  flex: none;
}
.hero__badge .icon svg { width: 20px; height: 20px; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
  z-index: 4;
}
.scroll-cue__bar {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, var(--brand-gold), transparent);
  animation: cue 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.35); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 6.5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 120%;
  z-index: -1;
  background: radial-gradient(60% 60% at 20% 30%, rgba(0, 52, 145, 0.55), transparent 70%),
              radial-gradient(45% 45% at 85% 15%, rgba(229, 139, 1, 0.2), transparent 70%);
}
.page-hero__title { font-size: var(--fs-d1); text-transform: uppercase; font-weight: 900; letter-spacing: -0.035em; }
.page-hero .lead { margin-top: var(--space-2); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--text-faint);
  margin-bottom: var(--space-3);
  padding: 0;
  list-style: none;
}
.crumbs li { margin: 0; display: flex; align-items: center; gap: 0.45rem; }
.crumbs li + li::before { content: "/"; color: var(--text-faint); }
.crumbs a { color: var(--text-mute); }
.crumbs a:hover { color: var(--brand-gold-light); }

/* ---------- 7. CAPABILITIES BAR ---------- */
.capbar {
  border-block: 1px solid var(--line);
  background: var(--ink-850);
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
}
/* A grid rather than flex-wrap: eight pills always land 4 + 4 instead of
   whatever ragged split the container width happens to produce. */
.capbar__title {
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-gold-light);
  margin: 0 0 1rem;
}

.capbar__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  list-style: none;
  margin: 0 auto 1.25rem;
  padding: 0;
  max-width: 1100px;
}
.capbar__list li { margin: 0; }
.capbar__list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease),
              background-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.capbar__list a:hover {
  color: #fff;
  border-color: var(--line-gold);
  background: rgba(229, 139, 1, 0.09);
  transform: translateY(-2px);
}
.capbar__list svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--brand-gold);
}
@media (max-width: 900px) {
  .capbar__title {
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-gold-light);
  margin: 0 0 1rem;
}

.capbar__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Narrow phones: keep two columns and let the longer labels wrap onto a second
   line, rather than dropping to a single column 500px tall. */
@media (max-width: 430px) {
  .capbar__title {
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-gold-light);
  margin: 0 0 1rem;
}

.capbar__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capbar__list a {
    white-space: normal;
    text-align: center;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    line-height: 1.25;
    padding-inline: 0.55rem;
  }
}

.capbar__note {
  text-align: center;
  color: var(--text-mute);
  font-size: var(--fs-sm);
  max-width: 54ch;
  margin: 0 auto;
}

/* ---------- 8. CARDS & GRIDS ---------- */
.grid { display: grid; gap: var(--space-3); }
.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)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

.card {
  position: relative;
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease),
              box-shadow var(--t) var(--ease), background-color var(--t) var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--sh-md); }
.card:hover::before { transform: scaleX(1); }
.card h3, .card h4 { margin-bottom: 0.6rem; }
.card__title, .footer__head {
  font-size: var(--fs-h4);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.footer__head {
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-3);
  font-weight: 700;
}
.card p { color: var(--text-mute); font-size: var(--fs-sm); }

.card__icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: rgba(1, 89, 168, 0.18);
  border: 1px solid rgba(1, 89, 168, 0.4);
  color: var(--brand-gold-light);
  margin-bottom: var(--space-3);
}
.card__icon svg { width: 26px; height: 26px; }
.card--gold .card__icon { background: rgba(229, 139, 1, 0.14); border-color: var(--line-gold); }

.section--light .card {
  background: #fff;
  border-color: rgba(10, 17, 34, 0.09);
  box-shadow: 0 2px 10px rgba(10, 17, 34, 0.05);
}
.section--light .card:hover { box-shadow: 0 18px 44px rgba(10, 17, 34, 0.12); border-color: rgba(10, 17, 34, 0.14); }
.section--light .card p { color: #5A6379; }
.section--light .card__icon { background: rgba(0, 52, 145, 0.08); border-color: rgba(0, 52, 145, 0.18); color: var(--brand-blue); }

/* Service cards */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
}
.svc {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  text-decoration: none;
}
.svc--wide { grid-column: span 3; }
.svc__num {
  position: absolute;
  top: 1.1rem;
  right: 1.4rem;
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.13);
  transition: -webkit-text-stroke-color var(--t) var(--ease);
  pointer-events: none;
}
.svc:hover .svc__num { -webkit-text-stroke-color: var(--line-gold); }
.svc h3 { font-size: 1.4rem; }
.svc__list {
  list-style: none;
  padding: 0;
  margin: var(--space-2) 0 var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.svc__list li {
  margin: 0;
  font-size: 0.78rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text-mute);
}
.svc .link-arrow { margin-top: auto; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: var(--ink-850);
  padding: clamp(1.4rem, 2.4vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  display: block;
}
.stat__num .suffix { color: var(--brand-gold); }
.stat__label {
  display: block;
  margin-top: 0.5rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.section--light .stat { background: #fff; }
.section--light .stat__num { color: var(--brand-blue); }
.section--light .stats { background: rgba(10, 17, 34, 0.1); border-color: rgba(10, 17, 34, 0.1); }

/* Split media/text */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
  width: 100%;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
/* For landscape artwork, keep the frame wide instead of cropping it to a
   portrait box — a 3:2 image loses most of its subject at 4:5. */
.split__media--wide img { aspect-ratio: 3 / 2; }
.split__media::after {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 55%;
  height: 55%;
  border: 2px solid var(--line-gold);
  border-radius: var(--r-xl);
  z-index: -1;
}

/* Feature list with checks */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-soft);
}
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--brand-gold); margin-top: 2px; }
.section--light .check-list li { color: #4A5468; }
.section--light .check-list svg { color: var(--brand-blue); }

/* ---------- 9. PROCESS TIMELINE ---------- */
.process { position: relative; display: grid; gap: var(--space-4); }
.process::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: var(--line);
}
.process__fill {
  position: absolute;
  left: 27px;
  top: 30px;
  width: 2px;
  background: var(--grad-gold);
  height: 0;
  transition: height 120ms linear;
  z-index: 1;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-3);
  align-items: start;
  position: relative;
  z-index: 2;
}
.step__dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--text-mute);
  background: var(--ink-850);
  border: 2px solid var(--line);
  transition: all var(--t-slow) var(--ease);
}
.step.is-active .step__dot {
  background: var(--grad-gold);
  border-color: transparent;
  color: #08101F;
  box-shadow: var(--sh-gold);
}
.step__body { padding-top: 0.5rem; padding-bottom: var(--space-2); }
.step h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.step p { color: var(--text-mute); font-size: var(--fs-sm); max-width: 60ch; }

/* ---------- 10. PORTFOLIO ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-4);
}
.filter {
  padding: 0.6rem 1.15rem;
  min-height: 44px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-mute);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--t) var(--ease);
}
.filter:hover { color: #fff; border-color: var(--line-strong); }
.filter[aria-pressed="true"] {
  background: var(--grad-gold);
  color: #08101F;
  border-color: transparent;
}
.filter__n {
  display: inline-block;
  margin-left: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.55;
  font-variant-numeric: tabular-nums;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.tile { break-inside: avoid; margin-bottom: var(--space-3); }

.tile {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-800);
  cursor: pointer;
  aspect-ratio: 4 / 5;                 /* portrait is the archive default */
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--sh-md); z-index: 2; }
.tile--land { grid-column: span 2; aspect-ratio: 3 / 2; }
.tile--sq { aspect-ratio: 1 / 1; }
.tile picture { display: block; width: 100%; height: 100%; }
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 700ms var(--ease);
  filter: saturate(0.96);
}

/* magnifier badge */
.tile__zoom {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(4, 7, 15, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.tile__zoom svg { width: 17px; height: 17px; }
.tile:hover .tile__zoom, .tile:focus-visible .tile__zoom { opacity: 1; transform: none; }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 31, 92, 0) 40%, rgba(4, 7, 15, 0.86));
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
}
.tile:hover img { transform: scale(1.05); filter: saturate(1.1); }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
.tile__meta {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 2;
  text-align: left;
  transform: translateY(10px);
  opacity: 0;
  transition: all var(--t-slow) var(--ease);
}
.tile:hover .tile__meta, .tile:focus-visible .tile__meta { transform: translateY(0); opacity: 1; }
.tile__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
}
.tile__meta span { font-size: var(--fs-xs); color: var(--brand-gold-light); letter-spacing: 0.1em; text-transform: uppercase; }
.tile.is-hidden { display: none; }
/* matches the current filter but not revealed yet */
.tile.is-clipped { display: none; }

.showmore { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }
.showmore [hidden] { display: none; }
.showmore span { opacity: 0.7; font-weight: 500; }

/* Touch devices have no hover state — show the scrim and label permanently
   so the tile still reads as something you can open. */
@media (hover: none) {
  .tile::after { opacity: 1; }
  .tile__meta { opacity: 1; transform: none; }
}

/* Zoomable one-off image (about, founder) — opens the lightbox */
.zoomable {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: zoom-in;
}
.zoomable img { display: block; width: 100%; height: auto; }

/* Founder portrait — lit like a print on a gallery wall
   He is a photographer, so his portrait is staged rather than framed: a warm
   glow thrown behind the frame, the caption riding a scrim across the foot of
   the photograph, and the picture settling out of a slow zoom as the section
   scrolls in. Keeping it dark lets the photograph carry the section instead of
   a bright mat, and the offset gold outline the other split images use is
   dropped here so the glow is the only light source. */
.split__media.split__media--portrait::after { content: none; }
.portrait { position: relative; margin: 0; }
.portrait::before {
  content: "";
  position: absolute;
  inset: -14% -12% -8% -16%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(58% 52% at 38% 32%, rgba(229, 139, 1, 0.30), transparent 72%);
  filter: blur(30px);
  opacity: 0;
  transition: opacity 1200ms var(--ease-out) 260ms;
}
.split__media--portrait.is-in .portrait::before { opacity: 1; }

.portrait .zoomable {
  position: relative;
  z-index: 1;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-gold);
  box-shadow: var(--sh-lg);
  transition: border-color var(--t) var(--ease);
}
.portrait:hover .zoomable { border-color: rgba(229, 139, 1, 0.8); }

/* The zoom. --pz is the one knob: the reveal settles it from 1.14 to 1, hover
   pushes it back out. Two rules on the same element would fight each other, so
   the scale travels down as a custom property instead. .zoomable already clips. */
.portrait .zoomable img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: scale(var(--pz, 1.14));
  transition: transform 1500ms var(--ease-out);
  will-change: transform;
}
.split__media--portrait.is-in .portrait { --pz: 1; }
.split__media--portrait.is-in .portrait:hover { --pz: 1.06; }
.split__media--portrait.is-in .portrait:hover .zoomable img { transition-duration: 700ms; }

/* The name sits on the photograph, not under it. pointer-events stay off so the
   whole frame remains one click target for the lightbox. */
.portrait__cap {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.1rem, 2.2vw, 1.7rem) clamp(1rem, 1.9vw, 1.4rem);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  background: linear-gradient(to top,
              rgba(4, 7, 15, 0.94) 0%, rgba(4, 7, 15, 0.74) 42%, rgba(4, 7, 15, 0) 100%);
  pointer-events: none;
}
.portrait__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h4);
  line-height: 1.15;
  color: #fff;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(4, 7, 15, 0.96);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
/* Column layout: the stage takes whatever height is left after the toolbar,
   so the caption can never ride up over the photograph — whatever the screen
   or how far the caption wraps. */
.lightbox.is-open { display: flex; }
.lightbox {
  flex-direction: column;
  gap: 0.9rem;
}
.lightbox picture { display: contents; }
.lightbox__stage {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  object-fit: contain;
  cursor: zoom-in;
}

.lightbox__bar {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  max-width: min(94vw, 720px);
}
.lightbox__cap {
  font-size: var(--fs-sm);
  color: var(--text-mute);
  text-align: center;
}
.lightbox__tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.lightbox__dims {
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  white-space: nowrap;
}
.lightbox__dims:empty { display: none; }
.lightbox__btn {
  position: absolute;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-strong);
  color: #fff;
  transition: background var(--t) var(--ease);
}
.lightbox__btn:hover { background: var(--brand-gold); color: #08101F; }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* ---------- 11. PACKAGES ---------- */
.pkg {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 2.5vw, 2.2rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  position: relative;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.pkg:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--sh-md); }
.pkg--featured {
  border-color: var(--line-gold);
  background: linear-gradient(170deg, rgba(229, 139, 1, 0.1), rgba(0, 52, 145, 0.12));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.pkg__flag {
  position: absolute;
  top: -13px;
  left: clamp(1.6rem, 2.5vw, 2.2rem);
  padding: 0.3rem 0.9rem;
  border-radius: var(--r-full);
  background: var(--grad-gold);
  color: #08101F;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pkg h3 { font-size: 1.4rem; margin-bottom: 0.35rem; }
.pkg__for { font-size: var(--fs-sm); color: var(--text-mute); margin-bottom: var(--space-3); min-height: 3em; }
.pkg__price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-gold-light);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}
.pkg__rate {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}
.pkg__amount {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}
.pkg__dur {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-sm);
  color: var(--text-mute);
  white-space: nowrap;
}
.pkg__dur svg { width: 15px; height: 15px; color: var(--brand-gold); flex: none; }
.pkg--featured .pkg__amount { color: var(--brand-gold-light); }

.pkg__price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--fs-xs); color: var(--text-faint); letter-spacing: 0; text-transform: none; margin-top: 0.2rem; }
.pkg .check-list { margin-bottom: var(--space-4); }
.pkg .check-list li { font-size: 0.9rem; }
.pkg .btn { margin-top: auto; }

.reveal-form { text-align: center; }
.reveal-form > summary {
  list-style: none;
  display: inline-flex;
  cursor: pointer;
}
.reveal-form > summary::-webkit-details-marker { display: none; }
.reveal-form > summary::after {
  content: "";
  width: 9px; height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--t) var(--ease);
}
.reveal-form[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.reveal-form > div { text-align: left; animation: fadeUp 0.35s var(--ease-out); }

/* Session cards: uniform height, details tucked behind a disclosure */
.pkg--session { display: flex; flex-direction: column; }
.pkg--session .pkg__head { min-height: 5.4rem; }
.pkg--session .pkg__for { min-height: 0; margin-bottom: 0; }
.pkg--session .check-list { margin-bottom: var(--space-3); }
.pkg--session .check-list li { font-size: 0.88rem; }
.pkg--session .btn { margin-top: auto; }

.pkg__more { margin-bottom: var(--space-3); }
.pkg__more > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-gold-light);
  transition: color var(--t-fast) var(--ease);
}
.pkg__more > summary::-webkit-details-marker { display: none; }
.pkg__more > summary::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--t) var(--ease);
  margin-left: auto;
}
.pkg__more[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.pkg__more > summary:hover { color: var(--brand-gold); }
.pkg__more > summary span { color: var(--text-faint); font-weight: 500; letter-spacing: 0; text-transform: none; }
.pkg__more > summary:focus-visible { outline: 3px solid var(--brand-gold-light); outline-offset: 3px; border-radius: 3px; }
.pkg__more-body { padding-top: 0.85rem; animation: fadeUp 0.28s var(--ease-out); }
.pkg__more-body .check-list { margin-bottom: 0; }
.pkg__more-body .pkg__addons { margin-top: var(--space-2); margin-bottom: 0; }
.pkg__more-body .pkg__note { margin-top: var(--space-2); margin-bottom: 0; }

/* Grouped session packages */
.pkg-group + .pkg-group { margin-top: clamp(2.5rem, 5vw, 4rem); }
.pkg-group__head { margin-bottom: var(--space-3); }
.pkg-group__head h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  margin-bottom: 0.3rem;
}
.pkg-group__head p { color: var(--text-mute); font-size: var(--fs-sm); margin: 0; }

.pkg__addons {
  margin: 0 0 var(--space-3);
  padding: 0.85rem 1rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.pkg__addons-h {
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 0.5rem;
}
.pkg__addons ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.pkg__addons li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-mute);
}
.pkg__addons b { color: var(--text-soft); font-weight: 600; white-space: nowrap; }

.pkg__note {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: var(--fs-xs);
  color: var(--text-faint);
  margin: 0 0 var(--space-3);
  line-height: 1.5;
}
.pkg__note svg { width: 15px; height: 15px; flex: none; margin-top: 1px; color: var(--brand-gold); }

/* ---------- 12. ACCORDION ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 1.35rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  font-weight: 700;
  color: #fff;
  min-height: 60px;
  transition: color var(--t) var(--ease);
}
.acc__btn:hover { color: var(--brand-gold-light); }
.acc__icon {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  position: relative;
  transition: all var(--t) var(--ease);
}
.acc__icon::before, .acc__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.acc__icon::before { width: 12px; height: 2px; }
.acc__icon::after { width: 2px; height: 12px; }
.acc__btn[aria-expanded="true"] .acc__icon { background: var(--brand-gold); color: #08101F; border-color: transparent; }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: rotate(90deg); opacity: 0; }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-slow) var(--ease);
}
.acc__panel > div { overflow: hidden; }
/* Driven by a class on the item, not an adjacent-sibling selector: the button
   is wrapped in an <h3> for heading semantics, so the panel is never the
   button's next sibling and "+ .acc__panel" silently never matched. */
.acc__item.is-open > .acc__panel { grid-template-rows: 1fr; }
.acc__panel p { padding-bottom: 1.4rem; color: var(--text-mute); max-width: 78ch; font-size: var(--fs-sm); }
.section--light .acc { border-color: rgba(10, 17, 34, 0.12); }
.section--light .acc__item { border-color: rgba(10, 17, 34, 0.12); }
.section--light .acc__btn { color: var(--cream-ink); }
.section--light .acc__icon { border-color: rgba(10, 17, 34, 0.2); }
.section--light .acc__panel p { color: #5A6379; }

.greview {
  text-align: center;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--line-gold);
  background: linear-gradient(160deg, rgba(229, 139, 1, 0.09), rgba(0, 52, 145, 0.1));
}
.greview .quote__stars { justify-content: center; margin-bottom: 0.75rem; }
.greview h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 0.6rem; }
.greview p {
  color: var(--text-mute);
  font-size: var(--fs-sm);
  max-width: 52ch;
  margin: 0 auto var(--space-3);
}

/* ---------- 13. TESTIMONIALS ---------- */
.tcarousel { position: relative; }
.tcarousel__viewport { overflow: hidden; }
.tcarousel__track {
  display: flex;
  gap: var(--space-3);
  transition: transform var(--t-slow) var(--ease);
}
.tslide {
  flex: 0 0 100%;
  min-width: 0;
}
.quote {
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  height: 100%;
  display: flex;
  flex-direction: column;
}
.quote__stars { display: flex; gap: 3px; color: var(--brand-gold); margin-bottom: var(--space-3); }
.quote__stars svg { width: 18px; height: 18px; }
.quote blockquote {
  margin: 0 0 var(--space-4);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.6;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.quote__who { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; }
.quote__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-blue);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  flex: none;
}
.quote__who b { display: block; color: #fff; font-size: var(--fs-sm); }
.quote__who span { font-size: var(--fs-xs); color: var(--text-mute); }
.tcarousel__nav { display: flex; gap: 0.6rem; margin-top: var(--space-3); align-items: center; }
.tcarousel__btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: #fff;
  transition: all var(--t) var(--ease);
}
.tcarousel__btn:hover { background: var(--brand-gold); color: #08101F; border-color: transparent; }
.tcarousel__btn svg { width: 18px; height: 18px; }
.tcarousel__dots { display: flex; gap: 0.4rem; margin-left: auto; }
.tcarousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  padding: 0;
  transition: all var(--t) var(--ease);
}
.tcarousel__dot[aria-current="true"] { background: var(--brand-gold); width: 26px; border-radius: var(--r-full); }

/* ---------- 14. FORMS ---------- */
.form { display: grid; gap: var(--space-3); }
.field { display: grid; gap: 0.45rem; }
.field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #fff;
}
.field label .req { color: var(--brand-gold); }
.field .hint { font-size: var(--fs-xs); color: var(--text-faint); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  min-height: 52px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 1rem;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E9BB4' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  padding-right: 2.75rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-gold);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(229, 139, 1, 0.18);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
/* Error messages. Scoped to .err (not just .field .err) because the session-type
   error lives in a <fieldset>, not a .field — without this it renders permanently,
   with an unsized icon that fills the whole column. */
.err {
  font-size: var(--fs-xs);
  color: #FF9C8A;
  display: none;
  align-items: center;
  gap: 0.35rem;
}
.err svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: #FF6B4A;
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #FF6B4A; }
.field.is-invalid .err { display: flex; }

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.65rem; }
.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  min-height: 56px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font-size: 0.92rem;
  transition: all var(--t) var(--ease);
}
.choice:hover { border-color: var(--brand-gold-light); background: rgba(255, 255, 255, 0.06); }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice__box {
  width: 22px; height: 22px;
  border-radius: 6px;
  border: 2px solid var(--line-strong);
  flex: none;
  display: grid;
  place-items: center;
  transition: all var(--t) var(--ease);
}
.choice__box svg { width: 14px; height: 14px; color: #08101F; opacity: 0; transition: opacity var(--t) var(--ease); }
.choice input[type="radio"] + .choice__box { border-radius: 50%; }
.choice input:checked + .choice__box { background: var(--brand-gold); border-color: var(--brand-gold); }
.choice input:checked + .choice__box svg { opacity: 1; }
.choice:has(input:checked) { border-color: var(--brand-gold); background: rgba(229, 139, 1, 0.1); color: #fff; }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--brand-gold-light); outline-offset: 2px; }

.pac-container {
  background: var(--ink-800);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  margin-top: 4px;
  font-family: var(--font-body);
  z-index: 500;
}
.pac-item {
  padding: 0.6rem 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  cursor: pointer;
  font-size: 0.9rem;
}
.pac-item:first-child { border-top: 0; }
.pac-item:hover, .pac-item-selected { background: rgba(229, 139, 1, 0.12); }
.pac-item-query { color: #fff; font-size: 0.92rem; }
.pac-matched { color: var(--brand-gold-light); }
.pac-icon { display: none; }
.hdpi .pac-icon { display: none; }

/* Session type selector */
.field-legend {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.6rem;
  padding: 0;
}
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.seg__opt { position: relative; display: block; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.seg__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  height: 100%;
  padding: 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--t) var(--ease);
}
.seg__opt:hover .seg__body { border-color: var(--brand-gold-light); background: rgba(255, 255, 255, 0.06); }
.seg__opt input:checked + .seg__body {
  border-color: var(--brand-gold);
  background: rgba(229, 139, 1, 0.1);
  box-shadow: 0 0 0 1px var(--brand-gold);
}
.seg__opt input:focus-visible + .seg__body { outline: 3px solid var(--brand-gold-light); outline-offset: 2px; }
.seg__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: rgba(1, 89, 168, 0.2);
  color: var(--brand-gold-light);
}
.seg__icon svg { width: 20px; height: 20px; }
.seg__body strong { color: #fff; font-family: var(--font-display); font-size: 1.05rem; }
.seg__body > span:not(.seg__icon):not(.seg__tag) { font-size: var(--fs-sm); color: var(--text-mute); }
.seg__tag {
  margin-top: auto;
  align-self: flex-start;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  padding: 0.25rem 0.65rem;
}
.seg__tag--fee { color: var(--brand-gold-light); border-color: var(--line-gold); }

.location-fields { display: grid; gap: var(--space-3); }
.location-fields[hidden] { display: none; }

.mileage {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  color: var(--text-mute);
  padding: 0.7rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.mileage[hidden] { display: none; }
.mileage--ok { border-color: var(--line-gold); color: var(--text-soft); }
.mileage--warn { border-color: rgba(255, 107, 74, 0.5); color: #FFB9A8; }
.mileage__spin {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  border-top-color: var(--brand-gold);
  animation: spin 0.7s linear infinite;
  flex: none;
}
.mileage__spin[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.fee-box {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-gold);
  background: rgba(229, 139, 1, 0.07);
  font-size: var(--fs-sm);
  color: var(--text-soft);
}
.fee-box svg { width: 19px; height: 19px; color: var(--brand-gold); flex: none; margin-top: 2px; }

/* Running summary */
.summary {
  padding: 1.25rem 1.4rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}
.summary[hidden] { display: none; }
.summary__list { margin: 0.75rem 0 0; display: grid; gap: 0.5rem; }
.summary__list > div { display: flex; justify-content: space-between; gap: 1rem; }
.summary__list dt { color: var(--text-mute); font-size: var(--fs-sm); margin: 0; }
.summary__list dd { margin: 0; color: #fff; font-size: var(--fs-sm); text-align: right; }
.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0.9rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.summary__total span { color: var(--text-soft); font-size: var(--fs-sm); }
.summary__total strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brand-gold-light);
  line-height: 1;
}
.summary .fineprint { margin-top: 0.6rem; }

@media (max-width: 560px) {
  .seg { grid-template-columns: 1fr; }
}

/* Multi-step */
.steps-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-4);
}
.steps-bar__track {
  flex: 1;
  height: 6px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}
.steps-bar__fill {
  height: 100%;
  width: 20%;
  border-radius: var(--r-full);
  background: var(--grad-gold);
  transition: width var(--t-slow) var(--ease);
}
.steps-bar__label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  white-space: nowrap;
}
.fstep { display: none; animation: fadeUp 0.4s var(--ease-out); }
.fstep.is-active { display: grid; gap: var(--space-3); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fstep h3 { font-size: 1.5rem; margin-bottom: 0.2rem; }
.fstep > p { color: var(--text-mute); font-size: var(--fs-sm); margin-top: -0.6rem; }

.form-nav { display: flex; gap: 0.75rem; margin-top: var(--space-2); flex-wrap: wrap; }
.form-nav .btn { flex: 1 1 auto; min-width: 140px; }

.form-success {
  display: none;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--line-gold);
  background: linear-gradient(160deg, rgba(229, 139, 1, 0.1), rgba(0, 52, 145, 0.1));
}
.form-success.is-visible { display: block; animation: fadeUp 0.5s var(--ease-out); }
.form-success__icon {
  width: 72px; height: 72px;
  margin: 0 auto var(--space-3);
  border-radius: 50%;
  background: var(--grad-gold);
  display: grid;
  place-items: center;
  color: #08101F;
}
.form-success__icon svg { width: 36px; height: 36px; }

.form-panel {
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--ink-850);
  box-shadow: var(--sh-lg);
}

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Consent / small print */
.fineprint { font-size: var(--fs-xs); color: var(--text-faint); }

/* ---------- 15. FLOATING ACTIONS ---------- */
.fab {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 300;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 0.6rem;
}
.fab__btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad-blue);
  box-shadow: var(--sh-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.fab__btn svg { width: 24px; height: 24px; }
.fab__btn:hover { transform: scale(1.07); color: #fff; }
.fab__btn--gold { background: var(--grad-gold); color: #08101F; box-shadow: var(--sh-gold); }
.fab__btn--gold:hover { color: #08101F; }
.fab__items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t) var(--ease);
}
.fab.is-open .fab__items { opacity: 1; visibility: visible; transform: none; }
.fab__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 48px;
  padding: 0 1.1rem;
  border-radius: var(--r-full);
  background: rgba(10, 17, 34, 0.95);
  border: 1px solid var(--line-strong);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--sh-md);
  backdrop-filter: blur(10px);
}
.fab__item:hover { color: #08101F; background: var(--brand-gold); border-color: transparent; }
.fab__item svg { width: 18px; height: 18px; flex: none; }

/* Mobile sticky CTA bar */
.mobile-bar {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 250;
  background: rgba(6, 10, 22, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.5rem;
}
.mobile-bar .btn { flex: 1; min-height: 48px; font-size: 0.85rem; padding-inline: 0.5rem; }

/* ---------- 16. CHAT WIDGET ---------- */
.chat {
  position: fixed;
  right: 1rem;
  bottom: calc(5.5rem + env(safe-area-inset-bottom));
  z-index: 310;
  width: min(370px, calc(100vw - 2rem));
  max-height: min(560px, calc(100vh - 9rem));
  display: none;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-800);
  border: 1px solid var(--line-strong);
  box-shadow: var(--sh-lg);
}
.chat.is-open { display: flex; animation: fadeUp 0.3s var(--ease-out); }
.chat__head {
  padding: 1rem 1.1rem;
  background: var(--grad-blue);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.chat__head b { color: #fff; font-family: var(--font-display); display: block; font-size: 0.98rem; }
.chat__head span { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.75); }
.chat__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  flex: none;
}
.chat__avatar svg { width: 20px; height: 20px; color: #fff; }
.chat__close { margin-left: auto; color: #fff; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; }
.chat__close:hover { background: rgba(255, 255, 255, 0.16); }
.chat__close svg { width: 18px; height: 18px; }
.chat__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  scroll-behavior: smooth;
}
.bubble {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.55;
  animation: fadeUp 0.3s var(--ease-out);
}
.bubble--bot {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
  color: var(--text-soft);
  align-self: flex-start;
}
.bubble--user {
  background: var(--grad-gold);
  color: #08101F;
  border-bottom-right-radius: 5px;
  align-self: flex-end;
  font-weight: 500;
}
.chat__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1rem 0.75rem; }
.chip {
  padding: 0.5rem 0.85rem;
  min-height: 40px;
  border-radius: var(--r-full);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 0.8rem;
  transition: all var(--t) var(--ease);
}
.chip:hover { background: var(--brand-gold); color: #08101F; border-color: transparent; }
.chat__foot {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--line);
}
.chat__foot input {
  flex: 1;
  padding: 0.7rem 0.9rem;
  min-height: 46px;
  border-radius: var(--r-full);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.9rem;
}
.chat__foot input:focus { outline: none; border-color: var(--brand-gold); }
.chat__send {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #08101F;
  display: grid;
  place-items: center;
  flex: none;
}
.chat__send svg { width: 20px; height: 20px; }
.chat__note { font-size: 0.68rem; color: var(--text-faint); padding: 0 1rem 0.75rem; text-align: center; }

/* ---------- 17. COOKIE BANNER ---------- */
.cookie {
  position: fixed;
  left: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 320;
  max-width: 420px;
  padding: 1.25rem;
  border-radius: var(--r-lg);
  background: rgba(10, 17, 34, 0.97);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  box-shadow: var(--sh-lg);
  display: none;
}
.cookie.is-visible { display: block; animation: fadeUp 0.45s var(--ease-out); }
.cookie p { font-size: var(--fs-sm); color: var(--text-mute); }
.cookie .btn-row { margin-top: var(--space-2); }

/* ---------- 18. CTA BAND ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--grad-blue);
  border-radius: 0;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -50% -10% auto -10%;
  height: 160%;
  z-index: -1;
  background: radial-gradient(50% 50% at 80% 20%, rgba(229, 139, 1, 0.4), transparent 65%);
}
.cta-band h2 { font-size: var(--fs-d1); text-transform: uppercase; font-weight: 900; letter-spacing: -0.035em; }
.cta-band p { color: rgba(255, 255, 255, 0.88); max-width: 60ch; margin-inline: auto; font-size: var(--fs-lead); }
.cta-band .btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.cta-band .btn--ghost:hover { background: #fff; color: var(--brand-blue); border-color: #fff; }

/* ---------- 19. FOOTER ---------- */
.footer {
  background: var(--ink-900);
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: calc(2rem + env(safe-area-inset-bottom));
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: var(--space-4);
  padding-bottom: var(--space-5);
}
.footer__brand img { height: 56px; width: auto; margin-bottom: var(--space-3); }
.footer__brand p { font-size: var(--fs-sm); color: var(--text-mute); max-width: 40ch; }
.footer__tag {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--brand-gold-light);
  font-size: 0.95rem;
  margin-bottom: var(--space-2);
}
.footer h4 {
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-3);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer ul li { margin: 0; }
.footer ul a { color: var(--text-mute); font-size: var(--fs-sm); }
.footer ul a:hover { color: var(--brand-gold-light); }
.footer__contact li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text-mute); font-size: var(--fs-sm); }
.footer__contact svg { width: 17px; height: 17px; color: var(--brand-gold); flex: none; margin-top: 3px; }

.footer__review {
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line-gold);
  border-radius: var(--r-md);
  background: rgba(229, 139, 1, 0.07);
  color: var(--text-soft);
  font-size: var(--fs-xs);
  font-weight: 600;
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease),
              color var(--t) var(--ease);
}
.footer__review:hover { background: rgba(229, 139, 1, 0.15); color: #fff; }
.footer__review-stars { display: flex; gap: 2px; color: var(--brand-gold); }
.footer__review-stars svg { width: 13px; height: 13px; }

.socials { display: flex; gap: 0.5rem; margin-top: var(--space-3); }
.socials a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--text-soft);
  transition: all var(--t) var(--ease);
}
.socials a:hover { background: var(--brand-gold); color: #08101F; border-color: transparent; transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-faint);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
.footer__legal a { color: var(--text-faint); }
.footer__legal a:hover { color: var(--brand-gold-light); }

/* ---------- 20. MISC BLOCKS ---------- */
.industries {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.industry {
  background: var(--ink-850);
  padding: 1.25rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
  min-height: 68px;
}
.industry:hover { background: var(--surface-3); color: #fff; }
.industry svg { width: 20px; height: 20px; color: var(--brand-gold); flex: none; }

.result-card {
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(1, 89, 168, 0.14), rgba(255, 255, 255, 0.02));
}
.result-card__tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-gold-light);
  border: 1px solid var(--line-gold);
  border-radius: var(--r-full);
  padding: 0.22rem 0.7rem;
  margin-bottom: var(--space-2);
}
.result-card h3 { font-size: 1.2rem; }
.result-card p { font-size: var(--fs-sm); color: var(--text-mute); }
.metric-note {
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px dashed var(--line-strong);
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.case-card {
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-850);
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.case-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--sh-md); }
.case-card__img { aspect-ratio: 4/3; overflow: hidden; }
.case-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.case-card:hover .case-card__img img { transform: scale(1.05); }
.case-card__body { padding: 1.35rem; }
.case-card__body h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.case-card__body p { font-size: var(--fs-sm); color: var(--text-mute); margin-bottom: 0.9rem; }

.prose { max-width: 78ch; }
.prose h2 { font-size: var(--fs-d3); margin-top: var(--space-5); }
.prose h3 { font-size: 1.25rem; margin-top: var(--space-4); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.25rem; }
.prose li { color: var(--text-soft); }
.prose .updated { font-size: var(--fs-sm); color: var(--text-faint); }

.notice {
  padding: 1.15rem 1.35rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-gold);
  background: rgba(229, 139, 1, 0.08);
  font-size: var(--fs-sm);
  color: var(--text-soft);
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.notice svg { width: 20px; height: 20px; color: var(--brand-gold); flex: none; margin-top: 2px; }

.embed-slot {
  border: 2px dashed var(--line-strong);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}
.embed-slot h3 { font-size: 1.2rem; }
.embed-slot p { font-size: var(--fs-sm); color: var(--text-mute); max-width: 52ch; margin-inline: auto; }
.booking-frame {
  width: 100%;
  height: clamp(620px, 82vh, 900px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  display: block;
}

.embed-slot code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  color: var(--brand-gold-light);
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  align-items: center;
  justify-content: center;
  opacity: 0.75;
}

/* ---------- 21. SCROLL REVEAL ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 22. RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .nav__link, .nav__toggle { padding-inline: 0.55rem; font-size: 0.84rem; }
  .btn--nav { padding-inline: 0.85rem; font-size: 0.78rem; }
  .nav__cta { margin-inline: 0.25rem; }
  .footer__grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: block; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { min-height: auto; padding-bottom: 5rem; }

  /* No room for a side-by-side fade on narrow screens: darken the whole frame
     and fade from the bottom instead, so the copy stays readable over the photo. */
  .hero--photo { min-height: 92svh; }
  .hero--photo .hero__bg img { object-position: 64% center; }
  /* Combined alpha never drops below ~0.60. Even where the photo is pure white
     (the whiteboard), that composites to ~5.6:1 against white text — so the copy
     stays readable wherever the image happens to sit behind it. */
  .hero--photo .hero__scrim {
    background:
      linear-gradient(to top, var(--ink-900) 4%, rgba(4, 7, 15, 0.88) 40%, rgba(4, 7, 15, 0.55) 100%),
      linear-gradient(100deg, rgba(4, 7, 15, 0.35) 0%, rgba(4, 7, 15, 0.12) 100%);
  }
  .hero--photo .hero__content { max-width: none; }
  .hero__badge { left: auto; right: 4%; }
  .scroll-cue { display: none; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  /* Every split image keeps its own proportions on a phone. Forcing 3:2 here
     cropped a 4:5 portrait down to its middle third — it cut the head off a
     standing subject and discarded pixels that had already been downloaded.
     `auto` shows the whole frame at full resolution instead. */
  .split__media img { aspect-ratio: auto; }
  .svc-grid { grid-template-columns: repeat(4, 1fr); }
  .svc, .svc--wide { grid-column: span 2; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tslide { flex: 0 0 100%; }
}

@media (min-width: 768px) {
  .tslide { flex: 0 0 calc(50% - (var(--space-3) / 2)); }
}
@media (min-width: 1200px) {
  .tslide { flex: 0 0 calc(33.333% - (var(--space-3) * 2 / 3)); }
}

@media (max-width: 767px) {
  :root { --fs-body: 1.0625rem; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc, .svc--wide { grid-column: span 1; min-height: 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sec-head--split { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .mobile-bar { display: flex; }
  body { padding-bottom: 72px; }
  .fab { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .chat { bottom: calc(150px + env(safe-area-inset-bottom)); }
  .cookie { left: 0.75rem; right: 0.75rem; max-width: none; bottom: calc(84px + env(safe-area-inset-bottom)); }
  .hero__badge { position: static; margin-top: 1rem; }
  .process::before, .process__fill { left: 22px; }
  .step { grid-template-columns: 46px 1fr; gap: 1rem; }
  .step__dot { width: 46px; height: 46px; font-size: 1rem; }
  .capbar__list a { font-size: 0.72rem; padding-inline: 0.8rem; letter-spacing: 0.08em; }
  .capbar__title {
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-gold-light);
  margin: 0 0 1rem;
}

.capbar__list { gap: 0.4rem; }
  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }
  .lightbox { gap: 0.6rem; }
  .lightbox__bar { gap: 0.45rem; }
  .lightbox__cap { font-size: var(--fs-xs); }
  .tcarousel__dots { display: none; }

  /* Comfortable touch targets for list-style links on small screens */
  .footer ul a,
  .footer__legal a,
  .crumbs a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .footer ul { gap: 0; }
  .footer__contact li { min-height: 44px; align-items: center; }
}

@media (max-width: 400px) {
  .btn { padding-inline: 1.3rem; font-size: 0.9rem; }
}

/* ---------- 23. MOTION / PRINT ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
}

@media print {
  .header, .footer, .fab, .chat, .cookie, .mobile-bar, .scroll-cue { display: none !important; }
  body { background: #fff; color: #000; }
  h1, h2, h3, h4 { color: #000; }
}
