/* ==========================================================
   Mahesh Bhavan — shared styles
   Palette taken from the Mahesh Bhavan brochure
   ========================================================== */

:root {
  --ivory: #f5efe4;        /* paper background */
  --ivory-2: #efe6d6;      /* slightly deeper paper for cards */
  --paper: #fbf8f2;        /* lightest surface */
  --sand: #eadcc4;         /* soft headline accent */
  --maroon: #8a2b2b;       /* trust name / emblem red */
  --maroon-deep: #6e1f21;
  --terracotta: #9b5a44;   /* "Mahesh Bhavan" script brown */
  --gold: #c8a463;         /* emblem gold */
  --ink: #2b1d17;
  --ink-soft: #5c4a40;
  --line: rgba(43, 29, 23, 0.12);

  /* Sky tones matched to the top of the hero photo */
  --sky-top: #2a6fc6;
  --sky-mid: #3f86d6;

  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.86);
  --glass: rgba(24, 40, 70, 0.32);
  --glass-border: rgba(255, 255, 255, 0.2);

  --radius: 22px;
  --radius-sm: 14px;

  --font-sans: "Baloo 2", system-ui, -apple-system, sans-serif;   /* body */
  --font-heading: "Rubik", system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 24px; }

body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, .logo, .hm-stats dt, .hm-float strong { font-family: var(--font-heading); }
a { color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Outer frame (ivory border + rounded hero) ===== */
.page { padding: 10px; }

.hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  color: var(--white);
}

/* ===== Navigation ===== */
.nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.logo img {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(10, 20, 40, 0.18));
}

.footer .logo img { width: 64px; height: 64px; filter: none; }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  transition: color 0.2s;
}

.nav-links > li > a:hover,
.nav-links > li > a[aria-current="page"] { color: var(--white); }

.nav-links > li > a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.7);
}

.nav-links .chev { width: 11px; height: 11px; transition: transform 0.2s; }

/* Dropdowns */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 230px;
  list-style: none;
  padding: 8px;
  background: var(--paper);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px rgba(20, 20, 40, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

/* invisible bridge so the menu stays open while moving the cursor down */
.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.has-menu:hover .dropdown,
.has-menu:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.has-menu:hover .chev,
.has-menu:focus-within .chev { transform: rotate(180deg); }

.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.dropdown a:hover { background: var(--ivory-2); color: var(--maroon); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--white);
  cursor: pointer;
  place-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.menu-toggle svg { width: 18px; height: 18px; }

/* ===== Buttons ===== */
.btn {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: background 0.2s, transform 0.2s, color 0.2s;
}

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

.btn-light {
  background: var(--ivory);
  color: var(--maroon-deep);
  padding: 11px 20px;
  font-weight: 500;
  flex-shrink: 0;
}

.btn-light:hover { background: var(--white); }

.btn-ghost {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--white);
  padding: 13px 26px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-ghost:hover { background: rgba(24, 40, 70, 0.45); }

.btn-primary {
  background: var(--ivory);
  color: var(--maroon-deep);
  font-weight: 500;
  padding: 6px 6px 6px 24px;
}

.btn-primary:hover { background: var(--white); }

.btn .arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--ivory);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.btn .arrow svg { width: 14px; height: 14px; }

/* Buttons on light sections */
.btn-maroon {
  background: var(--maroon);
  color: var(--ivory);
  font-weight: 500;
  padding: 6px 6px 6px 24px;
}

.btn-maroon:hover { background: var(--maroon-deep); }
.btn-maroon .arrow { background: var(--ivory); color: var(--maroon); }

.btn-outline {
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 13px 24px;
  background: transparent;
}

.btn-outline:hover { border-color: var(--maroon); color: var(--maroon); }

/* ===== Home hero ===== */
.hero-home {
  min-height: calc(100vh - 20px);
  /* Extends the photo's sky upward so the headline sits on open sky */
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-mid) 100%);
}

/* Photo sits in flow under the text so the buildings never collide with it */
.hero-media {
  position: relative;
  z-index: -2;
  margin-top: auto;
  padding-top: 24px;
}

