/* ==========================================================================
   Field Cottage — design system
   Editorial monochrome inherited from the old site, modernised: landscape
   palette instead of the stock magenta, a serif display face, fluid scale.
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-var.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-var.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-display: swap;
  font-style: normal;
}

:root {
  /* palette — drawn from the Herefordshire landscape, not a theme default */
  --ink: #191c17;
  --ink-soft: #333a30;
  --paper: #fcfbf8;
  --paper-warm: #f6f3ec;
  --moss: #3f5240;
  --moss-deep: #2c3a2d;
  --moss-light: #6b7f68;
  --clay: #b0724a;
  --stone: #e6e2d8;
  --stone-deep: #d3cec0;
  /* 4.76:1 on --paper-warm, 5.09:1 on --paper. The lighter #6E7268 fell just under AA. */
  --muted: #676b61;
  /* borders of interactive controls need 3:1 as UI components, which --stone-deep is not */
  --field-border: #9a9482;

  --focus: #b0724a;

  /* type */
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* fluid scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.75vw, 1.95rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.4vw, 2.7rem);
  --step-4: clamp(2.2rem, 1.7rem + 2.4vw, 3.8rem);
  --step-5: clamp(2.7rem, 1.8rem + 4.2vw, 5.6rem);

  /* rhythm */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4rem, 9vw, 8rem);
  --wrap: 1280px;
  --prose: 68ch;

  --radius: 3px;
  --radius-lg: 6px;
  --rule: 1px solid var(--stone);
  --shadow: 0 1px 2px rgba(25, 28, 23, 0.04), 0 8px 28px -12px rgba(25, 28, 23, 0.14);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  font-variation-settings: 'SOFT' 20, 'WONK' 0;
  text-wrap: balance;
}
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

/* Double ring: the clay outline alone is only ~1.3:1 against a bright photo, so pair it with
   a light halo. One of the two always contrasts, whatever is behind it. */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
  box-shadow: 0 0 0 5px rgba(252, 251, 248, 0.92), 0 0 0 6px rgba(25, 28, 23, 0.55);
}
/* on paper the halo is invisible; a dark outer edge keeps the ring readable there too */
.section--ink :focus-visible,
.footer :focus-visible,
.hero :focus-visible,
.pagehead--image :focus-visible,
.header:not(.header--solid) :focus-visible {
  box-shadow: 0 0 0 5px rgba(252, 251, 248, 0.92);
}

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

