/* Layout: estate particulars meet a chalk-stream field notebook. Full-bleed photography,
   a facts strip like a sales particular, label/value "particulars" lists, then-and-now archive. */
:root {
  --bg: #f4f3ec;        /* chalk */
  --paper: #fbfaf6;
  --ink: #1b2421;
  --muted: #59645f;
  --line: #d9d8cc;
  --river: #1f3d35;     /* deep chalk-stream green */
  --river-ink: #f4f3ec;
  --red: #9b2d27;       /* the red bindings of the law reports */
  --shade: rgba(16, 24, 21, .55);
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
  --step-3: clamp(2.1rem, 1.4rem + 3vw, 3.6rem);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111715; --paper: #172019; --ink: #e7ebe5; --muted: #9ea9a3; --line: #2b3632;
    --river: #183129; --river-ink: #e7ebe5; --red: #e08a7f; --shade: rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111715; --paper: #172019; --ink: #e7ebe5; --muted: #9ea9a3; --line: #2b3632;
  --river: #183129; --river-ink: #e7ebe5; --red: #e08a7f; --shade: rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
h2 { font-size: var(--step-2); }
p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.eyebrow { font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--red); margin-bottom: .6rem; }
.section-head { display: grid; gap: .9rem; max-width: 62ch; margin-bottom: 2.2rem; }
.section-head p { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff; font: 600 1rem var(--body);
  padding: .85rem 1.4rem; border: 0; border-radius: 2px; text-decoration: none; cursor: pointer;
}
.btn:hover { color: #fff; filter: brightness(1.08); }
.btn-small { padding: .55rem 1rem; font-size: .9rem; }
:root[data-theme="dark"] .btn, :root[data-theme="dark"] .btn:hover { color: #1b0e0c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn, :root:not([data-theme="light"]) .btn:hover { color: #1b0e0c; } }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); padding-block: .7rem; display: flex; align-items: center; gap: 1.5rem; }
.wordmark { display: grid; text-decoration: none; line-height: 1.05; margin-right: auto; }
.wm-name { font-family: var(--display); font-size: 1.55rem; }
.wm-place { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 1.4rem; font-size: .95rem; }
.nav a { text-decoration: none; }
@media (max-width: 860px) { .nav { display: none; } }

/* Hero */
.hero { position: relative; min-height: min(78vh, 760px); display: grid; align-items: end; overflow: hidden; background: var(--river); }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10, 18, 15, .72)); }
.hero-copy { position: relative; z-index: 1; max-width: 1240px; width: 100%; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); padding-block: 4rem 3rem; color: #fff; display: grid; gap: 1.2rem; justify-items: start; }
.hero-copy .eyebrow { color: #f1d9c9; }
.hero h1 { font-size: var(--step-3); max-width: 20ch; text-shadow: 0 1px 24px rgba(0,0,0,.25); }

/* Facts strip */
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); background: var(--river); color: var(--river-ink); }
.facts li { padding: 1.1rem 1rem; text-align: center; font-size: .9rem; border-right: 1px solid rgba(255,255,255,.14); }
.facts li:last-child { border-right: 0; }
.facts b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(3, 1fr); } .facts li:nth-child(3) { border-right: 0; } .facts li:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.14); } }

/* Welcome */
.welcome { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 7rem); }
.welcome-text { display: grid; gap: 1.1rem; max-width: 52ch; min-width: 0; }
.welcome-text h2 { font-size: var(--step-3); }
.welcome-text p:first-of-type { font-size: var(--step-1); line-height: 1.5; }
.welcome-photo { margin: 0; }
.welcome-photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
figcaption { font-size: var(--step--1); color: var(--muted); margin-top: .6rem; }
@media (max-width: 820px) { .welcome { grid-template-columns: 1fr; } }

/* House */
.house { background: var(--paper); padding-block: clamp(3.5rem, 8vw, 6.5rem); border-block: 1px solid var(--line); }
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1.2rem; }
.room { margin: 0; min-width: 0; }
.room img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room figcaption b { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; }
.more { margin-top: 2rem; font-weight: 600; }
@media (max-width: 900px) { .rooms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rooms { grid-template-columns: 1fr; } }

