/* ============================================================
   THE MEATH ARMS - dark forest editorial
   Type: Cormorant Garamond (display) / Figtree (body)
   Shape rule: buttons/pills 8px, cards 16px, inputs 10px
   Theme: single committed dark theme, page-wide
   ============================================================ */

:root {
  --bg: #faf7ef;
  --bg-2: #f2edde;
  --panel: #fdfbf4;
  --line: rgba(30, 53, 39, 0.18);
  --line-soft: rgba(30, 53, 39, 0.1);
  --text: #22382a;
  --muted: #5d6c5f;
  --accent: #96702a;
  --accent-deep: #7d5c20;
  --accent-soft: rgba(150, 112, 42, 0.15);
  --scrim: rgba(15, 21, 16, 0.45);
  --shadow: 0 14px 36px rgba(30, 45, 35, 0.12);
  --r-card: 16px;
  --r-input: 10px;
  --maxw: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Figtree', -apple-system, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.002em;
  color: var(--text);
}
h1 { font-size: clamp(2.7rem, 6vw, 4.9rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
h3 { font-size: 1.55rem; }
.italic { font-style: italic; color: var(--accent); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--text); }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

p.lead { font-size: 1.14rem; color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

/* ---------- Buttons. Pill everywhere. ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.97rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: #22382a; color: #f6f2e7; }
.btn-primary:hover { background: #2f4c39; color: #f6f2e7; }
.btn-ghost {
  background: transparent;
  color: #22382a;
  border: 1.5px solid rgba(34, 56, 42, 0.5);
}
.btn-ghost:hover { background: #22382a; color: #f6f2e7; border-color: #22382a; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(250, 247, 239, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(250, 247, 239, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-soft);
  padding: 11px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.02;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
}
.logo:hover { color: var(--text); }
.logo .sub {
  font-family: 'Figtree', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.94rem;
  position: relative;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -7px; left: 0; right: 0;
  height: 1.5px;
  background: var(--accent);
}
.nav-links a.btn { padding: 11px 24px; font-size: 0.9rem; }
.nav-links a.btn.active::after { display: none; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  padding: 10px;
  z-index: 101;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ---------- Hero (full-bleed, left-aligned) ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 94dvh;
  padding: 96px 0 84px;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 21, 16, 0.72) 0%, rgba(10, 15, 12, 0.45) 48%, rgba(10, 15, 12, 0.12) 100%),
    linear-gradient(0deg, rgba(24, 34, 25, 0.92) 0%, rgba(24, 34, 25, 0.25) 34%, rgba(10, 15, 12, 0.3) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 660px; }
.hero h1 { margin-bottom: 22px; }
.hero p.lead { color: rgba(236, 231, 218, 0.88); max-width: 480px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sub-page hero: image band, shorter */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 56dvh;
  padding: 96px 0 60px;
  overflow: hidden;
}
.page-hero .hero-content { max-width: 720px; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p.lead { max-width: 560px; color: rgba(236, 231, 218, 0.88); }
.page-hero .hero-ctas { margin-top: 28px; }
.page-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: rgba(236, 231, 218, 0.75);
  font-style: italic;
}

/* ---------- Sections ---------- */
section { padding: 110px 0; }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Editorial split (story) ---------- */
.split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 84px;
  align-items: center;
}
.split.flip { grid-template-columns: 6fr 5fr; }
.split-media { position: relative; }
.split-media .frame {
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.tall { aspect-ratio: 4 / 5; }
.frame.wide { aspect-ratio: 4 / 3; }
.split-media .inset {
  position: absolute;
  right: -28px; bottom: -36px;
  width: 46%;
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 1;
  border: 5px solid var(--bg);
  box-shadow: var(--shadow);
}
.split-media .inset img { width: 100%; height: 100%; object-fit: cover; }
.split-body h2 { margin-bottom: 22px; max-width: 16ch; }
.split-body p { color: var(--muted); margin-bottom: 16px; max-width: 54ch; }
.split-body p.opener { color: var(--text); font-size: 1.16rem; }
.split-body .btn { margin-top: 16px; }

.figures {
  display: flex;
  gap: 52px;
  margin: 34px 0 8px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.figure .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.9rem;
  line-height: 1;
  color: var(--accent);
}
.figure .label { font-size: 0.88rem; color: var(--muted); margin-top: 6px; }

/* Cross-fade slideshow inside a frame */
.fade-set { position: relative; background: var(--panel); }
.fade-set img { position: absolute; inset: 0; opacity: 0; animation: fadeSet 18s infinite; }
.fade-set img:nth-child(2) { animation-delay: 6s; }
.fade-set img:nth-child(3) { animation-delay: 12s; }
@keyframes fadeSet {
  0% { opacity: 0; } 3% { opacity: 1; } 30% { opacity: 1; } 36% { opacity: 0; } 100% { opacity: 0; }
}

/* ---------- Rooms teaser (asymmetric feature) ---------- */
.feature {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.feature-media { min-height: 480px; position: relative; }
.feature-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.feature-body { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; }
.feature-body h2 { margin-bottom: 16px; }
.feature-body > p { color: var(--muted); margin-bottom: 26px; }
.tick-list { list-style: none; margin-bottom: 32px; }
.tick-list li {
  padding: 11px 0 11px 30px;
  position: relative;
  color: var(--text);
  font-size: 0.98rem;
  border-bottom: 1px solid var(--line-soft);
}
.tick-list li:last-child { border-bottom: none; }
.tick-list li::before {
  content: '';
  position: absolute;
  left: 2px; top: 19px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.feature-body .hero-ctas { gap: 12px; }

/* ---------- Photo band (bar section on home) ---------- */
.band {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
}
.band-media { position: absolute; inset: 0; }
.band-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.band-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15, 21, 16, 0.82) 0%, rgba(10, 15, 12, 0.72) 46%, rgba(10, 15, 12, 0.3) 100%);
}
.band .container { position: relative; z-index: 2; }
.band-panel { max-width: 520px; }
.band-panel h2 { margin-bottom: 16px; }
.band-panel > p { color: rgba(236, 231, 218, 0.85); margin-bottom: 28px; }
.hours {
  border-top: 1px solid var(--line);
  margin-bottom: 30px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
}
.hours-row span:first-child { color: var(--text); font-weight: 600; }
.hours-row span:last-child { color: var(--muted); }

