@import url("fonts.css");

/* ============================================================
   Plumbing only. Nothing here is a design decision — no colour,
   no typeface, no layout. Each site writes its own visual system
   on top; this file only carries the things that must be right
   on every site and are invisible when they are.
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* A sideways-scrollable page drags position:fixed elements out of view on
     phones. Clip rather than scroll. (clip, not hidden: hidden would make html
     a scroll container and break scroll-padding and sticky.) */
  overflow-x: clip;
}

body { margin: 0; }
/* Lock scrolling on the ROOT, not on body. html already has overflow-x:clip,
   so overflow:hidden on body turns body into its own scroll container — a
   position:sticky header then sticks to body and is thrown off-screen (with
   its close button) when the menu opens after scrolling. site.js puts
   .is-locked on <html> directly; a :has() selector was tried first and its
   style invalidation visibly lagged behind the menu opening. */
html.is-locked { overflow: hidden; }
/* [hidden] must win. A rule like `.gallery-more { display:flex }` outranks the
   browser's own `[hidden] { display:none }`, which left an empty "Show 0 more"
   button on screen whenever a gallery had nothing further to reveal. */
[hidden] { display: none !important; }

img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
/* A <button> inherits the user agent's grey `buttonface` unless something says
   otherwise. An outline/ghost button that sets only border-color and color then
   renders as light-grey with (often white) text on it — invisible. Reset here;
   any variant that wants a fill sets one and wins on specificity. */
