/* ================================================================
   DR JOE COORY — Shoulder & Upper Limb Surgeon
   styles-v2.css — Premium design system rebuild
   Typography: Playfair Display + DM Sans
   Palette: Deep navy + gold + cream
   ================================================================ */


/* ----------------------------------------------------------------
   0. CUSTOM PROPERTIES
   ---------------------------------------------------------------- */

:root {
  /* --- Brand palette --- */
  --navy:        #0A1628;
  --navy-mid:    #132238;
  --navy-soft:   #1B2D45;
  --gold:        #b29063;
  --gold-bright: #c4a478;
  --gold-deep:   #96774f;
  --gold-muted:  rgba(178, 144, 99, 0.15);
  --cream:       #F8F6F1;
  --warm-white:  #FDFCFA;
  --ink:         #1A1A2E;
  --ink-muted:   #4A4A5C;
  --ink-soft:    #7A7A8C;
  --hairline:    #E8E6E1;
  --success:     #2D8A5E;

  /* --- Typography --- */
  --heading: 'Optima', 'Optima Nova', Candara, 'Noto Sans', 'DM Sans', sans-serif;
  --body:    'Optima', 'Optima Nova', Candara, 'Noto Sans', 'DM Sans', sans-serif;
  --ff-heading: var(--heading);
  --ff-body:    var(--body);

  /* --- Fluid type scale (minor third, 1.2) --- */
  --step--1: clamp(0.83rem, 0.79rem + 0.18vw, 0.94rem);
  --step-0:  clamp(1rem, 0.94rem + 0.28vw, 1.125rem);
  --step-1:  clamp(1.15rem, 1.06rem + 0.45vw, 1.35rem);
  --step-2:  clamp(1.35rem, 1.2rem + 0.72vw, 1.7rem);
  --step-3:  clamp(1.6rem, 1.38rem + 1.1vw, 2.15rem);
  --step-4:  clamp(2rem, 1.64rem + 1.8vw, 2.85rem);
  --step-5:  clamp(2.4rem, 1.88rem + 2.6vw, 3.75rem);
  --step-6:  clamp(2.8rem, 2rem + 4vw, 5rem);

  /* --- Spacing scale --- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  3rem;
  --space-8:  4rem;
  --space-9:  6rem;
  --space-10: 8rem;

  /* --- Layout --- */
  --max-w:       1280px;
  --max-w-wide:  1440px;
  --max-w-narrow: 880px;
  --measure:     68ch;

  /* --- Motion --- */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur:      320ms;
  --dur-slow: 600ms;
  --dur-fast: 180ms;

  /* --- Shadows --- */
  --shadow-sm:  0 1px 3px rgba(10, 22, 40, 0.06), 0 1px 2px rgba(10, 22, 40, 0.04);
  --shadow-md:  0 4px 12px rgba(10, 22, 40, 0.08), 0 2px 4px rgba(10, 22, 40, 0.04);
  --shadow-lg:  0 12px 40px rgba(10, 22, 40, 0.12), 0 4px 12px rgba(10, 22, 40, 0.06);
  --shadow-xl:  0 20px 60px rgba(10, 22, 40, 0.16), 0 8px 20px rgba(10, 22, 40, 0.08);
  --shadow-gold: 0 8px 30px rgba(178, 144, 99, 0.18);

  /* --- Border radius --- */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 100px;
}


/* ----------------------------------------------------------------
   1. MODERN CSS RESET
   ---------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  hanging-punctuation: first last;
}

body {
  min-height: 100dvh;
  font-family: var(--body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  text-wrap: balance;
}

p {
  overflow-wrap: break-word;
  text-wrap: pretty;
  max-width: var(--measure);
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Selection colour */
::selection {
  background-color: var(--gold);
  color: var(--navy);
}

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


/* ----------------------------------------------------------------
   2. FOCUS STYLES (Accessibility)
   ---------------------------------------------------------------- */

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}


/* ----------------------------------------------------------------
   3. TYPOGRAPHY
   ---------------------------------------------------------------- */

h1, h2, h3, h4, h5 {
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: var(--step-6);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h2 {
  font-size: var(--step-4);
  line-height: 1.15;
}

h3 {
  font-size: var(--step-3);
  line-height: 1.2;
}

h4 {
  font-size: var(--step-2);
  line-height: 1.25;
}

h5 {
  font-size: var(--step-1);
  line-height: 1.3;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 60ch;
}

small,
.text-sm {
  font-size: var(--step--1);
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

/* Body links */
.prose a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-decoration-color: rgba(178, 144, 99, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--dur-fast) var(--ease);
}

.prose a:hover {
  text-decoration-color: var(--gold);
}

/* Lists in prose */
.prose ul,
.prose ol {
  padding-left: 1.5rem;
  margin-block: 1rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-block-end: 0.4rem;
  line-height: 1.7;
}

.prose li::marker {
  color: var(--gold);
}


/* ----------------------------------------------------------------
   4. LAYOUT — CONTAINER
   ---------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.container--wide {
  max-width: var(--max-w-wide);
}

.container--narrow {
  max-width: var(--max-w-narrow);
}


/* ----------------------------------------------------------------
   5. HEADER & NAVIGATION
   ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(178, 144, 99, 0.2);
  transition: background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.site-header.scrolled {
  background: rgba(10, 22, 40, 0.96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-inline: clamp(0.5rem, 1.5vw, 1rem);
}

/* Logo */
.header__logo-scog {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 1010;
  margin-right: clamp(2rem, 4vw, 3.5rem);
  margin-left: -0.5rem;
  border: none;
  opacity: 0.85;
  transition: opacity var(--dur-fast) var(--ease);
}

.header__logo-scog:hover {
  opacity: 1;
}

.header__logo-scog img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  z-index: 1010;
  margin-right: auto;
}

.header__logo img {
  height: 42px;
  width: auto;
}

.header__logo-text {
  font-family: var(--heading);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.header__logo-text span {
  display: block;
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Desktop nav */
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(248, 246, 241, 0.8);
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--cream);
  background: rgba(248, 246, 241, 0.06);
}

.nav__link--active {
  color: var(--gold);
}

.nav__cta {
  margin-left: 0.75rem;
}

/* Dropdown */
.nav__item--dropdown {
  position: relative;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--navy);
  border: 1px solid rgba(178, 144, 99, 0.15);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  translate: 0 -8px;
  transition: opacity var(--dur-fast) var(--ease),
              translate var(--dur-fast) var(--ease),
              visibility var(--dur-fast);
}

.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}

.nav__dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  color: rgba(248, 246, 241, 0.75);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}

.nav__dropdown a:hover {
  color: var(--gold);
  background: rgba(178, 144, 99, 0.08);
}

/* Wide dropdown (two-column for 6+ items) */
.nav__dropdown--wide {
  min-width: 420px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Mega dropdown (three-column, categorised) */
.nav__dropdown--mega {
  min-width: 580px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 0.35rem;
  padding: 0.75rem 0.5rem;
}

.nav__dropdown-col {
  display: flex;
  flex-direction: column;
}

.nav__dropdown-heading {
  display: block;
  padding: 0.45rem 1rem 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  opacity: 0.7;
  pointer-events: none;
}

.nav__dropdown--mega a {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

/* Right-aligned dropdown (last nav item — prevents overflow) */
.nav__dropdown--right {
  left: auto;
  right: 0;
  transform: none;
}

/* CTA button dropdown: show on parent hover */
.nav__item--dropdown.nav__cta .btn {
  pointer-events: auto;
}
.nav__item--dropdown.nav__cta:hover .nav__dropdown,
.nav__item--dropdown.nav__cta:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}

/* --- Mobile hamburger (checkbox hack) --- */
.nav__toggle {
  display: none;
}

.nav__toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 1010;
  position: relative;
}

