/* ============================================================
   The Bugle Inn — concept website (variant 5: Clay Country)
   Identity: honest Cornish village local rooted in china-clay
   "Clay Country" heritage. Slate/granite greys, china-clay white,
   warm clay stone, a muted moorland green accent + heather hint.
   Heritage serif (Spectral) headings + humanist sans (Source Sans 3).
   Engine-house silhouette motif. Self-contained, no build step.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Greys — slate & granite */
  --slate-deep:  #21262a;   /* deepest ink slate */
  --slate:       #343b40;   /* primary dark surface */
  --granite:     #565f64;   /* mid grey */
  --granite-soft:#7c858a;

  /* China clay whites & warm stone/clay */
  --china:       #f5f2ec;   /* china-clay white — main paper */
  --china-2:     #ece6da;   /* warmer alt paper */
  --clay:        #c8b8a1;   /* warm clay stone */
  --clay-soft:   #ddd2bf;

  /* Accents — moorland green + heather hint */
  --brass:       #ab8b55;   /* polished-brass accent (motion layer) */
  --moor:        #56684e;   /* moorland green accent */
  --moor-deep:   #3f4d39;
  --moor-bright: #7e9270;
  --heather:     #8a7791;   /* muted heather, secondary */

  /* Ink */
  --ink:         #282d2f;   /* body text on light */
  --ink-soft:    #5d666a;
  --ink-onslate: #e9e4da;   /* text on slate */
  --ink-onslate-soft: rgba(233,228,218,0.72);

  --line:        rgba(40,45,47,0.14);
  --line-strong: rgba(40,45,47,0.26);

  --radius:      6px;
  --radius-lg:   12px;
  --shadow-sm:   0 2px 10px rgba(33,38,42,0.08);
  --shadow:      0 14px 40px rgba(33,38,42,0.16);
  --shadow-lg:   0 26px 70px rgba(33,38,42,0.22);

  --maxw: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.4rem);

  --font-head: "Spectral", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --t: 0.32s cubic-bezier(.2,.7,.3,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.66;
  color: var(--ink);
  background: var(--china);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--slate-deep);
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.3rem, 1.7rem + 3.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 1.4rem + 1.9vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem); }
p { margin: 0 0 1rem; }

a { color: var(--moor-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--moor); }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.center { text-align: center; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--slate-deep);
  color: var(--china);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  z-index: 1000;
  transition: top var(--t);
}
.skip-link:focus { top: 12px; }

/* ---------- Concept strip ---------- */
.concept-strip {
  background: var(--slate-deep);
  color: var(--ink-onslate-soft);
  font-size: 0.8rem;
  text-align: center;
  padding: 0.5rem 1rem;
  letter-spacing: 0.01em;
}
.concept-strip strong { color: var(--clay); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--moor);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--t), background var(--t), color var(--t), box-shadow var(--t), border-color var(--t);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn--moor   { --bg: var(--moor); --fg:#fff; }
.btn--moor:hover { background: var(--moor-deep); color:#fff; }
.btn--clay   { --bg: var(--clay); --fg: var(--slate-deep); }
.btn--clay:hover { background: var(--clay-soft); color: var(--slate-deep); }
.btn--ghost  { background: transparent; color: var(--china); border-color: rgba(245,242,236,0.55); }
.btn--ghost:hover { background: rgba(245,242,236,0.12); color:#fff; }
.btn--outline{ background: transparent; color: var(--moor-deep); border-color: var(--moor); }
.btn--outline:hover { background: var(--moor); color:#fff; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(245,242,236,0.82);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.site-header.is-scrolled {
  background: rgba(245,242,236,0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(33,38,42,0.10);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  transition: min-height var(--t);
}
.site-header.is-scrolled .nav { min-height: 58px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--slate-deep);
}
.brand-mark {
  width: 42px; height: 42px;
  flex: none;
  color: var(--moor);
  transition: transform var(--t), color var(--t);
}
.brand:hover .brand-mark { color: var(--moor-deep); transform: translateY(-1px); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text .name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--slate-deep);
}
.brand-text .sub {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--granite);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color var(--t), background var(--t);
}
.nav-links a:hover { color: var(--moor-deep); background: rgba(86,104,78,0.08); }
.nav-cta { margin-left: 0.4rem; }
.nav-cta a { color: #fff; background: var(--moor); padding: 0.55rem 1.1rem; }
.nav-cta a:hover { color:#fff; background: var(--moor-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0 11px;
  background: transparent;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--slate-deep);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    background: var(--china);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.8rem var(--gutter) 1.2rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height var(--t), opacity var(--t), visibility var(--t);
  }
  .nav-links.is-open {
    max-height: 80vh;
    opacity: 1;
    visibility: visible;
  }
  .nav-links a { padding: 0.8rem 0.6rem; font-size: 1rem; }
  .nav-cta { margin: 0.4rem 0 0; }
  .nav-cta a { text-align: center; }
}

