/* =========================================================================
   Nurturing Hearts — design tokens
   Phase 2 restyle should mostly mean editing this block, not the templates.
   Palette lifted from the existing Elementor global colors.
   ========================================================================= */

/* Self-hosted rather than pulled from Google's CDN: one less third-party
   request, and no visitor data sent to Google just to render a heading.
   Latin subset only, 16 KB. */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/nunito-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* ---- brand, sampled from the vector logo ---------------------------- */
  --c-orange:    #ED441F;
  --c-purple:    #5241A1;
  --c-green:     #9DCE4A;
  --c-navy:      #1D3157;

  /* tints, mixed from the brand hues rather than invented */
  --c-orange-50: #FDF0EC;
  --c-purple-50: #F0EEF8;
  --c-green-50:  #F3F8E9;
  --c-cream:     #FBF7F2;   /* warm page background — replaces cold mint */

  /* ---- semantic -------------------------------------------------------- */
  --c-bg:        #FFFFFF;
  --c-bg-warm:   var(--c-cream);
  --c-bg-invert: var(--c-navy);
  --c-text:      #3D4759;
  --c-heading:   var(--c-navy);
  --c-muted:     #6E7789;
  --c-accent:    var(--c-orange);   /* CTAs and emphasis */
  --c-link:      var(--c-purple);   /* body links stay purple for contrast */
  --c-border:    #E7E2DC;
  --c-on-dark:   #E9EEF5;

  /* ---- type ------------------------------------------------------------ */
  --f-head: "Nunito", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --f-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   1.1875rem;
  --fs-xl:   1.375rem;
  --fs-2xl:  1.75rem;
  --fs-3xl:  2.125rem;
  --fs-4xl:  2.625rem;
  --fs-5xl:  3.25rem;

  --lh-tight: 1.12;
  --lh-snug:  1.3;
  --lh-body:  1.62;
  --tracking-tight: -0.02em;

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

  /* ---- other ----------------------------------------------------------- */
  --wrap:      1180px;
  --wrap-text: 44rem;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow:    0 1px 2px rgba(29,49,87,.05), 0 10px 28px rgba(29,49,87,.09);
  --shadow-lg: 0 2px 6px rgba(29,49,87,.06), 0 24px 60px rgba(29,49,87,.14);
}

@media (min-width: 60em) {
  :root { --fs-3xl: 2.5rem; --fs-4xl: 3.25rem; --fs-5xl: 4.25rem; }
}

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

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

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font: var(--fs-base)/var(--lh-body) var(--f-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 var(--sp-4);
  font-family: var(--f-head);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--c-heading);
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-lg); line-height: var(--lh-snug); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--c-link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--c-orange); }

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

:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 2px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--sp-5); }
.wrap-narrow { max-width: var(--wrap-text); }

.skip-link {
  position: absolute; left: -9999px; z-index: 100;
  background: var(--c-navy); color: #fff; padding: var(--sp-3) var(--sp-4);
}
.skip-link:focus { left: var(--sp-4); top: var(--sp-4); }

/* =========================================================================
   buttons
   ========================================================================= */
.btn {
  display: inline-block;
  background: var(--c-orange);
  color: #fff;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: var(--fs-base);
  padding: var(--sp-3) var(--sp-6);
  border: 2px solid var(--c-orange);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover {
  background: #fff; color: var(--c-orange); border-color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
/* on light backgrounds the white-fill hover would vanish, so invert to navy */
.btn-on-light:hover { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; color: var(--c-navy); border-color: #fff; }

.btn-sm { font-size: var(--fs-sm); padding: var(--sp-2) var(--sp-5); }

/* =========================================================================
   header + nav
   ========================================================================= */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; gap: var(--sp-5);
  min-height: 76px; flex-wrap: wrap;
}
.brand { flex: 0 0 auto; margin-right: auto; }
.brand img { width: 219px; height: auto; }

/* Scoped to the direct child list: a bare `.site-nav ul` also matches .subnav
   and, being more specific, overrides its `display: none`. */
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--sp-5); }
.subnav { list-style: none; margin: 0; padding: 0; }

