/* cs-tokens: v1 */
:root {
  --color-bg:     #F1F5F2;
  --color-brand:  #1C6868;
  --color-accent: #A24B2A;
  --color-ink:    #20302E;
  --color-muted:  #6E7E7B;
  --accent-rgb:   162, 75, 42;
  --accent-light: color-mix(in srgb, #A24B2A 12%, #F1F5F2);

  --fs-xs:   clamp(0.75rem,  0.70rem + 0.25vw, 0.875rem);
  --fs-sm:   clamp(0.875rem, 0.81rem + 0.32vw, 1rem);
  --fs-base: clamp(1rem,     0.93rem + 0.35vw, 1.125rem);
  --fs-lg:   clamp(1.125rem, 1.02rem + 0.52vw, 1.375rem);
  --fs-xl:   clamp(1.375rem, 1.17rem + 1.03vw, 2rem);
  --fs-2xl:  clamp(2rem,     1.60rem + 2.00vw, 3.25rem);
  --fs-3xl:  clamp(2.75rem,  2.10rem + 3.25vw, 5rem);

  --sp-2xs:  clamp(0.25rem,  0.20rem + 0.25vw, 0.375rem);
  --sp-xs:   clamp(0.375rem, 0.30rem + 0.37vw, 0.5rem);
  --sp-sm:   clamp(0.5rem,   0.40rem + 0.50vw, 0.75rem);
  --sp-md:   clamp(0.75rem,  0.60rem + 0.75vw, 1.125rem);
  --sp-lg:   clamp(1rem,     0.80rem + 1.00vw, 1.5rem);
  --sp-xl:   clamp(1.5rem,   1.20rem + 1.50vw, 2.5rem);
  --sp-2xl:  clamp(2.5rem,   2.00rem + 2.50vw, 4rem);
  --sp-3xl:  clamp(4rem,     3.00rem + 5.00vw, 7rem);

  --dur-fast:   150ms;
  --dur-normal: 260ms;
  --dur-slow:   420ms;
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --ease-inout: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: 'Lato', sans-serif;
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-bg);
  overflow-x: clip;
}
/* focus-visible: accessible ring, hidden for mouse users */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 3px;
}
:focus:not(:focus-visible) { outline: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }

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

/* ── Typography helpers ────────────────────────────────── */
.eyebrow {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-sm);
}
h1, h2, h3, h4 {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  color: var(--color-brand);
  line-height: 1.15;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); font-weight: 700; }
p { margin-bottom: var(--sp-md); }
p:last-child { margin-bottom: 0; }

