/* ==========================================================================
   Havana — landing page styles
   Light "plaster wall" theme taken from the animated hero artwork
   (css/hero.css): warm plaster canvas, letter-teal ink, sun disc, gold
   hairlines, with sea-teal bands for contrast.
   Fonts: flared caps (Marcellus) for headings, monoline script (Sacramento)
   for <em> accents, Jost for body, Josefin Sans (the hero tagline face) for
   small tracked labels.
   ========================================================================== */

:root {
  --ink: #0E3236;
  /* hero letter teal */
  --ink-2: #0F4F4C;
  /* hero sea: dark bands */
  --ink-3: #14625E;
  --cream: #F6ECDD;
  /* page canvas, a lighter take on the hero plaster */
  --cream-2: #EEDFC8;
  --paper: #FFFBF4;
  --sun: #E5973A;
  --sun-2: #D88A30;
  --sun-ink: #9A5A1C;
  /* sun darkened for text on cream (contrast) */
  --rust: #93561A;
  --sea: #5FC2BA;
  --sand: #EDB066;
  --gold-line: #C79446;
  --letter: #FBE3C4;

  --text-on-dark: #FBE3C4;
  --muted-on-dark: rgba(251, 227, 196, .74);
  --line-on-dark: rgba(251, 227, 196, .16);
  --text-on-light: #0E3236;
  --muted-on-light: #4E5B57;
  --line-on-light: rgba(14, 50, 54, .14);

  --font-display: "Marcellus", "Hind Siliguri", "Trajan Pro", Georgia, serif;
  --font-script: "Sacramento", "Segoe Script", cursive;
  --font-body: "Jost", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "Josefin Sans", "Hind Siliguri", "Futura", "Century Gothic", sans-serif;

  --radius: 16px;
  --radius-lg: 22px;
  --pill: 999px;
  --shadow: 0 18px 40px -18px rgba(92, 58, 24, .28);
  /* warm, like the hero's lifted letters */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 120px);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Component display rules (e.g. .btn inline-flex, .sb-progress flex) must not override the hidden attribute */
[hidden] {
  display: none !important;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
figure,
dl,
dd,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--sun);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.center {
  text-align: center;
}

.mt-lg {
  margin-top: 48px;
}

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .005em;
  line-height: 1.08;
}

/* Accent phrases use the logo's script instead of an italic */
.display em,
.hero-title em {
  font-family: var(--font-script);
  font-style: normal;
  font-size: 1.32em;
  line-height: .8;
  letter-spacing: 0;
}

.h2 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

.h2-sm {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.h3 {
  font-size: 1.6rem;
}

.eyebrow {
  display: block;
  font-family: var(--font-label);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow-sun {
  color: var(--sun);
}

.eyebrow-rust {
  color: var(--rust);
}

.eyebrow-ink {
  color: var(--ink);
}

.eyebrow-line {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--sun-ink);
}

.eyebrow-line::before {
  content: "";
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-line);
}

.section-lede {
  font-size: 1.05rem;
  max-width: 46ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 40px;
  padding: 0 20px;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
}

.btn-block {
  width: 100%;
}

.btn-sun {
  background: var(--sun);
  color: var(--ink);
}

.btn-sun:hover {
  background: #F0B877;
}

.btn-ink {
  background: var(--ink);
  color: var(--letter);
}

.btn-ink:hover {
  background: var(--ink-3);
}

.btn-ghost {
  border-color: rgba(14, 50, 54, .3);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.section-teal .btn-ghost,
.section-ink .btn-ghost {
  border-color: var(--line-on-dark);
  color: var(--letter);
}

.section-teal .btn-ghost:hover,
.section-ink .btn-ghost:hover {
  border-color: var(--letter);
}

.i-arrow {
  width: 16px;
  height: 16px;
}

.pill-tab {
  min-height: 40px;
  padding: 0 20px;
  border-radius: var(--pill);
  border: 1px solid var(--line-on-dark);
  background: transparent;
  color: var(--cream);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}

.pill-tab:hover {
  border-color: var(--cream);
}

.pill-tab.is-active {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--ink);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 236, 221, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-on-light);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