.hero-bg {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin-top: -11%;         /* tuck the photo's own sky under the text area */
  margin-bottom: -10%;      /* trim part of the road */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 16%);
  user-select: none;
  pointer-events: none;
}

/* Soft tint for text legibility + warm glow at the base */
.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 38, 72, 0.28) 0%, rgba(18, 38, 72, 0.08) 38%, rgba(18, 38, 72, 0) 55%),
    linear-gradient(0deg, rgba(43, 29, 23, 0.35) 0%, rgba(43, 29, 23, 0) 22%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  padding: clamp(24px, 6vh, 64px) 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--sand);
  text-wrap: balance;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(234, 220, 196, 0.6);
}

.hero h1 {
  font-size: clamp(32px, 4.4vw, 62px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 24px rgba(10, 25, 50, 0.18);
}

.hero h1 .nb { white-space: nowrap; display: inline-block; }

.hero h1 .accent {
  display: block;
  color: var(--sand);
}

.subtitle {
  max-width: 600px;
  margin-top: 22px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--white-soft);
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 20px 26px;
  text-align: center;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ===== Home hero, photo-first layout (trial) =====
   Add `hero-photo-top` to the home <header> to put the photo above the text;
   remove it to go back to the text-over-sky layout. */
.hero-photo-top {
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 35%, var(--ink) 35%);
}

.hero-photo-top .hero-media {
  order: 1;
  margin-top: 0;
  padding-top: 0;
}

.hero-photo-top .hero-bg {
  margin-bottom: -16%;      /* trim most of the road */
  /* fade into the sky at the top and into the dark text panel at the bottom */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 60%, transparent 76%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 60%, transparent 76%);
}

.hero-photo-top .hero-content {
  order: 2;
  padding: 8px 20px 72px;
}

/* Phones show the photo at 170% width, so trim proportionally more */
@media (max-width: 600px) {
  .hero-photo-top .hero-bg { margin-bottom: -27%; }
}

.hero-photo-top::after {
  background: linear-gradient(180deg, rgba(18, 38, 72, 0.22) 0%, rgba(18, 38, 72, 0) 18%);
}

/* ===== Home hero, text-over-photo layout =====
   Add `hero-overlay` to the home <header> (instead of `hero-photo-top`) to fill the hero
   with the photo and set the text on it under the same tint as the inner pages. */
.hero-overlay { background: var(--ink); }

.hero-overlay .hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
}

.hero-overlay .hero-bg {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center 62%;
  -webkit-mask-image: none;
          mask-image: none;
}

.hero-overlay::after {
  background:
    /* extra shade behind the text block, which sits over the busy facade */
    radial-gradient(ellipse 55% 42% at 50% 50%, rgba(20, 22, 35, 0.55) 0%, rgba(20, 22, 35, 0) 100%),
    linear-gradient(180deg, rgba(20, 22, 35, 0.72) 0%, rgba(20, 22, 35, 0.5) 35%, rgba(43, 29, 23, 0.62) 60%, rgba(43, 29, 23, 0.86) 100%);
}

.hero-overlay .hero-content {
  margin: auto 0;
  padding: 40px 20px 80px;
}

/* ===== Inner page hero ===== */
.hero-page {
  min-height: min(64vh, 620px);
  background-color: var(--ink);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  /* background-image is set inline on each page */
}

.hero-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 22, 35, 0.72) 0%, rgba(20, 22, 35, 0.5) 35%, rgba(43, 29, 23, 0.62) 60%, rgba(43, 29, 23, 0.86) 100%);
}

.hero-page .hero-content {
  margin-top: auto;
  padding: 40px 20px 34px;
}

.hero-page h1 { font-size: clamp(34px, 5vw, 64px); }

.crumbs {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 16px;
}

.crumbs a { text-decoration: none; color: var(--white-soft); }
.crumbs a:hover { color: var(--white); }

.subnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.subnav a {
  font-size: 13.5px;
  color: var(--white);
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s, color 0.2s;
}

.subnav a:hover { background: var(--ivory); color: var(--maroon-deep); }

