/* ========================================
   Arlene Hooper — Design System v3
   Fraunces + Inter · Navy + Gold + Pink
   ======================================== */

/* Fraunces + Inter are loaded via <link> tags in each page's <head>, not @import,
   so the browser can fetch them in parallel instead of blocking on CSS parse order. */

/* --- Design Tokens --- */
:root {
  --radius: 0.875rem;

  /* Core palette */
  --background: #FCFCFD;
  --foreground: #16192A;
  --card: #FFFFFF;
  --card-foreground: #16192A;

  --primary: #232C4D;
  --primary-foreground: #F8F8FB;
  --primary-soft: #5C6FB0;

  --gold: #D9B166;
  --gold-foreground: #3D3018;
  --gold-deep: #B98A45;
  --gold-deep-text: #87612A; /* WCAG AA (4.5:1+) variant of gold-deep for small text/icons on light backgrounds */

  --pink: #F0CFC9;
  --pink-foreground: #5C2E28;
  --pink-deep: #D99089;
  --pink-deep-text: #A8493D; /* WCAG AA (4.5:1+) variant of pink-deep for small text/icons on light backgrounds */

  --secondary: #F5F5F8;
  --secondary-foreground: #1E2340;
  --muted: #F0F0F4;
  --muted-foreground: #6C6E7C;
  --accent: #F2DCD8;
  --accent-foreground: #232C4D;

  --border: #E8E8EE;
  --input: #E8E8EE;
  --ring: #5C6FB0;

  /* Legacy compat aliases */
  --color-navy-900: #232C4D;
  --color-navy-700: #3A4470;
  --color-white: #FFFFFF;
  --color-gray-50: #F5F5F8;
  --color-gray-100: #F0F0F4;
  --color-gray-200: #E8E8EE;
  --color-gray-500: #6C6E7C;
  --color-gray-800: #16192A;
  --color-coral-500: var(--pink-deep);
  --color-teal-500: var(--gold);

  /* Gradients */
  --gradient-hero: radial-gradient(120% 80% at 70% 0%, rgba(240,207,201,0.7) 0%, transparent 55%),
                   radial-gradient(80% 60% at 10% 100%, rgba(217,177,102,0.55) 0%, transparent 60%),
                   linear-gradient(180deg, #FCFCFD 0%, #F5F5F8 100%);
  --gradient-gold: linear-gradient(135deg, #D9B166 0%, #B98A45 100%);
  --gradient-navy: linear-gradient(135deg, #1E2340 0%, #3A4470 100%);
  --gradient-signature: var(--gradient-gold);
  --gradient-accent-line: var(--gradient-gold);

  /* Typography */
  --font-heading: 'Fraunces', ui-serif, Georgia, serif;
  --font-display: 'Fraunces', ui-serif, Georgia, serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* Spacing (8px base) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;

  /* Radii */
  --radius-sm: calc(0.875rem - 4px);
  --radius-md: calc(0.875rem - 2px);
  --radius-lg: 0.875rem;
  --radius-xl: calc(0.875rem + 4px);
  --radius-2xl: calc(0.875rem + 8px);
  --radius-full: 9999px;

  /* Shadows */
  --shadow-soft: 0 1px 2px rgba(30,35,64,0.04), 0 8px 24px rgba(30,35,64,0.06);
  --shadow-elevated: 0 2px 4px rgba(30,35,64,0.06), 0 24px 48px -12px rgba(30,35,64,0.18);
  --shadow-gold: 0 10px 30px -10px rgba(185,138,69,0.5);
  --shadow-card: var(--shadow-soft);
  --shadow-card-hover: var(--shadow-elevated);

  /* Layout */
  --container-max: 1080px;
  --container-padding: 24px;

  /* Navbar */
  --nav-height: 64px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-800);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-deep-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-navy-900);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* --- Typography (refined, lighter) --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.display-headline {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1, .h1 {
  font-size: 28px;
}

h2, .h2 {
  font-size: 22px;
}

h3, .h3 {
  font-size: 17px;
}

.text-small {
  font-size: 13px;
  line-height: 1.5;
}

.text-body {
  font-size: 16px;
  line-height: 1.6;
}

.text-lg {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
}

/* --- Section label --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-500);
  margin-bottom: var(--space-2);
}

.section-label--coral { color: var(--pink-deep-text); }
.section-label--teal { color: var(--gold-deep-text); }

.section-label svg {
  width: 14px;
  height: 14px;
}

/* --- Section Spacing (generous whitespace) --- */
.section {
  padding: var(--space-8) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-12) 0;
  }
}

/* --- Wave Texture SVG --- */
.wave-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='200' viewBox='0 0 400 200'%3E%3Cpath d='M0 80 Q50 40 100 80 T200 80 T300 80 T400 80' fill='none' stroke='%23FFFFFF' stroke-width='1.2' opacity='0.7'/%3E%3Cpath d='M0 100 Q50 60 100 100 T200 100 T300 100 T400 100' fill='none' stroke='%23E8917E' stroke-width='1' opacity='0.5'/%3E%3Cpath d='M0 120 Q50 80 100 120 T200 120 T300 120 T400 120' fill='none' stroke='%23FFFFFF' stroke-width='0.8' opacity='0.6'/%3E%3Cpath d='M0 140 Q50 100 100 140 T200 140 T300 140 T400 140' fill='none' stroke='%23E8917E' stroke-width='1.1' opacity='0.4'/%3E%3Cpath d='M0 60 Q50 20 100 60 T200 60 T300 60 T400 60' fill='none' stroke='%23FFFFFF' stroke-width='0.9' opacity='0.5'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 400px 200px;
}