.nav__toggle-label .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease),
              opacity var(--dur-fast) var(--ease);
}

.nav__toggle-label .bar + .bar {
  margin-top: 6px;
}

/* Hamburger to X animation */
.nav__toggle:checked ~ .nav__toggle-label .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__toggle:checked ~ .nav__toggle-label .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__toggle:checked ~ .nav__toggle-label .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav panel */
@media (max-width: 900px) {
  .header__logo {
    min-width: 0;
    overflow: hidden;
  }
  .header__logo-text {
    font-size: clamp(0.75rem, 3vw, 0.95rem);
    white-space: nowrap;
  }
  .header__logo-text span {
    font-size: clamp(0.55rem, 2.2vw, 0.7rem);
  }
  .header__logo-scog {
    margin-right: clamp(0.5rem, 2vw, 1.5rem);
  }

  .nav__toggle-label {
    display: flex;
  }

  .nav__list {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    background: #0A1628;
    padding: 4.5rem 1.5rem 3rem;
    padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: opacity var(--dur-slow) var(--ease),
                transform var(--dur-slow) var(--ease-out),
                visibility var(--dur-slow);
    z-index: 1005;
  }

  .nav__toggle:checked ~ nav .nav__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__link {
    font-size: var(--step-1);
    padding: 0.65rem 0.75rem;
    opacity: 0;
    transform: translateY(12px);
    border-bottom: 1px solid rgba(178, 144, 99, 0.1);
  }

  .nav__toggle:checked ~ nav .nav__list .nav__link {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger */
  .nav__toggle:checked ~ nav .nav__list .nav__item:nth-child(1) .nav__link { transition-delay: 0.05s; }
  .nav__toggle:checked ~ nav .nav__list .nav__item:nth-child(2) .nav__link { transition-delay: 0.08s; }
  .nav__toggle:checked ~ nav .nav__list .nav__item:nth-child(3) .nav__link { transition-delay: 0.11s; }
  .nav__toggle:checked ~ nav .nav__list .nav__item:nth-child(4) .nav__link { transition-delay: 0.14s; }
  .nav__toggle:checked ~ nav .nav__list .nav__item:nth-child(5) .nav__link { transition-delay: 0.17s; }
  .nav__toggle:checked ~ nav .nav__list .nav__item:nth-child(6) .nav__link { transition-delay: 0.2s; }
  .nav__toggle:checked ~ nav .nav__list .nav__item:nth-child(7) .nav__link { transition-delay: 0.23s; }
  .nav__toggle:checked ~ nav .nav__list .nav__item:nth-child(8) .nav__link { transition-delay: 0.26s; }

  .nav__cta {
    margin-left: 0;
    margin-top: 0.75rem;
  }

  .nav__cta .btn {
    width: 100%;
    text-align: center;
  }

  /* Dropdown on mobile — accordion (hidden until parent tapped) */
  .nav__dropdown {
    position: static;
    transform: none;
    min-width: unset;
    background: rgba(178, 144, 99, 0.04);
    border: none;
    border-left: 2px solid rgba(178, 144, 99, 0.25);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    translate: 0;
    padding: 0.25rem 0 0.25rem 1rem;
    margin: 0.25rem 0 0.5rem 0.75rem;
    display: none;
    grid-template-columns: none;
    max-height: 0;
    overflow: hidden;
  }

  .nav__item--dropdown.active > .nav__dropdown {
    display: block;
    max-height: none;
    overflow: visible;
  }

  .nav__dropdown--mega {
    display: none;
    padding: 0.25rem 0 0.25rem 1rem;
    margin: 0.25rem 0 0.5rem 0.75rem;
  }

  .nav__item--dropdown.active > .nav__dropdown--mega {
    display: block;
  }

  /* Chevron indicator for dropdown parents */
  .nav__item--dropdown > .nav__link::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
    margin-left: 0.5rem;
    transition: transform 0.25s ease;
    vertical-align: middle;
  }

  .nav__item--dropdown.active > .nav__link::after {
    transform: rotate(-135deg);
  }

  .nav__dropdown-heading {
    padding: 0.4rem 0.5rem 0.15rem;
    font-size: 0.6rem;
    margin-top: 0.15rem;
  }

  .nav__dropdown-heading:first-child {
    margin-top: 0;
  }

  .nav__dropdown--mega a {
    font-size: var(--step--1);
    padding: 0.35rem 0.5rem;
  }

  .nav__dropdown a {
    font-size: var(--step--1);
    padding: 0.35rem 0.5rem;
  }
}


/* ----------------------------------------------------------------
   6. HERO
   ---------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: clamp(680px, 88vh, 920px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

/* Gradient overlay: solid navy left, fading to transparent right */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--navy) 0%,
    var(--navy) 25%,
    rgba(10, 22, 40, 0.92) 40%,
    rgba(10, 22, 40, 0.6) 60%,
    rgba(10, 22, 40, 0.15) 80%,
    transparent 100%
  );
  z-index: 2;
}

/* Subtle radial gold glow — top right */
.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 50%;
  height: 60%;
  background: radial-gradient(
    ellipse at center,
    rgba(178, 144, 99, 0.08) 0%,
    rgba(178, 144, 99, 0.03) 40%,
    transparent 70%
  );
  z-index: 3;
  pointer-events: none;
}

/* Hero background video — ambient loop behind content */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Doctor photo — right side */
.hero__photo {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 36%;
  max-height: 80%;
  object-fit: contain;
  object-position: right bottom;
  z-index: 1;
}

/* Ensure inner-page .hero > .container content sits above overlays */
.hero > .container {
  position: relative;
  z-index: 4;
}

/* Content — left side */
.hero__content {
  position: relative;
  z-index: 4;
  max-width: 52%;
  margin-inline: 0;
  padding-block: clamp(1.5rem, 3vh, 2.5rem) clamp(10rem, 20vh, 13rem);
}

.hero__eyebrow {
  display: none;
}

.hero__name {
  color: var(--cream);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--heading);
  font-size: var(--step-5);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero__title em,
.hero__title .hero__accent {
  font-style: normal;
  color: var(--gold);
}

.hero__subtitle {
  font-size: var(--step-0);
  font-weight: 400;
  color: rgba(248, 246, 241, 0.72);
  line-height: 1.6;
  max-width: 48ch;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Trust bar — bottom of hero */
.hero__trust-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: rgba(10, 22, 40, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(178, 144, 99, 0.15);
}

.hero__trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.hero__stat {
  padding: 1.5rem 2rem;
  text-align: center;
  position: relative;
}

/* Gold vertical dividers between stats */
.hero__stat + .hero__stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(178, 144, 99, 0.4),
    transparent
  );
}