/* ===== Sections ===== */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section + .section { padding-top: 0; }
.section.alt { background: var(--paper); padding-top: clamp(72px, 10vw, 120px); }
.section.alt + .section { padding-top: clamp(72px, 10vw, 120px); }

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

h2 em { font-style: normal; color: var(--terracotta); }

h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.lead {
  font-size: 17px;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 620px;
  margin-top: 18px;
}

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

.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.section-head.center { text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

.prose p { color: var(--ink-soft); font-weight: 300; font-size: 16.5px; }
.prose p + p { margin-top: 16px; }

/* Two-column split */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.split-2.top { align-items: start; }

/* photo on the left on wide screens; text stays first on phones */
.split-2.reverse > :first-child { order: 2; }

.photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ivory-2);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 16 / 10; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 64px;
}

.stat {
  padding: 26px 24px 0 0;
}

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

.stat strong {
  display: block;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--maroon);
  line-height: 1.1;
}

.stat span { font-size: 14px; color: var(--ink-soft); }

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

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section.alt .card { background: var(--ivory); }

.card p { color: var(--ink-soft); font-size: 15px; font-weight: 300; }

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ivory-2);
  color: var(--maroon);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}

.section.alt .card .icon { background: var(--paper); }

.card .icon svg { width: 22px; height: 22px; }

.card .more {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
  text-decoration: none;
}

.card .more:hover { color: var(--maroon-deep); }

/* Image card (rooms, halls) */
.media-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.media-card .photo { border-radius: 0; aspect-ratio: 16 / 10; }

/* Linked image cards (homepage venues) */
a.media-card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
}

a.media-card .photo { aspect-ratio: 4 / 3; }
a.media-card .photo img { transition: transform 0.6s ease; }
a.media-card h3 { font-size: 18px; }

a.media-card .more {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
}

a.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(43, 29, 23, 0.1);
}

a.media-card:hover .photo img { transform: scale(1.05); }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.section-head.split > div:first-child:has(+ .head-aside) { max-width: 560px; }
.head-aside { max-width: 480px; }

.media-card .body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.media-card p { color: var(--ink-soft); font-size: 15px; font-weight: 300; }

.tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: var(--ivory-2);
  padding: 5px 10px;
  border-radius: 999px;
}

.specs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink);
}

.specs li { display: inline-flex; align-items: center; gap: 7px; }
.specs li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* Tick list */
.ticks {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
}

.ticks li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ivory-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%238a2b2b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.ticks.one { grid-template-columns: 1fr; }

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 560px;
}

th, td {
  text-align: left;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: var(--ivory-2);
}

tr:last-child td { border-bottom: 0; }
td strong { font-weight: 500; }
td small { display: block; color: var(--ink-soft); font-size: 13.5px; }

.note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Photo grid (home featured) */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

.photo-grid .photo { height: 100%; }
.photo-grid .photo.big { grid-column: span 2; grid-row: span 2; }
.photo-grid .photo.wide2 { grid-column: span 2; }

/* Gallery */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.gallery-filter button {
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.gallery-filter button:hover { border-color: var(--maroon); color: var(--maroon); }

.gallery-filter button[aria-pressed="true"] {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--ivory);
}

.gallery-group + .gallery-group { margin-top: 72px; }
.gallery-group[hidden] { display: none; }
.gallery-group h3 { font-size: 24px; margin-bottom: 6px; }
.gallery-group > p { color: var(--ink-soft); font-weight: 300; margin-bottom: 26px; }

.masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.masonry button {
  border: 0;
  padding: 0;
  cursor: zoom-in;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ivory-2);
  position: relative;
}

.masonry img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.masonry button:hover img { transform: scale(1.04); }

.masonry figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 12px;
  text-align: left;
  font-size: 13.5px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(20, 15, 12, 0.6), transparent);
}

.coming-soon {
  border: 1px dashed rgba(155, 90, 68, 0.45);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 48px 28px;
  text-align: center;
  color: var(--ink-soft);
}

.coming-soon strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 15, 12, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.lightbox.open { display: flex; }

.lightbox figure { max-width: 1200px; width: 100%; text-align: center; }

