/* Hallmark · shape: Photographic · genre: editorial · theme: Solstice (deal 2/3, seed demo-holiday-home-vacation-06f9·a3a7891d·2026-11-12·r0) · job: book · draw: 393fea
 * hero: Poster · nav: edge-aligned · footer: colophon block · imagery: photographs, the Grimming from Wikimedia Commons and rooms hotlinked from Unsplash, warm · signature: the name plate resting on the Grimming photograph · solstice: long-light, display face Prata by request
 * axes: light/high-contrast-serif/warm · posture: restrained · contrast: pass · fold: pass · copy: verbatim (the owner's demo note keeps its dash) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: R, the hard paper shadow is kept to the name plate and the calendar so the page stays calm */
/* Hallmark · answered F20 · a month's days fall where the weekdays put them, the calendar cannot change its count */
/* Hallmark · dismissed 76 · the owner supplied an Unsplash API key and asked for these rooms hotlinked, as the Unsplash API terms require */

/* Fonts, self-hosted (SIL Open Font License) */
@font-face { font-family: "Prata"; src: url("../fonts/prata-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo Narrow"; src: url("../fonts/archivo-narrow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --nav-height: 56px;
  --control-height: 48px;
  --text-small: 0.8125rem;
  --photo-filter: sepia(0.28) saturate(0.94) brightness(0.96);
  --color-on-ink: var(--color-paper-2);
  --color-on-ink-soft: var(--color-gold-2);
  --color-rule-on-ink: color-mix(in oklab, var(--color-paper) 24%, var(--color-ink));
  --color-photo-edge: color-mix(in oklab, var(--color-ink) 10%, transparent);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--space-lg); -webkit-text-size-adjust: 100%; }
html.is-locked { overflow-y: hidden; }
body { color: var(--color-ink-2); -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { color: var(--color-ink); }
h1, h2 { line-height: 1.08; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

.small, figcaption { font: 600 var(--text-small)/1.35 var(--font-outlier); color: var(--color-muted); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: var(--control-height); padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 600 var(--text-md)/1 var(--font-outlier); white-space: nowrap; text-decoration: none; cursor: pointer; touch-action: manipulation; user-select: none; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.link { display: inline-flex; align-items: center; min-height: var(--control-height); padding: 0; border: 0; background: none; color: var(--color-ink); font: 600 var(--text-md)/1 var(--font-outlier); text-decoration: underline; text-decoration-thickness: var(--rule-bar); text-underline-offset: 0.4em; white-space: nowrap; cursor: pointer; touch-action: manipulation; transition: color var(--dur-short) var(--ease-out); }
.link:active { transform: translateY(1px); }
.link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.link:disabled { opacity: 0.55; cursor: not-allowed; }
.iconbtn { display: inline-grid; place-items: center; width: var(--control-height); height: var(--control-height); padding: 0; border: 0; border-radius: var(--radius-pill); background: none; color: inherit; cursor: pointer; touch-action: manipulation; transition: background-color var(--dur-short) var(--ease-out); }
.iconbtn:active { transform: translateY(1px); }
.iconbtn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.iconbtn:disabled { opacity: 0.55; cursor: not-allowed; }
@media (hover: hover) {
  .btn:hover { background: color-mix(in oklab, var(--color-accent) 88%, var(--color-ink)); }
  .link:hover { color: var(--color-accent); }
  .iconbtn:hover { background: color-mix(in oklab, currentColor 12%, transparent); }
}

/* Sections */
.section { padding-block: calc(var(--section-gap) / 2); }
.section--first { padding-top: var(--section-gap); }
.section--band { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.section--ink { padding-block: var(--section-gap-s); background: var(--color-ink); color: var(--color-on-ink); }
.section--ink h2, .section--ink h3 { color: var(--color-on-ink); }
.section--ink .small { color: var(--color-on-ink-soft); }
.section--ink .link { color: var(--color-on-ink); }
.section--ink .link:focus-visible { outline-color: var(--color-on-ink); }
.head { margin-bottom: var(--space-xl); }
.head .lead { margin-top: var(--space-md); }

/* Nav: edge-aligned, the wordmark and one action */
.nav { position: relative; z-index: var(--z-raised); background: var(--color-paper); }
.nav__in { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-height); }
.wordmark { display: inline-flex; align-items: center; min-height: var(--control-height); font: 400 var(--text-lg)/1 var(--font-display); color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.wordmark:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* Hero: Poster. The photograph runs edge to edge, the name plate rests on its base. */
.hero { position: relative; }
.hero__photo { margin: 0; height: clamp(15rem, 46svh, 26rem); }
.hero__photo > img { object-position: 56% 42%; }
.hero__in { position: relative; z-index: 2; }
.plate, .well { position: relative; background: var(--color-paper-2); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card); }
.plate::after, .well::after { content: ""; position: absolute; inset: 5px; border: var(--rule-hair) solid var(--color-gold); pointer-events: none; }
.plate { margin-top: calc(-1 * var(--space-2xl)); margin-right: var(--space-sm); padding: var(--space-lg); }
.plate h1 { max-width: none; font-size: clamp(2rem, 9.6vw, 4.75rem); }
.plate .lead { margin-top: var(--space-md); max-width: 30ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-lg); margin-top: var(--space-lg); }

/* Gallery: one lead frame, then squares and wide frames */
.gallery { container-type: inline-size; }
.gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.tile { aspect-ratio: 1; min-width: 0; }
.tile--wide { grid-column: span 2; aspect-ratio: 3 / 2; }
.tile--lead { grid-column: span 2; aspect-ratio: 4 / 5; }
.tile a { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--color-paper-3); cursor: zoom-in; }
.tile a::after { content: ""; position: absolute; inset: 0; outline: var(--rule-hair) solid var(--color-photo-edge); outline-offset: -1px; pointer-events: none; }
.tile a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-filter); }
.tile--lead img { object-position: 50% 80%; }
.gallery__more { margin-top: var(--space-md); }
html:not(.js) .gallery__more { display: none; }
@media (hover: hover) { .tile a:hover::after { outline: var(--rule-bar) solid var(--color-ink); outline-offset: -2px; } }
@media (max-width: 59.99rem) { .js .gallery:not(.is-open) .tile:nth-child(n+8) { display: none; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--color-ink); color: var(--color-on-ink); overscroll-behavior: contain; }
.lightbox::backdrop { background: var(--color-ink); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: lightbox-in var(--dur-short) var(--ease-out); }
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; padding: max(var(--space-xs), env(safe-area-inset-top)) var(--space-xs) var(--space-xs) var(--space-md); }
.lightbox__bar .small { color: var(--color-on-ink-soft); }
.lightbox__stage { position: relative; min-height: 0; margin: 0; touch-action: pan-y pinch-zoom; }
.lightbox__stage img { width: 100%; height: 100%; object-fit: contain; filter: var(--photo-filter); transition: opacity var(--dur-short) var(--ease-out); }
.lightbox__stage.is-loading img { opacity: 0.35; }
.lightbox__foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-xs); padding: var(--space-xs) var(--space-xs) max(var(--space-xs), env(safe-area-inset-bottom)); }
.lightbox__caption { text-align: center; }
.lightbox__caption b { display: block; font: 400 var(--text-lg)/1.2 var(--font-display); color: var(--color-on-ink); }
.lightbox__caption .small { display: block; margin-top: var(--space-2xs); color: var(--color-on-ink-soft); }
.lightbox__caption a { color: inherit; }
.lightbox .iconbtn:focus-visible { outline-color: var(--color-on-ink); }

