:root {
  --linen: #fbf6ea;
  --ink: #2b2a26;
  --gold: #7a5c16;
  --gold-deep: #5c4a16;
  --olive: #3e3518;
  --secondary: #5f5324;
  --highlight: #f1d78f;
  --card: #fffdf8;
  --line: rgba(43, 42, 38, 0.14);
  --shadow: 0 16px 40px rgba(62, 53, 24, 0.08);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: Lato, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--gold-deep); }
a:hover { color: var(--olive); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--olive); }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin: 0.1em 0 0.2em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.skip {
  position: absolute; left: 0.5rem; top: -4rem; background: var(--olive); color: white; padding: 0.5rem 0.8rem; z-index: 5;
}
.skip:focus { top: 0.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.test-banner {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #7a1f1f;
  color: #fff;
  text-align: center;
  padding: 0.55rem 1rem;
  font-weight: 700;
  line-height: 1.35;
}
.test-banner span { display: block; font-weight: 600; }
.site-header { background: var(--olive); color: var(--linen); }
.site-header a { color: var(--linen); text-decoration: none; }
.header-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.9rem 0 0.4rem; }
.brand { font-family: var(--serif); font-size: 1.45rem; letter-spacing: 0.01em; }
.header-tools { display: flex; gap: 0.6rem; align-items: center; }
.lang-pill { display: inline-flex; align-self: center; width: max-content; flex: 0 0 auto; border: 1px solid #c9a45c; border-radius: 999px; overflow: hidden; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1; }
.lang-pill a { color: #1c3a2e; text-decoration: none; flex: 0 0 auto; width: auto; min-width: 0; padding: 0.28rem 0.42rem; text-align: center; }
.lang-pill a + a { box-shadow: inset 1px 0 0 #c9a45c; }
.site-header .lang-pill a, .lang-pill.is-on-dark a { color: #f4efe4; }
.lang-pill a[aria-current="true"] { background: #c9a45c; color: #1c3a2e; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; padding: 0.2rem 0 0.85rem; }
.site-nav a { font-size: 0.95rem; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; }
.btn, button.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold); color: white !important; text-decoration: none;
  border: 0; border-radius: 999px; padding: 0.75rem 1.3rem; font: 700 1rem/1 var(--sans); cursor: pointer;
}
.btn:hover { background: var(--gold-deep); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.is-busy:disabled { opacity: 1; cursor: progress; }
.btn .spin {
  width: 0.9rem;
  height: 0.9rem;
  margin-right: 0.55rem;
  border: 2px solid rgba(255, 252, 244, 0.35);
  border-top-color: #fffcf4;
  border-radius: 50%;
  display: inline-block;
  animation: arche-spin 0.7s linear infinite;
}
@keyframes arche-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .btn .spin { animation: none; }
}
.btn-ghost { background: transparent; color: var(--gold-deep) !important; border: 1.5px solid var(--gold); }
.site-header .btn-small, .btn-small { padding: 0.45rem 0.9rem; font-size: 0.92rem; }
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; padding: 3.2rem 0 2rem; }
.eyebrow { letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 700; font-size: 0.78rem; margin: 0; }
.lede { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 0; color: var(--secondary); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hero-figure { margin: 0; }
.hero-figure figcaption, .fineprint, .meta, .note { color: var(--secondary); font-size: 0.92rem; }
.ph { display: block; width: 100%; border-radius: 18px; }
.band { background: #f3ead4; border-block: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.2rem 0; }
.facts p { margin: 0; }
.facts strong { display: block; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2.5rem 0; }
.map-card { display: grid; grid-template-columns: 1.4fr 1fr; background: var(--card); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-card img { width: 100%; height: 100%; object-fit: cover; }
.map-card > div { padding: 1.4rem 1.4rem 1.2rem; }
.chips-static { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; }
.chips-static li, .pill { background: var(--highlight); border-radius: 999px; padding: 0.25rem 0.75rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 0.7rem 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gallery .wide { grid-column: 1 / -1; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 0.9rem; color: var(--secondary); }
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.amenity-grid article, .card, .spot { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.prose { padding: 2rem 0 3rem; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.55rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.quote th span, .quote td + td { font-weight: 400; }
.quote th span { display: block; font-weight: 400; color: var(--secondary); font-size: 0.85rem; }
.quote .line-total th, .quote .line-total td { font-size: 1.15rem; font-weight: 700; border-bottom: 0; }
.quote .line-subtotal { color: var(--secondary); }
.filters { display: flex; flex-direction: column; gap: 0.6rem; margin: 1rem 0; }
.filters .chip, button.chip {
  border: 1px solid var(--line); background: white; border-radius: 999px; padding: 0.35rem 0.7rem; margin: 0.15rem; cursor: pointer; font: 600 0.9rem var(--sans);
}
.chip.is-on { background: var(--olive); color: white; border-color: var(--olive); }
.spots { display: grid; gap: 0.8rem; }
.spot h3 { margin: 0 0 0.2rem; font-size: 1.35rem; }
.dot { display: inline-flex; width: 1.6rem; height: 1.6rem; border-radius: 50%; align-items: center; justify-content: center; color: white; font-size: 0.9rem; }
.site-footer { background: #2b2618; color: #f3ead4; padding: 2rem 0 2.5rem; margin-top: 2rem; }
.site-footer a { color: var(--highlight); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1rem; }
.footer-brand { color: white; font-size: 1.4rem; }
.booking { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.2rem; align-items: start; padding: 2rem 0 3rem; }
.summary { position: sticky; top: 1rem; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.phone-row { display: grid; grid-template-columns: minmax(9.5rem, 13rem) 1fr; gap: 0.7rem; align-items: end; }
label { display: flex; flex-direction: column; gap: 0.25rem; font-weight: 700; margin: 0.45rem 0; }
[hidden] { display: none !important; }
input, textarea, select { font: 1rem var(--sans); color: var(--ink); background: white; border: 1px solid rgba(95, 83, 36, 0.35); border-radius: 10px; padding: 0.65rem 0.75rem; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(122, 92, 22, 0.35); border-color: var(--gold); }
.check { font-weight: 400; flex-direction: row; align-items: flex-start; }
.banner { background: #fff4d2; border: 1px solid var(--gold); border-radius: 12px; padding: 0.6rem 0.8rem; margin: 0.6rem 0; }
.hp { position: absolute; left: -9999px; }
.calendar { margin: 1rem 0; }
.cal-nav, .dow, .month { display: grid; }
.cal-nav { grid-template-columns: auto 1fr auto; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.cal-nav button, .inline button { background: white; border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.7rem; cursor: pointer; }
.dow, .month { grid-template-columns: repeat(7, 1fr); gap: 0.25rem; }
.dow span { text-align: center; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--secondary); }
.day { min-height: 2.6rem; border-radius: 10px; background: white; border: 1px solid transparent; }
button.day { font: 600 0.95rem var(--sans); cursor: pointer; }
.day.muted, .day.past { opacity: 0.38; }
.day.blocked { background: #efe6d4; color: #8a8172; text-decoration: line-through; }
.day.start, .day.end { background: var(--gold); color: white; }
.day.range { background: #f1d78f; }
.admin main { padding: 1.5rem 0 3rem; }
.admin .card { margin: 0.8rem 0; }
.admin .day.blocked { text-decoration: none; background: #efe6d4; color: var(--ink); }
.admin .day.conflict { outline: 2px solid #9a3412; background: #f8e4d4; }
.admin .day small { display: block; font-size: 0.68rem; line-height: 1.2; }
.dash { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; min-width: 0; }
.dash .wide { grid-column: 1 / -1; }
.admin, .admin .wrap, .admin main, .admin .card, .admin .dash > * { min-width: 0; max-width: 100%; }
.admin .table-scroll { max-width: 100%; overflow-x: hidden; }
.admin table { width: 100%; table-layout: fixed; }
.admin th, .admin td { overflow-wrap: anywhere; }
.admin code, .admin li { overflow-wrap: anywhere; word-break: break-word; }
.print-only { display: none; }
.admin .site-nav a { display: inline-flex; align-items: center; gap: 0.35rem; }
.admin .stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.admin .stat-row a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0.8rem; text-decoration: none; color: inherit; }
.admin .stat-row strong { display: block; font-size: 1.4rem; }
.inline button.btn, .inline-forms button.btn { background: var(--gold); color: #fff !important; border: 0; border-radius: 999px; padding: 0.75rem 1.3rem; }
.overdue { color: #9b1c1c; font-weight: 650; }
.badge { display: inline-block; min-width: 1.2rem; padding: 0 0.4rem; border-radius: 999px; background: #9a3412; color: #fff; font-size: 0.8rem; text-align: center; }
.task-list { display: flex; flex-direction: column; gap: 0.6rem; }
.task-card p { margin: 0.2rem 0 0.6rem; }
@media (max-width: 700px) {
  .dash, .admin .stat-row { grid-template-columns: 1fr 1fr; }
  .admin .month { gap: 0.15rem; }
  .admin .day { min-height: 3.2rem; padding: 0.15rem; font-size: 0.8rem; }
  .admin .site-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.15rem; margin: 0; max-height: 38vh; overflow-x: hidden; overflow-y: auto;
    background: #2f3a28; padding: 0.35rem 0.35rem 0.5rem;
  }
  .admin .site-nav a { color: #fff; flex-direction: column; font-size: 0.72rem; gap: 0.1rem; text-align: center; }
  .admin main { padding-bottom: 11rem; }
  .admin table, .admin thead, .admin tbody, .admin tr, .admin td, .admin th { display: block; width: auto; }
  .admin thead { position: absolute; width: 1px; height: 1px; overflow: hidden; }
  .admin tr { margin: 0.45rem 0; padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
  .admin td { padding: 0.15rem 0; }
}
.narrow { max-width: 28rem; }
.inline, .inline-forms { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.season-form { margin-bottom: 0.3rem; }
.season-layer { pointer-events: none; position: fixed; inset: 0; overflow: hidden; z-index: 2; }
.flake { position: absolute; top: -12px; width: 8px; height: 8px; border-radius: 50%; background: white; animation-name: fall; animation-timing-function: linear; animation-iteration-count: infinite; }
.flake.autumn { background: #c4552a; border-radius: 0 70% 0 70%; width: 10px; height: 8px; }
.flake.spring { background: #f1d78f; }
@keyframes fall { to { transform: translateY(105vh) rotate(180deg); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flake { display: none; }
}
@media (max-width: 860px) {
  .hero, .split, .map-card, .booking, .footer-grid, .facts, .gallery, .row3 { grid-template-columns: 1fr; }
  .summary { position: static; }
  .facts { grid-template-columns: 1fr 1fr; }
}
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media print {
  @page { size: letter landscape; margin: 10mm; }
  .site-header, .site-nav, nav, header, .test-banner, .js-print, form, .no-print, .btn, button, .screen-only, .empty-row, .print-empty { display: none !important; }
  .print-only { display: inline !important; }
  .print-head, .print-legend, .report-legend { display: block !important; }
  body.admin { background: white; color: black; font-size: 11pt; line-height: 1.2; }
  .admin .wrap, .admin main { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
  .admin .card.report { margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; background: transparent !important; }
  .print-head { font-size: 14pt; font-weight: 700; line-height: 1.15; margin: 0 0 2mm; white-space: nowrap; }
  .report-legend, .print-legend { font-size: 10.5pt; line-height: 1.2; margin: 0 0 2mm; hyphens: none; }
  .admin .report table { display: table !important; width: 100% !important; table-layout: auto; border-collapse: collapse; font-size: 11pt; line-height: 1.15; }
  .admin .report thead { display: table-header-group !important; position: static !important; width: auto !important; height: auto !important; overflow: visible !important; }
  .admin .report tbody { display: table-row-group !important; }
  .admin .report tfoot { display: table-footer-group !important; }
  .admin .report tr { display: table-row !important; margin: 0 !important; padding: 0 !important; border: 0; page-break-inside: avoid; break-inside: avoid; }
  .admin .report th, .admin .report td {
    display: table-cell !important;
    width: auto !important;
    padding: 0 0.6mm !important;
    font-size: 10.5pt;
    line-height: 1.15;
    hyphens: none;
    -webkit-hyphens: none;
    overflow-wrap: normal !important;
    word-break: normal !important;
    white-space: nowrap;
    vertical-align: middle;
    border: 0.4pt solid #222;
  }
  .admin .report thead th { font-size: 9pt; font-weight: 700; white-space: normal; }
  .admin .report td.amt { font-size: 8.5pt; font-weight: 400; font-variant-numeric: tabular-nums; }
  .admin .report tfoot th { font-size: 9.5pt; font-weight: 700; }
  .admin .report tfoot td.amt { font-size: 8.5pt; font-weight: 700; }
  /* A short report, including 12 months plus the total, grows to the printable height. Longer lists keep natural rows and continue on the next page. */
  .admin .card.report:not(:has(tbody tr:nth-child(15))) {
    height: 195.9mm;
    display: flex;
    flex-direction: column;
  }
  .admin .card.report:not(:has(tbody tr:nth-child(15))) table {
    flex: 1 1 auto;
    height: 172mm;
    width: 100%;
  }
  .admin .card.report:not(:has(tbody tr:nth-child(15))) tr { height: 1px; }
  .admin .report tr.empty-row,
  .admin .report .print-empty { display: none !important; }
}
.copy-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.7rem; margin: 0.35rem 0; }
.copy-line .btn { min-height: 44px; }
