/* ==========================================================================
   The Claremont Guest House — stylesheet
   No inline styles anywhere on the site, so the CSP can stay at style-src 'self'.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f3ec;
  --paper-2: #efe7da;
  --paper-3: #e6dccb;
  --ink: #1f1a1e;
  --ink-soft: #574e54;
  --ink-mute: #6b6268;
  --plum: #4b2142;
  --plum-2: #5e2c54;
  --plum-deep: #2a1226;
  --brass: #7d5f33;
  --brass-soft: #d7bf96;
  --line: rgba(31, 26, 30, 0.12);
  --line-light: rgba(247, 243, 236, 0.18);

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --header-h: 84px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 60px -30px rgba(42, 18, 38, 0.35);
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4,
.times dd, .kv dd, .book-phone, .contact-value, .distances, .menu-peek, .big {
  font-variant-numeric: lining-nums;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.9rem, 6.4vw, 5.8rem); }
h2 { font-size: clamp(2.3rem, 4.6vw, 4rem); }
h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
h4 { font-size: 1.35rem; }
em { font-style: italic; color: var(--plum); }

::selection { background: var(--plum); color: var(--paper); }

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

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--plum);
  color: var(--paper);
  border-radius: 999px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

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

.section { padding-block: clamp(80px, 11vw, 150px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--alt { background: var(--paper-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 34em;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px 48px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head h2 { margin: 0; max-width: 14em; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head--center .lead { margin-inline: auto; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--plum); color: var(--paper); }
.btn-primary:hover { background: var(--plum-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--plum-deep); }
.btn-light:hover { background: var(--brass-soft); }
.btn-outline-light { border-color: var(--line-light); color: var(--paper); }
.btn-outline-light:hover { border-color: var(--paper); background: rgba(247, 243, 236, 0.08); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--plum);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 10px 30px -18px rgba(42, 18, 38, 0.35);
  --header-h: 72px;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  margin-right: auto;
}
.brand-mark {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink);
}
.brand-mark span { color: var(--plum); }
.brand-sub {
  margin-top: 6px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.nav ul { display: flex; gap: 30px; }
.nav a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  padding-block: 6px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--plum);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--plum); }
.nav-extra { display: none; }

.header-cta { padding: 12px 22px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span:not(.sr-only) {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 6px; }
  .nav a {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 8vw, 3rem);
    font-weight: 500;
    line-height: 1.25;
  }
  .nav a::after { display: none; }
  .nav-extra {
    display: grid;
    gap: 12px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    font-size: 0.95rem;
  }
  .nav-extra a { font-family: var(--sans); font-size: 1rem; }
  .nav-extra a:not(.btn) { color: var(--ink-soft); }
  .nav-extra .btn { margin-top: 8px; color: var(--paper); }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: var(--paper); box-shadow: none; }
}

/* ---------- Arch frames (echo the Victorian doorways) ---------- */

.arch {
  border-radius: 999px 999px 6px 6px;
  overflow: hidden;
  background: var(--paper-3);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Intro / welcome ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}
.split--reverse > :first-child { order: 2; }

.collage { position: relative; padding: 0 18% 18% 0; }
.collage-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.collage-main img { width: 100%; height: 100%; object-fit: cover; }
.collage-small {
  position: absolute;
  right: 0; bottom: 0;
  width: 44%;
  aspect-ratio: 3 / 4;
  border: 8px solid var(--paper);
  box-shadow: var(--shadow);
}
.section--alt .collage-small { border-color: var(--paper-2); }