/* Amenities: three figures, then ruled rows with icons */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: var(--rule-bar) solid var(--color-ink); }
.facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--space-2xs); padding-block: var(--space-md) var(--space-lg); }
.facts dd { margin: 0; font: 400 var(--text-3xl)/1 var(--font-display); color: var(--color-ink); white-space: nowrap; }
.rows { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule); }
.rows li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-md); min-height: 56px; padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows .ico { color: var(--color-ink); }
.rows b { font-weight: 500; color: var(--color-ink); }
.rows .small { text-align: right; }

/* Prices: the one ink band */
.prices { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
.prices .head { margin-bottom: 0; }
.price-list { margin: 0; padding: 0; list-style: none; border-top: var(--rule-bar) solid var(--color-on-ink); }
.price { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-md); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule-on-ink); }
.price h3 { font-size: var(--text-xl); font-variant-numeric: tabular-nums; }
.price .small { display: block; margin-top: var(--space-2xs); }
.price__amount { font: 500 var(--text-2xl)/1 var(--font-body); font-variant-numeric: tabular-nums; color: var(--color-on-ink); white-space: nowrap; text-align: right; }
.terms { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); margin: var(--space-xl) 0 0; }
.terms dt { font-weight: 500; color: var(--color-on-ink); }
.terms dd { margin: 0; }
.prices .actions { margin-top: var(--space-lg); }