/* ---------- layout primitives ---------- */
.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}
.wrap--narrow { --wrap: 840px; }
.wrap--prose { --wrap: 760px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--warm { background: var(--paper-warm); }
.section--ink { background: var(--moss-deep); color: var(--paper); }
.section--ink .eyebrow { color: #b9c9b4; }
.section--ink a { color: var(--paper); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 1rem;
  display: block;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 56ch;
}

.display-1 { font-size: var(--step-5); }
.display-2 { font-size: var(--step-4); }
.display-3 { font-size: var(--step-3); }
.display-4 { font-size: var(--step-2); }

.muted { color: var(--muted); }

/* section header with the hairline rule the old site used */
.sec-head {
  display: grid;
  gap: 1.25rem;
  max-width: var(--prose);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-left: clamp(1rem, 2vw, 1.75rem);
  border-left: 2px solid var(--moss);
}
.sec-head .eyebrow { margin-bottom: 0; }
.sec-head p { color: var(--ink-soft); margin: 0; }

.rule {
  border: 0;
  border-top: var(--rule);
  margin: 0;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  padding: 0.9em 1.7em;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { --btn-bg: var(--moss); transform: translateY(-1px); }
.btn--moss { --btn-bg: var(--moss); }
.btn--moss:hover { --btn-bg: var(--moss-deep); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--stone-deep);
}
.btn--ghost:hover { --btn-fg: var(--paper); --btn-bg: var(--ink); border-color: var(--ink); }
.btn--light {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  border-color: rgba(252, 251, 248, 0.45);
}
.btn--light:hover { --btn-bg: var(--paper); --btn-fg: var(--ink); border-color: var(--paper); }
.btn--sm { padding: 0.65em 1.2em; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* text link with an animated rule, replaces the old site's plain underlines */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--moss);
  padding-bottom: 0.35em;
  border-bottom: 1px solid var(--stone-deep);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover { border-color: var(--moss); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-block: 1rem;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    padding 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
  isolation: isolate;
}
/* Scrim behind the header while it sits over photography. Images can be any brightness — a
   bright sky put white nav links at 3:1. This guarantees a dark backdrop underneath. */
.header--over::before {
  content: '';
  position: absolute;
  inset: -1rem 0 auto;
  height: calc(100% + 2.5rem);
  z-index: -1;
  background: linear-gradient(to bottom, rgba(18, 21, 17, 0.72) 0%, rgba(18, 21, 17, 0.42) 55%, rgba(18, 21, 17, 0) 100%);
  pointer-events: none;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.header--over { color: var(--paper); }
.header--over .brand__sub { color: rgba(252, 251, 248, 0.92); }
.header--solid {
  background: rgba(252, 251, 248, 0.92);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--stone);
  color: var(--ink);
  padding-block: 0.6rem;
}
.header--solid .brand__sub { color: var(--muted); }

.brand {
  display: grid;
  gap: 0.15rem;
  text-decoration: none;
  color: inherit;
  line-height: 1.05;
}
.brand__name {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem);
  letter-spacing: -0.01em;
}
.brand__sub {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav a {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding-block: 0.4rem;
  white-space: nowrap;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current='page']::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: inherit;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    color: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem var(--gutter);
    transform: translateY(-100%);
    /* visibility keeps the closed menu out of the tab order; without it the eight links
       remain focusable off-screen. Delayed on close so the slide-out is still seen. */
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
    overflow-y: auto;
  }
  .nav[data-open='true'] {
    transform: none;
    visibility: visible;
    transition: transform 0.45s var(--ease), visibility 0s;
  }
  .nav a { font-family: var(--display); font-size: var(--step-3); text-transform: none; letter-spacing: -0.01em; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1.25rem; font-family: var(--body); font-size: var(--step--1); }
  .nav-close {
    position: absolute;
    top: 1.1rem;
    right: var(--gutter);
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0.5rem;
  }
  .nav-close svg { width: 26px; height: 26px; }
}
@media (min-width: 961px) {
  .nav-close { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(94svh, 900px);
  /* grid, not flex: a flex item's width is driven by flex-basis, which would override
     .wrap's max-width and let the copy run to the viewport edge */
  display: grid;
  align-content: end;
  color: var(--paper);
  isolation: isolate;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(20, 24, 19, 0.82) 0%,
    rgba(20, 24, 19, 0.45) 32%,
    rgba(20, 24, 19, 0.12) 62%,
    rgba(20, 24, 19, 0.4) 100%
  );
}
/* No width or flex property here — .wrap owns the measure. */
.hero__inner { padding-block: clamp(3rem, 8vw, 6rem); }
.hero__heading { display: grid; gap: 0.1em; margin-bottom: 1.25rem; }
/* the old site's two-tone hero, done properly */
.hero__line1 {
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(252, 251, 248, 0.85);
  margin-bottom: 0.6rem;
}
.hero__line2 { font-size: var(--step-5); line-height: 0.98; }
.hero__sub {
  font-size: var(--step-1);
  max-width: 44ch;
  color: rgba(252, 251, 248, 0.95);
  margin-bottom: 2rem;
  /* stop "Ross-on-Wye" breaking at its hyphens */
  hyphens: none;
  text-wrap: pretty;
}
.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.5rem;
  justify-content: space-between;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  background: rgba(252, 251, 248, 0.12);
  border: 1px solid rgba(252, 251, 248, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.6rem 1.1rem;
  border-radius: 100px;
}
.hero__badge strong { font-weight: 600; }
.stars { color: #e8c37a; letter-spacing: 0.08em; }

.hero__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
}
@media (max-width: 700px) { .hero__caption { display: none; } }

/* page hero for interior pages */
.pagehead {
  position: relative;
  padding-top: clamp(7rem, 14vw, 11rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--paper-warm);
  border-bottom: var(--rule);
}
.pagehead--image { color: var(--paper); border-bottom: 0; isolation: isolate; }
/* Dark enough under the copy to hold contrast, lighter at the top now that the header
   carries its own scrim — the photograph gets to be a photograph. */
.pagehead--image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(20, 24, 19, 0.8) 0%,
    rgba(20, 24, 19, 0.62) 45%,
    rgba(20, 24, 19, 0.22) 100%
  );
}
.pagehead__media { position: absolute; inset: 0; z-index: -2; }
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehead--image .eyebrow { color: rgba(252, 251, 248, 0.8); }
.pagehead h1 { font-size: var(--step-4); }
.pagehead .lead { margin-top: 1.25rem; }
.pagehead--image .lead { color: rgba(252, 251, 248, 0.9); }

