/* ==========================================================
   Bear View Manor - styles
   ========================================================== */
:root {
  --forest-950: #0b211c;
  --forest-900: #0f2c25;
  --forest-800: #143a31;
  --forest-700: #1c4b3f;
  --forest-600: #2a5e50;
  --copper: #c4843f;
  --copper-600: #9a6127;
  --copper-300: #e2b97d;
  --paper: #fbf8f2;
  --cream: #f4eee3;
  --sand: #e9e0cf;
  --white: #ffffff;
  --ink: #1b231f;
  --ink-2: #3a4540;
  --muted: #5f6a64;
  --line: #e4ddcf;
  --line-2: #d4cab9;
  --yes-bg: #e2ece6;
  --no-bg: #f5e3db;
  --no-ink: #a2452a;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(14, 36, 30, .16);
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 48px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
html:has(dialog[open]), html.modal-open, html.menu-open { overflow: hidden; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
img.img-failed { opacity: 0; }

.container { width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stars { display: inline-flex; gap: 2px; color: var(--copper); }
.stars svg { width: 14px; height: 14px; fill: currentColor; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--white); color: var(--ink); padding: 12px 18px; border-radius: 10px; }
.skip-link:focus { top: 16px; box-shadow: var(--shadow); }

/* ---------- Type ---------- */
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.08; letter-spacing: -.015em; margin: 0; font-optical-sizing: auto; }
h2 em, h1 em { font-style: italic; font-weight: 400; }
h2 em { color: var(--copper-600); }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-600); }
.eyebrow .ico { width: 15px; height: 15px; }
.eyebrow-light { color: var(--copper-300); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .ico { width: 18px; height: 18px; }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-copper { background: var(--copper); color: #1d150b; box-shadow: 0 10px 26px rgba(196, 132, 63, .28); }
.btn-copper:hover { background: var(--copper-300); }
.btn-forest { background: var(--forest-800); color: var(--white); }
.btn-forest:hover { background: var(--forest-700); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--white); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.icon-btn { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; transition: background-color .2s, border-color .2s; }
.icon-btn:hover { background: var(--white); border-color: var(--ink); }
.icon-btn-dark { color: var(--white); border-color: rgba(255, 255, 255, .25); }
.icon-btn-dark:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--forest-700); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link .ico { width: 16px; height: 16px; }
.text-link:hover { color: var(--copper-600); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); color: var(--white); transition: background-color .3s, color .3s, box-shadow .3s; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -24px; background: linear-gradient(rgba(8, 24, 20, .5), rgba(8, 24, 20, 0)); pointer-events: none; transition: opacity .3s; }
.site-header.solid { background: rgba(251, 248, 242, .95); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.site-header.solid::before { opacity: 0; }
/* backdrop-filter would trap the fixed mobile menu inside the header, so drop it while the menu is open */
.menu-open .site-header { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav { position: relative; height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-text strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.15; }
.brand-text small { display: block; font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; opacity: .75; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { position: relative; font-size: .92rem; font-weight: 500; opacity: .92; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1.5px; background: currentColor; transition: right .25s; }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; place-items: center; cursor: pointer; border-radius: 10px; }
.menu-btn .ico { width: 26px; height: 26px; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: max(660px, 100svh); display: flex; align-items: flex-end; color: var(--white); background: var(--forest-900); }
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 16s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(9, 26, 22, .55) 0%, rgba(9, 26, 22, .1) 24%, rgba(9, 26, 22, .2) 55%, rgba(9, 26, 22, .88) 100%),
  linear-gradient(90deg, rgba(9, 26, 22, .84) 0%, rgba(9, 26, 22, .62) 38%, rgba(9, 26, 22, 0) 72%); }