/* ---------- Location strip ---------- */
.location {
  background: var(--bg-2);
}
.location .split-body h2 { max-width: 20ch; }

/* ---------- Guest words ---------- */
.guest-words { text-align: center; }
.big-quote {
  max-width: 780px;
  margin: 0 auto 40px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--text);
}
.big-quote.quoted::before { content: '\201C'; color: var(--accent); }
.big-quote.quoted::after { content: '\201D'; color: var(--accent); }
.quote-attr { color: var(--muted); font-size: 0.92rem; margin-bottom: 44px; }
.quote-rotator { display: grid; }
.quote-slide { grid-area: 1 / 1; opacity: 0; transition: opacity 0.9s ease; pointer-events: none; }
.quote-slide.is-active { opacity: 1; pointer-events: auto; }
.mention-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.mention {
  padding: 11px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
}
.mention strong { color: var(--text); font-weight: 600; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(ellipse 70% 90% at 50% 110%, rgba(185, 138, 60, 0.14), transparent),
    var(--bg-2);
  border-top: 1px solid var(--line-soft);
  text-align: center;
}
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p { color: var(--muted); max-width: 480px; margin: 0 auto 32px; }
.cta-banner .hero-ctas { justify-content: center; }

/* ---------- Rooms page grid ---------- */
.room-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.room {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--panel);
  display: flex;
  flex-direction: column;
}
.room-img { position: relative; overflow: hidden; }
.room-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.room:hover .room-img img { transform: scale(1.04); }
.room-body { padding: 24px 26px 28px; }
.room-body h3 { margin-bottom: 8px; font-size: 1.45rem; }
.room-body p { color: var(--muted); font-size: 0.95rem; }
.room-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}
.room-meta span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}
.room.wide { grid-column: span 4; }
.room.slim { grid-column: span 2; }
.room.wide .room-img { aspect-ratio: 16 / 9; }
.room.slim .room-img { aspect-ratio: 4 / 4.4; }
.room.row {
  grid-column: span 6;
  flex-direction: row;
  align-items: stretch;
}
.room.row .room-img { width: 38%; min-height: 240px; aspect-ratio: auto; }
.room.row .room-img img { position: absolute; inset: 0; }
.room.row .room-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 36px 44px; }