/* Traced logo symbols (see the SVG library at the end of index.html) */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 76px;
  height: 30px;
  flex: none;
  fill: var(--ink);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-word {
  width: 82px;
  height: 16px;
  fill: var(--ink);
}

.brand-sub {
  font-family: var(--font-label);
  font-size: .58rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted-on-light);
  margin-top: 5px;
}

.site-nav {
  margin-left: auto;
  margin-right: auto;
}

.site-nav ul {
  display: flex;
  gap: 30px;
}

.site-nav a {
  font-family: var(--font-label);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: var(--sun);
}

.nav-toggle {
  display: none;
  margin-left: 4px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(14, 50, 54, .3);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Intro (headline + booking, right below the animated hero) ---------- */
.intro {
  position: relative;
  padding: clamp(56px, 8vw, 100px) 0 40px;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  column-gap: clamp(32px, 6vw, 80px);
  align-items: end;
}

.hero-inner>.eyebrow {
  grid-column: 1 / -1;
}

.hero-title {
  grid-column: 1;
  grid-row: 2 / 4;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: 0;
  max-width: 12ch;
  margin-top: 10px;
}

.hero-title em {
  color: var(--sun-ink);
}

.hero-lede {
  grid-column: 2;
  grid-row: 2;
  max-width: 44ch;
  font-size: 1.08rem;
  color: var(--muted-on-light);
}

.hero-ctas {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.booking {
  grid-column: 1 / -1;
  margin-top: clamp(40px, 6vw, 72px);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 14px 14px 14px;
  border-top: 3px solid var(--sun);
  box-shadow: 0 10px 24px -12px rgba(92, 58, 24, .18);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.booking-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.booking .pill-tab {
  color: var(--ink);
  border-color: var(--line-on-light);
}

.booking .pill-tab:hover {
  border-color: var(--ink);
}

.booking .pill-tab.is-active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.booking-form[hidden] {
  display: none;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field label {
  font-family: var(--font-label);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

.field input,
.field select {
  height: 46px;
  padding: 0 14px;
  width: 100%;
  border: 1px solid var(--line-on-light);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  font-size: .92rem;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(229, 154, 69, .35);
}

.field input[aria-invalid="true"] {
  border-color: var(--rust);
}

.booking-form .btn {
  min-height: 46px;
  border-radius: 10px;
  padding: 0 30px;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
}

.form-status {
  grid-column: 1 / -1;
  font-size: .88rem;
  min-height: 0;
}

.form-status:empty {
  display: none;
}

/* ---------- Book a stay: stepped booking (js/booking.js) ---------- */
.booking-form.stay-booking {
  display: block;
}

.sb-progress {
  display: flex;
  gap: 18px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-family: var(--font-label);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

.sb-progress li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sb-progress li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}

.sb-progress li.is-current {
  color: var(--ink);
}

.sb-progress li.is-current::before,
.sb-progress li.is-done::before {
  background: var(--sun);
  border-color: var(--sun);
}

.sb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.sb-grid--details {
  grid-template-columns: repeat(2, 1fr);
}

.sb-wide {
  grid-column: 1 / -1;
}

.sb-grid textarea {
  min-height: 64px;
  padding: 10px 14px;
  width: 100%;
  border: 1px solid var(--line-on-light);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: .92rem;
  resize: vertical;
}

.sb-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 12px;
}

.sb-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--ink);
  outline: none;
}

.sb-meta {
  margin: 0;
  font-size: .85rem;
  color: var(--muted-on-light);
}

.sb-rooms {
  display: grid;
  gap: 10px;
}

.sb-room {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line-on-light);
  border-radius: 14px;
  background: var(--cream);
  transition: border-color .2s, box-shadow .2s;
}

.sb-room.is-picked {
  border-color: var(--sun);
  box-shadow: 0 0 0 2px rgba(229, 154, 69, .25);
  background: var(--paper);
}

.sb-room.is-soldout {
  opacity: .55;
}

.sb-room-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}

