:root {
  --ink: #17231f;
  --cypress: #173a32;
  --cypress-deep: #0e2a23;
  --olive: #66765e;
  --olive-pale: #dfe5d8;
  --saffron: #e0ad4f;
  --saffron-soft: #f1d697;
  --pool: #79aeb2;
  --stone: #ecebe3;
  --paper: #f7f6f0;
  --white: #fffef9;
  --line: rgba(23, 35, 31, .18);
  --line-light: rgba(255, 254, 249, .24);
  --shadow: 0 24px 70px rgba(13, 37, 30, .16);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shell: min(1240px, calc(100vw - 56px));
  --section: clamp(4rem, 6vw, 6.25rem);
  --header-h: 82px;
  --radius: .7rem;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.66; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
picture { display: block; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { color: var(--white); background: var(--cypress); }

h1, h2, h3, blockquote p { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: -.034em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 6.7vw, 6.85rem); }
h2 { font-size: clamp(2.15rem, 4.1vw, 4.35rem); }
h3 { font-size: clamp(1.35rem, 2vw, 2rem); }
p { margin: 0 0 1.2em; }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-stone { background: var(--stone); }
.section-pine { color: var(--white); background: var(--cypress); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 1000; padding: .7rem 1rem; color: var(--white); background: var(--ink); border-radius: .35rem; transform: translateY(-170%); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 100; width: 100%; height: var(--header-h); color: var(--white); background: var(--cypress-deep); transition: background .28s ease, box-shadow .28s ease, backdrop-filter .28s ease; }
.overlay-header .site-header { position: absolute; top: 0; left: 0; background: linear-gradient(180deg, rgba(6, 24, 19, .74), rgba(6, 24, 19, 0)); }
.nav-shell { width: min(1360px, calc(100vw - 48px)); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { position: relative; z-index: 3; color: inherit; font-family: var(--serif); font-size: clamp(1.65rem, 2.1vw, 2rem); letter-spacing: -.035em; text-decoration: none; }
.site-menu { display: flex; align-items: center; gap: 2.1rem; }
.menu-links { display: flex; align-items: center; gap: 1.55rem; }
.nav-link { position: relative; color: inherit; font-size: .9rem; font-weight: 650; text-decoration: none; }
.nav-link::after { position: absolute; right: 0; bottom: -.58rem; left: 0; height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: right; transition: transform .22s ease; }
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.menu-button { display: none; border: 0; background: transparent; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .78rem 1.3rem; border: 1px solid transparent; border-radius: var(--radius); font-size: .88rem; font-weight: 720; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(13, 37, 30, .14); }
.button:focus-visible, .text-link:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid var(--pool); outline-offset: 3px; }
.button-small { min-height: 42px; padding: .65rem 1.05rem; }
.button-sun { color: var(--cypress-deep); background: var(--saffron); }
.button-sun:hover { background: var(--saffron-soft); }
.button-ink { color: var(--white); background: var(--ink); }
.button-ink:hover { background: var(--cypress); }
.button-light { color: var(--ink); background: var(--white); }
.button-outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.button-outline:hover { color: var(--white); background: var(--ink); }
.button-quiet { color: var(--white); border-color: var(--line-light); background: transparent; }
.text-link { display: inline-block; padding-bottom: .14rem; border-bottom: 1px solid currentColor; font-size: .92rem; font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--olive); }
.text-link-light { color: var(--white); }
.text-link-light:hover { color: var(--saffron-soft); }