.signature {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
}
.signature-name {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-style: italic;
  color: var(--plum);
  line-height: 1;
}
.signature-role { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- Amenities ---------- */

.amenities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.amenity {
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}
.amenity:hover { background: var(--paper); }
.amenity svg { width: 30px; height: 30px; color: var(--plum); margin-bottom: 22px; }
.amenity h3 { font-size: 1.45rem; margin-bottom: 6px; }
.amenity p { font-size: 0.92rem; line-height: 1.55; }

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

.room-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.room-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4.3;
  isolation: isolate;
}
.room-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--ease);
}
.room-card::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(42, 18, 38, 0) 40%, rgba(42, 18, 38, 0.86) 100%);
}
.room-card:hover img { transform: scale(1.06); }
.room-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.room-card h3 { color: var(--paper); margin-bottom: 4px; }
.room-card p { color: rgba(247, 243, 236, 0.8); font-size: 0.9rem; line-height: 1.5; }
.room-card .tag {
  position: absolute;
  top: 18px; left: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(247, 243, 236, 0.92);
  color: var(--plum-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  margin: 32px 0 40px;
}
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--ink);
}
.feature-list svg { width: 22px; height: 22px; flex: none; color: var(--brass); margin-top: 2px; }

.note {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 14px;
  background: var(--paper-2);
  border-left: 3px solid var(--brass);
  font-size: 0.95rem;
}
.note svg { width: 22px; height: 22px; flex: none; color: var(--brass); margin-top: 3px; }
.note p { color: var(--ink); }
.note strong { font-weight: 700; }

/* ---------- Breakfast (dark band) ---------- */

.band-dark {
  background: var(--plum-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.band-dark h2,
.band-dark h3 { color: var(--paper); }
.band-dark p { color: rgba(247, 243, 236, 0.74); }
.band-dark em { color: var(--brass-soft); }
.band-dark .eyebrow { color: var(--brass-soft); }

.times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 36px 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--line-light);
}
.times div { padding: 22px 24px; background: var(--plum-deep); }
.times dt { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-soft); }
.times dd { margin: 6px 0 0; font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; }
.band-dark .times div { background: var(--plum-deep); }

.menu-peek { display: grid; gap: 14px; margin-bottom: 40px; }
.menu-peek li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--serif);
  font-size: 1.4rem;
}
.menu-peek li span:last-child { font-family: var(--sans); font-size: 0.82rem; color: rgba(247, 243, 236, 0.6); align-self: center; text-align: right; }

.band-media { position: relative; }
.band-media .arch { aspect-ratio: 4 / 5; }
.band-media .ring-deco {
  position: absolute;
  inset: -40px -40px auto auto;
  width: 220px; height: 220px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  pointer-events: none;
}

/* ---------- Explore ---------- */

.places {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.place {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
a.place:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.place-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.place svg { width: 30px; height: 30px; color: var(--plum); }
.place .dist {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  white-space: nowrap;
}
.place h3 { font-size: 1.65rem; margin-bottom: 8px; }
.place p { font-size: 0.93rem; line-height: 1.55; }
.place .ext { margin-top: auto; padding-top: 24px; font-size: 0.8rem; font-weight: 600; color: var(--plum); }
.section--alt .place { background: var(--paper); }

/* ---------- Interior page hero ---------- */

.page-hero {
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 110px));
  padding-bottom: clamp(40px, 5vw, 64px);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 24px 64px;
}
.page-hero h1 { margin: 0; }
.page-hero .lead { margin: 0 0 8px; }
.page-banner {
  border-radius: clamp(20px, 3vw, 32px);
  overflow: hidden;
  aspect-ratio: 21 / 8;
}
.page-banner img { width: 100%; height: 100%; object-fit: cover; }

.breadcrumb { margin-bottom: 26px; font-size: 0.8rem; color: var(--ink-mute); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--plum); }
.breadcrumb span { margin-inline: 8px; }

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

