/* Belvedere Farmhouse
   Palette from Florentine building materials: limewash walls, pietra serena stone,
   cypress, olive leaf, and Della Robbia ceramic blue as the one accent. */

@font-face { font-family: "Belvedere Organic"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/belvedere-organic.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/alegreya-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/alegreya-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/alegreya-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/alegreya-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/alegreya-sans-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/alegreya-sans-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/alegreya-sans-700-normal.woff2") format("woff2"); }

:root {
  --limewash: #F2F3EF;
  --plaster: #E5E8E0;
  --olive: #C7CCBC;
  --pietra: #7C857A;
  --pietra-ink: #565F55;
  --cypress: #1E2B23;
  --leaf: #60662C; /* the logo's olive green */
  --robbia: #2A5A8B;
  --robbia-deep: #1D4369;
  --robbia-wash: #DCE5EE;
  --alert: #8A2B22;

  --brand: "Belvedere Organic", "Alegreya", Georgia, serif; /* hand-drawn brand face: site name and page titles only */
  --serif: "Alegreya", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Alegreya Sans", "Gill Sans", "Gill Sans MT", Calibri, sans-serif;

  --measure: 34em;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --wide: 76rem;
  --step: 1.6rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--limewash);
  color: var(--cypress);
  font-family: var(--serif);
  font-size: 1.1875rem; /* 19px */
  line-height: 1.6;
  font-variant-numeric: oldstyle-nums proportional-nums;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--robbia); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--robbia-deep); text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--robbia); outline-offset: 3px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--cypress); color: var(--limewash); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* ---------- Type scale (after Bringhurst: 12 14 16 19 24 36 48 72) ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.12; text-wrap: balance; }
h1 { font-family: var(--brand); font-style: normal; font-weight: 400; font-size: clamp(2.75rem, 6.5vw, 5.25rem); letter-spacing: 0.01em; line-height: 0.95; }
h2 { font-style: italic; font-weight: 500; font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-family: var(--sans); font-weight: 500; font-size: 1.375rem; line-height: 1.3; }
h4 { font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1.4; }
p { margin: 0 0 1em; max-width: var(--measure); }
.lede { font-size: clamp(1.3125rem, 2vw, 1.5rem); line-height: 1.5; max-width: 30em; }
.small, small { font-family: var(--sans); font-size: 0.95rem; line-height: 1.45; }
.muted { color: var(--pietra-ink); }

/* ---------- Header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: var(--wide); margin: 0 auto; padding: 1.25rem var(--gutter);
  font-family: var(--sans);
}
.wordmark { font-family: var(--brand); font-style: normal; font-weight: 400; font-size: 1.55rem; letter-spacing: 0.02em; color: var(--leaf); text-decoration: none; line-height: 1; white-space: nowrap; }
.wordmark:hover { color: var(--leaf); }
.wordmark img { height: 2.75rem; width: auto; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; align-items: center; justify-content: flex-end; }
.nav a { color: var(--cypress); text-decoration: none; font-size: 1.0625rem; padding: .25rem 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--pietra); }
.nav a[aria-current="page"] { border-bottom-color: var(--cypress); }
.nav .nav-cta a, .nav .nav-cta a[aria-current="page"] { background: var(--robbia); color: #fff; padding: .45rem .9rem; border-radius: 3px; border: 0; }
.nav .nav-cta a:hover { background: var(--robbia-deep); }

.menu { display: none; }
@media (max-width: 62rem) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; font-family: var(--sans); font-size: 1.0625rem; padding: .45rem .9rem; border: 1px solid var(--pietra); border-radius: 3px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { background: var(--cypress); color: var(--limewash); border-color: var(--cypress); }
  .menu ul { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 5; list-style: none; margin: 0; padding: .75rem 0; min-width: 15rem; background: var(--limewash); border: 1px solid var(--olive); box-shadow: 0 12px 30px rgba(30, 43, 35, .14); }
  .menu a { display: block; padding: .55rem 1.25rem; color: var(--cypress); text-decoration: none; font-size: 1.125rem; }
  .menu a[aria-current="page"] { font-weight: 700; }
  .menu a:hover { background: var(--plaster); }
}

/* ---------- Layout ---------- */
main { display: block; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(3rem, 8vw, 6.5rem) 0; }
.section + .section { padding-top: 0; }
.section-head { margin-bottom: 2rem; }
.section-head p { margin-top: .75rem; }
.band { background: var(--plaster); }
.band + .section, .section + .band { margin-top: 0; }
.band.section { padding-top: clamp(3rem, 8vw, 6.5rem); }