/* ---------- fact strip ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-top: var(--rule);
  border-left: var(--rule);
}
.fact {
  border-right: var(--rule);
  border-bottom: var(--rule);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  gap: 0.35rem;
  align-content: start;
}
.fact__value {
  font-family: var(--display);
  font-size: var(--step-1);
  line-height: 1.15;
  text-wrap: balance;
}
.fact__label {
  font-size: var(--step--1);
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- media + text blocks ---------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  /* media first in the DOM, and given the wider column */
  .split--wide-media { grid-template-columns: 1.15fr 1fr; }
  /* body first in the DOM, media second and wider */
  .split--media-right { grid-template-columns: 1fr 1.15fr; }
  .split--flip > :first-child { order: 2; }
}
.split__body { display: grid; gap: 1.25rem; align-content: start; }
.split__body h2 { font-size: var(--step-3); }
.split__body h3 { font-size: var(--step-2); }

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--stone);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 3 / 2; }
.media--square { aspect-ratio: 1; }
.media--hero { aspect-ratio: 16 / 9; }

.media__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.6rem 1.1rem;
}

/* stacked pair of images, offset — a bit of editorial texture */
.media-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: start;
}
.media-pair > :last-child { margin-top: clamp(1.5rem, 5vw, 3.5rem); }

/* ---------- cards ---------- */
.cards {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }

.card {
  display: grid;
  gap: 1.1rem;
  align-content: start;
  text-decoration: none;
  color: inherit;
}
.card .media { transition: transform 0.6s var(--ease); }
.card img { transition: transform 0.7s var(--ease), filter 0.5s var(--ease); }
.card:hover img { transform: scale(1.035); }
.card h3 { font-size: var(--step-2); }
.card__meta {
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.card p { color: var(--ink-soft); margin: 0; }

/* Monogram tile for posts whose artwork is gone. Deliberate, not a broken image. */
.card__mark {
  display: grid;
  place-content: center;
  gap: 0.6rem;
  text-align: center;
  border: 1px solid var(--stone);
  background: var(--paper-warm);
}
.card__mark--tint-a { background: #f1efe6; }
.card__mark--tint-b { background: #eceee7; }
.card__mark--tint-c { background: #f2eee7; }
.card__monogram {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
  color: var(--moss);
  opacity: 0.55;
  letter-spacing: 0.02em;
}
.card__markline {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* plain bordered list panels — amenities, practical info, FAQs */
.panel {
  border: var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--paper);
}
.panel--warm { background: var(--paper-warm); border-color: var(--stone-deep); }

/* ---------- accordion (FAQs) ---------- */
.accordion { display: grid; gap: 0.6rem; }
.accordion > details {
  border: var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper);
  transition: border-color 0.25s var(--ease);
}
.accordion > details[open] { border-color: var(--stone-deep); }
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::marker { content: ''; }
.accordion summary:hover { color: var(--moss); }
/* chevron built from a rotated corner so there is no icon font to load */
.accordion summary::after {
  content: '';
  flex: none;
  width: 0.55em;
  height: 0.55em;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  margin-top: -0.2em;
  transition: transform 0.3s var(--ease);
}
.accordion > details[open] summary::after { transform: rotate(-135deg); margin-top: 0.15em; }
.accordion .accordion__body {
  padding: 0 clamp(1.1rem, 2.5vw, 1.6rem) 1.35rem;
  color: var(--ink-soft);
  margin: 0;
}

.deflist { display: grid; gap: 0; margin: 0; }
.deflist > div {
  display: grid;
  gap: 0.3rem;
  padding-block: 1.1rem;
  border-bottom: var(--rule);
}
.deflist > div:first-child { padding-top: 0; }
.deflist > div:last-child { border-bottom: 0; padding-bottom: 0; }
.deflist dt { font-weight: 600; font-size: var(--step-0); }
.deflist dd { margin: 0; color: var(--ink-soft); }

@media (min-width: 760px) {
  .deflist--cols { grid-template-columns: repeat(2, 1fr); column-gap: clamp(2rem, 4vw, 3.5rem); }
  .deflist--cols > div:nth-child(2) { padding-top: 0; }
}

/* tick list for amenity groups */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.ticks li {
  display: grid;
  grid-template-columns: 1.15em 1fr;
  gap: 0.7em;
  align-items: start;
  font-size: var(--step-0);
  color: var(--ink-soft);
}
.ticks li::before {
  content: '';
  width: 0.55em;
  height: 0.32em;
  border-left: 1.5px solid var(--moss);
  border-bottom: 1.5px solid var(--moss);
  transform: rotate(-45deg);
  margin-top: 0.55em;
  margin-left: 0.25em;
}

.amenity-groups {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.amenity-groups h3 {
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: var(--rule);
}

/* ---------- rooms ---------- */
.rooms {
  display: grid;
  gap: 0;
  border-top: var(--rule);
}
.room {
  display: grid;
  gap: 0.35rem 2rem;
  padding-block: 1.35rem;
  border-bottom: var(--rule);
  align-items: baseline;
}
@media (min-width: 640px) {
  .room { grid-template-columns: minmax(0, 15rem) 1fr; }
}
.room__name { font-family: var(--display); font-size: var(--step-1); }
.room__desc { color: var(--ink-soft); }

/* ---------- reviews ---------- */
.reviews {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.review {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.review blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: var(--step-1);
  line-height: 1.42;
  color: var(--ink);
}
.review__by {
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.section--ink .review {
  background: rgba(252, 251, 248, 0.05);
  border-color: rgba(252, 251, 248, 0.16);
}
.section--ink .review blockquote { color: var(--paper); }
.section--ink .review__by { color: rgba(252, 251, 248, 0.65); }

.rating-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  align-items: baseline;
}
.rating-summary__score {
  font-family: var(--display);
  font-size: var(--step-4);
  line-height: 1;
}

/* ---------- gallery ---------- */
/* Masonry via columns: photos keep their natural crop and there are no holes in the
   layout, which a span-based grid could not avoid with mixed portrait and landscape. */
.gallery {
  columns: 1;
  column-gap: clamp(0.5rem, 1.2vw, 1rem);
}
@media (min-width: 640px) { .gallery { columns: 2; } }
@media (min-width: 1000px) { .gallery { columns: 3; } }

.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stone);
  border: 0;
  padding: 0;
  cursor: zoom-in;
  break-inside: avoid;
  margin-bottom: clamp(0.5rem, 1.2vw, 1rem);
}
.gallery__item img { width: 100%; height: auto; transition: transform 0.7s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }

/* lightbox — a <dialog> is display:none until open, so scope the layout to [open]
   or it renders inline in the page flow */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(16, 19, 15, 0.95);
  padding: clamp(1rem, 4vw, 3rem);
  border: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(16, 19, 15, 0.9); }
.lightbox img { max-width: 100%; max-height: 82svh; width: auto; object-fit: contain; border-radius: var(--radius); }
.lightbox__bar {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem) 1.5rem;
  color: rgba(252, 251, 248, 0.8);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
}
.lightbox__btn {
  background: rgba(252, 251, 248, 0.1);
  border: 1px solid rgba(252, 251, 248, 0.25);
  color: var(--paper);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 100px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.lightbox__btn:hover { background: rgba(252, 251, 248, 0.22); }
.lightbox__close { position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 4vw, 3rem); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox__nav--next { right: clamp(0.5rem, 2vw, 1.5rem); }

/* ---------- prose (blog posts, legal pages) ---------- */
.prose { font-size: var(--step-0); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  font-size: var(--step-3);
  margin-top: 2.2em;
  margin-bottom: 0.1em;
  line-height: 1.15;
}
.prose h3 {
  font-size: var(--step-2);
  margin-top: 1.9em;
  margin-bottom: 0.1em;
}
.prose h4 {
  font-family: var(--body);
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 1.7em;
}
.prose p { color: var(--ink-soft); }
.prose a { color: var(--moss); text-decoration-color: var(--stone-deep); }
.prose a:hover { text-decoration-color: var(--moss); }
.prose ul, .prose ol { padding-left: 1.3em; color: var(--ink-soft); }
.prose li + li { margin-top: 0.45em; }
.prose img { border-radius: var(--radius-lg); margin-block: 2rem; }
.prose blockquote {
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--moss);
  font-family: var(--display);
  font-size: var(--step-1);
  color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: var(--rule); }
.prose hr { margin-block: 2.5rem; }
.table-scroll { overflow-x: auto; }

/* ---------- blog ---------- */
.postmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.pagination a, .pagination span {
  min-width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  padding-inline: 0.75rem;
  border: var(--rule);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 500;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pagination a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pagination [aria-current='page'] { background: var(--moss); color: var(--paper); border-color: var(--moss); }
.pagination .is-gap { border: 0; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.45rem; }
.field label {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(63, 82, 64, 0.14);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field__hint { font-size: var(--step--1); color: var(--muted); }
.field--error input, .field--error textarea { border-color: #a4462f; }
.field__error { font-size: var(--step--1); color: #a4462f; }

@media (min-width: 640px) {
  .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

/* honeypot — visually gone but still focusable-free */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: var(--step--1);
  display: none;
}
.form__status[data-state='ok'] { display: block; background: #e8efe6; color: var(--moss-deep); border: 1px solid #c6d6c2; }
.form__status[data-state='error'] { display: block; background: #f7e9e5; color: #7d3423; border: 1px solid #e3c6bd; }
.form__status[data-state='sending'] { display: block; background: var(--paper-warm); color: var(--muted); border: var(--rule); }

/* ---------- footer ---------- */
.footer {
  background: var(--moss-deep);
  color: rgba(252, 251, 248, 0.78);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  font-size: var(--step--1);
}
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 0.2em; }
.footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__brand { grid-column: span 2; max-width: 34ch; } }
.footer__name {
  font-family: var(--display);
  font-size: var(--step-2);
  color: var(--paper);
  display: block;
  margin-bottom: 0.75rem;
}
/* h2 semantically (the footer is a sibling of the page's sections), styled small */
.footer__grid h2 {
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(252, 251, 248, 0.62);
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(252, 251, 248, 0.16);
  color: rgba(252, 251, 248, 0.55);
}
.footer__social { display: flex; gap: 1rem; }
.footer__social a { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid rgba(252,251,248,0.2); border-radius: 100px; }
.footer__social a:hover { background: rgba(252, 251, 248, 0.12); text-decoration: none; }
.footer__social svg { width: 1rem; height: 1rem; }

/* ---------- scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  [data-reveal].is-in { opacity: 1; transform: none; }
}

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

.notice {
  border: var(--rule);
  border-left: 2px solid var(--clay);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  background: var(--paper-warm);
  font-size: var(--step--1);
  color: var(--ink-soft);
}

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border: var(--rule);
  border-radius: 100px;
  color: var(--muted);
  text-decoration: none;
}
.tag:hover { border-color: var(--moss); color: var(--moss); }
