/* ==========================================================================
   The South Shore Cocktail Club site styles ("Green Room", option F)
   Palette per the SSCC Brand Book + Web Content & Spec, laid as full-color
   bands: cream, bottle, plum, espresso; NOSH on cascade.
   Type:   Display: Fraunces (opsz 144, weight 500; italic 400 for emphasis)
           Body:    Instrument Sans
   Every band sets a few custom properties (--fg, --fg-soft, --accent, --line,
   --btn-line), so each component reads correctly on any ground.
   ========================================================================== */

:root {
  --plum: #533640;
  --bottle: #324038;
  --cascade: #ACB19F;
  --cream: #F0E1D0;
  --cream-soft: #F6EDDE;
  --dovetail: #908A83;
  --espresso: #2A211C;
  --espresso-deep: #211A15;
  --brass: #A9812F;
  --brass-deep: #7C5E1F;   /* brass-family text on light grounds (contrast) */
  --brass-bright: #D0A952; /* brass-family text on dark grounds (contrast) */
  --ink-soft: #6B635A;     /* muted text on cream; dovetail is too light */

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --pad-section: clamp(4.5rem, 9vw, 8rem);
  --header-h: 4.75rem;

  /* Light ground (the default). */
  --fg: var(--espresso);
  --fg-soft: var(--ink-soft);
  --accent: var(--brass-deep);
  --line: rgba(42, 33, 28, 0.16);
  --btn-line: var(--brass);
  --btn-hover: rgba(169, 129, 47, 0.12);
}

/* ---------- Reset-ish ---------- */

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

/* The hidden attribute is not honored on SVG elements; the icon sprite relies on it. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--espresso);
  background: var(--cream);
}

/* Images never get containers or chrome (BRAND.md component guard). */
img { max-width: 100%; height: auto; display: block; border: 0; border-radius: 0; box-shadow: none; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144, "SOFT" 0;
  text-wrap: balance;
}
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--accent); }
h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
h3 { font-size: 1.65rem; line-height: 1.15; }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--fg); }

:focus-visible { outline: 2px solid var(--brass-bright); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--espresso); color: var(--cream);
  padding: 0.7rem 1.2rem; font-weight: 600;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Type helpers ---------- */

.eyebrow {
  font: 600 0.72rem/1.4 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.25rem;
}

.lede { font-size: 1.125rem; max-width: 40rem; }
.note { color: var(--fg-soft); font-size: 0.9rem; margin-top: 1.25rem; }

/* ---------- Bands ---------- */

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 46rem; margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

.section { padding-block: var(--pad-section); color: var(--fg); }
.section-soft { background: var(--cream-soft); }

.section-dark, .section-bottle, .section-plum, .hero, .site-footer {
  --fg: var(--cream);
  --fg-soft: var(--cascade);
  --accent: var(--brass-bright);
  --line: rgba(240, 225, 208, 0.18);
  --btn-line: var(--cream);
  --btn-hover: rgba(240, 225, 208, 0.12);
  color: var(--fg);
}
.section-dark { background: var(--espresso); }
.section-bottle { background: var(--bottle); }
.section-plum { background: var(--plum); }
.section-cascade {
  --fg-soft: var(--espresso);
  --accent: var(--espresso);
  --line: rgba(42, 33, 28, 0.3);
  --btn-line: var(--espresso);
  background: var(--cascade);
}

/* Neighbors on the same ground read as one band. */
.section-bottle:has(+ .section-bottle),
.section-plum:has(+ .section-plum),
.section-dark:has(+ .section-dark),
.section-soft:has(+ .section-soft),
.section-cascade:has(+ .section-cascade) { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-bottle + .section-bottle,
.section-plum + .section-plum,
.section-dark + .section-dark,
.section-soft + .section-soft,
.section-cascade + .section-cascade { padding-top: 0; }

/* A page that opens without a hero still clears the fixed header. */
main > .section:first-child { padding-top: calc(var(--pad-section) + var(--header-h)); }

/* The ruled "01 / THE BAR / GROUND FLOOR" row that opens a section. */
.sec-head { display: flex; align-items: baseline; gap: 1.25rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head .num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--accent); }
.sec-head .meta {
  flex: 1; display: flex; justify-content: space-between; gap: 1rem;
  border-bottom: 1px solid var(--line); padding-bottom: 0.9rem; margin: 0;
  font: 600 0.7rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-soft);
}

