/* =====================================================================
   JCCA – Jayanagar Cultural & Civic Association
   Palette taken from the club: logo blue, teak & brass interiors,
   and the chequered marble floor of the entrance hall.
   ===================================================================== */

:root {
  --ink: #16224d;          /* deep navy, from the logo */
  --ink-2: #1f2f66;
  --blue: #2b46b0;         /* logo blue */
  --brass: #c19447;        /* brass fittings */
  --brass-text: #8a6424;   /* brass dark enough for text on white */
  --stone: #eef0f3;        /* cool marble */
  --paper: #ffffff;
  --text: #1a1f30;
  --muted: #565d70;
  --line: #d8dce4;
  --on-ink: #f3f4f8;
  --on-ink-muted: #b9c0d6;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --kn: "Noto Serif Kannada", serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 4px;
  --check: 26px;
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 60px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 14px; }
.muted { color: var(--muted); }
.narrow { max-width: 68ch; }

/* ---------- The chequer band (from the entrance floor) ---------- */
.checks {
  height: var(--check);
  background: repeating-conic-gradient(var(--ink) 0 25%, var(--paper) 0 50%) 0 0 / var(--check) var(--check);
}
.checks--thin { --check: 14px; }

/* ---------- Utility bar & masthead ---------- */
.utility { background: var(--ink); color: var(--on-ink-muted); font-size: .85rem; }
.utility__in { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.utility a { color: var(--on-ink); text-decoration: none; }
.utility a:hover { text-decoration: underline; color: #fff; }
.utility__links { display: flex; gap: 24px; }

.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.masthead__in { display: flex; align-items: center; gap: 24px; min-height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 46px; height: auto; }
.brand__text { display: flex; flex-direction: column; font-family: var(--display); font-size: 1.06rem; line-height: 1.12; font-weight: 600; }

.sitenav { display: flex; align-items: center; gap: 28px; }
.sitenav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.sitenav ul a {
  color: var(--text); text-decoration: none; font-weight: 500; font-size: .98rem;
  padding-block: 6px; border-bottom: 2px solid transparent;
}
.sitenav ul a:hover { color: var(--blue); }
.sitenav ul a[aria-current="page"] { border-bottom-color: var(--brass); color: var(--ink); }

.navtoggle { display: none; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  font: 600 .98rem/1 var(--sans);
  border-radius: var(--radius); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn--brass { background: var(--brass); color: #1b1608; }
.btn--brass:hover { background: #d5a858; color: #1b1608; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--blue); color: #fff; }
.btn--line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--line-light { border-color: var(--on-ink-muted); color: #fff; }
.btn--line-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.link { font-weight: 600; color: var(--blue); }

/* ---------- Home cover ---------- */
.cover { background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; }
.cover__in {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 80px);
  align-items: end; padding-top: clamp(48px, 7vw, 96px);
}
.cover__text { padding-bottom: clamp(32px, 6vw, 88px); }
.cover__kicker { color: var(--brass); font-weight: 600; margin-bottom: 20px; }
.cover__title {
  font-size: clamp(3rem, 1.6rem + 5.2vw, 6.2rem);
  font-weight: 500; line-height: .98; letter-spacing: -.025em;
  margin-bottom: 28px; color: #fff;
}
.cover__lede { font-size: 1.15rem; color: var(--on-ink-muted); max-width: 52ch; }
.cover__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.cover .btn--line { color: #fff; border-color: rgba(255,255,255,.6); }
.cover .btn--line:hover { background: #fff; color: var(--ink); }

.cover__arch {
  margin: 0; position: relative; align-self: stretch;
  border-radius: 999px 999px 0 0; overflow: hidden;
  min-height: 520px;
}
.cover__arch::after {
  content: ""; position: absolute; inset: 12px 12px 0 12px; z-index: 1; pointer-events: none;
  border: 1px solid rgba(232,200,140,.85); border-bottom: 0; border-radius: 999px 999px 0 0;
}
.cover__arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-block: 0; padding-block: 28px 36px;
  border-top: 1px solid rgba(193,148,71,.5);
  position: relative; z-index: 1; background: var(--ink);
}
.facts div { padding-inline: 4px; }
.facts div + div { border-left: 1px solid rgba(255,255,255,.12); padding-left: clamp(16px, 3vw, 32px); }
.facts dt { color: var(--on-ink-muted); font-size: .92rem; order: 2; }
.facts dd { margin: 0; font-family: var(--display); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.1; color: #fff; }
.facts div { display: flex; flex-direction: column-reverse; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: var(--on-ink-muted); }
.section--ink a:not(.btn) { color: #fff; }
.section--stone { background: var(--stone); }
.section__head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head p { font-size: 1.1rem; color: var(--muted); }
.section--ink .section__head p { color: var(--on-ink-muted); }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.section__head--split p { margin: 0 0 .6em; }
.section__more { margin-top: 40px; }

.prose { max-width: 62ch; }
.prose--lead p:first-child { font-size: 1.22rem; line-height: 1.6; color: var(--ink); }
.prose h2 + p { margin-top: .25em; }

/* Home: intro spread */
.spread__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.spread__photos { position: relative; padding-bottom: 18%; }
.spread__a { width: 82%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.spread__b {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; object-fit: cover;
  border: 8px solid var(--paper); border-radius: var(--radius);
}

/* Home: facility mosaic */
.mosaic {
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, 22vw);
  max-height: none;
}
.mosaic__tile { position: relative; overflow: hidden; border-radius: var(--radius); text-decoration: none; display: block; }
.mosaic__tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic__tile:nth-child(4), .mosaic__tile:nth-child(7) { grid-column: span 2; }
.mosaic__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mosaic__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,16,40,.78), rgba(10,16,40,0) 55%); }
.mosaic__label {
  position: absolute; left: 18px; bottom: 14px; right: 18px; z-index: 1;
  font-family: var(--display); font-size: clamp(1.2rem, 1rem + .8vw, 1.7rem); color: #fff;
}
.mosaic__tile:nth-child(1) .mosaic__label { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); left: 24px; bottom: 20px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .mosaic__tile:hover img { transform: scale(1.04); }
}
@media (min-width: 1300px) { .mosaic { grid-auto-rows: 270px; } }

/* Rates (home) */
.rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.rate img { aspect-ratio: 3/2; object-fit: cover; width: 100%; border-radius: var(--radius); }
.rate__body { padding-top: 20px; }
.rate h3 { margin-bottom: 6px; }
.rate__price { font-family: var(--display); font-size: 1.6rem; color: var(--ink); margin-bottom: 10px; line-height: 1.2; }
.rate__price span { font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.rate p:not(.rate__price) { color: var(--muted); }

/* Events (home) */
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.event__img { display: block; overflow: hidden; border-radius: var(--radius); margin-bottom: 16px; }
.event__img img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.event time, .timeline time { color: var(--brass-text); font-weight: 600; font-size: .92rem; }
.event h3 { margin: 6px 0 8px; font-size: 1.5rem; }
.event h3 a, .timeline h2 a { color: var(--ink); text-decoration: none; }
.event h3 a:hover, .timeline h2 a:hover { text-decoration: underline; }
.event p { color: var(--muted); }

/* Visit */
.visit__in { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.visit__address { font-size: 1.15rem; color: var(--ink); }
.visit .btn { margin: 0 10px 10px 0; }
.visit__map, .mapbox { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--stone); }
.visit__map iframe, .mapbox iframe { display: block; width: 100%; height: 420px; border: 0; }
.mapbox { margin-top: 24px; }
.mapbox iframe { height: 320px; }

/* ---------- Inner page head ---------- */
.pagehead { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.pagehead__in { position: relative; z-index: 1; padding-block: clamp(56px, 8vw, 112px) clamp(40px, 5vw, 64px); }
.pagehead h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); line-height: 1; letter-spacing: -.02em; margin-bottom: 18px; max-width: 16ch; }
.pagehead p { color: var(--on-ink-muted); font-size: 1.15rem; max-width: 56ch; margin: 0; }
.pagehead--photo { min-height: clamp(340px, 46vw, 520px); display: flex; align-items: flex-end; }
.pagehead--photo .pagehead__in { width: 100%; }
.pagehead__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pagehead--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(22,34,77,.94) 0%, rgba(22,34,77,.72) 45%, rgba(22,34,77,.15) 100%);
}
.pagehead--photo .pagehead__in { z-index: 2; }
.pagehead--photo p { color: #dfe3ee; }

/* ---------- Two-column layouts ---------- */
.twocol { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.twocol--flip > :first-child { order: 2; }
.twocol--form { grid-template-columns: .85fr 1.15fr; }
.framed { margin: 0; }
.framed img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.pillars article { border-top: 2px solid var(--brass); padding-top: 24px; }
.pillars h2 { font-size: 1.9rem; }
.pillars p { color: var(--muted); }

.ticks { list-style: none; padding: 0; margin: 0 0 1.5em; }
.ticks li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 18px; width: 12px; height: 12px;
  background: repeating-conic-gradient(var(--ink) 0 25%, transparent 0 50%) 0 0 / 6px 6px;
}

/* Videos */
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.video { margin: 0; }
.video__frame { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #0c1330; }
.video__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video figcaption { margin-top: 12px; color: var(--on-ink-muted); }

/* ---------- Committee ---------- */
.h-sub { font-size: 1.9rem; margin-bottom: 28px; }
.people { list-style: none; padding: 0; margin: 0 0 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.person {
  display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: start;
  padding: 24px 20px 24px 0; border-bottom: 1px solid var(--line);
}
.person__mono {
  grid-row: span 3; width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: var(--stone); color: var(--ink);
  font-family: var(--display); font-size: 1.25rem; font-weight: 600;
}
.people--lead .person__mono { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 2px var(--brass); }
.person__role { font-size: .88rem; color: var(--brass-text); font-weight: 600; }
.person__name { font-family: var(--display); font-size: 1.3rem; line-height: 1.2; color: var(--ink); }
.person__kn { font-family: var(--kn); font-size: .95rem; color: var(--muted); }
.note { color: var(--muted); }

/* ---------- Facilities ---------- */
.chips { position: sticky; top: var(--head-h); z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.chips__in { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: thin; }
.chips a {
  flex: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .9rem; font-weight: 500; color: var(--text); text-decoration: none; white-space: nowrap;
}
.chips a:hover, .chips a.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }

.facility { padding-block: clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.facility:nth-of-type(even) { background: var(--stone); }
.facility__in { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.facility--flip .facility__hero { order: 2; }
.facility__hero { display: block; border-radius: var(--radius); overflow: hidden; }
.facility__hero img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.facility__text h2 { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.8rem); }
.facility__text > p { font-size: 1.12rem; color: var(--muted); max-width: 44ch; }
.facility__count { font-size: .88rem; color: var(--muted); margin-top: 10px; }

.thumbs { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.thumbs a { display: block; border-radius: 3px; overflow: hidden; }
.thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: opacity .2s; }
.thumbs a:hover img { opacity: .82; }
.thumbs--row { grid-template-columns: repeat(3, 1fr); margin-top: 8px; }

.cta { text-align: center; max-width: 720px; }
.cta p { font-size: 1.1rem; }

/* ---------- Rooms ---------- */
.rooms { display: grid; gap: clamp(48px, 6vw, 80px); margin-top: clamp(40px, 5vw, 64px); }
.room { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.room:nth-child(even) .room__gallery { order: 2; }
.room__main { display: block; border-radius: var(--radius); overflow: hidden; }
.room__main img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.room__body h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.6rem); margin-bottom: 8px; }
.room__body > p:not(.rate__price) { color: var(--muted); }
.room__meta { font-size: .92rem; }

.amenities { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.amenities li { break-inside: avoid; padding: 9px 0 9px 22px; position: relative; border-bottom: 1px solid var(--line); }
.amenities li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 8px; background: var(--brass); transform: rotate(45deg); }

.ratetable { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.ratetable caption { text-align: left; font-family: var(--display); font-size: 1.6rem; color: var(--ink); padding-bottom: 14px; }
.ratetable th, .ratetable td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.ratetable thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: .92rem; }
.ratetable tbody th { font-weight: 600; color: var(--ink); }
.ratetable td { font-variant-numeric: tabular-nums; }

/* ---------- Events ---------- */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline__item {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px);
  padding-block: 40px; border-bottom: 1px solid var(--line); align-items: center;
}
.timeline__item:first-child { padding-top: 0; }
.timeline__img { display: block; border-radius: var(--radius); overflow: hidden; }
.timeline__img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.timeline h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); margin: 8px 0 12px; }
.timeline p { color: var(--muted); }

.crumbs { margin-bottom: 28px; font-weight: 600; }
.masonry { list-style: none; padding: 0; margin: 0; columns: 3 280px; column-gap: 12px; }
.masonry li { break-inside: avoid; margin-bottom: 12px; }
.masonry a { display: block; border-radius: 3px; overflow: hidden; }
.masonry img { width: 100%; }

.pager { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.pager a { display: flex; flex-direction: column; text-decoration: none; font-family: var(--display); font-size: 1.3rem; color: var(--ink); max-width: 45%; }
.pager span { font-family: var(--sans); font-size: .88rem; color: var(--muted); }
.pager__next { text-align: right; margin-left: auto; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); }
.contact__card { padding: 28px 28px 8px 0; }
.contact__card + .contact__card { padding-left: 28px; border-left: 1px solid var(--line); }
.contact__card h2 { font-size: 1.5rem; }
.contact__card a { word-break: break-word; }

/* ---------- Forms ---------- */
.form { background: var(--paper); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); }
.section--stone .form { border-color: transparent; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 12px 14px; border: 1px solid #b9bfcc; border-radius: var(--radius); background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,70,176,.2); }
.field--error input, .field--error textarea { border-color: #b3261e; }
.field__msg { color: #b3261e; font-size: .88rem; margin: 6px 0 0; }
.form__note { font-size: .88rem; color: var(--muted); margin: 16px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 500; }
.notice--ok { background: #e7f3ec; color: #1d5a35; border-left: 4px solid #2e8a52; }
.notice--error { background: #fbeceb; color: #8c1d18; border-left: 4px solid #b3261e; }

.policy h2 { font-size: 1.6rem; margin-top: 1.6em; }
.policy ul { padding-left: 1.2em; }
.policy li { margin-bottom: .5em; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-ink-muted); padding-top: 64px; font-size: .97rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { margin-bottom: 16px; background: #fff; padding: 6px; border-radius: 3px; width: 60px; }
.footer__name { font-family: var(--display); font-size: 1.35rem; color: #fff; line-height: 1.2; }
.footer__h { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--brass); margin-bottom: 14px; letter-spacing: 0; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 6px; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.footer__base p { margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8,12,30,.96); color: #fff; }
.lightbox::backdrop { background: rgba(8,12,30,.9); }
.lightbox__fig { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 72px 24px; }
.lightbox__fig img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 2px; }
.lightbox__fig figcaption { margin-top: 14px; font-size: .95rem; color: var(--on-ink-muted); }
.lightbox__btn {
  position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.25);
  width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
}
.lightbox__btn:hover { background: rgba(255,255,255,.2); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox[data-single] .lightbox__prev, .lightbox[data-single] .lightbox__next { display: none; }
body.lb-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .sitenav ul { gap: 16px; }
  .sitenav ul a { font-size: .93rem; }
  .people { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  :root { --head-h: 64px; }
  .navtoggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
    background: none; border: 1px solid var(--line); border-radius: var(--radius);
    font: 600 .95rem var(--sans); color: var(--ink); cursor: pointer;
  }
  .navtoggle__bars, .navtoggle__bars::before, .navtoggle__bars::after {
    display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .2s;
  }
  .navtoggle__bars::before, .navtoggle__bars::after { content: ""; position: absolute; left: 0; }
  .navtoggle__bars::before { top: -6px; }
  .navtoggle__bars::after { top: 6px; }
  .navtoggle[aria-expanded="true"] .navtoggle__bars { background: transparent; }
  .navtoggle[aria-expanded="true"] .navtoggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .navtoggle[aria-expanded="true"] .navtoggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  .sitenav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px; display: none;
    box-shadow: 0 18px 30px -20px rgba(22,34,77,.35);
  }
  .sitenav.is-open { display: flex; }
  .sitenav ul { flex-direction: column; gap: 0; }
  .sitenav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .sitenav ul a[aria-current="page"] { border-bottom-color: var(--line); color: var(--blue); }
  .brand__text { font-size: .98rem; }
  .brand img { width: 40px; }

  .cover__in { grid-template-columns: 1fr; }
  .cover__text { padding-bottom: 8px; }
  .cover__arch { min-height: 0; aspect-ratio: 4/3.4; max-width: 560px; width: 100%; justify-self: center; }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .facts div:nth-child(3) { border-left: 0; padding-left: 4px; }

  .spread__in, .visit__in, .twocol, .twocol--form, .facility__in, .room, .timeline__item { grid-template-columns: 1fr; }
  .twocol--flip > :first-child { order: 0; }
  .facility--flip .facility__hero, .room:nth-child(even) .room__gallery { order: 0; }
  .framed img { aspect-ratio: 4/3; max-width: 520px; }
  .section__head--split { grid-template-columns: 1fr; gap: 8px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .mosaic__tile:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .mosaic__tile:nth-child(4) { grid-column: span 1; }
  .mosaic__tile:nth-child(7) { grid-column: span 2; }
  .rates, .events { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .videos { grid-template-columns: 1fr; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .contact__card + .contact__card { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .utility__in > span:first-child { display: none; }
  .utility__links { width: 100%; justify-content: space-between; gap: 12px; font-size: .8rem; }
  .navtoggle__label { display: none; }
  .navtoggle { padding: 0 12px; }
  .brand__text { font-size: .9rem; }
  .cover__title { font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .cover__actions .btn { flex: 1 1 auto; }
  .mosaic { grid-auto-rows: 150px; gap: 8px; }
  .mosaic__label { left: 12px; bottom: 10px; font-size: 1.1rem; }
  .rates, .events { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .amenities { columns: 1; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .lightbox__fig { padding: 64px 8px 80px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .ratetable th, .ratetable td { padding: 12px 10px; }
  .visit__map iframe { height: 300px; }
}

@media print {
  .utility, .masthead, .chips, .checks, .footer, .lightbox, .form { display: none !important; }
  .section--ink, .cover, .pagehead { background: none !important; color: #000 !important; }
}
