/* ==========================================================================
   Savannah Dental Aesthetics — shared design system
   Warm-family archetype, disciplined by fact-anchored copy + restraint.
   See design-spec.md.
   ========================================================================== */

:root {
  --paper: #F5F0E4;       /* Savannah Bone */
  --paper-alt: #E4EEEA;   /* Pale Sea-Glass */
  --ink: #20211D;         /* Marsh Ink */
  --graphite: #4B4D45;    /* muted ink, secondary text */
  --teal: #1F5C4F;        /* Deep Marsh Teal — primary */
  --teal-dark: #163F36;   /* hover state for teal fills */
  --teal-light: #A9D4C8;  /* footer links on dark teal bg, AA 4.79:1 */
  --brick: #9C4A26;       /* Savannah Brick — accent, decorative + small text uses only */
  --brick-dark: #7C3A1D;  /* hover state for brick */
  --hairline: #D8D2C0;
  --white: #FFFFFF;
  --status-open: #2C5C36;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", sans-serif;
  --font-ui: "Public Sans", -apple-system, "Segoe UI", sans-serif;

  --h1: clamp(2.25rem, 1.7rem + 2.4vw, 3.75rem);
  --h2: clamp(1.75rem, 1.45rem + 1.3vw, 2.75rem);
  --h3: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  --h4: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  --body: 1.0625rem;
  --body-lg: clamp(1.1875rem, 1.1rem + 0.4vw, 1.3125rem);
  --small: 0.875rem;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;

  --radius: 6px;
  --wrap-max: 1180px;
  --header-h: 84px;
  --header-h-condensed: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0 0 var(--space-2); font-weight: 600; }
h1 { font-size: var(--h1); font-weight: 600; line-height: 1.08; }
h2 { font-size: var(--h2); line-height: 1.15; }
h3 { font-size: var(--h3); font-weight: 500; line-height: 1.25; }
h4 { font-family: var(--font-ui); font-size: var(--h4); font-weight: 700; margin: 0 0 var(--space-1); line-height: 1.3; }
p { margin: 0 0 var(--space-2); }
.lead { font-size: var(--body-lg); line-height: 1.55; color: var(--graphite); }
.eyebrow {
  font-family: var(--font-ui); font-weight: 700; font-size: 0.8125rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--brick-dark); margin: 0 0 var(--space-1);
}
.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;
}
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* Container contract: every .sec's content sits inside .wrap. .sec/.sec.alt
   are full-bleed with vertical padding only, never a max-width. */
.sec { padding: var(--space-8) 0; }
.sec.alt { background: var(--paper-alt); }
.sec.tight { padding: var(--space-6) 0; }
.sec.dark { background: var(--teal); color: var(--white); }
.sec.dark h1, .sec.dark h2, .sec.dark h3 { color: var(--white); }
.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 760px) { .wrap { padding: 0 32px; } }
@media (min-width: 1180px) { .wrap { padding: 0; } }
.prose { max-width: 700px; margin: 0 auto; }
.prose h2, .prose h3 { margin-top: var(--space-4); }
.prose p { margin-bottom: var(--space-3); }
.prose hr { border: none; border-top: 1px solid var(--hairline); margin: var(--space-4) 0; }

/* ---------------------------------------------------------------------
   Icon sprite defaults
   --------------------------------------------------------------------- */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 28px; height: 28px; stroke: var(--teal); fill: none; }
.icon.on-dark { stroke: var(--paper); }
.icon.small { width: 16px; height: 16px; }
.chevron { width: 12px; height: 12px; stroke: currentColor; fill: none; transition: transform .15s ease; }

/* ---------------------------------------------------------------------
   Signature motif: the marsh-oak line (live oak branch resolving into a
   low-tide marsh-grass contour) — one static stroke, reused verbatim.
   --------------------------------------------------------------------- */