.wide { aspect-ratio: 21 / 9; overflow: hidden; margin-top: clamp(2.5rem, 5vw, 4rem); }
.wide img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.grid-2 h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1.25rem; }
@media (max-width: 47.9em) { .grid-2 { grid-template-columns: 1fr; } }

/* Divider: brass hairlines flanking a botanical sprig */
.divider {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
  margin-block: clamp(2.5rem, 5vw, 4rem) 0;
  max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--brass); opacity: 0.55; }
.divider img { width: 56px; opacity: 0.9; }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  border: 1px solid var(--btn-line); border-radius: 0;
  font: 600 0.74rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  color: var(--fg); background: transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn .arr { transition: transform 0.2s; }
.btn:hover { background: var(--btn-hover); color: var(--fg); }
.btn:hover .arr { transform: translateX(3px); }
.btn-solid, .btn-solid:hover { background: var(--brass); border-color: var(--brass); color: var(--espresso-deep); }
.btn-solid:hover { background: var(--brass-bright); border-color: var(--brass-bright); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.btn-row.center { justify-content: center; }

.text-link {
  display: inline-block; margin-top: 1.1rem; padding-bottom: 0.35rem;
  font: 600 0.72rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor;
}

/* ---------- Header / nav ---------- */

/* Solid cream by default. On pages that open on a photograph or a dark band
   (body[data-nav="over"]) it starts clear with cream type and turns solid once
   the page scrolls; the script in src/shell.html adds .solid. */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(240, 225, 208, 0.96);
  color: var(--espresso);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.js body[data-nav="over"] .site-header:not(.solid) {
  --btn-line: var(--cream);
  --btn-hover: rgba(240, 225, 208, 0.12);
  background: transparent; color: var(--cream); box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}

.nav-bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 1.1rem var(--gutter);
}

