/* Maison Beaulieu. Colours taken from the building: limestone, oak,
   terracotta, sage and ink blue. System fonts only, so nothing to download. */

:root {
  --limestone: #f4efe6;
  --stone: #e9e1d4;
  --paper: #fffdf9;
  --line: #ddd3c3;
  --field: #8f8273;
  --ink: #1f2b3a;
  --text: #2d2a26;
  --muted: #6a6157;
  --oak: #8b6a48;
  --terracotta: #a8492b;
  --terracotta-dark: #8a3a20;
  --sage: #6f7f5e;
  --sage-light: #e1e7d8;
  --water: #9fb6c9;
  --error: #a3261b;
  --focus: #1f5fbf;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(31, 43, 58, 0.1), 0 2px 6px rgba(31, 43, 58, 0.06);
  --serif: "Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, "Book Antiqua", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--limestone);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta-dark); text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
p { margin: 0 0 1em; }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 0 0 0.4em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); margin: 0 0 0.5em; }
h3 { font-size: 1.2rem; font-weight: 600; margin: 1.5em 0 0.4em; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(1200px, 100% - 64px); } }
.narrow { max-width: 760px; }
.center { text-align: center; }
.lead { font-size: 1.12rem; max-width: 40em; }
.small { font-size: 0.92rem; color: var(--muted); }
.more { font-weight: 600; }
.back { margin: 0 0 1.5rem; font-size: 0.95rem; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.preview-banner {
  margin: 0; padding: 6px 16px; text-align: center;
  background: var(--ink); color: var(--limestone); font-size: 0.85rem;
}
mark.todo {
  background: #fff0a3; color: #4f3b00; padding: 0.05em 0.35em; border-radius: 4px;
  font: 600 0.85em var(--sans);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 44px; padding: 0.8em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.15 var(--sans); text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.btn--primary { background: var(--terracotta); color: #fff; }
.btn--primary:hover { background: var(--terracotta-dark); color: #fff; }
.btn--light { background: rgba(255, 253, 249, 0.94); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--small { min-height: 40px; padding: 0.55em 1.1em; font-size: 0.93rem; }
.btn--block { width: 100%; }
.btn--large { font-size: 1.08rem; padding: 1em 1.4em; }
.btn[aria-disabled="true"], .btn:disabled { background: #cfc4b4; color: #4d463e; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--terracotta-dark); text-decoration: underline; cursor: pointer; }

/* Header */
.site-header { background: rgba(244, 239, 230, 0.95); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; min-height: var(--header-h); }
.brand { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); text-decoration: none; }
.site-header .btn { margin-left: auto; }
/* Language switcher: a native disclosure, works without JavaScript. */
.lang-switch { position: relative; margin-left: auto; }
.lang-switch + .btn { margin-left: 12px; }
.lang-switch summary { list-style: none; cursor: pointer; min-height: 40px; min-width: 44px; display: grid; place-items: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { background: #fff; }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 170px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(20, 24, 28, 0.12); }
.lang-switch a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; }
.lang-switch a:hover { background: #f4efe6; }
.lang-switch a[aria-current] { font-weight: 700; color: var(--terracotta-dark); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
.site-nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0 0 10px; white-space: nowrap; }
.site-nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover { color: var(--terracotta-dark); text-decoration: underline; }
@media (min-width: 900px) {
  .site-header { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(8px); }
}
/* Between 900 and 1140px the sticky header has the nav as a second row. */
@media (min-width: 900px) and (max-width: 1139px) { :root { --header-h: 84px; } }
/* The nav joins the brand's row only where the longest language (German) fits. */
@media (min-width: 1140px) {
  .site-nav { order: 0; width: auto; margin-left: auto; }
  .site-nav ul { padding: 0; gap: 24px; }
  .site-header .btn { margin-left: 0; }
  .lang-switch { margin-left: 0; }
}

/* Hero */
.hero {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  min-height: min(82vh, 760px); background: var(--ink); color: #fff;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
@media (min-width: 700px) { .hero__img { object-position: 42% 62%; } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18, 24, 32, 0.78) 0%, rgba(18, 24, 32, 0.45) 38%, rgba(18, 24, 32, 0) 68%);
}
.hero__content { position: relative; z-index: 1; padding-block: 48px 52px; }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 7vw, 4.8rem); line-height: 1; margin: 0.1em 0 0.25em; }
.eyebrow { margin: 0; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; }
.hero__lead { font-size: clamp(1.1rem, 2.2vw, 1.4rem); max-width: 32em; margin-bottom: 0.8em; }
.facts { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 0; margin: 0 0 26px; font-size: 0.97rem; }
.facts li:not(:last-child)::after { content: "·"; margin: 0 0.6em; opacity: 0.8; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* Two-column layout with the sticky booking card */
.layout { display: grid; padding-block: 56px 16px; }
.section { padding-block: 44px; border-top: 1px solid var(--line); }
.layout > .section:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr) 390px; column-gap: 64px; }
  .layout > .section { grid-column: 1; }
  .book-card { grid-column: 2; grid-row: 1 / span 12; align-self: start; position: sticky; top: calc(var(--header-h) + 20px); }
}

.intro__img { margin: 28px 0 0; }
.intro__img img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 70%; }
.highlights { display: grid; gap: 20px 32px; list-style: none; padding: 0; margin: 28px 0 0; }
@media (min-width: 640px) { .highlights { grid-template-columns: 1fr 1fr; } }
.highlights li { padding-left: 18px; border-left: 3px solid var(--sage); }
.highlights h3 { margin: 0 0 0.25em; font-size: 1.1rem; }
.highlights p { margin: 0; color: var(--muted); }

/* Accessibility */
.ticks.access__list { margin: 20px 0; padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--sage); border-radius: var(--radius); }
@media (min-width: 700px) { .ticks.access__list { columns: 2; column-gap: 32px; } .access__list li { break-inside: avoid; } }
.access-page { display: grid; gap: 32px; }
.access-page .prose h2 { margin-top: 1.2em; }
.access-page__photos { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; align-content: start; }
.access-page__photos .tile { aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .access-page { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; } .access-page__photos { position: sticky; top: calc(var(--header-h) + 20px); } }

