:root {
  color-scheme: light;
  --paper: #faf5ed;
  --white: #fffdf8;
  --ink: #382335;
  --plum: #562943;
  --plum-dark: #412036;
  --muted: #67556a;
  --line: #dfd1d7;
  --rose: #ead7df;
  --sage: #dce3d6;
  --clay: #efd8c6;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible, [tabindex="-1"]:focus { outline: 3px solid #966021; outline-offset: 4px; }
p { margin: 0 0 1rem; }
h1, h2, h3, .brand { font-family: var(--serif); font-weight: 500; line-height: 1.03; margin: 0; }
h1 { font-size: clamp(3rem, 7vw, 7.5rem); letter-spacing: -.065em; }
h2 { font-size: clamp(2.25rem, 4.7vw, 4.4rem); letter-spacing: -.055em; }
h3 { font-size: clamp(1.6rem, 3vw, 2.35rem); letter-spacing: -.04em; }
small { font-size: .875rem; }
.wrap { width: min(1280px, 100% - 112px); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -10rem; z-index: 4; background: white; padding: .6rem; }
.skip:focus { top: .5rem; }
.preview-band { text-align: center; font-size: .875rem; letter-spacing: .025em; padding: .4rem .6rem; background: var(--plum-dark); color: #fff5f8; }
.preview-band span { margin-inline: .25em; }
.site-header { border-bottom: 1px solid var(--line); }
.nav, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; padding-block: 1.1rem; }
.brand { display: inline-flex; align-items: center; gap: .68rem; font-size: 1.58rem; white-space: nowrap; text-decoration: none; }
.brand small { display: block; font: 500 .73rem/1.4 var(--sans); margin-top: .14rem; letter-spacing: .055em; }
.mark { background: var(--plum); color: #f6daca; border-radius: 50%; display: grid; place-items: center; width: 2.35rem; height: 2.35rem; font-size: 1.42rem; }
.nav nav, .footer nav { display: flex; align-items: center; gap: clamp(1rem, 3.2vw, 3rem); }
.nav nav a, .footer nav a { text-decoration: none; font-size: .92rem; }
.nav nav a:hover, .footer nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.button { display: inline-flex; min-height: 46px; justify-content: center; align-items: center; text-align: center; padding: .6rem 1.25rem; border: 1px solid var(--plum); border-radius: .38rem; background: var(--plum); color: #fff9f6; font-size: .96rem; font-weight: 650; line-height: 1.2; text-decoration: none; }
.button:hover { background: var(--plum-dark); color: white; }
.button.secondary { color: var(--plum); background: transparent; }
.button.secondary:hover { background: var(--rose); }
.button.small { min-height: 40px; padding: .48rem .65rem; font-size: .875rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.15rem; }
.actions.compact { gap: .4rem; }
.text-link { color: var(--plum); font-weight: 650; text-underline-offset: .25em; }
.eyebrow { color: var(--plum); font-size: .875rem; font-weight: 730; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 .8rem; }
.tiny-star { margin-right: .3em; }
.hero { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: clamp(1.6rem, 5vw, 5rem); padding-block: clamp(2.7rem, 4.8vw, 4.8rem); }
.hero h1 { font-size: clamp(3.5rem, 6.6vw, 7.3rem); }
.hero-copy > p:not(.eyebrow) { max-width: 31ch; margin: 1.25rem 0 1.75rem; font-size: clamp(1.05rem, 1.6vw, 1.27rem); color: var(--muted); }
.media { margin: 0; overflow: hidden; background: var(--clay); display: grid; aspect-ratio: 1.55; }
.media img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.hero-media { aspect-ratio: 1.23; border-radius: 48% 48% .45rem .45rem / 22% 22% .45rem .45rem; border: 7px solid var(--white); outline: 1px solid var(--line); background: #7b455b; color: var(--white); }
.photo-slot { display: grid; place-content: center; justify-items: center; gap: .12rem; padding: 1rem; text-align: center; font-weight: 650; background: radial-gradient(ellipse at center, transparent 63%, color-mix(in srgb, currentColor 11%, transparent) 64%, transparent 66%) center/41px 41px; }
.photo-slot span:first-child { font-family: var(--serif); font-size: 2rem; line-height: 1; margin-bottom: .3rem; }
.photo-slot small { font-weight: 500; }
.hero-media .photo-slot { background: radial-gradient(ellipse at center, #936377 0, #744357 53%, #572e49 100%); }
.hero-media .photo-slot::before { content: '✳'; font: 7rem/.9 var(--serif); color: #f5dbba; margin-bottom: .6rem; }
.hero-media .photo-slot span:first-child { display: none; }
.sage { background: var(--sage); }
.berry { background: var(--rose); }
.pattern { height: 20px; color: var(--plum); opacity: .54; border-block: 1px solid var(--line); background: conic-gradient(from 45deg, transparent 25%, currentColor 0 50%, transparent 0 75%, currentColor 0) center / 18px 18px; }
.section { padding-block: clamp(2.8rem, 6vw, 5.8rem); }
.intro { max-width: 53ch; color: var(--muted); font-size: 1.11rem; margin-top: .9rem; }
.stays, .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; margin-top: 1.7rem; }
.stay-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: .55rem; overflow: hidden; }
.stay-body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem; }
.stay-body h3 { margin: 0 0 .6rem; }
.stay-body h3 a { text-decoration: none; }
.stay-body h3 a:hover { text-decoration: underline; }
.stay-body .eyebrow { letter-spacing: .07em; margin-bottom: .45rem; }
.stay-bottom { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .45rem 1rem; margin-top: auto; border-top: 1px solid var(--line); padding-top: .8rem; }
.stay-bottom small { color: var(--muted); }
.story { background: var(--plum-dark); color: #fff6ee; }
.story .eyebrow, .story .year { color: #f6cfaf; }
.story .intro, .chapters p { color: #f2dfe9; }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; }
.chapters { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.chapters article { border-top: 1px solid #b98aa3; padding-top: .8rem; }
.year { font-size: .88rem; font-weight: 700; }
.chapters h3 { margin-block: .48rem; font-size: clamp(1.42rem, 2.4vw, 2rem); }
.chapters p { margin-bottom: 0; }
.visit { display: flex; align-items: center; justify-content: space-between; gap: 1.3rem; flex-wrap: wrap; }
.visit p:last-child { margin: .6rem 0 0; }
.footer { border-top: 1px solid var(--line); background: #f0e5eb; }
.footer-row { min-height: 92px; }
.inner h1 { font-size: clamp(3rem, 7vw, 6.15rem); }
.room-label { margin-top: 2rem; }
.gallery-title { margin-top: 2.4rem; }
.gallery .media { border-radius: .45rem; }
.guide-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-block: 2.2rem; }
.guide-list article, .card { padding: clamp(1rem, 2.65vw, 1.8rem); border-radius: .55rem; background: var(--white); border: 1px solid var(--line); }
.guide-list h2 { font-size: 2.28rem; margin-bottom: .7rem; }
.guide-photo { width: min(39rem, 100%); border-radius: .55rem; }
.faq { max-width: 56rem; margin-top: 3rem; }
.faq h2 { margin-bottom: 1rem; }
details { border-bottom: 1px solid var(--line); padding: .7rem 0; }
summary { cursor: pointer; font-weight: 650; padding: .3rem 0; }
details p { margin: .5rem 0; }
.page-heading { margin-bottom: 1.5rem; }
.search-form { display: grid; grid-template-columns: 1fr 1fr .85fr auto; align-items: end; gap: .85rem; }
label { display: grid; align-content: start; min-width: 0; gap: .3rem; font-size: .95rem; font-weight: 670; }
input, select { appearance: auto; width: 100%; min-width: 0; min-height: 46px; color: var(--ink); border: 1px solid #a28d9d; border-radius: .35rem; padding: .55rem .65rem; background: #fffefa; }
.feedback { margin: .65rem 0; color: var(--plum); font-size: .96rem; font-weight: 650; }
.feedback:empty { margin: 0; }
.feedback.error { color: #9e2538; }
#results h2, .calendar-head h2, .owner-columns h2, .checkout-card h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
#results h2 { margin: 1.4rem 0 .8rem; }
.result { display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: center; gap: 1rem; margin-bottom: .7rem; }
.result p { margin-bottom: .25rem; }
.result-amount { display: grid; }
.result-amount strong, .sample-price { font-size: 1.28rem; }
.result-amount small, .sample-price small, .field-hint { color: var(--muted); }
.checkout-card { margin-top: .85rem; max-width: 53rem; }
.checkout-card h2 { margin-bottom: .9rem; }
.sample-price small { margin-left: .4rem; }
.owner-form { display: grid; gap: .85rem; }
.owner-form form { display: grid; gap: .75rem; }
.owner-form .button { justify-self: start; }
.unlock { max-width: 26rem; }
.field-hint { font-size: .875rem; margin: 0; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.calendar-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1rem; }
.calendar-head .eyebrow { margin: 0 0 .3rem; }
.week-buttons { display: flex; flex-wrap: wrap; gap: .35rem; }
.week-grid { overflow-x: auto; }
.calendar-table { width: 100%; border-spacing: 3px; table-layout: fixed; text-align: center; }
.calendar-table th { font-weight: 700; }
.calendar-table th:first-child { text-align: left; width: 17%; }
.calendar-table th, .calendar-table td { padding: .55rem .1rem; font-size: .9rem; overflow-wrap: anywhere; }
.calendar-table td { border-radius: .25rem; }
.cell-open { background: #f0ede7; color: #5a514d; }
.cell-web, .cell-phone { background: var(--rose); }
.cell-maintenance, .cell-cleaning { background: var(--sage); }
.cell-hold { background: var(--clay); }
.owner-columns { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: .85rem; margin-top: .85rem; }
.owner-entries h2 { margin-bottom: .85rem; }
.owner-entry { border-top: 1px solid var(--line); padding-block: .8rem; }
.owner-entry h3 { font: 700 1rem/1.4 var(--sans); overflow-wrap: anywhere; }
.owner-entry p { margin: .18rem 0 .45rem; }
.logout { margin-top: .85rem; }
@media (max-width: 950px) {
  .wrap { width: calc(100% - 60px); }
  .stays { gap: .75rem; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .nav { display: grid; grid-template-columns: 1fr auto; gap: .62rem; padding: .8rem 0; }
  .nav nav { grid-row: 2; grid-column: 1 / -1; display: flex; justify-content: space-between; max-width: 23rem; }
  .nav nav a { padding-block: .3rem; }
  .nav-book { justify-self: end; padding-inline: .72rem; min-height: 41px; font-size: .875rem; }
  .brand { font-size: 1.38rem; gap: .42rem; }
  .mark { height: 2rem; width: 2rem; }
  .hero { grid-template-columns: 1fr; gap: 1.6rem; padding-block: 2.1rem 2.5rem; }
  .hero h1 { font-size: clamp(3.45rem, 11.5vw, 5.25rem); }
  .wide { display: none; }
  .hero-copy > p:not(.eyebrow) { margin: .85rem 0 1.1rem; }
  .hero-media { aspect-ratio: 1.56; }
  .hero-media .photo-slot::before { font-size: 4rem; }
  .stays, .story-grid, .owner-columns { grid-template-columns: 1fr; gap: 1rem; }
  .chapters { gap: 1rem; }
  .gallery { grid-template-columns: 1fr 1fr; gap: .65rem; }
  .search-form { grid-template-columns: 1fr 1fr; }
  .result { grid-template-columns: 1fr; gap: .65rem; }
  .result .button { justify-self: start; }
  .calendar-head { flex-wrap: wrap; }
  .calendar-table { min-width: 430px; }
  .calendar-table th:first-child { width: 18%; }
  .footer-row { flex-wrap: wrap; }
  .footer nav { flex-wrap: wrap; gap: 1rem; }
}
@media (max-width: 400px) {
  .chapters, .guide-list { grid-template-columns: 1fr; }
  .search-form { gap: .65rem; padding-inline: .75rem; }
  input { padding-inline: .45rem; }
}
.media { position: relative; }
.media figcaption { position: absolute; inset: auto 0 0; padding: .35rem .65rem; background: #362235; color: #fff7ed; font-size: .78rem; }
.day-short, .calendar-legend { display: none; }
@media (max-width: 720px) {
  .calendar-table { min-width: 0; border-spacing: 2px; }
  .calendar-table th:first-child { width: 22%; }
  .calendar-table thead th:not(:first-child) { white-space: nowrap; overflow-wrap: normal; }
  .calendar-table th, .calendar-table td { font-size: .875rem; }
  .day-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .day-short, .calendar-legend { display: inline; }
}

.export-card { margin-top: .85rem; }
.export-card h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: .55rem; }
.export-card form { max-width: 33rem; }
.export-card button { justify-self: start; grid-column: 1 / -1; }
