/* Fuggles Barn at Pegs Farm
   Palette drawn from the view: Malvern slate haze, hop and hedgerow sage,
   Herefordshire red earth and brick, buttercup gold, limewash cream. */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-soft-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f6f1e7;
  --paper-2: #ede5d5;
  --card: #fbf8f1;
  --ink: #26261f;
  --ink-2: #4f4f45;
  --ink-3: #75756a;
  --hill: #5e6e7a;
  --hill-deep: #36424c;
  --hill-mist: #c9d1d4;
  --hop: #6e7d4f;
  --hop-deep: #3e4a30;
  --hop-pale: #dfe3d0;
  --brick: #a2553b;
  --brick-deep: #7f3f2b;
  --brick-pale: #efd9cc;
  --gold: #c99a3e;
  --gold-pale: #f2e4c2;
  --line: rgba(38, 38, 31, 0.14);
  --line-strong: rgba(38, 38, 31, 0.28);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(38, 38, 31, 0.06), 0 8px 28px rgba(38, 38, 31, 0.08);
  --section: clamp(56px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
picture img { width: 100%; }
a { color: var(--brick-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brick); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; }

h1, h2, h3, h4, .h-like {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.6rem); font-weight: 650; letter-spacing: -0.02em; }
h2, .h-like { font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem); }
h4 { font-size: 1.1rem; }
.h-small { font-size: 1.25rem; margin-top: 1.6em; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hop);
  margin: 0 0 0.9em;
}
.eyebrow-light { color: var(--gold-pale); }
.lede { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem); color: var(--ink-2); max-width: 62ch; }
.fine { font-size: 0.88rem; color: var(--ink-3); }
.center { text-align: center; margin-inline: auto; }
.center .lede { margin-inline: auto; }
.rounded img { border-radius: var(--radius); }

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  min-height: 48px; padding: 0.7em 1.35em;
  border-radius: 999px; border: 1.5px solid var(--hill-deep);
  background: var(--hill-deep); color: var(--paper);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn-quiet { background: transparent; color: var(--hill-deep); }