/* Calendar: the second and last raised well */
.well { margin-right: var(--space-sm); padding: var(--space-md); }
.well > * { position: relative; z-index: 1; }
.well > .cal__bar { position: absolute; z-index: 2; top: var(--space-md); left: var(--space-md); right: var(--space-md); display: flex; align-items: center; justify-content: space-between; color: var(--color-ink); pointer-events: none; }
.cal__bar .iconbtn { pointer-events: auto; }
.cal__months { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
.cal__month + .cal__month { display: none; }
.cal__month h3 { display: grid; place-items: center; min-height: var(--control-height); max-width: none; margin-bottom: var(--space-xs); text-align: center; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-2xs); }
.cal__dow { padding-bottom: var(--space-2xs); text-align: center; }
.day { position: relative; display: grid; place-items: center; aspect-ratio: 1; min-width: 0; padding: 0; border: 0; border-radius: 0; background: var(--color-paper); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); font-variant-numeric: tabular-nums; cursor: pointer; touch-action: manipulation; transition: background-color var(--dur-micro) var(--ease-out); }
.day:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; z-index: 2; }
.day:active { transform: translateY(1px); }
.day:disabled { background: none; color: var(--color-muted); opacity: 0.55; cursor: not-allowed; transform: none; }
.day--booked { background: var(--color-rule); color: var(--color-ink-2); text-decoration: line-through; }
.day--booked[aria-disabled="true"] { cursor: not-allowed; }
.day--sel { background: var(--color-ink); color: var(--color-paper-2); text-decoration: none; }
.day--today::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 14%; border-top: var(--rule-bar) solid var(--color-gold); }
.legend { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin: var(--space-md) 0 0; padding: 0; list-style: none; }
.legend li { display: inline-flex; align-items: center; gap: var(--space-xs); }
.legend i { display: block; width: 16px; height: 16px; outline: var(--rule-hair) solid var(--color-photo-edge); outline-offset: -1px; }
.legend .is-free { background: var(--color-paper); }
.legend .is-booked { background: var(--color-rule); }
.legend .is-sel { background: var(--color-ink); }
.cal__foot { display: grid; gap: var(--space-md); margin-top: var(--space-lg); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-gold); }
.cal__status { min-height: 2lh; color: var(--color-ink); }
.cal__status.is-error { color: var(--color-error); }
.cal__source { margin-top: var(--space-lg); margin-right: var(--space-sm); }
@media (hover: hover) { .day:not(:disabled):not(.day--sel):not([aria-disabled="true"]):hover { background: var(--color-gold-2); } }

/* Location: the map beside four distances */
.place { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
.place > * { min-width: 0; }
.map { position: relative; z-index: 0; display: grid; place-items: center; aspect-ratio: 1; min-width: 0; background: var(--color-paper-3); outline: var(--rule-hair) solid var(--color-photo-edge); outline-offset: -1px; }
.map__fallback { padding: var(--space-md); text-align: center; }
.map__canvas { position: absolute; inset: 0; }
.map.is-ready .map__fallback { display: none; }
.map .leaflet-container, .map.leaflet-container { font: inherit; background: var(--color-paper-3); }
.map .leaflet-tile-pane { filter: sepia(0.22) saturate(0.9); }
.map .leaflet-control-attribution { font: 600 0.6875rem/1.4 var(--font-outlier); background: color-mix(in oklab, var(--color-paper-2) 88%, transparent); color: var(--color-ink-2); }
.map .leaflet-control-attribution a { color: var(--color-ink); }
.map .leaflet-container .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; font-size: 1.375rem; color: var(--color-ink); background: var(--color-paper-2); }
.map-pin { border: 3px solid var(--color-paper-2); border-radius: var(--radius-pill); background: var(--color-accent); box-shadow: 0 0 0 var(--rule-bar) var(--color-ink); }
.map__hint { margin-top: var(--space-xs); }
.rows--place li { grid-template-columns: auto minmax(0, 1fr) auto; }
.rows--place { border-top: var(--rule-bar) solid var(--color-ink); }