/* --- Navbar (clean, minimal) --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-gray-200);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar__brand {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 18px;
  color: var(--foreground);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0;
}

.navbar__brand::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 8px;
  flex-shrink: 0;
}

.navbar__brand span {
  color: var(--muted-foreground);
  margin-left: 5px;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.navbar__links a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 450;
  color: var(--color-gray-500);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.navbar__links a:hover {
  color: var(--color-navy-900);
  background: var(--color-gray-100);
}

.navbar__links a.active {
  color: var(--color-navy-900);
  font-weight: 500;
}

/* Navbar CTA — pill button */
.navbar__cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px !important;
  font-family: var(--font-body);
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--primary-foreground) !important;
  background: var(--primary);
  border-radius: var(--radius-full) !important;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  box-shadow: var(--shadow-elevated);
}

.navbar__cta:hover {
  background: var(--color-navy-700);
  transform: translateY(-2px);
  color: var(--primary-foreground) !important;
  box-shadow: var(--shadow-gold);
}

/* Mobile hamburger */
.navbar__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-navy-900);
  z-index: 1010;
  -webkit-tap-highlight-color: transparent;
}

.navbar__toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile nav */
@media (max-width: 860px) {
  .navbar__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar__links {
    display: flex;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-2) var(--space-3);
    gap: 2px;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    border-top: 1px solid var(--color-gray-200);
    border-bottom: 1px solid var(--color-gray-200);
    box-shadow: 0 8px 24px rgba(30,35,64,0.10);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1005;
  }

  .navbar__links.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .navbar__links a {
    font-size: 16px;
    padding: 14px 16px;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .navbar__cta {
    margin-top: var(--space-2);
    text-align: center;
    justify-content: center;
    padding: 14px 24px !important;
    font-size: 15px !important;
    border-radius: var(--radius-full) !important;
  }
}

/* Body offset for fixed nav */
.page-body {
  padding-top: var(--nav-height);
}