.brand { display: block; line-height: 1; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.brand b {
  display: block;
  font: 500 1.15rem/1 var(--serif); letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144, "SOFT" 0;
}
.brand small {
  display: block; margin-top: 0.3rem;
  font: 600 0.56rem/1 var(--sans); letter-spacing: 0.34em; text-transform: uppercase;
}
.nav-logo { justify-self: start; }

.nav-menu { display: contents; }
.nav-links { display: flex; gap: 2.2rem; justify-self: center; margin: 0; padding: 0; list-style: none; }
.nav-links li { position: relative; }
.nav-link {
  display: inline-block; padding: 0.4rem 0;
  font: 600 0.72rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; color: inherit;
}
.nav-link:hover, .nav-link.active {
  color: inherit;
  text-decoration: underline; text-underline-offset: 0.5em; text-decoration-color: var(--brass);
}
.nav-link small {
  display: block; margin-top: 0.3rem;
  font: 500 0.68rem/1.3 var(--sans); letter-spacing: 0.04em; text-transform: none;
  color: var(--ink-soft);
}
.nav-links .sub {
  display: none;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 13rem; margin: 0; padding: 0.6rem 0; list-style: none; text-align: center;
  background: var(--cream); color: var(--espresso);
  border-top: 1px solid var(--brass);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}
.nav-links li:hover > .sub, .nav-links li:focus-within > .sub { display: block; }
.nav-links .sub .nav-link { display: block; padding: 0.65rem 1.25rem; white-space: nowrap; }

.nav-cta { justify-self: end; }
.nav-book { padding: 0.8rem 1.25rem; font-size: 0.7rem; color: inherit; }
.nav-book:hover { color: inherit; }

.nav-toggle {
  display: none; justify-self: end;
  background: none; border: 1px solid currentColor; border-radius: 0; color: inherit;
  padding: 0.6rem 0.9rem;
  font: 600 0.7rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 56.25em) {
  .nav-bar { grid-template-columns: 1fr auto; }
  .nav-toggle { display: inline-block; }
  .nav-menu { display: none; }
  .site-header.open .nav-menu {
    display: block;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); color: var(--espresso);
    padding: 0.5rem var(--gutter) 1.25rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }
  .nav-links { flex-direction: column; gap: 0; justify-self: stretch; }
  .nav-link { display: block; padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
  .nav-links .sub, .nav-links li:hover > .sub {
    display: block; position: static; transform: none;
    min-width: 0; padding: 0 0 0 1.25rem; text-align: left;
    background: transparent; border-top: 0; box-shadow: none;
  }
  .nav-links .sub .nav-link { padding: 0.95rem 0; white-space: normal; }
  /* The fixed bar at the bottom of the screen carries Book Now on phones. */
  .nav-cta { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: end;
  min-height: 72svh;
  background: var(--espresso);
}
.hero-photo { min-height: 100svh; }
.hero .hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
}
/* A scrim so the headline reads over the photograph (not a brand gradient). */
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgba(42, 33, 28, 0.5) 0%, rgba(42, 33, 28, 0.1) 35%,
    rgba(42, 33, 28, 0.4) 60%, rgba(42, 33, 28, 0.92) 100%);
}
.hero .wrap { width: 100%; padding-block: 9rem 5rem; }
.hero .eyebrow { color: var(--cream); }
.hero h1 { max-width: 14ch; }
.hero .lede { margin-top: 1.5rem; max-width: 34rem; }
.hero-cue {
  position: absolute; right: var(--gutter); bottom: 4.5rem; margin: 0;
  writing-mode: vertical-rl;
  font: 600 0.62rem/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--cream);
}
@media (max-width: 43.75em) { .hero-cue { display: none; } }

/* Interior page hero: a full-color band under the header. */
.page-hero { padding-block: clamp(8.5rem, 16vw, 12rem) clamp(3.5rem, 7vw, 5.5rem); color: var(--fg); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 16ch; }
.page-hero .lede { margin-top: 1.5rem; }
.page-hero .features { margin-top: 2rem; }

/* ---------- NOSH ---------- */

.nosh-word {
  font: 700 clamp(2.6rem, 8vw, 6rem)/1 var(--sans);
  letter-spacing: 0.3em; text-transform: uppercase;
  margin: 0 -0.3em 0 0;
}
.nosh-hero .eyebrow { margin-bottom: 1.5rem; }
.nosh-hero .nosh-word { font-variation-settings: normal; max-width: none; margin-bottom: 1rem; }
.nosh-hero .lede {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25;
  font-variation-settings: "opsz" 144, "SOFT" 0;
  max-width: 30ch; margin-top: 0;
}
.nosh-hours { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 3rem 0 0; }
.nosh-hours div { border: 1px solid var(--espresso); padding: 1.5rem 1.6rem; }
.nosh-hours dt {
  font: 600 0.68rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.nosh-hours dd {
  margin: 0;
  font-family: var(--serif); font-size: 1.5rem; line-height: 1.2;
  font-variation-settings: "opsz" 72, "SOFT" 0;
}
@media (max-width: 37.5em) { .nosh-hours { grid-template-columns: 1fr; } }

/* The NOSH block on the bar pages: a cream slab on the dark band. */
.nosh-call {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(1.75rem, 4vw, 3rem);
  border-block: 1px solid var(--line);
}
.section-dark .nosh-call, .section-bottle .nosh-call, .section-plum .nosh-call {
  --fg: var(--espresso);
  --fg-soft: var(--ink-soft);
  --accent: var(--brass-deep);
  --btn-line: var(--brass);
  --btn-hover: rgba(169, 129, 47, 0.12);
  padding-inline: clamp(1.75rem, 4vw, 3rem);
  border: 0; background: var(--cream); color: var(--fg);
}
.nosh-call .nosh-word { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--accent); }
.nosh-call .eyebrow { margin-bottom: 0.5rem; }
.nosh-call p { color: var(--fg-soft); max-width: 34rem; }
.nosh-call .hrs {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-top: 0.9rem;
  font: 600 0.7rem/1.6 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg);
}
.nosh-call .hrs b { color: var(--accent); }
@media (max-width: 51.25em) { .nosh-call { grid-template-columns: 1fr; } }