.hero__stat-number {
  display: block;
  font-family: var(--heading);
  font-size: var(--step-3);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero__stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(248, 246, 241, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
}

a.hero__stat--link {
  text-decoration: none;
  transition: background var(--dur) var(--ease);
}

a.hero__stat--link:hover {
  background: rgba(178, 144, 99, 0.08);
}

/* Hero responsive */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-bottom: 0;
    flex-direction: column;
  }

  .hero::before {
    background: linear-gradient(
      to bottom,
      var(--navy) 0%,
      var(--navy) 40%,
      rgba(10, 22, 40, 0.85) 60%,
      rgba(10, 22, 40, 0.7) 80%,
      rgba(10, 22, 40, 0.55) 100%
    );
  }

  .hero::after {
    display: none;
  }

  .hero__content {
    max-width: 100%;
    padding-block: clamp(2rem, 5vh, 3.5rem) 2rem;
  }

  .hero__trust-bar {
    position: relative;
  }

  .hero__trust-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__stat {
    padding: 1.25rem 1rem;
  }

  /* Reset dividers for 2-col layout */
  .hero__stat:nth-child(3)::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__trust-bar-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero__stat {
    padding: 1rem 0.75rem;
  }
}


/* ----------------------------------------------------------------
   7. TRUST STRIP (credentials bar)
   ---------------------------------------------------------------- */

.trust-strip {
  background: var(--cream);
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--hairline);
}

.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.trust-strip__badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  border: 1px solid rgba(178, 144, 99, 0.25);
  border-radius: var(--radius-pill);
  background: var(--warm-white);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.trust-strip__badge:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(178, 144, 99, 0.12);
}

a.trust-strip__badge {
  text-decoration: none;
  color: var(--ink-muted);
  cursor: pointer;
}

.trust-strip__badge img {
  height: 28px;
  width: auto;
}

.trust-strip__badge-icon {
  color: var(--gold);
  font-size: 1.1rem;
}

@media (max-width: 480px) {
  .trust-strip__badge {
    white-space: normal;
    text-align: center;
    justify-content: center;
    font-size: 0.78rem;
    padding: 0.5rem 1rem;
  }

  .trust-strip__inner {
    gap: 0.75rem;
  }
}


/* ----------------------------------------------------------------
   8. SECTION SYSTEM
   ---------------------------------------------------------------- */

.section {
  padding-block: clamp(4rem, 10vw, 8rem);
}

.section--dark {
  background: var(--navy);
  color: var(--cream);
}

.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5 {
  color: var(--cream);
}

.section--dark .lead {
  color: rgba(248, 246, 241, 0.7);
}

.section--dark p:not(.lead):not(.card__text):not([class]) {
  color: rgba(248, 246, 241, 0.8);
}

.section--navy-mid {
  background: var(--navy-mid);
  color: var(--cream);
}

.section--navy-mid h2,
.section--navy-mid h3,
.section--navy-mid h4 {
  color: var(--cream);
}

.section--cream {
  background: var(--cream);
}

.bg-cream {
  background: var(--cream);
}

.section--white {
  background: var(--warm-white);
}

/* --- Base eyebrow (used on insight/essay article pages) --- */
.eyebrow {
  display: block;
  font-family: var(--ff-body);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.eyebrow--light {
  color: var(--gold);
}

/* --- Unscrubbed podcast chip --- */
.unscrubbed-chip {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(178, 144, 99, 0.12);
  border: 1px solid rgba(178, 144, 99, 0.25);
  border-radius: 999px;
  padding: 0.4rem 1rem;
}

/* --- Episode list (podcast page) --- */
.episode-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.episode-list li {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--hairline);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.episode-list li b {
  display: block;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.episode-list li.is-current {
  border-left-color: var(--gold);
  background: rgba(178, 144, 99, 0.06);
}

/* --- Video embed (essay + podcast pages) --- */
.video-embed {
  position: relative;
  padding-top: 56.25%;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 30px 60px -30px rgba(11, 29, 45, 0.4);
  margin-bottom: var(--space-3);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}

/* --- Essay figures (conference + essay pages) --- */
.essay-figure {
  margin: var(--space-6) 0;
}

.essay-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 30px 60px -30px rgba(11, 29, 45, 0.35);
  display: block;
}

.essay-figure figcaption {
  margin-top: var(--space-3);
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.5;
}

.essay-figure--inline {
  max-width: 320px;
  margin: var(--space-5) auto;
}

.essay-figure--inline img {
  border-radius: 8px;
}

@media (max-width: 640px) {
  .essay-figure--inline {
    max-width: 100%;
  }
}

/* Section header (eyebrow + heading + underline + lead) */
.section-header {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-header--center {
  text-align: center;
}

.section-header--center p {
  margin-inline: auto;
}

.section-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.section-header__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.section-header--center .section-header__eyebrow::before {
  display: none;
}

.section-header__heading {
  margin-bottom: 1rem;
}

/* Gold underline accent */
.section-header__heading::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 1rem;
}

.section-header--center .section-header__heading::after {
  margin-inline: auto;
}

.section-header__lead {
  font-size: var(--step-0);
  line-height: 1.75;
  color: var(--ink-muted);
  max-width: 58ch;
  margin-top: 0.75rem;
}

.section--dark .section-header__lead {
  color: rgba(248, 246, 241, 0.65);
}


/* ----------------------------------------------------------------
   9. BUTTONS
   ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--dur) var(--ease);
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn--primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn--secondary {
  background: transparent;
  color: var(--cream);
  border-color: rgba(248, 246, 241, 0.7);
}

.btn--secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--ghost:hover {
  background: var(--navy);
  color: var(--cream);
}

.cta-banner .btn--ghost {
  color: var(--cream);
  border-color: rgba(248, 246, 241, 0.7);
}

.cta-banner .btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn--text {
  background: transparent;
  color: var(--navy);
  border: none;
  padding: 0.5rem 0;
  font-weight: 500;
  border-radius: 0;
}

.btn--text::after {
  content: '\2192';
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease);
}

.btn--text:hover {
  color: var(--gold-deep);
}

.btn--text:hover::after {
  transform: translateX(4px);
}

.btn--sm {
  padding: 0.65rem 1.5rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

/* Button icon */
.btn__icon {
  display: inline-flex;
  align-items: center;
  font-size: 1.1em;
  transition: transform var(--dur-fast) var(--ease);
}

.btn:hover .btn__icon {
  transform: translateX(3px);
}


/* ----------------------------------------------------------------
   10. CARDS
   ---------------------------------------------------------------- */

.card {
  background: var(--warm-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  border-left: 3px solid var(--gold);
}

/* Dark card variant */
.card--dark {
  background: var(--navy-mid);
  border-color: rgba(178, 144, 99, 0.1);
  color: var(--cream);
}

.card--dark:hover {
  border-color: rgba(178, 144, 99, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3),
              0 0 0 1px rgba(178, 144, 99, 0.15);
}

.card--dark h3,
.card--dark h4,
.card--dark h5 {
  color: var(--cream);
}

.card--dark p {
  color: rgba(248, 246, 241, 0.7);
}

/* Featured card */
.card--featured {
  border-left: 3px solid var(--gold);
  background: linear-gradient(135deg, var(--warm-white), rgba(178, 144, 99, 0.04));
}

.card--featured:hover {
  border-left-width: 3px;
}

/* Card inner elements */
.card__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.card__title {
  font-family: var(--heading);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.card__text {
  font-size: var(--step-0);
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.card--dark .card__text {
  color: rgba(248, 246, 241, 0.65);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-muted);
  border-radius: var(--radius-md);
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.card--dark .card__icon {
  background: rgba(178, 144, 99, 0.12);
}

.card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap var(--dur-fast) var(--ease);
}

.card__more::after {
  content: '\2192';
  transition: transform var(--dur-fast) var(--ease);
}

.card:hover .card__more::after {
  transform: translateX(4px);
}

.card__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: calc(-1 * clamp(1.5rem, 3vw, 2rem));
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.card__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.card:hover .card__image img {
  transform: scale(1.03);
}

/* Card grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
  .card-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .card-grid--3,
  .card-grid--2 {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}


/* ----------------------------------------------------------------
   11. PHOTO MOSAIC
   ---------------------------------------------------------------- */

.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 860px;
  margin-inline: auto;
}

.photo-mosaic__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.photo-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--dur-slow) var(--ease);
}