/* --- Buttons (pill-shaped, clean) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-elevated);
}

.btn--primary:hover {
  background: var(--color-navy-700);
  color: var(--primary-foreground);
  box-shadow: 0 6px 20px rgba(35,44,77,0.3);
}

.btn--secondary {
  background: var(--card);
  color: var(--foreground);
  border: 1.5px solid var(--border);
}

.btn--secondary:hover {
  border-color: var(--foreground);
  box-shadow: var(--shadow-soft);
}

.btn--gold {
  background: var(--gradient-gold);
  color: var(--gold-foreground);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  filter: brightness(1.08);
  box-shadow: 0 14px 36px -8px rgba(185,138,69,0.6);
}

.btn--ghost {
  background: transparent;
  color: var(--muted-foreground);
  padding: 12px 20px;
}

.btn--ghost:hover {
  color: var(--foreground);
  background: var(--secondary);
}

.btn--outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #FFFFFF;
}

/* --- Tags/Pills --- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.tag--coral {
  background: rgba(232, 145, 126, 0.1);
  color: var(--pink-deep-text);
}

.tag--teal {
  background: rgba(79, 157, 151, 0.1);
  color: var(--gold-deep-text);
}

/* --- Cards (subtle, refined) --- */
.card {
  background: var(--card);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
  padding: var(--space-4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevated);
}

/* --- Section Backgrounds --- */
.bg-white { background-color: var(--color-white); }
.bg-gray { background-color: var(--color-gray-50); }

.bg-navy {
  background-color: var(--color-navy-900);
  color: var(--color-white);
}

/* --- Gradient Divider — subtle line, not full band --- */
.gradient-line {
  width: 100%;
  height: 2px;
  background: var(--gradient-accent-line);
  opacity: 0.3;
}

.gradient-line--strong {
  opacity: 0.6;
  height: 3px;
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-gray-500 { color: var(--color-gray-500); }
.text-coral { color: var(--pink-deep-text); }
.text-teal { color: var(--gold-deep-text); }
.text-white { color: var(--color-white); }
.text-navy { color: var(--color-navy-900); }

.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-6 { margin-top: var(--space-6); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }

/* --- Footer (clean, simple) --- */
.footer {
  background: var(--color-gray-50);
  color: var(--color-gray-500);
  padding: var(--space-3) 0;
  font-size: 13px;
  text-align: center;
  border-top: 1px solid var(--color-gray-200);
}

.footer a {
  color: var(--color-gray-500);
  font-weight: 500;
}

.footer a:hover {
  color: var(--color-navy-900);
}

/* --- Video Embed --- */
.video-embed {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-gray-200);
}

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

.video-embed__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: var(--color-navy-900);
  color: #fff;
  text-align: center;
  padding: var(--space-3);
}

.video-embed__play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-foreground);
  transition: transform 0.2s ease;
}

.video-embed__play:hover { transform: scale(1.06); }

.video-embed__play svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.video-embed__placeholder-text {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  max-width: 320px;
  line-height: 1.5;
}

.video-embed__placeholder-text a {
  color: var(--gold);
  text-decoration: underline;
}

/* --- Cookie consent banner --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--color-navy-900);
  color: #fff;
  padding: var(--space-3) 0;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.cookie-banner__text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  flex: 1 1 320px;
  margin: 0;
}

.cookie-banner__text a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
}

.cookie-banner .btn {
  min-height: 40px;
  padding: 8px 20px;
  font-size: 14px;
}

.cookie-banner .btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}

.cookie-banner .btn--secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

/* --- Animations (subtle) --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.animate-in--delay-1 { animation-delay: 0.1s; }
.animate-in--delay-2 { animation-delay: 0.2s; }
.animate-in--delay-3 { animation-delay: 0.3s; }

@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;
  }
  .card:hover, .btn:hover { transform: none; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none !important; }
  .aurora-blob { animation: none !important; }
  .stat-counter { transition: none !important; }
}

/* --- Marquee Keyframe --- */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

