:root {
  /* Brand colors, from the Mohawk Valley Inn sign */
  --cream: #f6ead5;
  --maroon: #531515;
  --charcoal: #261b19;

  --paper: #f5ecda;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .2 0 0 0 0 .12 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --paper-2: #ebdec4;
  --card: #fffaef;
  --ink: var(--charcoal);
  --muted: #6a6158;
  --line: #dccbad;
  --brand: var(--maroon);
  --brand-ink: #3d0e0e;
  --accent: #7a2a24;
  --accent-soft: #f2e0d8;
  --on-dark-accent: #e6cfa6;
  --focus: #c9a79f;
  --blocked: #e7dfd1;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1440px;
  --radius: 4px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--grain), var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, .from b, .facts b, .cal-head strong { font-variant-numeric: lining-nums; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.12; letter-spacing: .02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(24px, 4vw, 56px); }
.narrow { max-width: 820px; }
.eyebrow { font: 700 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; display: block; }
.lede { font-size: 1.2rem; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tint { background: var(--grain), var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: 14px 26px; border-radius: var(--radius); border: 1px solid var(--brand); background: var(--brand); color: #fff;
  font: 700 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--brand); color: #fff; }
.btn.light { background: #fff; border-color: #fff; color: var(--ink); }
.btn.light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.outline-light { background: transparent; border-color: rgba(255,255,255,.8); color: #fff; }
.btn.outline-light:hover { background: #fff; color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.block { width: 100%; justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--grain), var(--charcoal); border-bottom: 4px solid var(--maroon); box-shadow: inset 0 -2px 0 rgba(246,234,213,.55), 0 6px 18px -10px rgba(0,0,0,.5); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 112px; gap: 24px; }
.brand { display: block; line-height: 0; }
.brand img { height: 84px; width: auto; }
@media (max-width: 860px) { .brand img { height: 56px; } }

/* Text wordmark (replaces the sign image) */
.brand-text { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; }
.brand-text .brand-name, .hero-wordmark .brand-name, .band-wordmark .brand-name {
  font: 600 1.3rem/1.1 var(--display); color: #efe2c8; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.brand-text .brand-sub, .hero-wordmark .brand-sub, .band-wordmark .brand-sub {
  font: 700 .62rem/1 var(--sans); color: var(--on-dark-accent); letter-spacing: .3em; text-transform: uppercase; margin-top: .55em; white-space: nowrap; }
.brand-text:hover .brand-name { color: #fff; }
@media (max-width: 860px) {
  .brand-text .brand-name { font-size: 1.02rem; letter-spacing: .08em; }
  .brand-text .brand-sub { font-size: .55rem; letter-spacing: .22em; }
}

/* Hero wordmark — the big version where the sign image used to hang */
.hero-wordmark { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 22px; }
.hero-wordmark .brand-name { font-size: clamp(2rem, 5.6vw, 3.4rem); letter-spacing: .12em; white-space: normal; }
.hero-wordmark .brand-sub { font-size: clamp(.68rem, 1.4vw, .85rem); margin-top: .8em; }

/* Band wordmark — the Magnolia band's side column */
.band-wordmark { display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; filter: none; }
.band-wordmark .brand-name { font-size: clamp(1.4rem, 2.2vw, 1.9rem); white-space: normal; }

/* Footer wordmark */
.foot-wordmark .brand-name { font-size: 1.45rem; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: #efe2c8; text-decoration: none; font: 600 .82rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.nav a:hover, .nav a.on { color: var(--on-dark-accent); }
.nav .btn { background: var(--cream); border-color: var(--cream); color: var(--maroon); padding: 12px 20px; }
.nav .btn:hover { background: #fff; border-color: #fff; color: var(--maroon); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: #efe2c8; }
@media (max-width: 860px) {
  .site-header .wrap { height: 80px; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 80px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--grain), var(--charcoal); border-bottom: 4px solid var(--maroon); padding: 8px 24px 24px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid rgba(246,234,213,.15); }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,12,.05) 30%, rgba(20,16,12,.62) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(48px, 8vw, 96px); width: 100%; }
.hero h1 { max-width: 17ch; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero p { font-size: 1.2rem; max-width: 40ch; opacity: .95; }
.hero .eyebrow { color: #f4d9c4; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero { position: relative; height: clamp(300px, 46vh, 460px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20,16,12,.6)); }
.page-hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 40px; }
.page-hero h1 { color: #fff; margin: 0; }
.page-title { padding: 72px 0 24px; }

/* Split / intro */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split figure { margin: 0; }
.split figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; font-style: italic; }
.photo { aspect-ratio: 4/5; object-fit: cover; width: 100%; border-radius: var(--radius); }
.photo.wide { aspect-ratio: 3/2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Room cards */
.rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 28px; margin-top: 48px; }
@media (min-width: 1200px) { .rooms { grid-template-columns: repeat(4, 1fr); } .rooms.rooms-3 { grid-template-columns: repeat(3, 1fr); } }
.room-card { text-decoration: none; color: inherit; display: block; }
.room-card .img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 3/2; }
.room-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.room-card:hover img { transform: scale(1.04); }
.room-card h3 { margin: 18px 0 4px; color: var(--ink); }
.room-card p { color: var(--muted); margin: 0 0 6px; }
.room-meta { font: 700 .74rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
@media (max-width: 720px) { .rooms { grid-template-columns: 1fr; } }

.house-banner { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; margin-top: 56px; min-height: 380px; display: flex; align-items: center; }
.house-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.house-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(32,30,29,.88) 0%, rgba(32,30,29,.45) 60%, transparent); }
.house-banner > div { position: relative; z-index: 1; padding: clamp(28px, 5vw, 64px); max-width: 560px; }
.house-banner h2, .house-banner .eyebrow { color: #fff; }

/* Mosaic gallery */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 10px; }
.mosaic a { overflow: hidden; border-radius: var(--radius); display: block; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mosaic a:hover img { transform: scale(1.05); }
.mosaic .tall { grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }
@media (max-width: 720px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }

/* Feature band */
.band { background: var(--charcoal); color: #efe5cf; }
.band h2 { color: #fff; }
.band .eyebrow { color: var(--on-dark-accent); }
.band a:not(.btn) { color: #fff; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 40px; }
.facts div { border-top: 1px solid rgba(255,255,255,.25); padding-top: 18px; }
.facts b { display: block; font: 600 2.4rem/1 var(--display); color: #fff; margin-bottom: 10px; letter-spacing: .02em; }
.band-split { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.band-mark { width: clamp(260px, 24vw, 380px); height: auto; flex: none; filter: drop-shadow(0 12px 30px rgba(0,0,0,.4)); }
@media (max-width: 860px) { .band-mark { display: none; } }
@media (max-width: 720px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* Explore */
.places { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin-top: 28px; }
.place { background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.place .img { aspect-ratio: 3/2; overflow: hidden; }
.place .img img { width: 100%; height: 100%; object-fit: cover; }
.place .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.place h3 { font-size: 1.5rem; margin-bottom: 6px; }
.place p { color: var(--muted); font-size: .97rem; margin: 10px 0 14px; }
.place-links { margin-top: auto; display: flex; gap: 18px; font-weight: 700; font-size: .85rem; }
@media (max-width: 560px) { .places { grid-template-columns: 1fr; } }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.post-card { text-decoration: none; color: inherit; }
.post-card .img { aspect-ratio: 3/2; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover img { transform: scale(1.04); }
.post-card h3 { margin: 16px 0 8px; color: var(--ink); font-size: 1.55rem; }
.post-card p { color: var(--muted); font-size: .96rem; }
.date { font: 700 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 2.1rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); margin: 1.8em 0; width: 100%; }
.prose blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 3px solid var(--accent); font: italic 1.45rem/1.4 var(--serif); color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 2em; font-size: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.prose th { font: 700 .72rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
.prose tr:last-child td { border-bottom: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 4px 0 16px; cursor: pointer; }
.agree input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--brand); flex: none; }
.cancel-note { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 14px; }
.post-cover { aspect-ratio: 21/9; object-fit: cover; width: 100%; border-radius: var(--radius); margin: 32px 0 48px; }
.pager { display: flex; justify-content: center; gap: 12px; margin-top: 56px; }

/* Unit page */
.unit-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; }
.book-card { position: sticky; top: 100px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 28px; box-shadow: 0 10px 40px -20px rgba(60,40,20,.25); }
.book-card h3 { margin-bottom: 4px; }
.from { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.from b { font: 600 1.6rem var(--serif); color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 32px 0; }
.gallery a { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.05); }
.amenities { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin: 24px 0; }
.amenities li { padding-left: 22px; position: relative; }
.amenities li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 1px; background: var(--accent); }
.mobile-book { display: none; }
@media (max-width: 960px) {
  .unit-layout { grid-template-columns: 1fr; }
  .book-card { position: static; scroll-margin-top: 90px; }
  .mobile-book { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(0,0,0,.3); }
  .mobile-book b { font: 600 1.4rem var(--serif); font-variant-numeric: lining-nums; }
  body:has(.mobile-book) .site-footer { padding-bottom: 110px; }
}

/* Calendar picker */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head button { background: none; border: 1px solid var(--line); border-radius: 50%; width: 34px; height: 34px; cursor: pointer; color: var(--ink); font-size: 1rem; }
.cal-head button:disabled { opacity: .3; cursor: default; }
.cal-head strong { font: 600 1.2rem var(--serif); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-grid .dow { font: 700 .66rem/2 var(--sans); letter-spacing: .1em; color: var(--muted); }
.cal-grid button { aspect-ratio: 1; border: 0; background: none; border-radius: 4px; font: 600 .88rem var(--sans); color: var(--ink); cursor: pointer; padding: 0; }
.cal-grid button:hover:not(:disabled) { background: var(--accent-soft); }
.cal-grid button:disabled { color: #bdb3a3; cursor: default; }
.cal-grid button.booked { color: #b9ae9c; text-decoration: line-through; background: repeating-linear-gradient(-45deg, transparent 0 4px, rgba(0,0,0,.04) 4px 5px); }
.cal-grid button.checkout-only { color: var(--ink); text-decoration: none; }
.cal-grid button.in { background: #f3e4df; border-radius: 0; }
.cal-grid button.start, .cal-grid button.end { background: var(--brand); color: #fff; }
.cal-grid button.today { box-shadow: inset 0 0 0 1px var(--line); }
.cal-legend { display: flex; gap: 16px; font-size: .78rem; color: var(--muted); margin: 10px 0 18px; }
.dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; }
.dates div { padding: 10px 14px; }
.dates div + div { border-left: 1px solid var(--line); }
.dates label { display: block; font: 700 .64rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.dates span { font-weight: 600; }
.quote { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; font-size: .95rem; }
.quote div { display: flex; justify-content: space-between; padding: 3px 0; }
.quote .total { font-weight: 800; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }
.hint { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }

/* Forms */
.field { margin-bottom: 14px; }
.field label { display: block; font: 700 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=password], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font: inherit; font-size: 1rem; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--brand); }
textarea { min-height: 120px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 18px; font-size: .95rem; }
.alert.error { background: #f8e2da; color: #7a2e17; }
.alert.ok { background: #e4ecdf; color: #2c4a22; }

/* Reservation page */
.summary { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 32px; }
.summary dl { display: grid; grid-template-columns: 140px 1fr; gap: 10px 20px; margin: 0; }
.summary dt { font: 700 .72rem/1.9 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.summary dd { margin: 0; }
.status { display: inline-block; padding: 6px 12px; border-radius: 99px; font: 800 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.status.confirmed { background: #dbe9e0; color: #1f4a3c; }
.status.requested, .status.pending_payment { background: #f6e6c9; color: #6e4a0e; }
.status.declined, .status.cancelled, .status.expired { background: #eee6db; color: #6b6358; }

/* Footer */
.site-footer { background: var(--charcoal); color: #cfc5b3; padding: 72px 0 40px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--on-dark-accent); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font: 700 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-accent); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; line-height: 2.1; }
.site-footer .brand img { height: auto; width: min(300px, 100%); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: #8b8579; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(15,12,9,.94); z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; padding: 16px; }
.lightbox .x { top: 8px; right: 12px; }
.lightbox .prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 8px; top: 50%; transform: translateY(-50%); }

.admin-bar { background: var(--ink); color: #fff; font-size: .8rem; text-align: center; padding: 6px; }
.admin-bar a { color: var(--on-dark-accent); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .row2 { grid-template-columns: 1fr; }
  .summary dl { grid-template-columns: 1fr; gap: 2px; }
  .summary dd { margin-bottom: 10px; }
  .book-card { padding: 20px; }
}

/* ---------- Home page hero ---------- */
/* Header modes used on the home page */
.header-no-logo .brand { display: none; }
.header-no-logo .wrap { justify-content: space-between; }

/* Home hero: the sign on dark (like it's hanging over the door), then the whole front of the house, framed. */
.hero-stack { --overlap: clamp(90px, 13vw, 240px); position: relative; }
.hero-stack-top { background: var(--grain), radial-gradient(ellipse at 50% 0%, #3a2724 0%, var(--charcoal) 70%); color: #efe2c8; text-align: center;
  padding: clamp(32px, 4.5vw, 64px) 0 calc(var(--overlap) + clamp(28px, 3vw, 48px)); }
.hero-stack-top .wrap { display: flex; flex-direction: column; align-items: center; }
.hero-sign { width: min(470px, 88vw); height: auto; filter: drop-shadow(0 16px 30px rgba(0,0,0,.55)); margin-bottom: clamp(20px, 2.6vw, 32px); }
.hero-stack h1 { color: #fbf3e3; font-size: clamp(1.6rem, 2.6vw, 2.4rem); max-width: 44ch; margin-bottom: .35em; }
.hero-stack .ornament { color: var(--on-dark-accent); }
.hero-stack p { color: #d9c9ae; font-size: 1.12rem; max-width: 54ch; margin: 0 auto; }
.hero-stack .actions { justify-content: center; }
.hero-frame { max-width: 1180px; margin: calc(-1 * var(--overlap)) auto 0; position: relative; z-index: 1; aspect-ratio: 2.4 / 1; border-radius: 6px; overflow: hidden;
  border: 6px solid var(--cream); box-shadow: 0 0 0 2px var(--maroon), 0 30px 60px -30px rgba(30,15,10,.6); background: var(--charcoal); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 96%; }
@media (max-width: 860px) {
  .hero-frame { aspect-ratio: 3 / 2; border-width: 4px; }
  .hero-frame img { object-position: 50% 50%; }
}

/* Ornamental rule, after the arrows on the sign */
.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--maroon); margin: 4px auto 18px; width: min(280px, 70%); }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, transparent, currentColor); }
.ornament::after { background: linear-gradient(90deg, currentColor, transparent); }
.ornament i { width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); flex: none; }
.band .ornament { color: var(--on-dark-accent); margin-left: 0; }

/* Home page header: no logo (the hero has it), so show a small line in the sign's lettering instead */
.header-tag { margin-right: auto; color: #efe2c8; text-decoration: none; font: 600 .95rem/1 var(--display); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.header-tag:hover { color: var(--on-dark-accent); }
.header-no-logo .wrap { height: 76px; }
@media (max-width: 860px) {
  .header-tag { font-size: .78rem; letter-spacing: .14em; }
  .header-no-logo .wrap { height: 64px; }
  .header-no-logo .nav { inset: 64px 0 auto 0; }
}

/* ---------- Booking prompts ---------- */
/* Date search form (home bar, rooms page, floating panel) */
.quickbook { display: grid; grid-template-columns: 1fr 1fr 110px auto; gap: 12px; align-items: end; }
.qb-field label { display: block; font: 700 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.qb-field input, .qb-field select { width: 100%; padding: 13px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font: inherit; font-size: 1rem; color: var(--ink); min-height: 50px; }
.quickbook .btn { min-height: 50px; justify-content: center; }
@media (max-width: 720px) { .quickbook { grid-template-columns: 1fr 1fr; } .quickbook .btn { grid-column: 1 / -1; } }

/* Home page booking bar + reasons to book direct */
.book-bar { position: relative; z-index: 2; margin-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(48px, 6vw, 80px); }
.book-bar-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 2.4vw, 32px); box-shadow: 0 18px 50px -30px rgba(60,30,20,.45); }
.book-bar-intro .eyebrow { margin-bottom: 8px; }
.book-bar-intro h2 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); margin: 0; white-space: nowrap; }
.perks { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.perks li { padding-left: 34px; position: relative; color: var(--muted); font-size: .96rem; line-height: 1.5; }
.perks li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 14px; height: 14px; background: var(--maroon); transform: rotate(45deg); box-shadow: 0 0 0 4px rgba(83,21,21,.12); }
.perks b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
@media (max-width: 1000px) { .book-bar-inner { grid-template-columns: 1fr; } .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .book-bar { margin-top: 0; padding-top: 24px; } .perks { grid-template-columns: 1fr; gap: 18px; } }

/* Rooms page search + availability */
.search-panel { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 2.4vw, 28px); margin-bottom: 28px; box-shadow: 0 14px 40px -30px rgba(60,30,20,.4); }
.search-title { font-size: 1.6rem; margin-bottom: 14px; }
.search-summary { margin-bottom: 8px; }
.room-card .img { position: relative; }
.avail { position: absolute; top: 12px; left: 12px; padding: 7px 12px; border-radius: 99px; font: 800 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.avail.yes { background: #2f6b45; color: #fff; }
.avail.no { background: rgba(38,27,25,.82); color: #efe2c8; }
.room-card.is-unavailable img { filter: grayscale(.7) brightness(.9); }
.room-price { display: block; color: var(--ink); margin: 4px 0 12px; font-size: .95rem; }
.room-price strong { font: 600 1.4rem var(--serif); font-variant-numeric: lining-nums; color: var(--maroon); }
.small-btn { padding: 10px 16px; font-size: .72rem; }
.muted-meta { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 600; }

/* Floating "Book your stay" */
.book-float { position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; transition: transform .3s, opacity .3s; }
.book-float.tucked { transform: translateY(140%); opacity: 0; pointer-events: none; }
.book-float-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border: 2px solid var(--cream); border-radius: 99px; background: var(--maroon); color: var(--cream); font: 800 .82rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  box-shadow: 0 0 0 3px var(--maroon), 0 14px 34px -10px rgba(40,10,10,.6); transition: transform .2s, background .2s; }
.book-float-btn:hover { transform: translateY(-2px); background: var(--brand-ink); }
.book-float:not(.open) .book-float-btn { animation: bookPulse 2.8s ease-in-out 3s 3; }
@keyframes bookPulse { 0%, 100% { box-shadow: 0 0 0 3px var(--maroon), 0 14px 34px -10px rgba(40,10,10,.6); } 50% { box-shadow: 0 0 0 3px var(--maroon), 0 0 0 12px rgba(83,21,21,.18), 0 14px 34px -10px rgba(40,10,10,.6); } }
.book-float-panel { position: relative; width: min(380px, calc(100vw - 32px)); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 22px; box-shadow: 0 24px 60px -20px rgba(40,20,10,.5); }
.book-float-panel h3 { margin: 0 0 4px; font-size: 1.6rem; }
.book-float-panel .muted { margin: 0 0 14px; font-size: .92rem; }
.book-float-panel .quickbook { grid-template-columns: 1fr 1fr; }
.book-float-panel .qb-guests { grid-column: 1 / -1; }
.book-float-panel .quickbook .btn { grid-column: 1 / -1; }
.book-float-close { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; }
.book-float-call { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .book-float-btn { animation: none !important; } .book-float { transition: none; } }
@media (max-width: 560px) {
  .book-float { left: 16px; right: 16px; align-items: stretch; }
  .book-float-btn { justify-content: center; }
  .book-float-panel { width: 100%; }
  body:has(.book-float) .site-footer { padding-bottom: 110px; }
}

/* Short laptop screens: keep the house photo in view on first load */
@media (min-width: 861px) and (max-height: 900px) {
  .hero-stack { --overlap: clamp(90px, 12vw, 200px); }
  .hero-stack-top { padding-top: 22px; }
  .hero-sign { width: min(400px, 60vw); margin-bottom: 14px; }
  .hero-stack h1 { font-size: clamp(1.4rem, 2.3vw, 2rem); }
  .hero-stack .ornament { margin-bottom: 10px; }
  .hero-stack .actions { margin-top: 14px; }
}
/* Date fields must be allowed to shrink inside their grid cells */
.qb-field { min-width: 0; }
.qb-field input, .qb-field select { min-width: 0; max-width: 100%; }