/* ── Layout helpers ────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-xl);
}
.section { padding-block: var(--sp-3xl); }
.section--teal { background: var(--color-brand); color: var(--color-bg); }
.section--teal h2, .section--teal h3, .section--teal h4 { color: var(--color-bg); }
.section--teal .eyebrow { color: rgba(241,245,242,0.75); }
.section--ink { background: var(--color-ink); color: var(--color-bg); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--color-bg); }
.section--subtle { background: #E8EDEA; }

/* ── Buttons ───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 28px;
  background: var(--color-accent);
  color: #F1F5F2;
  font-family: 'Lato', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-primary:hover { background: #8C3E22; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 26px;
  background: transparent;
  color: var(--color-brand);
  font-family: 'Lato', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  border: 2px solid var(--color-brand);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--color-brand); color: var(--color-bg); }
.btn-outline--light {
  color: var(--color-bg);
  border-color: rgba(241,245,242,0.6);
}
.btn-outline--light:hover { background: rgba(241,245,242,0.15); color: var(--color-bg); }

/* ── Navigation ────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-brand);
  box-shadow: 0 2px 16px rgba(28,104,104,0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  max-width: 1260px;
  margin-inline: auto;
  padding: 10px var(--sp-xl);
  height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  backdrop-filter: blur(8px) saturate(180%);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.30);
  flex-shrink: 0;
}
.nav-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}
.nav-wordmark {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: rgba(241, 245, 242, 0.95);
  letter-spacing: 0.03em;
  line-height: 1.2;
  max-width: 140px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin-left: auto;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(241, 245, 242, 0.85);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: #F1F5F2; }
.nav-link.active { color: #F1F5F2; border-bottom: 2px solid rgba(162,75,42,0.8); }

/* ── Mobile burger ─────────────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(241,245,242,0.9);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile drawer ─────────────────────────────────────── */
.nav-drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  background: rgba(20, 52, 48, 0.97); /* alpha 0.97 >= 0.92 (ok) */
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 80px var(--sp-xl) var(--sp-xl);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.nav-drawer.is-open { transform: translateX(0); }
.drawer-close {
  position: absolute;
  top: 14px;
  right: var(--sp-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  background: none;
  border: none;
  color: rgba(241,245,242,0.8);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}
.drawer-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  color: rgba(241, 245, 242, 0.92); /* explicit color on <a> (ok) */
  text-decoration: none;
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(241,245,242,0.12);
  transition: color 0.2s;
}
.drawer-link:hover { color: #F1F5F2; }
.drawer-cta {
  margin-top: var(--sp-lg);
  color: var(--color-accent) !important;
  border-bottom: none;
  font-size: var(--fs-base);
}
.drawer-cta:hover { color: #d4622e !important; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ── Page hero (inner pages) ───────────────────────────── */
.page-hero {
  padding-top: 64px; /* nav height */
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background: var(--color-brand);
}
.page-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
}
.page-hero__content {
  position: relative;
  z-index: 2;
  padding: var(--sp-2xl) var(--sp-xl);
  max-width: 1200px;
  margin-inline: auto;
  width: 100%;
}
.page-hero h1 { color: var(--color-bg); font-size: var(--fs-2xl); }
.page-hero .eyebrow { color: rgba(241,245,242,0.75); }

/* ── Canvas hero ───────────────────────────────────────── */
.hero {
  height: 200vh;
  position: relative;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
#heroCanvas,
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-3xl) var(--sp-2xl) var(--sp-2xl);
  background: linear-gradient(
    to top,
    rgba(13, 35, 32, 0.82) 0%,
    rgba(13, 35, 32, 0.58) 35%,
    rgba(13, 35, 32, 0.22) 65%,
    transparent 100%
  );
}
.hero-eyebrow {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(241,245,242,0.80);
  margin-bottom: var(--sp-sm);
}
.hero-title {
  font-size: var(--fs-3xl); /* token step 80px at 1440px — valid scale (ok) */
  color: #F1F5F2;
  line-height: 1.1;
  max-width: 680px;
  margin-bottom: var(--sp-md);
}
.hero-tagline {
  font-size: var(--fs-lg);
  color: rgba(241,245,242,0.85);
  max-width: 560px;
  margin-bottom: var(--sp-xl);
  line-height: 1.6;
}
.hero-scroll-cue {
  position: absolute;
  bottom: var(--sp-xl);
  right: var(--sp-xl);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(241,245,242,0.70);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0,0,0,.9), 0 2px 10px rgba(0,0,0,.7); /* scrim (ok) */
}
.scroll-bar {
  width: 1px;
  height: 40px;
  background: rgba(241,245,242,0.4);
  position: relative;
  overflow: hidden;
}
.scroll-bar::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(241,245,242,0.8);
  animation: scrollDrop 1.8s ease-in-out infinite;
}
@keyframes scrollDrop {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ── Body offset ───────────────────────────────────────── */
.body-offset { padding-top: 64px; } /* non-hero pages */

/* ── Scroll reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Section header ────────────────────────────────────── */
.section-header { margin-bottom: var(--sp-2xl); }
.section-header.centered { text-align: center; }

/* ── Porthole gallery ──────────────────────────────────── */
.porthole-track {
  display: flex;
  gap: var(--sp-xl);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--sp-md);
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgba(28,104,104,0.3) transparent;
}
.porthole-track:active { cursor: grabbing; }
.porthole-tile {
  flex: 0 0 auto;
  width: clamp(220px, 30vw, 320px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  scroll-snap-align: center;
  position: relative;
  box-shadow: 0 8px 32px rgba(28,104,104,0.22);
  border: 3px solid rgba(28,104,104,0.20);
  flex-shrink: 0;
}
.porthole-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.porthole-tile:hover img { transform: scale(1.05); }

/* ── Treatment cards ───────────────────────────────────── */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-xl);
}
.treatment-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(28,104,104,0.08);
  display: flex;
  flex-direction: column;
}
.treatment-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.treatment-card__img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #d4e0da 0%, #c5d5d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.treatment-card__body {
  padding: var(--sp-lg) var(--sp-lg) var(--sp-xl);
  flex: 1;
}
.treatment-card__body h3 {
  font-size: var(--fs-lg);
  color: var(--color-brand);
  margin-bottom: var(--sp-sm);
}
.treatment-card__body p {
  font-size: var(--fs-sm);
  color: var(--color-ink);
  line-height: 1.7;
}

