/* base.css — reset + shell styling (header, nav, footer, hero, sections).
 * Consumes tokens.css. Component-level polish arrives in later tasks. */

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-300);
  /* Brand spec: Montserrat Light for running text. Emphasis/UI steps up to
     Medium (500) at its own call sites. */
  font-weight: var(--fw-light);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

/* Scroll lock while the mobile nav drawer is open (toggled by src/js/nav.js). */
body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--display);
  /* Brand spec: headings are Montserrat Medium. Montserrat carries far more
     colour than the Cormorant it replaced, so 500 (not 600) plus a touch of
     negative tracking keeps the pages quiet and luxury rather than shouty. */
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-4);
}

/* Small headings sit at optical sizes where negative tracking closes up; ease
   it back to neutral. */
h4,
h5,
h6 {
  letter-spacing: var(--ls-tight);
}

p {
  margin: 0 0 var(--space-4);
}

/* ── Buttons ──
 * Elevation Move 6: the primary "Book Now" stays a confident gold fill (the one
 * loud action) but reads luxury via wide 0.15em tracking and a slow, restrained
 * hover — the fill deepens and a hairline gold ring is drawn just off the edge,
 * rather than a bounce/lift. */
.btn {
  display: inline-block;
  position: relative;
  font-family: var(--sans);
  font-size: var(--fs-200);
  font-weight: var(--fw-medium);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.btn--gold {
  background: var(--gold);
  color: var(--paper);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 1px var(--paper), 0 0 0 2px var(--gold-deep);
}

/* ── Header / nav ── lives in nav.css (responsive dropdown + mobile drawer). ── */

/* ── Hero ── */
.hero {
  position: relative;
}

.hero__img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-7) var(--space-5);
  background: linear-gradient(to top, rgba(6, 23, 28, 0.6), transparent);
  color: var(--paper);
  text-align: center;
}

.hero__eyebrow {
  font-family: var(--script);
  font-size: var(--fs-500);
  color: var(--gold-light);
  margin: 0 0 var(--space-2);
}

.hero__subhead {
  font-family: var(--serif);
  font-size: var(--fs-600);
  margin: 0;
}

/* ── Page + sections ── */
.page {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-8) var(--space-5);
}

.page__title {
  font-size: var(--fs-800);
  text-align: center;
  margin-bottom: var(--space-7);
}

.section {
  margin-bottom: var(--space-8);
}

.section__heading {
  font-size: var(--fs-600);
  text-align: center;
  margin-bottom: var(--space-5);
}

.prose {
  font-size: var(--fs-400);
  color: var(--ink-soft);
}

/* ── Price list ── */
.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 560px;
  margin-inline: auto;
}

.price-list__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}

.price-list__name {
  font-family: var(--serif);
  font-size: var(--fs-400);
}

.price-list__price {
  font-weight: var(--fw-semibold);
  color: var(--gold-deep);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ── CTA section ── */
.section--cta {
  text-align: center;
}

/* ── Footer ── */
.site-footer {
  background: var(--ocean-deep);
  color: var(--sand);
  padding: var(--space-8) var(--space-5) var(--space-6);
}

.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer__heading {
  font-family: var(--sans);
  font-size: var(--fs-200);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-4);
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.footer__col a {
  color: var(--sand);
  transition: color var(--dur-fast) var(--ease);
}

.footer__col a:hover {
  color: var(--gold-light);
}

.footer__hours li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--fs-200);
}

.footer__social {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-3);
}

.site-footer__legal {
  max-width: var(--container);
  margin: var(--space-7) auto 0;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-100);
  text-align: center;
  color: rgba(250, 246, 238, 0.6);
}