.hero-copy .eyebrow, .hero-lead { text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.hero-inner { padding: calc(var(--header-h) + 56px) 0 44px; animation: heroIn .9s ease-out both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-copy { max-width: 760px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 20px; font-optical-sizing: auto; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero h1 em { color: var(--copper-300); }
.hero-lead { max-width: 600px; margin: 0 0 22px; font-size: clamp(1rem, 1.35vw, 1.15rem); color: rgba(255, 255, 255, .9); }
.rating-chip { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .88rem; transition: background-color .2s; }
.rating-chip:hover { background: rgba(255, 255, 255, .2); }
.rating-chip .stars { color: var(--copper-300); }
.rating-chip strong { font-weight: 600; }
.chip-sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }

/* Booking bar */
.book-bar { margin-top: 34px; max-width: 1000px; display: grid; grid-template-columns: 1fr 1fr 1fr auto; padding: 8px; color: var(--ink); background: var(--white); border-radius: 20px; box-shadow: 0 30px 70px rgba(0, 0, 0, .32); }
.field { display: grid; gap: 2px; padding: 10px 18px; border-right: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: background-color .2s; }
.field:nth-of-type(3) { border-right: 0; }
.field:hover, .field:focus-within { background: var(--cream); }
.field > span { font-size: .7rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { width: 100%; min-height: 30px; padding: 2px 0; border: 0; background: transparent; font-size: 1rem; color: var(--ink); outline: none; cursor: pointer; }
.book-submit { border-radius: 14px; padding: 0 26px; min-height: 58px; }
.book-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 6px 0 0; padding: 10px 18px 6px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.book-note .ico { width: 15px; height: 15px; color: var(--forest-600); }

/* ---------- Facts strip ---------- */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; align-items: center; gap: 14px; padding: 26px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact .ico { width: 28px; height: 28px; color: var(--copper-600); }
.fact strong { display: block; font-weight: 600; line-height: 1.3; }
.fact span { display: block; font-size: .86rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head > div { max-width: 760px; }

/* ---------- Photos ---------- */
.photos { background: var(--paper); }
.mosaic { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; height: clamp(420px, 46vw, 620px); border-radius: var(--radius); overflow: hidden; }
.tile { position: relative; overflow: hidden; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; }
.tile-lead { grid-row: 1 / 3; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.tile:hover img { transform: scale(1.04); filter: brightness(.92); }
.tile-label { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(10, 28, 24, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--white); font-size: .78rem; font-weight: 500; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.tile:hover .tile-label, .tile:focus-visible .tile-label { opacity: 1; transform: none; }
.tile:focus-visible { outline-offset: -4px; outline-color: var(--white); }
.mosaic-all { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--ink); background: var(--white); color: var(--ink); font-weight: 600; font-size: .88rem; cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .15); transition: transform .2s; }
.mosaic-all:hover { transform: translateY(-1px); }
.mosaic-all .ico { width: 17px; height: 17px; }
.noscript-note { margin: 16px 0 0; color: var(--muted); }
.noscript-note a { text-decoration: underline; }
@media (hover: none) { .tile-label { opacity: 1; transform: none; } }

/* ---------- The stay ---------- */
.stay { background: var(--white); border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose p { margin: 0 0 1em; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.prose .lead { font-size: 1.22rem; line-height: 1.5; color: var(--ink); }
.sub-head { margin: 72px 0 20px; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.room { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.room-ico { width: 30px; height: 30px; margin-bottom: 18px; color: var(--copper-600); }
.room h4 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 600; }
.room p { margin: 0; font-size: .92rem; color: var(--muted); }
.spaces { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 28px; }
.spaces-label { font-size: .85rem; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); font-size: .86rem; color: var(--ink-2); }

/* ---------- Amenities ---------- */
.amenities { background: var(--forest-800); color: var(--white); }
.amenities h2 em { color: var(--copper-300); }
.amenities-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(40px, 6vw, 96px); }
.amenities-intro { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.amenities-intro > p:not(.eyebrow) { margin: 20px 0 28px; max-width: 380px; color: rgba(255, 255, 255, .78); }
.amenity-groups { display: grid; gap: 44px; }
.amenity-group h3 { margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .15); font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.amenity-group ul { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; margin: 0; padding: 0; list-style: none; }
.amenity-group li { display: flex; align-items: center; gap: 14px; }
.amenity-group .ico { width: 24px; height: 24px; color: var(--copper-300); }

/* ---------- Location ---------- */
.location { background: var(--paper); }
.location-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.map-card { position: relative; overflow: hidden; aspect-ratio: 1 / .86; border-radius: var(--radius); background: var(--sand); box-shadow: var(--shadow); }
.map-card iframe { display: block; width: 100%; height: 100%; border: 0; }
.location-copy > p:not(.eyebrow):not(.walk-note) { margin: 20px 0 0; color: var(--ink-2); }
.walks { margin: 24px 0 16px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.walks li { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mins { min-width: 64px; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--copper-600); }
.walk-note { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 24px; font-size: .86rem; color: var(--muted); }
.walk-note .ico { width: 17px; height: 17px; margin-top: 2px; }

/* ---------- Reviews ---------- */
.reviews { background: var(--cream); }
.reviews-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.score-big { display: flex; align-items: baseline; font-family: var(--serif); line-height: .9; }
.score-big span { font-size: clamp(5rem, 10vw, 8rem); font-weight: 500; color: var(--forest-800); letter-spacing: -.03em; }
.score-big small { margin-left: 6px; font-size: 2rem; color: var(--muted); }
.score-word { margin: 10px 0 0; font-family: var(--serif); font-size: 1.6rem; }
.score-count { margin: 2px 0 28px; font-size: .92rem; color: var(--muted); }
.bars { margin: 0; }
.bars div { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 12px; padding: 6px 0; font-size: .9rem; }
.bars dt { color: var(--ink-2); }
.bars dd { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.bar { flex: 1; height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.bar i { display: block; width: var(--v); height: 100%; background: var(--forest-700); }
.review-kicker { margin: 0 0 16px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.review-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.review { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.review p { flex: 1; margin: 0; font-family: var(--serif); font-size: 1.08rem; line-height: 1.5; }
.review footer { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); }
.review footer strong { display: block; font-weight: 600; color: var(--ink); }
.avatar { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--forest-800); color: var(--white); font-weight: 600; }
.review-side .text-link { margin-top: 26px; }

/* ---------- Host ---------- */
.host { background: var(--white); }
.host-inner { max-width: 720px; text-align: center; }
.host-mark { margin: 0 auto 22px; }
.host .eyebrow { justify-content: center; }
.host h2 { margin-bottom: 24px; }
.host p:not(.eyebrow):not(.signature) { color: var(--ink-2); }
.signature { display: grid; gap: 2px; margin: 28px 0 0; }
.signature strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.signature span { font-size: .86rem; color: var(--muted); }

/* ---------- Rules ---------- */
.rules { background: var(--paper); }
.rules-layout { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: start; }
.rule-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.rule-list li { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.rule-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--copper-600); }
.rule-ico .ico { width: 20px; height: 20px; }
.rule-ico.yes { background: var(--yes-bg); color: var(--forest-700); }
.rule-ico.no { background: var(--no-bg); color: var(--no-ink); }
.rule-list strong { display: block; font-size: .96rem; font-weight: 600; line-height: 1.35; }
.rule-list span { font-size: .86rem; color: var(--muted); }
.checkout { padding: 32px; border-radius: var(--radius); background: var(--forest-800); color: var(--white); }
.checkout h3 { margin: 0 0 20px; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }
.checkout ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.checkout li { counter-increment: step; display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: .94rem; color: rgba(255, 255, 255, .86); }
.checkout li::before { content: counter(step); width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; font-size: .8rem; color: var(--copper-300); }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); }
.faq-intro { margin: 20px 0 0; max-width: 360px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 1.05rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--copper-600); }
.plus { position: relative; width: 30px; height: 30px; flex: none; border: 1px solid var(--line-2); border-radius: 50%; transition: background-color .2s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .plus { background: var(--white); }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list details p { max-width: 660px; margin: 0 0 22px; color: var(--ink-2); }

/* ---------- Final CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(96px, 14vw, 180px) 0; text-align: center; color: var(--white); background: var(--forest-900); }
.cta-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(9, 26, 22, .55), rgba(9, 26, 22, .72)); }
.cta-inner { max-width: 840px; }
.cta .eyebrow { justify-content: center; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.cta h2 em { color: var(--copper-300); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 28px; background: var(--forest-950); color: rgba(255, 255, 255, .72); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { color: var(--white); }
.footer-brand p { max-width: 320px; margin: 16px 0 0; }
.footer-grid h3 { margin: 0 0 14px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
.footer-grid > div:not(.footer-brand) a { display: block; padding: 4px 0; }
.footer-grid a:hover { color: var(--copper-300); }
.footer-grid p { margin: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .78rem; color: rgba(255, 255, 255, .55); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Mobile booking bar ---------- */
.mobile-book { display: none; }

/* ---------- Gallery modal ---------- */
.gallery-modal, .viewer { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; }
.gallery-modal { background: var(--paper); color: var(--ink); }
.gallery-modal[open] { display: flex; flex-direction: column; animation: modalIn .28s ease-out; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.gallery-modal::backdrop { background: rgba(9, 26, 22, .6); }
.gallery-top { display: flex; align-items: center; gap: 16px; padding: 12px var(--gutter); padding-top: max(12px, env(safe-area-inset-top)); border-bottom: 1px solid var(--line); }
.gallery-title { flex: 1; min-width: 0; }
.gallery-title h2 { font-size: 1.25rem; line-height: 1.2; }
.gallery-title > span { font-size: .84rem; color: var(--muted); }
.gallery-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.gallery-chips::-webkit-scrollbar { display: none; }
.gallery-chips:empty { display: none; }
.chip { flex: none; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); font-size: .86rem; font-weight: 500; cursor: pointer; transition: border-color .2s, background-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip small { margin-left: 4px; opacity: .6; font-size: .8em; }
.gallery-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 28px var(--gutter) 64px; }
.g-section { max-width: 1200px; margin: 0 auto 48px; scroll-margin-top: 16px; }
.g-section h3 { margin: 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.g-section > p { margin: 2px 0 16px; font-size: .88rem; color: var(--muted); }
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(150px, 19vw, 250px); grid-auto-flow: dense; gap: 10px; }
.g-grid.many > .g-item:first-child { grid-column: span 2; grid-row: span 2; }
.g-grid.one { grid-template-columns: 2fr 1fr; }
.g-grid.two { grid-template-columns: repeat(2, 1fr); }
.g-grid.one > .g-item, .g-grid.two > .g-item { grid-row: span 2; }
.g-item { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: var(--radius-sm); background: var(--sand); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.g-item:hover img { transform: scale(1.035); filter: brightness(.94); }
.g-cap { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 4px 10px; border-radius: 999px; background: rgba(10, 28, 24, .62); color: var(--white); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gallery-foot { max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--muted); }

/* ---------- Photo viewer ---------- */
.viewer { background: #0a0e0d; color: var(--white); }
.viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: fadeIn .2s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.viewer::backdrop { background: #0a0e0d; }
.viewer-top { display: flex; align-items: center; gap: 16px; padding: 12px var(--gutter); padding-top: max(12px, env(safe-area-inset-top)); }
.viewer-count { min-width: 70px; font-size: .9rem; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .75); }
.viewer-caption { flex: 1; min-width: 0; text-align: center; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-top .icon-btn { margin-left: auto; }
.viewer-stage { position: relative; min-height: 0; touch-action: pan-y pinch-zoom; user-select: none; }
#viewerImg { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0 clamp(8px, 7vw, 96px); object-fit: contain; transition: opacity .25s; -webkit-user-drag: none; }
#viewerImg.loading { opacity: .3; }
.viewer-nav { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; transform: translateY(-50%); border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .1); color: var(--white); cursor: pointer; transition: background-color .2s; }
.viewer-nav:hover { background: rgba(255, 255, 255, .22); }
.viewer-nav .ico { width: 24px; height: 24px; }
.viewer-nav.prev { left: clamp(8px, 2vw, 28px); }
.viewer-nav.next { right: clamp(8px, 2vw, 28px); }
.viewer-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 12px var(--gutter); padding-bottom: max(14px, env(safe-area-inset-bottom)); scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }
.viewer-thumbs > :first-child { margin-left: auto; }
.viewer-thumbs > :last-child { margin-right: auto; }
.viewer-thumbs button { flex: none; width: 74px; height: 52px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 6px; background: #1d2321; opacity: .5; cursor: pointer; transition: opacity .2s, border-color .2s; }
.viewer-thumbs button:hover { opacity: .85; }
.viewer-thumbs button.active { opacity: 1; border-color: var(--white); }
.viewer-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Reveal on scroll (only hides content once JS is running) ---------- */
.reveal-on .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal-on .reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (min-width: 1800px) {
  .container { width: min(1440px, calc(100% - 2 * var(--gutter))); }
  .g-section, .gallery-foot { max-width: 1440px; }
}

@media (max-width: 1100px) {
  .nav-links { gap: 20px; }
  .rooms { grid-template-columns: repeat(2, 1fr); }
  .rules-layout { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .menu-btn { display: grid; margin-left: 0; }
  .mobile-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 59; flex-direction: column; gap: 4px; padding: 16px var(--gutter) max(24px, env(safe-area-inset-bottom)); background: var(--paper); color: var(--ink); overflow-y: auto; }
  .menu-open .mobile-nav { display: flex; }
  .mobile-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.4rem; }
  .mobile-nav .btn { margin-top: 20px; }
  .split, .amenities-grid, .location-grid, .reviews-grid, .faq-grid { grid-template-columns: 1fr; }
  .amenities-intro { position: static; }
  .book-bar { grid-template-columns: 1fr 1fr 1fr; }
  .book-submit { grid-column: 1 / -1; margin-top: 8px; min-height: 52px; }
  .facts-row { grid-template-columns: repeat(2, 1fr); }
  .fact { padding: 20px 16px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .nav-cta { display: none; }
  .menu-btn { margin-left: auto; }
  .brand img { width: 40px; height: 40px; }
  .brand-text strong { font-size: 1.05rem; }

  .hero { min-height: auto; }
  .hero-inner { padding: calc(var(--header-h) + 120px) 0 28px; }
  .hero-lead { font-size: 1rem; }
  .book-bar { grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; border-radius: 18px; }
  .field { padding: 8px 12px; border: 1px solid var(--line); }
  .field:nth-of-type(3) { grid-column: 1 / -1; border-right: 1px solid var(--line); }
  .book-submit { margin-top: 0; }
  .book-note { padding: 10px 4px 2px; margin-top: 0; font-size: .76rem; align-items: flex-start; }
  .book-note .ico { margin-top: 2px; }

  .hero-shade { background: linear-gradient(180deg, rgba(9, 26, 22, .55) 0%, rgba(9, 26, 22, .4) 28%, rgba(9, 26, 22, .72) 55%, rgba(9, 26, 22, .94) 100%); }
  .fact { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 14px; }
  .fact .ico { width: 24px; height: 24px; }

  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; height: auto; gap: 6px; border-radius: 14px; }
  .tile { aspect-ratio: 1 / 1; }
  .tile-lead { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .mosaic-all { right: 10px; bottom: 10px; padding: 8px 12px; font-size: .82rem; }
  .tile-label { left: 8px; bottom: 8px; font-size: .72rem; }
  .mosaic .tile:not(.tile-lead) .tile-label { display: none; }

  .sub-head { margin-top: 52px; }
  .rooms { gap: 10px; }
  .room { padding: 18px; }
  .room-ico { margin-bottom: 12px; }
  .amenity-group ul { grid-template-columns: 1fr; gap: 14px; }
  .rule-list { grid-template-columns: 1fr; gap: 0; padding: 4px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
  .rule-list li { padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
  .rule-list li:last-child { border-bottom: 0; }
  .checkout { padding: 24px; }
  .bars div { grid-template-columns: 1fr 1fr; }

  .g-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(120px, 34vw, 220px); gap: 6px; }
  .gallery-book { display: none; }
  .viewer-nav { width: 40px; height: 40px; }
  #viewerImg { padding: 0; }
  .viewer-thumbs button { width: 60px; height: 44px; }

  .mobile-book { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(14, 36, 30, .08); transform: translateY(110%); transition: transform .3s ease; }
  .mobile-book.show { transform: none; }
  .mobile-book-meta { display: grid; line-height: 1.25; }
  .mobile-book-meta strong { font-size: .92rem; }
  .mobile-book-meta span { font-size: .78rem; color: var(--muted); }
  .menu-open .mobile-book { display: none; }
}

@media (max-width: 480px) {
  .rating-chip .stars { display: none; }
  .room h4 { font-size: 1rem; }
  .room p { font-size: .86rem; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 2.35rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-on .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-book, .book-bar, .mosaic-all, .cta { display: none !important; }
  .hero { min-height: auto; color: var(--ink); background: none; }
  .hero-img, .hero-shade { display: none; }
}