.lightbox img {
  max-height: 80vh;
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

.lightbox figcaption { color: var(--sand); margin-top: 14px; font-size: 14px; }

.lightbox button {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Enquiry band */
.band {
  background: var(--maroon-deep);
  color: var(--ivory);
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}

.band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(200, 164, 99, 0.25);
  box-shadow: 0 0 0 40px rgba(200, 164, 99, 0.05), 0 0 0 80px rgba(200, 164, 99, 0.03);
  pointer-events: none;
}

.band h2 { color: var(--ivory); }
.band .label { color: var(--gold); }
.band .lead { color: rgba(245, 239, 228, 0.78); }

.band-text {
  max-width: 680px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.band-text p { color: rgba(245, 239, 228, 0.8); font-weight: 300; font-size: 16.5px; }
.band-text p + p { margin-top: 14px; }
.band .cta-row { position: relative; z-index: 1; }

.btn-outline-light {
  border: 1px solid rgba(245, 239, 228, 0.35);
  color: var(--ivory);
  padding: 13px 24px;
  background: transparent;
}

.btn-outline-light:hover { background: rgba(245, 239, 228, 0.1); }

.band-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.band-card {
  background: rgba(245, 239, 228, 0.07);
  border: 1px solid rgba(245, 239, 228, 0.14);
  border-radius: var(--radius-sm);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  transition: background 0.2s;
}

.band-card:hover { background: rgba(245, 239, 228, 0.12); }
.band-card p { color: rgba(245, 239, 228, 0.75); font-weight: 300; font-size: 15px; }
.band-card .go {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Forms */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.field textarea { min-height: 120px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(155, 90, 68, 0.15);
}

.form-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-actions small { color: var(--ink-soft); font-size: 13px; }

.form-status {
  margin-top: 16px;
  font-size: 14px;
  color: var(--maroon);
}

/* Contact */
.contact-list { list-style: none; display: grid; gap: 22px; }

.contact-list li { display: flex; gap: 16px; }

.contact-list .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ivory-2);
  color: var(--maroon);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-list .icon svg { width: 20px; height: 20px; }

.contact-list h3 { font-size: 16px; margin-bottom: 2px; }
.contact-list p, .contact-list a { color: var(--ink-soft); font-size: 15px; text-decoration: none; }
.contact-list a:hover { color: var(--maroon); }

.map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
  background: var(--ivory-2);
}

.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.distances {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.distances li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.distances strong {
  display: block;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--maroon);
}

.distances span { font-size: 14px; color: var(--ink-soft); }

/* Timeline */
.timeline { list-style: none; position: relative; }

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.timeline li { position: relative; padding: 0 0 34px 44px; }
.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--ivory);
  border: 2px solid var(--gold);
}

.timeline .year {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--terracotta);
}

.timeline h3 { margin: 4px 0 6px; }
.timeline p { color: var(--ink-soft); font-weight: 300; }

/* Verse from the brochure */
.verse {
  text-align: center;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.7;
  color: var(--terracotta);
  font-weight: 400;
}

.verse .ornament {
  display: block;
  width: 120px;
  height: 1px;
  margin: 26px auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.verse cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: rgba(245, 239, 228, 0.75);
  border-radius: var(--radius);
  margin: 0 10px 10px;
  padding: 72px 0 28px;
}

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

.footer .logo { color: var(--ivory); margin-bottom: 16px; }
.footer p { font-size: 14.5px; font-weight: 300; max-width: 300px; }

.footer h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer ul { list-style: none; display: grid; gap: 9px; }

.footer ul a {
  font-size: 14.5px;
  text-decoration: none;
  color: rgba(245, 239, 228, 0.75);
  transition: color 0.2s;
}

.footer ul a:hover { color: var(--ivory); }

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 239, 228, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* ===== Animation start state =====
   `html.anim` is added in <head> only when motion is allowed; assets/js/animations.js
   reveals these. Keep this list in sync with REVEAL there. */