/* ---------- Section opener (statement) ---------- */

.statement { max-width: 54rem; }
.statement-body { margin-top: 1.5rem; max-width: 40rem; font-size: 1.1rem; }
.statement.split {
  max-width: none;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: end;
}
.statement.split .statement-body { margin-top: 0; font-size: 1.0625rem; color: var(--fg-soft); max-width: 30rem; }
@media (max-width: 47.5em) { .statement.split { grid-template-columns: 1fr; } }

/* ---------- Concept + photo mosaic ---------- */

.intro { text-align: center; }
.intro .mark { width: 44px; margin: 0 auto 1.5rem; }
.intro h2 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); }
.intro .lede { margin: 1.75rem auto 0; max-width: 44rem; }
.intro .sec-head { text-align: left; }

.mosaic { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0.75rem; margin-top: 4rem; }
.mosaic figure, .mosaic-row figure { position: relative; margin: 0; overflow: hidden; }
.mosaic img, .mosaic-row img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figure:first-child { grid-row: 1 / 3; }
.mosaic figure:first-child img { aspect-ratio: 4 / 5; }
.mosaic figure:not(:first-child) img { aspect-ratio: 4 / 3; }
.mosaic-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-top: 0.75rem; }
.mosaic-row img { aspect-ratio: 3 / 4; }
.mosaic figcaption, .mosaic-row figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  padding: 0.5rem 0.7rem;
  font: 600 0.66rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream); background: var(--espresso);
}
@media (max-width: 47.5em) {
  .mosaic { grid-template-columns: 1fr; margin-top: 3rem; }
  .mosaic figure:first-child { grid-row: auto; }
  .mosaic figure:first-child img { aspect-ratio: 4 / 3; }
  .mosaic-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic-row figure:nth-child(odd):last-child { grid-column: 1 / -1; }
  .mosaic-row figure:nth-child(odd):last-child img { aspect-ratio: 3 / 2; }
}

/* ---------- Menus ---------- */

.menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 6vw, 5rem); }
.menu-single { display: block; }
.menu h3 { font-size: 1.6rem; }
.menu-sub {
  font: 600 0.7rem/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin: 0.7rem 0 1.5rem;
}
.menu-items { list-style: none; margin: 0; padding: 0; }
.menu-single .menu-items { columns: 2; column-gap: clamp(2.5rem, 6vw, 5rem); }
.item { padding: 1.15rem 0; border-top: 1px solid var(--line); break-inside: avoid; }
.item .row { display: flex; align-items: baseline; gap: 0.75rem; }
.item .name {
  font-family: var(--serif); font-weight: 500; font-size: 1.25rem; line-height: 1.2;
  font-variation-settings: "opsz" 48, "SOFT" 0;
}
.item .dots { flex: 1; min-width: 1rem; border-bottom: 1px dotted var(--fg-soft); transform: translateY(-0.35em); }
.item .price {
  font: 600 0.82rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); white-space: nowrap;
}
.item .desc { margin: 0.4rem 0 0; font-size: 0.92rem; color: var(--fg-soft); }
.menu-note { margin: 2.5rem 0 0; font-size: 0.88rem; color: var(--fg-soft); max-width: 44rem; }
.menu-section .menu-note { margin-top: 1.25rem; }
.menu-section:not(:has(.menu-items)) .menu-note { margin-top: 0; }
@media (max-width: 47.5em) {
  .menu { grid-template-columns: 1fr; }
  .menu-single .menu-items { columns: 1; }
}