.sb-room-meta,
.sb-room-desc,
.sb-room-total {
  margin: 2px 0 0;
  font-size: .8rem;
  color: var(--muted-on-light);
}

.sb-low {
  color: var(--sun-ink);
  font-weight: 600;
}

.sb-room-price {
  text-align: right;
}

.sb-room-price p {
  margin: 0;
}

.sb-room-price strong {
  font-size: 1.05rem;
  color: var(--ink);
}

.sb-room-price span {
  font-size: .8rem;
  color: var(--muted-on-light);
}

.sb-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-on-light);
  border-radius: var(--pill);
  background: var(--paper);
}

.sb-stepper button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.sb-stepper button:hover:not(:disabled) {
  background: var(--cream-2);
}

.sb-stepper button:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.sb-stepper output {
  min-width: 26px;
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sb-summary {
  margin-top: 14px;
}

.sb-lines {
  margin: 0;
  padding: 12px 16px;
  list-style: none;
  border-radius: 12px;
  background: var(--cream);
  font-size: .9rem;
}

.sb-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
}

.sb-lines .sb-total {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--line-on-light);
  font-weight: 700;
  color: var(--ink);
}

.sb-paynote,
.sb-hint {
  margin: 8px 0 0;
  font-size: .8rem;
  color: var(--muted-on-light);
}

.sb-warn {
  margin: 8px 0 0;
  font-size: .85rem;
  color: var(--sun-ink);
  font-weight: 600;
}

.sb-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.sb-actions .btn {
  min-height: 46px;
  border-radius: 10px;
}

.sb-terms {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-left: 3px solid var(--gold-line);
  background: var(--cream);
  font-size: .82rem;
  color: var(--muted-on-light);
}

.sb-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  font-size: .88rem;
  color: var(--ink);
}

.sb-check input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}

.sb-captcha {
  margin-top: 12px;
}

.sb-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sb-field-error {
  margin: 4px 0 0;
  font-size: .78rem;
  color: var(--rust);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--rust);
}

.sb-empty {
  padding: 22px;
  border: 1px dashed var(--line-on-light);
  border-radius: 14px;
  text-align: center;
  font-size: .9rem;
  color: var(--muted-on-light);
}

.sb-empty p {
  margin: 0 0 6px;
}

.sb-empty strong {
  color: var(--ink);
}

.sb-done .sb-lede {
  margin: 6px 0 14px;
  color: var(--muted-on-light);
}

.sb-receipt {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 20px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--cream);
}

.sb-receipt dt {
  font-family: var(--font-label);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

.sb-receipt dd {
  margin: 2px 0 0;
  font-size: .92rem;
  color: var(--ink);
}

.sb-off {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 4px;
  font-size: .92rem;
  color: var(--ink);
}

.sb-off p {
  margin: 0;
}

.booking-form.stay-booking[aria-busy="true"] .sb-rooms {
  opacity: .6;
}

@media (max-width: 900px) {
  .sb-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sb-grid > .btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .sb-grid,
  .sb-grid--details {
    grid-template-columns: 1fr;
  }

  .sb-room {
    grid-template-columns: 1fr auto;
  }

  .sb-room-price {
    grid-column: 1;
    text-align: left;
  }

  .sb-stepper {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .sb-actions .btn {
    flex: 1 1 auto;
  }

  .sb-progress {
    gap: 12px;
  }
}

.form-status.is-error {
  color: var(--rust);
}

/* ---------- Stats ---------- */
.stats {
  padding: 24px 0 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-on-light);
  border-bottom: 1px solid var(--line-on-light);
}

.stat {
  padding: 30px 24px 28px;
}

.stat+.stat {
  border-left: 1px solid var(--line-on-light);
}

.stat-num {
  color: var(--ink);
  font-size: clamp(2.25rem, 4vw, 3rem);
}

.stat-num::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 12px;
  border-radius: 2px;
  background: var(--sun);
}

