/* ==========================================================================
   Kiambu Hillcrest Academy — Design System
   Layout & visual language modelled on oldstarehians.org
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --background: 210 28% 97%;
  --foreground: 219 60% 10%;
  --card: 0 0% 100%;
  --card-foreground: 219 60% 10%;
  --primary: 219 70% 14%;
  --primary-foreground: 0 0% 98%;
  --secondary: 212 28% 92%;
  --secondary-foreground: 219 60% 10%;
  --muted: 212 28% 92%;
  --muted-foreground: 218 18% 34%;
  --accent: 352 84% 38%;
  --accent-foreground: 0 0% 98%;
  --border: 212 24% 86%;
  --input: 212 24% 86%;
  --ring: 352 84% 38%;
  --radius: 0.5rem;

  --warm-beige: 212 28% 92%;
  --soft-gray: 218 18% 34%;
  --charcoal: 219 70% 9%;
  --charcoal-light: 30 6% 12%;
  --overlay: 219 75% 5%;

  --gold: 352 84% 38%;
  --gold-light: 352 80% 48%;
  --gold-dark: 352 88% 26%;
  --cream: 210 28% 96%;
  --navy: 219 70% 13%;
  --navy-light: 218 60% 20%;

  --shadow-sm: 0 2px 8px -2px hsl(219 70% 6% / 0.14);
  --shadow-md: 0 8px 24px -8px hsl(219 70% 6% / 0.2);
  --shadow-lg: 0 16px 48px -16px hsl(219 70% 6% / 0.28);
  --shadow-gold: 0 8px 32px -8px hsl(352 84% 38% / 0.4);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
  --maxw: 1400px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  letter-spacing: -0.011em;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}
h1 { font-weight: 700; letter-spacing: -0.035em; }
p { margin: 0; }
strong, b { font-weight: 700; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
em { font-style: italic; }

::selection { background: hsl(var(--gold) / 0.3); color: hsl(var(--charcoal)); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: hsl(var(--charcoal)); }
::-webkit-scrollbar-thumb { background: hsl(var(--navy-light)); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: hsl(var(--gold)); }

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

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

.skip-link {
  position: absolute;
  left: 1rem; top: -5rem;
  z-index: 100;
  background: hsl(var(--gold));
  color: #fff;
  padding: 0.85rem 1.5rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: top 0.3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 2rem;
  max-width: var(--maxw);
}
.container--narrow { max-width: 1120px; }
.container--mid { max-width: 1240px; }

.section { padding: 6rem 2rem; }
.section--sm { padding: 4.5rem 2rem; }
.section--cream { background: hsl(var(--cream)); }
.section--white { background: hsl(var(--card)); }
.section--dark { background: hsl(var(--charcoal)); color: #fff; }
.section--navy { background: linear-gradient(180deg, hsl(var(--navy)), hsl(var(--charcoal))); color: #fff; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
  align-items: center;
}
.split--wide { grid-template-columns: 1fr 1.2fr; }
.split--reverse > *:first-child { order: 2; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: block;
  color: hsl(var(--gold));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.eyebrow--plain { margin-bottom: 0; font-size: 10px; letter-spacing: 0.4em; font-weight: 600; }

.display {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.display--sm { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.2; letter-spacing: -0.01em; }
.display--xl { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.03; }

.accent-word { color: hsl(var(--gold)); font-style: italic; }
.on-dark .accent-word, .section--dark .accent-word { color: hsl(var(--gold-light)); }

.lede {
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}
.section--dark .lede, .on-dark .lede { color: rgba(255, 255, 255, 0.72); }

.body-text { color: hsl(var(--soft-gray) / 0.85); line-height: 1.8; }
.section--dark .body-text, .on-dark .body-text { color: rgba(255, 255, 255, 0.62); }

.hairline {
  width: 64px; height: 3px; background: hsl(var(--gold));
  margin-top: 1.5rem; border: 0;
}
.hairline--center { margin-inline: auto; }

.section-head { text-align: center; max-width: 46rem; margin: 0 auto 3.75rem; }
.section-head .lede { margin-top: 1.25rem; }
.section-head--left { text-align: left; margin-inline: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: hsl(var(--gold));
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.4rem 2.5rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, hsl(var(--gold-light) / 0.2), transparent, hsl(var(--gold) / 0.2));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px hsl(var(--gold) / 0.4); }
.btn:active { transform: translateY(0); }
.btn > * { position: relative; z-index: 1; }

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover { background: #fff; color: hsl(var(--charcoal)); box-shadow: 0 10px 30px -14px rgba(255, 255, 255, 0.4); }

.btn--dark {
  background: transparent;
  color: hsl(var(--charcoal));
  border: 1px solid hsl(var(--charcoal) / 0.25);
}
.btn--dark:hover { background: hsl(var(--gold)); border-color: hsl(var(--gold)); color: #fff; }

.btn--sm { padding: 1rem 1.75rem; font-size: 11px; }
.btn--block { width: 100%; }

.btn .arrow { width: 15px; height: 15px; transition: transform 0.35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(5px); }

.link-underline { position: relative; text-decoration: none; }
.link-underline::after {
  content: "";
  position: absolute;
  width: 0; height: 1px;
  bottom: -3px; left: 0;
  background: linear-gradient(90deg, hsl(var(--gold)), hsl(var(--gold-light)));
  transition: width 0.4s var(--ease-out);
}
.link-underline:hover::after { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: hsl(var(--gold));
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease-out); }
.text-link:hover svg { transform: translateX(6px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.5s var(--ease-out);
  padding: 1.5rem 0;
  background: linear-gradient(to bottom, rgba(6, 10, 20, 0.5), rgba(6, 10, 20, 0.12) 70%, transparent);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  backdrop-filter: blur(8px) saturate(150%);
}
.nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35) 30%, rgba(255, 255, 255, 0.35) 70%, transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
.nav.is-scrolled {
  background: hsl(var(--charcoal) / 0.55);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 22px 45px -30px rgba(0, 0, 0, 0.95);
}
.nav.is-scrolled::after { opacity: 1; }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav__brand {
  display: flex; align-items: center; gap: 0.7rem;
  flex-shrink: 0;
}
.nav__brand img { width: 44px; height: 44px; object-fit: contain; transition: transform 0.4s var(--ease-out); }
.nav.is-scrolled .nav__brand img { width: 40px; height: 40px; }
.nav__brand:hover img { transform: scale(1.06); }
.nav__wordmark {
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px; font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.nav__wordmark span {
  display: block;
  font-family: Inter, sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: hsl(var(--gold));
  margin-top: 2px;
}
.nav__links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s;
  white-space: nowrap;
}
.nav__links a:hover { color: #fff; }
.nav__links a.is-active { color: hsl(var(--gold)); }

.nav__cta {
  flex-shrink: 0;
  background: hsl(var(--gold));
  color: #fff;
  padding: 0.7rem 1.75rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.3s;
}
.nav__cta:hover { background: hsl(var(--gold-dark)); }

.nav__toggle {
  display: none;
  background: transparent; border: 0;
  color: #fff; padding: 0.5rem; z-index: 60;
}
.nav__toggle svg { width: 26px; height: 26px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  visibility: hidden; opacity: 0;
  transition: all 0.5s var(--ease-out);
}
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu__scrim {
  position: absolute; inset: 0;
  background: rgba(4, 8, 16, 0.45);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
}
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(88vw, 380px);
  background: hsl(var(--charcoal) / 0.72);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  backdrop-filter: blur(26px) saturate(170%);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08), -30px 0 60px -40px rgba(0, 0, 0, 1);
  padding: 6rem 2rem 2rem;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__panel a {
  color: rgba(255, 255, 255, 0.82);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px; font-weight: 700;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.3s, padding-left 0.3s;
}
.mobile-menu__panel a:hover, .mobile-menu__panel a.is-active { color: hsl(var(--gold)); padding-left: 0.5rem; }
.mobile-menu__meta { margin-top: auto; padding-top: 2rem; color: rgba(255, 255, 255, 0.5); font-size: 13px; line-height: 1.9; }
.mobile-menu__meta a:hover { color: hsl(var(--gold)); }
.mobile-menu__close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: transparent; border: 0; color: #fff; padding: 0.5rem;
}
.mobile-menu__close svg { width: 24px; height: 24px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 9rem 0 5rem;
  overflow: hidden;
  background: linear-gradient(to bottom, hsl(var(--overlay)), hsl(var(--charcoal)) 55%, hsl(var(--navy)));
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.8;
  transform: scale(1.05);
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift { to { transform: scale(1.15) translate3d(-2%, -1.5%, 0); } }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 85% at 50% 45%, rgba(4, 8, 20, 0.42) 0%, rgba(4, 8, 20, 0.74) 78%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(3, 7, 18, 0.56) 45%, hsl(var(--navy) / 0.96) 100%);
}
.hero__orb {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.32;
  background: radial-gradient(circle, hsl(var(--gold)), transparent 70%);
  pointer-events: none;
}
.hero__orb--tr { top: -160px; right: -140px; }
.hero__orb--bl { bottom: -200px; left: -160px; opacity: 0.18; }
.hero__content { position: relative; z-index: 2; max-width: 62rem; margin-inline: auto; text-align: center; color: #fff; }

.hero__crest { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.hero__crest img { width: 74px; height: 74px; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5)); }
.hero__crest-text { text-align: left; }
.hero__crest-text .motto {
  color: hsl(var(--gold));
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.4em; text-transform: uppercase;
}
.hero__crest-text .sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  letter-spacing: 0.25em; text-transform: uppercase;
  margin-top: 4px;
}

.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.7rem, 6.2vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero h1 .accent-word { color: hsl(var(--gold)); }
.hero__lede {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.75;
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 3.5rem; }
.hero__actions .btn { min-width: 220px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 3rem;
  max-width: 56rem;
  margin-inline: auto;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.stat__value {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: hsl(var(--gold));
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
}
.stat__label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 0.5rem;
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.75rem;
  transform: translateX(-50%);
  z-index: 3;
  display: none;
  flex-direction: column; align-items: center; gap: 0.6rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase;
}
.hero__scroll i {
  display: block; width: 1px; height: 46px;
  background: linear-gradient(to bottom, hsl(var(--gold)), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- Interior page hero ---------- */
