/* Larch & Lantern — concept site by SiteSync Solutions */
@font-face { font-family: "DM Serif Display"; src: url("/fonts/dm-serif-display.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* Palette (contrast checked against WCAG AA) */
  --linen: #f5f1e8;        /* background */
  --linen-2: #ece5d6;      /* subtle panels */
  --surface: #ffffff;
  --ink: #1f2a22;          /* text: 13.2:1 on linen */
  --ink-2: #4d5a51;        /* secondary text: 6.4:1 on linen */
  --forest: #2f5d46;       /* accent: 6.7:1 on linen, white on forest 7.6:1 */
  --forest-2: #244a37;
  --forest-tint: #e3ece6;
  --amber: #d9993b;        /* lantern amber: fills only, with dark text (6.1:1) */
  --amber-soft: #f6e3c2;
  --amber-ink: #8a5a14;    /* amber-toned text: 5.2:1 on linen */
  --danger: #9c3b2e;
  --line: #d9d0bd;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(31, 42, 34, .06), 0 8px 24px rgba(31, 42, 34, .07);
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--linen); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--forest-2); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius); z-index: 100; }
.skip:focus { top: .5rem; color: #fff; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--forest); margin-bottom: .6rem; display: block; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tint { background: var(--linen-2); }
.section--white { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head p { max-width: 60ch; margin: 0; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 62ch; }
.grid { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 999px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* Concept banner */
.concept-bar { background: var(--ink); color: #e9e4d8; font-size: .8rem; line-height: 1.4; padding: .45rem 0; text-align: center; }
.concept-bar a { color: #f3d49b; }
@media (max-width: 520px) { .concept-bar { font-size: .72rem; padding: .35rem 0; } }
.concept-bar a:hover { color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(245, 241, 232, .92); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.35rem; line-height: 1; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: .55rem .75rem; border-radius: var(--radius); }
.nav a:hover { background: var(--linen-2); }
.nav a[aria-current="page"] { color: var(--forest); box-shadow: inset 0 -2px 0 var(--forest); border-radius: 0; }
.nav .btn { margin-left: .35rem; }
.nav .btn[aria-current="page"] { color: var(--ink); border-radius: var(--radius); box-shadow: inset 0 -3px 0 var(--ink); }
@media (max-width: 520px) {
  .brand small { display: none; }
  .brand { font-size: 1.12rem; }
  .brand svg { width: 28px; height: 28px; }
  .nav a { padding: .5rem .5rem; font-size: .95rem; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; padding: .8rem 1.25rem; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, background-color .15s, box-shadow .15s; min-height: 48px; }
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #e3a649; color: var(--ink); box-shadow: 0 6px 18px rgba(217, 153, 59, .35); }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: var(--forest-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-ghost:hover { background: var(--forest-tint); color: var(--forest-2); }
.btn-plain { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-plain:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-sm { min-height: 40px; padding: .5rem .85rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--forest); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fdf8ee; background: #1d2f27; min-height: min(88vh, 760px); display: flex; align-items: flex-end; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art svg { width: 100%; height: 100%; object-fit: cover; }
.hero-art .mist { animation: drift 38s linear infinite alternate; }
.hero-art .mist-2 { animation-duration: 52s; animation-direction: alternate-reverse; }
.hero-art .mist-3 { animation-duration: 64s; }
@keyframes drift { from { transform: translateX(-6%); } to { transform: translateX(6%); } }
.hero-art .lantern-glow { opacity: var(--glow, .55); transition: opacity .3s; }
.hero-art .flicker { animation: flicker 3.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes flicker { 0%, 100% { opacity: .9; } 40% { opacity: 1; } 60% { opacity: .82; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 30, 24, 0) 30%, rgba(20, 30, 24, .78) 100%); }
.hero-in { padding: 7rem 0 2.5rem; width: min(100% - 2.5rem, var(--wrap)); }
.hero h1 { color: #fffaf0; max-width: 14ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero p { font-size: 1.2rem; max-width: 46ch; color: #f1eadb; }
.hero .eyebrow { color: #f3d49b; }

/* Search panel */
.search-panel { background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); box-shadow: 0 18px 50px rgba(0, 0, 0, .25); padding: 1rem; margin-top: 1.5rem; }
.search-form { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; align-items: end; }
.search-form .field { margin: 0; }
.search-form .field--btn { grid-column: 1 / -1; }
@media (min-width: 900px) { .search-form { grid-template-columns: 1.2fr 1.2fr .8fr .8fr auto; } .search-form .field--btn { grid-column: auto; } }
.hero .search-panel p { color: var(--ink); font-size: 1rem; max-width: none; }
.hero .search-panel .muted, .hero .search-panel .status-no { color: var(--ink-2); }
.search-results { margin-top: 1rem; display: grid; gap: .75rem; }
@media (min-width: 900px) { .search-results { grid-template-columns: repeat(3, 1fr); } }
.result { display: flex; gap: .85rem; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem; background: var(--linen); }
.result img { width: 88px; height: 66px; border-radius: 8px; object-fit: cover; flex: none; }
.result h2, .result h3 { font-size: 1.1rem; margin: 0 0 .15rem; }
.result .price { font-weight: 700; }
.result.is-unavailable { opacity: .85; background: #f8f6f1; }
.result .status { font-size: .85rem; }
.status-ok { color: var(--forest); font-weight: 600; }
.status-no { color: var(--ink-2); }

/* Forms */
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label, .field legend, .label { font-weight: 600; font-size: .92rem; }
.field .hint { font-size: .85rem; color: var(--ink-2); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], input[type="password"], select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface); border: 1.5px solid #b9b09c; border-radius: var(--radius); padding: .7rem .8rem; width: 100%; min-height: 48px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--amber); outline-offset: 1px; border-color: var(--ink); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .88rem; font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; margin-bottom: .6rem; }
.check:hover { border-color: var(--ink-2); }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--forest); flex: none; }
.check:has(input:checked) { border-color: var(--forest); background: var(--forest-tint); }
.check .price-tag { margin-left: auto; font-weight: 700; white-space: nowrap; }
.stepper { display: flex; align-items: center; border: 1.5px solid #b9b09c; border-radius: var(--radius); background: var(--surface); min-height: 48px; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--forest); border-radius: 8px; }
.stepper button:hover { background: var(--forest-tint); }
.stepper button:disabled { color: #b3ab99; cursor: not-allowed; background: none; }
.stepper output { flex: 1; text-align: center; font-weight: 600; }
.error-summary { border: 2px solid var(--danger); border-radius: var(--radius); padding: 1rem 1.2rem; background: #fbefec; margin-bottom: 1.25rem; }
.error-summary h2 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin: 0 0 .4rem; color: var(--danger); }
.error-summary ul { margin: 0; }

/* Cards */
.card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card h3 { margin: 0; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--forest); }
.card .meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: .9rem; color: var(--ink-2); }
.card .from { margin-top: auto; padding-top: .5rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--linen-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.save-btn { position: absolute; top: .7rem; right: .7rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); color: var(--ink); }
.save-btn svg { width: 22px; height: 22px; }
.save-btn[aria-pressed="true"] { color: var(--danger); }
.save-btn[aria-pressed="true"] path { fill: currentColor; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: .25rem 0; }
.chips li { background: var(--forest-tint); color: var(--forest-2); font-size: .82rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; }
.price-big { font-family: var(--serif); font-size: 1.5rem; }

/* Feature list */
.feature { background: var(--surface); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow); }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--amber-soft); color: var(--ink); margin-bottom: .8rem; }
.feature .icon svg { width: 24px; height: 24px; }
.steps-3 { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .steps-3 { grid-template-columns: repeat(3, 1fr); } }
.steps-3 li { counter-increment: s; background: var(--surface); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow); }
.steps-3 li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--forest); color: #fff; font-weight: 700; margin-bottom: .8rem; }
.steps-3 h3 { font-size: 1.2rem; }

/* Split / media */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--linen-2); }
.media-frame img { width: 100%; }
.illus-note { font-size: .8rem; color: var(--ink-2); margin-top: .4rem; }