.stat-label {
  margin-top: 10px;
  font-size: .9rem;
  color: var(--muted-on-light);
}

/* Gold threads from the hero artwork, as a divider into the restaurant */
.stats::after {
  content: "";
  display: block;
  height: clamp(70px, 9vw, 130px);
  margin-top: 12px;
  background: url("../assets/gold-lines.svg") center / 100% 100% no-repeat;
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section-y) 0;
}

.section-cream {
  background: var(--cream);
  color: var(--text-on-light);
}

#dine {
  padding-top: clamp(24px, 4vw, 48px);
}

.section-teal,
.section-ink {
  color: var(--text-on-dark);
}

.section-cream .section-lede,
.section-cream p {
  color: var(--muted-on-light);
}

.section-cream .display,
.section-cream .h3 {
  color: var(--ink);
}

.section-teal {
  background: var(--ink-2);
}

.section-teal .section-lede {
  color: var(--muted-on-dark);
  margin-inline: auto;
  max-width: 58ch;
}

.section-teal .h2 em {
  color: var(--sun);
}

.section-ink {
  background: var(--ink);
}

.section-ink .section-lede {
  color: var(--muted-on-dark);
}

.section-ink .h2 em {
  color: var(--sun);
}

.section-sun {
  background: var(--sun);
  color: var(--ink);
}

.section-head {
  margin-bottom: 56px;
}

.section-head.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: end;
}

.section-head.split .section-lede {
  justify-self: end;
}

.section-head.center {
  text-align: center;
}

.section-head.center .section-lede {
  margin-top: 20px;
}

/* Photo slots: SVG illustration now, <img> later (object-fit keeps the crop) */
.photo-slot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid rgba(199, 148, 70, .28);
}

.photo-slot>svg,
.photo-slot>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: var(--pill);
  background: rgba(11, 48, 54, .72);
  color: var(--cream);
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ---------- Restaurant ---------- */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.venue .photo-slot {
  aspect-ratio: 4 / 5;
}

.venue .h3 {
  margin: 22px 0 10px;
}

.venue p {
  font-size: .95rem;
}

/* ---------- Menu ---------- */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

/* Menu: each tab is a subtitle plus titled groups of name ... price rows, flowed in columns */
.menu-grid {
  display: block;
  columns: 3 260px;
  column-gap: 56px;
  max-width: 1100px;
  margin-inline: auto;
  text-align: left;
}

.menu-sub {
  column-span: all;
  margin: -24px 0 28px;
  text-align: center;
  font-family: var(--font-label);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--sun);
}

.menu-group {
  break-inside: avoid;
  margin-bottom: 34px;
  animation: fade-up .35s ease both;
}

.menu-group-title {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-on-dark);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--cream);
}

/* Titles-only mode (SHOW_ITEMS = false in main.js): categories as a compact centred set of cards */
.menu-grid.is-titles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 880px;
  columns: auto;
}
.menu-grid.is-titles .menu-sub {
  flex: 0 0 100%;
  margin: -28px 0 12px;
}
.menu-grid.is-titles .menu-group {
  margin: 0;
  padding: 14px 26px;
  border: 1px solid var(--line-on-dark);
  border-radius: 999px;
  background: rgba(251, 227, 196, .04);
  transition: border-color .2s ease, background-color .2s ease;
}
.menu-grid.is-titles .menu-group:hover {
  border-color: var(--sun);
  background: rgba(251, 227, 196, .08);
}
.menu-grid.is-titles .menu-group-title {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1.2rem;
  text-align: center;
}

.menu-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  font-size: 1rem;
  color: rgba(251, 227, 196, .9);
}

.menu-item-name {
  min-width: 0;
}

.dish-leader {
  flex: 1;
  border-bottom: 1px dotted rgba(251, 227, 196, .3);
  transform: translateY(-4px);
  min-width: 16px;
}