/* ---------- Practical details (grouped, no cards) ---------- */
.practical {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 90px;
  max-width: 980px;
}
.practical-group h3 { margin-bottom: 16px; font-size: 1.4rem; }
.practical-group p { color: var(--muted); font-size: 0.98rem; margin-bottom: 10px; }
.practical-group p strong { color: var(--text); font-weight: 600; }

/* ---------- Gallery marquee ---------- */
.gallery-section { padding-bottom: 0; }
.carousel {
  width: 100%;
  overflow: hidden;
  padding: 10px 0 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.carousel-track {
  display: flex;
  width: max-content;
  animation: carouselScroll 66s linear infinite;
}
.carousel:hover .carousel-track { animation-play-state: paused; }
.carousel-item {
  flex: 0 0 auto;
  width: 340px;
  margin-right: 18px;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-card);
  overflow: hidden;
}
.carousel-item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes carouselScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 80px;
}
.contact-info h3 { margin-bottom: 6px; }
.contact-info > p { color: var(--muted); margin-bottom: 30px; }
.contact-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line-soft);
}
.contact-line .k { color: var(--muted); font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.contact-line .v { font-size: 1.02rem; color: var(--text); text-align: right; }
.contact-line .v a { color: var(--text); }
.contact-line .v a:hover { color: var(--accent); }

.form {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s ease;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(169, 178, 164, 0.65); }
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid transparent;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; margin-top: 6px; }

.map-wrap {
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  filter: saturate(0.85);
}

/* ---------- Footer ---------- */
footer {
  background: #141d16;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  padding: 76px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 54px;
}
footer h4 {
  font-family: 'Figtree', sans-serif;
  color: var(--text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
footer .logo { margin-bottom: 16px; }
footer .tagline { max-width: 300px; font-size: 0.94rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; font-size: 0.93rem; }
footer ul li a { color: var(--muted); }
footer ul li a:hover { color: var(--accent); }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--text);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.socials a svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
}