.page-hero {
  position: relative;
  padding: 11rem 0 6rem;
  background: hsl(var(--charcoal));
  overflow: hidden;
}
.page-hero__orb {
  position: absolute; top: -8rem; left: -8rem;
  width: 500px; height: 500px; border-radius: 50%;
  filter: blur(120px); opacity: 0.3;
  background: radial-gradient(circle, hsl(var(--gold)), transparent 70%);
  pointer-events: none;
}
.page-hero__orb--2 { top: auto; left: auto; right: -10rem; bottom: -14rem; opacity: 0.16; }
.page-hero__rule {
  position: absolute; top: 0; left: 25%;
  width: 1px; height: 96px;
  background: linear-gradient(to bottom, hsl(var(--gold) / 0.4), transparent);
}
.page-hero__inner { position: relative; z-index: 2; max-width: 48rem; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 1.05;
  margin: 1rem 0 1.5rem;
}
.page-hero p { color: rgba(255, 255, 255, 0.75); font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.75; max-width: 40rem; }

.breadcrumb { display: flex; gap: 0.6rem; align-items: center; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin-bottom: 1.25rem; }
.breadcrumb a:hover { color: hsl(var(--gold)); }
.breadcrumb span { color: hsl(var(--gold)); }

/* ---------- Cards ---------- */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.5s var(--ease-out);
}
.card:hover {
  border-color: hsl(var(--gold) / 0.35);
  box-shadow: var(--shadow-md), 0 0 0 1px hsl(var(--gold) / 0.1);
  transform: translateY(-4px);
}