html.anim .hero .nav,
html.anim .hero .eyebrow,
html.anim .hero .crumbs,
html.anim .hero-home h1 > span,
html.anim .hero-page h1,
html.anim .hero .subtitle,
html.anim .hero .cta-row,
html.anim .subnav a,
html.anim .hero-bg,
html.anim .hero-foot,
html.anim .section .photo,
html.anim .band,
html.anim .section .label,
html.anim .section h2,
html.anim .section .lead,
html.anim .prose p,
html.anim .ticks li,
html.anim .section .cta-row,
html.anim .card,
html.anim .media-card,
html.anim .table-wrap,
html.anim .note,
html.anim .timeline li,
html.anim .distances li,
html.anim .form-card,
html.anim .verse,
html.anim .contact-list li,
html.anim .gallery-filter,
html.anim .gallery-group > h3,
html.anim .gallery-group > p,
html.anim .coming-soon,
html.anim .masonry button,
html.anim .map,
html.anim .container > h3,
html.anim .hm-reveal,
html.anim .hm-img,
html.anim .hm-card,
html.anim .hm-seal {
  visibility: hidden;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .eyebrow { max-width: 460px; }
  .eyebrow::before, .eyebrow::after { display: none; }
  .nav-links { gap: 24px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .distances { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav { padding: 18px 18px; }
  .menu-toggle { display: grid; }
  .nav .btn-light { margin-left: auto; }

  /* Mobile menu panel */
  /* fixed so the hero frame's rounded clipping doesn't cut the panel off */
  .nav-links {
    position: fixed;
    top: 86px;
    left: 22px;
    right: 22px;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: var(--paper);
    border-radius: var(--radius-sm);
    box-shadow: 0 18px 40px rgba(20, 20, 40, 0.2);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    display: none;
  }

  .nav.open .nav-links { display: flex; }

  .nav-links > li > a {
    color: var(--ink);
    width: 100%;
    padding: 14px 12px;
    font-size: 12.5px;
  }

  .nav-links > li > a:hover,
  .nav-links > li > a[aria-current="page"] { color: var(--maroon); box-shadow: none; }

  .nav-links .chev { display: none; }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 8px 12px;
    min-width: 0;
  }

  .dropdown a { padding: 8px 12px; color: var(--ink-soft); }

  .split-2, .grid-3 { grid-template-columns: 1fr; }
  .split-2.reverse > :first-child { order: 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { padding-top: 26px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .masonry { grid-template-columns: repeat(2, 1fr); }
  .band-cards { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav .btn-light { padding: 10px 14px; font-size: 11px; }
  .logo { font-size: 17px; }
  .logo img { width: 40px; height: 40px; }
  .subtitle { font-size: 15px; }
  .eyebrow { font-size: 14px; max-width: 300px; }
  .hero-home h1 .accent { font-size: 0.82em; margin-top: 4px; }
  .hero-home h1 .accent:last-child { font-size: 5.4vw; }   /* keeps the city name on one line */
  .cta-row { gap: 8px; }
  .btn-ghost { padding: 13px 18px; }
  .btn-primary { padding-left: 18px; gap: 10px; }
  .hero-foot { padding-bottom: 18px; }
  .hero-bg { width: 170%; margin-left: -35%; margin-top: -15%; margin-bottom: -17%; }
  .ticks { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .masonry { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .photo-grid .photo.big, .photo-grid .photo.wide2 { grid-column: auto; grid-row: auto; }
  .distances { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stat strong { font-size: 26px; }
}

@media (max-width: 420px) {
  .nav .btn-light { display: none; }
  .menu-toggle { margin-left: auto; }
}

/* ==========================================================
   Home sections (below the hero)
   ========================================================== */
:root { --font-serif: var(--font-heading); }

.hm { padding: clamp(88px, 12vw, 150px) 0; }

.hm-index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.hm-index span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

.hm-title {
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 500;
}

/* Serif italic accent gives the headings an editorial feel */
.hm-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--terracotta);
  display: block;
}

/* Two-column sections get a slightly smaller headline */
.hm-stay .hm-title,
.hm-head-split .hm-title { font-size: clamp(36px, 4.4vw, 64px); }

.hm-big {
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: pretty;
}

.hm-body { font-size: 16.5px; font-weight: 300; color: var(--ink-soft); text-wrap: pretty; }
.hm-body + .hm-body { margin-top: 14px; }

.hm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hm-img { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--ivory-2); }
.hm-img img { width: 100%; height: 115%; object-fit: cover; }

/* ----- 01 About ----- */
.hm-head { max-width: 980px; margin-bottom: clamp(48px, 7vw, 88px); }

.hm-about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.hm-collage { position: relative; padding: 0 0 64px; }
.hm-img-main { aspect-ratio: 4 / 5; }

.hm-img-inset {
  position: absolute;
  right: -36px;
  bottom: 0;
  width: 52%;
  aspect-ratio: 1;
  border: 8px solid var(--ivory);
  border-radius: calc(var(--radius) + 8px);
}

.hm-img-inset img { height: 100%; }

.hm-seal {
  position: absolute;
  top: -44px;
  right: -20px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--ivory);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px -18px rgba(110, 31, 33, 0.6);
}

.hm-seal svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: hm-spin 22s linear infinite;
}

.hm-seal text {
  font-family: var(--font-mono);
  font-size: 9.6px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  fill: currentColor;
}

.hm-seal img { width: 44px; height: 44px; position: relative; }

@keyframes hm-spin { to { transform: rotate(360deg); } }

.hm-about-copy { padding-top: clamp(0px, 4vw, 56px); }
.hm-about-copy .hm-big { margin-bottom: 20px; }

.hm-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.hm-stats > div { padding: 26px 0 26px; border-bottom: 1px solid var(--line); }
.hm-stats > div:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line); }
.hm-stats > div:nth-child(even) { padding-left: 28px; }