/* ── Conditions grid ───────────────────────────────────── */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-lg);
}
.condition-card {
  padding: var(--sp-lg);
  border-left: 3px solid var(--color-brand);
  background: #fff;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 2px 10px rgba(28,104,104,0.07);
}
.condition-card h3 {
  font-size: var(--fs-base);
  color: var(--color-brand);
  margin-bottom: var(--sp-xs);
  font-weight: 700;
}
.condition-card p {
  font-size: var(--fs-sm);
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── Info card (stats-style) ───────────────────────────── */
.info-card {
  padding: var(--sp-xl);
  background: rgba(28,104,104,0.06);
  border-radius: 6px;
  border-top: 3px solid var(--color-brand);
}
.info-card h4 { color: var(--color-brand); margin-bottom: var(--sp-sm); }

/* ── Two-column split ──────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(28,104,104,0.15);
}
@media (max-width: 700px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse { direction: ltr; }
}

/* ── FAQ cards ─────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-xl);
}
.faq-card {
  background: #fff;
  border-radius: 6px;
  padding: var(--sp-xl);
  box-shadow: 0 2px 12px rgba(28,104,104,0.08);
  border-top: 3px solid var(--color-brand);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}
.faq-card__num {
  font-size: var(--fs-2xl);
  font-weight: 900;
  color: rgba(28,104,104,0.14);
  line-height: 1;
  font-family: 'Lato', sans-serif;
}
.faq-card h3 {
  font-size: var(--fs-base);
  color: var(--color-brand);
  font-weight: 700;
  line-height: 1.35;
}
.faq-card p {
  font-size: var(--fs-sm);
  color: var(--color-ink);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── Fee table ─────────────────────────────────────────── */
.fee-table {
  width: 100%;
  border-collapse: collapse;
}
.fee-table th {
  text-align: left;
  padding: var(--sp-sm) var(--sp-lg);
  background: var(--color-brand);
  color: var(--color-bg);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fee-table td {
  padding: var(--sp-md) var(--sp-lg);
  border-bottom: 1px solid rgba(28,104,104,0.10);
  font-size: var(--fs-sm);
  vertical-align: top;
}
.fee-table tr:nth-child(even) td { background: rgba(28,104,104,0.04); }
.fee-table tr:last-child td { border-bottom: none; }
.fee-table .service-name { font-weight: 700; color: var(--color-brand); }
.fee-table .service-duration {
  color: var(--color-muted);
  font-size: var(--fs-xs);
  display: block;
  margin-top: 2px;
}
.fee-note {
  margin-top: var(--sp-lg);
  padding: var(--sp-lg);
  background: #EBE9E4; /* opaque equiv of rgba(162,75,42,0.07)@#F1F5F2 — QC-readable (ok) */
  border-left: 3px solid var(--color-accent);
  border-radius: 0 4px 4px 0;
  font-size: var(--fs-sm);
  color: var(--color-ink);
}
.fee-note a {
  color: var(--color-ink); /* explicit: prevents inline overrides losing contrast (ok) */
  text-decoration: underline;
}

/* ── Contact grid ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: start;
}
.contact-block { display: flex; flex-direction: column; gap: var(--sp-lg); }
.contact-item { display: flex; flex-direction: column; gap: 4px; }
.contact-item__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.contact-item__value {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-brand);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-item__value:hover { color: var(--color-accent); }
.contact-item__note {
  font-size: var(--fs-xs);
  color: var(--color-muted);
  margin-top: 2px;
}
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── Hours table ───────────────────────────────────────── */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: var(--sp-xs) 0;
  font-size: var(--fs-sm);
  border-bottom: 1px solid rgba(28,104,104,0.10);
}
.hours-table td:first-child { font-weight: 700; color: var(--color-brand); padding-right: var(--sp-lg); }
.hours-table td:last-child { text-align: right; color: var(--color-ink); }
.hours-table tr:last-child td { border-bottom: none; }

/* ── Clinic image ──────────────────────────────────────── */
.clinic-img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 32px rgba(28,104,104,0.15);
}