/* Enquiry form */
.enquiry { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
.enquiry .lead { margin-top: var(--space-md); }
.contact { display: grid; gap: var(--space-sm); margin: var(--space-lg) 0 0; padding: 0; list-style: none; font-style: normal; }
.contact li { display: flex; align-items: flex-start; gap: var(--space-sm); color: var(--color-ink); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xs) var(--space-md); }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: var(--space-2xs); font: 500 var(--text-sm)/1.3 var(--font-body); color: var(--color-ink); }
.field input, .field select, .field textarea { display: block; width: 100%; min-width: 0; max-width: 100%; min-height: var(--control-height); padding: 0 var(--space-sm); border: 1px solid var(--color-ink); border-radius: 0; background: var(--color-paper-2); color: var(--color-ink); font: 400 var(--text-md)/1.3 var(--font-body); outline: 2px solid transparent; outline-offset: -3px; }
.field input[type="date"] { -webkit-appearance: none; appearance: none; text-align: left; }
.field textarea { min-height: 7.5rem; padding-block: var(--space-sm); resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-color: var(--color-focus); }
.field [aria-invalid="true"] { border-color: var(--color-error); }
.field input:disabled, .field select:disabled, .field textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.field__help { min-height: 1lh; margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-error); }
.form__foot { grid-column: 1 / -1; display: grid; gap: var(--space-md); justify-items: start; }
.form__status { width: 100%; padding: var(--space-md); border: var(--rule-bar) solid var(--color-ink); background: var(--color-paper-2); color: var(--color-ink); }
.form__status:empty { display: none; }
.form__status b { display: block; font-weight: 500; }

/* Footer: a colophon block */
.footer { padding-block: var(--space-2xl); border-top: var(--rule-bar) solid var(--color-ink); }
.footer__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
.footer .wordmark { font-size: var(--text-2xl); min-height: 0; }
.footer address { margin-top: var(--space-sm); font-style: normal; }
.footer details { border-bottom: var(--rule-hair) solid var(--color-rule); }
.footer details:first-of-type { border-top: var(--rule-hair) solid var(--color-rule); }
.footer summary { display: flex; align-items: center; min-height: var(--control-height); font-weight: 500; color: var(--color-ink); cursor: pointer; }
.footer summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.footer details p { padding-bottom: var(--space-md); }
.footer__note { margin-top: var(--space-md); }
.footer__note a { color: var(--color-ink); }
.credits { font-size: var(--text-sm); }
.credits a { text-decoration-color: var(--color-rule); }
.credits p + p { margin-top: var(--space-xs); }
.footer a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (hover: hover) { .footer a:hover { text-decoration-color: var(--color-accent); } }

@media (min-width: 40rem) {
  .rows--amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terms { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
  .well { padding: var(--space-lg); }
  .well > .cal__bar { top: var(--space-lg); left: var(--space-lg); right: var(--space-lg); }
}

@media (min-width: 60rem) {
  :root { --nav-height: 72px; }
  .head { margin-bottom: var(--space-2xl); }
  .hero { display: grid; align-items: end; min-height: min(calc(100svh - var(--nav-height)), 60rem); }
  .hero__photo { position: absolute; inset: 0; height: auto; }
  .hero__photo > img { object-position: 50% 45%; }
  .hero__in { padding-block: var(--space-2xl); }
  .plate { width: min(100%, 40rem); margin: 0; padding: var(--space-xl); }
  .plate::after, .well::after { inset: 6px; }
  .gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: calc((100cqi - 3 * var(--space-md)) / 4); grid-auto-flow: dense; gap: var(--space-md); }
  .tile, .tile--wide, .tile--lead { aspect-ratio: auto; }
  .tile--lead { grid-row: span 2; }
  .gallery__more { display: none; }
  .facts dd { font-size: var(--text-display-s); }
  .prices { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); }
  .well { margin-right: 0; padding: var(--space-xl); }
  .well > .cal__bar { top: var(--space-xl); left: var(--space-xl); right: var(--space-xl); }
  .day { aspect-ratio: auto; height: var(--control-height); }
  .cal__months { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl); }
  .cal__month + .cal__month { display: block; }
  .cal__foot { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .cal__status { min-height: 1lh; }
  .cal__source { margin-right: 0; }
  .place { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: start; }
  .map { aspect-ratio: 3 / 2; }
  .enquiry { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); }
  .footer__in { grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: var(--gap-columns); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .link, .iconbtn, .day, .lightbox__stage img { transition: none; }
  .btn:active, .link:active, .iconbtn:active, .day:active { transform: none; }
  .lightbox[open] { animation: none; }
}