.dish-price {
  color: var(--sun);
  font-weight: 600;
  font-size: .92rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.menu-note {
  margin-top: 8px;
  text-align: center;
  font-size: .82rem;
  color: var(--muted-on-dark);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Residences ---------- */
.residence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.residence {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(199, 148, 70, .28);
  display: flex;
  flex-direction: column;
}

.residence-art {
  border-radius: 0;
  aspect-ratio: 400 / 210;
  border: 0;
  border-bottom: 1px solid var(--line-on-light);
}

.badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 12px;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--sun);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.residence-body {
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.residence-body .h3 {
  margin-bottom: 8px;
}

.specs {
  font-size: .82rem;
  margin-bottom: 14px;
}

.residence-body>p:not(.specs) {
  font-size: .94rem;
}

.residence-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-on-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.residence-body>p+.residence-foot {
  margin-top: 20px;
}

.rate {
  font-size: .8rem;
}

.section-cream .rate .display {
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0 2px;
}

.amenities {
  margin-top: 48px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
}

.section-cream .amenities .display {
  color: var(--cream);
}

.section-cream .amenities p {
  color: var(--muted-on-dark);
}

.amenities-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 36px;
}

.amenities-head p {
  font-size: .9rem;
}

.amenity-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 28px;
}

.amenity-list li {
  display: flex;
  gap: 14px;
}

.amenity-list svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: var(--sun);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 1px;
}

.amenity-list strong {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: var(--cream);
}

.section-cream .amenity-list span {
  display: block;
  font-size: .82rem;
  color: var(--muted-on-dark);
  margin-top: 4px;
  line-height: 1.5;
}

/* ---------- Pool / Visit (text + media) ---------- */
.split-media {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.split-media .h2 {
  margin-bottom: 22px;
}

.pool-art {
  aspect-ratio: 600 / 420;
}

.dot-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.dot-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .95rem;
}

.dot-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sun);
  flex: none;
}

/* ---------- Events ---------- */
.booking.is-soon,
.menu-soon-wrap.is-soon,
.stay-soon-wrap.is-soon,
.events-soon-wrap.is-soon {
  position: relative;
}

.booking.is-soon {
  overflow: hidden;
}

.booking.is-soon> :not(.booking-soon) {
  filter: blur(2px);
  opacity: .6;
  user-select: none;
  pointer-events: none;
}

.menu-soon-wrap.is-soon> :not(.menu-soon),
.stay-soon-wrap.is-soon> :not(.stay-soon) {
  filter: blur(2.5px);
  opacity: .6;
  user-select: none;
  pointer-events: none;
}

.events-soon-wrap.is-soon> :not(.events-soon) {
  filter: blur(4px);
  opacity: .48;
  user-select: none;
  pointer-events: none;
}

.booking-soon,
.menu-soon,
.stay-soon,
.events-soon {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  text-align: center;
}

.booking-soon {
  gap: 6px;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  text-shadow: 0 2px 16px rgba(255, 251, 244, .85), 0 1px 2px rgba(255, 251, 244, .7);
}

.stay-soon {
  text-shadow: 0 2px 18px rgba(246, 236, 221, .9), 0 1px 2px rgba(255, 251, 244, .75);
}

.menu-soon {
  color: var(--letter);
  text-shadow: 0 2px 18px rgba(14, 50, 54, .75), 0 1px 3px rgba(14, 50, 54, .55);
}

.booking-soon span,
.menu-soon span,
.stay-soon span,
.events-soon span {
  font-family: var(--font-label);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--sun-ink);
}

.booking-soon span {
  font-size: .72rem;
}

.menu-soon span {
  color: var(--sun);
}

.events-soon {
  color: var(--cream);
  text-shadow: 0 2px 16px rgba(14, 50, 54, .35), 0 1px 2px rgba(14, 50, 54, .22);
}

.events-soon span {
  color: #0B1D3A;
  text-shadow: 0 1px 0 rgba(255, 251, 244, .28), 0 2px 8px rgba(11, 29, 58, .22);
}

.events-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.events-inner .h2 {
  max-width: 18ch;
  margin-bottom: 20px;
  color: var(--ink);
}