.photo-mosaic__item:hover img {
  transform: scale(1.04);
}

/* Caption overlay */
.photo-mosaic__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.8), transparent);
  color: var(--cream);
  font-size: var(--step--1);
  font-weight: 500;
}

.photo-mosaic--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
}

.photo-mosaic--3 .photo-mosaic__item {
  aspect-ratio: 4 / 3;
}

.photo-mosaic--4 {
  max-width: 1100px;
}

@media (max-width: 640px) {
  .photo-mosaic,
  .photo-mosaic--3 {
    grid-template-columns: 1fr;
  }

  .photo-mosaic__item {
    aspect-ratio: 4 / 3;
  }
}


/* ----------------------------------------------------------------
   12. PULL QUOTE
   ---------------------------------------------------------------- */

.pull-quote {
  position: relative;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--cream);
  border-radius: 0;
  margin-block: var(--space-7);
  text-align: center;
}

.pull-quote__text {
  font-family: var(--heading);
  font-size: var(--step-2);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  max-width: 55ch;
  margin-inline: auto;
}

.pull-quote__cite {
  display: block;
  font-family: var(--body);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1.25rem;
}

.pull-quote__cite::before {
  content: '\2014\00a0';
}

/* Dark pull quote */
.section--dark .pull-quote {
  background: rgba(178, 144, 99, 0.06);
}

.section--dark .pull-quote__text {
  color: var(--cream);
}


/* ----------------------------------------------------------------
   13. GPS TIMELINE (vertical)
   ---------------------------------------------------------------- */

.timeline {
  position: relative;
  padding-left: 3rem;
}

/* The vertical gold line */
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--gold) 3%,
    var(--gold) 97%,
    transparent
  );
}