/* ---------- Section scaffold ---------- */
.section {
  padding: clamp(3.2rem, 7vw, 6rem) 0;
  position: relative;
}
.section--paper   { background: var(--china); }
.section--paper-2 { background: var(--china-2); }
.section--clay {
  background:
    linear-gradient(180deg, rgba(200,184,161,0.30), rgba(221,210,191,0.18)),
    var(--china);
}
.section--slate {
  background: var(--slate);
  color: var(--ink-onslate);
}
.section--slate h2, .section--slate h3 { color: #fff; }
.section--slate p { color: var(--ink-onslate-soft); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.section--slate .section-head p { color: var(--ink-onslate-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--moor);
  margin-bottom: 0.85rem;
}
.section--slate .eyebrow { color: var(--clay); }

/* ---------- Signature device: granite rule with engine-house medallion ---------- */
.granite-rule {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  justify-content: center;
  margin: clamp(2.4rem, 5vw, 3.6rem) auto 0;
  max-width: 460px;
  color: var(--granite);
}
.granite-rule .line {
  height: 0;
  flex: 1;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid rgba(255,255,255,0.5);
}
.section--slate .granite-rule { color: var(--clay); }
.section--slate .granite-rule .line {
  border-top-color: rgba(245,242,236,0.28);
  border-bottom-color: rgba(0,0,0,0.2);
}
.granite-rule .medallion { width: 34px; height: 34px; flex: none; }

/* ---------- Signature device: clay strata divider ---------- */
.strata-divider {
  line-height: 0;
  margin: 0;
  color: var(--clay);
}
.strata-divider svg { width: 100%; height: clamp(46px, 7vw, 84px); display: block; }
.strata-divider .tip-1 { fill: rgba(200,184,161,0.55); }
.strata-divider .tip-2 { fill: rgba(200,184,161,0.85); }
.strata-divider .tip-3 { fill: var(--china-2); }

/* ---------- Heritage image framing (signature, used consistently) ---------- */
.framed {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clay-soft);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.4);
}
.framed::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(40,45,47,0.16);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.framed img,
.heritage-img {
  filter: sepia(0.16) saturate(0.86) contrast(1.02) brightness(0.99);
  transition: filter var(--t), transform var(--t);
}
.framed:hover img,
.framed:hover .heritage-img {
  filter: sepia(0.04) saturate(0.96) contrast(1.02);
}

/* ---------- Reveal on scroll ----------
   Hidden-for-reveal ONLY under .js (set on <html> by script.js) —
   if JS fails, everything is simply visible. Stagger delays are
   applied inline by the observer (60–90ms per sibling). */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(.2,.7,.3,1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Once the entrance has finished, hand the transition back to the
   hover styles so card lifts stay snappy (~200ms). */
.js .room-card.reveal.reveal-done,
.js .explore-card.reveal.reveal-done { transition: transform var(--t), box-shadow var(--t); }
.js .event-row.reveal.reveal-done { transition: transform var(--t), background var(--t), border-color var(--t), box-shadow var(--t); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  /* Real Clay Country: china-clay sky tip near Stenalees (© Sandy Gerrard,
     geograph.org.uk, CC BY-SA 2.0 — credited in the footer). Replaces the
     last remote picsum placeholder (#2070). */
  background:
    linear-gradient(125deg, rgba(33,38,42,0.92) 0%, rgba(52,59,64,0.78) 48%, rgba(63,77,57,0.58) 100%),
    url("assets/places/hero-clay-country.jpg") center 38%/cover no-repeat;
  color: var(--china);
  overflow: hidden;
}
.hero::before {
  /* subtle clay-strata texture overlay */
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(180deg, rgba(245,242,236,0.04) 0 2px, transparent 2px 26px);
  opacity: 0.5;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
  /* padding-BLOCK only — the 3-value shorthand used to zero the
     container's horizontal gutter, so hero copy touched the screen
     edge at every viewport narrower than max-width + gutters */
  padding-block: clamp(3.4rem, 8vw, 7rem) clamp(3rem, 6vw, 5.5rem);
}
.hero-copy .eyebrow { color: var(--clay); }
.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero h1 .accent {
  display: block;
  color: var(--moor-bright);
  font-style: italic;
  font-weight: 500;
}
.hero-lede {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.28rem);
  color: rgba(245,242,236,0.92);
  max-width: 40ch;
  margin-bottom: 1.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.2rem; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2.4rem);
  border-top: 1px solid rgba(245,242,236,0.22);
  padding-top: 1.4rem;
}
.hero-facts .fact { display: flex; flex-direction: column; }
.hero-facts .n {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 600;
  color: #fff;
}
.hero-facts .l {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(245,242,236,0.72);
}