button { background: transparent; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

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

/* Reveal-on-scroll. The JS failsafe shows everything if the observer
   never runs, so content can never be stranded invisible. */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease, ease), transform .7s var(--ease, ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media print {
  .site-header, .lightbox, .skip-link, .gallery-more, .filters, .map-consent, .callbar { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; color: #555; }
}

/* ============================================================
   Emerald Diamond Villa — the existing site's design, rebuilt.
   The look is the client's own and is kept: EB Garamond headings
   over Inter text, the deep green #10594a, white / cream / stone
   grounds and a dark footer. This is not a redesign; what changes
   is the build (static), the corrections, the responsive images
   and the enquiry form.
   ============================================================ */

:root {
  --white: #ffffff;
  --cream: #f3f0ea;
  --stone: #e2ddd4;
  --dark: #1b211f;
  --green: #10594a;
  --green-dark: #0b4237;
  --ink: #111214;
  --body: #333333;
  --muted: #5f6462;
  --line: #e2ddd4;
  --line-dark: #333b38;
  --display: "EBGaramond", Georgia, "Times New Roman", serif;
  --text: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --radius: 3px;
  --measure: 36rem;
  --head: 4.7rem;
  /* shared contact-form stylesheet (hosp-form.css) */
  --f-ink: #111214; --f-muted: #5f6462; --f-bg: #ffffff; --f-border: #b5ada0;
  --f-accent: #10594a; --f-accent-d: #0b4237; --f-radius: 3px;
}

html { scroll-padding-top: 5.5rem; }

body {
  background: var(--white);
  color: var(--body);
  font: 400 1rem/1.5 var(--text);
}

::selection { background: var(--green); color: #fff; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.wrap { width: min(100% - var(--gutter) * 2, 78rem); margin-inline: auto; }
.wrap-mid { width: min(100% - var(--gutter) * 2, 58rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: .5rem; top: -4rem; z-index: 400; padding: .7rem 1.1rem;
  background: var(--dark); color: #fff; text-decoration: none; font: 600 .9rem var(--text);
}
.skip-link:focus { top: .5rem; }

/* ---------- Type ---------- */
.eyebrow {
  margin: 0 0 1.1rem; font: 400 .75rem/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase;
  color: var(--green);
}
.display { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.d1 { font-size: clamp(2.6rem, 1.6rem + 4.2vw, 4.9rem); }
.d2 { font-size: clamp(1.95rem, 1.35rem + 2.4vw, 3.15rem); }
.d3 { font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2rem); }
.lede { font-size: clamp(1.03rem, .98rem + .3vw, 1.15rem); line-height: 1.68; color: var(--body); max-width: 42rem; }
.measure { max-width: var(--measure); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.5rem; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 .94rem/1 var(--text); text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-line:hover { border-color: var(--ink); }
.btn-onphoto { background: rgba(255, 255, 255, .92); color: var(--ink); }
.btn-onphoto:hover { background: #fff; }
.btn-ondark { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ondark:hover { background: #fff; border-color: #fff; color: var(--ink); }
.row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.ico { width: 1.2rem; height: 1.2rem; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200; background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.head-in {
  width: min(100% - var(--gutter) * 2, 78rem); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.7rem;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { width: 30px; height: auto; }
.brand b { display: block; font: 700 .82rem/1.15 var(--text); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.head-nav ul { list-style: none; display: flex; gap: clamp(.9rem, 2.2vw, 2.1rem); align-items: center; }
.head-nav a { font: 500 .92rem/1 var(--text); text-decoration: none; padding: .5rem 0; border-bottom: 1px solid transparent; color: var(--ink); }
.head-nav a:hover, .head-nav a[aria-current="page"] { border-bottom-color: var(--green); }
.head-nav .nav-cta { display: none; margin-top: .9rem; }
.head-nav .nav-cta a { display: inline-flex; border-bottom: 0; color: #fff !important; }
.head-tools { display: flex; align-items: center; gap: .6rem; }
.btn-head { min-height: 38px; padding: .5rem 1.05rem; font-size: .8rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
  background: transparent; cursor: pointer; align-items: center; justify-content: center;
}
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease); }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -5.5px; } .bars::after { top: 5.5px; }
.is-open .bars { background: transparent !important; }
.is-open .bars::before { transform: translateY(5.5px) rotate(45deg); }
.is-open .bars::after { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 58rem) {
  /* The open menu is a panel laid OVER the page, not an expanding header:
     opening it must not push the hero down. */
  .head-nav {
    position: fixed; top: var(--head); left: 0; right: 0; display: none;
    max-height: calc(100vh - var(--head)); overflow-y: auto; -webkit-overflow-scrolling: touch;
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 18px 30px -22px rgba(17, 18, 20, .55);
    padding: .3rem var(--gutter) 1.3rem;
  }
  .site-header.is-open .head-nav { display: block; }
  .head-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .head-nav a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; color: var(--ink) !important; }
  .nav-toggle { display: inline-flex; }
  /* The booking button stays on screen; it used to be hidden, which left a
     phone with no way to reach the enquiry except through the menu. */
  .btn-head { min-height: 36px; padding: .45rem .8rem; font-size: .76rem; }
}
@media (max-width: 22rem) {
  .btn-head { display: none; }
  .head-nav .nav-cta { display: block; }
}

/* ---------- Hero ---------- */
/* The live hero fills the viewport below the header exactly. --head is that
   bar's height; the plain value first so a browser without svh still gets a
   full-height hero instead of a collapsed one. */
.hero { position: relative; min-height: 34rem; display: grid; align-items: end; isolation: isolate; }
@supports (height: 100svh) {
  .hero { min-height: calc(100svh - var(--head)); }
  .head-nav { max-height: calc(100svh - var(--head)); }
}
.hero-photo { position: absolute; inset: 0; margin: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(17, 18, 20, .42) 0%, rgba(17, 18, 20, .08) 22%, rgba(17, 18, 20, .34) 52%, rgba(17, 18, 20, .74) 78%, rgba(17, 18, 20, .88) 100%),
              linear-gradient(90deg, rgba(17, 18, 20, .34) 0%, rgba(17, 18, 20, 0) 55%);
}
/* One left-aligned column sitting on the bottom of the photo: headline, lede,
   the five numbers, then the buttons -- the live site's arrangement. */
.hero-in { padding: clamp(3rem, 8vh, 6rem) 0 clamp(2.2rem, 4vw, 3.4rem); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero-lede { color: rgba(255, 255, 255, .9); max-width: 39rem; margin: clamp(1rem, 2vw, 1.5rem) 0 0; font-size: clamp(1.02rem, .96rem + .3vw, 1.19rem); line-height: 1.6; }
.hero-row { margin-top: clamp(1.3rem, 2.5vw, 1.9rem); }

.stats {
  list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem;
  margin-top: clamp(1.8rem, 4vw, 3rem); padding-top: clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid rgba(255, 255, 255, .3);
}
.stats b { display: block; font: 500 clamp(1.45rem, 1.15rem + .9vw, 1.9rem)/1 var(--display); color: #fff; }
.stats span { display: block; margin-top: .4rem; font: 500 .75rem/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.2rem, 7vw, 5.6rem) 0; }
.section-sm { padding: clamp(2.2rem, 5vw, 3.4rem) 0; }
.on-cream { background: var(--cream); }
.on-stone { background: var(--stone); }
.on-dark { background: var(--dark); color: #c9cfcc; }
.on-dark .display, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .eyebrow { color: #7fc0ad; }
.on-dark .lede { color: #c9cfcc; }

.two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.8rem, 5vw, 4.5rem); align-items: start; }
.centred { text-align: center; }
.centred .lede { margin-inline: auto; }

/* at-a-glance list */
.facts { list-style: none; }
.facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.facts b { font: 400 .95rem/1.5 var(--text); color: var(--muted); }
.facts span { text-align: right; color: var(--ink); }

/* ---------- Feature cards ---------- */
.feats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.4rem); margin-top: clamp(1.8rem, 4vw, 2.8rem); }
.feats li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 2.5vw, 1.7rem); }
.feats .ico { color: var(--green); margin-bottom: .9rem; }
.feats h3 { font: 700 1.2rem/1.25 var(--display); color: var(--ink); margin-bottom: .45rem; }
.feats p { color: var(--muted); font-size: .94rem; line-height: 1.6; }

/* ---------- Inside: three columns ---------- */
.chapters { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.4rem); margin-top: clamp(1.8rem, 4vw, 2.8rem); }
.chapter { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 2.5vw, 1.7rem); }
.chapter .num { font: 400 .78rem/1 var(--display); letter-spacing: .14em; color: var(--green); }
.chapter h3 { font: 700 1.5rem/1.2 var(--display); color: var(--ink); margin: .5rem 0 .9rem; }
.chapter ul { list-style: none; }
.chapter li { padding: .5rem 0 .5rem 1rem; position: relative; color: var(--body); font-size: .95rem; border-bottom: 1px solid var(--line); }
.chapter li:last-child { border-bottom: 0; }
.chapter li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 4px; height: 4px; border-radius: 50%; background: var(--green); }

/* ---------- Photo bands ---------- */
.band { display: flex; flex-wrap: wrap; gap: 4px; }
.band figure { margin: 0; overflow: hidden; flex: 1 1 18rem; height: clamp(12rem, 23vw, 22rem); border-radius: var(--radius); }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band-wide figure { flex-basis: 24rem; }

/* ---------- Location ---------- */
.dist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3rem); }
.dist li { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.dist em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Guest scores ---------- */
.scores { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.8rem, 5vw, 4rem); align-items: start; }
.score-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.6rem; }
.score-head b { font: 700 clamp(3.4rem, 2.4rem + 4vw, 5.4rem)/.85 var(--display); color: var(--ink); }
.score-head strong { display: block; font: 700 1.3rem/1.2 var(--display); color: var(--ink); }
.score-head span { display: block; font-size: .88rem; color: var(--muted); }
.score-list { list-style: none; display: grid; }
.score-list li { display: grid; grid-template-columns: minmax(7rem, 10rem) 1fr auto; gap: 1rem; align-items: center; padding: .6rem 0; }
.score-list .name { font-size: .92rem; color: var(--body); }
.score-bar { height: 2px; background: var(--green); border-radius: 2px; }
.score-list em { font-style: normal; font: 400 .95rem/1 var(--text); color: var(--ink); font-variant-numeric: tabular-nums; }
.quote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); }
.quote p { font: 400 clamp(1.05rem, 1rem + .5vw, 1.35rem)/1.5 var(--display); font-style: italic; color: var(--ink); }
.quote footer { margin-top: 1.1rem; font-size: .88rem; color: var(--muted); }
.quote footer b { display: block; color: var(--ink); font-weight: 600; }