.events-inner .section-lede {
  color: rgba(11, 48, 54, .82);
}

.events-cta {
  text-align: center;
}

.events-cta p {
  margin-top: 10px;
  font-size: .82rem;
}

.events-cta p a {
  text-decoration: none;
  font-weight: 600;
}

/* ---------- Visit ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr max-content;
  gap: 22px 36px;
  align-items: start;
  margin-top: 8px;
}

.info-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.info-grid dt {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-on-light);
  margin-bottom: 8px;
}

.info-grid dd {
  font-size: .95rem;
  color: var(--ink);
  line-height: 1.6;
}

.info-grid a {
  text-underline-offset: 3px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--pill);
  border: 1px solid rgba(14, 50, 54, .24);
  background: var(--paper);
  color: var(--ink);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s, border-color .2s, transform .2s;
}

.social-pill svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-pill:hover {
  background: var(--sun);
  border-color: var(--sun);
  transform: translateY(-1px);
}

.map-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 600 / 420;
  background: var(--cream-2);
  border: 1px solid rgba(199, 148, 70, .28);
}

.map-card svg {
  width: 100%;
  height: 100%;
}

.map-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 52px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr auto auto 1fr;
  gap: 40px;
  align-items: start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-lockup {
  width: clamp(200px, 22vw, 280px);
  aspect-ratio: 547 / 286;
  height: auto;
  fill: var(--letter);
}

.footer-brand p:not(.wordmark) {
  margin-top: 18px;
  max-width: 34ch;
  color: var(--muted-on-dark);
  font-size: .92rem;
}

.footer-brand .footer-tagline {
  max-width: none;
  color: var(--sand);
}

.footer-brand .footer-tagline + p {
  margin-top: 6px;
}

.footer-social .social-pill {
  border-color: var(--line-on-dark);
  background: var(--ink-2);
  color: var(--cream);
}

.footer-social .social-pill:hover {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--ink);
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  text-decoration: none;
  font-size: .92rem;
  color: var(--cream);
  opacity: .85;
}

.footer-col a:hover {
  color: var(--sun);
  opacity: 1;
}

.signup-row {
  display: flex;
  gap: 8px;
}

.signup-row input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line-on-dark);
  background: var(--ink-2);
  color: var(--cream);
}

.signup-row input::placeholder {
  color: rgba(251, 227, 196, .45);
}

.signup-row .btn {
  border-radius: 10px;
  min-height: 44px;
  text-transform: none;
  letter-spacing: 0;
  font-size: .9rem;
}

.footer-signup .form-status {
  margin-top: 10px;
  color: var(--muted-on-dark);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(201, 148, 79, .45);
  font-size: .8rem;
  color: var(--muted-on-dark);
}

/* ---------- Mobile quick-action bar (phones only; shown by js/main.js) ---------- */
.mobile-bar {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .booking-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-form .btn {
    grid-column: 1 / -1;
  }

  .amenity-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-signup {
    grid-column: 1 / -1;
    max-width: 420px;
  }
}