.hero-art { position: relative; }
.hero-frame {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.18);
}
.hero-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* The frame now holds the pub's granite frontage (1600×990 landscape) —
     a 4/3 crop keeps the whole building and its gold lettering in view */
  aspect-ratio: 4 / 3;
  object-position: center 42%;
  filter: sepia(0.14) saturate(0.9) contrast(1.03);
}
.hero-badge {
  position: absolute;
  left: -14px; bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--china);
  color: var(--slate-deep);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0.6rem 1rem 0.6rem 0.7rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.hero-badge .engine { width: 26px; height: 26px; color: var(--moor); flex: none; }

/* ============================================================
   WELCOME
   ============================================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: center;
}
.intro-copy .lead {
  font-size: 1.18rem;
  color: var(--ink);
}
.intro-features { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.intro-features li { display: flex; gap: 0.7rem; align-items: flex-start; }
.intro-features .tick {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(86,104,78,0.14);
  color: var(--moor-deep);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}
.intro-art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto;
  gap: 0.9rem;
}
/* Lead image is the refurbished double (1400×788 landscape) — full-width
   letterbox on top, the two detail shots side by side beneath */
.intro-art .framed { aspect-ratio: 4 / 3; }
.intro-art .framed:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.intro-art img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   FOOD
   ============================================================ */
.food-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.4rem, 3vw, 2rem);
}

/* Sunday roast feature */
.roast-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  background: var(--slate);
  color: var(--ink-onslate);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.roast-media { position: relative; min-height: 260px; }
.roast-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(0.14) saturate(0.9) contrast(1.04); }
.roast-flag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--moor);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.roast-body { padding: clamp(1.6rem, 4vw, 2.6rem); }
.roast-body h3 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.roast-time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--clay);
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}
.roast-time svg { width: 20px; height: 20px; }
.roast-body p { color: var(--ink-onslate-soft); }
.roast-choices { list-style: none; margin: 1rem 0 1.4rem; padding: 0; display: grid; gap: 0.5rem; }
.roast-choices li { display: flex; align-items: baseline; gap: 0.6rem; }
.roast-choices li::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--moor-bright); transform: translateY(-2px); }
.roast-choices .price { margin-left: auto; color: var(--clay); font-weight: 600; }

/* Two short menu cards */
.menu-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 3vw, 2rem);
}
.menu-card {
  background: var(--china);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.section--clay .menu-card { background: rgba(255,255,255,0.55); }
.menu-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}
.menu-card h3 .engine { width: 24px; height: 24px; color: var(--moor); flex: none; }
.menu-card .sub-note { font-size: 0.85rem; color: var(--ink-soft); margin: -0.4rem 0 1rem; }
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.1rem 0.8rem;
  padding: 0.55rem 0;
}
.menu-item + .menu-item { border-top: 1px dotted var(--line); }
.menu-item .name { font-weight: 600; color: var(--slate-deep); }
.menu-item .price { font-weight: 600; color: var(--moor-deep); white-space: nowrap; }
.menu-item .desc { grid-column: 1 / -1; font-size: 0.9rem; color: var(--ink-soft); margin: 0.15rem 0 0; }

.food-note {
  margin-top: 0.4rem;
  background: rgba(200,184,161,0.22);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.food-note strong { color: var(--slate-deep); }

/* ============================================================
   ROOMS
   ============================================================ */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(1.2rem, 3vw, 1.8rem);
}
.room-card {
  display: flex;
  flex-direction: column;
  background: var(--china);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.room-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.room-media img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.14) saturate(0.88) contrast(1.02); }
.room-tag {
  position: absolute;
  top: 0.8rem; left: 0.8rem;
  background: var(--china);
  color: var(--slate-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.room-price {
  position: absolute;
  bottom: 0.8rem; right: 0.8rem;
  background: var(--moor);
  color: #fff;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
}
.room-price span { font-weight: 500; font-size: 0.74rem; opacity: 0.85; }
.room-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { margin-bottom: 0.3rem; }
.room-body p { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
.room-feats {
  list-style: none;
  margin: 0.4rem 0 1.1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.room-feats li {
  font-size: 0.78rem;
  background: rgba(86,104,78,0.10);
  color: var(--moor-deep);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
}

/* ---------- Room heritage snippet (the story behind each room's name) ----------
   Collapsed <details> expander so the cards stay compact for quick bookers;
   the summary line carries the site's small-caps label style. */
.room-heritage {
  display: block;
  margin: 0.85rem 0 0.2rem;
  background: rgba(200,184,161,0.16);
  border-left: 3px solid var(--moor);
  border-radius: 0 var(--radius, 10px) var(--radius, 10px) 0;
}
.room-heritage-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moor);
  user-select: none;
  transition: color var(--t);
}
.room-heritage-summary::-webkit-details-marker { display: none; }
.room-heritage-summary::marker { content: ""; }
.room-heritage-summary:hover { color: var(--moor-deep); }
.room-heritage-summary:focus-visible {
  outline: 2px solid var(--moor);
  outline-offset: 2px;
  border-radius: 4px;
}
.room-heritage-summary .chev {
  width: 14px; height: 14px;
  flex: none;
  transition: transform var(--t);
}
.room-heritage[open] .room-heritage-summary .chev { transform: rotate(180deg); }
.room-heritage-body {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.1rem 0.9rem 0.85rem;
}
.room-heritage-media {
  flex: none;
  width: 96px;
  margin: 0;
}
.room-heritage-media img {
  display: block;
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(40,45,47,0.16);
}
.room-heritage-media figcaption {
  font-size: 0.6rem;
  line-height: 1.3;
  color: var(--ink-soft);
  margin-top: 0.3rem;
}
.room-heritage-copy { flex: 1; }
.room-heritage-kicker {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moor);
  margin-bottom: 0.3rem;
}
.room-heritage-copy p {
  font-family: "Spectral", Georgia, serif;
  font-style: italic;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-soft);
  flex: initial;
  margin: 0;
}
.rooms-foot { margin-top: 1.6rem; color: var(--ink-soft); }