/* River */
.river { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--river); color: var(--river-ink); }
.river-photo { position: relative; min-height: 420px; }
.river-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.river-text { padding-block: clamp(3rem, 7vw, 6rem); padding-left: clamp(1.5rem, 5vw, 4.5rem); padding-right: max(var(--gutter-r), 1.5rem); display: grid; gap: 1.1rem; align-content: center; max-width: 640px; min-width: 0; }
.river-text .eyebrow { color: #e9b8a8; }
.river-text > p { color: color-mix(in srgb, var(--river-ink) 85%, transparent); }
.river-strip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: var(--river); }
.river-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .river { grid-template-columns: 1fr; } .river-photo { min-height: 0; aspect-ratio: 3/2; } .river-text { padding-left: var(--gutter); } }

/* Particulars (label/value list) */
.particulars { margin: .4rem 0 0; display: grid; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 22%, transparent); }
.particulars div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding-block: .8rem; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.particulars dt { font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; padding-top: .15rem; }
.particulars dd { margin: 0; min-width: 0; }
@media (max-width: 480px) { .particulars div { grid-template-columns: 1fr; gap: .2rem; } }

/* History */
.history { padding-block: clamp(3.5rem, 8vw, 7rem); }
.then-now { margin: 0 0 3rem; }
.tn-frame { position: relative; aspect-ratio: 3 / 2; max-width: 100%; overflow: hidden; background: #222; --pos: 50%; user-select: none; }
.tn-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tn-then-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.tn-then { filter: sepia(.25) contrast(1.05); }
.tn-frame::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.4); pointer-events: none; }
.tn-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.tn-range:focus-visible + .tn-frame, .tn-frame:has(.tn-range:focus-visible) { outline: 3px solid var(--red); outline-offset: 3px; }
.tn-tag { position: absolute; top: 1rem; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #fff; background: rgba(0,0,0,.45); padding: .3rem .6rem; pointer-events: none; }
.tn-tag-then { left: 1rem; }
.tn-tag-now { right: 1rem; }
.archive { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem 1.2rem; }
.arc { margin: 0; min-width: 0; }
.arc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper); }
@media (max-width: 820px) { .archive { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .archive { grid-template-columns: 1fr; } }

/* Occasions */
.occasions { padding-block: 0 clamp(3.5rem, 8vw, 6.5rem); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; text-decoration: none; color: #fff; background: var(--river); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile span { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1.1rem 1rem; background: linear-gradient(transparent, rgba(8,14,12,.78)); font-size: .9rem; display: grid; gap: .1rem; }
.tile b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.tile:hover { color: #fff; }
.tile:hover img { transform: scale(1.04); }
@media (max-width: 820px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { background: var(--paper); border-block: 1px solid var(--line); padding-block: clamp(3.5rem, 8vw, 6rem); }
.rating b { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--ink); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.quotes blockquote { margin: 0; display: grid; gap: 1rem; align-content: start; border-top: 2px solid var(--red); padding-top: 1.2rem; }
.quotes p { font-family: var(--display); font-size: var(--step-1); line-height: 1.4; }
.quotes footer { font-size: var(--step--1); color: var(--muted); }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }

/* Location */
.location { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 7rem); }
.loc-photo { margin: 0; }
.loc-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.loc-text { display: grid; gap: 1.2rem; min-width: 0; }
.address { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 820px) { .location { grid-template-columns: 1fr; } }

/* Enquire */
.enquire { background: var(--river); color: var(--river-ink); padding-block: clamp(3.5rem, 8vw, 6rem); }
.enquire-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.enquire-text { display: grid; gap: 1.1rem; min-width: 0; }
.enquire-text h2 { font-size: var(--step-3); }
.contact-lines { display: grid; gap: .3rem; font-weight: 500; overflow-wrap: anywhere; }
.small { font-size: var(--step--1); opacity: .85; }
.enquiry-form { display: grid; gap: 1rem; background: var(--paper); color: var(--ink); padding: clamp(1.2rem, 3vw, 2rem); border-radius: 2px; min-width: 0; }
.enquiry-form .row { display: grid; grid-template-columns: 1fr 1fr .7fr; gap: .8rem; }
.enquiry-form label { display: grid; gap: .3rem; font-size: var(--step--1); font-weight: 600; min-width: 0; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { font: 400 1rem var(--body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 2px; padding: .65rem .7rem; width: 100%; min-width: 0; }
.enquiry-form .btn { justify-self: start; }
.form-note { font-size: var(--step--1); color: var(--muted); min-height: 1.2em; }
@media (max-width: 820px) { .enquire-in { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .enquiry-form .row { grid-template-columns: 1fr 1fr; } .enquiry-form .row label:last-child { grid-column: 1 / -1; } }

/* Footer */
.site-footer { padding-block: 2rem calc(2rem + env(safe-area-inset-bottom, 0px)); font-size: var(--step--1); color: var(--muted); }
.footer-in { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tile img { transition: none; } }
.btn-small { white-space: nowrap; }
@media (max-width: 480px) { .bar { gap: .8rem; } .wm-name { font-size: 1.3rem; } .wm-place { font-size: .6rem; } .btn-small { padding: .5rem .75rem; font-size: .82rem; } .hero { min-height: 520px; } }

/* Additions: old-site photos */
.welcome-photo img { aspect-ratio: 4 / 3; }
.river-strip { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) { .river-strip { grid-template-columns: repeat(2, 1fr); } }
.history .wrap { display: grid; grid-template-columns: 1fr 240px; column-gap: 3rem; }
.history .section-head { grid-column: 1; }
.plaque { grid-column: 2; grid-row: 1; margin: 0; align-self: start; }
.plaque img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.then-now, .archive { grid-column: 1 / -1; }
@media (max-width: 760px) { .history .wrap { grid-template-columns: 1fr; } .plaque { grid-column: 1; grid-row: auto; max-width: 220px; margin-bottom: 2rem; } }
.location { grid-template-columns: 1fr 1fr; }
.nearby { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.near { display: grid; gap: .6rem; text-decoration: none; align-content: start; min-width: 0; }
.near img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.near span { font-size: var(--step--1); color: var(--muted); display: grid; gap: .1rem; }
.near b { font-family: var(--display); font-weight: 400; font-size: 1.2rem; color: var(--ink); }
@media (max-width: 760px) { .nearby { grid-template-columns: 1fr; } }
/* Archive prints are shown whole, never cropped */
.arc img { object-fit: contain; background: var(--paper); padding: 6px; border: 1px solid var(--line); }

/* ---------- The House page ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); display: grid; gap: 1rem; }
.page-head h1 { font-size: var(--step-3); }
.page-head > p:not(.eyebrow) { max-width: 62ch; color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.jump a { font-size: .9rem; text-decoration: none; border: 1px solid var(--line); background: var(--paper); padding: .45rem .85rem; border-radius: 999px; }
.nav a[aria-current="page"] { color: var(--red); }
.rooms-page { padding-block: clamp(3rem, 7vw, 5.5rem); }
.group-title { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.group-title span { font-family: var(--body); font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--red); }
.room-row { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(1.2rem, 3vw, 2.5rem); padding-block: 1.6rem; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.room-info { display: grid; gap: .7rem; align-content: start; min-width: 0; }
.room-info h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.15; margin: 0; display: flex; gap: .6rem; align-items: baseline; }
.room-info p { color: var(--muted); }
.num { font-family: var(--body); font-size: .8rem; font-weight: 600; color: var(--paper); background: var(--river); width: 1.7rem; height: 1.7rem; border-radius: 50%; display: inline-grid; place-items: center; flex: none; transform: translateY(-.15rem); }
.bed-facts { margin: 0; display: grid; gap: .5rem; }
.bed-facts div { display: grid; gap: .1rem; }
.bed-facts dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.bed-facts dd { margin: 0; }
.gallery { display: flex; gap: .6rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; min-width: 0; scrollbar-width: thin; }
.gallery img { height: clamp(200px, 26vw, 300px); width: auto; max-width: none; flex: none; scroll-snap-align: start; object-fit: cover; }
.gallery:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
@media (max-width: 760px) { .room-row { grid-template-columns: 1fr; } .gallery img { height: 220px; } }
.bedrooms-band { background: var(--paper); border-block: 1px solid var(--line); }
.bath-note { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); max-width: 70ch; }
.sleeping { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-block: clamp(3rem, 7vw, 5.5rem); }
.sleep-table { min-width: 0; display: grid; gap: 1.4rem; }
.table-scroll { overflow-x: auto; }
.sleep-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.sleep-table th { text-align: left; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: .5rem .8rem .5rem 0; border-bottom: 2px solid var(--ink); }
.sleep-table td { padding: .7rem .8rem .7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.sleep-table td a { text-decoration: none; font-weight: 600; }
.floorplan { margin: 0; background: #fff; padding: 1rem; border: 1px solid var(--line); }
.floorplan img { width: 100%; }
@media (max-width: 860px) { .sleeping { grid-template-columns: 1fr; } }
.amenities-band { background: var(--river); color: var(--river-ink); padding-block: clamp(3rem, 7vw, 5rem); }
.amenities-band .wrap { display: grid; gap: 1.6rem; justify-items: start; }
.amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem 2rem; width: 100%; }
.amenities li { display: grid; gap: .2rem; border-top: 1px solid color-mix(in srgb, var(--river-ink) 25%, transparent); padding-top: .8rem; color: color-mix(in srgb, var(--river-ink) 85%, transparent); }
.amenities b { color: var(--river-ink); font-family: var(--display); font-weight: 400; font-size: 1.2rem; }
.rules { opacity: .85; }

/* Hero: keep the daffodils (bottom left) clear of the text and shading */
/* Keep the frame no wider than about 2:1 so the house and the daffodils both stay in view */
.hero { min-height: clamp(520px, 54vw, 88vh); }
.hero img { object-position: center 70%; }
.hero::after { background: linear-gradient(270deg, rgba(10, 18, 15, .7) 0%, rgba(10, 18, 15, .35) 38%, transparent 62%); }
.hero-copy { justify-items: end; text-align: right; }
.hero h1 { max-width: 16ch; }
@media (max-width: 1100px) {
  .hero { display: block; min-height: 0; }
  .hero picture { position: relative; display: block; aspect-ratio: 3 / 2; }
  .hero::after { display: none; }
  .hero-copy { justify-items: start; text-align: left; padding-block: 1.6rem 2rem; }
}

/* History teaser on the home page */
.history-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.teaser-photo { margin: 0; }
.teaser-photo img { width: 100%; object-fit: contain; background: var(--paper); padding: 8px; border: 1px solid var(--line); }
.teaser-text { display: grid; gap: 1rem; justify-items: start; max-width: 52ch; min-width: 0; }
.teaser-text p:not(.eyebrow) { color: var(--muted); }
@media (max-width: 820px) { .history-teaser { grid-template-columns: 1fr; } }

/* History page */
.history-cta { background: var(--river); color: var(--river-ink); padding-block: clamp(2.5rem, 6vw, 4rem); }
.history-cta-in { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.history-cta-in p { font-family: var(--display); font-size: var(--step-1); max-width: 46ch; }
.cta-links { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-ghost { background: transparent; border: 1px solid currentColor; color: inherit; }
.btn-ghost:hover { color: inherit; background: rgba(255,255,255,.08); }
:root[data-theme="dark"] .btn-ghost, :root[data-theme="dark"] .btn-ghost:hover { color: var(--river-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-ghost, :root:not([data-theme="light"]) .btn-ghost:hover { color: var(--river-ink); } }
.history .section-head { align-content: start; }
.page-head + .history { padding-top: 1rem; }
/* Floor plan gets the full width under the table so its detail is readable */
.sleeping { grid-template-columns: 1fr; }
.floorplan { padding: 0; border: 0; background: transparent; }
.floorplan img { border-radius: 4px; }
.floorplan-scroll { overflow-x: auto; }
@media (max-width: 700px) { .floorplan-scroll img { width: 900px; max-width: none; } }
.floorplan { min-width: 0; max-width: 100%; }

/* History page: the Profumo affair */
.profumo { background: var(--paper); border-block: 1px solid var(--line); padding-block: clamp(3rem, 7vw, 5.5rem); }
.profumo-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.profumo-text { display: grid; gap: 1rem; max-width: 62ch; min-width: 0; }
.profumo-text p:not(.eyebrow) { color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.4rem; border-left: 2px solid var(--line); display: grid; gap: 1.3rem; min-width: 0; }
.timeline li { position: relative; display: grid; gap: .15rem; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.4rem - 6px); top: .35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.timeline time { font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.timeline span { color: var(--muted); }
@media (max-width: 820px) { .profumo-in { grid-template-columns: 1fr; } }

/* Spacing after the river band, and a proper heading for Location */
.occasions { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.location { row-gap: 2rem; }
.loc-head { grid-column: 1 / -1; margin-bottom: 0; }
.section-head .eyebrow { color: var(--red); }

/* Availability calendar */
.avail { margin-top: .6rem; background: var(--paper); color: var(--ink); border-radius: 2px; padding: 1rem 1rem .9rem; display: grid; gap: .7rem; max-width: 420px; }
.avail-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.avail-month { font-family: var(--display); font-weight: 400; font-size: 1.3rem; margin: 0; }
.avail-nav { width: 2.2rem; height: 2.2rem; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 50%; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.avail-nav:disabled { opacity: .35; cursor: default; }
.avail-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.avail-dow { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: center; padding-bottom: .2rem; }
.avail-day { aspect-ratio: 1; border: 0; border-radius: 3px; background: color-mix(in srgb, var(--ink) 8%, var(--paper)); color: var(--ink); font: 500 .9rem var(--body); cursor: pointer; font-variant-numeric: tabular-nums; }
.avail-day:hover:not(:disabled) { outline: 2px solid var(--river); outline-offset: -2px; }
.avail-day.past { background: transparent; color: color-mix(in srgb, var(--muted) 55%, transparent); cursor: default; }
.avail-day.booked { background: repeating-linear-gradient(135deg, var(--line) 0 4px, transparent 4px 8px); color: var(--muted); text-decoration: line-through; }
.avail-day.sel { background: color-mix(in srgb, var(--red) 25%, var(--paper)); }
.avail-day.sel-start, .avail-day.sel-end { background: var(--red); color: var(--paper); }
.avail-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .8rem; color: var(--muted); }
.avail-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.k { display: inline-block; width: .9rem; height: .9rem; border-radius: 2px; }
.k-free { background: color-mix(in srgb, var(--ink) 8%, var(--paper)); border: 1px solid var(--line); }
.k-booked { background: repeating-linear-gradient(135deg, var(--line) 0 3px, transparent 3px 6px); border: 1px solid var(--line); }
.k-sel { background: var(--red); }
.avail-note { font-size: .85rem; color: var(--muted); min-height: 1.3em; }

/* Garden plan, below the photo strip in the Gardens & River section */
.garden-plan { grid-column: 1 / -1; margin: 0; padding-block: clamp(2rem, 5vw, 3.5rem); padding-left: var(--gutter); padding-right: var(--gutter-r); display: grid; gap: .75rem; justify-items: center; min-width: 0; }
.garden-plan-scroll { width: 100%; max-width: 1200px; overflow-x: auto; border-radius: 6px; }
.garden-plan-scroll img { display: block; width: 100%; height: auto; background: #fbfaf7; border-radius: 6px; }
.garden-plan figcaption { width: 100%; max-width: 1200px; font-size: var(--step--1); color: color-mix(in srgb, var(--river-ink) 80%, transparent); }
@media (max-width: 700px) { .plan-map { width: 900px; } }
.plan-map { position: relative; }
.plan-spot { position: absolute; width: 2.3%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.plan-spot:hover, .plan-spot:focus-visible { outline: 3px solid #f2c94c; outline-offset: 2px; }
.plan-spot::after { content: ""; position: absolute; inset: -30%; border-radius: 50%; border: 2px solid rgba(155, 45, 39, .55); animation: plan-pulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes plan-pulse { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .plan-spot::after { animation: none; opacity: .6; } }
.plan-row { position: absolute; border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: 4px; }
.plan-row:hover { background: rgba(155, 45, 39, .07); }
.plan-photo { width: min(92vw, 960px); max-height: 92vh; padding: 0; border: 0; border-radius: 8px; background: var(--paper); color: var(--ink); overflow: auto; }
.plan-photo::backdrop { background: rgba(16, 24, 21, .72); }
.plan-photo img { display: block; width: 100%; height: auto; }
.plan-photo-text { padding: 1rem 1.25rem 1.25rem; display: grid; gap: .3rem; }
.plan-photo h3 { font-family: var(--display); font-weight: 400; font-size: var(--step-1); margin: 0; }
.plan-photo p { margin: 0; color: var(--muted); }
.plan-photo-close { position: absolute; top: .5rem; right: .5rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: rgba(16, 24, 21, .6); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.plan-photo-close:focus-visible { outline: 3px solid #f2c94c; }