.btn-quiet:hover { background: var(--hill-deep); color: var(--paper); }
.btn-light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-ghost-light { background: rgba(20, 24, 28, 0.2); border-color: rgba(246, 241, 231, 0.75); color: var(--paper); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-airbnb { background: var(--brick); border-color: var(--brick); }
.btn-airbnb:hover { background: var(--brick-deep); border-color: var(--brick-deep); }
.btn-small { min-height: 40px; padding: 0.5em 1.05em; font-size: 0.93rem; }
.btn-large { min-height: 58px; padding: 0.9em 1.8em; font-size: 1.08rem; }
.ext { font-weight: 400; opacity: 0.85; }
.ext::after { content: " \2197"; }
.text-link { display: inline-block; font-weight: 600; color: var(--hill-deep); margin-right: 1.2em; }
.text-link::after { content: " \2192"; }

/* ---------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 241, 231, 0.9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.wordmark { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.05; padding-block: 10px; }
.wm-main { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 750; font-size: 1.45rem; letter-spacing: -0.01em; }
.wm-sub { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--hop); margin-top: 4px; }
.wordmark:hover { color: var(--ink); }
.site-nav ul { display: flex; align-items: center; gap: clamp(4px, 1.5vw, 18px); }
.nav-link { display: inline-block; padding: 8px 6px; color: var(--ink-2); font-weight: 550; text-decoration: none; border-bottom: 2px solid transparent; }
.nav-link:hover { color: var(--ink); border-color: var(--line-strong); }
.nav-link[aria-current="page"] { color: var(--ink); border-color: var(--brick); }

@media (max-width: 760px) {
  .header-inner { min-height: 0; gap: 0; padding-bottom: 6px; }
  .wordmark { padding-bottom: 4px; }
  .wm-main { font-size: 1.25rem; }
  .wm-sub { font-size: 0.64rem; }
  .site-nav { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { gap: 4px; white-space: nowrap; }
  .nav-link { font-size: 0.95rem; padding: 6px 4px; }
  .nav-amp { display: none; }
  .nav-book { margin-left: auto; }
}

/* ---------------------------------------------------------- hero */
.hero { position: relative; isolation: isolate; color: var(--paper); overflow: hidden; background: var(--hill-deep); }
.hero-img, .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img { z-index: -2; }
/* No full-width darkening: the photo stays bright. A soft, feathered patch sits only behind the text (.hero-text). */
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-text { position: relative; isolation: isolate; max-width: 760px; }
.hero-text::before { content: ""; position: absolute; z-index: -1; inset: -32% -32% -34% -24%; pointer-events: none;
  background: radial-gradient(closest-side at 46% 50%, rgba(18, 22, 26, 0.52) 0%, rgba(18, 22, 26, 0.38) 40%, rgba(18, 22, 26, 0.14) 72%, rgba(18, 22, 26, 0) 100%); }
.hero-coast:not(.hero-coast-photo) .hero-text::before { display: none; }
.hero .eyebrow-light { color: var(--paper); font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 0 10px rgba(0, 0, 0, 0.55), 0 0 22px rgba(0, 0, 0, 0.35); }
.hero-content { min-height: clamp(520px, 82vh, 820px); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(90px, 13vw, 170px); padding-top: 120px; }
.hero-page .hero-content { min-height: clamp(460px, 72vh, 720px); }
.hero h1 { color: var(--paper); max-width: 15ch; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 3px 12px rgba(0, 0, 0, 0.3), 0 6px 36px rgba(0, 0, 0, 0.3); }
.hero-home h1 { max-width: 17ch; }
.hero-lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); max-width: 46ch; color: rgba(246, 241, 231, 0.96); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 14px rgba(0, 0, 0, 0.4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.hero-home .hero-img img { object-position: 50% 35%; }
/* Barn hero: the whole photo, full width and never cropped at the sides. The text sits in the
   sky above the roof; where the photo's own sky runs out, a matching blue carries on above it.
   Numbers come from the photo: 3:2, roof ridge at about 31% down, barn base at about 80%. */
.hero-barn { background: linear-gradient(180deg, #2c5ea8 0%, #4580cb 100%); }
.hero-barn .hero-img { inset: auto 0 0 0; height: auto; }
.hero-barn .hero-img img { position: relative; display: block; inset: auto; width: 100%; height: auto; object-fit: fill;
  margin-bottom: -13%; /* tuck the gravel under the ridge line */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%); mask-image: linear-gradient(180deg, transparent 0, #000 14%); }
.hero-barn .hero-text::before { display: none; } /* the dark blue sky is enough; text shadows only */
.hero-barn .hero-content { min-height: 0; justify-content: flex-start; padding-top: clamp(24px, 3vw, 40px);
  padding-bottom: calc(32vw + 56px); /* the barn below the roof ridge, so the text stays in the sky */ }
.hero-barn .hero-lede { max-width: 64ch; }
@media (max-width: 700px) {
  .hero-barn .hero-img img { margin-bottom: -2%; } /* phones: show the barn's base above the facts strip */
  .hero-barn .hero-content { padding-bottom: calc(43vw + 64px); }
}

.ridge { width: 100%; height: clamp(44px, 7vw, 96px); }
.ridge-hero { position: absolute; left: 0; right: 0; bottom: -1px; fill: var(--paper); }
.ridge-hero path { fill: var(--paper); }

/* ---------------------------------------------------------- page head (no photo) */
.page-head { position: relative; background: var(--hill-mist); padding-top: clamp(56px, 9vw, 110px); padding-bottom: clamp(70px, 10vw, 130px); overflow: hidden; }
.page-head .lede { color: var(--ink-2); }
.ridge-head { position: absolute; bottom: -1px; left: 0; }
.ridge-head path { fill: var(--paper); }
.page-404 { min-height: 60vh; }

/* ---------------------------------------------------------- sections */
.section { padding-block: var(--section); }
.section-tint { background: var(--paper-2); }
.section-sage { background: var(--hop-pale); }
.section-dark { background: var(--hill-deep); color: var(--paper); }
.section-dark h2 { color: var(--paper); }
.section-dark .fine { color: rgba(246, 241, 231, 0.7); }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head.center { max-width: 760px; }

.split-grid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) {
  .split-grid { grid-template-columns: 1.15fr 1fr; }
  .split-reverse { grid-template-columns: 1fr 1.15fr; }
  .split-reverse .split-media { order: 2; }
}
.stack-media { position: relative; padding-bottom: 40px; }
.stack-small { position: absolute; right: -10px; bottom: 0; width: 34%; border: 6px solid var(--paper); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow); }
.section-sage .stack-small { border-color: var(--hop-pale); }
.stack-small img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 600px) { .stack-small { right: 8px; width: 38%; } }

/* ---------------------------------------------------------- stay cards (home) */
.stay-grid { display: grid; gap: clamp(20px, 3vw, 36px); }
@media (min-width: 900px) { .stay-grid { grid-template-columns: 1fr 1fr; } }
.stay-card { background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.stay-media { display: block; overflow: hidden; aspect-ratio: 3 / 2; }
.stay-media img { height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.stay-card:hover .stay-media img { transform: scale(1.03); }
.stay-body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.stay-kicker { font-size: 0.8rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brick); margin-bottom: 0.4em; }
.stay-body h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.stay-body h3 a { color: inherit; text-decoration: none; }
.stay-body h3 a:hover { color: var(--brick-deep); }
.stay-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.stat-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 1em !important; padding-bottom: 1em !important; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.stat-row strong { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.35rem; color: var(--ink); margin-right: 4px; }
.rating { color: var(--ink-2); }
.star { color: var(--gold); }

/* ---------------------------------------------------------- compare table */
.table-scroll { overflow-x: auto; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.15rem; font-weight: 600; background: var(--hill-deep); color: var(--paper); border-bottom: 0; }
.compare tbody th { font-weight: 650; color: var(--hop-deep); width: 18%; white-space: nowrap; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare td { width: 41%; }

/* ---------------------------------------------------------- distances */
.distances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 1.4em 0 1.6em !important; }
.distances li { background: var(--card); border-radius: var(--radius); padding: 14px 14px 12px; border-top: 3px solid var(--hill); }
.distances strong { display: block; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.4rem; line-height: 1.1; }
.distances span { font-size: 0.88rem; color: var(--ink-2); line-height: 1.35; display: block; margin-top: 4px; }
@media (max-width: 480px) { .distances { grid-template-columns: 1fr; } .distances li { display: flex; gap: 12px; align-items: baseline; } }

/* ---------------------------------------------------------- ratings */
.rating-grid { display: grid; gap: 20px; max-width: 860px; margin: 0 auto 24px; }
@media (min-width: 700px) { .rating-grid { grid-template-columns: 1fr 1fr; } }
.rating-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 24px; border-radius: var(--radius-lg); background: rgba(246, 241, 231, 0.07); border: 1px solid rgba(246, 241, 231, 0.18); color: var(--paper); text-decoration: none; transition: background 0.2s; }
.rating-card:hover { background: rgba(246, 241, 231, 0.13); color: var(--paper); }
.rating-big { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: clamp(3.4rem, 2.6rem + 3vw, 5rem); font-weight: 600; line-height: 1; color: var(--gold-pale); }
.rating-of { font-size: 0.95rem; opacity: 0.8; margin-top: 6px; }
.rating-name { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.3rem; margin-top: 16px; }
.rating-note { font-size: 0.9rem; opacity: 0.8; }

/* ---------------------------------------------------------- hosts */
.hosts-grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 980px; }
@media (min-width: 760px) { .hosts-grid { grid-template-columns: 380px 1fr; } }
.hosts-img img { border-radius: 50% 50% var(--radius-lg) var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }

/* ---------------------------------------------------------- booking */
.book { padding-block: var(--section); background: var(--gold-pale); }
.book-grid { display: grid; gap: 24px; margin-bottom: 24px; }
@media (min-width: 900px) { .book-grid { grid-template-columns: 1fr 1fr; } }
.book-card { background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: grid; }
.book-img img { aspect-ratio: 16 / 9; object-fit: cover; }
.book-body { padding: 24px; display: flex; flex-direction: column; }
.book-body h3 { margin-bottom: 0.3em; }
.book-facts { color: var(--ink-2); margin-bottom: 0.4em; }
.book-body .btn { margin-top: auto; }