/* ============================================================
   WHAT'S ON
   ============================================================ */
.events-list { display: grid; gap: 0.9rem; max-width: 880px; margin-inline: auto; }
.event-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
  background: rgba(245,242,236,0.06);
  border: 1px solid rgba(245,242,236,0.16);
  border-radius: var(--radius-lg);
  padding: 1rem 1.3rem;
  transition: background var(--t), border-color var(--t);
}
.event-row:hover { background: rgba(245,242,236,0.12); border-color: rgba(245,242,236,0.3); }
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  flex: none;
  background: var(--clay);
  color: var(--slate-deep);
  border-radius: var(--radius);
  line-height: 1;
}
.event-date .d { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; }
.event-date .m { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.event-info h3 { color: #fff; margin-bottom: 0.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.event-info p { color: var(--ink-onslate-soft); margin: 0; font-size: 0.95rem; }
.event-tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--moor);
  color: #fff;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.event-tag.heritage { background: var(--heather); }
.event-when { color: var(--clay); font-weight: 600; font-size: 0.9rem; white-space: nowrap; text-align: right; }

/* ============================================================
   ABOUT BUGLE / CLAY COUNTRY
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: center;
}
.about-copy .lead { font-size: 1.18rem; color: var(--ink); }
.about-art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.about-art .framed { aspect-ratio: 1 / 1; }
.about-art .framed.tall { grid-row: span 2; aspect-ratio: auto; }
.about-art img { width: 100%; height: 100%; object-fit: cover; }
.about-art figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent, rgba(33,38,42,0.78));
  color: var(--china);
  font-size: 0.76rem;
  padding: 1.4rem 0.8rem 0.6rem;
  z-index: 2;
}

.clay-facts {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.clay-facts li { display: flex; gap: 0.8rem; align-items: flex-start; }
.clay-facts .ic {
  flex: none;
  width: 30px; height: 30px;
  color: var(--moor);
  margin-top: 1px;
}
.clay-facts li strong { color: var(--slate-deep); }
.clay-facts li span.txt { color: var(--ink-soft); display: block; }
.clay-facts li span.txt strong { display: inline; }

.local-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
  border-left: 3px solid var(--clay);
  padding-left: 0.9rem;
}

/* ============================================================
   EXPLORE
   ============================================================ */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(1.2rem, 3vw, 1.7rem);
}
.explore-card {
  background: var(--china);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.explore-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.explore-card .media { aspect-ratio: 5 / 3; overflow: hidden; }
.explore-card img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.16) saturate(0.85) contrast(1.02); transition: transform var(--t); }
.explore-card:hover img { transform: scale(1.04); }
.explore-body { padding: 1.1rem 1.2rem 1.3rem; }
.explore-body .dist {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--moor);
  margin-bottom: 0.4rem;
}
.explore-body h3 { margin-bottom: 0.3rem; }
.explore-body p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