/* Hero: text beside a plain photo */
.hero { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: end; padding-top: clamp(1rem, 4vw, 3rem); padding-bottom: clamp(3rem, 7vw, 6rem); }
.hero-text { padding-bottom: clamp(0rem, 3vw, 2.5rem); }
.hero-text h1 { margin-bottom: 1.5rem; }
.hero-text .lede { margin-bottom: 2rem; }
@media (max-width: 52rem) { .hero { grid-template-columns: 1fr; } }

.lead-frame { position: relative; }
.lead-photo { aspect-ratio: 4 / 5; border-radius: 2px; overflow: hidden; background: var(--olive); }
.lead-photo img, .lead-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.lead-caption { margin-top: .75rem; }
@media (max-width: 52rem) { .lead-photo { aspect-ratio: 4 / 3; } }

/* Page head for inner pages */
.page-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 6vw, 5rem); align-items: end; padding-top: clamp(1.5rem, 5vw, 3.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.page-head h1 { margin-bottom: 1.25rem; }
.page-head.no-image { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 52rem) {
  .page-head { grid-template-columns: 1fr; }
  .page-head .lead-frame { margin-top: 1rem; }
}

/* Text beside picture */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split + .split { margin-top: clamp(3rem, 7vw, 5.5rem); }
.split.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.split.flip > :first-child { order: 2; }
.split h2 { margin-bottom: 1rem; }
.split h3 { margin-bottom: .5rem; }
@media (max-width: 52rem) {
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
}

.figure { margin: 0; }
.figure img, .figure .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.figure.tall img, .figure.tall .ph { aspect-ratio: 4 / 5; }
.figure.wide img, .figure.wide .ph { aspect-ratio: 16 / 9; }
.figure figcaption { font-family: var(--sans); font-size: .9rem; color: var(--pietra-ink); margin-top: .5rem; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Placeholder shown until the real photo is added */
.ph { display: flex; align-items: flex-end; padding: 1rem; background:
  repeating-linear-gradient(135deg, rgba(124,133,122,.10) 0 2px, transparent 2px 14px), var(--plaster);
  color: var(--pietra-ink); font-family: var(--sans); font-size: .85rem; line-height: 1.3; aspect-ratio: 4 / 3; }

/* Key facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--pietra); border-bottom: 1px solid var(--pietra); }
.facts div { padding: 1.25rem 1.25rem 1.25rem 0; }
.facts div + div { padding-left: 1.25rem; border-left: 1px solid var(--olive); }
.facts dt { font-family: var(--sans); font-size: 1rem; color: var(--pietra-ink); }
.facts dd { margin: .15rem 0 0; font-style: italic; font-size: 1.75rem; line-height: 1.2; }
@media (max-width: 52rem) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--olive); }
}

/* Lists of rooms / items */
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2rem clamp(2rem, 4vw, 3.5rem); }
.columns h3 { margin-bottom: .6rem; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: .45rem 0; border-top: 1px solid var(--olive); }
.plain li:last-child { border-bottom: 1px solid var(--olive); }
.plain li span { display: block; font-family: var(--sans); font-size: .95rem; color: var(--pietra-ink); }
.ticks { margin: 0; padding-left: 1.1em; max-width: var(--measure); }
.ticks li { margin: .25rem 0; }

/* Buttons */
.button, button.button { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sans); font-size: 1.0625rem; font-weight: 500; padding: .7rem 1.25rem; border-radius: 3px; border: 1px solid var(--robbia); background: var(--robbia); color: #fff; text-decoration: none; cursor: pointer; line-height: 1.2; }
.button:hover { background: var(--robbia-deep); border-color: var(--robbia-deep); color: #fff; }
.button.quiet { background: transparent; color: var(--cypress); border-color: var(--pietra); }
.button.quiet:hover { background: var(--plaster); color: var(--cypress); }
.button[disabled] { opacity: .45; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Tables (rates) */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-family: var(--sans); font-variant-numeric: lining-nums tabular-nums; }
caption { text-align: left; font-family: var(--serif); font-style: italic; font-size: 1.5rem; padding-bottom: .75rem; }
th, td { text-align: left; padding: .75rem 1rem .75rem 0; border-bottom: 1px solid var(--olive); vertical-align: top; }
thead th { border-bottom: 1px solid var(--pietra); font-weight: 500; color: var(--pietra-ink); }
td.num, th.num { text-align: right; padding-right: 0; padding-left: 1rem; }

/* Ordered steps (directions) */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; max-width: 40rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.5rem 1fr; gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--olive); }
.steps li::before { content: counter(step); font-style: italic; font-size: 1.5rem; line-height: 1.2; color: var(--pietra); }