/* ---------- Hours ---------- */

.hours-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem;
  margin: 0; padding-top: 2.5rem; border-top: 1px solid var(--line);
}
.hours-grid dt {
  font: 600 0.68rem/1.3 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.6rem;
}
.hours-grid dd { margin: 0; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.hours-grid + .menu-note { margin-top: 1.5rem; }
@media (max-width: 47.5em) { .hours-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Rooms ---------- */

.room-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem) clamp(1.25rem, 2.5vw, 2.5rem);
}
.room-grid:has(> .room:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
h2 + .room-grid { margin-top: clamp(2rem, 4vw, 3rem); }
.room { display: flex; flex-direction: column; }
.room img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 1.5rem; }
.room .kicker {
  font: 600 0.68rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 0.6rem;
}
.room .kicker.garden { align-self: flex-start; padding: 0.45rem 0.7rem; color: var(--bottle); background: var(--cascade); }
.room h3 { margin-bottom: 0.6rem; }
.room p { color: var(--fg-soft); font-size: 0.95rem; max-width: 34rem; }
.room-features {
  list-style: none; margin: 1rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem;
  font-size: 0.85rem;
}
.room-features li { flex: 1 1 auto; padding: 0.45rem 0; border-top: 1px solid var(--brass); }
@media (max-width: 56.25em) { .room-grid:has(> .room:nth-child(3):last-child) { grid-template-columns: 1fr; } }
@media (max-width: 35em) { .room-grid { grid-template-columns: 1fr; } }

.checkin-section .wrap > .eyebrow, .checkin-section .wrap > h2 { text-align: center; }
.quote { margin: 0 auto; max-width: 40rem; text-align: center; }
h2 + .quote { margin-top: 2.5rem; }
.quote p {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35;
  font-variation-settings: "opsz" 72, "SOFT" 0;
}
.checkin {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem;
  margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line);
}
.checkin .btn-row { margin-top: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 0.75rem 2.25rem; margin: 0; }
.facts div { display: flex; flex-direction: column-reverse; }
.facts dt {
  font: 600 0.7rem/1.5 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-soft);
}
.facts dd {
  margin: 0;
  font-family: var(--serif); font-weight: 500; font-size: 1.4rem; line-height: 1.3;
  font-variation-settings: "opsz" 48, "SOFT" 0;
}