.quicklinks {
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
  background: var(--slate);
  color: var(--ink-onslate);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.quicklinks h3 { color: #fff; display: flex; align-items: center; gap: 0.6rem; }
.quicklinks h3 .engine { width: 24px; height: 24px; color: var(--clay); }
/* Balanced 3+3 grid at desktop (no orphan wrap row); 2-up then 1-up as it narrows */
.quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.8rem;
}
@media (max-width: 920px) {
  .quicklinks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .quicklinks-grid { grid-template-columns: 1fr; }
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(245,242,236,0.10);
  border: 1px solid rgba(245,242,236,0.2);
  color: var(--china);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}
.chip svg { width: 17px; height: 17px; flex: none; color: var(--moor-bright); }
.quicklinks .fineprint { margin: 0.9rem 0 0; font-size: 0.8rem; color: var(--ink-onslate-soft); }

/* ============================================================
   BOOKING
   ============================================================ */
.booking-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: start;
}
.booking-intro .eyebrow { color: var(--clay); }
.booking-intro h2 { color: #fff; }
.booking-intro p { color: var(--ink-onslate-soft); }
.booking-intro .call {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  margin-top: 0.6rem;
}
.booking-intro .call svg { width: 28px; height: 28px; color: var(--clay); }
.booking-intro .call:hover { color: var(--clay); }

.booking-panel {
  background: var(--china);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
/* Panel headings — the tab switcher was replaced (02/07/2026) by two
   separate always-visible sections: #book-room and #book-table. */
.booking-panel .booking-panel-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 1rem 1.3rem;
  background: var(--china-2);
  border-bottom: 3px solid var(--moor);
  color: var(--moor-deep);
  font-size: 1.25rem;
}
.booking-panel .booking-panel-title svg { width: 20px; height: 20px; color: var(--moor); flex: none; }
.booking-panel--table {
  max-width: 720px;
  margin: clamp(1.8rem, 4vw, 2.6rem) auto 0;
}

.booking-form { padding: clamp(1.3rem, 3vw, 1.9rem); }
.booking-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
  margin-bottom: 1.2rem;
}
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--slate); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--china);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
  width: 100%;
  transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--moor);
  box-shadow: 0 0 0 3px rgba(86,104,78,0.16);
}
.booking-form .btn { width: 100%; }
.booking-note { font-size: 0.8rem; color: var(--ink-soft); text-align: center; margin: 0.8rem 0 0; }
.booking-feedback {
  margin-top: 1rem;
  background: rgba(86,104,78,0.10);
  border: 1px solid rgba(86,104,78,0.3);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
  color: var(--moor-deep);
  display: none;
}
.booking-feedback.is-shown { display: block; }
.booking-feedback strong { color: var(--slate-deep); }

/* ============================================================
   FIND US
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: stretch;
}
.contact-card {
  background: var(--china);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.contact-list { list-style: none; margin: 0 0 0.5rem; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.contact-list .ic {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(86,104,78,0.12);
  color: var(--moor-deep);
  display: grid; place-items: center;
}
.contact-list .ic svg { width: 19px; height: 19px; }
.contact-list .lbl {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--granite);
  margin-bottom: 0.1rem;
}
.contact-list a { color: var(--moor-deep); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 0.4rem; }
.hours-table th, .hours-table td { text-align: left; padding: 0.5rem 0; border-bottom: 1px dotted var(--line); font-size: 0.95rem; }
.hours-table th { font-weight: 600; color: var(--slate); }
.hours-table td { color: var(--ink-soft); text-align: right; }

.map-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
  border: 1px solid var(--line);
}
.map-frame img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; filter: sepia(0.2) saturate(0.6) contrast(1.04) brightness(1.02); }
.map-pin {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--china);
  color: var(--slate-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.9rem 1.1rem;
  text-align: center;
  max-width: 80%;
}
.map-pin .engine { width: 30px; height: 30px; color: var(--moor); margin: 0 auto 0.3rem; }
.map-pin strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.map-pin span { font-size: 0.85rem; color: var(--ink-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--slate-deep);
  color: var(--ink-onslate-soft);
  padding: clamp(2.8rem, 6vw, 4rem) 0 1.6rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(245,242,236,0.14);
}
.footer-brand .brand { color: var(--china); }
.footer-brand .brand-mark { color: var(--clay); }
.footer-brand .brand-text .name { color: #fff; }
.footer-brand .brand-text .sub { color: var(--clay); }
.footer-brand p { margin-top: 0.9rem; font-size: 0.92rem; max-width: 38ch; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-col a { color: var(--ink-onslate-soft); text-decoration: none; font-size: 0.94rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  justify-content: space-between;
  padding-top: 1.4rem;
  font-size: 0.8rem;
}
.footer-bottom .concept { color: var(--clay); }
.footer-bottom .credits { flex-basis: 100%; color: var(--ink-onslate-soft); font-size: 0.74rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; }
  .intro-grid,
  .about-grid,
  .booking-wrap,
  .contact-grid { grid-template-columns: 1fr; }
  .roast-feature { grid-template-columns: 1fr; }
  .roast-media { min-height: 220px; }
  .menu-cards { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .booking-fields { grid-template-columns: 1fr; }
  .event-row { grid-template-columns: auto 1fr; }
  .event-when { grid-column: 2; text-align: left; }
  .hero-facts { gap: 1.2rem; }
  .footer-top { grid-template-columns: 1fr; }
  .about-art { grid-template-columns: 1fr; }
  .about-art .framed.tall { grid-row: auto; }
}

@media (max-width: 380px) {
  :root { --gutter: 1rem; }
  .brand-text .name { font-size: 1.1rem; }
  .hero-actions .btn { flex: 1; }
}

/* ============================================================
   VARIANT 8 ADDITIONS — real content: roast-only feature,
   live Beds24 embed pane, draft ribbon, room name sub-labels
   ============================================================ */

