/* ============================================================
   STRUCTURE & LAYOUT — rarely edited. Appearance lives in tokens.css.
   ============================================================ */

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; background: var(--paper-alt); }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: calc(var(--text-base) * var(--text-scale) * var(--text-scale) * var(--text-scale)); }
h2 { font-size: calc(var(--text-base) * var(--text-scale) * var(--text-scale)); }
h3 { font-size: calc(var(--text-base) * var(--text-scale)); }

a { color: var(--brand); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 0.75rem;
}

/* ---- Promo bar ---- */
.promo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space);
  background: var(--brand);
  color: var(--brand-ink);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.95rem;
}
.promo-bar p { margin: 0; }
.promo-bar a { color: inherit; font-weight: 600; }
.promo-bar__close {
  background: none; border: 0; cursor: pointer;
  font-size: 1.25rem; line-height: 1; color: inherit;
}
.promo-bar[hidden] { display: none; }

/* ---- Header & nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 600;
  color: var(--ink); text-decoration: none;
}
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 1.75rem); }
.site-nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem;
}
.site-nav a:hover { color: var(--brand); }

.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: 0.5rem; cursor: pointer;
  }
  .nav-toggle__bar { width: 22px; height: 2px; background: var(--ink); }
  .site-nav {
    display: none;
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: flex-start;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem clamp(1rem, 4vw, 2rem) 1.5rem;
  }
  .site-nav.is-open { display: flex; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: min(82vh, 720px);
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
}
.hero__media, .hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: var(--hero-overlay);
}
.hero__content { position: relative; z-index: 1; padding-block: 4rem; }
.hero__tagline { font-size: 1.2rem; max-width: 40ch; margin-inline: auto; }
.hero__actions {
  display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 600;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn--ghost {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 2px currentColor;
}
.btn--small { padding: 0.5rem 1rem; font-size: 0.9rem; }

/* ---- Sections ---- */
.section { padding-block: var(--section-pad); }
.section--alt { background: var(--paper-alt); }
.section__narrow { max-width: 680px; }
.section--cta {
  background: var(--night);
  color: var(--night-ink);
  text-align: center;
}

/* ---- Cards ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card h3 { margin: 1rem 1.25rem 0.25rem; }
.card p { margin: 0 1.25rem 1.25rem; color: var(--ink-muted); }

/* ---- Gallery ---- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}
.gallery img {
  aspect-ratio: 1; object-fit: cover; width: 100%;
  border-radius: var(--radius);
}

/* ---- Testimonials ---- */
.quotes { display: grid; gap: 1.5rem; margin-top: 2rem; }
.quotes blockquote {
  margin: 0;
  padding: 1.5rem;
  background: var(--paper);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.quotes p { margin: 0 0 0.5rem; font-size: 1.05rem; }
.quotes cite { color: var(--ink-muted); font-style: normal; font-size: 0.9rem; }

/* ---- Visit / map ---- */
.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 820px) { .visit { grid-template-columns: 1fr; } }
.hours { margin: 1.25rem 0; }
.hours div {
  display: flex; justify-content: space-between;
  max-width: 320px;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--line);
}
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--ink-muted); }
address { font-style: normal; line-height: 1.8; }
.visit__map iframe {
  width: 100%; aspect-ratio: 4 / 3; border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--night);
  color: var(--night-ink);
  padding-block: 2.5rem;
  font-size: 0.9rem;
}
.site-footer__inner {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
}
.site-footer a { color: inherit; }
.site-footer p { margin: 0; }
.socials { display: flex; gap: 1rem; }
.credit { opacity: 0.6; }
