:root {
  color-scheme: light;
  --paper: #f6f2e9;
  --paper-light: #fffcf6;
  --ink: #26221d;
  --quiet: #625850;
  --line: #dcd0c2;
  --wine: #582b33;
  --wine-dark: #402027;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Segoe UI", "Helvetica Neue", sans-serif;
  --bound: 1320px;
  --gutter: clamp(20px, 5vw, 76px);
  font-family: var(--sans);
  font-size: 16px;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
input, select, textarea { width: 100%; min-width: 0; }
input[type="checkbox"] { width: auto; }
strong { font-weight: 650; }
em { color: var(--wine); font-weight: inherit; }
h1, h2, h3 { font: 400 1em/1.02 var(--serif); letter-spacing: -.042em; margin: 0; }
h1 { font-size: clamp(48px, 6.2vw, 96px); }
h2 { font-size: clamp(34px, 4.5vw, 62px); }
h3 { font-size: clamp(26px, 3vw, 37px); }
p { line-height: 1.65; margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
::selection { background: var(--wine); color: white; }

.container { width: min(var(--bound), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 130px); }
.skip-link { position: absolute; left: 16px; top: 12px; z-index: 9; padding: 12px; transform: translateY(-140%); background: white; }
.skip-link:focus { transform: translateY(0); }
.demo-banner { padding: 5px var(--gutter); text-align: center; color: #f4ded7; background: var(--wine-dark); font-size: .73rem; letter-spacing: .045em; }

.header { border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 35%); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.brand { display: inline-flex; flex-shrink: 0; width: fit-content; text-decoration: none; }
.brand-logo { width: 140px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(24px, 3.8vw, 55px); }
.nav a, .mobile-nav a { text-decoration: none; color: var(--quiet); font-size: .9rem; font-weight: 600; }
.nav a:hover, .nav [aria-current], .mobile-nav a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 6px; }
.mobile-nav { display: none; }

.button {
  display: inline-flex; min-height: 53px; align-items: center; justify-content: space-between; gap: 26px;
  background: var(--wine); color: #fff8ee; border: 1px solid var(--wine); border-radius: 3px; padding: 13px 20px;
  text-decoration: none; text-align: left; white-space: normal; font-weight: 650; font-size: .9rem;
  transition: background .24s ease, border-color .24s ease, color .24s ease;
}
.button:hover { background: var(--wine-dark); border-color: var(--wine-dark); }
.button:disabled { cursor: wait; opacity: .72; }
.button-light { background: transparent; color: var(--wine); border-color: var(--line); }
.button-light:hover { color: #fff8ee; }
.header-cta { min-height: 43px; padding: 8px 15px; gap: 22px; }
.arrow { flex: 0 0 auto; font-size: 1.1rem; line-height: 1; transition: transform .24s ease; }
.button:hover .arrow, .text-link:hover .arrow { transform: translateX(3px); }
.text-link { display: inline-flex; width: fit-content; gap: 10px; align-items: center; text-decoration: none; color: var(--wine); font-size: .89rem; font-weight: 650; padding-block: 3px 6px; border-bottom: 1px solid currentColor; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--wine); font-size: .68rem; letter-spacing: .17em; text-transform: uppercase; font-weight: 720; margin-bottom: 18px; line-height: 1.4; }
.eyebrow > span { width: 20px; height: 1px; flex: 0 0 20px; background: currentColor; }
.intro { color: var(--quiet); font-size: clamp(1rem, 1.55vw, 1.18rem); max-width: 31ch; margin-block: 24px; line-height: 1.65; }

.date-form { display: grid; grid-template-columns: 1fr 1fr .74fr auto; align-items: stretch; gap: 0; padding: 13px; background: var(--paper-light); border: 1px solid var(--line); border-radius: 4px; }
.date-field { padding: 4px 16px 2px; min-width: 0; align-content: center; display: grid; gap: 5px; border-right: 1px solid var(--line); }
.date-field > span { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--quiet); }
.date-field input, .date-field select { background: transparent; border: 0; padding: 0 0 2px; line-height: 1.35; color: var(--ink); min-height: 30px; width: 100%; }
.date-field.guest-field { border-right: 0; }
.date-form .button { min-width: 139px; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: clamp(26px, 4.2vw, 56px); }
.section-heading .text-link { flex-shrink: 0; margin-bottom: 4px; }
.room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 42px); row-gap: clamp(40px, 6vw, 72px); }
.room-photo, .gallery-image { position: relative; display: block; overflow: hidden; background: #e0d4c6; text-decoration: none; border-radius: 3px; isolation: isolate; }
.room-photo { aspect-ratio: 4 / 3; }
.room-photo img, .gallery-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22, .65, .25, 1); }
.room-photo:hover img, .gallery-image:hover img { transform: scale(1.045); }
.photo-arrow, .gallery-image > span { position: absolute; display: grid; place-items: center; bottom: 11px; right: 11px; width: 39px; height: 39px; border-radius: 50%; color: var(--wine); background: var(--paper-light); font-size: 1.17rem; transition: background .22s ease, color .22s ease; }
.room-photo:hover .photo-arrow, .gallery-image:hover > span { color: white; background: var(--wine); }
.room-meta { border-bottom: 1px solid var(--line); padding: 13px 0; margin-bottom: 13px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: .75rem; color: var(--quiet); }
.room-meta span:first-child { font-weight: 750; text-transform: uppercase; letter-spacing: .1em; color: var(--wine); }
.room-card h3 a, .quote-card h3 a { text-decoration: none; }
.room-card h3 a:hover, .quote-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.room-card p { margin-top: 12px; margin-bottom: 0; font-size: .93rem; color: var(--quiet); max-width: 38ch; }