/* Photo mosaic and galleries */
.tile { display: block; overflow: hidden; border-radius: 10px; background: var(--stone); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.tile:hover img { transform: scale(1.03); }
.mosaic { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; margin-bottom: 16px; }
.mosaic .tile:first-child { grid-column: span 2; grid-row: span 2; }
@media (min-width: 640px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; }
  .mosaic .tile:first-child { grid-column: span 2; grid-row: span 2; }
}
.gallery-group { margin-bottom: 48px; }
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery .tile { aspect-ratio: 4 / 3; }

/* Bedrooms */
.rooms { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; list-style: none; padding: 0; margin: 24px 0; }
@media (min-width: 760px) { .rooms { grid-template-columns: repeat(4, 1fr); } }
.room__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.room h3 { margin: 0.6em 0 0.15em; font-size: 1.05rem; }
.room p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.baths { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; align-items: center; }
.baths > div { grid-column: 1 / -1; }
.baths h3 { margin-top: 0; }
@media (min-width: 760px) { .baths { grid-template-columns: 1fr 1fr 2fr; } .baths > div { grid-column: auto; } }

.two-col { display: grid; gap: 8px 40px; }
@media (min-width: 700px) { .two-col { grid-template-columns: 1fr 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 0.6em; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--sage); border-bottom: 2.5px solid var(--sage); transform: rotate(-45deg);
}