/* Breadcrumbs */
.crumbs { font-size: .88rem; padding: 1rem 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }
.crumbs [aria-current] { color: var(--ink); }
.page-head { padding: 1.5rem 0 2rem; }
.page-head p { max-width: 62ch; }

/* Cottage page */
.gallery { display: grid; gap: .5rem; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 120px; border-radius: var(--radius-lg); overflow: hidden; }
.gallery button { padding: 0; border: 0; cursor: zoom-in; background: var(--linen-2); position: relative; overflow: hidden; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery button:first-child { grid-column: span 4; grid-row: span 2; }
@media (min-width: 760px) { .gallery { grid-auto-rows: 180px; } .gallery button:first-child { grid-column: span 2; grid-row: span 2; } }
.gallery .count { position: absolute; right: .6rem; bottom: .6rem; background: rgba(255, 255, 255, .92); border-radius: 999px; padding: .3rem .7rem; font-size: .85rem; font-weight: 600; color: var(--ink); }
.cottage-layout { display: grid; gap: 2.5rem; margin-top: 2rem; }
@media (min-width: 1000px) { .cottage-layout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } .booking-aside { position: sticky; top: 88px; } }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; list-style: none; padding: 0; margin: 1.25rem 0 2rem; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts li { background: var(--surface); border-radius: var(--radius); padding: .85rem; box-shadow: var(--shadow); }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.facts span { font-size: .85rem; color: var(--ink-2); }
.amenities { display: grid; gap: .6rem 1.5rem; list-style: none; padding: 0; }
@media (min-width: 640px) { .amenities { grid-template-columns: 1fr 1fr; } }
.amenities li { display: flex; gap: .7rem; align-items: center; }
.amenities svg { width: 26px; height: 26px; flex: none; color: var(--forest); }
.detail-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.detail-table th, .detail-table td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--linen-2); vertical-align: top; }
.detail-table th { width: 34%; font-weight: 600; font-size: .95rem; }
.detail-table tr:last-child th, .detail-table tr:last-child td { border-bottom: 0; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 1.7rem; position: relative; margin-bottom: .45rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--forest); border-bottom: 2.5px solid var(--forest); transform: rotate(-45deg); }
.block { margin-bottom: 3rem; }
.floorplan { background: var(--surface); border-radius: var(--radius-lg); padding: 1rem; box-shadow: var(--shadow); }