/* ---------------------------------------------------------- facts strip */
.facts-strip { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-top: clamp(-70px, -5vw, -40px); position: relative; z-index: 2; overflow: hidden; }
.facts-strip li { padding: 18px 12px; text-align: center; border-right: 1px solid var(--line); }
.facts-strip li:last-child { border-right: 0; background: var(--gold-pale); }
.facts-strip strong { display: block; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 600; line-height: 1.1; }
.facts-strip span { font-size: 0.88rem; color: var(--ink-2); }
@media (max-width: 640px) {
  .facts-strip { grid-template-columns: repeat(2, 1fr); }
  .facts-strip li { border-bottom: 1px solid var(--line); }
  .facts-strip li:nth-child(2n) { border-right: 0; }
  .facts-strip li:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* ---------------------------------------------------------- mosaic + features */
.mosaic { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.mosaic img { height: 100%; object-fit: cover; }
@media (min-width: 760px) {
  .mosaic { grid-template-columns: 1.7fr 1fr; grid-template-rows: 1fr 1fr; height: clamp(420px, 48vw, 600px); }
  .m-a { grid-row: 1 / 3; }
}
@media (max-width: 759px) { .mosaic img { aspect-ratio: 3 / 2; } }
.feature-cols { display: grid; gap: 28px; }
@media (min-width: 760px) { .feature-cols { grid-template-columns: repeat(3, 1fr); } }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 0.55em; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px; border-left: 2px solid var(--hop); border-bottom: 2px solid var(--hop); transform: rotate(-45deg); }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 1.2em; }
.two-lists h3 { font-size: 1.15rem; }
@media (max-width: 420px) { .two-lists { grid-template-columns: 1fr; } }
.rules li { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rules li:last-child { border-bottom: 0; }
.rules strong { color: var(--hop-deep); }

/* ---------------------------------------------------------- bring */
.bring-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .bring-grid { grid-template-columns: 1.1fr 1fr 1fr; } }
.bring-card { background: var(--card); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.bring-card .rules li { grid-template-columns: 5.6em 1fr; }
.bring-card h2, .bring-card .h-like { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); }

/* ---------------------------------------------------------- CTA band */
.cta-band { background: var(--brick-pale); padding-block: clamp(44px, 6vw, 72px); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); }
.cta-inner .rating { margin: 0; max-width: 60ch; }