/* ── Quote block ───────────────────────────────────────── */
.pull-quote {
  padding: var(--sp-xl) var(--sp-2xl);
  border-left: 4px solid var(--color-accent);
  background: #E4EDEA; /* opaque equiv of rgba(28,104,104,0.06)@#F1F5F2 — QC-readable (ok) */
  border-radius: 0 6px 6px 0;
  margin-block: var(--sp-xl);
}
.pull-quote p {
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--color-ink); /* dark ink — visible on any light background (ok) */
  line-height: 1.6;
  margin-bottom: var(--sp-sm);
}
.pull-quote cite {
  font-size: var(--fs-sm);
  color: var(--color-muted);
  font-style: normal;
  font-weight: 700;
}

/* ── Moxi season cards ─────────────────────────────────── */
.season-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
}
@media (max-width: 600px) { .season-grid { grid-template-columns: 1fr; } }
.season-card {
  padding: var(--sp-xl);
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(28,104,104,0.08);
}
.season-card--winter { background: linear-gradient(135deg, #1C6868 0%, #145454 100%); color: var(--color-bg); }
.season-card--winter h3 { color: #F1F5F2; }
.season-card--summer { background: linear-gradient(135deg, #A24B2A 0%, #873d22 100%); color: var(--color-bg); }
.season-card--summer h3 { color: #F1F5F2; }
.season-card p { color: rgba(241,245,242,0.88); margin-bottom: 0; }

/* ── Mosaic / side image ───────────────────────────────── */
.image-right {
  float: right;
  width: 45%;
  margin: 0 0 var(--sp-xl) var(--sp-xl);
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  box-shadow: 0 8px 32px rgba(28,104,104,0.15);
}
@media (max-width: 600px) {
  .image-right { float: none; width: 100%; margin: 0 0 var(--sp-xl); aspect-ratio: 4 / 3; }
}

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--color-ink);
  color: rgba(241,245,242,0.75);
  padding: var(--sp-3xl) 0 var(--sp-xl);
}
.footer-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
  border-bottom: 1px solid rgba(241,245,242,0.10);
  margin-bottom: var(--sp-xl);
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-xl); }
}
.footer-brand { display: flex; flex-direction: column; gap: var(--sp-md); }
.footer-logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  backdrop-filter: blur(8px) saturate(180%);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.20);
}
.footer-logo {
  width: 52px;
  height: 52px; /* explicit height 24–96px (ok) */
  object-fit: contain;
  display: block;
}
.footer-name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: rgba(241,245,242,0.90);
  line-height: 1.4;
}
.footer-tagline {
  font-size: var(--fs-xs);
  color: rgba(241,245,242,0.50);
  line-height: 1.5;
}
.footer-col h4 {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(241,245,242,0.50);
  margin-bottom: var(--sp-md);
}
.footer-nav { display: flex; flex-direction: column; gap: 2px; }
.footer-nav-link {
  display: flex;
  align-items: center;
  min-height: 36px;
  font-size: var(--fs-sm);
  color: rgba(241,245,242,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav-link:hover { color: #F1F5F2; }
.footer-contact-link {
  display: block;
  font-size: var(--fs-sm);
  color: rgba(241,245,242,0.75);
  text-decoration: none;
  margin-bottom: var(--sp-xs);
  transition: color 0.2s;
}
.footer-contact-link:hover { color: #F1F5F2; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  font-size: var(--fs-xs);
  color: rgba(241,245,242,0.40);
}
.footer-book-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 22px;
  background: var(--color-accent);
  color: #F1F5F2;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.2s;
}
.footer-book-cta:hover { background: #8C3E22; }

/* ── Badge strip ───────────────────────────────────────── */
.badge-strip {
  display: flex;
  gap: var(--sp-lg);
  flex-wrap: wrap;
  margin-top: var(--sp-lg);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  text-transform: uppercase;
}
.badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-brand);
  flex-shrink: 0;
}

/* ── Responsive nav hide ───────────────────────────────── */
@media (max-width: 1100px) {
  .nav-link.hide-md { display: none; }
}

/* ── Small mobile ─────────────────────────────────────── */
@media (max-width: 480px) {
  .hero-scrim-wrap { padding: var(--sp-2xl) var(--sp-lg) var(--sp-lg); }
  .container { padding-inline: var(--sp-lg); }
}