/* Gallery */
.gallery { columns: 3 18rem; column-gap: 1rem; }
.gallery button { all: unset; display: block; width: 100%; margin: 0 0 1rem; cursor: zoom-in; break-inside: avoid; }
.gallery button:focus-visible { outline: 2px solid var(--robbia); outline-offset: 3px; }
.gallery img, .gallery .ph { width: 100%; }
.gallery .ph { aspect-ratio: 4 / 3; }
.gallery button:nth-child(3n+2) .ph { aspect-ratio: 3 / 4; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 80rem); max-height: 92vh; }
.lightbox::backdrop { background: rgba(30, 43, 35, .92); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; }
.lightbox .ph { width: min(80vw, 60rem); }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--limewash); font-family: var(--sans); padding-top: .75rem; }
.lightbox-bar button { font: inherit; color: var(--limewash); background: transparent; border: 1px solid rgba(242,243,239,.5); border-radius: 3px; padding: .4rem .9rem; cursor: pointer; }
.lightbox-bar button:hover { background: rgba(242,243,239,.12); }

/* Forms */
.form { display: grid; gap: 1.1rem; font-family: var(--sans); max-width: 40rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 36rem) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .3rem; }
.field label { font-weight: 500; font-size: 1rem; }
.field .hint { font-size: .9rem; color: var(--pietra-ink); }
input, select, textarea { font: inherit; font-size: 1.0625rem; color: var(--cypress); background: #fff; border: 1px solid var(--pietra); border-radius: 3px; padding: .6rem .75rem; width: 100%; }
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--robbia); outline-offset: 0; border-color: var(--robbia); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--alert); }
.field .error { color: var(--alert); font-size: .95rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { font-family: var(--sans); padding: .9rem 1.1rem; border-left: 3px solid var(--robbia); background: var(--robbia-wash); max-width: 40rem; }
.notice.error { border-left-color: var(--alert); background: #F3E3E0; }
.notice:empty { display: none; }

/* ---------- Availability calendar ---------- */
.cal-shell { font-family: var(--sans); font-variant-numeric: lining-nums tabular-nums; }
.cal-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.cal-nav { display: flex; gap: .5rem; }
.cal-nav button { font: inherit; background: transparent; color: var(--cypress); border: 1px solid var(--pietra); border-radius: 3px; padding: .45rem .9rem; cursor: pointer; }
.cal-nav button:hover:not([disabled]) { background: var(--plaster); }
.cal-nav button[disabled] { opacity: .35; cursor: default; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; list-style: none; font-size: .95rem; color: var(--pietra-ink); }
.cal-legend li { display: flex; align-items: center; gap: .45rem; }
.swatch { width: 1.1rem; height: 1.1rem; border: 1px solid var(--olive); background: #fff; display: inline-block; }
.swatch.booked { background: repeating-linear-gradient(135deg, var(--pietra) 0 1.5px, var(--plaster) 1.5px 5px); border-color: var(--pietra); }
.swatch.chosen { background: var(--robbia); border-color: var(--robbia); }

.cal-months { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 64rem) { .cal-months { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .cal-months { grid-template-columns: 1fr; } }
.cal-month h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.5rem; margin-bottom: .5rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cal-dow { font-size: .8rem; color: var(--pietra-ink); text-align: center; padding-bottom: .25rem; }
.cal-day { position: relative; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; font: inherit; font-size: 1rem; color: var(--cypress); background: #fff; border: 1px solid var(--plaster); border-radius: 2px; padding: 0; cursor: pointer; }
.cal-day:hover:not([disabled]) { border-color: var(--robbia); }
.cal-day[disabled] { cursor: default; }
.cal-day.past { background: transparent; color: var(--olive); border-color: transparent; }
.cal-day.booked { background: repeating-linear-gradient(135deg, var(--olive) 0 1.5px, var(--plaster) 1.5px 6px); color: var(--pietra-ink); text-decoration: line-through; text-decoration-color: var(--pietra); }
/* Half days. Changeover: previous night booked, this night free -> you can arrive this day.
   Depart-only: this night booked, previous night free -> you can leave this day. */
.cal-day.changeover { background: linear-gradient(135deg, transparent 0 50%, #fff 50%), repeating-linear-gradient(135deg, var(--olive) 0 1.5px, var(--plaster) 1.5px 6px); }
.cal-day.depart-only { background: linear-gradient(135deg, #fff 0 50%, transparent 50%), repeating-linear-gradient(135deg, var(--olive) 0 1.5px, var(--plaster) 1.5px 6px); color: var(--cypress); }
.swatch.half { background: linear-gradient(135deg, transparent 0 50%, #fff 50%), repeating-linear-gradient(135deg, var(--pietra) 0 1.5px, var(--plaster) 1.5px 5px); border-color: var(--pietra); }
.cal-day.in-range { background: var(--robbia-wash); border-color: var(--robbia-wash); }
.cal-day.start, .cal-day.end { background: var(--robbia); color: #fff; border-color: var(--robbia); text-decoration: none; }
.cal-day.today::after { content: ""; position: absolute; bottom: 4px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.cal-status { margin-top: 1.25rem; min-height: 1.6em; }
.cal-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--olive); }
.cal-summary strong { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.35rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cypress); color: var(--limewash); margin-top: clamp(3rem, 8vw, 6rem); }
.site-footer a { color: var(--limewash); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem; }
@media (max-width: 52rem) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid .wordmark { color: var(--limewash); font-size: 2rem; }
.footer-grid p { margin: .75rem 0 0; }
.footer-grid h2 { font-family: var(--sans); font-style: normal; font-weight: 500; font-size: 1rem; color: var(--olive); margin-bottom: .6rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; font-family: var(--sans); }
.footer-grid li { padding: .15rem 0; }
.footer-grid li a { text-decoration: none; }
.footer-grid li a:hover { text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(199, 204, 188, .25); padding: 1.25rem 0 2rem; font-family: var(--sans); font-size: .9rem; color: var(--olive); }
.site-footer address { font-style: normal; font-family: var(--sans); }

/* ---------- Admin ---------- */
.admin-shell { max-width: var(--wide); }
.links-table td.num, .links-table th.num { padding-right: 1.5rem; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 56rem) { .admin-grid { grid-template-columns: 1fr; } }
.result { background: #fff; border: 1px solid var(--olive); padding: 1.25rem; font-family: var(--sans); }
.result h3 { margin-bottom: .75rem; }
.linkbox { display: flex; gap: .5rem; margin: .5rem 0 1rem; }
.linkbox input { font-size: .95rem; }
.email-preview { white-space: pre-wrap; font-family: var(--sans); font-size: .95rem; background: var(--limewash); border: 1px solid var(--plaster); padding: .9rem; max-height: 18rem; overflow: auto; }
.links-table td { font-size: .98rem; }
.badge { display: inline-block; font-size: .85rem; padding: .1rem .5rem; border-radius: 2px; border: 1px solid var(--pietra); }
.badge.paid, .badge.paid_bank { background: #E1EBDD; border-color: #6E8E64; color: #2F4A28; }
.badge.awaiting { background: var(--robbia-wash); border-color: var(--robbia); color: var(--robbia-deep); }
.badge.cancelled { color: var(--pietra-ink); }
.linklike { font: inherit; background: none; border: 0; padding: 0; color: var(--robbia); text-decoration: underline; cursor: pointer; }

@media (prefers-reduced-motion: no-preference) {
  .hero .lead-photo img { animation: settle 1.6s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
}

/* ---------- Pay page ---------- */
.pay-options { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 52rem) { .pay-options { grid-template-columns: 1fr; } }
.pay-option { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--olive); }
.pay-option.primary { background: #fff; border: 2px solid var(--robbia); }
.pay-option h2 { margin-bottom: .35rem; }
.pay-badge { font-family: var(--sans); font-weight: 500; color: var(--robbia-deep); margin-bottom: 1rem; }
.pay-badge.muted { color: var(--pietra-ink); }
.bank-table { margin: .5rem 0 1.25rem; }
.bank-table th { width: 9rem; font-weight: 500; color: var(--pietra-ink); }
.bank-table td { font-variant-numeric: lining-nums tabular-nums; }
.fee-calc { margin-top: clamp(2.5rem, 6vw, 4rem); max-width: 40rem; }
.fee-calc h2 { margin-bottom: 1rem; }
.calc-table { margin-top: 1.25rem; }
.calc-table th { font-weight: 400; }
.calc-table tr.total th, .calc-table tr.total td { font-weight: 700; border-top: 1px solid var(--pietra); }
.fee-line { font-family: var(--sans); background: var(--limewash); border: 1px solid var(--plaster); padding: .75rem .9rem; }
.fee-line table { margin: 0; }
.fee-line th, .fee-line td { padding: .25rem 0; border: 0; }
.fee-line tr.total th, .fee-line tr.total td { font-weight: 700; border-top: 1px solid var(--olive); padding-top: .4rem; }
.pay-options.single { grid-template-columns: minmax(0, 44rem); }

/* ---------- Photo-led additions ---------- */
@media (min-width: 52.01rem) { .hero .lead-frame { width: 100%; max-width: 38rem; justify-self: end; } }
.band-photo { margin: clamp(3rem, 7vw, 6rem) 0; }
.band-photo img, .band-photo .ph { display: block; width: 100%; aspect-ratio: 21 / 9; max-height: 82vh; object-fit: cover; }
.band-photo figcaption { font-family: var(--sans); font-size: .9rem; color: var(--pietra-ink); margin-top: .6rem; }
@media (max-width: 52rem) { .band-photo img, .band-photo .ph { aspect-ratio: 4 / 3; } }
.band-photo + .section { padding-top: 0; }
.section + .band-photo { margin-top: 0; }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.row-head a { font-family: var(--sans); }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.5rem, 1.2vw, 1rem); }
.strip .figure figcaption { margin-top: .4rem; }
@media (max-width: 52rem) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.closing { max-width: 40rem; }
.closing h2 { margin-bottom: 1rem; }

/* ---------- Logo ---------- */
.wordmark { display: inline-flex; align-items: center; gap: .75rem; }
.wordmark .logo { height: 3.6rem; width: auto; flex: none; }
@media (max-width: 36rem) { .wordmark .logo { height: 2.6rem; } .site-header .wordmark { font-size: 1.3rem; gap: .55rem; } }
.footer-logo { display: block; width: 7.5rem; height: auto; margin-bottom: 1.25rem; }

/* Admin: Log out sits in the menu like the main site's call-to-action button */
.nav .nav-cta form, .menu form { margin: 0; }
.nav .nav-cta button { font: inherit; font-size: 1.0625rem; cursor: pointer; background: var(--robbia); color: #fff; padding: .45rem .9rem; border-radius: 3px; border: 0; }
.nav .nav-cta button:hover { background: var(--robbia-deep); }
.menu button { display: block; width: 100%; text-align: left; font: inherit; font-size: 1.125rem; padding: .55rem 1.25rem; background: none; border: 0; color: var(--cypress); cursor: pointer; }
.menu button:hover { background: var(--plaster); }

/* Admin price calculator */
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field > legend { font-weight: 500; margin-bottom: .6rem; padding: 0; }
[data-quote-warnings] { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--robbia-deep); }
[data-quote-warnings] li + li { margin-top: .3rem; }

/* Admin: bookings */
.admin-block { padding-top: 2.75rem; }
.admin-block h2 { margin-bottom: 1rem; }
.flash { margin-top: 1.5rem; }
.notice.success { border-left-color: #6E8E64; background: #E8EFE4; }
.button.small { font-size: .95rem; padding: .45rem .8rem; }
.linklike.danger { color: var(--alert); }
.todo { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--olive); font-family: var(--sans); }
.todo li { display: grid; grid-template-columns: minmax(11rem, 1fr) minmax(0, 2.2fr) auto; gap: .5rem 1.5rem; align-items: center; padding: .85rem 0 .85rem .9rem; border-bottom: 1px solid var(--olive); border-left: 3px solid transparent; }
.todo li.todo-urgent { border-left-color: var(--alert); }
.todo li.todo-due { border-left-color: #C08A2E; }
.todo li.todo-info { border-left-color: var(--olive); }
@media (max-width: 44rem) { .todo li { grid-template-columns: 1fr; } }
.list-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; }
.tabs { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-family: var(--sans); margin-bottom: 1rem; }
.tabs a { color: var(--cypress); text-decoration: none; border-bottom: 1px solid transparent; padding: .2rem 0; }
.tabs a[aria-current="page"] { border-bottom-color: var(--cypress); }
table.bookings td, table.payments td { vertical-align: top; }
.badge.stage-confirmed, .badge.stage-option-held { background: var(--robbia-wash); border-color: var(--robbia); color: var(--robbia-deep); }
.badge.stage-deposit-paid, .badge.stage-paid-in-full, .badge.stage-staying-now { background: #E1EBDD; border-color: #6E8E64; color: #2F4A28; }
.badge.stage-cancelled { text-decoration: line-through; }
.booking-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
@media (max-width: 56rem) { .booking-grid { grid-template-columns: 1fr; } }
.booking-form fieldset.field { margin-bottom: 1.5rem; }
.form .row { align-items: start; }
.booking-prompts { margin: 1rem 0 0; padding-left: 1.1rem; }
.booking-prompts li + li { margin-top: .35rem; }
.booking-prompts .todo-urgent { color: var(--alert); }
.field.has-error input, .field.has-error textarea { border-color: var(--alert); }
.field-error { display: block; color: var(--alert); font-size: .9rem; margin-top: .25rem; font-family: var(--sans); }
.inline-form { display: grid; grid-template-columns: 10rem 8rem 11rem minmax(0, 1fr) auto; gap: .75rem 1rem; align-items: end; margin-top: 1.25rem; max-width: none; }
@media (max-width: 56rem) { .inline-form { grid-template-columns: 1fr 1fr; } }
table.bookings th + th, table.bookings td + td, table.payments th + th, table.payments td + td { padding-left: 1rem; }
.todo-action { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
form.inline { display: inline; margin: 0; }

/* Guest emails (admin) */
.email-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 64rem) { .email-grid { grid-template-columns: 1fr; } }
.email-body { font-family: var(--sans); font-size: 1rem; line-height: 1.5; min-height: 32rem; }
.email-pane { position: sticky; top: 1rem; }
.email-pane h2 { margin: 0 0 .5rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.email-frame { width: 100%; height: min(80vh, 60rem); border: 1px solid var(--olive); background: var(--limewash); }
label.check { display: flex; gap: .5rem; align-items: center; font-weight: normal; }
label.check input { width: auto; margin: 0; }
.email-list td, .email-list th { vertical-align: top; }
.email-log { list-style: none; padding: 0; margin: 0 0 1rem; }
.email-log li { border-top: 1px solid var(--plaster); padding: .6rem 0; }
.email-log summary { cursor: pointer; }
.email-sent-text { white-space: pre-wrap; font-family: var(--sans); font-size: .95rem; background: var(--limewash); padding: 1rem; margin: .5rem 0 0; }