/* ---------------------------------------------------------- gallery */
.gallery { columns: 3 300px; column-gap: 14px; }
.gallery li { break-inside: avoid; margin-bottom: 14px; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.gallery img { transition: transform 0.5s ease, filter 0.3s; }
.gallery a:hover img { transform: scale(1.03); }
@media (max-width: 640px) { .gallery { columns: 2; column-gap: 10px; } .gallery li { margin-bottom: 10px; } }

/* ---------------------------------------------------------- lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(20, 22, 24, 0.92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: min(92vw, 1600px); display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: 82vh; width: auto; border-radius: 8px; }
.lightbox figcaption { color: rgba(246, 241, 231, 0.85); font-size: 0.95rem; padding: 12px 8px 0; text-align: center; max-width: 70ch; }
.lb-close, .lb-nav { position: fixed; background: rgba(246, 241, 231, 0.12); color: var(--paper); border: 0; border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-close:hover, .lb-nav:hover { background: rgba(246, 241, 231, 0.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } }

/* ---------------------------------------------------------- floor plan */
.plan-floors { display: grid; gap: 22px; }
@media (min-width: 900px) { .plan-floors { grid-template-columns: 1fr 1fr; } }
.plan-floor { margin: 0; background: var(--card); border-radius: var(--radius-lg); padding: 18px 18px 10px; box-shadow: var(--shadow); }
.plan-floor figcaption { font-size: 0.95rem; color: var(--ink-2); margin-bottom: 8px; }
.plan-floor figcaption strong { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.25rem; color: var(--ink); margin-right: 8px; }
.plan-svg { width: 100%; height: auto; font-family: var(--sans); }
.plan-svg .room > rect, .plan-svg .room > polygon { stroke: var(--ink); stroke-width: 7; stroke-linejoin: round; }
.room-bed > rect:first-child { fill: var(--hop-pale); }
.room-living > rect, .room-living > polygon { fill: var(--brick-pale); }
.room-circ > rect, .room-circ > polygon { fill: #f4efe4; }
.room-bath > rect { fill: var(--hill-mist); }
.room-service > rect { fill: var(--paper-2); }
.room-outside > rect { fill: var(--gold-pale); stroke-dasharray: 14 10; }
.room-void > rect { stroke: var(--line-strong) !important; stroke-width: 3 !important; }
.plan-svg .hatch { stroke: var(--line-strong); stroke-width: 2; }
.plan-svg text { text-anchor: middle; fill: var(--ink); }
.plan-svg .room-label { font-size: 38px; font-weight: 600; letter-spacing: 0.02em; }
.plan-svg .room-label.small { font-size: 28px; }
.plan-svg .room-num { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 64px; font-weight: 650; }
.plan-svg .room-sub { font-size: 30px; fill: var(--ink-2); }
.plan-svg .bed { fill: #fff; stroke: var(--hop-deep); stroke-width: 4; }
.plan-svg .pillow { fill: var(--hop-pale); stroke: var(--hop-deep); stroke-width: 3; }
.plan-svg .fold { stroke: var(--hop-deep); stroke-width: 3; opacity: 0.5; }
.plan-svg .stairs circle, .plan-svg .stairs rect, .plan-svg .stairs line { fill: none; stroke: var(--ink-3); stroke-width: 3; }
.plan-svg .entrance path { fill: none; stroke: var(--brick); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.plan-svg .entrance text { fill: var(--brick); font-size: 32px; font-weight: 650; text-anchor: start; }
.plan-svg .ensuite-mark circle { fill: var(--hill); }
.plan-svg .ensuite-mark path { fill: #fff; }
.room-bed { cursor: pointer; outline: none; }
.room-bed > rect:first-child { transition: fill 0.2s; }
.room-bed:hover > rect:first-child, .room-bed.is-hot > rect:first-child { fill: #c9d2b2; }
.room-bed.is-active > rect:first-child { fill: var(--gold-pale); }
.room-bed:focus-visible > rect:first-child { stroke: var(--gold); stroke-width: 12; }
.room-bed.is-filled .room-num { fill: var(--hop-deep); }

.plan-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 2px 28px; font-size: 0.9rem; color: var(--ink-2); }
.plan-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--ink); display: inline-block; }
.lg-bed { background: var(--hop-pale); }
.lg-living { background: var(--brick-pale); }
.lg-bath { background: var(--hill-mist); }
.lg-drop { background: var(--hill); border-radius: 50%; border-color: var(--hill); }

.planner { background: var(--card); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.planner-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 20px; }
.planner-head h3 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); margin-bottom: 0.25em; }
.planner-head p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.planner-count { background: var(--hop-pale); border-radius: 999px; padding: 8px 16px; font-size: 0.95rem; white-space: nowrap; }
.planner-count strong { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.2rem; }
.room-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.room-card { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px 14px 12px; background: var(--paper); transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.room-card.is-hot { border-color: var(--hop); }
.room-card.is-active { border-color: var(--gold); background: #fffaf0; box-shadow: 0 0 0 3px var(--gold-pale); }
.room-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.room-card h4 { margin: 0; font-size: 1.15rem; }
.room-floor { font-size: 0.78rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.room-bedtype { margin: 4px 0 10px; font-size: 0.95rem; color: var(--ink-2); }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.04em; padding: 2px 8px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); margin-left: 4px; vertical-align: 1px; }
.tag-ensuite { background: var(--hill); color: #fff; }
.slots { display: grid; gap: 6px; }
.slot input { width: 100%; min-height: 40px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; padding: 8px 10px; font: inherit; font-size: 16px; color: var(--ink); }
.slot input:focus { border-color: var(--hop); outline: 2px solid var(--hop-pale); outline-offset: 0; }
.slot input::placeholder { color: var(--ink-3); }
.planner-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
.planner-status { font-size: 0.9rem; color: var(--hop-deep); }

/* ---------------------------------------------------------- getting here */
.find-grid { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 900px) { .find-grid { grid-template-columns: 1fr 1.15fr; align-items: start; } }
.find-text h3 { margin-top: 1.4em; font-size: 1.2rem; }
.address-card { background: var(--card); border-left: 4px solid var(--brick); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; font-size: 1.08rem; line-height: 1.55; box-shadow: var(--shadow); }
.map-wrap { display: flex; flex-direction: column; gap: 12px; }
.area-map { position: relative; z-index: 0; border-radius: var(--radius-lg); overflow: hidden; width: 100%; height: clamp(400px, 44vw, 560px);
  background: var(--hill-mist); box-shadow: var(--shadow); font-family: var(--sans); }
.map-fallback { padding: 24px; }
.map-fallback p { margin: 0 0 0.5em; }
.area-map .leaflet-tile-pane { filter: saturate(0.55) sepia(0.12) contrast(0.96); }
.area-map .leaflet-control-attribution { font-size: 11px; background: rgba(251, 248, 241, 0.85); }
.map-links { margin: 0; }
.pin { position: relative; }
.pin-mark { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); display: block; }
.pin-label { position: absolute; left: 14px; top: 0; transform: translateY(-50%); white-space: nowrap; font-weight: 700; font-size: 14px; color: var(--ink);
  background: rgba(251, 248, 241, 0.92); padding: 3px 9px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18); }
.pin-site .pin-mark { width: 22px; height: 22px; border-radius: 50%; background: var(--brick); border: 3px solid #fff; box-shadow: 0 0 0 4px rgba(162, 85, 59, 0.3), 0 2px 6px rgba(0, 0, 0, 0.35); }
.pin-site .pin-label { left: 20px; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 16px; background: var(--brick); color: #fff; }
.pin-town .pin-mark { width: 12px; height: 12px; border-radius: 50%; background: var(--hill-deep); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); }
.pin-hills .pin-mark { width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 14px solid var(--hop-deep); }
.pin-hills .pin-label { font-style: italic; font-weight: 600; color: var(--hop-deep); }
.pin-left .pin-label { left: auto; right: 14px; }
.pin-pub .pin-mark { width: 16px; height: 16px; border-radius: 50%; background: var(--hop-deep); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); }
.pin-pub .pin-label { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 15px; }
.pin-pub.pin-left .pin-label { right: 16px; }
.faq-wrap { max-width: 820px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.2rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.6rem; font-weight: 400; color: var(--hop); transition: transform 0.2s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq > div { padding-bottom: 14px; color: var(--ink-2); max-width: 66ch; }
.near-grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .near-grid { grid-template-columns: repeat(3, 1fr); } }
.near-card { background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.near-card img { aspect-ratio: 3 / 2; object-fit: cover; }
.near-card h3 { padding: 18px 20px 0; margin-bottom: 0.3em; }
.near-card p { padding: 0 20px 18px; margin: 0; color: var(--ink-2); }

/* ---------------------------------------------------------- mobile booking bar */
.mobile-book { display: none; }
@media (max-width: 760px) {
  .mobile-book { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; background: var(--hill-deep); color: var(--paper); border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); transform: translateY(150%); transition: transform 0.3s ease; }
  .mobile-book.is-visible { transform: none; }
  .mobile-book span { font-size: 0.9rem; line-height: 1.2; }
  .mobile-book strong { display: block; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.05rem; }
}

/* ---------------------------------------------------------- footer */
.site-footer { margin-top: 0; }
.ridge-footer { display: block; margin-bottom: -1px; }
.ridge-footer path { fill: var(--hill-deep); }
main:has(> .book:last-child) + .site-footer .ridge-footer { background: var(--gold-pale); }
main:has(> .cta-band + .mobile-book) + .site-footer .ridge-footer { background: var(--brick-pale); }
.footer-body { background: var(--hill-deep); color: rgba(246, 241, 231, 0.88); padding: 24px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-body a { color: var(--paper); }
.footer-body a:hover { color: var(--gold-pale); }
.footer-grid { display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(246, 241, 231, 0.16); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-name { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.6rem; font-weight: 700; color: var(--paper); line-height: 1.15; }
.footer-name span { display: block; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 600; color: var(--hop-pale); margin-top: 6px; }
.footer-h { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--gold-pale); margin-bottom: 1em; }
.footer-links li { margin-bottom: 0.5em; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; font-size: 0.88rem; opacity: 0.8; }
.footer-base p { margin: 0; }
.footer-credit a { color: inherit; }
@media (max-width: 760px) { body:has(.mobile-book) .footer-body { padding-bottom: 96px; } }

/* ---------------------------------------------------------- grounds grid (home) */
.grounds-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .grounds-grid { grid-template-columns: repeat(4, 1fr); } }
.grounds-grid li { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--hill-deep); }
.grounds-grid .gg-wide { grid-column: span 2; }
.grounds-grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.grounds-grid .gg-wide img { aspect-ratio: 8 / 3; }
@media (max-width: 899px) { .grounds-grid .gg-wide img { aspect-ratio: 16 / 9; } }
.grounds-grid span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: var(--paper); font-weight: 600; font-size: 0.95rem; line-height: 1.3;
  background: linear-gradient(180deg, rgba(25, 30, 34, 0) 0%, rgba(25, 30, 34, 0.72) 100%); }