.footer { background: #292322; color: #efe4d7; padding-block: 42px 22px; }
.footer .brand { color: #f7e8d7; }
.footer p { margin: 14px 0 0; color: #d0c1b5; }
.footer-inner { display: grid; grid-template-columns: 1.45fr 1fr .85fr; gap: 24px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-size: .9rem; overflow-wrap: anywhere; }
.footer-links a, .footer-base a { text-decoration: none; }
.footer-links a:hover, .footer-base a:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid #ffffff32; margin-top: 31px; padding-top: 17px; color: #d0c1b5; font-size: .77rem; }

.page-lead { padding-block: clamp(46px, 7vw, 93px) 28px; }
.page-lead .intro { max-width: 48ch; margin-bottom: 0; }
.catalog-section, .gallery-grid { padding-top: 23px; }
.detail-hero { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(24px, 5vw, 67px); padding-top: clamp(25px, 5vw, 67px); }
.detail-copy .eyebrow { margin-top: 36px; }
.detail-hero > .gallery-image { aspect-ratio: 1.18; }
.crumb { color: var(--wine); font-size: .82rem; text-underline-offset: 4px; }
.room-highlight { margin-bottom: 24px; font-weight: 600; color: var(--wine); }
.detail-amenities { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 67px); }
.detail-amenities h2 { font-size: clamp(33px, 4vw, 55px); }
.detail-amenities ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; color: var(--quiet); padding: 0; margin-top: 25px; list-style-type: none; }
.detail-amenities li { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.detail-gallery, .gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.detail-gallery .gallery-image { aspect-ratio: .8; }
.gallery-grid { gap: 16px; }

.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 21px; }
.contact-links a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-body { padding-block: 8px 70px; line-height: 1.65; overflow-wrap: anywhere; }
.legal-paper > .section { padding: 0; max-width: 75ch; margin: 0 auto; }
.legal-body h2 { font-size: clamp(25px, 3vw, 37px); margin: 0 0 14px; }
.legal-body h3 { font-size: 24px; margin: 16px 0 12px; }
.legal-body .alert-box { margin-block: 14px; padding: 16px; background: var(--paper-light); border: 1px solid var(--line); }
.legal-body details { max-width: 700px; padding: 14px 0; border-top: 1px solid var(--line); }
.legal-body details p { margin: 12px 0 0; }
.legal-body table { border-collapse: collapse; }
.legal-body th, .legal-body td { padding: 8px; border: 1px solid var(--line); text-align: left; }

.booking-wrap { padding-bottom: clamp(55px, 8vw, 105px); }
.booking-wrap .date-form { max-width: 800px; }
.booking-wrap > p .text-link { margin-top: 14px; }
.result-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; margin-top: 32px; }
.result-head h2 { font-size: clamp(26px, 3.6vw, 42px); }
.result-head span { font-size: .88rem; color: var(--quiet); }
.quote-list { display: grid; gap: 12px; margin-top: 15px; }
.quote-card { display: grid; grid-template-columns: minmax(135px, .4fr) 1fr auto; background: var(--paper-light); border: 1px solid var(--line); padding: 10px; border-radius: 4px; gap: clamp(14px, 3vw, 35px); align-items: center; }
.quote-card img { aspect-ratio: 1.5; object-fit: cover; border-radius: 2px; }
.quote-card h3 { font-size: clamp(24px, 3vw, 40px); }
.quote-card p:not(.eyebrow) { margin: 8px 0 0; color: var(--quiet); font-size: .9rem; }
.quote-card .eyebrow { margin-bottom: 8px; }
.quote-price { display: grid; justify-items: end; gap: 5px; text-align: right; padding-right: 8px; }
.quote-price strong { color: var(--wine); font-size: clamp(1.12rem, 2vw, 1.7rem); font-variant-numeric: tabular-nums; }
.quote-price > span { color: var(--quiet); font-size: .77rem; }
.quote-price .button { margin-top: 5px; }
.checkout-grid { display: grid; grid-template-columns: 1.1fr .8fr; gap: clamp(20px, 4vw, 50px); padding-bottom: clamp(54px, 8vw, 100px); align-items: start; }
.panel { background: var(--paper-light); border: 1px solid var(--line); border-radius: 4px; padding: clamp(18px, 3vw, 34px); }
.checkout-form { display: grid; gap: 16px; }
.checkout-form label, .admin-form label, .login-wrap label, .jump-date label { display: grid; gap: 6px; font-size: .9rem; font-weight: 650; }
.checkout-form label > span { color: var(--quiet); }
.checkout-form input:not([type="checkbox"]), .checkout-form textarea, .admin-form input:not([type="checkbox"]), .admin-form select, .admin-form textarea, .login-wrap input, .jump-date input {
  border: 1px solid var(--line); border-radius: 3px; min-height: 43px; background: white; color: var(--ink); padding: 8px 10px; font-weight: 400;
}
.checkbox { display: flex !important; align-items: flex-start; gap: 9px !important; line-height: 1.53; }
.checkbox input { accent-color: var(--wine); width: 17px; height: 17px; flex-shrink: 0; margin: 3px 0 0; }
.checkout-form p, .fine-print { font-size: .87rem; color: var(--quiet); margin-bottom: 0; }
.checkout-form button { width: fit-content; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.stay-summary img { aspect-ratio: 1.8; object-fit: cover; margin-bottom: 18px; border-radius: 3px; }
.stay-summary h2 { font-size: clamp(25px, 3vw, 38px); }
.stay-summary h2 + p { margin-top: 9px; color: var(--quiet); }
.stay-summary summary { font-size: .9rem; color: var(--wine); }
.stay-summary ul { list-style: none; padding: 0; font-size: .88rem; color: var(--quiet); }
.stay-summary li, .summary-total { display: flex; justify-content: space-between; gap: 13px; margin-top: 8px; }
.summary-total { align-items: baseline; border-top: 1px solid var(--line); padding-top: 11px; margin: 15px 0 6px; }
.summary-total strong { white-space: nowrap; color: var(--wine); font-size: 1.2rem; }
.notice { color: #772737 !important; border: 1px solid #dfb3be; background: #fff1f3; padding: 10px 13px; border-radius: 3px; margin: 12px 0 !important; }
.notice-ok { color: #295339 !important; border-color: #bacdbb; background: #edf5e9; }
.receipt { max-width: 560px; }
.receipt strong { display: block; font-size: 1.4rem; letter-spacing: .06em; color: var(--wine); }

.photo-dialog { border: 0; border-radius: 4px; color: var(--paper-light); background: #25201e; width: min(93vw, 940px); padding: 12px; }
.photo-dialog::backdrop { background: #191313de; }
.photo-dialog img { width: 100%; height: min(70vh, 720px); object-fit: contain; }
.photo-controls { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; }
.photo-controls span { min-width: 50px; text-align: center; }
.photo-controls button { background: #fff2; color: white; border: 0; border-radius: 3px; min-width: 42px; min-height: 42px; font-size: 1.3rem; }
.photo-controls button:focus-visible { outline-color: white; }
.photo-controls button:last-child { margin-left: auto; }

@media (max-width: 760px) {
  .header-inner { min-height: 70px; gap: 11px; }
  .nav { display: none; }
  .header-cta { margin-left: auto; min-height: 40px; gap: 9px; }
  .mobile-nav { display: block; }
  .mobile-nav > summary { list-style: none; color: var(--wine); font-weight: 650; font-size: .85rem; padding: 9px 0; }
  .mobile-nav > summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; top: calc(100% + 1px); right: 0; z-index: 5; display: grid; min-width: 175px; border: 1px solid var(--line); background: var(--paper-light); padding: 10px 12px; box-shadow: 0 8px 18px #28211d1a; }
  .mobile-nav a { padding: 10px 3px; }
  .detail-hero, .detail-amenities, .checkout-grid { grid-template-columns: 1fr; }
  .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-hero { align-items: start; }
  .detail-hero .eyebrow { margin-top: 19px; }
  .detail-amenities { padding-top: 42px; }
  .quote-card { grid-template-columns: minmax(110px, .55fr) 1fr; }
  .quote-price { grid-column: 1 / -1; display: flex; justify-content: flex-end; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); padding: 9px 0 0; gap: 6px 12px; }
  .quote-price .button { margin-top: 0; min-height: 41px; }
  .stay-summary { grid-row: 1; }
}

@media (max-width: 510px) {
  .brand-logo { width: 109px; }
  .header-cta { padding: 6px 9px; }
  .date-form { grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; }
  .date-form .button { min-width: 0; min-height: 47px; gap: 8px; padding: 6px 9px; }
  .date-field { padding-inline: 6px; }
  .date-field:nth-of-type(2) { border-right: 0; }
  .date-field.guest-field { border-top: 1px solid var(--line); padding-top: 8px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .room-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
  .footer-links { font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
}