.marsh-oak-divider { width: 100%; height: 28px; display: block; margin: var(--space-3) 0; }
.marsh-oak-divider path { fill: none; stroke: var(--brick); stroke-width: 1.5; stroke-linecap: round; }
.marsh-oak-mark { display: inline-flex; }
.marsh-oak-mark svg { width: 34px; height: 34px; }
.marsh-oak-mark path { fill: none; stroke: var(--brick); stroke-width: 1.6; stroke-linecap: round; }
.marsh-oak-watermark { position: absolute; opacity: 0.06; pointer-events: none; z-index: 0; }
.marsh-oak-watermark path { fill: none; stroke: var(--ink); stroke-width: 1.2; }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn-primary, .btn-outline, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-ui); font-weight: 600; font-size: 0.9375rem;
  padding: 13px 24px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; min-height: 44px; line-height: 1;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); text-decoration: none; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--brick-dark); border-color: var(--brick-dark); }
.btn-ghost:hover { background: var(--brick-dark); color: var(--white); text-decoration: none; }
.sec.dark .btn-outline { color: var(--white); border-color: var(--white); }
.sec.dark .btn-outline:hover { background: var(--white); color: var(--teal); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }

/* ---------------------------------------------------------------------
   Preview banner
   --------------------------------------------------------------------- */
.preview-banner {
  background: var(--ink); color: var(--paper); font-family: var(--font-ui);
  font-size: 0.875rem; padding: 10px 20px; text-align: center;
}
.preview-banner svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 4px; stroke: var(--paper); fill: none; }
.preview-banner a { color: var(--teal-light); font-weight: 600; }
.preview-banner strong { font-weight: 700; }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
  padding: 0 20px; min-height: var(--header-h);
  transition: min-height .2s ease, box-shadow .2s ease;
}
.site-header.is-condensed { min-height: var(--header-h-condensed); box-shadow: 0 1px 8px rgba(32,33,29,0.08); }
@media (min-width: 760px) { .site-header { padding: 0 32px; } }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  font-size: 1.1875rem; white-space: nowrap; margin-right: auto;
}
.logo:hover { text-decoration: none; }
.logo .marsh-oak-mark svg { width: 30px; height: 30px; transition: width .2s ease, height .2s ease; }
.site-header.is-condensed .logo .marsh-oak-mark svg { width: 24px; height: 24px; }
.logo-text { line-height: 1.1; }
.logo-text small { display: block; font-family: var(--font-ui); font-weight: 500; font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); }

.header-actions { display: none; align-items: center; gap: var(--space-2); }
.header-phone {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-ui); font-weight: 600; color: var(--ink); font-size: 0.9375rem;
  white-space: nowrap;
}
.header-phone:hover { color: var(--teal); text-decoration: none; }

.hamburger {
  width: 44px; height: 44px; border: none; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
  position: relative;
}
.hamburger .bar, .hamburger .bar::before, .hamburger .bar::after {
  content: ""; position: absolute; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger .bar::before { transform: translateY(-7px); }
.hamburger .bar::after { transform: translateY(7px); }
.nav.is-open ~ .hamburger .bar,
.hamburger[aria-expanded="true"] .bar { background: transparent; }
.hamburger[aria-expanded="true"] .bar::before { transform: translateY(0) rotate(45deg); }
.hamburger[aria-expanded="true"] .bar::after { transform: translateY(0) rotate(-45deg); }

.nav { display: none; width: 100%; }
.nav.is-open { display: block; }
.nav-list { list-style: none; margin: 0; padding: var(--space-2) 0; display: flex; flex-direction: column; gap: 2px; }
.nav-link, .nav-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%;
  font-family: var(--font-ui); font-weight: 600; font-size: 1rem; color: var(--ink);
  padding: 12px 4px; border: none; background: transparent; cursor: pointer; text-align: left;
  min-height: 44px;
}
.nav-link:hover, .nav-trigger:hover { color: var(--teal); text-decoration: none; }
.nav-link.active, .nav-trigger.active { color: var(--teal); }
.nav-group.open .nav-trigger .chevron { transform: rotate(180deg); }
.dropdown-panel { display: none; padding: 0 0 8px 12px; flex-direction: column; }
.nav-group.open .dropdown-panel { display: flex; }
.panel-item {
  display: flex; align-items: center; gap: 8px; padding: 10px 4px; min-height: 40px;
  font-size: 0.9375rem; color: var(--graphite); border-left: 2px solid var(--hairline);
  padding-left: 12px;
}
.panel-item:hover, .panel-item.active { color: var(--teal); border-left-color: var(--teal); text-decoration: none; }
.panel-item.panel-overview { font-weight: 600; color: var(--ink); }
.panel-heading { font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.02em; color: var(--ink); text-transform: uppercase; padding: 10px 4px 4px 12px; margin-top: var(--space-1); }
.panel-heading:first-child { margin-top: 0; }
.nav-book-btn { margin: var(--space-2) 0; width: 100%; }
.nav-utility-row { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); padding: var(--space-2) 4px; border-top: 1px solid var(--hairline); margin-top: var(--space-1); }
.nav-utility-row a { font-size: var(--small); color: var(--graphite); }
.nav-utility-row a:hover { color: var(--teal); }