.timeline__item {
  position: relative;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

/* Numbered dot */
.timeline__dot {
  position: absolute;
  left: -3rem;
  top: 0.15rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  z-index: 2;
}

.timeline__item-content {
  background: var(--warm-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.timeline__item-content:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(178, 144, 99, 0.3);
}

.timeline__item-title {
  font-family: var(--heading);
  font-size: var(--step-2);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline__item-text {
  font-size: var(--step-0);
  color: var(--ink-muted);
  line-height: 1.65;
}

/* Desktop: alternating left/right */
@media (min-width: 901px) {
  .timeline {
    padding-left: 0;
    max-width: 900px;
    margin-inline: auto;
  }

  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline__item {
    display: flex;
    width: 100%;
  }

  .timeline__dot {
    left: 50%;
    transform: translateX(-50%);
    top: 1.5rem;
  }

  .timeline__item-content {
    width: 44%;
  }

  /* Odd items: left side */
  .timeline__item:nth-child(odd) {
    justify-content: flex-start;
  }

  .timeline__item:nth-child(odd) .timeline__item-content {
    text-align: right;
  }

  /* Even items: right side */
  .timeline__item:nth-child(even) {
    justify-content: flex-end;
  }

  .timeline__item:nth-child(even) .timeline__item-content {
    text-align: left;
  }
}

/* Dark variant */
.section--dark .timeline::before {
  background: linear-gradient(
    to bottom,
    transparent,
    var(--gold) 3%,
    var(--gold) 97%,
    transparent
  );
}

.section--dark .timeline__item-content {
  background: var(--navy-mid);
  border-color: rgba(178, 144, 99, 0.1);
  color: var(--cream);
}

.section--dark .timeline__item-content:hover {
  border-color: rgba(178, 144, 99, 0.3);
}

.section--dark .timeline__item-title {
  color: var(--cream);
}

.section--dark .timeline__item-text {
  color: rgba(248, 246, 241, 0.65);
}


/* ----------------------------------------------------------------
   14. SCROLL REVEAL ANIMATIONS
   ---------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out),
              transform 0.8s var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }
[data-reveal-delay="6"] { transition-delay: 0.6s; }

/* Scale-up variant */
[data-reveal="scale"] {
  transform: scale(0.95);
}

[data-reveal="scale"].revealed {
  transform: scale(1);
}

/* Slide-in-left variant */
[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="left"].revealed {
  transform: translateX(0);
}

/* Slide-in-right variant */
[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal="right"].revealed {
  transform: translateX(0);
}


/* ----------------------------------------------------------------
   14b. ABOUT HERO
   ---------------------------------------------------------------- */

.about-hero {
  background: var(--navy);
  padding: clamp(4rem, 9vh, 6rem) 0 clamp(3rem, 7vh, 5rem);
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: var(--space-8);
  align-items: start;
}

.about-hero__grid .about-hero__image {
  margin-top: 5.5rem;
}

.about-hero__grid--flipped {
  grid-template-columns: 0.58fr 0.42fr;
}

.about-hero__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-hero__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(178, 144, 99, 0.12);
  pointer-events: none;
}

.about-hero__content {
  color: var(--cream);
}

.about-hero__content .breadcrumb a,
.about-hero__content .breadcrumb__current {
  color: rgba(248, 246, 241, 0.5);
}

.about-hero__content .breadcrumb__current {
  color: var(--gold);
}

@media (max-width: 900px) {
  .about-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .about-hero__image {
    max-width: 360px;
    margin-inline: auto;
  }
  .about-hero {
    padding-top: clamp(5rem, 12vh, 7rem);
    text-align: center;
  }
  .about-hero__content div[style*="display: flex"] {
    justify-content: center;
  }
}


/* ----------------------------------------------------------------
   14c. ABOUT TWO-COL RESPONSIVE
   ---------------------------------------------------------------- */

@media (max-width: 768px) {
  .about-two-col {
    grid-template-columns: 1fr !important;
    gap: var(--space-6) !important;
  }
}


/* ----------------------------------------------------------------
   14d. CTA STRIP (navy banner variant)
   ---------------------------------------------------------------- */

.cta-strip {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(178, 144, 99, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-strip__inner {
  position: relative;
  z-index: 1;
}


/* ----------------------------------------------------------------
   15. CTA BANNER
   ---------------------------------------------------------------- */

.cta-banner {
  background: var(--navy);
  padding-block: clamp(4rem, 10vw, 7rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle gold gradient behind */
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 120%;
  background: radial-gradient(
    ellipse at center,
    rgba(178, 144, 99, 0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-inline: auto;
}

.cta-banner__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.cta-banner__heading {
  font-family: var(--heading);
  font-size: var(--step-4);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-banner__heading em,
.cta-banner__heading .hero__accent {
  font-style: normal;
  color: var(--gold);
}

.cta-banner__text {
  font-size: var(--step-0);
  color: rgba(248, 246, 241, 0.65);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}


/* ----------------------------------------------------------------
   16. FOOTER
   ---------------------------------------------------------------- */

.site-footer {
  background: var(--navy);
  color: rgba(248, 246, 241, 0.6);
  padding-top: clamp(3rem, 8vw, 5rem);
  padding-inline: clamp(1.5rem, 5vw, 3.5rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.footer__brand {
  max-width: 320px;
}

.footer__brand-logo img {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__brand-name {
  font-family: var(--heading);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.footer__brand-desc {
  font-size: var(--step--1);
  line-height: 1.7;
  color: rgba(248, 246, 241, 0.55);
  margin-bottom: 1.5rem;
}

.footer__heading {
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  font-size: 0.92rem;
  color: rgba(248, 246, 241, 0.55);
  transition: color var(--dur-fast) var(--ease);
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__cta {
  margin-top: 0.5rem;
  text-align: center;
}

/* Social row */
.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(248, 246, 241, 0.15);
  color: rgba(248, 246, 241, 0.6);
  font-size: 1rem;
  transition: border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}

.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(178, 144, 99, 0.08);
}

/* Footer bottom — disclaimer + copyright */
.footer__bottom {
  border-top: 1px solid rgba(248, 246, 241, 0.08);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.footer__disclaimer {
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(248, 246, 241, 0.35);
  max-width: 60ch;
}

.footer__copyright {
  font-size: 0.78rem;
  color: rgba(248, 246, 241, 0.35);
  white-space: nowrap;
}

/* Footer responsive */
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
  }
}


/* ----------------------------------------------------------------
   17. ADDITIONAL COMPONENTS
   ---------------------------------------------------------------- */

/* --- Feature row (image + text, alternating) --- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.feature-row--reverse {
  direction: rtl;
}

.feature-row--reverse > * {
  direction: ltr;
}

.feature-row__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.feature-row__image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-row__content {
  padding-block: 1rem;
}

@media (max-width: 900px) {
  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }
}

/* --- Stats grid --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat__number {
  font-family: var(--heading);
  font-size: var(--step-5);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section--dark .stat__label {
  color: rgba(248, 246, 241, 0.55);
}

/* --- Accordion --- */
.accordion {
  border-top: 1px solid var(--hairline);
}

.accordion__item {
  border-bottom: 1px solid var(--hairline);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--heading);
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--dur-fast) var(--ease);
}

.accordion__trigger:hover {
  color: var(--gold-deep);
}

.accordion__trigger-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: transform var(--dur) var(--ease);
}

.accordion__item[open] .accordion__trigger-icon {
  transform: rotate(45deg);
}

.accordion__content {
  padding-bottom: 1.5rem;
  padding-right: 3rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.section--dark .accordion {
  border-color: rgba(248, 246, 241, 0.1);
}

.section--dark .accordion__item {
  border-color: rgba(248, 246, 241, 0.1);
}

.section--dark .accordion__trigger {
  color: var(--cream);
}

.section--dark .accordion__content {
  color: rgba(248, 246, 241, 0.65);
}

/* --- Badge / tag --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  background: var(--warm-white);
  color: var(--ink-muted);
}

.badge--gold {
  background: var(--gold-muted);
  border-color: rgba(178, 144, 99, 0.3);
  color: var(--gold-deep);
}

a.badge {
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

a.badge:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(178, 144, 99, 0.15);
}

.badge--success {
  background: rgba(45, 138, 94, 0.1);
  border-color: rgba(45, 138, 94, 0.25);
  color: var(--success);
}

/* --- Divider --- */
.divider {
  height: 1px;
  background: var(--hairline);
  border: none;
  margin-block: var(--space-7);
}

.divider--gold {
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  max-width: 120px;
}

.divider--gold-center {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  max-width: 200px;
  margin-inline: auto;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
  padding-block: 1rem;
}

.breadcrumb a {
  color: var(--ink-muted);
  transition: color var(--dur-fast) var(--ease);
}

.breadcrumb a:hover {
  color: var(--gold-deep);
}

.breadcrumb__sep {
  color: var(--ink-soft);
  font-size: 0.7em;
}

.breadcrumb__current {
  color: var(--ink);
  font-weight: 500;
}


/* --- Breadcrumbs (ol/li variant used on condition & utility pages) --- */
.breadcrumbs {
  padding-block: 0.5rem 0;
  font-size: var(--step--1);
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs ol li {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.breadcrumbs ol li + li::before {
  content: '/';
  color: var(--ink-soft);
  font-size: 0.7em;
  margin-inline: 0.25rem;
}

.breadcrumbs ol li a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

.breadcrumbs ol li a:hover {
  color: var(--gold-deep);
}

.breadcrumbs ol li[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

/* Dark variant (inside .hero sections) */
.hero .breadcrumbs ol li + li::before {
  color: rgba(248, 246, 241, 0.3);
}

.hero .breadcrumbs ol li a {
  color: rgba(248, 246, 241, 0.55);
}

.hero .breadcrumbs ol li a:hover {
  color: var(--gold);
}

.hero .breadcrumbs ol li[aria-current="page"] {
  color: var(--gold);
}

/* --- Link cards (clickable cards) --- */
a.card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

a.card .card__more {
  margin-top: auto;
  padding-top: 1rem;
}

/* --- Breadcrumb dark variant (for page heroes) --- */
.breadcrumb--dark {
  color: rgba(248, 246, 241, 0.5);
}

.breadcrumb--dark a {
  color: rgba(248, 246, 241, 0.55);
}

.breadcrumb--dark a:hover {
  color: var(--gold);
}

.breadcrumb--dark .breadcrumb__sep {
  color: rgba(248, 246, 241, 0.3);
}

.breadcrumb--dark .breadcrumb__current {
  color: var(--gold);
}

/* --- Card grid: 5 columns (shoulder replacement) --- */
.card-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1100px) {
  .card-grid--5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 750px) {
  .card-grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .card-grid--5 {
    grid-template-columns: 1fr;
  }
}

/* --- Card: signature variant (gold-accented feature) --- */
.card--signature {
  background: linear-gradient(135deg, var(--warm-white), rgba(178, 144, 99, 0.06));
  border: 1px solid var(--gold);
  position: relative;
}

.card--signature::before {
  content: 'Signature procedure';
  position: absolute;
  top: -11px;
  left: 1.5rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
}

.card--signature:hover {
  border-color: var(--gold-bright);
  box-shadow: var(--shadow-gold);
  border-left: 1px solid var(--gold-bright);
}

/* --- Card grid: 4 columns --- */
.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .card-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* --- GPS Phase cards (experience page) --- */
.phase-card {
  background: var(--warm-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.phase-card:hover {
  border-color: rgba(178, 144, 99, 0.3);
  box-shadow: var(--shadow-md);
}

.phase-card--highlight {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--warm-white), rgba(178, 144, 99, 0.04));
}

.phase-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.phase-card__title {
  font-family: var(--heading);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.phase-card__meta {
  font-size: var(--step--1);
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.phase-card__meta strong {
  color: var(--ink);
}

.phase-card__text {
  font-size: var(--step-0);
  color: var(--ink-muted);
  line-height: 1.7;
}

/* Dark phase card */
.phase-card--dark {
  background: var(--navy-mid);
  border-color: rgba(178, 144, 99, 0.15);
  color: var(--cream);
}

.phase-card--dark .phase-card__title { color: var(--cream); }
.phase-card--dark .phase-card__meta { color: rgba(248, 246, 241, 0.6); }
.phase-card--dark .phase-card__meta strong { color: var(--cream); }
.phase-card--dark .phase-card__text { color: rgba(248, 246, 241, 0.65); }

/* --- Two-column content block --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* --- Navy section text --- */
.section--navy-accent {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding-block: clamp(3rem, 8vw, 5rem);
  position: relative;
  overflow: hidden;
}

.section--navy-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(178, 144, 99, 0.04), transparent 60%);
  pointer-events: none;
}

.section--navy-accent h2 { color: var(--cream); }
.section--navy-accent .section-header__eyebrow { color: var(--gold); }
.section--navy-accent p { color: rgba(248, 246, 241, 0.75); margin-inline: auto; }

/* Gold-accent section (GPS fee positioning) */
.section--gold-accent {
  background: linear-gradient(135deg, rgba(178, 144, 99, 0.10) 0%, rgba(178, 144, 99, 0.06) 100%);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid rgba(178, 144, 99, 0.25);
  color: var(--navy);
  text-align: center;
  padding-block: clamp(3rem, 8vw, 5rem);
  position: relative;
  overflow: hidden;
}
.section--gold-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(178, 144, 99, 0.08), transparent 60%);
  pointer-events: none;
}
.section--gold-accent h2 { color: var(--navy); }
.section--gold-accent .section-header__eyebrow { color: var(--gold-deep); }
.section--gold-accent p { color: var(--ink-soft); margin-inline: auto; }


/* ----------------------------------------------------------------
   18. PROCEDURE / CONDITION PAGES
   ---------------------------------------------------------------- */

/* Page hero — slimmer variant */
.page-hero {
  background: var(--navy);
  padding-block: clamp(6rem, 14vh, 9rem) clamp(3rem, 8vh, 5rem);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(
    ellipse at 80% 30%,
    rgba(178, 144, 99, 0.05) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.page-hero__title {
  color: var(--cream);
  font-size: var(--step-5);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

/* Skip-to-content link — hidden until focused (a11y) */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 0.75rem 1.5rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: var(--step--1);
  text-decoration: none;
}

.page-hero__subtitle {
  font-size: var(--step-1);
  color: rgba(248, 246, 241, 0.65);
  line-height: 1.65;
  max-width: 55ch;
}

/* Info sidebar */
.info-sidebar {
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  position: sticky;
  top: 100px;
}

.info-sidebar__heading {
  font-family: var(--heading);
  font-size: var(--step-1);
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

.info-sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.info-sidebar__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.92rem;
}

.info-sidebar__label {
  color: var(--ink-muted);
}

.info-sidebar__value {
  font-weight: 600;
  color: var(--ink);
}

/* Two-column content layout */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 900px) {
  .content-layout {
    grid-template-columns: 1fr;
  }

  .info-sidebar {
    position: static;
  }

  .page-hero {
    padding-block: clamp(2.5rem, 6vh, 4rem) clamp(2rem, 5vh, 3rem);
  }
}


/* ----------------------------------------------------------------
   19. FORMS
   ---------------------------------------------------------------- */

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--warm-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-muted);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--ink-soft);
}

.form-hint {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 0.35rem;
}


/* ----------------------------------------------------------------
   20. TABLES
   ---------------------------------------------------------------- */

.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
}

.table {
  width: 100%;
  font-size: 0.92rem;
}

.table thead {
  background: var(--cream);
}

.table th {
  text-align: left;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  border-bottom: 2px solid var(--hairline);
}

.table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover {
  background: rgba(178, 144, 99, 0.04);
}


/* ----------------------------------------------------------------
   21. UTILITY CLASSES
   ---------------------------------------------------------------- */

/* Text alignment */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* Text colours */
.text-gold    { color: var(--gold); }
.text-cream   { color: var(--cream); }
.text-navy    { color: var(--navy); }
.text-muted   { color: var(--ink-muted); }
.text-soft    { color: var(--ink-soft); }
.text-success { color: var(--success); }

/* Font families */
.font-heading { font-family: var(--heading); }
.font-body    { font-family: var(--body); }

/* Font weight */
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* Spacing — margin top */
.mt-0  { margin-top: 0; }
.mt-1  { margin-top: var(--space-1); }
.mt-2  { margin-top: var(--space-2); }
.mt-3  { margin-top: var(--space-3); }
.mt-4  { margin-top: var(--space-4); }
.mt-5  { margin-top: var(--space-5); }
.mt-6  { margin-top: var(--space-6); }
.mt-7  { margin-top: var(--space-7); }
.mt-8  { margin-top: var(--space-8); }

/* Spacing — margin bottom */
.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: var(--space-1); }
.mb-2  { margin-bottom: var(--space-2); }
.mb-3  { margin-bottom: var(--space-3); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-5  { margin-bottom: var(--space-5); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-7  { margin-bottom: var(--space-7); }
.mb-8  { margin-bottom: var(--space-8); }

/* Spacing — padding top */
.pt-0  { padding-top: 0; }
.pt-4  { padding-top: var(--space-4); }
.pt-6  { padding-top: var(--space-6); }
.pt-8  { padding-top: var(--space-8); }

/* Spacing — padding bottom */
.pb-0  { padding-bottom: 0; }
.pb-4  { padding-bottom: var(--space-4); }
.pb-6  { padding-bottom: var(--space-6); }
.pb-8  { padding-bottom: var(--space-8); }

/* Flex utilities */
.flex          { display: flex; }
.flex-col      { flex-direction: column; }
.flex-wrap     { flex-wrap: wrap; }
.items-center  { align-items: center; }
.items-start   { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }

/* Grid utilities */
.grid { display: grid; }

/* Max-width */
.max-w-narrow { max-width: var(--max-w-narrow); }
.mx-auto      { margin-inline: auto; }

/* Visibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden { display: none; }

/* Object fit */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Position */
.relative { position: relative; }


/* ----------------------------------------------------------------
   22. REDUCED MOTION
   ---------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .card:hover {
    transform: none;
  }

  .btn--primary:hover {
    transform: none;
  }

  .hero__photo {
    animation: none;
  }
}


/* ----------------------------------------------------------------
   23. PRINT STYLES
   ---------------------------------------------------------------- */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 11pt;
    line-height: 1.5;
    color: #000;
  }

  .site-header,
  .site-footer,
  .nav__toggle-label,
  .btn,
  .cta-banner,
  .hero__trust-bar,
  .trust-strip {
    display: none !important;
  }

  h1, h2, h3, h4 {
    page-break-after: avoid;
    font-family: Georgia, serif;
    color: #000;
  }

  h1 { font-size: 24pt; }
  h2 { font-size: 18pt; }
  h3 { font-size: 14pt; }

  img {
    max-width: 100%;
    page-break-inside: avoid;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #555;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero__photo {
    display: none;
  }

  .hero__title {
    color: #000 !important;
    font-size: 28pt;
  }

  p {
    orphans: 3;
    widows: 3;
  }
}


/* ----------------------------------------------------------------
   24. DARK MODE SUPPORT (optional, honours system preference)
   ---------------------------------------------------------------- */

/* Uncomment the block below to enable automatic dark mode.
   Currently the site is navy-themed so this isn't strictly needed,
   but it's here for cream/white section handling.

@media (prefers-color-scheme: dark) {
  .section--white,
  .section--cream {
    background: var(--navy-soft);
    color: var(--cream);
  }

  .section--white h2,
  .section--white h3,
  .section--cream h2,
  .section--cream h3 {
    color: var(--cream);
  }

  .card {
    background: var(--navy-mid);
    border-color: rgba(178, 144, 99, 0.1);
    color: var(--cream);
  }

  .card h3,
  .card h4 {
    color: var(--cream);
  }

  .card__text {
    color: rgba(248, 246, 241, 0.65);
  }
}
*/


/* ----------------------------------------------------------------
   PROCEDURE ARTICLE PAGES
   ---------------------------------------------------------------- */

/* Two-column article + sidebar layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding-block: clamp(2rem, 5vw, 4rem);
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
}

/* Tight article top — used after byline on procedure pages */
.section--article-tight {
  padding-top: clamp(0.5rem, 1.5vw, 1rem);
}
.section--article-tight .article-layout {
  padding-top: 0;
}

/* Prose */
.prose {
  font-size: var(--step-0);
  line-height: 1.75;
  color: var(--ink);
}

.prose h2 {
  font-family: var(--ff-heading);
  font-size: var(--step-3);
  font-weight: 600;
  color: var(--navy);
  margin-top: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.prose h3 {
  font-family: var(--ff-heading);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose h4 {
  font-family: var(--ff-body);
  font-size: var(--step-0);
  font-weight: 700;
  color: var(--navy);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--ink-muted);
}

.prose ul,
.prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--ink-muted);
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose--contact h2,
.prose--contact h3 {
  color: var(--gold);
  font-weight: 700;
}

.prose sup {
  font-size: 0.7em;
  color: var(--gold);
  font-weight: 600;
}

/* Procedure video */
.procedure-video {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
  background: var(--navy);
}

.procedure-video video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* MPH exterior gallery */
.mph-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.mph-gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}
@media (max-width: 640px) {
  .mph-gallery { grid-template-columns: 1fr; }
  .mph-gallery img { height: 220px; }
}

/* Quick-facts bar */
.quick-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--navy);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.quick-facts > div {
  flex: 0 0 calc(100% / 3);
  position: relative;
  background: var(--navy);
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-top: 0.5px solid rgba(178, 144, 99, 0.15);
  border-left: 0.5px solid rgba(178, 144, 99, 0.15);
  box-sizing: border-box;
}

.quick-facts > div:nth-child(3n+1) { border-left: none; }
.quick-facts > div:nth-child(-n+3)  { border-top: none; }

/* Extend horizontal line to edges — 2 items in last row */
.quick-facts > div:nth-child(3n+1):nth-last-child(2)::before {
  content: '';
  position: absolute;
  top: -0.5px;
  right: 100%;
  width: 9999px;
  height: 0.5px;
  background: rgba(178, 144, 99, 0.15);
}
.quick-facts > div:nth-child(3n+2):last-child::after {
  content: '';
  position: absolute;
  top: -0.5px;
  left: 100%;
  width: 9999px;
  height: 0.5px;
  background: rgba(178, 144, 99, 0.15);
}

/* Extend horizontal line to edges — 1 item in last row */
.quick-facts > div:nth-child(3n+1):last-child:not(:first-child)::before {
  content: '';
  position: absolute;
  top: -0.5px;
  right: 100%;
  width: 9999px;
  height: 0.5px;
  background: rgba(178, 144, 99, 0.15);
}
.quick-facts > div:nth-child(3n+1):last-child:not(:first-child)::after {
  content: '';
  position: absolute;
  top: -0.5px;
  left: 100%;
  width: 9999px;
  height: 0.5px;
  background: rgba(178, 144, 99, 0.15);
}

.quick-facts dt {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.quick-facts dd {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream);
  margin: 0;
}

@media (max-width: 640px) {
  .quick-facts > div { flex: 0 0 50%; }
  .quick-facts > div:nth-child(3n+1) {
    border-left: 0.5px solid rgba(178, 144, 99, 0.15);
  }
  .quick-facts > div:nth-child(2n+1) { border-left: none; }
  .quick-facts > div:nth-child(-n+3) {
    border-top: 0.5px solid rgba(178, 144, 99, 0.15);
  }
  .quick-facts > div:nth-child(-n+2) { border-top: none; }
  .quick-facts > div::before,
  .quick-facts > div::after { display: none; }
}

@media (max-width: 380px) {
  .quick-facts > div {
    flex: 0 0 100%;
    border-left: none;
  }
  .quick-facts > div:nth-child(-n+2) {
    border-top: 0.5px solid rgba(178, 144, 99, 0.15);
  }
  .quick-facts > div:first-child { border-top: none; }
}

/* Byline bar */
.byline {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.byline__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
}

.byline__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.byline__meta {
  display: flex;
  flex-direction: column;
}

.byline__author {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

.byline__role {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.byline__date {
  margin-left: auto;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

@media (max-width: 600px) {
  .byline__date {
    margin-left: 0;
    width: 100%;
  }
}

/* FAQ accordion */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1rem;
}

.faq details {
  border-bottom: 1px solid rgba(10, 22, 40, 0.1);
}

.faq summary {
  padding: 1.1rem 0;
  font-weight: 600;
  font-size: var(--step-0);
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform var(--dur-fast) var(--ease);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq__answer {
  padding-bottom: 1.25rem;
}

.faq__answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-muted);
  margin: 0;
}

/* Protocol callout */
.protocol-callout {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: rgba(178, 144, 99, 0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.protocol-callout h3 {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.5rem;
}
.protocol-callout p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0;
}
.protocol-callout a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Sidebar */
.article-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 6rem;
}

.aside-card {
  padding: 1.5rem;
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
}

.aside-card h4 {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.aside-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aside-card li {
  margin-bottom: 0.4rem;
}

.aside-card a {
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 500;
}

.aside-card a:hover {
  text-decoration: underline;
}

.aside-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

/* Dark sidebar card variant */
.aside-card--dark {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}

.aside-card--dark h4 {
  color: var(--gold);
}

.aside-card--dark p {
  color: rgba(248, 246, 241, 0.85);
}

/* Photo placeholder */
.photo-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.04), rgba(178, 144, 99, 0.06));
  border: 2px dashed rgba(178, 144, 99, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.photo-placeholder__label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(178, 144, 99, 0.5);
}

/* Procedure hero image */
.procedure-hero-img {
  margin: 0 auto 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.procedure-hero-img img,
.procedure-hero-img video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* Inline btn for sidebar */
.btn--ink {
  display: inline-block;
  background: var(--navy);
  color: var(--cream);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--dur-fast) var(--ease);
}

.btn--ink:hover {
  background: var(--navy-mid);
}

/* ================================================================
   ROW 7 — Oxford Shoulder Score as tabs
   ================================================================ */
.oss-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.oss-tabs__btn {
  padding: 0.75rem 1.5rem;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(178, 144, 99, 0.08);
  border: 1px solid rgba(178, 144, 99, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.oss-tabs__btn:hover {
  background: rgba(178, 144, 99, 0.15);
  border-color: var(--gold);
}
.oss-tabs__btn[aria-selected="true"] {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.oss-tabs__panel {
  display: none;
}
.oss-tabs__panel[data-active] {
  display: block;
  animation: tabFadeIn 0.3s ease;
}
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   ROW 10/11 — Locations as expandable tabs
   ================================================================ */
.loc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--hairline);
  padding-bottom: 1rem;
}
.loc-tabs__btn {
  padding: 0.65rem 1.25rem;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.loc-tabs__btn:hover {
  color: var(--gold-deep);
  border-color: var(--gold);
}
.loc-tabs__btn[aria-selected="true"] {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.loc-tabs__panel {
  display: none;
}
.loc-tabs__panel[data-active] {
  display: block;
  animation: tabFadeIn 0.3s ease;
}
.loc-tabs__panel .loc-img {
  width: 100%;
  max-width: 640px;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}
@media (min-width: 640px) {
  .loc-tabs__panel .loc-img {
    height: 300px;
  }
}

/* ================================================================
   FLIP CARDS — Locations page
   ================================================================ */
.flip-card {
  perspective: 900px;
  cursor: pointer;
}
.flip-card__inner {
  position: relative;
  width: 100%;
  min-height: 320px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.flip-card.is-flipped .flip-card__inner,
.flip-card:hover .flip-card__inner {
  transform: rotateY(180deg);
}
.flip-card__front,
.flip-card__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  overflow: hidden;
}
.flip-card__front {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.flip-card__front img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flip-card__front-overlay {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.5) 60%, transparent 100%);
}
.flip-card__front-overlay h3 {
  color: #fff;
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  margin: 0 0 0.25rem;
}
.flip-card__front-overlay .card__eyebrow {
  color: var(--gold);
  font-size: 0.72rem;
  margin-bottom: 0.35rem;
  display: block;
}
.flip-card__front-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  font-family: var(--ff-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.flip-card__front-hint svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}
.flip-card:hover .flip-card__front-hint svg {
  transform: rotate(45deg);
}
.flip-card__back {
  transform: rotateY(180deg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}
.flip-card__back h3 {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0 0 0.5rem;
}
.flip-card__back .card__eyebrow {
  display: block;
  margin-bottom: 0.35rem;
}
.flip-card__back p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 0.6rem;
}
.flip-card__back p:last-child {
  margin-bottom: 0;
}
.flip-card__back a {
  color: var(--gold);
}

/* ================================================================
   ROW 12/13 — About page credentials as tabs + stats box
   ================================================================ */
.cred-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--hairline);
  padding-bottom: 1rem;
}
.cred-tabs__btn {
  padding: 0.65rem 1.25rem;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.cred-tabs__btn:hover {
  color: var(--gold-deep);
  border-color: var(--gold);
}
.cred-tabs__btn[aria-selected="true"] {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.cred-tabs__panel {
  display: none;
}
.cred-tabs__panel[data-active] {
  display: block;
  animation: tabFadeIn 0.3s ease;
}

.stats-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2rem;
}
.stats-box__item {
  text-align: center;
}
.stats-box__number {
  font-family: var(--heading);
  font-size: var(--step-3);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}
.stats-box__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(248,246,241,0.6);
  margin-top: 0.4rem;
}

/* ================================================================
   ROW 15 — Approach as visual flow/map
   ================================================================ */
.approach-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.approach-flow__step {
  position: relative;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  margin: 0.5rem;
  transition: box-shadow var(--dur-fast) var(--ease);
}
.approach-flow__step:hover {
  box-shadow: 0 4px 24px rgba(178, 144, 99, 0.12);
}
.approach-flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.approach-flow__title {
  font-family: var(--heading);
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.approach-flow__text {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.approach-flow__arrow {
  display: none;
}
@media (min-width: 768px) {
  .approach-flow__arrow {
    display: block;
    position: absolute;
    right: -1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 1.5rem;
    z-index: 2;
  }
}
@media (max-width: 767px) {
  .approach-flow {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   ROW 17/20 — Bullet points in quick-facts boxes
   ================================================================ */
.quick-facts dd ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.quick-facts dd ul li {
  display: inline;
}
.quick-facts dd ul li::before {
  content: '\2022';
  color: var(--gold);
  margin-inline: 0.3em;
}
.quick-facts dd ul li:first-child::before {
  content: none;
}

/* ================================================================
   ROW 18 — Tab navigation on condition pages
   ================================================================ */
.cond-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--hairline);
}
.cond-tabs__btn {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.cond-tabs__btn:hover {
  color: var(--gold-deep);
  border-color: var(--gold);
}
.cond-tabs__btn[aria-selected="true"] {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.cond-tabs__panel {
  display: none;
}
.cond-tabs__panel[data-active] {
  display: block;
  animation: tabFadeIn 0.3s ease;
}

/* ================================================================
   Video placeholder
   ================================================================ */
.video-placeholder {
  position: relative;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}
.video-placeholder__overlay {
  text-align: center;
  z-index: 2;
}
.video-placeholder__icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 0 0 12px rgba(178, 144, 99, 0.15);
}
.video-placeholder__icon svg {
  width: 2rem;
  height: 2rem;
  fill: var(--navy);
  margin-left: 4px;
}
.video-placeholder__text {
  font-family: var(--heading);
  font-size: var(--step-0);
  color: var(--cream);
  font-weight: 600;
}
.video-placeholder__sub {
  font-size: 0.85rem;
  color: rgba(248,246,241,0.5);
  margin-top: 0.35rem;
}

/* ----------------------------------------------------------------
   SEARCH MODAL
   ---------------------------------------------------------------- */

.search-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(248,246,241,0.15);
  border-radius: var(--radius-sm);
  color: var(--cream);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  flex-shrink: 0;
  margin-right: 0.25rem;
}
.search-trigger:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.search-trigger svg { display: block; }

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: min(20vh, 160px);
  background: rgba(10,22,40,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.search-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.search-modal__panel {
  width: 92%;
  max-width: 620px;
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: translateY(-12px) scale(0.97);
  transition: transform var(--dur) var(--ease-spring);
}
.search-modal.is-open .search-modal__panel {
  transform: translateY(0) scale(1);
}

.search-modal__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--hairline);
}

.search-modal__input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.search-modal__icon {
  flex-shrink: 0;
  color: var(--ink-soft);
}

.search-modal__input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font-family: var(--body);
  font-size: 1.05rem;
  color: var(--ink);
  padding: 0;
}
.search-modal__input::placeholder {
  color: var(--ink-soft);
}

.search-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
}
.search-modal__close:hover {
  background: rgba(10,22,40,0.06);
}

.search-modal__results {
  max-height: 380px;
  overflow-y: auto;
  padding: 0.5rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--hairline) transparent;
}