/* Roast feature — quote aside replaces the stock food photo */
.roast-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: rgba(245,242,236,0.05);
  border-left: 1px solid rgba(245,242,236,0.14);
}
.roast-quote {
  margin: 0;
  border-left: 3px solid var(--clay);
  padding-left: 1.1rem;
}
.roast-quote p {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.55rem);
  font-style: italic;
  color: #fff;
  margin: 0 0 0.5rem;
}
.roast-quote footer {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
}
.roast-aside-note { font-size: 0.95rem; color: var(--ink-onslate-soft); margin: 0; }
.roast-aside-note strong { color: var(--clay); }
.roast-ctas { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }

/* Room card name sub-label (type as secondary character) */
.room-sub {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moor);
  margin-left: 0.4rem;
  transform: translateY(-2px);
}

/* Booking panes — Beds24 live embed */
.booking-pane[hidden] { display: none; }
.booking-embed { padding: clamp(0.9rem, 2vw, 1.3rem); }
.beds24-frame {
  width: 100%;
  height: 900px;
  border: none;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.booking-embed .booking-note a,
.booking-form .booking-note a { color: var(--moor-deep); font-weight: 600; }

/* Draft ribbon (from variant-7) */
.draft-ribbon {
  position: fixed;
  bottom: 16px; left: 16px;
  z-index: 99;
  background: #8e2f2f;
  color: #fff;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  opacity: 0.92;
}

@media (max-width: 920px) {
  .roast-aside { border-left: none; border-top: 1px solid rgba(245,242,236,0.14); }
  .beds24-frame { height: 820px; }
}

/* ============================================================
   MOTION LAYER — crafted, restrained, transform/opacity only.
   Every animation here is disabled under prefers-reduced-motion
   (consolidated kill-switch at the bottom of this section).
   ============================================================ */

/* ---------- 1. Hero entrance — staggered rise on load ---------- */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.js .hero-copy > * { animation: rise-in 0.6s cubic-bezier(.22,.61,.36,1) both; }
.js .hero-copy > .eyebrow      { animation-delay: 0.05s; }
.js .hero-copy > h1            { animation-delay: 0.15s; }
.js .hero-copy > .hero-lede    { animation-delay: 0.25s; }
.js .hero-copy > .hero-actions { animation-delay: 0.35s; }
.js .hero-copy > .hero-facts   { animation-delay: 0.45s; }
/* The hero copy container itself must not double-fade with its children */
.js .hero-copy.reveal { opacity: 1; transform: none; transition: none; }

/* Very slow Ken Burns on the hero photo — barely there */
@keyframes ken-burns {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
.js .hero-frame img {
  animation: ken-burns 18s ease-in-out infinite alternate;
  will-change: transform;
}

/* ---------- 4. Room cards — second-photo crossfade on hover ---------- */
.room-media img { transition: opacity 0.5s ease, transform 0.5s ease; }
.room-media .room-alt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  /* decorative overlay — clicks must fall through to the lightbox trigger beneath */
  pointer-events: none;
}
/* Hover-capable pointers only — touch devices simply keep the first photo */
@media (hover: hover) and (pointer: fine) {
  .room-card:hover .room-media .room-alt { opacity: 1; }
  .room-card:hover .room-media img { transform: scale(1.03); }
}

/* ---------- 5. Hover language — brass details ---------- */
/* Primary buttons: lift (already in .btn:hover) + soft brass glow */
.btn--moor:hover,
.btn--clay:hover {
  box-shadow: 0 8px 22px rgba(171,139,85,0.38), 0 2px 8px rgba(33,38,42,0.14);
}
.nav-cta a:hover { box-shadow: 0 6px 18px rgba(171,139,85,0.35); }

/* Nav links: animated brass underline, drawn from the left */
.nav-links li:not(.nav-cta) a { position: relative; }
.nav-links li:not(.nav-cta) a::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.28rem;
  height: 2px;
  background: var(--brass);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(.2,.7,.3,1);
}
.nav-links li:not(.nav-cta) a:hover::after,
.nav-links li:not(.nav-cta) a:focus-visible::after { transform: scaleX(1); }

/* Event rows: gentle slide right + brass left accent */
.event-row {
  transition: transform var(--t), background var(--t), border-color var(--t), box-shadow var(--t);
}
.event-row:hover {
  transform: translateX(4px);
  box-shadow: inset 3px 0 0 var(--brass);
}