/* ---------------------------------------------------------- single rating + single booking card */
@media (min-width: 700px) { .rating-single { grid-template-columns: minmax(0, 420px); justify-content: center; } }
.book-single { max-width: 1040px; margin: 0 auto; }
@media (min-width: 860px) {
  .book-single { grid-template-columns: 1.05fr 1fr; }
  .book-single .book-img img { height: 100%; aspect-ratio: auto; }
}
.book-single .book-body { padding: clamp(24px, 3.5vw, 44px); }
.book-single .book-body h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.book-single .btn { margin-top: 0.6em; align-self: flex-start; }
.book-single .fine { margin: 1em 0 0; }

/* ---------------------------------------------------------- South Africa: its own palette, kept apart */
:root {
  --sea: #3f6c70;
  --sea-deep: #24474b;
  --sand: #ece0c8;
  --sand-pale: #f6efe2;
}
.nav-away { margin-left: clamp(4px, 1.4vw, 14px); padding-left: clamp(8px, 1.4vw, 16px); border-left: 1px solid var(--line-strong); }
.nav-away .nav-link[aria-current="page"] { border-color: var(--sea); }
.btn-coast { background: var(--sea); color: var(--sand-pale); border-color: var(--sea); }
.btn-coast:hover { background: var(--sea-deep); border-color: var(--sea-deep); color: var(--sand-pale); }

.elsewhere { position: relative; background: var(--sea); color: var(--sand-pale); padding: clamp(40px, 6vw, 72px) 0 clamp(44px, 6vw, 76px); }
/* The owner's lagoon photo behind the band, darkened on the text side so the words stay readable. */
/* The photo also fills the shoreline wave above the band: the wave shape is used as a mask. */
.elsewhere { isolation: isolate; }
.elsewhere-bg { --wv: clamp(28px, 4vw, 56px); --rg: clamp(44px, 7vw, 96px); position: absolute; inset: calc(var(--wv) * -1 + 1px) 0 calc(var(--rg) * -1) 0; z-index: -1;
  -webkit-mask: url(/assets/shapes/wave-mask.svg) top / 100% var(--wv) no-repeat, linear-gradient(#000, #000) 0 var(--wv) / 100% calc(100% - var(--wv)) no-repeat;
          mask: url(/assets/shapes/wave-mask.svg) top / 100% var(--wv) no-repeat, linear-gradient(#000, #000) 0 var(--wv) / 100% calc(100% - var(--wv)) no-repeat; }
.elsewhere:has(.elsewhere-bg) .wave-top { visibility: hidden; }
.elsewhere-bg picture, .elsewhere-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.elsewhere-bg::after { content: ""; position: absolute; inset: 0; background: rgba(24, 46, 49, 0.12); }
/* A soft local shade behind the words only, so the photo keeps its colour right to the edges. */
.elsewhere-text { position: relative; }
.elsewhere-text::before { content: ""; position: absolute; z-index: -1; inset: -45% -12% -45% -22%; pointer-events: none;
  background: radial-gradient(closest-side at 50% 50%, rgba(18, 30, 34, 0.68) 0%, rgba(18, 30, 34, 0.48) 45%, rgba(18, 30, 34, 0.16) 75%, rgba(18, 30, 34, 0) 100%); }
.elsewhere h2, .elsewhere .elsewhere-text p { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 0 8px rgba(0, 0, 0, 0.45), 0 2px 18px rgba(0, 0, 0, 0.45); }
.elsewhere .eyebrow { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5); }
@media (max-width: 720px) { .elsewhere-bg::after { background: rgba(24, 46, 49, 0.4); } }
.wave { display: block; width: 100%; height: clamp(28px, 4vw, 56px); }
.wave-top { position: absolute; top: 0; left: 0; transform: translateY(-99%); }
.wave-top path { fill: var(--sea); }
.elsewhere-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.elsewhere-inner > div { max-width: 64ch; }
.elsewhere .eyebrow { color: var(--sand); }
.elsewhere h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); color: var(--sand-pale); }
.elsewhere .btn-coast { background: var(--sand-pale); color: var(--sea-deep); border-color: var(--sand-pale); }
.elsewhere .btn-coast:hover { background: var(--sand); border-color: var(--sand); color: var(--sea-deep); }
.elsewhere p:last-child { margin-bottom: 0; }
/* The band's photo carries on behind the footer's hill line. */
main:has(> .elsewhere:last-child) + .site-footer .ridge-footer { background: transparent; position: relative; z-index: 1; }