.site-nav a {
  color: var(--c-navy); text-decoration: none;
  font-weight: 600; font-size: var(--fs-sm);
  padding: var(--sp-2) 0; display: block;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--c-orange);
  box-shadow: inset 0 -2px 0 var(--c-orange);
}

.has-sub { position: relative; }
.subnav {
  display: none;
  position: absolute; top: 100%; left: calc(var(--sp-4) * -1);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--sp-3);
  min-width: 210px;
  flex-direction: column; gap: var(--sp-1);
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { display: flex; }
.subnav a { white-space: nowrap; padding: var(--sp-2) var(--sp-3); }
.subnav a:hover { box-shadow: none; background: var(--c-orange-50); border-radius: 8px; }

.navtoggle, .navtoggle-btn { display: none; }

@media (max-width: 60em) {
  .header-inner { gap: var(--sp-3); min-height: 64px; }
  .brand img { width: 132px; }
  .navtoggle-btn {
    display: flex; flex-direction: column; justify-content: center;
    order: 3; cursor: pointer;
    min-width: 44px; min-height: 44px;   /* WCAG 2.5.8 target size */
    padding: 0 var(--sp-2); margin: 0; flex: 0 0 auto;
  }
  .navtoggle-btn span {
    display: block; width: 24px; height: 2px;
    background: var(--c-navy); margin: 5px 0; border-radius: 2px;
  }
  .header-cta {
    order: 2; flex: 0 1 auto;
    font-size: var(--fs-xs); padding: var(--sp-2) var(--sp-4); white-space: nowrap;
  }
  .site-nav { order: 4; flex-basis: 100%; display: none; padding-bottom: var(--sp-4); }
  .navtoggle:checked ~ .site-nav { display: block; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--c-border); }
  .site-nav a { padding: var(--sp-3) 0; }
  .subnav {
    display: flex; position: static; border: 0; box-shadow: none;
    padding: 0 0 var(--sp-3) var(--sp-4); min-width: 0;
  }
  .subnav a { font-size: var(--fs-sm); color: var(--c-muted); }
}

@media (max-width: 24em) {
  .header-inner { padding-inline: var(--sp-3); gap: var(--sp-2); }
  .brand img { width: 104px; }
  .header-cta { font-size: 0.75rem; padding: var(--sp-2); letter-spacing: -0.01em; }
  .navtoggle-btn { min-width: 44px; padding: 0 0 0 var(--sp-2); }
}

/* =========================================================================
   sections
   ========================================================================= */