@media (max-width: 900px) {
  .brand {
    margin-right: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line-on-light);
    padding: 8px var(--gutter) 20px;
    margin: 0;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-on-light);
    font-size: .85rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-title,
  .hero-lede,
  .hero-ctas {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-lede {
    margin-top: 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(3) {
    border-left: 0;
  }

  .stat:nth-child(n+3) {
    border-top: 1px solid var(--line-on-light);
  }

  .section-head.split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-head.split .section-lede {
    justify-self: start;
  }

  .venue-grid,
  .residence-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* odd card out: centred on its own row at card width */
  .venue:last-child:nth-child(odd),
  .residence:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 10px);
    justify-self: center;
  }

  .footer-col ul {
    gap: 0;
  }

  .footer-col a {
    display: inline-block;
    padding: 11px 0;
  }

  .social-pill,
  .map-btn {
    min-height: 44px;
  }

  .venue .photo-slot {
    aspect-ratio: 4 / 3;
  }

  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-media {
    grid-template-columns: 1fr;
  }

  .events-inner {
    grid-template-columns: 1fr;
  }

  .events-cta {
    text-align: left;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 64px;
  }

  .brand-sub {
    display: none;
  }

  /* the hero's wave strip already leaves cream above the intro */
  .intro {
    padding-top: 20px;
  }

  .brand-mark {
    width: 76px;
    height: 30px;
  }

  .brand-word {
    width: 90px;
    height: 17.5px;
  }

  .header-cta {
    min-height: 36px;
    padding: 0 14px;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  .menu-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .menu-tabs::-webkit-scrollbar {
    display: none;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .amenity-list {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  /* Footer: one centred column (logo, socials, links in a row, signup, bottom lines) */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-brand p:not(.wordmark) {
    margin-inline: auto;
  }

  .footer-brand .footer-tagline {
    margin-top: 22px;
    text-wrap: balance;
  }

  .footer-brand .footer-tagline + p {
    margin-top: 6px;
  }

  .footer-social .social-links {
    justify-content: center;
  }

  .footer-col ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 22px;
  }

  .footer-signup {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }

  .footer-signup .eyebrow {
    display: block;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    text-align: center;
  }

  /* Find Us: centred, each fact in its own divided row */
  #visit .split-media>div:first-child {
    text-align: center;
  }

  #visit .eyebrow-line {
    justify-content: center;
  }

  #visit .info-grid {
    margin-top: 28px;
    gap: 0;
  }

  #visit .info-col {
    gap: 0;
  }

  #visit .info-col>div {
    padding: 18px 0;
    border-top: 1px solid var(--line-on-light);
  }

  #visit .info-grid dt {
    margin-bottom: 6px;
  }

  .info-grid dd a {
    display: inline-block;
    padding: 6px 0;
  }

  .btn-sm {
    min-height: 44px;
  }

  /* Venues: swipe row with a peek of the next card */
  .venue-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .venue-grid::-webkit-scrollbar {
    display: none;
  }

  .venue {
    scroll-snap-align: start;
  }

  .venue:last-child:nth-child(odd) {
    grid-column: auto;
    width: auto;
  }

  .residence-grid {
    grid-template-columns: 1fr;
  }

  .residence:last-child:nth-child(odd) {
    width: auto;
  }

  /* "Coming soon" blocks: a short faded preview instead of a full page of blur */
  .booking.is-soon,
  .menu-soon-wrap.is-soon,
  .stay-soon-wrap.is-soon {
    max-height: var(--soon-h);
    overflow: hidden;
  }

  .booking.is-soon {
    --soon-h: 280px;
  }

  .menu-soon-wrap.is-soon {
    --soon-h: 360px;
  }

  .stay-soon-wrap.is-soon {
    --soon-h: 440px;
  }

  /* fade the cut-off bottom into the block's own background (sits under the label, z-index 1) */
  .booking.is-soon::after,
  .menu-soon-wrap.is-soon::after,
  .stay-soon-wrap.is-soon::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    pointer-events: none;
    background: linear-gradient(transparent, var(--soon-bg));
  }

  .booking.is-soon {
    --soon-bg: var(--paper);
  }

  .menu-soon-wrap.is-soon {
    --soon-bg: var(--ink-2);
  }

  .stay-soon-wrap.is-soon {
    --soon-bg: var(--cream);
  }

  /* Quick-action bar */
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(246, 236, 221, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-on-light);
    translate: 0 110%;
    visibility: hidden;
    transition: translate .25s ease, visibility 0s linear .25s;
  }

  .mobile-bar[hidden] {
    display: none;
  }

  .mobile-bar.is-shown {
    translate: 0 0;
    visibility: visible;
    transition: translate .25s ease;
  }

  .mobile-bar .btn {
    min-height: 46px;
    padding: 0 16px;
  }
}

/* Shorten rather than remove animations: the hero's logo starts hidden and
   relies on its animations' end state (`forwards`) to appear. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
}