.hero-coast { background: linear-gradient(160deg, var(--sea-deep) 0%, var(--sea) 55%, #7c9c95 100%); }
.hero-coast .hero-content { min-height: clamp(380px, 56vh, 560px); }
.wave-hero { position: absolute; left: 0; right: 0; bottom: -1px; }
.wave-hero path { fill: var(--paper); }
.theme-coast .eyebrow { color: var(--sea); }
.theme-coast .eyebrow-light { color: var(--sand); }
.theme-coast .facts-strip li:last-child { background: var(--sand); }
.theme-coast .ticks li::before { border-color: var(--sea); }
@media (min-width: 641px) { .facts-4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .facts-4 li:last-child { grid-column: auto; } .facts-4 li:nth-last-child(2) { border-bottom: 0; } }
@media (max-width: 760px) {
  .nav-away { margin-left: 2px; padding-left: 6px; }
  .header-inner { position: relative; }
  .nav-book { position: absolute; right: var(--gutter); top: 14px; margin: 0; }
  .site-nav ul { gap: 2px 10px; justify-content: space-between; }
  .site-nav .nav-link { font-size: 0.9rem; padding: 6px 0; }
}
.away-note { margin: 0 0 18px; padding: 12px 16px; border-left: 3px solid var(--sea); background: var(--sand-pale); border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.95rem; color: var(--ink-2); }
.theme-coast .facts-strip { margin-top: 0; }
.theme-coast .away-note { margin-top: clamp(-50px, -4vw, -28px); position: relative; z-index: 2; box-shadow: var(--shadow); }
.section-coast { background: var(--sand-pale); }
.glance-card { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 34px); border-top: 4px solid var(--sea); }
.glance-card h3 { margin-bottom: 0.6em; }
.glance div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.glance dt { font-weight: 650; }
.glance dd { margin: 0; color: var(--ink-2); }
.cta-coast { background: var(--sand); }
main:has(> .cta-coast + .mobile-book) + .site-footer .ridge-footer { background: var(--sand); }

/* ---------------------------------------------------------- owner's brief: home opening, seasons, activities */
.pos-bottom img { object-position: 50% 100%; }
/* A tall photo that fills the whole height of its section beside the text */
@media (min-width: 900px) {
  .split-tall .split-grid { align-items: stretch; grid-template-columns: 1fr 1fr; }
  .split-tall .split-media, .split-tall .split-media picture { height: 100%; }
  .split-tall .split-media img { width: 100%; height: 100%; min-height: 640px; object-fit: cover; object-position: 50% 70%; }
  .split-tall .split-media picture { display: block; width: 100%; }
  .split-tall .split-text { align-self: center; }
}
@media (max-width: 899px) { .split-tall .split-media img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 70%; } }
.opening-grid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .opening-grid { grid-template-columns: 1.1fr 1fr; } }
.opening-lede { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.45; color: var(--ink); }
.ticks-cols { display: grid; gap: 4px 32px; margin-top: clamp(24px, 3vw, 36px) !important; }
@media (min-width: 700px) { .ticks-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ticks-cols { grid-template-columns: repeat(3, 1fr); } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.2em !important; }
.tags li { padding: 6px 14px; border-radius: 999px; background: var(--gold-pale); font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }

.seasons { display: grid; gap: 22px; }
@media (min-width: 760px) { .seasons { grid-template-columns: 1fr 1fr; } }
.season-card { background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.season-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.season-body { padding: clamp(20px, 3vw, 32px); border-top: 4px solid var(--gold); }
.season-winter .season-body { border-top-color: var(--hill); }
.season-body p { margin: 0; }

.activity-list { display: grid; gap: 16px; margin: 1.4em 0 1.6em !important; }
.activity-list li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; }
.activity-list strong { display: block; font-size: 1.05rem; }
.activity-list span:not(.act-icon) { display: block; color: var(--ink-2); font-size: 0.95rem; line-height: 1.4; }
.act-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--hop-pale); color: var(--hop-deep); display: grid; place-items: center; }
.act-icon svg { width: 32px; height: 32px; }

/* ---------------------------------------------------------- things to do page */
.do-grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .do-grid { grid-template-columns: repeat(3, 1fr); } }
.do-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform 0.25s ease; }
.do-card:hover { transform: translateY(-3px); color: inherit; }
.do-media { aspect-ratio: 4 / 3; overflow: hidden; }
.do-media picture { display: block; height: 100%; }
.do-media img { width: 100%; height: 100%; object-fit: cover; }
.do-body { padding: 20px 22px 24px; }
.do-body h3 { margin-bottom: 0.3em; }
.do-body p { margin: 0; color: var(--ink-2); }
.narrow { max-width: 760px; }
.safety-note { margin-top: 1.4em; padding: 18px 22px; border-radius: var(--radius); background: var(--card); border-left: 4px solid var(--brick); }
.safety-note h3 { font-size: 1.1rem; margin-bottom: 0.3em; }
.safety-note p { margin: 0; }
.pub-list { display: grid; gap: 14px; margin-bottom: 1.4em !important; }
.season-strip { display: grid; gap: 14px; margin-top: clamp(28px, 4vw, 48px) !important; }
@media (min-width: 760px) { .season-strip { grid-template-columns: repeat(3, 1fr); } }
.season-strip li { position: relative; border-radius: var(--radius); overflow: hidden; }
.season-strip picture, .season-strip img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.season-strip span { position: absolute; left: 14px; bottom: 12px; color: #fff; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7), 0 0 12px rgba(0, 0, 0, 0.45); }
.place-grid { display: grid; gap: 22px; margin-bottom: 22px !important; }
@media (min-width: 700px) { .place-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .place-grid { grid-template-columns: repeat(3, 1fr); } }
.place-card { background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.place-card picture, .place-card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.place-card div { padding: 16px 20px 20px; }
.place-card h3 { margin-bottom: 0.25em; }
.place-card p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.pubs-grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .pubs-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.pubs-text .pub-list { margin-bottom: 0 !important; }
.area-map-pubs { height: clamp(340px, 38vw, 480px); }
.pub-list li { background: var(--card); border-radius: var(--radius); padding: 16px 18px; border-top: 3px solid var(--hop); }
.pub-list strong { display: block; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.2rem; }
.pub-list span { color: var(--ink-2); font-size: 0.93rem; }

/* ---------------------------------------------------------- getting here: arrival aerials */
/* The overview aerial is 16:9 with the Malvern ridge about 15% down. The box grows with the width
   (about three quarters of the photo's height), so the ridge, the brown field and the farm all stay in. */
.hero-short .hero-content { min-height: clamp(460px, 42vw, 860px); justify-content: center;
  padding-top: clamp(32px, 4vw, 64px); padding-bottom: clamp(70px, 9vw, 160px); }
.hero-short .hero-img img { object-position: 50% 22%; }
/* Things to do: the Wye horseshoe bend is a 2:1 panorama. Height follows the width (half of it),
   so on wide screens the whole photo shows; narrower screens trim the sides, never the bend. */
.hero-wye .hero-content { min-height: clamp(460px, 50vw, 960px); justify-content: center;
  padding-top: clamp(32px, 4vw, 64px); padding-bottom: clamp(70px, 9vw, 160px); }
.hero-wye .hero-img img { object-position: 50% 50%; }
.arrive-grid { display: grid; gap: 18px; margin-bottom: clamp(24px, 3vw, 36px); }
@media (min-width: 760px) { .arrive-grid { grid-template-columns: 1fr 1fr; } }
.arrive-fig { margin: 0; background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.arrive-fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.arrive-fig figcaption { padding: 14px 18px 16px; font-weight: 600; color: var(--ink-2); }
.arrive-times { max-width: 640px; }

/* ---------------------------------------------------------- South Africa map (sa_map.py) */
.nav-short { display: none; }
@media (max-width: 420px) {
  .nav-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-short { display: inline; }
}
.sa-map { display: block; height: auto; overflow: visible; }
.sa-edge { stroke: rgba(255, 255, 255, 0.95); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.sa-star { fill: #ffb300; stroke: #1c1c1c; stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.sa-lead { fill: none; stroke: var(--sand-pale); stroke-width: 1.5; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.sa-label { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 22px; font-weight: 600; fill: var(--sand-pale); }
.sa-sublabel { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; fill: var(--sand); }

.sa-map-nav { display: inline-block; width: 22px; margin: 0 6px -4px 0; filter: drop-shadow(0 0 0.5px rgba(0, 0, 0, 0.4)); }
.sa-map-nav .sa-edge { stroke-width: 0.75; }
.sa-map-nav .sa-star { stroke-width: 0.75; }

.sa-map-band { width: clamp(96px, 12vw, 150px); flex: none; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25)); }
.elsewhere-inner { flex-wrap: nowrap; }
.elsewhere-text { flex: 1; }
@media (max-width: 720px) {
  .elsewhere-inner { flex-wrap: wrap; }
  .sa-map-band { width: 110px; }
}

.footer-away { display: flex; gap: 14px; align-items: flex-start; }
.sa-map-foot { width: 58px; flex: none; margin-top: 4px; }

.hero-coast-grid { display: grid; align-content: end; gap: 24px; }
@media (min-width: 860px) { .hero-coast-grid { grid-template-columns: 1fr minmax(320px, 0.95fr); align-items: end; } }
.sa-map-hero { width: 100%; max-width: 520px; justify-self: end; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.3)); }
@media (max-width: 859px) { .sa-map-hero { max-width: 340px; justify-self: start; } }

/* ---------------------------------------------------------- print: rooming list */
/* ---------------------------------------------------------- barn page: aerials */
.aerial-feature { margin: 0 0 18px; }
.aerial-labelled { position: relative; }
.aerial-labelled picture, .aerial-labelled img { display: block; width: 100%; height: auto; }
/* Ring and name are placed by percentage, so they stay on the games barn at any image size. */
.aerial-ring { position: absolute; width: 7%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brick), 0 1px 6px rgba(0, 0, 0, 0.45); pointer-events: none; }
.aerial-name { position: absolute; transform: translateY(-50%); background: var(--brick); color: #fff; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 600;
  font-size: clamp(0.8rem, 0.7rem + 0.5vw, 1.05rem); padding: 3px 10px; border-radius: 999px; white-space: nowrap; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); pointer-events: none; }