.section { padding-block: var(--sp-9); }
.section-tight { padding-block: var(--sp-8); }
.section-warm { background: var(--c-bg-warm); }
.section-invert { background: var(--c-navy); color: var(--c-on-dark); }
.section-invert h1, .section-invert h2, .section-invert h3 { color: #fff; }

.section-head { max-width: var(--wrap-text); margin: 0 auto var(--sp-8); text-align: center; }
.section-head p { color: var(--c-muted); font-size: var(--fs-lg); }
.section-invert .section-head p { color: rgba(255,255,255,.8); }

/* small caps label above a heading */
.eyebrow {
  display: block;
  font-family: var(--f-head);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: var(--sp-3);
}
.section-invert .eyebrow { color: var(--c-green); }

.lede { font-size: var(--fs-lg); color: var(--c-muted); }

/* =========================================================================
   hero
   ========================================================================= */
.hero {
  position: relative;
  background: var(--c-navy);
  color: #fff;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: center;
  padding-block: var(--sp-9);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-video { width: 100%; height: 100%; object-fit: cover; }
/* The poster shows through until the loop paints, so there is never a
   flash of empty navy. */
.hero-video { background: var(--c-navy) center/cover no-repeat; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  /* Heavier and carried right across: a moving background cycles through
     frames that were never composed as stills, so it should read as motion
     and texture, not as a photograph. */
  background:
    linear-gradient(94deg, rgba(18,31,58,.95) 0%, rgba(18,31,58,.90) 42%, rgba(18,31,58,.72) 100%),
    linear-gradient(0deg, rgba(18,31,58,.45), rgba(18,31,58,0) 45%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-inner { max-width: 36rem; }
.hero h1 {
  color: #fff;
  font-size: var(--fs-5xl);
  margin-bottom: var(--sp-5);
  text-wrap: balance;
  max-width: 15ch;
}
.hero p { font-size: var(--fs-lg); color: rgba(255,255,255,.88); margin-bottom: var(--sp-6); }
.hero .hero-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin: 0; }

@media (max-width: 52em) {
  .hero { min-height: 0; padding-block: var(--sp-8); }
  .hero::after { background: linear-gradient(180deg, rgba(20,34,62,.9), rgba(20,34,62,.82)); }
}

/* page header for interior pages */
.page-header {
  background: var(--c-bg-warm);
  border-bottom: 1px solid var(--c-border);
  padding-block: var(--sp-8);
  text-align: center;
}
.page-header p {
  max-width: var(--wrap-text); margin-inline: auto;
  color: var(--c-muted); font-size: var(--fs-lg);
}

/* -------------------------------------------------------------------------
   decorative sprites
   Muted well below body-text contrast and pushed into the gutters, so they
   read as texture rather than competing with the copy. Drift is applied by
   sprites.js; without JS they simply sit still.
   ------------------------------------------------------------------------- */
.has-sprites { position: relative; overflow: hidden; }
.has-sprites > .wrap { position: relative; z-index: 1; }

.sprites { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

/* Anchored to the gutter — the space outside the content column — so a
   sprite can never sit over the copy no matter how wide the window is.
   `--gutter` is whatever is left once .wrap has taken its max-width. */
.sprites {
  --gutter: calc((100% - var(--wrap)) / 2);
}
.sprite {
  position: absolute;
  top: var(--y);
  width: auto;
  opacity: .34;
  filter: saturate(.45);
  will-change: transform;
}
.sprite-l { left:  calc(var(--gutter) * 0.18); }
.sprite-r { right: calc(var(--gutter) * 0.18); }

/* Only show once the gutter is wide enough to hold a sprite clear of the
   text: .wrap is 1180px plus 24px padding each side, so below ~1400px
   there is nowhere for them to live. */
@media (max-width: 88em) { .sprites { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .sprite { transform: none !important; }
}

/* =========================================================================
   trust band — Texas Rising Star
   ========================================================================= */
.trust {
  background: var(--c-orange-50);
  border-block: 1px solid rgba(237,68,31,.16);
  padding-block: var(--sp-8);
}
.trust-inner {
  display: grid; gap: var(--sp-6); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 48em) { .trust-inner { grid-template-columns: auto 1fr; gap: var(--sp-8); } }
.trust img { width: 132px; }
.trust h2 { font-size: var(--fs-2xl); margin-bottom: var(--sp-3); }
.trust p { color: var(--c-text); max-width: 42rem; }
.trust p + p { margin-top: var(--sp-3); }
/* Scoped to the parent: a bare `.trust-stars` (0,1,0) loses to `.trust p`
   (0,1,1) and the stars render as body text. Same trap as the footer rating
   and the nav flyout — any utility class on a <p> inside a container that
   styles `p` must match or beat that specificity. */
.trust .trust-stars { color: var(--c-orange); letter-spacing: .18em; font-size: var(--fs-sm); }

/* =========================================================================
   feature blocks — photo paired with copy, alternating
   ========================================================================= */
.feature { display: grid; gap: var(--sp-7); align-items: start; grid-template-columns: 1fr; }
@media (min-width: 56em) {
  .feature { grid-template-columns: 1fr 1fr; gap: var(--sp-9); }
  .feature-flip .feature-media { order: 2; }
}
.feature + .feature { margin-top: var(--sp-9); }
.feature-media img, .feature-media picture {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-body h2 { margin-bottom: var(--sp-4); }
.feature-body h3 { margin-bottom: var(--sp-3); }

/* =========================================================================
   programs — colour-blocked, no photography required
   ========================================================================= */
/* Explicit 3-up rather than auto-fit: with five programmes auto-fit lands
   4+1 at desktop width, leaving a lone orphan card. 3+2 reads intentional. */
.prog-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 38em) { .prog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62em) { .prog-grid { grid-template-columns: repeat(3, 1fr); } }
/* Programme detail pages list the other four — 4-up fills the row cleanly. */
@media (min-width: 62em) { .prog-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.prog-card {
  --tint: var(--c-purple);
  position: relative;
  display: flex; flex-direction: column;
  padding: var(--sp-6);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--c-border);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
/* colour spine down the left edge, keyed per programme */
.prog-card::before {
  content: "";
  position: absolute; inset: 0 auto 0 0; width: 6px;
  background: var(--tint);
}
.prog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
/* Scoped for the same reason as .trust-stars — `.prog-card p` would win. */
.prog-card .prog-age {
  font-family: var(--f-head); font-weight: 700;
  font-size: var(--fs-sm); line-height: 1.2;
  letter-spacing: .04em;
  color: var(--tint);
  margin-bottom: var(--sp-2);
}
.prog-card h3 { margin-bottom: var(--sp-2); font-size: var(--fs-lg); }
.prog-card p { color: var(--c-muted); font-size: var(--fs-sm); margin: 0; }
.prog-more {
  margin-top: auto;
  padding-top: var(--sp-5);
  font-family: var(--f-head); font-weight: 700; font-size: var(--fs-sm);
  color: var(--tint);
}

/* programme detail stat strip */
.stats {
  display: grid; gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  background: var(--c-bg-warm);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-8);
}
.stat h3 {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em;
  color: var(--c-muted); font-family: var(--f-body); font-weight: 700;
  margin-bottom: var(--sp-2);
}
.stat p { font-size: var(--fs-lg); font-weight: 700; color: var(--c-navy); font-family: var(--f-head); }


/* generic two-column grid, used on about + careers */
.grid-2 {
  display: grid; gap: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}
.footer-col { min-width: 0; }

/* subject-area list — two columns of short items, brand-marked */
.subjects {
  list-style: none;
  margin: 0 0 var(--sp-5);
  padding: 0;
  display: grid;
  gap: var(--sp-2) var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}
.subjects li {
  position: relative;
  padding-left: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-navy);
}
.subjects li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-green);
}
.subjects li:nth-child(3n+2)::before { background: var(--c-orange); }
.subjects li:nth-child(3n+3)::before { background: var(--c-purple); }

/* =========================================================================
   prose
   ========================================================================= */
.prose { max-width: var(--wrap-text); }
.prose h2 { margin-top: var(--sp-8); }
.prose h2:first-child { margin-top: 0; }

/* =========================================================================
   testimonials
   ========================================================================= */
.quote-grid {
  display: grid; gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.quote {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex; flex-direction: column;
}
.quote blockquote { margin: 0 0 var(--sp-5); font-size: var(--fs-base); }
.quote blockquote p + p { margin-top: var(--sp-3); }
.quote blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--f-head);
  font-size: 3rem; line-height: .8;
  color: var(--c-green);
  margin-bottom: var(--sp-2);
}
.quote cite {
  margin-top: auto;
  font-style: normal; font-weight: 700;
  font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-purple);
}

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-item { border-bottom: 1px solid var(--c-border); padding-block: var(--sp-4); }
.faq-item summary {
  cursor: pointer;
  font-family: var(--f-head); font-weight: 700; font-size: var(--fs-lg);
  color: var(--c-navy);
  list-style: none;
  display: flex; justify-content: space-between; gap: var(--sp-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--c-orange); font-size: var(--fs-2xl); line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .answer { padding-top: var(--sp-3); color: var(--c-muted); }

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: var(--sp-3); }
.cta-band p {
  max-width: 38rem; margin-inline: auto; margin-bottom: var(--sp-6);
  font-size: var(--fs-lg); color: rgba(255,255,255,.85);
}