/* --- Aurora Keyframes --- */
@keyframes aurora1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(30%, 20%, 0) scale(1.15); }
}
@keyframes aurora2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-25%, -15%, 0) scale(1.2); }
}
@keyframes aurora3 {
  0%, 100% { transform: translate3d(-50%, -50%, 0) scale(1); }
  50% { transform: translate3d(-30%, -70%, 0) scale(1.25); }
}

/* --- Logo/Trust Strip --- */
.trust-strip {
  padding: var(--space-4) 0;
  background: var(--gradient-navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  animation: marquee 28s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  color: var(--gold);
  white-space: nowrap;
  opacity: 0.85;
}

.marquee-track .sep {
  color: rgba(255,255,255,0.25);
  font-size: 14px;
}

/* --- Stat Block (gold left border) --- */
.stat-block {
  border-left: 2px solid var(--gold);
  padding-left: var(--space-2);
  text-align: left;
}

.stat-block__number {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
  line-height: 1;
  color: var(--foreground);
  margin-bottom: 4px;
}

.stat-block__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

/* --- Quote/Testimonial Card --- */
.quote-block {
  background: var(--secondary);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  position: relative;
}

.quote-block::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 64px;
  color: var(--gold);
  opacity: 0.5;
  position: absolute;
  top: var(--space-3);
  left: var(--space-4);
  line-height: 1;
}

.quote-block blockquote {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--foreground);
  font-style: normal;
  margin-bottom: var(--space-3);
}

.quote-block__attr {
  font-size: 14px;
  color: var(--muted-foreground);
}

.quote-block__attr strong {
  color: var(--foreground);
  font-weight: 500;
  display: block;
}

/* --- Quote Card Grid (compact testimonial cards) --- */
.quotes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .quotes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Fixed 2-column pair, never expands to 3 columns regardless of viewport */
.quotes-grid.quotes-grid--pair {
  max-width: 640px;
}

@media (min-width: 640px) {
  .quotes-grid.quotes-grid--pair {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .quotes-grid.quotes-grid--pair {
    grid-template-columns: repeat(2, 1fr);
  }
}

.quote-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  border: 1px solid var(--color-gray-200);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quote-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.quote-card__mark {
  color: var(--color-teal-500);
  margin-bottom: var(--space-2);
  opacity: 0.5;
}

.quote-card__mark svg {
  width: 24px;
  height: 24px;
}

.quote-card blockquote {
  color: var(--color-gray-800);
  font-size: 14px;
  line-height: 1.65;
  font-style: normal;
  flex-grow: 1;
  margin-bottom: var(--space-3);
}

.quote-card__attribution {
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-gray-200);
}

.quote-card__name {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy-900);
}

.quote-card__role {
  font-size: 12px;
  color: var(--color-gray-500);
  line-height: 1.4;
  margin-top: 2px;
}

/* --- Page Header Band (Archetype 2) --- */
.page-header-band {
  background: var(--gradient-hero);
  padding: var(--space-8) 0 var(--space-6);
  text-align: center;
}

@media (min-width: 768px) {
  .page-header-band {
    padding: var(--space-12) 0 var(--space-8);
  }
}

.page-header-band h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: var(--space-1);
}

.page-header-band p {
  color: var(--muted-foreground);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto;
}

/* --- Navy CTA Block with Aurora --- */
.cta-navy {
  background: var(--gradient-navy);
  padding: var(--space-10) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-navy .container {
  position: relative;
  z-index: 2;
}

.cta-navy h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 36px);
  color: #FFFFFF;
  margin-bottom: var(--space-2);
}

.cta-navy p {
  color: rgba(255,255,255,0.7);
  max-width: 440px;
  margin: 0 auto var(--space-4);
  font-size: 16px;
}

.cta-navy .btn-group {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
}

.aurora-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.aurora-blob--1 {
  width: 300px;
  height: 300px;
  background: var(--gold);
  top: -50px;
  right: 10%;
  animation: aurora1 14s ease-in-out infinite;
}