/* ---------- Rules ---------- */
.rules { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rules li { background: var(--white); padding: 1.2rem 1.1rem; }
.rules b { display: block; font: 600 .68rem/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.on-cream .rules li { background: var(--cream); }

/* ---------- Enquire band ---------- */
.enquire-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.8rem, 5vw, 4rem); align-items: start; }
.contact-lines { list-style: none; display: grid; gap: 1.1rem; }
.contact-lines li { display: grid; grid-template-columns: 1.3rem 1fr; gap: .8rem; align-items: start; }
.contact-lines .ico { color: var(--green); margin-top: .2rem; }
.contact-lines b { display: block; font: 600 .68rem/1.4 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-lines a, .contact-lines span[data-mail-user] { font-size: 1.05rem; color: var(--ink); overflow-wrap: anywhere; }
.on-dark .contact-lines .ico { color: #7fc0ad; }
.on-dark .contact-lines b { color: #93a09b; }
.on-dark .contact-lines a, .on-dark .contact-lines span[data-mail-user] { color: #fff; }

/* ---------- Page head ---------- */
.page-head { padding: clamp(2.2rem, 5vw, 3.4rem) 0 clamp(1.5rem, 3.5vw, 2.4rem); }
.crumbs { margin-bottom: 1.1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; font: 400 .84rem/1.4 var(--text); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: #b9b2a6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--green); }
.head-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 3rem); align-items: end; }

/* ---------- Amenity groups ---------- */
.groups { columns: 3; column-gap: clamp(1.2rem, 3vw, 2rem); }
.group { break-inside: avoid; margin-bottom: clamp(1rem, 2vw, 1.4rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.1rem, 2.4vw, 1.6rem); }
.group h3 { font: 700 1.3rem/1.2 var(--display); color: var(--ink); margin-bottom: .8rem; }
.group ul { list-style: none; display: grid; gap: .45rem; }
.group li { display: grid; grid-template-columns: 1rem 1fr; gap: .6rem; align-items: start; color: var(--body); font-size: .94rem; }
.group .ico { width: .95rem; height: .95rem; color: var(--green); margin-top: .35rem; }

/* ---------- Tiles, gallery, lightbox ---------- */
.tile { position: relative; display: block; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; width: 100%; border-radius: var(--radius); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.tile:hover img { transform: scale(1.04); }
.tile.is-entering img { animation: fade .45s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.filters { display: flex; flex-wrap: wrap; gap: .4rem; padding-bottom: 1.3rem; }
.filter {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer;
  padding: .5rem 1.05rem; min-height: 42px; font: 500 .9rem/1 var(--text); color: var(--body);
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }

/* Flex, so the last row always fills: no stray tiles, including when filtered. */
.grid { display: flex; flex-wrap: wrap; gap: 4px; }
.grid .tile { flex: 1 1 14rem; height: clamp(9rem, 15vw, 15rem); }
.gallery-more { display: flex; justify-content: center; margin-top: 2rem; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: none; background: rgba(15, 18, 17, .97); opacity: 0; transition: opacity .26s; }
.lightbox.is-open { display: block; }
.lightbox.is-visible { opacity: 1; }
.lb-stage { position: absolute; inset: 4.5rem 4.5rem 4rem; display: grid; place-items: center; }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: .8rem; max-height: 100%; }
.lb-img { max-width: 100%; max-height: calc(100vh - 11rem); width: auto; height: auto; border-radius: var(--radius); transition: opacity .2s; }
.lb-img.is-loading { opacity: .3; }
.lb-caption { font-size: 1rem; color: #d3d9d6; text-align: center; max-width: 44rem; }
.lb-counter { position: absolute; left: 1.4rem; top: 1.4rem; margin: 0; font: 600 .82rem/1 var(--text); letter-spacing: .1em; color: #d3d9d6; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(17, 18, 20, .8); color: #fff; cursor: pointer; }
.lb-btn:hover { background: var(--green); border-color: var(--green); }
.lb-btn:focus-visible { outline-color: #fff; }
.lb-btn svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-btn:disabled { display: none; }
.lb-prev { left: 1rem; top: 50%; margin-top: -1.5rem; }
.lb-next { right: 1rem; top: 50%; margin-top: -1.5rem; }
.lb-close { right: 1rem; top: 1rem; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3.5vw, 2.4rem); background: var(--white); }
.card-cream { background: var(--cream); }
.card-title { font: 700 1.7rem/1.15 var(--display); color: var(--ink); margin-bottom: .6rem; }
.form-intro { color: var(--muted); margin-bottom: 1.4rem; font-size: .95rem; }
.sub-h { font: 600 .68rem/1.4 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 1.8rem 0 .8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #99a29e; padding: clamp(2.8rem, 6vw, 4.2rem) 0 1.4rem; }
.site-footer a { color: #e6eae8; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem clamp(1.5rem, 4vw, 3.5rem); }
.footer-brand b { display: block; font: 700 1.45rem/1.15 var(--display); color: #fff; margin-bottom: .8rem; }
.footer-h { font: 700 1.05rem/1.2 var(--display); color: #fff; margin-bottom: .9rem; }
.footer-links { list-style: none; display: grid; gap: .5rem; }
.footer-links a { text-decoration: none; }
.footer-links a::before { content: "- "; color: #7d8884; }
.footer-links a:hover { text-decoration: underline; }
.colophon {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem;
  margin-top: clamp(2rem, 5vw, 3rem); padding-top: 1.3rem; border-top: 1px solid var(--line-dark);
  font-size: .85rem;
}
.colophon p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 62rem) {
  .two, .scores, .enquire-in, .contact-grid, .head-grid { grid-template-columns: minmax(0, 1fr); }
  .feats, .chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .groups { columns: 2; }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band figure, .band-wide figure { flex-basis: 15rem; height: clamp(10rem, 30vw, 17rem); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 44rem) {
  /* five numbers in two columns: the first spans, so 1 + 2 + 2 fills exactly */
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
  .stats li:first-child { grid-column: 1 / -1; }
  .feats, .chapters, .dist { grid-template-columns: minmax(0, 1fr); }
  .groups { columns: 1; }
  .score-list li { grid-template-columns: 1fr auto; }
  .score-bar { display: none; }
  .grid .tile { flex-basis: 10rem; height: 10rem; }
  .lb-stage { inset: 3.5rem .8rem 3.2rem; }
  .lb-img { max-height: calc(100vh - 8.5rem); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Form (shared by the hospitality sites; themed by --f-* set in each site's CSS) ---------- */
.site-form { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1.2rem; align-items: end; }
.form-row-tight { grid-template-columns: repeat(auto-fit, minmax(min(100%, 5.5rem), 1fr)); gap: .9rem; }
.field { display: grid; gap: .35rem; align-content: start; min-width: 0; }
.field label { font-weight: 600; }
.req { color: var(--f-accent); }
.hint { margin: 0; font-size: .92rem; color: var(--f-muted); }
.field input:not([type="checkbox"]), .field textarea, .field select { width: 100%; min-height: 3.1rem; padding: .7rem .9rem; font: inherit; font-size: 1.0625rem; color: var(--f-ink); background: var(--f-bg); border: 2px solid var(--f-border); border-radius: var(--f-radius); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 1.25rem) 55%, calc(100% - .9rem) 55%; background-size: .35rem .35rem; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--f-ink); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--f-accent); outline-offset: 2px; box-shadow: none; border-color: var(--f-ink); background-color: #fff; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { display: flex; gap: .45rem; align-items: center; margin: .1rem 0 0; font-size: .95rem; font-weight: 600; color: #b3261e; }
.field-error .ico { width: 1.1rem; height: 1.1rem; }
.field-check { grid-template-columns: auto minmax(0, 1fr); column-gap: .75rem; align-items: start; }
.field-check input { width: 1.35rem; height: 1.35rem; margin-top: .2rem; accent-color: var(--f-accent); }
.field-check label { font-weight: 400; font-size: .98rem; }
.field-check .field-error { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: .92rem; color: var(--f-muted); }
.btn-submit { justify-self: start; background: var(--f-accent); color: #fff; }
.btn-submit:hover { background: var(--f-accent-d); color: #fff; }
.btn-submit:disabled { opacity: .65; cursor: progress; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status[data-kind="ok"] { color: #1f6b3a; }
.form-status[data-kind="error"] { color: #b3261e; }