/* ---------- Chat widget ---------- */
.chat-button {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 56px; height: 56px;
  background: var(--accent);
  color: #171208;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
  z-index: 90;
  display: grid;
  place-items: center;
  transition: transform 0.25s ease;
}
.chat-button:hover { transform: scale(1.07); }
.chat-button svg { width: 24px; height: 24px; }
.chat-badge {
  position: absolute;
  top: -2px; right: -2px;
  width: 18px; height: 18px;
  background: var(--text);
  color: #171208;
  border-radius: 999px;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.chat-window {
  position: fixed;
  bottom: 96px; right: 26px;
  width: 360px;
  max-width: calc(100vw - 40px);
  max-height: 540px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 95;
}
.chat-window.active { display: flex; }
.chat-header {
  background: #141d16;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header-info { display: flex; gap: 12px; align-items: center; }
.chat-avatar {
  width: 38px; height: 38px;
  background: var(--accent);
  color: #171208;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.15rem;
}
.chat-name { font-weight: 600; font-size: 0.96rem; color: var(--text); }
.chat-status { font-size: 0.78rem; color: var(--muted); }
.chat-close {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 1.4rem;
  padding: 4px 8px;
  border-radius: 8px;
}
.chat-close:hover { background: rgba(236, 231, 218, 0.11); }
.chat-body { flex: 1; padding: 18px; overflow-y: auto; max-height: 340px; }
.msg {
  margin-bottom: 12px;
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.msg.bot { background: var(--bg); color: var(--text); border-bottom-left-radius: 4px; }
.msg.user { background: var(--accent); color: #171208; margin-left: auto; border-bottom-right-radius: 4px; }
.quick-replies { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 14px; }
.chip {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.83rem;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chat-footer { border-top: 1px solid var(--line-soft); padding: 12px 14px; display: flex; gap: 8px; }
.chat-input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--bg);
  color: var(--text);
  outline: none;
}
.chat-input:focus { border-color: var(--accent); }
.chat-send {
  background: var(--accent);
  color: #171208;
  border: none;
  width: 40px; height: 40px;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.chat-send svg { width: 15px; height: 15px; }
.chat-handoff { padding: 10px 14px; border-top: 1px solid var(--line-soft); }
.chat-handoff a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  padding: 10px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}
.chat-handoff a:hover { background: var(--accent); color: #171208; }

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .carousel-track { animation: none; }
  .carousel { overflow-x: auto; }
  .fade-set img { animation: none; opacity: 0; }
  .fade-set img:first-child { opacity: 1; }
  .quote-slide { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .split, .split.flip { gap: 56px; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    font-size: 1.35rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    padding: 90px 28px 40px;
  }
  .nav-links.active { transform: translateX(0); }
  .nav-links a { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; }
  .nav-links a.btn { font-family: 'Figtree', sans-serif; font-size: 1rem; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.menu-open .chat-button, body.menu-open .chat-window { display: none; }
  .hamburger { display: block; }

  .hero { min-height: 86dvh; padding: 110px 0 64px; }
  .page-hero { min-height: 46dvh; padding: 110px 0 48px; }
  .hero-ctas .btn { flex: 1; }

  section { padding: 80px 0; }
  .split, .split.flip { grid-template-columns: 1fr; gap: 44px; }
  .split-media { max-width: 470px; }
  .split-media .inset { right: 0; bottom: -28px; }
  .figures { gap: 36px; }

  .feature { grid-template-columns: 1fr; }
  .feature-media { min-height: 300px; }
  .feature-body { padding: 40px 30px; }

  .band { padding: 100px 0; }
  .band-scrim {
    background: linear-gradient(0deg, rgba(15, 21, 16, 0.84) 0%, rgba(10, 15, 12, 0.62) 100%);
  }

  .room.wide, .room.slim { grid-column: span 6; }
  .room.wide .room-img, .room.slim .room-img { aspect-ratio: 16 / 10; }
  .room.row { flex-direction: column; }
  .room.row .room-img { width: 100%; min-height: 0; aspect-ratio: 16 / 10; position: relative; }
  .room.row .room-body { padding: 24px 26px 28px; }

  .practical { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 540px) {
  .container, .nav-inner { padding-left: 20px; padding-right: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form { padding: 26px 22px; }
  .carousel-item { width: 250px; }
  .chat-window { right: 20px; left: 20px; max-width: none; }
  .figures { flex-wrap: wrap; gap: 26px; }
}

/* ---------- Logo image ---------- */
.logo-img { height: 60px; width: auto; display: block; }
.nav.scrolled .logo-img { height: 50px; transition: height 0.3s ease; }
.footer-logo { height: 84px; width: auto; margin-bottom: 18px; }
@media (max-width: 540px) {
  .logo-img { height: 48px; }
}

/* ---------- Centered hero variant ---------- */
.hero.centered { align-items: center; }
.hero.centered .hero-content { max-width: 820px; margin: 0 auto; text-align: center; }
.hero.centered h1 { font-size: clamp(3.2rem, 8vw, 6rem); margin-bottom: 30px; }
.hero.centered .hero-ctas { justify-content: center; }
.hero.centered .hero-scrim {
  background:
    radial-gradient(ellipse 70% 60% at 50% 55%, rgba(15, 21, 16, 0.45), rgba(10, 15, 12, 0.28)),
    linear-gradient(0deg, rgba(24, 34, 25, 0.92) 0%, rgba(15, 21, 18, 0.15) 30%, rgba(10, 15, 12, 0.35) 100%);
}
.btn-rect { border-radius: 6px; }

/* ---------- Mini quotes (real Booking.com reviews) ---------- */
.mini-quote {
  border-left: 2px solid var(--accent);
  padding: 6px 0 6px 20px;
  margin-top: 28px;
  max-width: 54ch;
}
.mini-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 8px;
}
.mini-quote cite {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Scroll cue ---------- */
.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1.5px solid rgba(236, 231, 218, 0.55);
  color: var(--text);
}
.scroll-cue:hover { color: var(--accent); border-color: var(--accent); }
.scroll-cue svg { width: 18px; height: 18px; animation: cueBob 2.2s ease-in-out infinite; }
@keyframes cueBob {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue svg { animation: none; }
}

/* ---------- Mobile polish ---------- */
@media (max-width: 900px) {
  .hero.centered { min-height: 72dvh; padding: 100px 0 70px; }
  .hero.centered h1 { margin-bottom: 24px; }
  /* 16px inputs stop iOS zooming the form on focus */
  .form input, .form textarea, .form select, .chat-input { font-size: 16px; }
  .band { background-attachment: scroll; }
}
@media (max-width: 540px) {
  section { padding: 64px 0; }
  .hero-ctas { gap: 10px; }
  .scroll-cue { bottom: 18px; }
  .big-quote { font-size: 1.45rem; }
  .feature-body { padding: 32px 24px; }
  .split-body h2, .section-head h2 { font-size: 1.9rem; }
}

/* ---------- Split hero: text left, image bleeds right ---------- */
.hero-split {
  display: grid;
  grid-template-columns: minmax(400px, 4fr) 8fr;
  align-items: stretch;
  min-height: 78dvh;
  padding-top: 92px;
  background: var(--bg);
}
.hs-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px 60px max(28px, calc((100vw - 1240px) / 2 + 28px));
}
.hs-text h1 { margin-bottom: 18px; font-size: clamp(2.6rem, 3.6vw, 3.9rem); }
.hs-text .lead { max-width: 34ch; margin-bottom: 34px; }
.hs-text .hero-ctas { flex-direction: column; align-items: flex-start; gap: 12px; }
.hs-text .hero-ctas .btn { width: 240px; }
.hs-media { position: relative; min-height: 480px; }
.hs-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; min-height: 0; padding-top: 76px; }
  .hs-media { order: -1; min-height: 0; aspect-ratio: 16 / 11; }
  .hs-media img { position: absolute; }
  .hs-text { padding: 40px 20px 56px; }
  .hs-text .lead { margin-bottom: 28px; }
}

/* ---------- Fade-bleed hero: image right, dissolving into the page ---------- */
.hero-fade {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88dvh;
  padding: 110px 0 70px;
  overflow: hidden;
  background: var(--bg);
}
.hf-media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 76%;
}
.hf-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.hf-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #faf7ef 0%, rgba(250, 247, 239, 0.92) 10%, rgba(250, 247, 239, 0.5) 30%, rgba(250, 247, 239, 0) 52%),
    linear-gradient(0deg, #faf7ef 0%, rgba(250, 247, 239, 0) 24%),
    linear-gradient(180deg, rgba(250, 247, 239, 0.55) 0%, rgba(250, 247, 239, 0) 22%);
}
.hf-inner { position: relative; z-index: 2; width: 100%; }
.hf-text { max-width: 520px; }
.hf-text h1 { margin-bottom: 18px; font-size: clamp(2.8rem, 4.4vw, 4.4rem); }
.hf-text .lead { max-width: 38ch; margin-bottom: 34px; color: var(--muted); }

@media (max-width: 900px) {
  .hero-fade { min-height: 78dvh; align-items: flex-end; padding: 100px 0 56px; }
  .hf-media { width: 100%; }
  .hf-media::after {
    background:
      linear-gradient(0deg, #faf7ef 0%, rgba(250, 247, 239, 0.85) 26%, rgba(250, 247, 239, 0.15) 60%, rgba(250, 247, 239, 0.2) 100%);
  }
  .hf-text .hero-ctas .btn { flex: 1; }
}

/* ---------- Homepage v2: intro triptych + room trio ---------- */
.intro-head { max-width: 720px; margin-bottom: 56px; }
.intro-head h2 { margin-bottom: 16px; }
.intro-head p { color: var(--muted); font-size: 1.08rem; }
.trio {
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  gap: 18px;
}
.trio figure {
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  height: 380px;
}
.trio img { width: 100%; height: 100%; object-fit: cover; }

.tease-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.room-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.room-trio .room-img { aspect-ratio: 4 / 3; }
.room-trio .room-body { padding: 20px 22px 24px; }
.room-trio .room-body h3 { font-size: 1.3rem; margin-bottom: 6px; }
.room-trio .room-meta { margin: 6px 0 0; }
.tease-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .trio { grid-template-columns: 1fr 1fr; }
  .trio figure { height: 220px; }
  .trio figure:first-child { grid-column: span 2; height: 260px; }
  .room-trio { grid-template-columns: 1fr; }
  .tease-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ---------- Light theme overrides ---------- */
.room { border: 1px solid var(--line-soft); }
.mention { background: var(--panel); }
.tick-list li::before { border-color: var(--accent-deep); }

/* Sub-page heroes keep cream text over their dark-scrimmed photos */
.page-hero h1, .page-hero p.lead { color: #f6f2e7; }
.page-hero p.lead { color: rgba(246, 242, 231, 0.92); }
.page-note { color: rgba(246, 242, 231, 0.85); }
.page-hero .btn-ghost { color: #f6f2e7; border-color: rgba(246, 242, 231, 0.65); background: rgba(15, 20, 15, 0.2); }
.page-hero .btn-ghost:hover { background: #f6f2e7; color: #22382a; border-color: #f6f2e7; }

/* Footer + chat stay deep green, gold links */
footer { background: #22382a; color: #bcc8bb; }
footer h4 { color: #f6f2e7; }
footer ul li a { color: #bcc8bb; }
footer ul li a:hover { color: #d9a24a; }
footer .tagline { color: #bcc8bb; }
.footer-bottom { border-top-color: rgba(246, 242, 231, 0.14); color: #a3b1a1; }
.footer-bottom a { color: #d9a24a; }
.socials a { border-color: rgba(246, 242, 231, 0.3); color: #f6f2e7; }
.socials a:hover { border-color: #d9a24a; color: #d9a24a; }

.chat-button { background: #22382a; color: #f6f2e7; }
.chat-badge { background: #d9a24a; color: #22382a; }
.chat-header { background: #22382a; }
.chat-name { color: #f6f2e7; }
.chat-status { color: #bcc8bb; }
.chat-close { color: #f6f2e7; }
.chat-avatar { background: #d9a24a; color: #22382a; }
.msg.user { background: #22382a; color: #f6f2e7; }
.msg.bot { background: var(--bg-2); }
.chat-send { background: #22382a; color: #f6f2e7; }
.chat-handoff a { border-color: #22382a; color: #22382a; }
.chat-handoff a:hover { background: #22382a; color: #f6f2e7; }
.nav-links a.btn-primary { color: #f6f2e7; }
.nav-links a.btn-primary:hover { color: #f6f2e7; }

/* ---------- Full-bleed hero, fading into the cream ---------- */
.hero-full {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 88dvh;
  padding: 120px 0 90px;
  overflow: hidden;
}
.hero-full .hf-media {
  position: absolute;
  inset: 0;
  width: 100%;
}
.hero-full .hf-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 80% 45%;
}
.hero-full .hf-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 26, 20, 0.55) 0%, rgba(18, 26, 20, 0.28) 42%, rgba(18, 26, 20, 0.02) 68%);
}
.hero-full .hf-text h1 { color: #f6f2e7; }
.hero-full .hf-text .lead { color: rgba(246, 242, 231, 0.94); }
.hero-full .btn-ghost { color: #f6f2e7; border-color: rgba(246, 242, 231, 0.7); background: rgba(15, 20, 15, 0.18); }
.hero-full .btn-ghost:hover { background: #f6f2e7; color: #22382a; border-color: #f6f2e7; }

@media (max-width: 900px) {
  .hero-full { min-height: 74dvh; padding: 100px 0 64px; }
  .hero-full .hf-media::after {
    background:
      linear-gradient(0deg, #faf7ef 0%, rgba(250, 247, 239, 0) 20%),
      linear-gradient(0deg, rgba(18, 26, 20, 0.55) 10%, rgba(18, 26, 20, 0.1) 55%),
      linear-gradient(180deg, rgba(18, 26, 20, 0.35) 0%, rgba(18, 26, 20, 0) 26%);
  }
}

/* ---------- Hero rating badge ---------- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 10px 18px 10px 12px;
  background: rgba(250, 247, 239, 0.9);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}
.hero-badge .seal {
  width: 34px; height: 34px;
  border-radius: 6px;
  background: #22382a;
  color: #d9a24a;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}
.hero-badge .b1 { display: block; font-weight: 600; color: #22382a; font-size: 0.95rem; line-height: 1.3; }
.hero-badge .b2 { display: block; color: var(--muted); font-size: 0.82rem; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line-soft); padding: 20px 0; }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--text);
  font-weight: 600;
  padding: 0;
}
.faq-q .plus {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--bg-2);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: #22382a; color: #f6f2e7; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding-top 0.3s ease; }
.faq-item.open .faq-a { max-height: 320px; padding-top: 12px; }
.faq-a p { color: var(--muted); font-size: 1rem; max-width: 62ch; }

/* ---------- Review cards ---------- */
.score-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
.score {
  padding: 12px 20px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}
.score strong { color: var(--text); font-size: 1.05rem; margin-right: 6px; }
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.review-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 28px 30px;
}
.review-card .r-score {
  display: inline-block;
  background: #22382a;
  color: #f6f2e7;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 14px;
}
.review-card p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 14px;
}
.review-card cite { font-style: normal; font-size: 0.88rem; color: var(--muted); }

/* ---------- Explore cards ---------- */
.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.explore-grid .explore-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.explore-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 30px 32px;
}
.explore-card h3 { margin-bottom: 8px; }
.explore-card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Gallery grid ---------- */
.gallery-grid { columns: 3; column-gap: 18px; }
.gallery-grid figure {
  margin: 0 0 18px;
  border-radius: var(--r-card);
  overflow: hidden;
  break-inside: avoid;
}
.gallery-grid img { width: 100%; display: block; }

@media (max-width: 900px) {
  .review-grid, .explore-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
}
@media (max-width: 540px) {
  .gallery-grid { columns: 1; }
}


/* ---------- Clickable cards & figures ---------- */
a.room { color: inherit; }
a.room:hover { color: inherit; }
.trio a { display: block; border-radius: var(--r-card); }
.trio a figure, .split-media a { display: block; }
.trio a:hover img, .split-media a:hover img { transform: scale(1.03); }
.trio img, .split-media .frame img { transition: transform 0.5s ease; }

/* ---------- Booking page ---------- */
.booking-panel { display: flex; flex-direction: column; gap: 22px; }
.ftb-placeholder {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 22px 26px;
}
.ftb-note { color: var(--muted); font-size: 0.97rem; margin: 0; }
.form-title { font-size: 1.35rem; margin-bottom: 20px; }
.form-note { margin-top: 14px; font-size: 0.88rem; color: var(--muted); }