/* Accordions */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { cursor: pointer; list-style: none; padding: 1rem 2.4rem 1rem 0; font-weight: 600; position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: .4rem; top: 1.25rem; width: 10px; height: 10px; border-right: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: rotate(45deg); transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(-135deg); top: 1.5rem; }
.acc details > div { padding: 0 0 1.1rem; color: var(--ink-2); max-width: 70ch; }

/* Booking panel & calendar */
.panel { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.25rem; }
.panel h2, .panel h3 { font-size: 1.45rem; }
.cal { --cell: 44px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; }
.cal-head .title-row { font-weight: 600; }
.cal-nav { display: flex; gap: .35rem; }
.cal-nav button { width: 44px; height: 44px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.cal-nav button:hover:not(:disabled) { border-color: var(--ink-2); }
.cal-nav button:disabled { opacity: .4; cursor: not-allowed; }
.cal-months { display: grid; gap: 1.5rem; }
.cal.is-double .cal-months { grid-template-columns: 1fr; }
@media (min-width: 760px) { .cal.is-double .cal-months { grid-template-columns: 1fr 1fr; } }
.cal-month h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; text-align: center; margin: 0 0 .4rem; }
.cal-grid { width: 100%; border-collapse: separate; border-spacing: 2px; table-layout: fixed; }
.cal-grid th { font-size: .75rem; font-weight: 600; color: var(--ink-2); padding: .2rem 0; text-align: center; }
.cal-grid td { padding: 0; height: var(--cell); }
.day { width: 100%; height: var(--cell); border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: .92rem; color: var(--ink); cursor: pointer; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; padding: 0; transition: background-color .25s, box-shadow .25s, color .2s; }
.day .n::before, .day .p::before { content: attr(data-t); }
.day .p { font-size: .64rem; color: var(--ink-2); font-weight: 500; }
.day:hover:not([aria-disabled="true"]) { background: var(--forest-tint); }
.day.is-avail { background: #f8f6f0; }
.day.is-past { color: #a59d8c; cursor: default; background: transparent; }
.day.is-past .p { display: none; }
.day.is-booked { color: #6f6a5f; background: repeating-linear-gradient(135deg, #ebe4d3 0 5px, #e0d7c3 5px 7px); cursor: not-allowed; }
.day.is-booked .n { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.day.is-booked .p { display: none; }
.day.is-blocked { color: #6f6a5f; background: repeating-linear-gradient(45deg, #efe8d8 0 3px, #dcd3bf 3px 4px); cursor: not-allowed; }
.day.is-blocked .p { display: none; }
.day.is-changeover { background: linear-gradient(135deg, #e0d7c3 0 49%, #f8f6f0 50% 100%); }
.day.is-booked.is-change-out, .day.is-blocked.is-change-out { background: linear-gradient(135deg, #f8f6f0 0 49%, #e0d7c3 50% 100%); }
.day.is-noarrive .n::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ink-2); }
.day.is-noarrive .p { visibility: hidden; }
.day.is-range { background: var(--amber-soft); box-shadow: 0 0 0 1px rgba(217, 153, 59, .4), 0 0 14px rgba(217, 153, 59, .35); color: var(--ink); }
.day.is-range .p { color: var(--amber-ink); }
.day.is-preview { background: #fbf0dc; }
.day.is-start, .day.is-end { background: var(--amber); color: var(--ink); font-weight: 700; box-shadow: 0 0 18px rgba(217, 153, 59, .6); }
.day.is-start .p, .day.is-end .p { color: var(--ink); visibility: visible; display: block; font-weight: 700; }
.day.is-today .n { text-decoration: underline; text-underline-offset: 3px; }
.day:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; z-index: 1; }
.day.lit { animation: lightup .5s ease-out both; }
@keyframes lightup { from { background: var(--linen); box-shadow: none; } }
.cal-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; list-style: none; padding: 0; margin: .8rem 0 0; font-size: .8rem; color: var(--ink-2); }
.cal-legend li { display: flex; align-items: center; gap: .4rem; }
.cal-legend .sw { width: 18px; height: 18px; border-radius: 4px; position: relative; flex: none; }
.sw-avail { background: #f8f6f0; border: 1px solid var(--line); }
.sw-booked { background: repeating-linear-gradient(135deg, #ebe4d3 0 3px, #d6ccb5 3px 5px); }
.sw-change { background: linear-gradient(135deg, #d6ccb5 0 49%, #f8f6f0 50%); border: 1px solid var(--line); }
.sw-noarr { background: #f8f6f0; border: 1px solid var(--line); }
.sw-noarr::after { content: ""; position: absolute; left: 7px; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-2); }
.sw-sel { background: var(--amber); }
.sw-blocked { background: repeating-linear-gradient(45deg, #efe8d8 0 2px, #cfc5ae 2px 3px); }
.cal-msg { min-height: 1.5em; margin: .6rem 0 0; font-size: .92rem; font-weight: 600; }
.cal-msg.is-error { color: var(--danger); }
.cal-msg.is-ok { color: var(--forest); }
.season-key { font-size: .82rem; color: var(--ink-2); margin-top: .6rem; }

.breakdown { list-style: none; padding: 0; margin: 1rem 0; border-top: 1px solid var(--linen-2); }
.breakdown li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--linen-2); font-size: .95rem; }
.breakdown li.discount { color: var(--forest); font-weight: 600; }
.breakdown li.total { font-weight: 700; font-size: 1.1rem; border-bottom: 0; padding-top: .7rem; }
.breakdown li.total span:last-child { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.breakdown li.sub { color: var(--ink-2); font-size: .88rem; border: 0; padding-top: 0; }
.breakdown .grow { animation: grow .45s ease-out; }
@keyframes grow { from { color: var(--amber-ink); transform: translateY(-2px); } }
.dates-row { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: .75rem; }
.dates-row div { padding: .55rem .8rem; }
.dates-row div + div { border-left: 1.5px solid var(--line); }
.dates-row span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--ink-2); }
.dates-row strong { font-weight: 600; }
.notice { border-radius: var(--radius); padding: .85rem 1rem; background: var(--amber-soft); font-size: .92rem; }
.notice--green { background: var(--forest-tint); }
.notice--demo { background: #fff7e8; border: 2px dashed var(--amber); }

/* Mobile sticky "Check dates" bar */
.sticky-dates { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(31, 42, 34, .1); padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; transform: translateY(110%); transition: transform .3s; }
.sticky-dates.is-visible { transform: none; }
.sticky-dates .from { font-size: .85rem; color: var(--ink-2); }
.sticky-dates strong { display: block; font-size: 1.05rem; color: var(--ink); }
@media (min-width: 1000px) { .sticky-dates { display: none; } }
body.has-sticky { padding-bottom: 76px; }
@media (min-width: 1000px) { body.has-sticky { padding-bottom: 0; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(15, 22, 18, .94); display: none; align-items: center; justify-content: center; padding: 4rem 1rem; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); width: 100%; }
.lightbox img { width: 100%; max-height: 76vh; object-fit: contain; border-radius: var(--radius); }
.lightbox figcaption { color: #e9e4d8; text-align: center; margin-top: .75rem; font-size: .92rem; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Book flow */
.book-layout { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .book-layout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } .book-layout aside { position: sticky; top: 88px; } }
.stepbar { display: flex; list-style: none; padding: 0; margin: 0 0 1.5rem; gap: .35rem; counter-reset: st; }
.stepbar li { flex: 1; counter-increment: st; font-size: .82rem; font-weight: 600; color: var(--ink-2); padding-top: .6rem; border-top: 4px solid var(--line); }
.stepbar li::before { content: counter(st) ". "; }
.stepbar li.is-done { border-top-color: var(--forest); color: var(--forest); }
.stepbar li.is-current { border-top-color: var(--amber); color: var(--ink); }
@media (max-width: 520px) { .stepbar li span { display: none; } }
.step-panel h2 { font-size: 1.8rem; }
.step-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.pay-options { display: grid; gap: .75rem; }
@media (min-width: 640px) { .pay-options { grid-template-columns: 1fr 1fr; } }
.pay-options .check { flex-direction: column; gap: .3rem; }
.pay-options .check strong { font-size: 1.05rem; }
.pay-options .check .big { font-family: var(--serif); font-size: 1.6rem; }
.confirm-hero { text-align: center; padding: 2rem 1rem; }
.confirm-hero .ref { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.4rem; letter-spacing: .1em; background: var(--amber-soft); padding: .4rem .9rem; border-radius: var(--radius); margin: .5rem 0 1rem; }
.lantern-big { width: 90px; margin: 0 auto 1rem; }

/* Tables */
.table-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--linen-2); vertical-align: top; }
.compare thead th { background: var(--forest); color: #fff; font-weight: 600; }
.compare thead th:nth-child(2) { background: var(--forest-2); }
.compare tbody th { font-weight: 600; }
.yes, .no { display: inline-flex; gap: .4rem; align-items: baseline; }
.yes::before { content: "✓"; color: var(--forest); font-weight: 800; }
.no::before { content: "–"; color: var(--ink-2); font-weight: 800; }

/* Calculator */
.calc { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; } }
.calc-out { display: grid; gap: .75rem; }
.calc-stat { background: var(--surface); border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow); }
.calc-stat span { display: block; font-size: .9rem; color: var(--ink-2); }
.calc-stat strong { font-family: var(--serif); font-weight: 400; font-size: 2rem; }
.calc-stat.is-amber { background: var(--amber-soft); }
.bar { height: 14px; border-radius: 999px; background: var(--linen-2); overflow: hidden; display: flex; }
.bar i { display: block; height: 100%; transition: width .4s; }
.bar .keep { background: var(--forest); }
.bar .fee { background: repeating-linear-gradient(135deg, #c96f5e 0 4px, #b85d4c 4px 7px); }

/* Explore */
.place { display: grid; gap: 1.5rem; padding: 2.5rem 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .place { grid-template-columns: 420px 1fr; gap: 3rem; } }
.place-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .92rem; }
.place-facts li { display: flex; gap: .4rem; align-items: center; }
.place-facts svg { width: 18px; height: 18px; color: var(--forest); }
.tip { border-left: 4px solid var(--amber); padding: .4rem 0 .4rem 1rem; font-style: italic; color: var(--ink-2); }
.map-wrap { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: .75rem; }
.route { background: var(--surface); border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: var(--shadow); }
.route .tag { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-ink); }

/* Offers */
.offer { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); display: grid; grid-template-columns: 110px 1fr; overflow: hidden; }
@media (min-width: 640px) { .offer { grid-template-columns: 160px 1fr; } }
.offer img { width: 100%; height: 100%; object-fit: cover; }
.offer-body { padding: 1rem 1.2rem; display: grid; gap: .3rem; }
.offer-tag { justify-self: start; background: var(--amber); color: var(--ink); font-weight: 700; font-size: .78rem; padding: .2rem .6rem; border-radius: 999px; }
.was { text-decoration: line-through; color: var(--ink-2); margin-right: .4rem; }

/* My bookings / owner */
.booking-card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.25rem; display: grid; gap: .75rem; }
.booking-card header { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; background: var(--forest-tint); color: var(--forest-2); }
.badge--amber { background: var(--amber-soft); color: #5e3d0c; }
.badge--grey { background: var(--linen-2); color: var(--ink-2); }
.badge--red { background: #f6e1dd; color: var(--danger); }
.tabs { display: flex; gap: .35rem; flex-wrap: wrap; border-bottom: 2px solid var(--line); margin-bottom: 1.5rem; }
.tabs button { font: inherit; font-weight: 600; background: none; border: 0; padding: .75rem 1rem; cursor: pointer; color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs button[aria-selected="true"] { color: var(--forest); border-bottom-color: var(--forest); }
.owner-grid { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .owner-grid { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } }
.price-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: .6rem .7rem; border-bottom: 1px solid var(--linen-2); text-align: left; }
.price-table input { min-height: 42px; padding: .4rem .5rem; max-width: 110px; }
.list-plain { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.owner-booking { border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem; display: grid; gap: .4rem; background: var(--linen); }
.owner-booking select { min-height: 40px; padding: .35rem .5rem; }
.demo-flag { display: inline-flex; align-items: center; gap: .4rem; background: var(--amber); color: var(--ink); font-size: .78rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.toast { position: fixed; left: 50%; bottom: 1.25rem; transform: translate(-50%, 150%); background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: var(--radius); z-index: 95; box-shadow: var(--shadow); transition: transform .3s; max-width: calc(100% - 2rem); font-size: .95rem; }
.toast.is-show { transform: translate(-50%, 0); }
.has-sticky .toast { bottom: 5.5rem; }

/* Sample quotes */
.quote-sample { font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; }
.quote-sample footer { font-family: var(--sans); font-size: .85rem; color: var(--ink-2); margin-top: .6rem; }

/* Footer */
.site-footer { background: #1d2a23; color: #ddd6c6; padding: 3.5rem 0 2rem; margin-top: 0; }
.site-footer a { color: #f3d49b; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.1rem; color: #fff; font-family: var(--sans); font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand small { color: #c9c1ae; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; display: grid; gap: .5rem; }
.owner-link { color: #c9c1ae !important; font-size: .85rem; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s, transform .7s; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }
.flex { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.hidden { display: none !important; }
.err-page { text-align: center; padding: 4rem 0 5rem; }
.err-page svg { width: min(360px, 80%); margin: 0 auto 1.5rem; }

#book-app, #owner-app { min-height: 1100px; }
#mb-list { min-height: 260px; }

/* Collapsible extras in the booking summary */
.extras-toggle { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 0 .9rem; background: var(--surface); }
.extras-toggle summary { cursor: pointer; list-style: none; font-weight: 600; font-size: .95rem; padding: .8rem 1.6rem .8rem 0; position: relative; display: flex; align-items: center; gap: .5rem; }
.extras-toggle summary::-webkit-details-marker { display: none; }
.extras-toggle summary::after { content: ""; position: absolute; right: .2rem; top: 1.05rem; width: 8px; height: 8px; border-right: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: rotate(45deg); transition: transform .2s; }
.extras-toggle[open] summary::after { transform: rotate(-135deg); top: 1.25rem; }
.extras-toggle[open] { padding-bottom: .3rem; }
.extras-toggle .check { padding: .6rem; }