.amenities { display: grid; gap: 4px 32px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.amenities h3 { margin: 1em 0 0.3em; font-size: 1.05rem; }
.amenities ul { list-style: none; padding: 0; margin: 0; font-size: 0.97rem; }
.amenities li { padding: 3px 0; border-bottom: 1px dashed var(--line); }

/* Tables */
.table-wrap { overflow-x: auto; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
th, td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 600 0.8rem var(--sans); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
tbody th { font-weight: 600; color: var(--ink); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 8px; }
.steps li { counter-increment: step; position: relative; padding: 0 0 14px 46px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sage-light); color: var(--ink); font-weight: 700;
}
.steps strong { display: block; color: var(--ink); }

.rating { font-size: 1.1rem; }
.rating__stars { color: var(--oak); letter-spacing: 0.1em; margin-right: 0.3em; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 40px 16px 0; position: relative;
  font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.4rem; color: var(--terracotta); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; max-width: 42em; }

/* Full-width bands */
.band { padding-block: 72px; border-top: 1px solid var(--line); }
.band--stone { background: var(--stone); border-top: 0; }
.band__sub { font-size: 1.5rem; font-weight: 500; margin-top: 40px; }
.area { display: grid; gap: 32px; align-items: center; margin-bottom: 16px; }
@media (min-width: 900px) { .area { grid-template-columns: 1fr 1fr; gap: 56px; } }
.distances { margin: 0 0 12px; }
.distances div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.distances dt { font-weight: 600; }
.distances dd { margin: 0; color: var(--muted); text-align: right; }

.map { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.map svg { width: 100%; height: auto; display: block; }
.map__rivers polyline { fill: none; stroke: var(--water); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.map__river-names text { font: italic 13px var(--serif); fill: #5f7d96; }
.map__town circle { fill: var(--oak); }
.map__town text, .map__edge text { font: 500 13px var(--sans); fill: var(--muted); }
.map__home circle { fill: var(--terracotta); }
.map__home .map__dot { fill: #fff; }
.map__home text { font: 700 15px var(--serif); fill: var(--ink); }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); list-style: none; padding: 0; margin: 16px 0 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.card h3 { margin: 0 0 0.3em; }
.card p { margin: 0 0 0.5em; }
.card__meta { font-size: 0.88rem; color: var(--oak); font-weight: 600; }
.cards--photos { gap: 20px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.cards--photos .card { overflow: hidden; display: flex; flex-direction: column; }
.card__img { width: calc(100% + 44px); max-width: none; margin: -20px -22px 16px; aspect-ratio: 3 / 2; object-fit: cover; }
.card .card__credit { margin: auto 0 0; padding-top: 6px; font-size: 0.75rem; color: var(--muted); }
.card__credit a { color: inherit; }

.story { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; gap: 64px; } }
.story__img { margin: 0; }
.story__img img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Booking card */
.book-card { margin: 8px 0 40px; }
.book-card__inner { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; }
@media (min-width: 1080px) {
  .book-card { margin: 0; }
  .book-card__inner { max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; }
}
.book-card__head { margin-bottom: 14px; }
.book-card__title { margin: 0 0 4px; font-size: 1.4rem; }
.book-card__price { margin: 0; }
.book-card__price strong { font-size: 1.2rem; color: var(--ink); }
.book-card__rating { font-size: 0.9rem; color: var(--muted); }
.book-card__note { margin: 10px 0 0; text-align: center; font-size: 0.88rem; color: var(--muted); }
.book-card__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 14px 0 6px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.book-card__dates .label { display: block; font: 600 0.72rem var(--sans); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.book-card__dates strong { font-weight: 600; color: var(--ink); }
.book-card__dates .link-btn { grid-column: 1 / -1; justify-self: start; font-size: 0.9rem; }
.book-card__summary { margin: 8px 0 14px; }
.book-card__summary .hint { margin: 0; font-size: 0.93rem; color: var(--muted); }
.book-card__summary .error { margin: 0; color: var(--error); font-weight: 600; font-size: 0.95rem; }

.guests { padding: 6px 0 4px; }
.stepper { display: grid; grid-template-columns: 1fr 40px 36px 40px; align-items: center; gap: 4px; padding: 6px 0; }
.stepper__label small { display: block; color: var(--muted); font-size: 0.82rem; }
.stepper__btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--field); background: #fff;
  color: var(--ink); font-size: 1.2rem; line-height: 1; cursor: pointer;
}
.stepper__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper__count { text-align: center; font-weight: 700; font-size: 1.05rem; }

.price-lines { margin: 0; }
.price-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 0.97rem; }
.price-lines dd { margin: 0; white-space: nowrap; }
.price-lines .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.schedule { margin: 10px 0 0; padding: 10px 12px; background: var(--sage-light); border-radius: 10px; }
.schedule div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.95rem; padding: 2px 0; }
.schedule dd { margin: 0; font-weight: 600; white-space: nowrap; }
.schedule dt small { color: var(--muted); }

/* Calendar */
.cal { min-height: 300px; }
.cal__loading { color: var(--muted); padding: 120px 0; text-align: center; margin: 0; }
.cal__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.cal__title { font-weight: 700; color: var(--ink); }
.cal__navbtn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--ink); font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.cal__navbtn:disabled { opacity: 0.3; cursor: default; }
.cal__grid { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 0.95rem; }
.cal__grid th { padding: 4px 0; border: 0; text-align: center; font: 600 0.72rem var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }
.cal__grid td { padding: 1px 0; border: 0; text-align: center; }
.cal__day {
  position: relative; width: 100%; height: 42px; border: 0; border-radius: 10px; background: transparent;
  font: 500 0.95rem var(--sans); color: var(--text); cursor: pointer; padding: 0;
}
.cal__day:hover:not([aria-disabled="true"]) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cal__day[aria-disabled="true"] { color: #a69d92; cursor: default; }
.cal__day.is-booked { color: #a69d92; text-decoration: line-through; }
.cal__day.is-sat::after {
  content: ""; position: absolute; bottom: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--sage);
}
.cal__day.is-range { background: var(--sage-light); border-radius: 0; color: var(--ink); }
.cal__day.is-start, .cal__day.is-end { background: var(--ink); color: #fff; text-decoration: none; }
.cal__day.is-start::after, .cal__day.is-end::after { background: #fff; }
.cal__day.is-start { border-radius: 10px 0 0 10px; }
.cal__day.is-end { border-radius: 0 10px 10px 0; }
.cal__day.is-start.is-end, .cal__day.is-start:not(.has-range) { border-radius: 10px; }
.cal__day.is-today { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; padding: 0; margin: 8px 0 0; font-size: 0.8rem; color: var(--muted); }
.cal-legend li { display: flex; align-items: center; gap: 6px; }
.cal-legend li::before { content: ""; width: 12px; height: 12px; border-radius: 3px; }
.cal-legend__free::before { border: 1.5px solid var(--ink); }
.cal-legend__booked::before { background: repeating-linear-gradient(135deg, #cfc4b4 0 2px, transparent 2px 5px); border: 1px solid #cfc4b4; }
.cal-legend__sat::before { width: 6px !important; height: 6px !important; border-radius: 50% !important; background: var(--sage); margin: 0 3px; }

/* Mobile booking bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--paper);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(31, 43, 58, 0.08);
  transition: transform 0.2s;
}
.mobile-bar p { margin: 0; }
.mobile-bar.is-hidden { transform: translateY(110%); }
body.home { padding-bottom: 68px; }
@media (min-width: 1080px) { .mobile-bar { display: none; } body.home { padding-bottom: 0; } }

/* Booking pages */
.page { padding-block: 40px 72px; }
.book-grid { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .book-grid { grid-template-columns: minmax(0, 1fr) 370px; gap: 48px; }
  .book-grid .stay { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
  .book-grid .guest-form, .book-grid .sent { grid-column: 1; grid-row: 1; }
}
.stay { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.stay h2, .guest-form h2 { font-size: 1.4rem; }
.stay__dates { font-weight: 600; color: var(--ink); margin-bottom: 0.2em; }
.fields { display: grid; gap: 18px 16px; }
@media (min-width: 560px) { .fields { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field__hint { margin: 6px 0 0; font-size: 0.88rem; color: var(--muted); }
.field__error { margin: 6px 0 0; color: var(--error); font-size: 0.9rem; font-weight: 600; }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; padding: 0.7em 0.85em; border: 1.5px solid var(--field); border-radius: 10px;
  background: #fff; color: var(--text); font: 1rem/1.4 var(--sans);
}
[aria-invalid="true"] { border-color: var(--error) !important; }
.checks { margin: 24px 0 8px; }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 6px 10px; align-items: start; margin-bottom: 14px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--terracotta); }
.check .field__error { grid-column: 2; margin: 0; }
.sent { background: #e1e7d8; border-radius: 18px; padding: 22px; }
.sent h2 { font-size: 1.4rem; margin-top: 0; }
/* Spam trap: hidden from people, filled in only by bots. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { background: #fff4d6; border: 1px solid #e7cf8a; padding: 12px 16px; border-radius: 12px; }
.form-error { background: #fbe9e6; border: 1px solid #e3b1a8; color: #7d1f14; padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.ref { font: 700 1.3rem var(--sans); letter-spacing: 0.06em; color: var(--ink); }

/* Lightbox */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(14, 17, 21, 0.95); color: #fff; }
.lightbox::backdrop { background: rgba(14, 17, 21, 0.95); }
.lightbox__frame { display: grid; place-items: center; width: 100%; height: 100%; padding: 56px 8px 48px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 0.92rem; margin: 0; padding: 0 64px; }
.lightbox button {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 12px; top: 50%; margin-top: -24px; }

/* Legal pages */
.prose { max-width: 46em; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose table { margin: 12px 0 16px; }
.draft-note { background: #fff4d6; border: 1px solid #e7cf8a; padding: 10px 14px; border-radius: 10px; font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #e9e2d6; padding-block: 48px; font-size: 0.93rem; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 0.6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5em; }
.brand--footer { color: #fff; font-size: 1.3rem; }
.site-footer__grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.2fr 1.6fr 1fr; } }
.site-footer mark.todo { color: #4f3b00; }
.footer-langs { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.footer-langs ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-langs li { margin: 0; }
.footer-langs a[aria-current] { font-weight: 700; text-decoration: none; }