.search-modal__section-label {
  padding: 0.5rem 1.25rem 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.search-modal__result {
  display: block;
  padding: 0.65rem 1.25rem;
  text-decoration: none;
  color: var(--ink);
  transition: background var(--dur-fast) var(--ease);
  cursor: pointer;
}
.search-modal__result:hover,
.search-modal__result.is-active {
  background: rgba(178,144,99,0.08);
}
.search-modal__result.is-active {
  border-left: 3px solid var(--gold);
  padding-left: calc(1.25rem - 3px);
}

.search-modal__result-cat {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.15rem;
}

.search-modal__result-title {
  display: block;
  font-family: var(--heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.search-modal__result-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.4;
  margin-top: 0.15rem;
}

.search-modal__empty {
  padding: 2.5rem 1.25rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.search-modal__footer {
  display: flex;
  gap: 1rem;
  padding: 0.6rem 1.25rem;
  border-top: 1px solid var(--hairline);
  background: rgba(10,22,40,0.02);
}
.search-modal__hint {
  font-size: 0.72rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.search-modal__hint kbd {
  display: inline-block;
  padding: 0.1rem 0.35rem;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: var(--warm-white);
  font-family: var(--body);
  font-size: 0.68rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .search-trigger--desktop { display: none; }
  .search-trigger--mobile { display: flex; }
  .search-modal__footer { display: none; }
  .search-modal { padding-top: 0; align-items: flex-start; }
  .search-modal__panel { width: 100%; max-width: 100%; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
}
@media (min-width: 901px) {
  .search-trigger--mobile { display: none; }
}

/* ================================================================
   END OF styles-v2.css
   ================================================================ */