/* numbered pillar card */
.pillar {
  position: relative;
  background: #fff;
  border-top: 4px solid hsl(var(--gold));
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar__num {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: hsl(var(--gold) / 0.25);
  font-size: 3.4rem; font-weight: 700; line-height: 1;
  margin-bottom: 1rem;
}
.pillar h3 { font-size: 1.6rem; color: hsl(var(--charcoal)); margin-bottom: 0.85rem; }
.pillar p { color: hsl(var(--soft-gray) / 0.85); font-size: 0.9375rem; line-height: 1.75; }

/* dark feature card */
.feature {
  background: hsl(var(--charcoal) / 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.5s var(--ease-out);
}
.feature:hover { background: hsl(var(--charcoal) / 0.9); border-color: hsl(var(--gold) / 0.4); transform: translateY(-4px); }
.feature__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: hsl(var(--gold) / 0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.15rem;
}
.feature__icon svg { width: 21px; height: 21px; stroke: hsl(var(--gold)); }
.feature h3 { color: #fff; font-size: 1.35rem; margin-bottom: 0.6rem; }
.feature p { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; line-height: 1.7; }

/* light info card with icon */
.info-card {
  background: #fff;
  border: 1px solid hsl(var(--border) / 0.7);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.5s var(--ease-out);
  height: 100%;
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: hsl(var(--gold) / 0.3); }
.info-card__icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: hsl(var(--gold) / 0.1);
  color: hsl(var(--gold));
  margin-bottom: 1.15rem;
}
.info-card__icon svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1.35rem; color: hsl(var(--charcoal)); margin-bottom: 0.55rem; }
.info-card p { color: hsl(var(--soft-gray) / 0.85); font-size: 0.9rem; line-height: 1.7; }
.info-card ul { margin: 1rem 0 0; padding: 0; list-style: none; }
.info-card li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--soft-gray) / 0.9);
}
.info-card li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; background: hsl(var(--gold)); transform: rotate(45deg);
}