.room-types {
  display: grid;
  gap: clamp(56px, 8vw, 110px);
}
.room-type {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.room-type:nth-child(even) > :first-child { order: 2; }
.room-type-media {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px;
}
.room-type-media .tall { grid-row: span 2; }
.room-type-media div { border-radius: var(--radius); overflow: hidden; }
.room-type-media img { width: 100%; height: 100%; object-fit: cover; }
.room-type-media .tall { aspect-ratio: 4 / 4.6; }
.room-type .num {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--brass);
  margin-bottom: 10px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips li {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.included {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.included li { padding: 30px; background: var(--paper-2); }
.included svg { width: 28px; height: 28px; color: var(--plum); margin-bottom: 18px; }
.included h3 { font-size: 1.4rem; margin-bottom: 6px; }
.included p { font-size: 0.92rem; line-height: 1.55; }

/* ---------- Breakfast page ---------- */

.menu-card {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(36px, 6vw, 80px) clamp(24px, 6vw, 88px);
  background: var(--paper);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}
.menu-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--brass-soft);
  border-radius: 4px;
  pointer-events: none;
}
.menu-card h2 { margin-bottom: 4px; }
.menu-card .menu-sub { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }
.menu-course { padding: 30px 0; }
.menu-course + .menu-course { border-top: 1px solid var(--line); }
.menu-course h3 { font-size: 0.78rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--plum); margin-bottom: 18px; }
.menu-item { margin-bottom: 18px; }
.menu-item:last-child { margin-bottom: 0; }
.menu-item h4 { margin-bottom: 4px; font-size: 1.6rem; }
.menu-item p { font-size: 0.95rem; margin: 0; }
.menu-item .opt { display: block; margin-top: 4px; font-size: 0.8rem; font-style: italic; color: var(--brass); }
.menu-divider { display: block; width: 60px; height: 1px; margin: 26px auto; background: var(--brass-soft); }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { padding: 32px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.info-card svg { width: 28px; height: 28px; color: var(--plum); margin-bottom: 18px; }
.info-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.info-card p { font-size: 0.95rem; line-height: 1.6; }

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

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.filters button {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: var(--paper); }

.masonry { columns: 3 300px; column-gap: 16px; }
.masonry figure { margin: 0 0 16px; break-inside: avoid; }
.masonry figure[hidden] { display: none; }
.masonry button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper-3);
  cursor: zoom-in;
}
.masonry img { width: 100%; transition: transform 0.9s var(--ease), opacity 0.4s; }
.masonry button:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(20, 10, 18, 0.94);
  color: var(--paper);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(20, 10, 18, 0.94); }
.lightbox figure { margin: 0; padding: 72px 72px 40px; display: grid; justify-items: center; gap: 16px; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100svh - 160px); width: auto; border-radius: 8px; }
.lightbox figcaption { font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: rgba(247, 243, 236, 0.8); }
.lb-btn {
  position: absolute;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: rgba(247, 243, 236, 0.06);
  color: var(--paper);
  cursor: pointer;
  transition: background 0.3s;
}
.lb-btn:hover { background: rgba(247, 243, 236, 0.16); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Guest info page ---------- */

.info-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc ul { display: grid; gap: 4px; border-left: 1px solid var(--line); }
.toc a {
  display: block;
  padding: 6px 0 6px 18px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.3s, border-color 0.3s;
}
.toc a:hover { color: var(--plum); border-color: var(--plum); }

.info-block { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.info-block:last-child { border-bottom: 0; margin-bottom: 0; }
.info-block h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }

.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.kv div { padding: 24px; border-radius: 14px; background: var(--paper-2); }
.kv dt { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.kv dd { margin: 6px 0 0; font-family: var(--serif); font-size: 1.8rem; line-height: 1.15; color: var(--ink); }
.kv dd small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 0.85rem; line-height: 1.5; color: var(--ink-soft); }

.accordion { display: grid; gap: 12px; }
.accordion details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  transition: border-color 0.3s;
}
.accordion details[open] { border-color: var(--brass-soft); }
.accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--serif);
  font-size: 1.45rem;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "";
  width: 12px; height: 12px;
  flex: none;
  border-right: 1.5px solid var(--plum);
  border-bottom: 1.5px solid var(--plum);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.3s var(--ease);
}
.accordion details[open] summary::after { transform: rotate(-135deg); }
.accordion .acc-body { padding: 0 24px 24px; }
.accordion .acc-body ul { display: grid; gap: 10px; }
.accordion .acc-body li { position: relative; padding-left: 20px; color: var(--ink-soft); font-size: 0.97rem; }
.accordion .acc-body li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 8px; height: 1px; background: var(--brass); }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--paper-2);
  text-decoration: none;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