/* ---------- 7. Lightbox ---------- */
.js .room-media,
.js .intro-art .framed,
.js .hero-frame { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(23,27,30,0.9);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox figure {
  margin: 0;
  max-width: min(1080px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.lightbox figure img {
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: scale(0.985);
  transition: transform 0.25s ease;
}
.lightbox.is-open figure img { transform: none; }
.lightbox figcaption {
  color: rgba(245,242,236,0.85);
  font-size: 0.9rem;
  text-align: center;
  max-width: 64ch;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(245,242,236,0.28);
  border-radius: 50%;
  background: rgba(245,242,236,0.08);
  color: var(--china);
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(245,242,236,0.22); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- 8. Clay strata dividers — imperceptible drift ---------- */
@keyframes strata-drift {
  from { transform: translateX(-10px) scaleX(1.04); }
  to   { transform: translateX(10px)  scaleX(1.04); }
}
.strata-divider path {
  transform-box: fill-box;
  transform-origin: center;
  transform: scaleX(1.04); /* overscan so the drift never shows an edge */
  animation: strata-drift 20s ease-in-out infinite alternate;
}
.strata-divider .tip-1 { animation-duration: 26s; }
.strata-divider .tip-3 { animation-duration: 17s; }

/* ---------- Find Us: real OpenStreetMap embed (#2066) ---------- */
.map-col { display: flex; flex-direction: column; }
.map-frame { flex: 1; }
.map-embed {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: none;
  filter: saturate(0.82) contrast(1.02);
}
.map-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.map-links-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--slate);
}
.map-links-label .engine { width: 20px; height: 20px; color: var(--moor); flex: none; }
.map-links-actions { display: inline-flex; gap: 1rem; }
.map-links-actions a { font-weight: 600; color: var(--moor-deep); }
@media (max-width: 560px) {
  .map-embed { min-height: 300px; }
}

/* ============================================================
   MOBILE-FIRST OPTIMISATION (#2088) — small-screen overhaul.
   Desktop (>920px) is untouched; these refine the stacked
   layouts at tablet-portrait and phone widths.
   ============================================================ */

/* Anchor jumps must clear the sticky header at every width */
[id] { scroll-margin-top: 86px; }

/* ---------- Tablet portrait and below (≤920px) ---------- */
@media (max-width: 920px) {
  /* Welcome collage: kill the tall-sliver crops. First photo goes
     full-width letterbox, the two detail shots sit side by side. */
  .intro-art {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    max-width: 640px;
  }
  .intro-art .framed:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }
  .intro-art .framed { aspect-ratio: 4 / 3; }

  /* Hero art: shorter, centred crop so the fold isn't all photo */
  .hero-art { margin-inline: auto; width: 100%; }
  .hero-frame img { aspect-ratio: 3 / 2; }

  /* Keep the refurb badge inside the viewport */
  .hero-badge { left: 12px; bottom: 14px; }
}

/* ---------- Phones (≤560px) ---------- */
@media (max-width: 560px) {
  /* Rhythm: slightly tighter vertical space everywhere */
  .section { padding: 2.7rem 0; }
  .section-head { margin-bottom: 1.7rem; }

  /* Editorial left alignment beats ragged centred paragraphs */
  .section-head { text-align: left; }
  .section-head p { font-size: 1.02rem; }
  .rooms-foot.center { text-align: left; }

  /* Hero: full-width stacked CTAs (no two-line pill buttons),
     tighter entrance, facts spread across the row */
  .hero-inner { padding-block: 2.6rem 2.4rem; gap: 1.6rem; }
  .hero-actions { gap: 0.6rem; margin-bottom: 1.7rem; }
  .hero-actions .btn { flex: 1 1 100%; padding: 0.95rem 1.2rem; }
  .hero-facts { justify-content: space-between; gap: 0.9rem; }
  .hero-facts .n { font-size: 1.35rem; }
  .hero-lede { margin-bottom: 1.3rem; }
  .hero-badge {
    font-size: 0.78rem;
    padding: 0.5rem 0.85rem 0.5rem 0.6rem;
    bottom: 10px;
  }
  .hero-badge .engine { width: 22px; height: 22px; }

  /* Cards: comfortable but compact */
  .room-body { padding: 1.05rem 1.05rem 1.2rem; }
  .room-heritage-body { gap: 0.7rem; padding: 0.1rem 0.75rem 0.7rem; }
  .room-heritage-summary { padding: 0.55rem 0.75rem; }
  .roast-body, .roast-aside { padding: 1.4rem 1.2rem; }
  .event-row { padding: 0.9rem 1rem; gap: 0.9rem 1rem; }
  .event-date { width: 50px; height: 50px; }
  .event-date .d { font-size: 1.25rem; }
  .explore-body { padding: 0.95rem 1.05rem 1.15rem; }
  .quicklinks { padding: 1.3rem 1.15rem; }
  .contact-card { padding: 1.3rem 1.15rem; }

  /* Booking: give the Beds24 engine the height of the screen
     rather than a fixed desktop guess */
  .booking-embed { padding: 0.7rem; }
  .beds24-frame { height: clamp(560px, 88dvh, 820px); }
  .booking-form { padding: 1.15rem 1rem 1.3rem; }

  /* Hours table: stop mid-phrase wraps looking broken */
  .hours-table th { white-space: nowrap; padding-right: 0.8rem; }
  .hours-table th, .hours-table td { font-size: 0.9rem; }

  /* Footer: tidy single column */
  .footer-bottom { flex-direction: column; gap: 0.5rem; }

  /* Draft ribbon: smaller, out of thumb reach */
  .draft-ribbon { font-size: 10px; padding: 5px 10px; bottom: 10px; left: 10px; }
}

/* ---------- Small phones (≤400px) ---------- */
@media (max-width: 400px) {
  :root { --gutter: 1.05rem; }
  .concept-strip { font-size: 0.72rem; padding: 0.4rem 0.8rem; }
  .brand-text .sub { letter-spacing: 0.16em; }
  .room-heritage-media, .room-heritage-media img { width: 84px; }
  .room-heritage-media img { height: 64px; }
}

/* ============================================================
   POLISH ROUND 2 (#2067) — bolder hero, richer transitions.
   Transform/opacity only; reduced-motion kill switch extended
   in the consolidated block below.
   ============================================================ */

/* ---------- Bolder hero type ---------- */
.hero h1 {
  font-size: clamp(2.5rem, 1.7rem + 4vw, 4.7rem);
  letter-spacing: -0.01em;
  line-height: 1.06;
}
.hero .eyebrow { position: relative; padding-left: 3.2rem; }
.hero .eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 2.4rem; height: 2px;
  background: var(--brass);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  animation: rule-draw 0.7s cubic-bezier(.22,.61,.36,1) 0.1s both;
}
@keyframes rule-draw { to { transform: translateY(-50%) scaleX(1); } }