/* ---------- Image band (full bleed) ---------- */
.image-band { position: relative; background: hsl(var(--charcoal)); overflow: hidden; }
.image-band__img {
  width: 100%;
  height: clamp(240px, 46vw, 620px);
  object-fit: cover;
  display: block;
}
.image-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, hsl(var(--charcoal)), hsl(var(--charcoal) / 0.3) 55%, transparent);
  pointer-events: none;
}
.image-band__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 0 2rem 3rem;
}
.image-band__caption .inner { max-width: var(--maxw); margin-inline: auto; }
.image-band__caption h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 3rem); max-width: 24ch; }
.image-band__caption .eyebrow { margin-bottom: 0.75rem; }

/* ---------- Media / mosaics ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.media:hover img { transform: scale(1.06); }

.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.mosaic img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; height: 16rem; object-fit: cover; }
.mosaic img:nth-child(2) { margin-top: 2rem; }
.mosaic img:nth-child(3) { grid-column: span 2; height: 17rem; margin-top: 0; }

.figure { position: relative; }
.figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.figure__badge {
  position: absolute; left: -1.5rem; bottom: -1.5rem;
  background: hsl(var(--gold));
  color: #fff;
  padding: 1.4rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.figure__badge strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.6rem; line-height: 1;
}
.figure__badge span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.9; }

/* ---------- Carousel (levels / moments) ---------- */
.carousel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.carousel__head .text { max-width: 40rem; }
.carousel__nav { display: none; gap: 0.5rem; flex-shrink: 0; }
.carousel__btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: all 0.3s;
}
.carousel__btn svg { width: 19px; height: 19px; }
.carousel__btn:hover { background: hsl(var(--gold)); border-color: hsl(var(--gold)); }
.section--cream .carousel__btn, .section--white .carousel__btn {
  border-color: hsl(var(--charcoal) / 0.2);
  color: hsl(var(--charcoal));
}
.section--cream .carousel__btn:hover, .section--white .carousel__btn:hover { color: #fff; }

.carousel__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1.5rem;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }

.slide {
  position: relative;
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 78vw;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: hsl(var(--charcoal) / 0.6);
  transition: transform 0.5s var(--ease-out);
}
@media (min-width: 640px) { .slide { width: 46vw; } }
@media (min-width: 1024px) { .slide { width: 31vw; } }
@media (min-width: 1280px) { .slide { width: 28vw; } }
.slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.25) 55%, transparent);
}
.slide__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; z-index: 2; }
.slide__meta {
  color: hsl(var(--gold));
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  display: block; margin-bottom: 0.4rem;
}
.slide__body h3 { color: #fff; font-size: 1.4rem; line-height: 1.2; }
.slide__body p { color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; margin-top: 0.5rem; line-height: 1.6; max-height: 0; opacity: 0; overflow: hidden; transition: all 0.5s var(--ease-out); }
.slide:hover img { transform: scale(1.08); }
.slide:hover { transform: scale(1.03); z-index: 5; }
.slide:hover .slide__body p { max-height: 8rem; opacity: 1; }
.slide::before {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 0 hsl(var(--gold));
  z-index: 3;
  transition: box-shadow 0.3s;
  pointer-events: none;
}
.slide:hover::before { box-shadow: inset 0 0 0 3px hsl(var(--gold)); }

.carousel__progress { height: 3px; width: 100%; background: hsl(var(--charcoal) / 0.12); }
.section--dark .carousel__progress, .section--navy .carousel__progress { background: rgba(255, 255, 255, 0.1); }
.carousel__progress > i { display: block; height: 100%; background: hsl(var(--gold)); width: 14%; transition: width 0.15s linear; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 60rem; margin-inline: auto; }
.timeline::before {
  content: "";
  position: absolute; left: 6.5rem; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, hsl(var(--gold) / 0.5) 8%, hsl(var(--gold) / 0.5) 92%, transparent);
}
.timeline__item { position: relative; display: grid; grid-template-columns: 5.5rem 1fr; gap: 3rem; padding-bottom: 2.75rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__year {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: hsl(var(--gold));
  font-size: 1.6rem; font-weight: 700;
  text-align: right;
  line-height: 1.2;
}
.timeline__dot {
  position: absolute; left: 6.5rem; top: 0.55rem;
  width: 11px; height: 11px;
  background: hsl(var(--gold));
  border: 3px solid hsl(var(--cream));
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px hsl(var(--gold) / 0.16);
}
.timeline__body h3 { color: hsl(var(--charcoal)); font-size: 1.4rem; margin-bottom: 0.4rem; }
.timeline__body p { color: hsl(var(--soft-gray) / 0.85); font-size: 0.9375rem; line-height: 1.75; }
.section--dark .timeline__body h3 { color: #fff; }
.section--dark .timeline__body p { color: rgba(255, 255, 255, 0.6); }
.section--dark .timeline::before { background: linear-gradient(to bottom, transparent, hsl(var(--gold) / 0.5) 8%, hsl(var(--gold) / 0.5) 92%, transparent); }
.section--dark .timeline__dot { border-color: hsl(var(--charcoal)); }

/* ---------- Stats band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.08); }
.stat-band__cell { background: hsl(var(--charcoal)); padding: 3rem 1.5rem; text-align: center; }
.stat-band__cell .stat__value { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.stat-band__cell .stat__label { color: rgba(255, 255, 255, 0.55); }
.stat-band__cell p { color: rgba(255, 255, 255, 0.45); font-size: 12px; margin-top: 0.75rem; line-height: 1.6; }

/* ---------- Quote ---------- */
.quote {
  position: relative;
  background: linear-gradient(135deg, hsl(var(--navy)), hsl(var(--charcoal)));
  padding: 5rem clamp(2rem, 6vw, 6rem);
  overflow: hidden;
}
.quote::before {
  content: "\201C";
  position: absolute; top: -2rem; left: 2rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18rem; line-height: 1;
  color: hsl(var(--gold) / 0.12);
  pointer-events: none;
}
.quote blockquote {
  position: relative;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.4;
  font-style: italic;
  max-width: 46rem;
}
.quote figcaption { margin-top: 2rem; color: hsl(var(--gold)); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; }
.quote figcaption span { display: block; color: rgba(255, 255, 255, 0.5); margin-top: 0.4rem; letter-spacing: 0.18em; }

/* ---------- News / article cards ---------- */
.article-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid hsl(var(--border) / 0.7);
  overflow: hidden;
  height: 100%;
  transition: all 0.5s var(--ease-out);
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: hsl(var(--gold) / 0.3); }
.article-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.article-card:hover .article-card__media img { transform: scale(1.07); }
.article-card__tag {
  position: absolute; top: 1rem; left: 1rem;
  background: hsl(var(--gold));
  color: #fff;
  padding: 0.35rem 0.75rem;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.article-card__body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.article-card__meta {
  display: flex; gap: 1rem; align-items: center;
  color: hsl(var(--muted-foreground));
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.article-card__meta i { width: 4px; height: 4px; background: hsl(var(--gold)); display: block; transform: rotate(45deg); }
.article-card h3 { color: hsl(var(--charcoal)); font-size: 1.45rem; line-height: 1.25; margin-bottom: 0.7rem; }
.article-card p { color: hsl(var(--soft-gray) / 0.85); font-size: 0.9rem; line-height: 1.7; flex: 1; }
.article-card .text-link { margin-top: 1.5rem; }

.featured-article {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: hsl(var(--charcoal));
  overflow: hidden;
}
.featured-article__media { position: relative; min-height: 340px; }
.featured-article__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-article__body { padding: clamp(2rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.featured-article__body h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 1rem 0 1.25rem; }
.featured-article__body p { color: rgba(255, 255, 255, 0.65); line-height: 1.8; font-size: 0.975rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: row dense; gap: 1rem; }
.gallery__item {
  position: relative;
  overflow: hidden;
  background: hsl(var(--charcoal));
  cursor: zoom-in;
  aspect-ratio: 1;
}
.gallery__item--wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery__item--tall { grid-row: span 2; aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
.gallery__cap {
  position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.15rem;
  z-index: 2;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  transform: translateY(12px);
  opacity: 0;
  transition: all 0.45s var(--ease-out);
}
.gallery__item:hover .gallery__cap { transform: translateY(0); opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(4, 8, 18, 0.95);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  opacity: 0; visibility: hidden;
  transition: all 0.4s var(--ease-out);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; object-fit: contain; box-shadow: 0 30px 80px -30px #000; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: hsl(var(--gold)); border-color: hsl(var(--gold)); }
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox svg { width: 20px; height: 20px; }
.lightbox__caption { position: absolute; bottom: 1.75rem; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.65); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid hsl(var(--border)); }
.accordion__item { border-bottom: 1px solid hsl(var(--border)); }
.accordion__trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: transparent; border: 0;
  padding: 1.6rem 0;
  text-align: left;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  color: hsl(var(--charcoal));
  transition: color 0.3s;
}
.accordion__trigger:hover { color: hsl(var(--gold)); }
.accordion__icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border: 1px solid hsl(var(--charcoal) / 0.18);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: all 0.35s var(--ease-out);
}
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute;
  background: hsl(var(--charcoal));
  transition: all 0.35s var(--ease-out);
}
.accordion__icon::before { width: 13px; height: 1.5px; }
.accordion__icon::after { width: 1.5px; height: 13px; }
.accordion__item.is-open .accordion__icon { background: hsl(var(--gold)); border-color: hsl(var(--gold)); transform: rotate(180deg); }
.accordion__item.is-open .accordion__icon::before { background: #fff; }
.accordion__item.is-open .accordion__icon::after { height: 0; }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-out); }
.accordion__panel > div { padding: 0 0 1.75rem; color: hsl(var(--soft-gray) / 0.85); line-height: 1.8; max-width: 60ch; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.5rem; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step {
  position: relative;
  background: #fff;
  border: 1px solid hsl(var(--border) / 0.7);
  padding: 2.5rem 2rem 2rem;
  transition: all 0.5s var(--ease-out);
}
.step:hover { border-color: hsl(var(--gold) / 0.4); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute; top: -1.1rem; left: 2rem;
  background: hsl(var(--gold));
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem; font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.9rem;
}
.step h3 { color: hsl(var(--charcoal)); font-size: 1.45rem; margin-bottom: 0.6rem; }
.step p { color: hsl(var(--soft-gray) / 0.85); font-size: 0.9rem; line-height: 1.75; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid hsl(var(--border)); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 560px; }
table.data thead { background: hsl(var(--charcoal)); color: #fff; }
table.data th {
  text-align: left;
  padding: 1rem 1.4rem;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
table.data td { padding: 1rem 1.4rem; border-top: 1px solid hsl(var(--border)); color: hsl(var(--soft-gray) / 0.9); }
table.data tbody tr:hover { background: hsl(var(--gold) / 0.05); }
table.data td:first-child { color: hsl(var(--charcoal)); font-weight: 600; }
.tag {
  display: inline-block;
  background: hsl(var(--gold) / 0.12);
  color: hsl(var(--gold-dark));
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.3rem 0.7rem;
}

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid hsl(var(--border) / 0.7);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.field { display: block; margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.55rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0;
  background: hsl(var(--background));
  font-family: inherit;
  font-size: 0.95rem;
  color: hsl(var(--foreground));
  transition: all 0.3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: hsl(var(--gold));
  background: #fff;
  box-shadow: 0 0 0 3px hsl(var(--gold) / 0.12);
}
.field input::placeholder, .field textarea::placeholder { color: hsl(var(--muted-foreground) / 0.55); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-note { font-size: 12px; color: hsl(var(--muted-foreground)); margin-top: 1rem; line-height: 1.7; }
.form-success {
  display: none;
  align-items: flex-start; gap: 0.85rem;
  background: hsl(var(--gold) / 0.08);
  border: 1px solid hsl(var(--gold) / 0.35);
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: hsl(var(--charcoal));
  line-height: 1.6;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; stroke: hsl(var(--gold)); margin-top: 2px; }

/* ---------- Contact details ---------- */
.contact-line { display: flex; gap: 1.15rem; align-items: flex-start; padding: 1.35rem 0; border-bottom: 1px solid hsl(var(--border)); }
.contact-line:last-child { border-bottom: 0; }
.contact-line__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: hsl(var(--gold) / 0.1);
  display: flex; align-items: center; justify-content: center;
  color: hsl(var(--gold));
}
.contact-line__icon svg { width: 19px; height: 19px; }
.contact-line__label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--muted-foreground)); margin-bottom: 0.3rem; }
.contact-line__value { font-size: 1rem; color: hsl(var(--charcoal)); font-weight: 600; }
.contact-line__value a:hover { color: hsl(var(--gold)); }
.contact-line__note { font-size: 0.82rem; color: hsl(var(--muted-foreground)); margin-top: 0.25rem; line-height: 1.6; }

.hours { background: hsl(var(--charcoal)); color: #fff; padding: 2rem; }
.hours h3 { font-size: 1.35rem; margin-bottom: 1.15rem; color: #fff; }
.hours__row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
}
.hours__row:last-child { border-bottom: 0; }
.hours__row span:first-child { color: rgba(255, 255, 255, 0.65); }
.hours__row span:last-child { color: hsl(var(--gold)); font-weight: 600; }
.hours__row.is-closed span:last-child { color: rgba(255, 255, 255, 0.4); }

/* ---------- Map ---------- */
.map-frame {
  position: relative;
  border: 1px solid hsl(var(--border));
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 440px; border: 0; filter: saturate(0.92); }
.map-frame__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.5rem;
  background: hsl(var(--charcoal));
  color: #fff;
  flex-wrap: wrap;
}
.map-frame__bar strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.2rem; }
.map-frame__bar span { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.55); font-weight: 400; margin-top: 2px; }
.map-frame__bar a { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: hsl(var(--gold)); font-weight: 700; }
.map-frame__bar a:hover { color: #fff; }

/* ---------- Newsletter / CTA ---------- */
.cta {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 2rem;
  overflow: hidden;
  text-align: center;
}
.cta__bg { position: absolute; inset: 0; background: linear-gradient(135deg, hsl(var(--charcoal)), hsl(var(--charcoal-light)), hsl(var(--charcoal))); }
.cta__glow {
  position: absolute; inset: 0; opacity: 0.2;
  background:
    radial-gradient(circle at 20% 50%, hsl(var(--gold) / 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, hsl(var(--gold) / 0.2) 0%, transparent 50%);
}
.cta__line { position: absolute; width: 1px; height: 120px; background: linear-gradient(to bottom, hsl(var(--gold) / 0.35), transparent); }
.cta__line--a { top: 0; left: 25%; }
.cta__line--b { bottom: 0; right: 25%; background: linear-gradient(to top, hsl(var(--gold) / 0.35), transparent); }
.cta__inner { position: relative; z-index: 2; max-width: 46rem; margin-inline: auto; }
.cta__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: hsl(var(--gold) / 0.1);
  border: 1px solid hsl(var(--gold) / 0.25);
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  color: hsl(var(--gold));
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: 1rem; }
.cta p { color: rgba(255, 255, 255, 0.6); line-height: 1.8; margin-bottom: 2.25rem; }
.cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta__actions .btn { min-width: 210px; }

.newsletter-form { display: flex; flex-wrap: wrap; gap: 0.75rem; max-width: 30rem; margin-inline: auto; }
.newsletter-form .form-success { flex: 1 0 100%; margin-bottom: 0; text-align: left; }
.newsletter-form input {
  flex: 1;
  padding: 1.15rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.newsletter-form input:focus { outline: none; border-color: hsl(var(--gold)); background: rgba(255, 255, 255, 0.1); }
.newsletter-form .btn { padding: 1.15rem 1.75rem; }
.newsletter-note { color: rgba(255, 255, 255, 0.3); font-size: 11px; letter-spacing: 0.05em; margin-top: 1.25rem; }

/* ---------- Footer ---------- */
.footer { background: hsl(var(--charcoal)); border-top: 1px solid rgba(255, 255, 255, 0.05); color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.15fr;
  gap: 3rem;
  padding: 4.5rem 0;
}
.footer__brand { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.4rem; }
.footer__brand img { width: 46px; height: 46px; object-fit: contain; }
.footer__brand strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.55rem; font-weight: 700; letter-spacing: 0.01em; }
.footer__about { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; line-height: 1.8; max-width: 32rem; margin-bottom: 1.75rem; }
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s;
}
.footer__social a:hover { color: hsl(var(--gold)); border-color: hsl(var(--gold)); transform: translateY(-3px); }
.footer__social svg { width: 16px; height: 16px; }