.hm-stats dt {
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--maroon);
  font-variant-numeric: tabular-nums;
}

.hm-stats dd {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ----- Marquee ----- */
.hm-marquee {
  overflow: hidden;
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.hm-marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: hm-marquee 38s linear infinite;
}

.hm-marquee span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.1;
  color: var(--terracotta);
  white-space: nowrap;
}

.hm-marquee span:nth-of-type(2n) { color: var(--maroon); }
.hm-marquee i { font-style: normal; color: var(--gold); font-size: 22px; }

/* Track holds the phrase set twice, so shifting by half loops seamlessly */
@keyframes hm-marquee { to { transform: translateX(calc(-50% - 20px)); } }

/* ----- 02 Stay (dark panel) ----- */
.hm-stay { padding: clamp(24px, 4vw, 48px) 10px; }

.hm-stay-panel {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(200, 164, 99, 0.16), transparent 55%),
    linear-gradient(160deg, #3a1a1a 0%, #2b1d17 60%, #21150f 100%);
  color: var(--ivory);
  border-radius: 32px;
  padding: clamp(72px, 10vw, 130px) 0;
  overflow: hidden;
}

.hm-stay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.hm-stay .hm-index { color: var(--gold); }
.hm-stay .hm-title { color: var(--ivory); }
.hm-stay .hm-title em { color: var(--gold); }
.hm-stay .hm-title { margin-bottom: 28px; }
.hm-stay .hm-body { color: rgba(245, 239, 228, 0.74); }

.hm-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}

.hm-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(245, 239, 228, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(245, 239, 228, 0.04);
  font-size: 15px;
  line-height: 1.35;
  transition: background 0.25s, border-color 0.25s;
}

.hm-features li:hover { background: rgba(245, 239, 228, 0.08); border-color: rgba(200, 164, 99, 0.4); }

.hm-ic {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(200, 164, 99, 0.16);
  color: var(--gold);
}

.hm-ic svg { width: 19px; height: 19px; }

.hm-stay-media { position: relative; }
.hm-img-stay { aspect-ratio: 4 / 5; border-radius: 26px; background: #3a2a22; }

.hm-float {
  position: absolute;
  left: -32px;
  bottom: 40px;
  max-width: 260px;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(245, 239, 228, 0.9);
  color: var(--ink);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.55);
}

.hm-float strong {
  display: block;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--maroon);
}

.hm-float span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }

/* ----- 03 Celebrate (bento) ----- */
.hm-head-split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}

.hm-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(240px, 24vw, 320px);
  gap: 16px;
}

.hm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--ivory);
  text-decoration: none;
  isolation: isolate;
  background: var(--ink);
}