.hero { position: relative; min-height: min(820px, 88svh); color: var(--white); background: var(--cypress); overflow: hidden; }
.hero-home { min-height: 100svh; }
.hero-picture, .hero-picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-picture img { object-fit: cover; object-position: center; }
.hero-home .hero-picture img { object-position: center 56%; }
.hero-stay .hero-picture img { object-position: center 64%; }
.hero-location .hero-picture img { object-position: center 52%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 28, 22, .82) 0%, rgba(7, 28, 22, .46) 47%, rgba(7, 28, 22, .08) 78%), linear-gradient(0deg, rgba(7, 28, 22, .58), transparent 54%); }
.hero > .hero-inner { position: relative; z-index: 2; min-height: inherit; padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 6.5rem)); padding-bottom: clamp(3rem, 6vw, 5.5rem); display: flex; align-items: flex-end; }
.hero-copy { width: min(900px, 94%); }
.hero-copy h1 { max-width: 12ch; margin-bottom: 1.35rem; }
.hero-location .hero-copy h1 { max-width: 10.5ch; }
.hero-copy > p { max-width: 720px; margin-bottom: 2rem; font-size: clamp(1.08rem, 1.6vw, 1.38rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

.booking-strip { color: var(--white); background: var(--olive); }
.quick-form { min-height: 112px; display: grid; grid-template-columns: 1fr 1fr .8fr auto minmax(150px, .8fr); align-items: end; gap: 0; }
.quick-form label { min-width: 0; padding: 1.25rem 1.25rem 1.1rem 0; }
.quick-form label + label { padding-left: 1.25rem; border-left: 1px solid rgba(255,255,255,.28); }
.quick-form label span { display: block; margin-bottom: .3rem; font-size: .78rem; font-weight: 700; }
.quick-form input, .quick-form select { width: 100%; min-height: 42px; padding: 0; border: 0; color: var(--white); background: transparent; color-scheme: dark; }
.quick-form option { color: var(--ink); }
.quick-form .button { margin: 0 1.15rem 1.15rem 0; }
.availability-link { align-self: center; padding: .8rem 0 .8rem 1.15rem; border-left: 1px solid rgba(255,255,255,.28); font-size: .9rem; font-weight: 700; text-decoration: none; }
.availability-link:hover { text-decoration: underline; }
.fact-line { border-bottom: 1px solid var(--line); background: var(--white); }
.fact-line .shell { min-height: 78px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.fact-line span { padding: .9rem 1.25rem; border-left: 1px solid var(--line); font-size: .9rem; }
.fact-line span:last-child { border-right: 1px solid var(--line); }
.fact-line strong { margin-right: .35rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; letter-spacing: -.03em; }

.intro-pair { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.intro-pair h2 { max-width: 11ch; }
.intro-pair > div:last-child { max-width: 700px; }
.intro-pair > div:last-child p { font-size: clamp(1.02rem, 1.25vw, 1.16rem); }
.feature-spread { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .75fr); gap: clamp(3rem, 6vw, 6.5rem); align-items: center; }
.feature-images { position: relative; min-height: 640px; }
.feature-images > picture:first-child { width: 82%; height: 560px; }
.feature-images picture:first-child img { width: 100%; height: 100%; object-fit: cover; }
.feature-images .image-inset { position: absolute; right: 0; bottom: 0; width: 42%; height: 340px; border: 9px solid var(--paper); box-shadow: var(--shadow); }
.feature-images .image-inset img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.feature-copy h2, .pool-copy h2, .editorial-copy h2, .section-heading h2, .practical h2, .faq h2, .rate-context h2, .contact-aside h2 { margin-bottom: 1.45rem; }
.feature-copy p, .pool-copy p, .editorial-copy p, .rate-context p { max-width: 620px; }
.detail-list { margin: 1.75rem 0 2.25rem; }
.detail-list div { display: grid; grid-template-columns: minmax(105px, .55fr) 1.45fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.detail-list div:last-child { border-bottom: 1px solid var(--line); }
.detail-list dt { font-size: .82rem; font-weight: 750; }
.detail-list dd { margin: 0; }
.section-pine .detail-list div { border-color: var(--line-light); }
.day-flow { display: grid; grid-template-columns: 1.15fr .9fr; gap: clamp(3rem, 7vw, 7rem); align-items: end; }
.day-flow h2 { max-width: 11ch; }
.day-flow p { font-size: 1.04rem; }
.pool-feature { display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.pool-image { height: min(680px, 61vw); }
.pool-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.landscape-band { position: relative; min-height: min(760px, 76svh); display: flex; align-items: flex-end; color: var(--white); background: var(--cypress); overflow: hidden; }
.landscape-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.landscape-band::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 35, 28, .84), rgba(9, 35, 28, .1) 76%), linear-gradient(0deg, rgba(9,35,28,.52), transparent 55%); content: ""; }
.landscape-copy { position: relative; z-index: 1; padding-bottom: clamp(3.5rem, 6vw, 6rem); }
.landscape-copy h2 { max-width: 11ch; margin-bottom: 1.35rem; }
.landscape-copy p { max-width: 680px; font-size: 1.08rem; }
.quote-feature { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
.quote-feature blockquote { max-width: 900px; margin: 0; }
.quote-feature blockquote p { font-size: clamp(2rem, 4.5vw, 4.75rem); }
.quote-feature blockquote footer { margin-top: 1.4rem; color: var(--olive); font-size: .92rem; font-weight: 700; }
.enquiry-panel { color: var(--ink); background: var(--saffron); }
.enquiry-panel-inner { min-height: 220px; display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.enquiry-panel-inner h2 { margin-bottom: .65rem; font-size: clamp(2rem, 3.6vw, 3.8rem); }
.enquiry-panel-inner p { max-width: 660px; margin-bottom: 0; }

.page-intro { padding-top: clamp(4.25rem, 7vw, 7rem); padding-bottom: clamp(2.5rem, 4vw, 4rem); }
.page-intro h1 { max-width: 14ch; margin-bottom: 1.4rem; }
.page-lede { max-width: 800px; margin: 0; font-size: clamp(1.08rem, 1.55vw, 1.35rem); line-height: 1.55; }
.specification { border-block: 1px solid var(--line); background: var(--white); }
.spec-grid { min-height: 130px; display: grid; grid-template-columns: repeat(4, 1fr); }
.spec-grid div { display: flex; flex-direction: column; justify-content: center; padding: 1.4rem; border-left: 1px solid var(--line); }
.spec-grid div:last-child { border-right: 1px solid var(--line); }
.spec-grid strong { font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.2rem); font-weight: 500; line-height: 1; }
.spec-grid span { margin-top: .35rem; font-size: .9rem; }
.editorial-pair { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); gap: clamp(3rem, 6vw, 6.5rem); align-items: center; }
.editorial-pair > div:first-child > picture, .editorial-pair > div:first-child > .image-landscape { height: 590px; }
.editorial-pair img { width: 100%; height: 100%; object-fit: cover; }
.editorial-reverse { grid-template-columns: minmax(330px, .85fr) minmax(0, 1.15fr); }
.bedroom-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.bedroom-pair picture { height: 440px; }
.image-triptych { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; padding-top: 0; }
.image-triptych picture { height: 430px; }
.image-triptych img { width: 100%; height: 100%; object-fit: cover; }
.triptych-a img { object-position: center 55%; }
.triptych-c img { object-position: center 44%; }
.practical { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.practical > div:first-child p { max-width: 380px; }
.rules-table { border-top: 1px solid var(--ink); }
.rules-table > div { display: grid; grid-template-columns: minmax(150px, .55fr) 1.45fr; gap: 1.5rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.rules-table strong { font-family: var(--serif); font-size: 1.18rem; font-weight: 500; }
.faq { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.faq > div:first-child p { max-width: 380px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.15rem 3rem 1.15rem 0; font-family: var(--serif); font-size: clamp(1.22rem, 1.7vw, 1.55rem); font-weight: 500; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 50%; right: .2rem; width: 1.15rem; height: 1.15rem; content: "+"; font-family: var(--sans); font-size: 1.3rem; line-height: 1; transform: translateY(-50%); transition: transform .26s ease; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.details-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s ease; }
.details-body > div { overflow: hidden; }
.details-body p { max-width: 720px; padding: 0 2.5rem 1.25rem 0; margin: 0; }
details[open] .details-body { grid-template-rows: 1fr; }

.gallery-shell { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 1.5rem); padding-bottom: var(--section); }
.gallery-figure { grid-column: span 6; margin: 0; min-width: 0; }
.gallery-figure.gallery-wide { grid-column: span 12; }
.gallery-figure.gallery-tall { grid-column: span 5; }
.gallery-figure.gallery-tall + .gallery-figure:not(.gallery-wide) { grid-column: span 7; }
.gallery-figure button { width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; overflow: hidden; }
.gallery-figure picture { height: 420px; }
.gallery-figure.gallery-wide picture { height: min(620px, 50vw); }
.gallery-figure.gallery-tall picture { height: 610px; }
.gallery-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-figure button:hover img { transform: scale(1.018); }
.gallery-figure figcaption { padding-top: .6rem; color: rgba(23,35,31,.72); font-size: .9rem; }
.asset-pool-overlook img { object-position: center 78%; }
.asset-pool-valley img { object-position: center 66%; }
.asset-citta-street img { object-position: center 78%; }
.asset-hilltop-castle img { object-position: center 42%; }
.asset-pergola-overlook img { object-position: center 72%; }
.crop-pool img { object-position: center 80%; }
.panorama-heading { max-width: 760px; margin-bottom: 2.3rem; }
.panorama-heading h2 { margin-bottom: 1rem; }
.panorama-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.panorama-grid article { min-width: 0; }
.panorama-grid h3 { margin-bottom: .8rem; color: var(--white); }
.panorama-viewer { position: relative; height: clamp(360px, 42vw, 560px); border: 1px solid var(--line-light); background: var(--cypress-deep); overflow: hidden; }
.panorama-viewer .pnlm-container { font-family: var(--sans); }
.panorama-fallback { margin-top: 1rem; }
.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: var(--white); background: rgba(7, 20, 16, .96); }
.lightbox::backdrop { background: rgba(7, 20, 16, .96); }
.lightbox[open] { display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; }
.lightbox figure { max-width: min(1320px, calc(100vw - 170px)); max-height: calc(100svh - 110px); margin: auto; }
.lightbox img { width: auto; max-width: 100%; max-height: calc(100svh - 160px); margin: auto; object-fit: contain; }
.lightbox figcaption { padding-top: .7rem; text-align: center; }
.lightbox button { width: 48px; height: 48px; margin: auto; border: 1px solid rgba(255,255,255,.36); border-radius: 50%; color: var(--white); background: rgba(0,0,0,.2); cursor: pointer; }
.lightbox-close { position: fixed; top: 20px; right: 20px; z-index: 2; }

.location-introduction { max-width: 920px; }
.location-introduction h2 { max-width: 12ch; margin-bottom: 1.5rem; }
.location-introduction .prose-columns { max-width: 780px; }
.location-introduction .button { margin-top: .8rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 2.2rem; }
.section-heading p { max-width: 610px; margin: 0; }
.table-wrap { max-width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 1rem .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { border-top: 1px solid var(--ink); border-bottom-color: var(--ink); font-size: .82rem; font-weight: 750; }
tbody th { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; }
.travel-table th:first-child { width: 28%; }
.travel-table td:nth-child(2) { width: 22%; font-weight: 700; white-space: nowrap; }
.location-stories { display: grid; gap: var(--section); }
.location-stories article { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.location-stories article.story-reverse > div:first-child { order: 2; }
.location-stories picture { height: 520px; }
.location-stories img { width: 100%; height: 100%; object-fit: cover; }
.location-stories h2 { margin-bottom: 1.2rem; }
.excursions-heading { max-width: 880px; margin-bottom: 2.5rem; }
.excursions-heading h2 { margin-bottom: 1.2rem; }
.excursion-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
.excursion-list article { padding: 1.5rem 0 1.65rem; border-top: 1px solid var(--line-light); }
.excursion-list h3 { margin-bottom: .8rem; }
.excursion-list p { color: rgba(255,255,255,.82); }
.excursion-list a { color: var(--saffron-soft); font-weight: 700; }
.food-section { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.food-section picture { height: 520px; }
.food-section img { width: 100%; height: 100%; object-fit: cover; }
.food-section h2 { margin-bottom: 1.25rem; }

.availability-section { padding-top: 1rem; }
.availability-calendar { scroll-margin-top: calc(var(--header-h) + 1rem); }
.availability-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.25rem; }
.availability-head h2 { margin-bottom: .65rem; }
.availability-head p { margin: 0; }
.calendar-controls { display: flex; gap: .5rem; }
.calendar-controls button { min-height: 40px; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--white); cursor: pointer; }
.calendar-controls button:hover { background: var(--stone); }
.calendar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 2rem; align-items: start; }
.calendar-legend { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1rem; font-size: .86rem; }
.calendar-legend span { display: inline-flex; align-items: center; gap: .42rem; }
.calendar-legend i { width: .82rem; height: .82rem; border: 1px solid var(--line); border-radius: 50%; }
.legend-available { background: var(--white); }
.legend-held { background: var(--saffron-soft); }
.legend-booked { background: var(--cypress); }
.calendar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.calendar-month { padding: 1rem; border: 1px solid var(--line); background: var(--white); }
.calendar-month h3 { margin-bottom: .8rem; font-family: var(--sans); font-size: 1rem; font-weight: 750; letter-spacing: 0; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: .22rem; }
.calendar-weekdays span { padding-bottom: .28rem; color: rgba(23,35,31,.62); font-size: .7rem; font-weight: 750; text-align: center; }
.calendar-day { aspect-ratio: 1; display: grid; place-items: center; border-radius: .32rem; font-size: .76rem; line-height: 1; }
.calendar-day.is-empty { visibility: hidden; }
.calendar-day.is-past { color: rgba(23,35,31,.32); }
.calendar-day.is-held { color: var(--ink); background: var(--saffron-soft); }
.calendar-day.is-booked { color: var(--white); background: var(--cypress); }
.calendar-day.is-today { box-shadow: inset 0 0 0 2px var(--pool); }
.calendar-status { margin: .9rem 0 0; color: rgba(23,35,31,.68); font-size: .86rem; }
.booking-activity { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.booking-activity h3 { margin-bottom: 1rem; font-family: var(--serif); font-size: 1.45rem; }
.booking-activity ol { padding: 0; margin: 0; list-style: none; }
.booking-activity li { padding: .85rem 0; border-top: 1px solid var(--line); }
.booking-activity time { display: block; color: rgba(23,35,31,.64); font-size: .78rem; }
.booking-activity p { margin-top: .9rem; color: rgba(23,35,31,.64); font-size: .82rem; }
.availability-compact .calendar-layout { grid-template-columns: 1fr 240px; }
.availability-compact .calendar-grid { grid-template-columns: 1fr 1fr; }

.rates-section { padding-top: 0; }
.rates-table th:first-child { width: 48%; }
.rates-table th strong, .rates-table th span { display: block; }
.rates-table th span { margin-top: .2rem; color: rgba(23,35,31,.62); font-family: var(--sans); font-size: .86rem; font-weight: 500; }
.rates-table td:nth-child(2) { font-family: var(--serif); font-size: 1.4rem; white-space: nowrap; }
.booking-process { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 7vw, 7rem); }
.booking-process > div h2 { margin-bottom: 1.1rem; }
.booking-process ol { padding: 0; margin: 0; list-style: none; counter-reset: process; }
.booking-process li { position: relative; padding: 1.1rem 0 1.1rem 3.4rem; border-top: 1px solid var(--line-light); counter-increment: process; }
.booking-process li:last-child { border-bottom: 1px solid var(--line-light); }
.booking-process li::before { position: absolute; left: 0; color: var(--saffron-soft); font-family: var(--serif); font-size: 1.4rem; content: counter(process, decimal-leading-zero); }
.booking-process li strong, .booking-process li span { display: block; }
.booking-process li strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.booking-process li span { color: rgba(255,255,255,.78); }
.rates-detail { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 7vw, 7rem); }
.rate-context { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.rate-context picture { height: 540px; }
.rate-context img { width: 100%; height: 100%; object-fit: cover; }
.compact-faq { padding-top: 0; }

.reviews-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3.5rem; padding-top: 1rem; }
.reviews-list blockquote { margin: 0; padding: 2rem 0; border-top: 1px solid var(--line); }
.reviews-list blockquote p { font-size: clamp(1.55rem, 2.45vw, 2.45rem); line-height: 1.18; }
.reviews-list blockquote footer { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: 1.2rem; color: rgba(23,35,31,.68); font-size: .9rem; }
.reviews-list blockquote footer strong { color: var(--ink); }
.review-summary { max-width: 900px; margin-inline: auto; }
.review-summary h2 { margin-bottom: 1.15rem; }
.review-summary p { max-width: 760px; margin: 0; font-size: 1.08rem; }

.contact-calendar { padding-top: 0; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .65fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; padding-top: 1rem; }
.enquiry-form { padding: clamp(1.4rem, 3vw, 2.3rem); border: 1px solid var(--line); background: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-grid label > span:first-child { display: block; margin-bottom: .42rem; font-size: .86rem; font-weight: 750; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-height: 48px; padding: .72rem .8rem; border: 1px solid rgba(23,35,31,.3); border-radius: .35rem; color: var(--ink); background: var(--paper); }
.form-grid textarea { resize: vertical; }
.form-grid input[aria-invalid="true"], .form-grid select[aria-invalid="true"] { border-color: #9c352c; }
.form-grid small { display: block; min-height: 1.1em; margin-top: .25rem; color: #8f3028; }
.form-wide { grid-column: 1 / -1; }
.check-row { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; }
.check-row input { width: 18px; min-height: 18px; margin-top: .25rem; }
.check-row small { grid-column: 2; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-submit { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-submit p { margin: 0; }
.contact-aside { position: sticky; top: 1.5rem; }
.small-note { color: rgba(23,35,31,.66); font-size: .85rem; }

.guide-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3.5rem; padding-top: 1rem; }
.guide-list > div { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.guide-list h2 { margin-bottom: .7rem; font-size: clamp(1.45rem, 2vw, 2rem); }
.legal-page { max-width: 900px; padding-top: clamp(4.25rem, 7vw, 7rem); padding-bottom: var(--section); }
.legal-page h1 { margin-bottom: 1rem; }
.legal-updated { margin-bottom: 3rem; color: rgba(23,35,31,.64); }
.legal-page h2 { margin: 2.6rem 0 .9rem; font-size: clamp(1.55rem, 2.5vw, 2.35rem); }
.legal-page p { max-width: 780px; }
.not-found { min-height: 70svh; padding-block: clamp(5rem, 10vw, 10rem); }
.not-found h1 { max-width: 12ch; margin-bottom: 1rem; }
.not-found div { display: flex; gap: 1.2rem; align-items: center; margin-top: 2rem; }

.site-footer { color: var(--white); background: var(--cypress-deep); }
.footer-main { display: grid; grid-template-columns: 1.5fr .6fr .7fr; gap: 4rem; padding-block: 4rem; }
.footer-brand { display: inline-block; margin-bottom: 1rem; font-family: var(--serif); font-size: 2rem; text-decoration: none; }
.footer-intro p { max-width: 430px; color: rgba(255,255,255,.74); }
.footer-main h2 { margin-bottom: 1rem; color: var(--saffron-soft); font-family: var(--sans); font-size: .9rem; font-weight: 750; letter-spacing: 0; }
.footer-main > div:not(.footer-intro) a { display: block; margin: .5rem 0; color: rgba(255,255,255,.78); text-decoration: none; }
.footer-main > div:not(.footer-intro) a:hover { color: var(--white); text-decoration: underline; }
.footer-base { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line-light); color: rgba(255,255,255,.62); font-size: .82rem; }
.mobile-book { display: none; }
.cookie-banner { position: fixed; right: 1rem; bottom: 1rem; left: 1rem; z-index: 500; max-width: 1050px; margin-inline: auto; padding: 1.15rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: var(--white); background: rgba(14,42,35,.98); border: 1px solid var(--line-light); border-radius: var(--radius); box-shadow: var(--shadow); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: .2rem 0 0; color: rgba(255,255,255,.72); }
.cookie-actions { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.cookie-actions a { font-size: .88rem; }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 44px, 1040px); --section: clamp(3.8rem, 7vw, 5.5rem); }
  .quick-form { grid-template-columns: 1fr 1fr .8fr auto; }
  .availability-link { grid-column: 1 / -1; padding: .85rem 0 1rem; border-top: 1px solid rgba(255,255,255,.25); border-left: 0; }
  .feature-spread { grid-template-columns: 1fr; }
  .feature-images { max-width: 850px; }
  .feature-copy { max-width: 760px; }
  .calendar-layout, .availability-compact .calendar-layout { grid-template-columns: 1fr; }
  .booking-activity { padding: 1rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .booking-activity ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .booking-activity li { border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
  :root { --header-h: 74px; --shell: min(100% - 36px, 820px); }
  h1 { font-size: clamp(2.8rem, 10vw, 5rem); }
  h2 { font-size: clamp(2rem, 7vw, 3.5rem); }
  .site-header { color: var(--white); background: var(--cypress-deep); }
  .overlay-header .site-header { background: linear-gradient(180deg, rgba(8,31,25,.9), rgba(8,31,25,.2)); }
  .nav-shell { width: min(100% - 28px, 860px); }
  .menu-button { position: relative; z-index: 4; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; cursor: pointer; }
  .menu-button span:not(.sr-only) { display: block; width: 25px; height: 2px; background: currentColor; transition: transform .28s ease, opacity .2s ease; }
  .menu-button[aria-expanded="true"] span:not(.sr-only):nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:not(.sr-only):nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .site-menu { position: absolute; top: 100%; right: 0; left: 0; display: grid; gap: 0; max-height: 0; padding: 0 18px; overflow: hidden; visibility: hidden; opacity: 0; background: rgba(14,42,35,.985); transform: translateY(-10px); transition: max-height .42s ease, padding .32s ease, opacity .25s ease, transform .32s ease, visibility 0s linear .42s; }
  .site-menu.is-open { max-height: 560px; padding-top: 1rem; padding-bottom: 1.3rem; visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .menu-links { display: grid; gap: 0; }
  .nav-link { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.12); font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
  .nav-link::after { display: none; }
  .site-menu .button { width: 100%; margin-top: 1rem; }
  .hero { min-height: 78svh; }
  .hero-home { min-height: 92svh; }
  .hero > .hero-inner { padding-top: calc(var(--header-h) + 4rem); padding-bottom: 3rem; }
  .hero-copy { width: 100%; }
  .hero-copy h1 { max-width: 12ch; }
  .hero-copy > p { max-width: 620px; }
  .hero-stay .hero-picture img { object-position: 56% 68%; }
  .quick-form { grid-template-columns: 1fr 1fr; padding-block: .25rem 1rem; }
  .quick-form label { padding: 1rem 1rem .8rem 0; }
  .quick-form label:nth-child(2n) { padding-left: 1rem; border-left: 1px solid rgba(255,255,255,.25); }
  .quick-form label:nth-child(3) { border-left: 0; }
  .quick-form .button { grid-column: 2; margin: .55rem 0 0 1rem; }
  .availability-link { grid-column: 1; align-self: center; margin-top: .55rem; padding: .8rem 1rem .2rem 0; border-top: 0; }
  .fact-line .shell { grid-template-columns: 1fr 1fr; }
  .fact-line span:nth-child(2) { border-right: 1px solid var(--line); }
  .fact-line span:nth-child(n+3) { border-top: 1px solid var(--line); }
  .intro-pair, .day-flow, .pool-feature, .editorial-pair, .editorial-reverse, .practical, .faq, .rates-detail, .rate-context, .booking-process, .food-section, .contact-layout { grid-template-columns: 1fr; gap: 2.4rem; }
  .intro-pair h2, .day-flow h2 { max-width: 14ch; }
  .pool-image { height: min(640px, 86vw); }
  .editorial-reverse .editorial-copy { order: 1; }
  .editorial-reverse .bedroom-pair { order: 2; }
  .editorial-pair > div:first-child > picture, .editorial-pair > div:first-child > .image-landscape { height: min(600px, 72vw); }
  .bedroom-pair picture { height: min(500px, 62vw); }
  .image-triptych { grid-template-columns: 1fr 1fr; }
  .image-triptych picture { height: 420px; }
  .image-triptych picture:last-child { grid-column: 1 / -1; height: 520px; }
  .location-stories article, .location-stories article.story-reverse { grid-template-columns: 1fr; gap: 2rem; }
  .location-stories article.story-reverse > div:first-child { order: 0; }
  .location-stories picture, .food-section picture { height: min(560px, 72vw); }
  .excursion-list { column-gap: 2.2rem; }
  .panorama-grid { grid-template-columns: 1fr; gap: 2rem; }
  .calendar-grid, .availability-compact .calendar-grid { grid-template-columns: 1fr 1fr; }
  .reviews-list { gap: 0 2rem; }
  .contact-aside { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 28px); --section: 3.6rem; --radius: .62rem; }
  body { font-size: 16px; padding-bottom: 68px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-home { min-height: 88svh; }
  .hero { min-height: 72svh; }
  .hero-copy h1, .hero-location .hero-copy h1 { max-width: 11ch; }
  .hero-copy > p { font-size: 1.05rem; }
  .hero-home .hero-picture img { object-position: 58% 52%; }
  .hero-stay .hero-picture img { object-position: 54% 70%; }
  .hero-location .hero-picture img { object-position: 54% 50%; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .hero-actions .button { width: 100%; }
  .quick-form { grid-template-columns: 1fr; padding-block: .4rem 1rem; }
  .quick-form label, .quick-form label:nth-child(2n) { padding: .8rem 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.23); }
  .quick-form .button { grid-column: 1; width: 100%; margin: .8rem 0 0; }
  .availability-link { grid-column: 1; padding: .75rem 0 0; }
  .fact-line .shell { grid-template-columns: 1fr 1fr; }
  .fact-line span { padding: .8rem .7rem; font-size: .82rem; }
  .fact-line strong { display: block; margin: 0 0 .15rem; font-size: 1.35rem; }
  .feature-images { min-height: 500px; }
  .feature-images > picture:first-child { width: 92%; height: 430px; }
  .feature-images .image-inset { width: 50%; height: 235px; border-width: 6px; }
  .quote-feature { align-items: flex-start; flex-direction: column; }
  .quote-feature blockquote p { font-size: 2rem; }
  .enquiry-panel-inner { min-height: 0; padding-block: 2.5rem; align-items: flex-start; flex-direction: column; gap: 1.5rem; }
  .enquiry-panel-inner .button { width: 100%; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid div:nth-child(2) { border-right: 1px solid var(--line); }
  .spec-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bedroom-pair { grid-template-columns: 1fr; }
  .bedroom-pair picture { height: 410px; }
  .image-triptych { grid-template-columns: 1fr; gap: .8rem; }
  .image-triptych picture, .image-triptych picture:last-child { grid-column: auto; height: 390px; }
  .rules-table > div, .detail-list div { grid-template-columns: 1fr; gap: .25rem; }
  .gallery-shell { display: block; }
  .gallery-figure { margin-bottom: 1.5rem; }
  .gallery-figure picture, .gallery-figure.gallery-wide picture, .gallery-figure.gallery-tall picture { height: 74vw; min-height: 300px; max-height: 470px; }
  .gallery-figure.asset-pool-overlook picture { height: 88vw; }
  .gallery-figure.asset-citta-street picture { height: 92vw; }
  .panorama-viewer { height: 68vw; min-height: 330px; }
  .lightbox[open] { grid-template-columns: 48px 1fr 48px; }
  .lightbox figure { max-width: calc(100vw - 105px); }
  .lightbox button { width: 40px; height: 40px; }
  .section-heading, .availability-head { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .travel-table { min-width: 720px; }
  .excursion-list { grid-template-columns: 1fr; }
  .calendar-controls { width: 100%; }
  .calendar-controls button { flex: 1; }
  .calendar-grid, .availability-compact .calendar-grid { grid-template-columns: 1fr; }
  .calendar-month { padding: .8rem; }
  .booking-activity ol { grid-template-columns: 1fr; gap: 0; }
  .rates-table { min-width: 630px; }
  .reviews-list { grid-template-columns: 1fr; }
  .reviews-list blockquote { padding: 1.6rem 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .check-row { grid-template-columns: auto 1fr; }
  .guide-list { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; padding-block: 3rem; }
  .footer-intro { grid-column: auto; }
  .footer-base { align-items: flex-start; flex-direction: column; justify-content: center; gap: .25rem; padding-block: 1rem; }
  .mobile-book { position: fixed; right: 0; bottom: 0; left: 0; z-index: 120; display: block; padding: .55rem max(.7rem, env(safe-area-inset-right)) calc(.55rem + env(safe-area-inset-bottom)) max(.7rem, env(safe-area-inset-left)); background: rgba(14,42,35,.97); box-shadow: 0 -8px 28px rgba(7,24,19,.18); }
  .mobile-book .button { width: 100%; min-height: 48px; }
  .cookie-banner { bottom: calc(72px + env(safe-area-inset-bottom)); align-items: flex-start; flex-direction: column; gap: 1rem; }
  .cookie-actions { width: 100%; }
  .cookie-actions .button { flex: 1; }
  .not-found div { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.faq-list details.is-closing .details-body { grid-template-rows: 0fr; }
.panorama-viewer { background-repeat: no-repeat; }
.panorama-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.panorama-canvas.is-dragging { cursor: grabbing; }
.panorama-load { position: absolute; left: 50%; top: 50%; z-index: 2; min-height: 48px; padding: .75rem 1.1rem; border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius); color: var(--white); background: rgba(14,42,35,.9); font-weight: 720; transform: translate(-50%, -50%); cursor: pointer; box-shadow: var(--shadow); }
.panorama-load:hover { background: var(--cypress-deep); }
.panorama-status { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; z-index: 3; color: var(--white); font-size: .85rem; text-align: center; pointer-events: none; }
.panorama-controls { position: absolute; right: .75rem; bottom: .75rem; z-index: 3; display: flex; gap: .4rem; }
.panorama-controls button { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.5); border-radius: .45rem; color: var(--white); background: rgba(14,42,35,.82); font-weight: 700; cursor: pointer; }
.panorama-controls button:hover { background: var(--cypress-deep); }
.panorama-viewer.is-loaded { background-image: none !important; }

/* Final editorial and responsive refinement */
:root {
  --section: clamp(3.5rem, 5vw, 5.25rem);
  --radius: .85rem;
}
h2 { font-size: clamp(2.1rem, 3.7vw, 4rem); }
picture:not(.hero-picture) { background: var(--stone); }
.hero-location { min-height: 100svh; }
.hero-location > .hero-inner { padding-bottom: clamp(3.5rem, 7vw, 7rem); }
.location-introduction { max-width: none; display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); column-gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.location-introduction h2 { max-width: 12ch; margin: 0; }
.location-introduction .location-prose { max-width: 730px; }
.location-introduction .location-prose p { font-size: clamp(1.02rem, 1.25vw, 1.16rem); }
.location-introduction .button { grid-column: 2; justify-self: start; margin-top: .75rem; }
.section-heading-simple { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); align-items: end; column-gap: clamp(3rem, 7vw, 7rem); }
.section-heading-simple h2 { margin: 0; }
.section-heading-simple p { max-width: 650px; }
.destination-intro { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: clamp(3rem, 7vw, 7rem); align-items: end; margin-bottom: 2.2rem; }
.destination-intro h2 { max-width: 14ch; }
.destination-intro p { max-width: 650px; margin: 0; color: rgba(255,255,255,.82); font-size: 1.04rem; }
.destination-list { border-top: 1px solid var(--line-light); }
.destination-list article { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: clamp(2rem, 6vw, 6rem); padding: 1.35rem 0 1.45rem; border-bottom: 1px solid var(--line-light); }
.destination-list h3 { font-size: clamp(1.4rem, 2vw, 2rem); }
.destination-list p { max-width: 760px; margin: 0; color: rgba(255,255,255,.82); }
.destination-list a { display: inline-block; margin-top: .55rem; color: var(--white); font-weight: 700; text-underline-offset: .22em; }
.review-summary { max-width: 900px; margin-inline: auto; }
.review-summary h2 { max-width: 15ch; }
.review-summary p { max-width: 820px; font-size: clamp(1.05rem, 1.3vw, 1.18rem); }
.footer-main h2 { color: var(--white); }
.small-note { max-width: 35rem; }

@media (max-width: 900px) {
  .hero-location { min-height: 84svh; }
  .location-introduction,
  .section-heading-simple,
  .destination-intro,
  .destination-list article { grid-template-columns: 1fr; gap: 1.25rem; }
  .location-introduction .button { grid-column: 1; }
  .destination-intro { align-items: start; }
  .destination-intro h2 { max-width: 16ch; }
}

@media (max-width: 640px) {
  :root { --section: 3.35rem; }
  .hero-location { min-height: 78svh; }
  .hero-location .hero-copy h1 { max-width: 12ch; }
  .destination-list article { padding: 1.35rem 0; }
  .destination-list h3 { margin-bottom: .1rem; }
  .page-intro { padding-top: 3.4rem; padding-bottom: 2.4rem; }
  .legal-page { padding-top: 3.4rem; }
}
.panorama-viewer.has-perspective-fallback { background: var(--cypress-deep); }
.panorama-fallback-slides { position: absolute; inset: 0; outline: 0; }
.panorama-fallback-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.01); transition: opacity .32s ease, transform .5s ease; }
.panorama-fallback-slides img.is-current { opacity: 1; transform: none; }
.panorama-fallback-controls { position: absolute; right: .75rem; bottom: .75rem; z-index: 4; display: flex; align-items: center; gap: .45rem; padding: .35rem; border-radius: .65rem; color: var(--white); background: rgba(14,42,35,.86); }
.panorama-fallback-controls button { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.42); border-radius: .45rem; color: var(--white); background: transparent; cursor: pointer; }
.panorama-fallback-controls span { min-width: 3.8rem; text-align: center; font-size: .82rem; }
.has-perspective-fallback .panorama-status { right: auto; max-width: min(560px, calc(100% - 10rem)); padding: .45rem .65rem; border-radius: .45rem; background: rgba(14,42,35,.78); text-align: left; }
@media (max-width: 640px) {
  .has-perspective-fallback .panorama-status { right: .75rem; bottom: 4.3rem; left: .75rem; max-width: none; text-align: center; }
}

/* Cross-page rhythm and final typography safeguards */
h1, h2, h3, blockquote p { overflow-wrap: break-word; }
.landscape-band { min-height: 100svh; }
.location-stories h2,
.food-section h2,
.destination-list h3 { line-height: 1.08; }
.food-section h2 { max-width: 15ch; }
.destination-intro h2 { max-width: 16ch; }

@media (max-width: 900px) {
  .landscape-band { min-height: 76svh; }
}

@media (max-width: 640px) {
  .landscape-band { min-height: 68svh; }
  .landscape-copy { padding-bottom: 3rem; }
  .food-section h2 { max-width: 13ch; }
}


/* v6 booking controls, typography and wrapping */
.button {
  border-radius: 999px;
  padding-inline: 1.45rem;
  font-size: .92rem;
  font-weight: 650;
  letter-spacing: .006em;
}
.button-small { padding-inline: 1.2rem; }
h1, h2, h3, blockquote p {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.quick-form {
  min-height: 108px;
  grid-template-columns: minmax(160px, 1fr) minmax(160px, 1fr) minmax(145px, .78fr) auto minmax(170px, .82fr);
  gap: .75rem;
  align-items: stretch;
  padding-block: .85rem;
}
.quick-form label,
.quick-form label + label {
  align-self: stretch;
  padding: .62rem .85rem;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: .78rem;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 5px 18px rgba(9,31,24,.08);
}
.quick-form label span { margin-bottom: .1rem; color: var(--cypress); font-size: .74rem; font-weight: 650; }
.quick-form input,
.quick-form select {
  min-height: 38px;
  padding: .08rem 0;
  color: var(--ink);
  background: transparent;
  color-scheme: light;
  font-weight: 550;
}
.quick-form .button { align-self: stretch; margin: 0; min-height: 58px; }
.availability-link {
  align-self: center;
  padding: .7rem .2rem;
  border-left: 0;
  font-weight: 650;
}

@media (max-width: 1120px) {
  .quick-form { grid-template-columns: 1fr 1fr .8fr auto; }
  .quick-form .availability-link { grid-column: 1 / -1; justify-self: start; padding-top: 0; }
}
@media (max-width: 900px) {
  .quick-form { grid-template-columns: 1fr 1fr; padding-block: .9rem; }
  .quick-form label,
  .quick-form label:nth-child(2n),
  .quick-form label + label { padding: .62rem .8rem; border: 1px solid rgba(255,255,255,.48); }
  .quick-form .button { grid-column: 2; margin: 0; }
  .quick-form .availability-link { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .quick-form { grid-template-columns: 1fr; gap: .62rem; padding-block: .75rem 1rem; }
  .quick-form label,
  .quick-form label:nth-child(2n),
  .quick-form label + label { padding: .58rem .78rem; border: 1px solid rgba(255,255,255,.48); }
  .quick-form .button { grid-column: 1; width: 100%; min-height: 52px; margin: 0; }
  .quick-form .availability-link { grid-column: 1; padding: .35rem .1rem 0; }
  .feature-copy h2,
  .intro-pair h2 { max-width: none; }
}

/* v7 final editorial rhythm, controls and robust word wrapping */
.button {
  min-height: 50px;
  padding-inline: 1.5rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 620;
  letter-spacing: .008em;
  text-wrap: nowrap;
}
.button-small { min-height: 44px; padding-inline: 1.25rem; font-size: .9rem; }

.feature-copy h2 {
  max-width: 13ch;
  font-size: clamp(2.2rem, 3.25vw, 3.55rem);
  line-height: 1.04;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
}

.section-heading,
.section-heading-simple,
.destination-intro {
  align-items: start;
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  column-gap: clamp(3rem, 7vw, 7rem);
  margin-bottom: 1.7rem;
}
.section-heading h2,
.section-heading p,
.section-heading-simple h2,
.section-heading-simple p,
.destination-intro h2,
.destination-intro p { margin-top: 0; }
.section-heading p { padding-top: .35rem; }
.rates-section .section-heading { padding-bottom: .2rem; }

.quick-form label,
.quick-form label + label {
  position: relative;
  border-color: rgba(255,255,255,.58);
  background: var(--white);
  box-shadow: 0 7px 22px rgba(9,31,24,.12);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.quick-form label:focus-within {
  border-color: var(--pool);
  box-shadow: 0 0 0 3px rgba(121,174,178,.28), 0 8px 22px rgba(9,31,24,.13);
  transform: translateY(-1px);
}
.quick-form input,
.quick-form select {
  border-radius: .35rem;
  line-height: 1.2;
}
.quick-form select { cursor: pointer; }
.quick-form .button {
  min-width: 150px;
  padding-inline: 1.4rem;
}

.panorama-viewer {
  border-radius: 1rem;
  box-shadow: 0 18px 45px rgba(5,20,16,.22);
}
.panorama-load {
  padding-inline: 1.25rem;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 620;
}
.panorama-controls,
.panorama-fallback-controls { border-radius: 999px; }
.panorama-controls button,
.panorama-fallback-controls button { border-radius: 50%; }

@media (max-width: 900px) {
  .section-heading { grid-template-columns: 1fr; gap: .9rem; }
  .section-heading p { padding-top: 0; }
  .feature-copy h2 { max-width: 16ch; font-size: clamp(2.25rem, 8vw, 3.25rem); }
}

@media (max-width: 640px) {
  .button { min-height: 48px; padding-inline: 1.25rem; font-size: .92rem; }
  .quick-form .button { min-width: 0; }
  .feature-copy h2 { max-width: none; }
}


/* v7.1 optical alignment and protected short phrases */
.keep-together { white-space: nowrap; }
.rates-section .section-heading {
  grid-template-columns: minmax(250px, .66fr) minmax(0, 1.34fr);
  align-items: start;
  column-gap: clamp(2.5rem, 6vw, 6rem);
  margin-bottom: 1.55rem;
  padding-bottom: 0;
}
.rates-section .section-heading h2 {
  margin: 0;
  line-height: 1.04;
}
.rates-section .section-heading p {
  margin: .12rem 0 0;
  padding: 0;
  max-width: 690px;
  line-height: 1.65;
}
@media (max-width: 900px) {
  .rates-section .section-heading { grid-template-columns: 1fr; gap: .75rem; margin-bottom: 1.25rem; }
  .rates-section .section-heading p { margin-top: 0; }
}
@media (max-width: 370px) {
  .keep-together { white-space: normal; }
}

/* v8 SEO-linked content rhythm, optical alignment and robust heading wrapping */
.keep-together {
  white-space: normal;
}

h1,
h2,
h3,
blockquote p,
.feature-copy h2,
.intro-pair h2,
.destination-intro h2,
.destination-list h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.context-band {
  max-width: 920px;
  padding-block: clamp(2.75rem, 4.5vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.context-band h2 {
  max-width: 18ch;
  margin-bottom: .9rem;
  font-size: clamp(1.8rem, 2.8vw, 2.75rem);
  line-height: 1.08;
}
.context-band p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1rem, 1.1vw, 1.1rem);
}
.context-band a {
  font-weight: 680;
  text-decoration-thickness: 1px;
}

.rates-section .section-heading {
  grid-template-columns: minmax(250px, .66fr) minmax(0, 1.34fr);
  align-items: start;
  column-gap: clamp(2.5rem, 6vw, 6rem);
  margin-bottom: 1.75rem;
}
.rates-section .section-heading h2 {
  margin: 0;
  padding: 0;
  line-height: 1.02;
}
.rates-section .section-heading p {
  align-self: start;
  max-width: 690px;
  margin: 0;
  padding-top: .36rem;
  line-height: 1.58;
}

.panorama-fallback-slides img {
  image-orientation: from-image;
}

@media (max-width: 900px) {
  .rates-section .section-heading {
    grid-template-columns: 1fr;
    gap: .8rem;
    margin-bottom: 1.35rem;
  }
  .rates-section .section-heading p {
    padding-top: 0;
  }
  .context-band {
    width: var(--shell);
  }
}

@media (max-width: 640px) {
  .context-band {
    padding-block: 2.8rem;
  }
  .context-band h2 {
    max-width: none;
  }
  .feature-copy h2,
  .intro-pair h2 {
    text-wrap: balance;
  }
}

/* v9 guestbook themes, outdoor planning and interactive panorama polish */
.keep-together {
  display: inline;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.review-themes {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}
.review-themes-heading h2 {
  max-width: 11ch;
  margin-bottom: 1rem;
}
.review-themes-heading p {
  max-width: 29rem;
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}
.review-theme-stage {
  position: relative;
  min-height: 295px;
  padding: clamp(1.8rem, 3vw, 3rem) clamp(1.7rem, 3.5vw, 3.5rem);
  border-left: 1px solid var(--line);
  display: grid;
  align-content: center;
}
.review-theme {
  grid-area: 1 / 1;
  align-self: center;
  max-width: 720px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(.7rem);
  transition: opacity .42s ease, transform .42s ease, visibility 0s linear .42s;
}
.review-theme.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.review-theme h3 {
  max-width: 18ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
}
.review-theme p {
  max-width: 650px;
  margin: 0;
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
}
.review-theme-nav {
  position: absolute;
  right: clamp(1.7rem, 3.5vw, 3.5rem);
  bottom: 1.35rem;
  left: clamp(1.7rem, 3.5vw, 3.5rem);
  display: flex;
  align-items: center;
  gap: .7rem;
}
.review-theme-nav button {
  width: 2.9rem;
  height: 1.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.review-theme-nav button::before {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(23,35,31,.28);
  content: "";
  transition: height .2s ease, background .2s ease;
}
.review-theme-nav button:hover::before,
.review-theme-nav button.is-active::before {
  height: 4px;
  background: var(--cypress);
}

.outdoor-pair {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.outdoor-pair > div:first-child h2 {
  max-width: 12ch;
  margin-bottom: 1.15rem;
}
.outdoor-pair > div:first-child p {
  max-width: 520px;
}
.outdoor-details {
  border-top: 1px solid var(--line);
}
.outdoor-details article {
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr);
  column-gap: clamp(1.75rem, 4vw, 4rem);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.outdoor-details article h3 {
  grid-row: 1 / span 3;
  font-size: clamp(1.4rem, 2vw, 2rem);
}
.outdoor-details article p {
  margin-bottom: .8rem;
}
.outdoor-details .text-link {
  justify-self: start;
}

.panorama-heading p {
  max-width: 680px;
}
.panorama-viewer::after {
  position: absolute;
  top: .85rem;
  left: .85rem;
  z-index: 2;
  padding: .42rem .7rem;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  color: var(--white);
  background: rgba(14,42,35,.72);
  font-size: .78rem;
  content: "Drag or swipe to look around";
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.panorama-viewer.is-loaded::after { opacity: 1; }
.panorama-viewer.has-perspective-fallback::after { content: "Still views"; }

@media (max-width: 900px) {
  .review-themes,
  .outdoor-pair {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .review-themes-heading h2,
  .outdoor-pair > div:first-child h2 {
    max-width: 15ch;
  }
  .review-theme-stage {
    min-height: 270px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .review-theme-stage {
    min-height: 320px;
    padding: 1.6rem 0 3.2rem;
  }
  .review-theme-nav {
    right: 0;
    bottom: .8rem;
    left: 0;
  }
  .outdoor-details article {
    grid-template-columns: 1fr;
    gap: .65rem;
  }
  .outdoor-details article h3 {
    grid-row: auto;
  }
  .panorama-viewer::after {
    right: .7rem;
    left: auto;
    max-width: calc(100% - 1.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-theme { transition: none; transform: none; }
}
.panorama-viewer.has-perspective-fallback::after { content: "Panorama preview"; }
.has-perspective-fallback .panorama-status {
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: none;
  padding: .55rem .75rem;
  border-radius: .55rem;
  background: rgba(14,42,35,.82);
  text-align: center;
}
.review-theme-nav { gap: .75rem; }
.review-theme-nav button { width: 1.35rem; height: 1.35rem; display: grid; place-items: center; }
.review-theme-nav button::before {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: rgba(23,35,31,.28);
}
.review-theme-nav button:hover::before,
.review-theme-nav button.is-active::before {
  width: .75rem;
  height: .75rem;
  background: var(--cypress);
}

/* v10 restrained colour lift, cross-page alignment and true guestbook carousel */
:root {
  --cypress: #173f35;
  --cypress-deep: #0d2d25;
  --olive: #697a5f;
  --saffron: #e7b84f;
  --saffron-soft: #f4d995;
  --pool: #72aeb5;
  --stone: #ecebe2;
  --paper: #f8f7f1;
  --radius: .72rem;
}

.section-stone {
  background:
    linear-gradient(120deg, rgba(255,255,255,.18), transparent 42%),
    var(--stone);
}

.section-pine {
  background:
    radial-gradient(circle at 82% 18%, rgba(121,174,178,.11), transparent 30rem),
    linear-gradient(145deg, var(--cypress), var(--cypress-deep));
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7,28,22,.84) 0%, rgba(7,28,22,.48) 48%, rgba(7,28,22,.08) 79%),
    linear-gradient(0deg, rgba(7,28,22,.64), transparent 58%),
    linear-gradient(180deg, rgba(224,173,79,.08), transparent 35%);
}

.button {
  border-color: rgba(23,35,31,.18);
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset;
}
.button-sun {
  border-color: rgba(14,42,35,.18);
  box-shadow: 0 7px 20px rgba(13,37,30,.12), 0 1px 0 rgba(255,255,255,.35) inset;
}
.button-outline { background: rgba(255,255,255,.22); }
.enquiry-panel {
  background:
    linear-gradient(100deg, rgba(255,255,255,.2), transparent 46%),
    var(--saffron);
}
.enquiry-panel .button-sun {
  color: var(--white);
  border-color: var(--cypress-deep);
  background: var(--cypress-deep);
  box-shadow: 0 10px 28px rgba(13,37,30,.22);
}
.enquiry-panel .button-sun:hover { background: var(--cypress); }

.fact-line strong,
.spec-grid strong { color: var(--cypress); }

.context-band {
  width: var(--shell);
  max-width: none;
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  column-gap: clamp(2.75rem, 7vw, 7rem);
  align-items: start;
  padding-block: clamp(3rem, 4.8vw, 4.8rem);
}
.context-band h2 {
  max-width: 15ch;
  margin: 0;
}
.context-band p {
  max-width: 720px;
  padding-top: .32rem;
}

.location-introduction {
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
}
.travel-times-section {
  padding-top: clamp(3rem, 4.5vw, 4.8rem);
}
.destination-intro,
.destination-list article {
  grid-template-columns: minmax(310px, .9fr) minmax(0, 1.1fr);
  column-gap: clamp(2.75rem, 5vw, 5rem);
}
.destination-intro h2 { max-width: 17ch; }
.destination-intro p,
.destination-list p { max-width: none; }
.destination-list article { padding-block: 1.55rem 1.65rem; }

.review-theme-stage {
  min-width: 0;
  overflow: hidden;
  display: block;
  align-content: initial;
}
.review-theme-track {
  display: flex;
  width: 100%;
  transition: transform .62s cubic-bezier(.22,.72,.24,1);
  will-change: transform;
}
.review-theme {
  position: relative;
  flex: 0 0 100%;
  grid-area: auto;
  align-self: auto;
  max-width: none;
  padding-right: clamp(.25rem, 2vw, 1.5rem);
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
}
.review-theme[aria-hidden="true"] { visibility: visible; }
.review-theme-nav {
  z-index: 2;
  gap: .2rem;
}
.review-theme-nav button {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
}
.review-theme-nav button::before {
  width: .52rem;
  height: .52rem;
  border: 1px solid rgba(23,35,31,.36);
  border-radius: 50%;
  background: transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.review-theme-nav button:hover::before,
.review-theme-nav button.is-active::before {
  width: .52rem;
  height: .52rem;
  border-color: var(--cypress);
  background: var(--cypress);
  transform: scale(1.12);
}

.gallery-figure button,
.feature-images picture,
.editorial-pair picture,
.location-stories picture,
.food-section picture {
  border-radius: .16rem;
}

@media (max-width: 900px) {
  .context-band {
    grid-template-columns: 1fr;
    gap: .85rem;
  }
  .context-band h2 { max-width: 20ch; }
  .context-band p { padding-top: 0; }
  .destination-intro,
  .destination-list article { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .review-theme-stage { min-height: 330px; }
  .review-theme { padding-right: 0; }
  .context-band { padding-block: 2.65rem; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero,
  .hero-home { min-height: 650px; }
  .hero > .hero-inner { padding-top: calc(var(--header-h) + 2.2rem); }
}

@media (prefers-reduced-motion: reduce) {
  .review-theme-track { transition: none; }
}

/* Keep each guestbook panel fully clipped; padding belongs to slides, not the viewport. */
.review-theme-stage { padding: 0; }
.review-theme-track { min-height: 295px; }
.review-theme {
  min-height: 295px;
  display: grid;
  align-content: center;
  padding: clamp(1.8rem, 3vw, 3rem) clamp(1.7rem, 3.5vw, 3.5rem) 4.3rem;
}
@media (max-width: 900px) {
  .review-theme-track,
  .review-theme { min-height: 270px; }
}
@media (max-width: 640px) {
  .review-theme-track,
  .review-theme { min-height: 330px; }
  .review-theme { padding: 1.6rem 0 3.8rem; }
}

/* --------------------------------------------------------------------------
   Il Palazzino v11 — an Umbrian house, not a generic “luxury villa” template
   Signature device: the arched image edge echoes the kitchen windows.
   -------------------------------------------------------------------------- */
:root {
  --ink: #1e2924;
  --cypress: #153b33;
  --cypress-deep: #0c2922;
  --olive: #617468;
  --olive-pale: #dce4dc;
  --saffron: #dfb75f;
  --saffron-soft: #f0d89c;
  --pool: #6f9fa3;
  --stone: #e8e7df;
  --paper: #f4f3ed;
  --white: #fffef9;
  --line: rgba(30, 41, 36, .18);
  --shell: min(1240px, calc(100vw - 64px));
  --radius: .35rem;
}

/* `clip` is cleaner where supported; `hidden` prevents overflow in older Safari. */
html, body { overflow-x: hidden; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

body { background: var(--paper); }
h1 { font-size: clamp(3rem, 5.7vw, 6.1rem); }
h2 { font-size: clamp(2.1rem, 3.65vw, 3.95rem); }

.eyebrow {
  margin: 0 0 .85rem;
  color: var(--cypress);
  font-family: var(--sans);
  font-size: .73rem;
  font-weight: 780;
  line-height: 1.2;
  letter-spacing: .16em;
}
.eyebrow-light { color: var(--saffron-soft); }
.section-pine .eyebrow, .landscape-copy .eyebrow, .enquiry-panel .eyebrow { color: var(--saffron-soft); }

.hero { min-height: min(820px, 88vh); min-height: min(820px, 88svh); }
.hero-home { min-height: 100vh; min-height: 100svh; }
.hero-copy { width: min(820px, 94%); }
.hero-copy h1 { max-width: 11.7ch; margin-bottom: 1.15rem; }
.hero-home .hero-copy h1 { max-width: 10.6ch; }
.hero-stay .hero-copy h1 { max-width: 12.5ch; }
.hero-location .hero-copy h1 { max-width: 12ch; }
.hero-copy > p:not(.eyebrow) { max-width: 650px; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 27, 21, .84) 0%, rgba(5, 27, 21, .52) 45%, rgba(5, 27, 21, .08) 80%),
    linear-gradient(0deg, rgba(5, 27, 21, .6), transparent 58%);
}

.house-ledger { border-bottom: 1px solid var(--line); background: var(--white); }
.house-ledger .shell {
  min-height: 92px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.house-ledger span {
  min-width: 0;
  padding: 1.15rem 1.35rem;
  display: grid;
  align-content: center;
  gap: .2rem;
  border-left: 1px solid var(--line);
}
.house-ledger span:last-child { border-right: 1px solid var(--line); }
.house-ledger small {
  color: rgba(30, 41, 36, .62);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .12em;
}
.house-ledger strong {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.025em;
}

/* One memorable visual move, grounded in the house's arched kitchen windows. */
.arch-composition > picture:first-child,
.arch-pool {
  overflow: hidden;
  border-radius: 46% 46% .18rem .18rem / 20% 20% .18rem .18rem;
}
.arch-composition .image-inset { border-radius: 48% 48% .18rem .18rem / 24% 24% .18rem .18rem; }
.arch-composition .image-inset img { border-radius: inherit; }
.feature-images > picture:first-child { height: 590px; }
.feature-images { min-height: 670px; }

.page-intro { padding-top: clamp(4.6rem, 7vw, 7.4rem); }
.page-intro .eyebrow { margin-bottom: 1rem; }
.page-intro h1 { max-width: 15.5ch; }
.page-lede { max-width: 790px; }

/* Make dense destination copy scan like a considered guide rather than a brochure. */
.location-stories article h3,
.destination-list article h3,
.guide-list h2 { letter-spacing: -.02em; }
.travel-table th, .travel-table td { vertical-align: top; }

/* Mobile rate rows become readable cards rather than a sideways spreadsheet. */
@media (max-width: 640px) {
  .rates-section .table-wrap { overflow: visible; border: 0; background: transparent; }
  .rates-table { min-width: 0; width: 100%; border-collapse: separate; border-spacing: 0 .8rem; }
  .rates-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .rates-table tbody, .rates-table tr, .rates-table th, .rates-table td { display: block; width: 100%; }
  .rates-table tr { padding: 1.1rem 1.15rem; border: 1px solid var(--line); background: var(--white); }
  .rates-table th, .rates-table td { padding: .55rem 0; border: 0; }
  .rates-table th { text-align: left; }
  .rates-table td { display: grid; grid-template-columns: minmax(105px, .75fr) 1.25fr; gap: .8rem; align-items: baseline; }
  .rates-table td::before { content: attr(data-label); color: rgba(30, 41, 36, .62); font-size: .72rem; font-weight: 760; letter-spacing: .08em; }
  .rates-table td:nth-child(2) { font-size: 1.55rem; }
}

/* Phones, including 320–360px Android devices. */
@media (max-width: 640px) {
  :root { --shell: min(100% - 34px, 1240px); --section: 3.6rem; --header-h: 70px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4.25rem); }
  h2 { font-size: clamp(2rem, 10vw, 3.25rem); }
  .hero, .hero-home { min-height: 700px; }
  .hero > .hero-inner { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 4.5rem; }
  .hero-copy h1, .hero-home .hero-copy h1, .hero-stay .hero-copy h1, .hero-location .hero-copy h1 { max-width: 11.5ch; }
  .hero-copy > p:not(.eyebrow) { margin-bottom: 1.6rem; font-size: 1.02rem; line-height: 1.55; }
  .hero-actions { align-items: flex-start; gap: 1rem; }
  .hero-actions .button { width: 100%; }
  .house-ledger .shell { grid-template-columns: 1fr 1fr; }
  .house-ledger span { min-height: 88px; padding: 1rem .85rem; }
  .house-ledger span:nth-child(2) { border-right: 1px solid var(--line); }
  .house-ledger span:nth-child(n+3) { border-top: 1px solid var(--line); }
  .feature-images { min-height: 505px; }
  .feature-images > picture:first-child { width: 94%; height: 435px; }
  .feature-images .image-inset { right: -1px; width: 52%; height: 235px; }
  .arch-composition > picture:first-child { border-radius: 44% 44% .15rem .15rem / 15% 15% .15rem .15rem; }
  .page-intro { padding-top: 3.7rem; }
  .quick-form .button { width: 100%; }
  .enquiry-panel { padding-bottom: calc(var(--section) + 4.5rem + env(safe-area-inset-bottom)); }
  .cookie-banner { bottom: calc(4.2rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 370px) {
  :root { --shell: min(100% - 26px, 1240px); }
  body { font-size: 16px; }
  .brand { font-size: 1.5rem; }
  .menu-button { width: 44px; height: 44px; }
  .house-ledger strong { font-size: 1.2rem; }
  .calendar-controls { display: grid; grid-template-columns: 1fr 1fr 1fr; width: 100%; }
  .calendar-controls button { min-width: 0; padding-inline: .35rem; }
  .lightbox[open], .lightbox.is-open { grid-template-columns: 42px 1fr 42px; }
  .lightbox figure { max-width: calc(100vw - 90px); }
}

/* Tablet tuning: portrait iPads should not look like a stretched phone. */
@media (min-width: 641px) and (max-width: 1024px) {
  :root { --shell: min(100% - 48px, 1240px); }
  .hero-copy { width: min(720px, 92%); }
  .house-ledger .shell { grid-template-columns: repeat(4, 1fr); }
  .house-ledger span { padding-inline: 1rem; }
  .feature-images { max-width: 820px; }
  .rates-table th:first-child { width: 42%; }
  .panorama-grid { gap: 1rem; }
}

/* Short landscape phones and split-screen tablets. */
@media (max-height: 560px) and (orientation: landscape) {
  .hero, .hero-home { min-height: 620px; }
  .hero > .hero-inner { padding-top: calc(var(--header-h) + 2.2rem); padding-bottom: 2.8rem; align-items: flex-end; }
  .hero-copy { width: min(720px, 86%); }
  .hero-copy h1 { font-size: clamp(2.7rem, 7.8vw, 4.7rem); max-width: 12ch; }
  .hero-copy > p:not(.eyebrow) { font-size: 1rem; }
  .mobile-book { display: none; }
}

/* Touch devices should not depend on hover or animate cards away from the finger. */
@media (hover: none), (pointer: coarse) {
  .button:hover { transform: none; box-shadow: none; }
  .gallery-figure button:hover img,
  .location-stories a:hover img { transform: none; }
  .nav-link, .text-link, summary { -webkit-tap-highlight-color: rgba(111, 159, 163, .24); }
  .menu-button, .lightbox button, .calendar-controls button { min-width: 44px; min-height: 44px; }
}

/* Dialog fallback used when HTMLDialogElement/showModal is unavailable. */
.lightbox.is-open {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
}
.lightbox { height: 100vh; height: 100svh; }
.lightbox figure { max-height: calc(100vh - 110px); max-height: calc(100svh - 110px); }
.lightbox img { max-height: calc(100vh - 160px); max-height: calc(100svh - 160px); }

/* Safe areas on iPhones and iPads in standalone/full-screen modes. */
.nav-shell { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.overlay-header .site-header { padding-top: env(safe-area-inset-top); height: calc(var(--header-h) + env(safe-area-inset-top)); }
.mobile-book { padding-bottom: calc(.55rem + env(safe-area-inset-bottom)); }
.lightbox-close { top: calc(20px + env(safe-area-inset-top)); right: calc(20px + env(safe-area-inset-right)); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .nav-link::after, .gallery-figure img, .review-theme-track { transition-duration: .01ms !important; }
}

@media (forced-colors: active) {
  .button, .calendar-day, .review-theme-nav button::before { border: 1px solid ButtonText; }
  .hero-overlay { background: rgba(0, 0, 0, .55); }
}
body.lightbox-open { overflow: hidden; }

/* v12.1: remove floating label columns and improve fold alignment where headings do not need an eyebrow. */
.hero-copy h1 { max-width: 15ch; }
.hero-copy > .eyebrow:first-child { margin-bottom: .9rem; }
.rates-heading-flow {
  display: block;
  max-width: 920px;
  margin-bottom: 1.65rem;
}
.rates-heading-flow h2 {
  margin-bottom: 1.1rem;
}
.rates-heading-flow p {
  max-width: 760px;
  padding-top: 0;
}
.page-intro > h1:first-child {
  max-width: 16ch;
}
@media (min-width: 901px) {
  .rates-section .rates-heading-flow {
    display: block;
  }
}


/* v12.2: direct headings, stronger grouping and a calmer first scroll. */
.home-introduction {
  grid-template-columns: minmax(340px, .95fr) minmax(0, 1.05fr);
  gap: clamp(3.25rem, 7vw, 7.5rem);
}
.home-introduction h2 {
  max-width: 16ch;
  text-wrap: balance;
}
.home-introduction > div:last-child {
  max-width: 740px;
}
.location-introduction > h2:first-child { grid-column: 1; }
.location-introduction > .location-prose { grid-column: 2; }
.location-introduction > .button { grid-column: 2; }
.page-intro > h1:first-child,
.panorama-heading > h2:first-child,
.editorial-copy > h2:first-child,
.intro-pair > div > h2:first-child {
  margin-top: 0;
}
@media (min-width: 901px) {
  .hero-home { min-height: min(860px, 88vh); min-height: min(860px, 88svh); }
  .hero-home .hero-copy h1,
  .hero-location .hero-copy h1 {
    max-width: 15ch;
    font-size: clamp(3.8rem, 5.15vw, 5.35rem);
    line-height: .99;
  }
}
@media (max-width: 900px) {
  .home-introduction {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .home-introduction h2 { max-width: 18ch; }
  .location-introduction > h2:first-child,
  .location-introduction > .location-prose,
  .location-introduction > .button { grid-column: 1; }
}


@media (max-width: 900px) {
  .home-page .mobile-book {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(100%);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .home-page .mobile-book.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .mobile-book { transition: none; }
}

/* v13 data layer */
.site-notice { position: relative; z-index: 95; color: var(--white); background: var(--cypress); border-bottom: 1px solid rgba(255,255,255,.2); }
.site-notice[hidden] { display: none; }
.overlay-header .site-notice { margin-top: var(--header-h); }
.site-notice .shell { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: .8rem 1.1rem; padding-block: .55rem; text-align: center; }
.site-notice span { font-size: .88rem; font-weight: 650; }
.site-notice a { color: var(--saffron-soft); font-size: .84rem; font-weight: 750; }
.site-notice button { width: 32px; height: 32px; margin-left: auto; border: 0; color: inherit; background: transparent; font-size: 1.4rem; line-height: 1; cursor: pointer; }


.calendar-loading { min-height: 180px; display: flex; align-items: center; justify-content: center; gap: .8rem; border: 1px solid var(--line); background: rgba(255,254,249,.7); font-size: .86rem; font-weight: 750; }
.calendar-loading[hidden] { display: none; }
.loading-spinner { width: 1.25rem; height: 1.25rem; border: 2px solid var(--line); border-top-color: var(--cypress); border-radius: 50%; animation: ilp-spin .8s linear infinite; }
@keyframes ilp-spin { to { transform: rotate(360deg); } }
.button.is-loading { gap: .55rem; cursor: progress; }
.button.is-loading::before { width: 1rem; height: 1rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; content: ""; animation: ilp-spin .7s linear infinite; }

@media (max-width: 720px) {
  .site-notice .shell { justify-content: flex-start; text-align: left; }
  .site-notice a { display: block; }
}

/* v14 pool operations manual */
.pool-manual-page .mobile-book { display: none; }
.pool-manual-hero {
  position: relative;
  min-height: min(760px, 82svh);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--cypress);
  overflow: hidden;
}
.pool-manual-hero-picture,
.pool-manual-hero-picture img,
.pool-manual-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.pool-manual-hero-picture img { object-fit: cover; object-position: center 60%; }
.pool-manual-hero-shade { background: linear-gradient(90deg, rgba(7, 28, 22, .9), rgba(7, 28, 22, .48) 55%, rgba(7, 28, 22, .16)), linear-gradient(0deg, rgba(7, 28, 22, .72), transparent 62%); }
.pool-manual-hero-inner { position: relative; z-index: 1; padding-block: clamp(4rem, 8vw, 7rem); }
.pool-manual-hero-inner > p:first-child { margin-bottom: 1.1rem; font-size: .84rem; font-weight: 750; }
.pool-manual-hero-inner > p:first-child a { text-decoration: none; border-bottom: 1px solid currentColor; }
.pool-manual-hero h1 { max-width: 12ch; margin-bottom: 1.35rem; font-size: clamp(3rem, 6.2vw, 6.4rem); }
.pool-manual-lede { max-width: 820px; font-size: clamp(1.05rem, 1.55vw, 1.3rem); line-height: 1.55; }
.pool-manual-version { display: flex; flex-wrap: wrap; gap: .45rem 1.5rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line-light); font-size: .82rem; }
.pool-manual-nav { position: sticky; top: var(--header-h); z-index: 90; border-bottom: 1px solid var(--line); background: rgba(247, 246, 240, .96); backdrop-filter: blur(16px); }
.pool-manual-page main [id] { scroll-margin-top: calc(var(--header-h) + 74px); }
.pool-manual-nav .shell { min-height: 58px; display: flex; align-items: center; gap: 0; overflow-x: auto; scrollbar-width: thin; }
.pool-manual-nav a { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; padding-inline: 1rem; border-left: 1px solid var(--line); font-size: .8rem; font-weight: 750; text-decoration: none; }
.pool-manual-nav a:last-child { border-right: 1px solid var(--line); }
.pool-manual-nav a:hover { background: var(--white); }
.pool-section-heading { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.pool-section-heading h2 { max-width: 13ch; }
.pool-section-heading > p { max-width: 760px; margin: .25rem 0 0; font-size: 1.02rem; }
.pool-section-heading sup { margin-left: .18rem; font-family: var(--sans); font-size: .65em; }
.pool-section-heading sup a { display: inline-flex; min-width: 1.35rem; min-height: 1.35rem; align-items: center; justify-content: center; }

.pool-safety-gate { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.pool-safety-gate h2 { max-width: 12ch; margin-bottom: 1rem; }
.pool-stop-panel { padding: clamp(1.5rem, 3vw, 2.4rem); border: 2px solid var(--cypress); background: var(--white); box-shadow: 12px 12px 0 var(--olive-pale); }
.pool-stop-panel > strong { display: block; margin-bottom: .8rem; font-family: var(--serif); font-size: clamp(1.45rem, 2.2vw, 2rem); font-weight: 500; }
.pool-stop-panel p:last-child { margin-bottom: 0; font-size: .9rem; font-weight: 700; }
.pool-selector { display: grid; grid-template-columns: minmax(270px, .68fr) minmax(0, 1.32fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.pool-selector .pool-section-heading { display: block; position: sticky; top: calc(var(--header-h) + 78px); margin: 0; }
.pool-selector .pool-section-heading h2 { margin-bottom: 1.2rem; }
.pool-choice-list { border-top: 1px solid var(--ink); }
.pool-choice-row { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.05rem .2rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.pool-choice-row > span:first-child { display: grid; gap: .2rem; }
.pool-choice-row strong { font-family: var(--serif); font-size: clamp(1.2rem, 1.7vw, 1.55rem); font-weight: 500; line-height: 1.2; }
.pool-choice-row small { max-width: 680px; color: rgba(23, 35, 31, .76); font-size: .86rem; line-height: 1.5; }
.pool-choice-row > span:last-child { flex: 0 0 auto; font-size: .78rem; font-weight: 750; }
.pool-choice-row:hover strong { color: var(--cypress); }

.pool-lifecycle { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.pool-lifecycle h2 { max-width: 12ch; margin-bottom: 1.1rem; }
.pool-lifecycle ol { margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; counter-reset: pool-loop; }
.pool-lifecycle li { counter-increment: pool-loop; display: grid; grid-template-columns: 3rem minmax(130px, .45fr) 1.55fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.pool-lifecycle li::before { content: "0" counter(pool-loop); color: var(--olive); font-size: .78rem; font-weight: 750; }
.pool-lifecycle li strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.pool-lifecycle li span { font-size: .92rem; }

.pool-specification .pool-section-heading { margin-bottom: 3rem; }
.pool-spec-ledger { margin: 0; border-top: 1px solid var(--line-light); }
.pool-spec-ledger > div { display: grid; grid-template-columns: minmax(160px, .5fr) 1.5fr; gap: 2rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line-light); }
.pool-spec-ledger dt { font-size: .78rem; font-weight: 750; }
.pool-spec-ledger dd { display: grid; grid-template-columns: minmax(180px, .6fr) 1.4fr; gap: 1.5rem; margin: 0; }
.pool-spec-ledger dd strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.pool-spec-ledger dd span { color: rgba(255, 254, 249, .76); font-size: .9rem; }
.pool-verification { margin-top: 3rem; padding: 1.8rem 0 0 clamp(1.2rem, 3vw, 2.5rem); border-top: 1px solid var(--saffron); border-left: 4px solid var(--saffron); }
.pool-verification h3 { margin-bottom: .8rem; }
.pool-verification p { max-width: 920px; margin-bottom: 0; }
.pool-supervision-note { display: grid; grid-template-columns: minmax(210px, .45fr) 1.55fr; gap: 2rem; margin-top: 3rem; padding: 2rem; border: 1px solid var(--line-light); background: rgba(255, 254, 249, .06); }
.pool-supervision-note p { margin: 0; }
.pool-supervision-note sup { margin-left: .18rem; font-family: var(--sans); font-size: .65em; }

.pool-table-wrap { max-width: 100%; overflow-x: auto; border-top: 1px solid var(--ink); }
.pool-control-table { width: 100%; min-width: 840px; border-collapse: collapse; font-size: .9rem; }
.pool-control-table th,
.pool-control-table td { padding: 1rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pool-control-table thead th { background: var(--cypress); color: var(--white); font-size: .76rem; }
.pool-control-table tbody th { width: 18%; font-family: var(--serif); font-size: 1.08rem; font-weight: 500; }
.pool-control-table tbody td:nth-child(2) { width: 28%; font-weight: 700; }
.pool-evidence-note { display: grid; grid-template-columns: minmax(230px, .5fr) 1.5fr; gap: 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--ink); }
.pool-evidence-note h3 { max-width: 14ch; }
.pool-evidence-note p { max-width: 820px; margin: 0; }

.pool-testing dl { margin: 0; border-top: 1px solid var(--ink); }
.pool-testing dl > div { display: grid; grid-template-columns: minmax(180px, .5fr) 1.5fr; gap: 2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.pool-testing dt { font-family: var(--serif); font-size: 1.2rem; }
.pool-testing dd { margin: 0; }
.poollab-method { display: grid; grid-template-columns: minmax(200px, .5fr) 1.5fr; gap: 2rem; margin-top: 3rem; padding: 2rem; color: var(--white); background: var(--cypress); }
.poollab-method p { margin: 0; }

.pool-calculator-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.pool-calculator { min-width: 0; padding: clamp(1.3rem, 2.5vw, 2rem); border-left: 1px solid var(--line); }
.pool-calculator:last-child { border-right: 1px solid var(--line); }
.pool-calculator h3 { min-height: 2.2em; margin-bottom: 1.5rem; }
.pool-calculator label:not(.pool-check) { display: block; margin-bottom: 1rem; }
.pool-calculator label > span { display: block; margin-bottom: .35rem; font-size: .78rem; font-weight: 750; line-height: 1.35; }
.pool-calculator input[type="number"] { width: 100%; min-height: 48px; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: .25rem; color: var(--ink); background: var(--white); }
.pool-check { min-height: 48px; display: flex; gap: .65rem; align-items: flex-start; margin: .5rem 0 1rem; }
.pool-check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--cypress); }
.pool-calculator output { min-height: 92px; display: block; margin-top: 1.2rem; padding: 1rem; border-left: 4px solid var(--saffron); background: var(--stone); font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; }
.pool-calculator output strong { display: block; font-family: var(--sans); font-size: .8rem; }
.pool-calculator > p { margin: 1rem 0 0; color: rgba(23, 35, 31, .7); font-size: .78rem; line-height: 1.5; }
.pool-reference-dose { display: grid; grid-template-columns: minmax(150px, .3fr) 1.7fr; gap: 2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pool-reference-dose p { max-width: 850px; margin: 0; }

.pool-chemistry .pool-section-heading { border-bottom: 1px solid var(--line-light); padding-bottom: 2rem; }
.pool-chemistry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.pool-chemistry-grid article { border-top: 1px solid var(--saffron); padding-top: 1.2rem; }
.pool-chemistry-grid h3 { margin-bottom: .8rem; }
.pool-chemistry-emergency { margin: 2.5rem 0 0; padding: 1.3rem 0 0; border-top: 1px solid var(--line-light); }
.pool-chemistry-emergency button { min-height: 44px; padding: .2rem .35rem; border: 0; color: var(--saffron-soft); background: transparent; font-weight: 750; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

.pool-procedures > .pool-section-heading { padding-bottom: 2.5rem; border-bottom: 1px solid var(--ink); }
.pool-procedure { scroll-margin-top: 85px; padding: clamp(3rem, 6vw, 5rem) 0; border-bottom: 1px solid var(--ink); }
.pool-procedure > header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: start; margin-bottom: 2rem; }
.pool-procedure > header h3 { max-width: 19ch; margin-bottom: .65rem; font-size: clamp(2rem, 3.3vw, 3.5rem); }
.pool-procedure > header p { max-width: 720px; margin: 0; }
.pool-procedure-gate,
.pool-procedure-ready { display: grid; grid-template-columns: minmax(150px, .36fr) 1.64fr; gap: 1.5rem; padding: 1.2rem; }
.pool-procedure-gate { border-left: 4px solid var(--saffron); background: var(--stone); }
.pool-procedure-ready { border-left: 4px solid var(--pool); background: rgba(121, 174, 178, .15); }
.pool-procedure-gate p,
.pool-procedure-ready p { margin: 0; }
.pool-procedure-steps { margin: 2.3rem 0; padding: 0; list-style: none; counter-reset: pool-step; }
.pool-procedure-steps li { counter-increment: pool-step; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.pool-procedure-steps li:last-child { border-bottom: 1px solid var(--line); }
.pool-procedure-steps li::before { content: counter(pool-step); width: 2.35rem; height: 2.35rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--serif); font-size: 1.15rem; }
.pool-procedure-source { margin: 1.2rem 0 0; color: rgba(23, 35, 31, .7); font-size: .78rem; }

.pool-record-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.pool-record-grid article { padding: 1.6rem 1.6rem 1.6rem 0; border-bottom: 1px solid var(--line); }
.pool-record-grid article:nth-child(odd) { padding-right: 2.5rem; border-right: 1px solid var(--line); }
.pool-record-grid article:nth-child(even) { padding-left: 2.5rem; }
.pool-record-grid h3 { margin-bottom: .7rem; }
.pool-record-grid p { margin: 0; }
.pool-handover { display: grid; grid-template-columns: minmax(180px, .45fr) 1.55fr; gap: 2rem; margin-top: 3rem; padding: 2rem; color: var(--white); background: var(--cypress); }
.pool-handover p { margin: 0; font-family: var(--serif); font-size: 1.25rem; }

.pool-governance { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.pool-governance h2 { max-width: 12ch; margin-bottom: 1rem; }
.pool-governance dl { margin: 0; border-top: 1px solid var(--ink); }
.pool-governance dl > div { display: grid; grid-template-columns: minmax(190px, .55fr) 1.45fr; gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.pool-governance dt { font-family: var(--serif); font-size: 1.18rem; }
.pool-governance dd { margin: 0; }
.pool-guest-rules { margin-top: 2.5rem; padding: 1.5rem; border: 1px solid var(--ink); }
.pool-guest-rules h3 { margin-bottom: .75rem; }
.pool-guest-rules p { margin: 0; }

.pool-reference-list { margin: 0; border-top: 1px solid var(--ink); }
.pool-reference-list > div { scroll-margin-top: 85px; display: grid; grid-template-columns: minmax(210px, .48fr) 1.52fr; gap: 2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.pool-reference-list dt { font-family: var(--serif); font-size: 1.12rem; }
.pool-reference-list dd { margin: 0; }
.pool-reference-list a { font-weight: 700; }
.pool-scope-note { display: grid; grid-template-columns: minmax(210px, .48fr) 1.52fr; gap: 2rem; margin-top: 3rem; padding: 2rem; border-left: 4px solid var(--saffron); background: var(--white); }
.pool-scope-note p { margin: 0; }

.pool-flow-dialog { width: min(860px, calc(100vw - 32px)); max-height: min(820px, calc(100dvh - 32px)); padding: 0; border: 0; border-radius: .45rem; color: var(--ink); background: var(--paper); box-shadow: 0 30px 100px rgba(6, 24, 19, .38); }
.pool-flow-dialog::backdrop { background: rgba(5, 22, 17, .78); backdrop-filter: blur(5px); }
.pool-flow-dialog.is-open { position: fixed; inset: 16px; z-index: 1000; display: block; margin: auto; }
.pool-flow-shell { min-height: min(720px, calc(100dvh - 32px)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.pool-flow-shell > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); border-bottom: 1px solid var(--line); background: var(--white); }
.pool-flow-shell > header span { display: block; margin-bottom: .25rem; color: var(--olive); font-size: .75rem; font-weight: 750; }
.pool-flow-shell > header h2 { max-width: 18ch; font-size: clamp(1.65rem, 3.5vw, 2.7rem); }
.pool-flow-close { min-width: 48px; min-height: 48px; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: .25rem; background: transparent; font-size: .8rem; font-weight: 750; cursor: pointer; }
.pool-flow-content { min-height: 0; overflow-y: auto; padding: clamp(1.5rem, 4vw, 3rem); }
.pool-flow-content .pool-flow-label { margin-bottom: .7rem; color: var(--olive); font-size: .76rem; font-weight: 750; }
.pool-flow-content h3 { max-width: 18ch; margin-bottom: 1.2rem; font-size: clamp(1.8rem, 4vw, 3rem); }
.pool-flow-content p { max-width: 680px; }
.pool-flow-content .pool-flow-number { width: 3rem; height: 3rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.4rem; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--serif); font-size: 1.4rem; }
.pool-flow-content .pool-flow-basis { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: rgba(23, 35, 31, .7); font-size: .78rem; }
.pool-flow-shell > footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1.25rem, 3vw, 2rem); border-top: 1px solid var(--line); background: var(--white); }
body.pool-flow-open { overflow: hidden; }

@media (max-width: 900px) {
  .pool-manual-hero { min-height: 680px; }
  .pool-manual-nav { top: var(--header-h); }
  .pool-section-heading,
  .pool-safety-gate,
  .pool-selector,
  .pool-lifecycle,
  .pool-governance { grid-template-columns: 1fr; gap: 2rem; }
  .pool-selector .pool-section-heading { position: static; }
  .pool-calculator-grid { grid-template-columns: 1fr; }
  .pool-calculator { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .pool-calculator:last-child { border-bottom: 0; }
  .pool-chemistry-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 640px) {
  .pool-manual-hero { min-height: 620px; }
  .pool-manual-hero-inner { padding-block: 3.2rem; }
  .pool-manual-version { display: grid; gap: .25rem; }
  .pool-manual-nav .shell { width: 100%; padding-left: max(12px, env(safe-area-inset-left)); }
  .pool-section-heading { margin-bottom: 2.2rem; }
  .pool-stop-panel { box-shadow: 7px 7px 0 var(--olive-pale); }
  .pool-choice-row { align-items: flex-start; }
  .pool-choice-row > span:last-child { padding-top: .25rem; }
  .pool-lifecycle li { grid-template-columns: 2.3rem 1fr; }
  .pool-lifecycle li span { grid-column: 2; }
  .pool-spec-ledger > div,
  .pool-spec-ledger dd,
  .pool-supervision-note,
  .pool-evidence-note,
  .pool-testing dl > div,
  .poollab-method,
  .pool-reference-dose,
  .pool-procedure-gate,
  .pool-procedure-ready,
  .pool-handover,
  .pool-governance dl > div,
  .pool-reference-list > div,
  .pool-scope-note { grid-template-columns: 1fr; gap: .6rem; }
  .pool-table-wrap { overflow-x: visible; }
  .pool-control-table { min-width: 0; }
  .pool-control-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .pool-control-table tbody,
  .pool-control-table tr,
  .pool-control-table th,
  .pool-control-table td { display: block; width: 100%; }
  .pool-control-table tr { padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
  .pool-control-table th,
  .pool-control-table td { padding: .35rem 0; border: 0; }
  .pool-control-table tbody th { font-size: 1.35rem; }
  .pool-control-table tbody td:nth-child(2),
  .pool-control-table tbody td:nth-child(3),
  .pool-control-table tbody td:nth-child(4) { width: 100%; }
  .pool-control-table td::before { display: block; margin-bottom: .1rem; color: var(--olive); font-size: .7rem; font-weight: 750; }
  .pool-control-table td:nth-of-type(1)::before { content: "Release limit"; }
  .pool-control-table td:nth-of-type(2)::before { content: "Working aim"; }
  .pool-control-table td:nth-of-type(3)::before { content: "If missed"; }
  .pool-procedure > header { grid-template-columns: 1fr; }
  .pool-procedure > header .button { width: 100%; }
  .pool-procedure-steps li { grid-template-columns: 2.7rem minmax(0, 1fr); }
  .pool-record-grid { grid-template-columns: 1fr; }
  .pool-record-grid article,
  .pool-record-grid article:nth-child(odd),
  .pool-record-grid article:nth-child(even) { padding: 1.3rem 0; border-right: 0; }
  .pool-flow-dialog { width: 100vw; max-width: none; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .pool-flow-dialog.is-open { inset: 0; }
  .pool-flow-shell { min-height: 100dvh; }
  .pool-flow-shell > footer .button { flex: 1; }
}

@media print {
  .pool-manual-page { color: #000; background: #fff; font-size: 10.5pt; }
  .pool-manual-page .site-header,
  .pool-manual-page .site-footer,
  .pool-manual-page .cookie-banner,
  .pool-manual-nav,
  .pool-procedure > header .button,
  .pool-flow-dialog { display: none !important; }
  .pool-manual-hero { min-height: auto; color: #000; background: #fff; }
  .pool-manual-hero-picture,
  .pool-manual-hero-shade { display: none; }
  .pool-manual-hero-inner { padding: 2rem 0; }
  .pool-manual-hero h1 { font-size: 32pt; }
  .section { padding-block: 1.8rem; }
  .section-stone,
  .section-pine { color: #000; background: #fff; }
  .pool-selector { display: none; }
  .pool-procedure { break-before: page; }
  .pool-procedure-steps li { break-inside: avoid; }
  .pool-spec-ledger dd span { color: #000; }
  .pool-control-table thead th,
  .poollab-method,
  .pool-handover { color: #000; background: #fff; }
  a { color: #000; text-decoration: none; }
}