@media (min-width: 760px) {
  .hamburger { display: none; }
  .header-actions { display: inline-flex; }
  .nav {
    display: flex !important; width: auto; align-items: center; margin-left: var(--space-3);
  }
  .nav-list { flex-direction: row; align-items: center; padding: 0; gap: var(--space-2); flex-wrap: wrap; row-gap: 6px; }
  .nav-link, .nav-trigger { padding: 8px 2px; min-height: auto; width: auto; white-space: nowrap; font-size: 0.9375rem; }
  .nav-book-btn { margin-left: var(--space-2); }
  .nav-link { position: relative; }
  .nav-link::after, .nav-trigger::after {
    content: ""; position: absolute; left: 2px; right: 2px; bottom: -6px; height: 2px;
    background: var(--brick-dark); transform: scaleX(0); transform-origin: left; transition: transform .15s ease;
  }
  .nav-link:hover::after, .nav-link.active::after,
  .nav-trigger:hover::after, .nav-trigger.active::after,
  .nav-group.active > .nav-trigger::after { transform: scaleX(1); }
  .nav-group { position: relative; }
  .nav-group .dropdown-panel {
    display: block; position: absolute; top: 100%; left: 0; margin-top: 10px;
    background: var(--paper); border: 1px solid var(--hairline); border-top: 2px solid var(--teal);
    border-radius: var(--radius); padding: 14px; min-width: 260px;
    box-shadow: 0 8px 24px rgba(32,33,29,0.14);
    opacity: 0; visibility: hidden; transform: translateY(4px);
    transition: opacity .12s ease, transform .12s ease, visibility .12s ease;
    max-height: 70vh; overflow-y: auto;
  }
  .nav-group:hover .dropdown-panel,
  .nav-group:focus-within .dropdown-panel,
  .nav-group.open .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
  .panel-item { padding-left: 8px; }
  .nav-book-btn { width: auto; margin: 0; }
  .nav-utility-row { border-top: none; padding: 0; margin: 0 0 0 var(--space-2); gap: var(--space-2); }

  /* Mega-menu: multi-column dropdown for categories with many articles */
  .dropdown-panel.mega {
    columns: 2 200px; column-gap: 28px; min-width: 460px; max-width: 620px;
  }
  .dropdown-panel.mega .panel-heading,
  .dropdown-panel.mega .panel-item { break-inside: avoid; }
}
@media (min-width: 1040px) {
  .dropdown-panel.mega.cols-3 { columns: 3 190px; max-width: 780px; }
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero { padding: var(--space-8) 0; position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 900px) {
  .hero-grid.with-motif { grid-template-columns: 1.2fr 0.8fr; }
}
.hero h1 { max-width: 22ch; }
.hero-motif { display: flex; align-items: center; justify-content: center; }
.hero-motif svg { width: 100%; max-width: 340px; height: auto; }

/* ---------------------------------------------------------------------
   Continuity strip / fact badges
   --------------------------------------------------------------------- */
.facts-strip { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 700px) { .facts-strip { grid-template-columns: repeat(3, 1fr); } }
.fact-item { text-align: left; border-left: 2px solid var(--brick); padding-left: var(--space-2); }
.fact-item .fact-label { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; display: block; color: var(--ink); }
.fact-item .fact-sub { font-size: var(--small); color: var(--graphite); }

/* ---------------------------------------------------------------------
   Grids: services, infocards, tiers
   --------------------------------------------------------------------- */
.svc-grid, .infocards { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 541px) { .svc-grid, .infocards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .svc-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: var(--space-3); height: 100%;
}
.sec.alt .card { background: var(--paper); }
.card .icon { margin-bottom: var(--space-2); }
.card .trust-line { font-size: var(--small); color: var(--graphite); margin-top: var(--space-1); }

/* Team cards (no photos exist — real bios, name/role/one true detail) */
.team-card { display: flex; flex-direction: column; gap: var(--space-2); border-top: 3px solid var(--brick); padding-top: var(--space-2); }
.team-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin: 0; }
.team-role { font-size: var(--small); color: var(--brick-dark); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin: 2px 0 var(--space-1); }