a.contact-card:hover { background: var(--plum); color: var(--paper); }
a.contact-card:hover .contact-value,
a.contact-card:hover p { color: var(--paper); }
.contact-card svg { width: 30px; height: 30px; color: var(--brass); margin-bottom: 36px; }
.contact-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }
.contact-value {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.15;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.contact-card p { margin-top: 12px; font-size: 0.92rem; }

.address { font-style: normal; }

.map-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  background: var(--plum-deep);
  color: var(--paper);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.map-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.55; }
.map-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(42, 18, 38, 0.1), rgba(42, 18, 38, 0.92)); }
.map-card-body { padding: clamp(28px, 4vw, 48px); }
.map-card h3 { color: var(--paper); }
.map-card p { color: rgba(247, 243, 236, 0.8); }

.distances { display: grid; gap: 0; margin-top: 8px; }
.distances li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.distances li span:last-child { font-family: var(--serif); font-size: 1.3rem; color: var(--plum); white-space: nowrap; }

/* ---------- 404 ---------- */

.notfound {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 40px) var(--gutter) 80px;
}
.notfound .big { font-family: var(--serif); font-size: clamp(6rem, 18vw, 12rem); line-height: 1; color: var(--plum); }

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

.site-footer {
  background: var(--plum-deep);
  color: rgba(247, 243, 236, 0.72);
  padding: clamp(64px, 8vw, 110px) 0 32px;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-light);
}
.site-footer .brand-mark { color: var(--paper); }
.site-footer .brand-mark span { color: var(--brass-soft); }
.site-footer .brand-sub { color: rgba(247, 243, 236, 0.5); }
.site-footer p { color: rgba(247, 243, 236, 0.66); margin-top: 22px; max-width: 26em; }
.footer-title { margin-bottom: 18px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-soft); }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: rgba(247, 243, 236, 0.86); transition: color 0.3s; }
.site-footer a:hover { color: var(--brass-soft); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  font-size: 0.8rem;
  color: rgba(247, 243, 236, 0.45);
}

/* ---------- Mobile action bar ---------- */

.action-bar { display: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .amenities { grid-template-columns: repeat(3, 1fr); }
  .room-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .places { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .split,
  .page-hero-grid,
  .room-type,
  .info-layout,
  .contact-grid { grid-template-columns: 1fr; }
  .split--reverse > :first-child,
  .room-type:nth-child(even) > :first-child { order: 0; }
  .section-head { grid-template-columns: 1fr; }
  .included,
  .info-cards { grid-template-columns: 1fr 1fr; }
  .toc { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; margin: 0; }
  .page-banner { aspect-ratio: 16 / 9; }
}

@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .amenities { grid-template-columns: 1fr 1fr; }
  .amenity { padding: 22px 18px; }
  .amenity h3 { font-size: 1.25rem; }
  .places,
  .included,
  .info-cards,
  .kv { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .times { grid-template-columns: 1fr; }
  .lightbox figure { padding: 72px 12px 24px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }

  .header-cta { display: none; }
  .action-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 1px solid var(--line);
  }
  .action-bar .btn { padding: 13px 16px; }
}