.hm-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hm-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(33, 21, 15, 0) 30%, rgba(33, 21, 15, 0.55) 62%, rgba(33, 21, 15, 0.9) 100%);
  transition: opacity 0.4s;
}

.hm-b-hero { grid-column: span 2; grid-row: span 2; }
.hm-b-wide { grid-column: span 2; }

.hm-chip {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
  background: rgba(33, 21, 15, 0.38);
  border: 1px solid rgba(245, 239, 228, 0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hm-go {
  position: absolute;
  top: 14px;
  right: 14px;
}

.hm-go .arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ivory);
  color: var(--maroon);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.3s, color 0.3s;
}

.hm-go svg { width: 15px; height: 15px; }

.hm-card-body { padding: 24px; }
.hm-card h3 { font-size: 20px; color: var(--ivory); max-width: 340px; }
.hm-b-hero h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.02em; max-width: 440px; }

.hm-card p {
  margin-top: 8px;
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(245, 239, 228, 0.8);
  max-width: 400px;
}

.hm-card:hover > img,
.hm-card:focus-visible > img { transform: scale(1.06); }
.hm-card:hover .hm-go .arrow,
.hm-card:focus-visible .hm-go .arrow { transform: rotate(45deg); background: var(--maroon); color: var(--ivory); }
.hm-card:focus-visible { outline: 2px solid var(--maroon); outline-offset: 4px; }

.hm-actions-end { margin-top: 44px; }

/* ----- 04 Legacy (full-bleed photo) ----- */
.hm-legacy { padding: 0 10px 10px; }

.hm-legacy-frame {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: var(--maroon-deep);
}

.hm-legacy-bg {
  position: absolute;
  inset: -12% 0 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  z-index: -2;
}

.hm-legacy-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(110, 31, 33, 0.25) 0%, rgba(80, 22, 24, 0.7) 45%, rgba(46, 14, 15, 0.96) 100%);
}

.hm-legacy-inner { padding-top: 160px; padding-bottom: clamp(56px, 8vw, 100px); color: var(--ivory); }
.hm-legacy .hm-index { color: var(--gold); }
.hm-legacy .hm-title { color: var(--ivory); max-width: 1000px; }
.hm-legacy .hm-title em { color: var(--gold); }

.hm-legacy-cols {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 36px;
  border-top: 1px solid rgba(245, 239, 228, 0.18);
}

.hm-legacy .hm-big { color: var(--ivory); }
.hm-legacy .hm-body { color: rgba(245, 239, 228, 0.78); }

/* ----- Home responsive ----- */
@media (max-width: 1100px) {
  .hm-bento { grid-template-columns: repeat(2, 1fr); }
  .hm-b-hero { grid-row: span 1; }
  .hm-b-hero, .hm-b-wide { grid-column: span 2; }
}

@media (max-width: 960px) {
  .hm-about-grid, .hm-stay-grid, .hm-head-split, .hm-legacy-cols { grid-template-columns: 1fr; }
  .hm-collage { max-width: 520px; margin-right: 36px; }
  .hm-about-copy { padding-top: 0; }
  .hm-stay-media { max-width: 560px; margin-left: 32px; }
}

@media (max-width: 600px) {
  .hm-bento { grid-template-columns: 1fr; grid-auto-rows: 340px; }
  .hm-b-hero, .hm-b-wide { grid-column: auto; }
  .hm-features { grid-template-columns: 1fr; }
  .hm-seal { width: 104px; height: 104px; top: -30px; right: -10px; }
  .hm-seal text { font-size: 11.5px; }
  .hm-img-inset { right: -24px; border-width: 6px; }
  .hm-collage { margin-right: 24px; }
  .hm-stats > div:nth-child(odd) { padding-right: 14px; }
  .hm-stats > div:nth-child(even) { padding-left: 16px; }
  .hm-float { left: -16px; bottom: 20px; max-width: 220px; }
  .hm-stay-media { margin-left: 16px; }
  .hm-stay-panel, .hm-legacy-frame { border-radius: 24px; }
  .hm-actions .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hm-seal svg, .hm-marquee-track { animation: none; }
}