/* =========================================================================
   contact + forms
   ========================================================================= */
.contact-grid { display: grid; gap: var(--sp-7); grid-template-columns: 1fr; }
@media (min-width: 52em) { .contact-grid { grid-template-columns: 1fr 1.15fr; } }

.contact-detail { margin-bottom: var(--sp-5); }
.contact-detail h3 {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em;
  color: var(--c-muted); font-family: var(--f-body); font-weight: 700; margin-bottom: var(--sp-1);
}
.contact-detail p, .contact-detail address { font-style: normal; font-size: var(--fs-lg); margin: 0; }

.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow);
}

.field { margin-bottom: var(--sp-4); }
.field label { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: var(--sp-2); color: var(--c-navy); }
.field input, .field textarea {
  width: 100%; font: inherit;
  padding: var(--sp-3);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff; color: var(--c-text);
}
.field input:focus, .field textarea:focus { border-color: var(--c-orange); }
.field textarea { min-height: 9rem; resize: vertical; }
.field input[type="file"] { padding: var(--sp-2); font-size: var(--fs-sm); }
.field-hint { margin: var(--sp-2) 0 0; font-size: var(--fs-xs); color: var(--c-muted); }
.hp { position: absolute; left: -9999px; }

/* inline submit feedback — replaces the redirect to a third-party page */
.form-status {
  margin: var(--sp-4) 0 0;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.form-status[data-kind="ok"] {
  background: var(--c-green-50);
  color: #3E5B14;
  border: 1px solid rgba(157, 206, 74, .5);
}
.form-status[data-kind="error"] {
  background: var(--c-orange-50);
  color: #8C2A12;
  border: 1px solid rgba(237, 68, 31, .4);
}

.checklist { list-style: none; margin: 0 0 var(--sp-6); padding: 0; display: grid; gap: var(--sp-3); }
.checklist li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.checklist input { margin-top: .35rem; flex: 0 0 auto; width: 1.05rem; height: 1.05rem; accent-color: var(--c-orange); }
.checklist label { font-size: var(--fs-sm); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td {
  text-align: left; padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--c-border); font-weight: 400;
}
.hours-table th { color: var(--c-navy); font-weight: 700; }
.hours-table td { text-align: right; color: var(--c-muted); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }

.visually-hidden-heading {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* =========================================================================
   footer
   ========================================================================= */
.site-footer { background: var(--c-navy); color: var(--c-on-dark); padding-top: var(--sp-8); }
.footer-grid {
  display: grid; gap: var(--sp-7);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  padding-bottom: var(--sp-7);
}
.footer-nap { grid-column: span 1; }
@media (min-width: 52em) { .footer-nap { grid-column: span 2; max-width: 22rem; } }
.footer-logo {
  margin-bottom: var(--sp-4); width: 245px;
  /* renders the colour logo white, so header and footer share one SVG */
  filter: brightness(0) invert(1);
}
.site-footer h2 {
  color: #fff; font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: .1em;
  font-family: var(--f-body); font-weight: 700; margin-bottom: var(--sp-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-hours { color: rgba(255,255,255,.8); font-size: var(--fs-sm); }

/* Address block: flush left with the rest of the column. Scoped under
   .site-footer so the link-colour rule doesn't win on specificity. */
.site-footer .nap {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: var(--sp-1); font-style: normal; margin-bottom: var(--sp-3);
}
.site-footer .nap-address { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer .nap-address:hover { color: #fff; text-decoration: underline; }
.site-footer .nap-directions { font-size: var(--fs-sm); color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer .nap-directions:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-block: var(--sp-5);
  display: flex; justify-content: space-between; gap: var(--sp-4);
  flex-wrap: wrap; font-size: var(--fs-sm);
}
.footer-bottom p { margin: 0; }

/* =========================================================================
   video lightbox
   ========================================================================= */
.tour-video {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius); background: #000; aspect-ratio: 16 / 9;
}
.video-modal {
  border: 0; padding: 0; background: transparent;
  width: min(92vw, 68rem); max-width: none; max-height: 92vh;
  overflow: visible; color: #fff;
}
.video-modal::backdrop { background: rgba(12,20,36,.85); }
.video-close {
  position: absolute; top: -2.5rem; right: 0;
  background: transparent; border: 0; color: #fff;
  font-size: 2.25rem; line-height: 1; cursor: pointer;
  padding: var(--sp-1) var(--sp-2); border-radius: 6px;
}
.video-close:hover { color: var(--c-orange); }
@media (max-width: 40em) { .video-close { top: -2.25rem; font-size: 2rem; } }

/* =========================================================================
   motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