/* Word-by-word headline rise (spans injected by script.js) */
.js .hero-copy > h1.h-words-ready { animation: none; opacity: 1; }
.h-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em) rotate(0.5deg);
  animation: word-rise 0.7s cubic-bezier(.19,.72,.26,1) both;
}
@keyframes word-rise {
  to { opacity: 1; transform: none; }
}
/* Brass underline drawn beneath the italic accent line */
.hero h1 .accent { position: relative; }
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 2px; bottom: 0.02em;
  width: min(100%, 7.5ch);
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brass), rgba(171,139,85,0.25));
  transform: scaleX(0);
  transform-origin: left center;
  animation: rule-draw-flat 0.9s cubic-bezier(.22,.61,.36,1) 0.95s both;
}
@keyframes rule-draw-flat { to { transform: scaleX(1); } }

/* ---------- Hero scroll cue ---------- */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(245,242,236,0.66);
  text-decoration: none;
  z-index: 2;
  transition: color var(--t), transform var(--t);
}
.hero-scroll-cue .cue-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-scroll-cue svg { width: 18px; height: 18px; animation: cue-nudge 2.2s ease-in-out infinite; }
.hero-scroll-cue:hover { color: var(--china); transform: translateX(-50%) translateY(2px); }
@keyframes cue-nudge {
  0%, 100% { transform: translateY(0); opacity: 0.65; }
  50%      { transform: translateY(5px); opacity: 1; }
}
@media (max-width: 560px) { .hero-scroll-cue { display: none; } }

/* ---------- Brass scroll-progress hairline ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--moor), var(--brass));
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 1001;
  pointer-events: none;
}

/* ---------- Button sheen sweep ---------- */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn:hover::before { left: 120%; }

/* ---------- Card media settle-zoom on reveal ---------- */
.js .room-card.reveal .room-media > img:not(.room-alt),
.js .explore-card.reveal .media img {
  transform: scale(1.06);
  transition: transform 0.9s cubic-bezier(.2,.7,.3,1);
}
.js .room-card.reveal.is-visible .room-media > img:not(.room-alt),
.js .explore-card.reveal.is-visible .media img { transform: scale(1); }
/* hand hover zoom back after entrance */
.js .explore-card.reveal-done:hover .media img { transform: scale(1.04); }
.js .room-card.reveal-done:hover .room-media img { transform: scale(1.03); }

/* ---------- 9. Reduced motion — everything simply appears ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow::before,
  .hero h1 .accent::after { animation: none; transform: translateY(-50%) scaleX(1); }
  .hero h1 .accent::after { transform: scaleX(1); }
  .h-word { animation: none; opacity: 1; transform: none; }
  .hero-scroll-cue svg { animation: none; }
  .scroll-progress { display: none; }
  .btn::before { display: none; }
  .js .room-card.reveal .room-media > img:not(.room-alt),
  .js .explore-card.reveal .media img { transform: none; transition: none; }
  .js .hero-copy > *,
  .js .hero-frame img,
  .strata-divider path { animation: none; }
  .js .hero-frame img { will-change: auto; }
  .nav,
  .room-media img,
  .nav-links li:not(.nav-cta) a::after,
  .event-row,
  .lightbox,
  .lightbox figure img,
  .btn { transition: none; }
  .room-card:hover .room-media .room-alt { opacity: 0; }
  .room-card:hover .room-media img { transform: none; }
  .btn:hover,
  .room-card:hover,
  .explore-card:hover,
  .event-row:hover { transform: none; }
  .explore-card:hover img { transform: none; }
}