.aerial-feature figcaption { margin-top: 8px; color: var(--ink-2); font-size: 0.93rem; }
.aerial-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .aerial-grid { grid-template-columns: 1fr 1fr; } }
.aerial-grid li { position: relative; border-radius: var(--radius); overflow: hidden; }
.aerial-grid picture, .aerial-grid img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.aerial-grid span { position: absolute; left: 12px; bottom: 10px; color: #fff; font-weight: 600; font-size: 0.92rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 0 12px rgba(0, 0, 0, 0.45); }

/* ---------------------------------------------------------- Tumbleweeds photos (the owner's) */
.hero-coast-photo .hero-content { min-height: clamp(440px, 52vw, 820px); }
.hero-coast-photo .hero-img img { object-position: 50% 45%; }
.hero-coast-photo .hero-coast-grid { grid-template-columns: 1fr auto; align-items: end; }
.hero-coast-photo .sa-map-hero { width: clamp(110px, 14vw, 210px); max-width: none; justify-self: end; margin-bottom: 8px; }
@media (max-width: 859px) { .hero-coast-photo .hero-coast-grid { grid-template-columns: 1fr; } .hero-coast-photo .sa-map-hero { display: none; } }
.aerial-ring-house { width: 19%; height: 15%; aspect-ratio: auto; border-radius: 40%; }
.aerial-name-above { transform: translate(-50%, -50%); background: var(--sea-deep); }
.tw-intro-glance { margin-top: 24px; }
.beach-pair { display: grid; gap: 14px; margin-top: 18px !important; }
@media (min-width: 760px) { .beach-pair { grid-template-columns: 1fr 1fr; } }
.beach-pair li { border-radius: var(--radius); overflow: hidden; }
.beach-pair picture, .beach-pair img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
/* Small thumbnails only: these interiors do not stand up to large sizes. */
.gallery-small .gallery { columns: 4 200px; }
@media (max-width: 640px) { .gallery-small .gallery { columns: 2; } }

/* ---------------------------------------------------------- Tumbleweeds hero: the whole aerial, house visible
   The stage is about one screen tall and the photo always shows its full height, so the sky, the bay
   and the blue roof are all in view. Wider screens show the South African flag either side;
   narrow screens (phones) trim the sides around the house. The frame keeps the photo's own shape,
   so the ring's percentages stay on the roof. */
.tw-hero { position: relative; isolation: isolate; background: var(--sea-deep); color: var(--paper);
  --h: min(75vw, max(640px, calc(100svh - 73px))); --fw: calc(var(--h) * 1.3336); }
.tw-stage { position: relative; height: var(--h); overflow: hidden; }
.tw-backdrop { position: absolute; inset: 0; }
.tw-backdrop .sa-flag { display: block; width: 100%; height: 100%; }
.tw-frame { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 48px rgba(0, 0, 0, 0.5); }
.tw-frame { position: absolute; top: 0; left: 50%; height: 100%; width: var(--fw); transform: translateX(-50%); }
.tw-frame picture, .tw-frame img { display: block; width: 100%; height: 100%; }
/* Fade the neighbouring houses at the bottom corners; the middle, with Tumbleweeds, stays clear. */
.tw-fade { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 34% 26% at 0% 0%, rgba(24, 46, 49, 0.72) 0%, rgba(24, 46, 49, 0.4) 50%, rgba(24, 46, 49, 0) 100%),
    radial-gradient(ellipse 30% 24% at 100% 0%, rgba(24, 46, 49, 0.72) 0%, rgba(24, 46, 49, 0.4) 50%, rgba(24, 46, 49, 0) 100%),
    radial-gradient(ellipse 40% 40% at 0% 100%, rgba(24, 46, 49, 0.9) 0%, rgba(24, 46, 49, 0.6) 48%, rgba(24, 46, 49, 0) 100%),
    radial-gradient(ellipse 40% 40% at 100% 100%, rgba(24, 46, 49, 0.9) 0%, rgba(24, 46, 49, 0.6) 48%, rgba(24, 46, 49, 0) 100%); }