.aurora-blob--2 {
  width: 250px;
  height: 250px;
  background: var(--pink-deep);
  bottom: -30px;
  left: 15%;
  animation: aurora2 18s ease-in-out infinite;
}

.aurora-blob--3 {
  width: 200px;
  height: 200px;
  background: var(--primary-soft);
  top: 50%;
  left: 50%;
  animation: aurora3 22s ease-in-out infinite;
}

/* --- Section Eyebrow --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pink-deep-text);
  margin-bottom: var(--space-2);
}

/* --- Spotlight hover (card grids) --- */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(217,177,102,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card > * {
  position: relative;
  z-index: 1;
}

/* ========================================
   Accessibility: focus states, skip link,
   and the Aa preferences widget
   ======================================== */

:focus-visible {
  outline: 2px solid var(--primary-soft);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-120%);
  background: var(--color-navy-900);
  color: #FFFFFF;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 var(--radius-md) 0;
  z-index: 2100;
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.a11y-widget {
  --a11y-offset: 16px;
}

.a11y-widget__toggle {
  position: fixed;
  left: 16px;
  bottom: var(--a11y-offset, 16px);
  z-index: 1900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--color-navy-900);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  box-shadow: var(--shadow-elevated);
  transition: bottom 0.2s ease, transform 0.2s ease;
}

.a11y-widget__toggle:hover {
  transform: translateY(-2px);
}

.a11y-widget__toggle svg {
  width: 20px;
  height: 20px;
  display: none;
}

.a11y-widget__label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
}

.a11y-widget__panel {
  position: fixed;
  left: 16px;
  bottom: calc(var(--a11y-offset, 16px) + 60px);
  z-index: 1900;
  width: 240px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-elevated);
  padding: var(--space-3);
}

.a11y-widget__title {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--foreground);
  margin-bottom: var(--space-2);
}

.a11y-widget__group { margin-bottom: var(--space-2); }

.a11y-widget__group-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.a11y-widget__row {
  display: flex;
  gap: 6px;
}

.a11y-widget__btn {
  flex: 1;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  color: var(--foreground);
  cursor: pointer;
}

.a11y-widget__btn.is-active {
  background: var(--color-navy-900);
  border-color: var(--color-navy-900);
  color: #FFFFFF;
}

.a11y-widget__toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--foreground);
  padding: 6px 0;
  cursor: pointer;
}

.a11y-widget__toggle-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--color-navy-900);
}

.a11y-widget__reset {
  width: 100%;
  margin-top: var(--space-2);
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  background: none;
  border: none;
  color: var(--muted-foreground);
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 480px) {
  .a11y-widget__panel { width: calc(100vw - 32px); }
}

/* --- User preference: larger text --- */
html.a11y-large-text { font-size: 112.5%; }
html.a11y-xl-text { font-size: 125%; }

/* --- User preference: underline links for clarity --- */
html.a11y-underline-links a { text-decoration: underline; text-underline-offset: 2px; }

/* --- User preference: reduce motion, overrides OS default --- */
html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

/* --- User preference: high contrast --- */
html.a11y-high-contrast {
  --foreground: #000000;
  --card-foreground: #000000;
  --muted-foreground: #2B2B2B;
  --border: #000000;
  --background: #FFFFFF;
  --card: #FFFFFF;
  --color-gray-500: #2B2B2B;
  --color-gray-800: #000000;
  --gold-deep-text: #6B4200;
  --pink-deep-text: #7A2E20;
}

html.a11y-high-contrast body { background: #FFFFFF; }

html.a11y-high-contrast .gold-text,
html.a11y-high-contrast h1 .gold-text {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #6B4200;
}

html.a11y-high-contrast .hero,
html.a11y-high-contrast .page-header-band,
html.a11y-high-contrast [class*="gradient-hero"] {
  background: #FFFFFF !important;
}

html.a11y-high-contrast a { text-decoration: underline; }