.footer h4 {
  color: hsl(var(--gold));
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.footer__list a { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; transition: all 0.3s; }
.footer__list a:hover { color: #fff; padding-left: 4px; }
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.footer__contact li { display: flex; gap: 0.85rem; align-items: flex-start; color: rgba(255, 255, 255, 0.6); font-size: 0.875rem; line-height: 1.6; }
.footer__contact svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: hsl(var(--gold) / 0.7); }
.footer__contact a:hover { color: #fff; }

.footer__bar { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer__bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.6rem 0;
  flex-wrap: wrap;
}
.footer__bar p { color: rgba(255, 255, 255, 0.4); font-size: 11.5px; letter-spacing: 0.03em; }
.footer__legal { display: flex; gap: 1.75rem; }
.footer__legal a { color: rgba(255, 255, 255, 0.4); font-size: 11.5px; transition: color 0.3s; }
.footer__legal a:hover { color: rgba(255, 255, 255, 0.75); }

/* ---------- Floating call button ---------- */
.float-call {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  z-index: 40;
  display: flex; align-items: center; gap: 0.65rem;
  background: hsl(var(--gold));
  color: #fff;
  padding: 0.9rem 1.35rem;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 14px 34px -12px hsl(var(--gold) / 0.7);
  transition: all 0.35s var(--ease-out);
}
.float-call:hover { transform: translateY(-3px); background: hsl(var(--gold-dark)); }
.float-call svg { width: 17px; height: 17px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--scale { transform: scale(0.94); }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.fade-in-up { animation: fadeInUp 1s var(--ease-out) forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.page-enter { animation: fadeInUp 0.8s var(--ease-out) both; }

/* ---------- Contrast: gold text on dark surfaces ---------- */
.hero__crest-text .motto,
.page-hero .eyebrow,
.page-hero .accent-word,
.page-hero .breadcrumb span,
.section--dark .eyebrow,
.section--dark .accent-word,
.section--navy .eyebrow,
.section--navy .accent-word,
.on-dark .eyebrow,
.on-dark .accent-word,
.image-band__caption .eyebrow,
.image-band__caption .accent-word,
.featured-article .eyebrow,
.quote figcaption,
.nav__links a.is-active,
.nav__wordmark span,
.mobile-menu__panel a:hover,
.mobile-menu__panel a.is-active,
.cta__badge,
.stat__value,
.slide__meta,
.footer h4,
.map-frame__bar a,
.hours__row span:last-child,
.feature__icon svg {
  color: hsl(var(--gold-light));
}
.feature__icon svg { stroke: hsl(var(--gold-light)); }
.stat__value { color: hsl(var(--gold-light)); }

.section--dark .hairline,
.section--navy .hairline,
.page-hero .hairline,
.on-dark .hairline { background: hsl(var(--gold-light)); }

.nav .link-underline::after,
.footer .link-underline::after {
  background: linear-gradient(90deg, hsl(var(--gold-light)), hsl(var(--gold)));
}

/* ---------- Steps (2-up) ---------- */
.steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }


.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.max-60 { max-width: 60ch; }
.max-48 { max-width: 48rem; }
.mx-auto { margin-inline: auto; }
.relative { position: relative; }
.on-dark { color: #fff; }

/* ---------- Responsive ---------- */
@media (min-width: 1024px) {
  .carousel__nav { display: flex; }
}

@media (max-width: 1180px) {
  .nav__links a { font-size: 11px; letter-spacing: 0.1em; }
  .nav__cta { padding: 0.65rem 1.2rem; font-size: 11px; }
  .nav__wordmark { font-size: 17px; }
}

@media (max-width: 1024px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
  .split { gap: 2.5rem; }
  .featured-article { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .container { padding-inline: 1.25rem; }
  .section { padding: 4rem 1.25rem; }
  .section--sm { padding: 3.25rem 1.25rem; }
  .split, .grid-2, .grid-3, .grid-4, .steps--3, .steps--2, .field-row { grid-template-columns: 1fr; }
  .split--reverse > *:first-child { order: 0; }
  .hero { padding-top: 7.5rem; min-height: auto; }
  .hero__crest { flex-direction: column; text-align: center; gap: 0.75rem; }
  .hero__crest-text { text-align: center; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }
  .page-hero { padding: 8.5rem 0 4rem; }
  .carousel__head { flex-direction: column; align-items: flex-start; }
  .timeline::before { left: 0.4rem; }
  .timeline__item { grid-template-columns: 1fr; gap: 0.5rem; padding-left: 2.25rem; }
  .timeline__year { text-align: left; }
  .timeline__dot { left: 0.4rem; top: 0.5rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
  .gallery__item--wide { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr; padding: 3.25rem 0; }
  .footer__bar-inner { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }
  .stat-band { grid-template-columns: 1fr; }
  .figure__badge { left: 0.75rem; bottom: -1.25rem; padding: 1rem 1.15rem; }
  .figure__badge strong { font-size: 2rem; }
  .mosaic img { height: 12rem; }
  .mosaic img:nth-child(2) { margin-top: 0; }
  .cta__actions .btn { width: 100%; }
  .float-call span { display: none; }
  .float-call { padding: 0.9rem; border-radius: 50%; }
  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }
  .quote { padding: 3.5rem 1.5rem; }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; aspect-ratio: 4 / 3; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

@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;
  }
  .reveal { opacity: 1; transform: none; }
}