@media (max-width: 520px) {
  .room-cards { grid-template-columns: 1fr; }
  .room-card { aspect-ratio: 4 / 3.6; }
  .amenity { padding: 18px 14px; }
  .amenity svg { width: 26px; height: 26px; margin-bottom: 14px; }
  .amenity h3 { font-size: 1.12rem; }
  .amenity p { font-size: 0.8rem; }
  .contact-value { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header, .action-bar, .site-footer { display: none !important; }
  body { background: #fff; }
}

.fine { margin-top: 28px; font-size: 0.82rem; color: var(--ink-mute); }
.notfound .lead { margin-inline: auto; margin-bottom: 32px; }
.notfound .btn-row { justify-content: center; }

/* ---------- Refinements ---------- */

.split .btn-row { margin-top: 36px; }
.menu-peek { margin-bottom: 0; }
.room-card img { object-position: 50% 78%; }

/* ==========================================================================
   Cinematic layer
   ========================================================================== */

/* Smooth cross-page fades in browsers that support view transitions. */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 0.45s; }

.eyebrow--light { color: var(--brass-soft); }

/* ---------- Home hero ---------- */

.hero { margin-top: var(--header-h); padding-top: clamp(40px, 6vw, 88px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.hero h1 { font-size: clamp(2.8rem, 5.6vw, 5rem); }
.hero-media { aspect-ratio: 4 / 4.4; }
.hero-price { margin-top: 18px; font-size: 0.95rem; }
.hero-price strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--plum); }

/* Date picker; without JavaScript a plain booking link shows instead. */
.book-form {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  margin-top: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.book-form label {
  display: grid;
  padding: 10px 16px;
  border-right: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.book-form input,
.book-form select {
  min-width: 0;
  padding: 2px 0;
  border: 0;
  background: none;
  font: 600 1rem var(--sans);
  color: var(--ink);
}
.book-form label:nth-child(3) { border-right: 0; }
.book-form .btn { grid-column: 1 / -1; padding: 16px; border-radius: 0; }
.book-fallback { margin-top: 32px; }
.js .book-fallback,
html:not(.js) .book-form { display: none; }

.proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.proof li { display: flex; align-items: center; gap: 10px; }
.proof svg { width: 22px; height: 22px; color: var(--plum); }

.section-head .lead { margin: 16px 0 0; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 16 / 10; border-radius: var(--radius); }
}
@media (max-width: 600px) {
  .hero { padding-top: 16px; }
  .hero h1 { font-size: 2.5rem; }
  .hero-media { aspect-ratio: 2 / 1; }
  .hero .lead { font-size: 1rem; }
  .book-form { margin-top: 20px; grid-template-columns: 1fr 1fr; }
  .book-form label:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof { justify-content: flex-start; }
}

/* ---------- Inner pages: cinematic hero ---------- */

.page-cine {
  position: relative;
  min-height: min(80svh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--plum-deep);
  color: var(--paper);
}
.page-cine-media { position: absolute; inset: 0; z-index: -2; }
.page-cine-media img { width: 100%; height: 100%; object-fit: cover; animation: settle 2.4s var(--ease) both; }
@keyframes settle { from { scale: 1.08; } to { scale: 1; } }
.page-cine::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(110% 90% at 10% 100%, rgba(20, 8, 18, 0.75), rgba(20, 8, 18, 0) 65%),
    linear-gradient(180deg, rgba(20, 8, 18, 0.45) 0%, rgba(20, 8, 18, 0.2) 40%, rgba(20, 8, 18, 0.9) 100%);
}
.page-cine-inner { padding-top: 64px; padding-bottom: clamp(48px, 6vw, 84px); }
.page-cine h1 { color: var(--paper); margin: 0; font-size: clamp(3rem, 7vw, 6.2rem); line-height: 0.98; }
.page-cine h1 em { color: var(--brass-soft); }
.page-cine .lead { color: rgba(247, 243, 236, 0.86); margin: 0 0 8px; }
.page-cine .eyebrow { color: var(--brass-soft); }
.page-cine .breadcrumb { color: rgba(247, 243, 236, 0.66); }
.page-cine .breadcrumb a:hover { color: var(--paper); }

/* ---------- Book-direct perks ---------- */

.perks-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.perks-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.perks-phone {
  display: inline-block;
  margin: 12px 0 30px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-variant-numeric: lining-nums;
  line-height: 1;
  color: var(--plum);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  transition: border-color 0.3s;
}
.perks-phone:hover { border-color: var(--plum); }
.perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.perk {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.perk:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.perk:nth-child(even) { margin-top: 48px; }
.perk svg { width: 34px; height: 34px; color: var(--plum); margin-bottom: 40px; }
.perk h3 { font-size: 1.7rem; margin-bottom: 8px; }
.perk p { font-size: 0.95rem; line-height: 1.6; }

/* ---------- Final call to action (every page) ---------- */

.cta-final {
  position: relative;
  min-height: min(90svh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--plum-deep);
  color: var(--paper);
  text-align: center;
}
.cta-final-media { position: absolute; inset: 0; z-index: -2; }
.cta-final-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-final::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(80% 70% at 50% 50%, rgba(42, 18, 38, 0.6), rgba(42, 18, 38, 0.92));
}
.cta-final-inner { padding-block: clamp(96px, 12vw, 160px); }
.cta-final h2 {
  color: var(--paper);
  font-size: clamp(3rem, 7.6vw, 7rem);
  line-height: 0.98;
  max-width: 11em;
  margin: 0 auto 28px;
}
.cta-final h2 em { color: var(--brass-soft); }
.cta-final p { color: rgba(247, 243, 236, 0.84); max-width: 32em; margin: 0 auto 40px; font-size: 1.12rem; }
.cta-final .btn-row { justify-content: center; }
.cta-final .eyebrow { justify-content: center; }
.cta-final .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.btn-lg { padding: 18px 34px; font-size: 0.98rem; }

/* ---------- Room cards: richer hover ---------- */

.room-card-body p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease), opacity 0.6s var(--ease);
}
.room-card:hover .room-card-body p,
.room-card:focus-visible .room-card-body p { max-height: 4em; opacity: 1; }
.room-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-soft);
}
.room-card .more svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.room-card:hover .more svg { transform: translateX(5px); }
@media (hover: none) {
  .room-card-body p { max-height: none; opacity: 1; }
}