/* Process steps */
.steps { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: left; }
.step-num { font-family: var(--font-display); font-weight: 600; color: var(--brick-dark); font-size: 1.5rem; }

/* ---------------------------------------------------------------------
   FAQ accordion
   --------------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--paper); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  padding: 16px 20px; font-family: var(--font-ui); font-weight: 600; font-size: 1rem; color: var(--ink);
  min-height: 44px;
}
.faq-item[open] .faq-q .chevron { transform: rotate(180deg); }
.faq-a { padding: 0 20px 18px; color: var(--graphite); }
.faq-a p:last-child { margin-bottom: 0; }
details.faq-item summary { list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }

/* ---------------------------------------------------------------------
   Quote / testimonial
   --------------------------------------------------------------------- */
.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote blockquote { font-family: var(--font-display); font-size: var(--h3); font-weight: 500; color: var(--ink); margin: 0 0 var(--space-2); font-style: italic; }
.quote cite { font-family: var(--font-ui); font-style: normal; font-weight: 600; color: var(--graphite); font-size: var(--small); }
.reviews-grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 700px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
.review-card { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius); padding: var(--space-3); }
.review-card blockquote { font-family: var(--font-display); font-size: 1.1875rem; font-style: italic; margin: 0 0 var(--space-2); }
.review-card cite { font-family: var(--font-ui); font-style: normal; font-weight: 600; color: var(--graphite); font-size: var(--small); }
.review-source { display: block; font-size: 0.75rem; color: var(--graphite); margin-top: 2px; }

/* ---------------------------------------------------------------------
   Map + hours
   --------------------------------------------------------------------- */
.map-frame { border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.map-frame iframe { display: block; width: 100%; height: 320px; border: 0; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 6px 0; border-top: 1px solid var(--hairline); font-size: 0.9375rem; }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr:first-child td { border-top: none; }
.live-status {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui);
  font-weight: 600; font-size: 0.9375rem; padding: 8px 14px; border-radius: 999px;
  background: var(--paper-alt); margin-bottom: var(--space-2);
}
.live-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--graphite); }
.live-status.is-open .dot { background: var(--status-open); }
.live-status.is-open { color: var(--status-open); }
.live-status.is-closed .dot { background: var(--brick-dark); }
.live-status.is-closed { color: var(--brick-dark); }

/* ---------------------------------------------------------------------
   Placeholder / deep page teaser
   --------------------------------------------------------------------- */