.config-list { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.config-list > li { padding: 1rem 0; border-top: 1px solid var(--line); }
.config-list > li:last-child { border-bottom: 1px solid var(--line); }
.config-list .cfg-name { font-weight: 600; display: block; }

/* Feature chips (icon + label) */
.features { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.features li { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.95rem; }
.features .icon { color: var(--accent); }
.config-list .features { margin-top: 0.6rem; }

.icon { display: inline-block; width: 1.35em; height: 1.35em; flex: none; }
.icon svg {
  width: 100%; height: 100%; display: block;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.amenities {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 0 2rem;
  list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0;
}
.amenities li { display: flex; align-items: center; gap: 0.8rem; padding-block: 0.9rem; border-top: 1px solid var(--line); }
.amenities .icon { width: 1.5em; height: 1.5em; color: var(--accent); }

/* ---------- Story: photograph, years, people ---------- */

.club { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.club.flip .pic { order: 2; }
.club .pic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 30%; }
.club h2 { margin-bottom: 1.5rem; }
.club p { color: var(--fg-soft); }
.tl { list-style: none; margin: 2rem 0; padding: 0; }
.tl li {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.25rem; align-items: baseline;
  padding: 0.9rem 0; border-top: 1px solid var(--line);
  color: var(--fg-soft); font-size: 0.95rem;
}
.tl li:last-child { border-bottom: 1px solid var(--line); }
.tl .year {
  font: italic 400 1.8rem/1 var(--serif); color: var(--accent);
  font-variation-settings: "opsz" 72, "SOFT" 0;
}
.owners { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.owners h3 { font-size: 1.3rem; margin-bottom: 0.3rem; font-variation-settings: "opsz" 48, "SOFT" 0; }
.owners p { font-size: 0.92rem; }
@media (max-width: 51.25em) {
  .club { grid-template-columns: 1fr; }
  .club .pic { max-width: 26rem; }
  .club.flip .pic { order: 0; }
}
@media (max-width: 35em) { .owners { grid-template-columns: 1fr; } }

/* ---------- Event band ---------- */

.event-band { padding-block: clamp(3rem, 6vw, 5rem); }
.event { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.event .eyebrow { margin-bottom: 0.75rem; }
.event h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.event p { margin-top: 0.75rem; max-width: 34rem; }
@media (max-width: 47.5em) { .event { grid-template-columns: 1fr; } }

/* ---------- Text and a ruled list beside a picture ---------- */

.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.visit h2 { margin-bottom: 1.5rem; }
.visit p { color: var(--fg-soft); }
.pair-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.pair-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 0; border-top: 1px solid var(--line); font-size: 0.95rem;
}
.pair-list li:last-child { border-bottom: 1px solid var(--line); }
.pair-list span:last-child {
  font-family: var(--serif); font-style: italic; color: var(--accent); text-align: right;
  font-variation-settings: "opsz" 48, "SOFT" 0;
}
.visit-art { position: sticky; top: 6rem; }
.visit-art img { width: 100%; }
.visit-art .chip {
  display: inline-block; margin-top: 1rem; padding: 0.7rem 1.1rem;
  border: 1px solid var(--btn-line);
  font: 600 0.66rem/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
}
.book { margin-top: 2.5rem; padding: 1.75rem; border: 1px solid var(--brass); }
.book .eyebrow { margin-bottom: 0.75rem; }
.book h3 { font-size: 1.8rem; margin-bottom: 0.6rem; }
.book .btn-row { margin-top: 1.25rem; }
.book .note { font-size: 0.88rem; }
@media (max-width: 51.25em) {
  .visit { grid-template-columns: 1fr; }
  .visit-art { position: static; max-width: 28rem; }
}

/* ---------- Text, picture and text ---------- */

.wrap-narrow h2 { margin-bottom: 1.5rem; }
.wrap-narrow h2:last-child { margin-bottom: 0; }

.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.media-split .art img { width: 100%; }
.media-split.flip .art { order: 2; }
.media-split h2 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); margin-bottom: 1.5rem; }
@media (max-width: 51.25em) {
  .media-split { grid-template-columns: 1fr; }
  .media-split.flip .art { order: 0; }
}

/* ---------- Gallery ---------- */

/* Photographs flow down three columns at their own proportions: no frames,
   no cropping, and never a row of identical cards (BRAND.md). */
.photo-grid { columns: 3; column-gap: 0.75rem; }
h2 + .photo-grid, .sec-head + .photo-grid { margin-top: clamp(2rem, 4vw, 3rem); }
.photo-grid figure { margin: 0 0 1.75rem; break-inside: avoid; }
.photo-grid .wide { column-span: all; }
.photo-grid img { width: 100%; }
.photo-grid figcaption {
  margin-top: 0.7rem;
  font: 600 0.68rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
@media (max-width: 56.25em) { .photo-grid { columns: 2; } }
@media (max-width: 35em) { .photo-grid { columns: 1; } }

/* ---------- Contact & Booking ---------- */

.booking-split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
@media (max-width: 51.25em) { .booking-split { grid-template-columns: 1fr; } }
.booking-split h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1.25rem; }

.booking-card {
  --fg: var(--cream);
  --fg-soft: var(--cascade);
  --accent: var(--brass-bright);
  --btn-line: var(--cream);
  --btn-hover: rgba(240, 225, 208, 0.12);
  background: var(--espresso); color: var(--cream);
  padding: clamp(2rem, 4vw, 3rem); text-align: center;
}
.booking-card .mark { width: 72px; margin: 0 auto 1.5rem; }
.checkin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.checkin-grid .slot { border: 1px solid rgba(169, 129, 47, 0.6); padding: 1.2rem 1rem; }
.checkin-grid .slot span {
  font: 600 0.68rem/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass-bright);
}
.checkin-grid .slot strong {
  display: block; margin-top: 0.4rem;
  font-family: var(--serif); font-weight: 500; font-size: 1.5rem;
  font-variation-settings: "opsz" 48, "SOFT" 0;
}

.contact-rows { list-style: none; margin: 0; padding: 0; }
.contact-rows li {
  display: grid; grid-template-columns: 1.35em 6.5rem minmax(0, 1fr); align-items: baseline; gap: 0.3rem 0.9rem;
  padding-block: 0.95rem; border-top: 1px solid var(--line);
}
.contact-rows li:last-child { border-bottom: 1px solid var(--line); }
.contact-rows li > span:last-child { overflow-wrap: anywhere; }
.contact-rows .icon { color: var(--accent); align-self: center; }
.contact-rows .label {
  font: 600 0.7rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
@media (max-width: 35em) {
  .contact-rows li { grid-template-columns: 1.35em minmax(0, 1fr); }
  .contact-rows li > span:last-child { grid-column: 2; }
  .checkin-grid .slot { padding-inline: 0.5rem; }
  .checkin-grid .slot strong { font-size: 1.3rem; white-space: nowrap; }
}

/* ---------- Email list ---------- */

/* The stand-in form, used only while Site settings has no MailerLite embed. */
.signup { display: flex; border: 1px solid var(--brass); margin-top: 1rem; max-width: 22rem; }
.signup input {
  flex: 1; min-width: 0;
  background: none; border: 0; border-radius: 0; color: var(--cream);
  padding: 0.8rem 0.9rem; font: 500 0.9rem var(--sans);
}
.signup input::placeholder { color: var(--cascade); opacity: 1; }
.signup .btn { border: 0; padding: 0.75rem 1.1rem; }
.signup-note { margin-top: 1rem; font-size: 0.9rem; color: var(--cascade); }

/* ---------- Mobile booking bar ---------- */

/* On phones the header button sits behind the menu toggle, so a slim fixed
   bar keeps booking one tap away (hidden on the booking page itself). */
.mobile-book { display: none; }
@media (max-width: 56.25em) {
  .mobile-book {
    display: block;
    position: fixed; inset: auto 0 0 0; z-index: 90;
    background: var(--espresso-deep);
    border-top: 1px solid rgba(169, 129, 47, 0.45);
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  }
  .mobile-book .btn { display: flex; justify-content: center; width: 100%; }
  body { padding-bottom: 4.4rem; }
  body[data-page="contact-booking"] .mobile-book { display: none; }
  body[data-page="contact-booking"] { padding-bottom: 0; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--espresso-deep); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.5fr; gap: 2.5rem; }
.site-footer p, .site-footer li, .site-footer address { font-size: 0.92rem; line-height: 1.8; font-style: normal; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-brand .brand { margin-bottom: 0.9rem; }
.footer-head {
  margin: 0 0 1rem;
  font: 600 0.68rem/1.3 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  font-variation-settings: normal;
  color: var(--brass-bright);
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: 0.78rem; color: var(--dovetail);
}
.footer-bottom em {
  font-family: var(--serif); font-size: 1rem; color: var(--cream);
  font-variation-settings: "opsz" 48, "SOFT" 0;
}
@media (max-width: 68.75em) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand, .footer-list { grid-column: 1 / -1; }
}
@media (max-width: 35em) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */

/* Entrance reveals: the script stamps .reveal on section blocks and .in once
   they scroll into view. No-JS and reduced-motion visitors always see content. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0; translate: 0 14px;
    transition: opacity 0.6s ease, translate 0.6s ease;
  }
  .js .reveal.in { opacity: 1; translate: 0 0; }
}

body[data-page="404"] { background: var(--espresso-deep); }

/* ---------- MailerLite embed (form SSCC_Footer), restyled for the footer ---------- */

.ml-form-embedContainer .ml-form-embedWrapper { background: transparent !important; border: 0 !important; padding: 0 !important; margin: 1rem 0 0 !important; max-width: 22rem !important; width: 100% !important; box-shadow: none !important; }
.ml-form-embedContainer .ml-form-embedBody, .ml-form-embedContainer .ml-form-successBody { padding: 0 !important; }
.ml-form-embedContainer .ml-form-embedContent { display: none !important; }
.ml-form-embedContainer .ml-form-horizontalRow { display: flex !important; align-items: stretch !important; gap: 0 !important; margin: 0 !important; border: 1px solid var(--brass); }
.ml-form-embedContainer .ml-form-horizontalRow .ml-input-horizontal, .ml-form-embedContainer .ml-form-horizontalRow .horizontal-fields { flex: 1 1 auto !important; width: auto !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important; }
.ml-form-embedContainer .ml-form-horizontalRow .ml-button-horizontal { flex: 0 0 auto !important; width: auto !important; padding: 0 !important; margin: 0 !important; }
.ml-form-embedContainer input[type=email] { background: transparent !important; border: 0 !important; border-radius: 0 !important; color: var(--cream) !important; padding: 0.8rem 1rem !important; font: 500 0.9rem var(--sans) !important; height: auto !important; width: 100% !important; box-shadow: none !important; margin: 0 !important; }
.ml-form-embedContainer input[type=email]::placeholder { color: var(--cascade) !important; opacity: 1 !important; }
#mlb2-45514904.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody form.ml-block-form button.primary,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody form.ml-block-form button.primary { background-color: var(--brass) !important; color: var(--espresso-deep) !important; border: 0 !important; border-radius: 0 !important; font: 700 0.68rem/1 var(--sans) !important; letter-spacing: 0.18em !important; text-transform: uppercase !important; padding: 0.8rem 1.2rem !important; height: 100% !important; width: auto !important; margin: 0 !important; box-shadow: none !important; cursor: pointer; }
#mlb2-45514904.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody form.ml-block-form button.primary:hover,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody form.ml-block-form button.primary:hover { background-color: var(--brass-bright) !important; }
.ml-form-embedContainer .ml-form-successContent h4, .ml-form-embedContainer .ml-form-successContent p { color: var(--cream) !important; font-family: var(--sans) !important; margin: 0 !important; font-size: 0.92rem !important; text-align: left !important; }
.ml-form-embedContainer .ml-form-successContent h4 { font-family: var(--serif) !important; font-size: 1.25rem !important; margin-bottom: 0.35rem !important; }
.ml-form-embedContainer .ml-form-embedPermissions, .ml-form-embedContainer .ml-form-recaptcha { display: none !important; }
#mlb2-45514904.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody form.ml-block-form .ml-mobileButton-horizontal,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody form.ml-block-form .ml-mobileButton-horizontal { margin: 0.6rem 0 0 !important; padding: 0 !important; }
#mlb2-45514904.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody form.ml-block-form .ml-mobileButton-horizontal button.primary,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody form.ml-block-form .ml-mobileButton-horizontal button.primary { width: 100% !important; height: auto !important; padding: 0.95rem 1.2rem !important; }