/* ---------- Responsive (cinematic layer) ---------- */

@media (max-width: 900px) {
  .perks-grid { grid-template-columns: 1fr; }
  .perks-intro { position: static; }
}

@media (max-width: 600px) {
  .perks { grid-template-columns: 1fr; }
  .perk:nth-child(even) { margin-top: 0; }
  .cta-final .eyebrow::before,
  .cta-final .eyebrow::after { display: none; }
}

/* ---------- Guest reviews ---------- */

.reviews-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.rating-card {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  padding: clamp(32px, 4vw, 48px);
  border-radius: clamp(20px, 3vw, 28px);
  background: var(--plum-deep);
  color: var(--paper);
  text-align: center;
  box-shadow: var(--shadow);
}
.rating-card .eyebrow { justify-content: center; }
.rating-score { margin: 0; display: flex; justify-content: center; align-items: baseline; gap: 8px; }
.rating-num {
  font-family: var(--serif);
  font-size: clamp(5rem, 9vw, 7.5rem);
  font-weight: 500;
  font-variant-numeric: lining-nums;
  line-height: 1;
  color: var(--paper);
}
.rating-max { font-family: var(--serif); font-size: 1.6rem; color: rgba(247, 243, 236, 0.6); }
.stars { display: flex; justify-content: center; gap: 4px; margin: 14px 0 10px; }
.stars svg { width: 24px; height: 24px; color: var(--brass-soft); }
.rating-meta { color: rgba(247, 243, 236, 0.8); margin-bottom: 28px; }
.rating-asof { margin: 20px 0 0; font-size: 0.75rem; color: rgba(247, 243, 236, 0.5); }

.themes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.theme {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 24px 44px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}
.theme svg { width: 28px; height: 28px; flex: none; color: var(--plum); margin-top: 2px; }
.theme h3 { font-size: 1.45rem; margin-bottom: 4px; }
.theme p { font-size: 0.92rem; line-height: 1.55; }
.theme-count {
  position: absolute;
  left: 68px;
  bottom: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

/* Perks now sit on plain paper, so lift the cards. */
.perk { background: var(--paper-2); border-color: transparent; }

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .rating-card { position: static; }
}
@media (max-width: 600px) {
  .themes { grid-template-columns: 1fr; }
}

.room-cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) {
  .room-cards--3 { grid-template-columns: 1fr; }
  .room-cards--3 .room-card { aspect-ratio: 4 / 3.6; }
}

/* Photo heroes start below the solid header bar. */
.page-cine { margin-top: var(--header-h); min-height: min(calc(80svh - var(--header-h)), 700px); }