.tw-hero-text { position: relative; z-index: 2; }
.tw-hero-text h1 { color: var(--paper); margin-bottom: 0.15em; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 3px 14px rgba(0, 0, 0, 0.35), 0 8px 40px rgba(0, 0, 0, 0.3); }
.tw-hero-facts { position: relative; z-index: 2; }
.tw-corner { margin: 0; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65), 0 0 14px rgba(0, 0, 0, 0.35); }
.tw-where { display: flex; align-items: center; gap: 14px; }
.sa-map-tw { width: clamp(80px, 8vw, 140px); flex: none; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35)); }
.tw-where p { margin: 0; display: flex; flex-direction: column; }
.tw-where strong { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); font-weight: 600; line-height: 1.1; }
.tw-where span { margin-top: 4px; font-size: clamp(1rem, 0.85rem + 0.5vw, 1.3rem); color: rgba(246, 241, 231, 0.95); }
.tw-big strong { display: block; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 600; line-height: 1; font-size: clamp(2.4rem, 1.4rem + 3vw, 4.4rem); }
.tw-big span { display: block; margin-top: 4px; font-size: clamp(0.95rem, 0.85rem + 0.3vw, 1.1rem); color: rgba(246, 241, 231, 0.95); }
.tw-big-pair { display: flex; gap: clamp(20px, 3vw, 44px); }
.tw-rating a { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; color: #fff; text-decoration: none; }
.tw-rating strong { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 600; line-height: 1; font-size: clamp(2rem, 1.3rem + 2vw, 3.2rem); }
.tw-star { color: #ffb300; font-size: clamp(1.4rem, 1rem + 1.2vw, 2.1rem); line-height: 1; }
.tw-rev { flex-basis: 100%; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 3px; }
.tw-rating a:hover .tw-rev { color: var(--sand-pale); }
.tw-hero .aerial-name-above { background: var(--sea-deep); }

@media (min-width: 900px) {
  /* Placed against the photo itself: text over the bay, below the horizon and clear of the open sea;
     facts over the faded corners either side of the house. */
  .tw-hero { --fl: calc((100% - var(--fw)) / 2); }
  .tw-hero-text { position: absolute; left: calc(var(--fl) + var(--fw) * 0.05); top: calc(var(--h) * 0.29); max-width: calc(var(--fw) * 0.5); }
  .tw-hero-text::before { content: ""; position: absolute; z-index: -1; inset: -42% -30% -32% -24%; pointer-events: none;
    background: radial-gradient(closest-side at 46% 50%, rgba(18, 30, 34, 0.62) 0%, rgba(18, 30, 34, 0.46) 40%, rgba(18, 30, 34, 0.18) 72%, rgba(18, 30, 34, 0) 100%); }
  .tw-hero .eyebrow-light { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.7), 0 0 24px rgba(0, 0, 0, 0.45); }
  .tw-hero-facts { position: absolute; top: 0; left: var(--fl); width: var(--fw); height: var(--h); pointer-events: none; }
  .tw-corner { position: absolute; pointer-events: auto; }
  .tw-tl { left: 3.5%; top: 4%; }
  .tw-tr { right: 3.5%; top: 4%; text-align: right; }
  .tw-tr a { justify-content: flex-end; }
  .tw-bl { left: 3.5%; bottom: 4%; }
  .tw-br { right: 3.5%; bottom: 4%; text-align: right; }
}
@media (max-width: 899px) {
  .tw-hero { --h: max(360px, 75vw); }
  .tw-frame { left: 53.4%; transform: translateX(-53.4%); }
  .tw-backdrop { display: none; }
  .tw-fade { display: none; }
  .tw-hero-text { padding: 22px var(--gutter) 6px; }
  .tw-hero-facts { padding: 10px var(--gutter) 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; align-items: end; }
  .tw-tl { grid-column: 1 / -1; order: -1; }
  .tw-bl { order: 1; }
  .tw-br { order: 2; }
  .tw-tr { order: 3; grid-column: 1 / -1; }
  .tw-rating a { gap: 2px 8px; }
}
.theme-coast .tw-hero + .wrap .away-note { margin-top: 18px; }
.tw-intro-photo { margin: 0; }
.tw-intro-photo + .tw-intro-photo { margin-top: 18px; }
.tw-intro-photo figcaption { margin-top: 6px; }

@media print {
  .site-header, .site-footer, .hero, .facts-strip, .section:not(#plan), .cta-band, .mobile-book, .book, .planner-actions, .plan-legend, #plan .section-head .lede, #plan > .wrap > .fine, .lightbox { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  #plan { padding: 0; background: #fff; }
  .plan-floor, .planner { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  .plan-floors { grid-template-columns: 1fr 1fr; }
  .room-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .room-card { min-width: 0; padding: 10px 10px 8px; }
  .room-card-head { display: block; }
  .room-card h4 { font-size: 1rem; white-space: nowrap; }
  .room-floor { display: block; font-size: 0.68rem; }
  .room-bedtype { font-size: 0.85rem; margin: 2px 0 6px; }
  .room-bedtype .tag { display: table; margin: 3px 0 0; }
  .slot input { min-width: 0; font-size: 0.85rem; border: 0; border-bottom: 1px solid #999; border-radius: 0; min-height: 26px; padding: 2px 0; }
  .planner { padding: 14px; }
  .planner-head p:not(.planner-count) { display: none; }
}