.placeholder-hero { padding: var(--space-8) 0; text-align: center; }
.placeholder-card {
  border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--paper);
  padding: var(--space-4); max-width: 640px; margin: 0 auto; text-align: center;
}
.placeholder-card .marsh-oak-mark { justify-content: center; margin-bottom: var(--space-2); }
.placeholder-card .eyebrow { text-align: center; }
.back-link { display: inline-block; margin-top: var(--space-2); font-weight: 600; }

/* ---------------------------------------------------------------------
   Form success state
   --------------------------------------------------------------------- */
.form-success {
  display: none; border: 1px solid var(--hairline); background: var(--paper-alt);
  border-radius: var(--radius); padding: var(--space-3); margin-top: var(--space-2);
}
.form-success.is-visible { display: block; }
form.js-contact-form.is-submitted .form-fields { display: none; }
.field { margin-bottom: var(--space-2); }
.field label { display: block; font-weight: 600; font-size: var(--small); margin-bottom: 4px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem; background: var(--white); color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { background: var(--teal); color: var(--paper); padding: var(--space-8) 0 var(--space-4); position: relative; }
.footer-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-heading { font-family: var(--font-display); font-weight: 600; color: var(--white); margin-bottom: 10px; font-size: 1.0625rem; }
.site-footer a { color: var(--teal-light); }
.site-footer nav { display: flex; flex-direction: column; gap: 6px; }
.site-footer p { color: #CFE3DC; }
.footer-bottom { border-top: 1px solid rgba(245,240,228,0.2); margin-top: var(--space-4); padding-top: var(--space-3); display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: space-between; color: #B7D3C9; font-size: var(--small); }
.footer-bottom a { color: #B7D3C9; }
.footer-oak { margin: 0 0 var(--space-2); opacity: 0.5; }
.footer-oak path { stroke: var(--paper); }

/* ---------------------------------------------------------------------
   Mobile fixed call/book bar
   --------------------------------------------------------------------- */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -2px 12px rgba(32,33,29,0.18);
}
.mobile-cta-bar a {
  flex: 1; text-align: center; padding: 16px 8px; font-family: var(--font-ui); font-weight: 700;
  min-height: 60px; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.mobile-cta-bar a:hover { text-decoration: none; }
.mobile-cta-bar .call { background: var(--brick-dark); color: var(--white); }
.mobile-cta-bar .book { background: var(--teal); color: var(--white); }
body { padding-bottom: 60px; }
@media (min-width: 760px) {
  .mobile-cta-bar { display: none; }
  body { padding-bottom: 0; }
}
.nav-overlay-open { overflow: hidden; }
@media (max-width: 759px) {
  .nav.is-open {
    position: fixed; inset: 0; background: var(--teal); overflow-y: auto;
    z-index: 95; padding: calc(var(--header-h) + var(--space-2)) 20px var(--space-8);
  }
  .nav.is-open .nav-link, .nav.is-open .nav-trigger { color: var(--paper); }
  .nav.is-open .nav-link.active, .nav.is-open .nav-trigger.active { color: var(--paper); text-decoration: underline; }
  .nav.is-open .panel-item { color: #D3E6DF; border-left-color: rgba(245,240,228,0.3); }
  .nav.is-open .panel-item:hover, .nav.is-open .panel-item.active { color: var(--white); border-left-color: var(--white); }
  .nav.is-open .panel-heading { color: #D3E6DF; }
  .nav.is-open .nav-book-btn { background: var(--brick-dark); }
  .nav.is-open .nav-utility-row { border-top-color: rgba(245,240,228,0.25); }
  .nav.is-open .nav-utility-row a { color: #D3E6DF; }
}

/* ---------------------------------------------------------------------
   Reveal-on-scroll
   --------------------------------------------------------------------- */
.reveal.pre-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i, 0) * 60ms); }
.reveal.pre-reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------------
   Misc utility
   --------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.divider { border: none; border-top: 1px solid var(--hairline); margin: var(--space-4) 0; }
.no-js .js-only { display: none !important; }
