/* Odreeyohan Resort: public site. Mobile-first. Tokens documented in docs/BRAND-GUIDE.md. */
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); font-weight: 300 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Tenor Sans'; src: url('/fonts/tenor-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-latin-wght-normal.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  /* Brand colour, sampled from the logo and the resort's own rate cards */
  --ink: #1C2338;          /* roofline navy: text, dark sections */
  --ink-soft: #2B3452;
  --sun: #F15C0F;          /* logo sunset orange: large decorative use only (3.35:1 on white) */
  --gold: #E5A239;         /* sun gradient gold: accents on ink */
  --ember: #B8470E;        /* accessible orange for buttons/links (white text 5.3:1) */
  --ember-deep: #933708;
  --forest: #3F5139;       /* rate-card green */
  --sage: #5E7355;
  --cream: #F7F1E6;        /* page background */
  --paper: #FFFDF8;
  --sand: #EDE3D1;
  --muted: #5C564B;        /* secondary text on cream, 6.5:1 */
  --line: rgba(28, 35, 56, .14);
  --focus: #1C2338;

  --display: 'Cormorant Garamond', 'Iowan Old Style', Garamond, Georgia, serif;  /* headings: light, large */
  --caps: 'Tenor Sans', 'Figtree', system-ui, sans-serif;                         /* eyebrows, nav, buttons: ALL CAPS, tracked */
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --track: .16em;                                                                 /* about 2.5px at 16px */

  --step--1: clamp(.83rem, .8rem + .15vw, .9rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.1rem + .5vw, 1.45rem);
  --step-2: clamp(1.6rem, 1.4rem + .9vw, 2.15rem);
  --step-3: clamp(2.1rem, min(1.7rem + 1.8vw, 1.6rem + 3vh), 3.2rem);
  --step-4: clamp(2.6rem, min(1.5rem + 3.4vw, 2.4rem + 4.6vh), 4.6rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1200px;
  --radius: 14px;
  --arch: 999px 999px var(--radius) var(--radius);
  --shadow: 0 1px 2px rgba(28,35,56,.06), 0 12px 32px -12px rgba(28,35,56,.25);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 var(--step-0)/1.6 var(--body); text-rendering: optimizeLegibility; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--ember-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.14; letter-spacing: -.005em; font-variant-numeric: lining-nums; margin: 0 0 .45em; text-wrap: balance; }
h3 { font-weight: 600; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; max-width: 64ch; text-wrap: pretty; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { top: 1rem; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.eyebrow { font: 400 var(--step--1)/1.3 var(--caps); letter-spacing: var(--track); text-transform: uppercase; color: var(--ember); margin-bottom: .8rem; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); }

/* Demo builds only: one fixed-height line, so layouts can make room for it (--banner-h) */
:root:has(.demo-banner) { --banner-h: 2rem; }
.demo-banner { margin: 0; height: var(--banner-h); display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter);
  background: var(--ink); color: var(--cream); font-size: var(--step--1); white-space: nowrap; overflow: hidden; max-width: none; }
.demo-banner strong { color: var(--gold); }

/* Buttons: 44px minimum targets */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 44px; padding: .65rem 1.25rem; border-radius: 999px;
  font: 400 .9rem/1.1 var(--caps); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--ember); color: #fff; }
.btn-primary:hover { background: var(--ember-deep); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-ghost-light { border-color: rgba(255,255,255,.8); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-wide { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.btn-row form { margin: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: .75rem; min-height: var(--header-h);
  padding: .5rem var(--gutter); background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand-disc { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; flex: none; }
.brand-disc img { width: 44px; height: 44px; object-fit: contain; }
.brand-disc.lg { width: 84px; height: 84px; }
.brand-disc.lg img { width: 72px; height: 72px; }
.brand-word { font: 600 1.45rem/1 var(--display); letter-spacing: .01em; gap: .3rem; display: flex; flex-direction: column; }
.brand-word small { font: 400 .6rem/1.6 var(--caps); letter-spacing: .24em; white-space: nowrap; text-transform: uppercase; color: var(--muted); }
.site-nav { order: 3; }
.nav-toggle { min-height: 44px; padding: .5rem .9rem; border-radius: 999px; border: 2px solid var(--ink); background: transparent; font: 400 .8rem var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
/* Phones and tablets: a full-height drawer that slides in from the right (site.js makes the page behind it inert). */
@media (max-width: 959px) {
  .js .site-nav #nav-list { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1; width: min(86vw, 380px); overflow-y: auto; overscroll-behavior: contain;
    padding: calc(var(--header-h) + 1.5rem) 1.6rem 2rem; background: var(--paper); box-shadow: -30px 0 60px -30px rgba(28,35,56,.45);
    /* display:none when closed: an off-screen fixed panel would widen the layout viewport on mobile browsers */
    display: none; transform: translateX(100%); transition: transform .5s cubic-bezier(.22,.8,.2,1), display .5s allow-discrete; }
  .js .site-nav.open #nav-list { display: block; transform: none; }
  @starting-style { .js .site-nav.open #nav-list { transform: translateX(100%); } }
  .js .nav-toggle { position: relative; z-index: 2; background: var(--paper); }
  .site-nav #nav-list > li { opacity: 1; }
  .js .site-nav.open #nav-list > li { animation: drawer-item .5s cubic-bezier(.22,.8,.2,1) both; }
  .js .site-nav.open #nav-list > li:nth-child(2) { animation-delay: .04s; } .js .site-nav.open #nav-list > li:nth-child(3) { animation-delay: .08s; }
  .js .site-nav.open #nav-list > li:nth-child(4) { animation-delay: .12s; } .js .site-nav.open #nav-list > li:nth-child(5) { animation-delay: .16s; }
  .js .site-nav.open #nav-list > li:nth-child(6) { animation-delay: .2s; } .js .site-nav.open #nav-list > li:nth-child(7) { animation-delay: .24s; }
  .nav-scrim { position: fixed; inset: 0; z-index: 35; background: rgba(14,18,30,.5); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s linear .4s; }
  .menu-open .nav-scrim { opacity: 1; visibility: visible; transition: opacity .4s; }
  html.menu-open { overflow: hidden; }
  /* backdrop-filter would make the header the containing block of the fixed drawer */
  .menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .nav-extra { padding-top: 1.6rem; }
  .site-nav #nav-list .nav-extra a.btn { display: flex; width: 100%; padding: .65rem 1.25rem; border: 2px solid transparent; font: 400 .9rem/1.1 var(--caps); color: #fff; }
  .site-nav #nav-list .nav-extra p { margin: 1rem 0 0; color: var(--muted); }
  .site-nav #nav-list .nav-extra p a { display: inline; padding: 0; border: 0; font: inherit; color: var(--ember-deep); }
}
@keyframes drawer-item { from { opacity: 0; transform: translateX(24px); } }
.nav-scrim { display: none; }
@media (max-width: 959px) { .js .nav-scrim { display: block; } }
@media (min-width: 960px) { .nav-extra { display: none; } }
.no-js .nav-toggle, .no-js .nav-extra { display: none; }
.no-js .site-nav #nav-list { display: flex; flex-wrap: wrap; gap: .2rem 1rem; }
.site-nav #nav-list a { display: block; padding: .8rem 0; font: 500 var(--step-2)/1.15 var(--display); text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.site-nav a[aria-current="page"] { color: var(--ember); }
.btn-book { order: 2; background: var(--ember); color: #fff; padding-inline: 1.1rem; }
.btn-book:hover { background: var(--ember-deep); color: #fff; }
@media (max-width: 420px) {
  .site-header { gap: .5rem; }
  .brand { gap: .45rem; }
  .brand-disc { width: 42px; height: 42px; } .brand-disc img { width: 38px; height: 38px; }
  .brand-word { font-size: 1.2rem; } .brand-word small { font-size: .52rem; letter-spacing: .14em; }
  .btn-book, .nav-toggle { padding-inline: .8rem; letter-spacing: .1em; }
}
@media (min-width: 960px) {
  .site-nav { order: 2; }
  .btn-book { order: 3; }
  .nav-toggle { display: none; }
  .js .site-nav #nav-list, .no-js .site-nav #nav-list { position: static; display: flex; gap: 1.6rem; background: none; padding: 0; box-shadow: none; border: 0; }
  .site-nav #nav-list a { padding: .4rem 0; font: 400 .82rem/1 var(--caps); letter-spacing: var(--track); text-transform: uppercase; border: 0; }
  .site-nav #nav-list a:hover { color: var(--ember); }
}

/* Hero. Phones: the photo owns the first screen with the headline on it; booking sits below on navy.
   Desktop: full-bleed photo with the headline and booking panel overlaid. */
.hero { position: relative; display: grid; color: #fff; isolation: isolate; background: var(--ink); }
/* Phones: the photo fills the first screen under the header; its fade ends in solid ink so there is no seam. */
/* Phones: the photo fills the first screen between the header and the sticky booking bar, so the headline is never under the bar */
.hero-media { grid-area: 1 / 1; position: relative; height: max(460px, calc(100svh - var(--header-h, 64px) - var(--sticky-h, 0px) - var(--banner-h, 0px))); }
.page-home { --sticky-h: calc(4.4rem + env(safe-area-inset-bottom)); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,35,56,0) 38%, rgba(28,35,56,.55) 68%, rgba(28,35,56,.92) 92%, var(--ink) 100%); }
.hero-inner { display: contents; }
.hero-title { grid-area: 1 / 1; align-self: end; position: relative; z-index: 1; padding: 0 var(--gutter) 2rem; }
.hero-book { padding: .4rem var(--gutter) 2.2rem; }
.hero .eyebrow { color: var(--gold); margin-bottom: .5rem; }
.hero h1 { font-size: var(--step-4); color: #fff; max-width: 14ch; margin: 0; text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.hero h1 em { font-style: italic; font-weight: 400; color: #FFE2C4; }
.hero-lede { font-size: var(--step-1); max-width: 40ch; color: #F1E8DC; }
@media (min-width: 960px) {
  .hero { min-height: calc(100svh - var(--header-h)); align-items: end; background: none; }
  .hero-media { position: absolute; inset: 0; height: auto; z-index: -1; }
  .hero-media::after { background: linear-gradient(180deg, rgba(28,35,56,0) 30%, rgba(28,35,56,.82) 100%); }
  .hero-inner { display: block; position: relative; max-width: var(--max); width: 100%; margin: 0 auto; padding: 8rem var(--gutter) 2.5rem; }
  .hero-title { padding: 0; }
  .hero-book { padding: 1rem 0 0; }
  .hero-lede { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
}

.quickbook { display: grid; gap: .6rem; margin-top: 1.4rem; padding: .9rem; border-radius: 22px; background: rgba(255,253,248,.97); color: var(--ink); box-shadow: var(--shadow); max-width: 760px; }
.qb-type { display: flex; gap: .35rem; border: 0; padding: 0; margin: 0; }
.qb-type label { flex: 1; position: relative; }
.qb-type input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.qb-type span { display: flex; justify-content: center; align-items: center; min-height: 44px; padding: .4rem .5rem; border-radius: 999px; border: 2px solid var(--line); font: 400 .74rem/1.2 var(--caps); letter-spacing: .12em; text-transform: uppercase; text-align: center; cursor: pointer; }
/* Larger, readable choice labels: the name in caps, what it covers beneath in sentence case */
.qb-type span { flex-direction: column; gap: .15rem; min-height: 52px; padding: .45rem .35rem; font-size: .84rem; letter-spacing: .07em; line-height: 1.1; white-space: nowrap; }
.qb-type small { font: 500 .78rem/1.15 var(--body); letter-spacing: 0; text-transform: none; opacity: .85; }
.qb-type input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.qb-trust { margin: 0; font-size: var(--step--1); line-height: 1.4; color: var(--muted); max-width: none; }
.book-trust { margin-top: .8rem; text-align: center; }
.qb-type input:focus-visible + span { outline: 3px solid var(--ember); outline-offset: 2px; }
.qb-field { display: grid; gap: .2rem; font-size: var(--step--1); font-weight: 700; color: var(--muted); }
.qb-field input { min-height: 44px; border: 2px solid var(--line); border-radius: 12px; padding: .5rem .7rem; font: 600 var(--step-0) var(--body); color: var(--ink); background: #fff; width: 100%; }
.qb-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: .6rem; }
.quickbook .btn { width: 100%; }
@media (min-width: 720px) {
  .quickbook { grid-template-columns: 1.6fr 1fr .7fr auto; align-items: end; }
  .qb-type { grid-column: 1 / -1; max-width: 460px; }
  .quickbook .btn { width: auto; }
  .quickbook .guest-hint { grid-row: 3; grid-column: 1 / -1; margin: 0; }
  .quickbook .qb-trust { grid-row: 4; grid-column: 1 / -1; }
}

/* Sections */
.section-head { padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto 2rem; }
.story, .ways, .rooms, .gallery-wrap { padding: clamp(3rem, 8vw, 7rem) 0; }
.story { background: var(--paper); }

/* Story: arched photo frames that echo the logo's sun disc */
.day-rail { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--max); display: grid; gap: 2.5rem; }
.chapter { display: grid; gap: 1rem; }
.ch-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--arch); }
.ch-time { font: 400 var(--step--1)/1 var(--caps); letter-spacing: var(--track); text-transform: uppercase; color: var(--sage); display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.ch-text h3 { font-size: var(--step-2); }
@media (min-width: 960px) {
  .day-rail { grid-template-columns: 1.35fr 1fr 1fr; align-items: start; gap: 2rem; }
  .ch-noon { margin-top: 6rem; }
  .ch-evening { margin-top: 2.5rem; }
  .ch-morning .ch-media img { aspect-ratio: 3 / 4; }
}

/* Ways to stay: alternating editorial rows, not cards */
.way { display: grid; gap: 1.2rem; max-width: var(--max); margin: 0 auto 3.5rem; padding: 0 var(--gutter); }
.way-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.way-text h3 { position: relative; padding-top: 1.4rem; }
.way-text h3::before { content: ''; position: absolute; top: 0; left: 0; width: 44px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 14'%3E%3Cpath d='M1 13 L12 3 L22 11 L32 3 L43 13' fill='none' stroke='%23B8470E' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat; }
.rate strong { font-weight: 700; font-size: var(--step-1); font-variant-numeric: tabular-nums; }
.rate .per, .rate-note { color: var(--muted); }
.rate-tiers .tier { white-space: nowrap; }
.tag { display: inline-block; font: 600 .84rem/1.25 var(--body); letter-spacing: .01em; padding: .25rem .65rem; border-radius: 999px; vertical-align: middle; }
.tag-muted { background: var(--sand); color: var(--ink-soft); }
.tag-warn { background: #FCE3CF; color: #7A2E05; }
@media (min-width: 960px) {
  /* Photos sized to the text beside them, so no cream band opens above and below the copy */
  .way { grid-template-columns: 1.3fr 1fr; align-items: center; gap: clamp(2.5rem, 4vw, 3.5rem); margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
  .way-flip { grid-template-columns: 1fr 1.3fr; }
  .way-flip .way-media { order: 2; }
  .way-media img { aspect-ratio: 16 / 9; max-height: 360px; }
  .way:last-child { margin-bottom: 0; }
}

/* Guest voices */
.voices { background: var(--ink); color: var(--cream); padding: clamp(3rem, 8vw, 6rem) var(--gutter); }
.voices h2 { max-width: var(--max); margin: 0 auto clamp(1.5rem, 3vw, 2.25rem); font-size: var(--step-2); color: var(--gold); }
.quote { margin: 0 auto 3.5rem; max-width: var(--max); }
.quote figcaption { margin-top: 1.2rem; }
.quote blockquote { margin: 0; }
.quote p { font: italic 400 var(--step-3)/1.3 var(--display); max-width: 26ch; color: #FFF6EA; }
.quote p::before { content: '“'; color: var(--sun); }
.quote p::after { content: '”'; color: var(--sun); }
.quote-sm p { font-size: var(--step-2); }
.quote figcaption { color: #D8CFC2; font-size: var(--step--1); }
.quote figcaption a { color: var(--gold); }

/* Visit strip */
.visit-strip { position: relative; display: grid; isolation: isolate; min-height: 70svh; align-items: end; }
.visit-media, .visit-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.visit-card { margin: var(--gutter); padding: clamp(1.4rem, 4vw, 2.5rem); background: var(--ink); color: var(--cream); border-radius: 22px; max-width: 560px; }
.visit-card a:not(.btn) { color: var(--gold); }
.visit-card h2 { font-size: var(--step-2); }

/* Inner page hero */
.page-hero { position: relative; min-height: 46svh; display: grid; align-items: end; isolation: isolate; color: #fff; }
.page-hero-media, .page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(28,35,56,.8)); }
.page-hero-inner { padding: 2rem var(--gutter); max-width: var(--max); width: 100%; margin: 0 auto; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { color: #fff; font-size: var(--step-4); margin: 0; }

.prose-wrap { max-width: 760px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) var(--gutter); }
.prose-wrap h2 { font-size: var(--step-2); margin-top: 1.6em; }
.specs { margin: 1.5rem 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.specs > div { display: grid; gap: .2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.specs dt { font: 400 var(--step--1)/1.4 var(--caps); letter-spacing: var(--track); text-transform: uppercase; color: var(--sage); }
.specs dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 720px) { .specs > div { grid-template-columns: 12rem 1fr; } }

/* Rooms */
.room { display: grid; gap: 1.2rem; max-width: var(--max); margin: 0 auto 4rem; padding: 0 var(--gutter); }
.room-media { position: relative; padding-bottom: 2.5rem; }
.room-main img { width: 78%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--arch); }
.room-bath { position: absolute; right: 0; bottom: 0; width: 42%; }
.room-bath img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--cream); }
.ticks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; }
.ticks li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.ticks li:first-child { border-top: 1px solid var(--line); }
@media (min-width: 960px) {
  .room { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
  .room-flip .room-media { order: 2; }
}

/* Amenities */
.amenity-list { max-width: var(--max); margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) 0; display: grid; gap: 2rem; }
.amenity img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: .9rem; }
.amenity h2 { font-size: var(--step-1); margin-bottom: .3em; }
@media (min-width: 720px) { .amenity-list { grid-template-columns: repeat(3, 1fr); } .amenity:nth-child(3n+2) { margin-top: 3rem; } }

/* Gallery */
.filters, .chip-row { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto 1.5rem; }
.chip-row { padding: 0; }
.chip { min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 400 .8rem var(--caps); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.chip[aria-pressed="true"], a.chip:hover { background: var(--ink); color: var(--cream); }
.masonry { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--max); columns: 1; column-gap: 1rem; }
.masonry li { break-inside: avoid; margin-bottom: 1rem; }
.masonry li[hidden] { display: none; }
.masonry a { display: block; border-radius: var(--radius); overflow: hidden; }
.masonry img { width: 100%; transition: transform .4s ease; }
.masonry a:hover img { transform: scale(1.02); }
@media (min-width: 640px) { .masonry { columns: 2; } }
@media (min-width: 1100px) { .masonry { columns: 3; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1200px); max-height: 96svh; color: #fff; }
.lightbox::backdrop { background: rgba(14,18,30,.92); }
.lb-frame { touch-action: pan-y pinch-zoom; user-select: none; }
.lb-frame img { max-height: 78svh; width: auto; margin: 0 auto; border-radius: 10px; -webkit-user-drag: none; }
.lb-count { font: 600 var(--step--1) var(--body); font-variant-numeric: tabular-nums; color: #fff; }
.lb-count:not(:empty)::after { content: ' ·'; color: #EDE3D1; font-weight: 400; }
.lb-caption { text-align: center; margin: .8rem auto; color: #EDE3D1; }
.lb-close { position: fixed; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.6rem; cursor: pointer; }
.lb-nav { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; }
.lb-nav form { margin: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font: 600 var(--step-1)/1.25 var(--display); font-size: clamp(1.3rem, 1.2rem + .6vw, 1.65rem); list-style: none; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .2rem; top: 1rem; font: 400 1.6rem var(--body); color: var(--ember); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 0 1.2rem; max-width: 62ch; }

/* Booking */
.page-book { background: var(--paper); }
.book-wrap { max-width: 1040px; margin: 0 auto; padding: clamp(1.5rem, 5vw, 4rem) var(--gutter) 5rem; }
.book-wrap h1 { font-size: var(--step-3); }
.steps { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; gap: .4rem; counter-reset: step; font-size: var(--step--1); font-weight: 700; color: var(--muted); flex-wrap: wrap; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: .35rem; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 2px solid var(--line); }
.steps li:not(:last-child)::after { content: ''; width: 1.2rem; height: 2px; background: var(--line); margin-left: .2rem; }
.steps li[aria-current="step"] { color: var(--ink); }
.steps li[aria-current="step"]::before { background: var(--ember); border-color: var(--ember); color: #fff; }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
legend { font: 600 clamp(1.45rem, 1.3rem + .7vw, 1.85rem)/1.15 var(--display); margin-bottom: .8rem; padding: 0; }
.product-pick { display: grid; gap: .7rem; }
.product-tile { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: .9rem; align-items: center; padding: .6rem; border: 2px solid var(--line); border-radius: 18px; background: #fff; cursor: pointer; }
.product-tile input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.product-tile img { width: 96px; height: 96px; object-fit: cover; border-radius: 999px 999px 10px 10px; }
.pt-text { display: grid; gap: .15rem; }
.pt-text strong { font: 600 clamp(1.4rem, 1.25rem + .6vw, 1.7rem)/1.1 var(--display); }
.pt-text span { color: var(--muted); font-size: var(--step--1); }
.product-tile:has(input:checked) { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(184,71,14,.15); }
.product-tile:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (min-width: 720px) {
  .product-pick { grid-template-columns: repeat(3, 1fr); }
  .product-tile { grid-template-columns: 1fr; align-content: start; }
  .product-tile img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
}
.field { display: grid; gap: .3rem; margin-bottom: 1rem; font-weight: 700; font-size: var(--step--1); }
.field input, .field textarea, .field select { min-height: 48px; padding: .6rem .8rem; border: 2px solid #8F877A; border-radius: 12px; font: 500 var(--step-0) var(--body); color: var(--ink); background: #fff; width: 100%; }
.field textarea { min-height: 96px; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field-row { display: grid; gap: 0 1rem; align-items: start; }
.field { align-content: start; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1.4fr 1fr 1fr; } }
.options { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.option h3 { font-size: var(--step-2); margin-bottom: .2em; }

/* Guests field note: the per-option limit, warm when the party needs more than one room or is over the limit */
.guest-hint { margin: -.15rem 0 0; font-size: var(--step--1); font-weight: 500; line-height: 1.35; color: var(--muted); max-width: none; }
/* Guidance, not an error: stays in ink, just firmer */
.guest-hint.is-warn { color: var(--ink); font-weight: 600; }
.field .guest-hint { margin-top: .1rem; }

/* Group too big for the choice: explain, then offer what fits */
.fit-panel { padding: clamp(1.25rem, 3vw, 2rem); background: var(--paper); border: 1px solid var(--line); border-radius: 22px; }
.fit-panel h2 { font-size: var(--step-3); margin-bottom: .25em; text-wrap: balance; }
.fit-panel .lede { margin-bottom: 1.4rem; }
.fit-options { margin-bottom: 1.2rem; }
.fit-status { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: var(--step--1); margin: 0 0 .9rem; }
.fit-status::before { content: ''; width: .6rem; height: .6rem; border-radius: 50%; background: currentColor; }
.fit-status.is-open { color: var(--forest); }
.fit-status.is-taken { color: var(--muted); }
.pair-notice .btn { margin-top: .2rem; }
.option { display: grid; gap: 1rem; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.option-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.option-off .option-media img { filter: grayscale(.7); opacity: .8; }
.option h2 { font-size: var(--step-2); margin-bottom: .2em; }
.option-price strong { font: 700 var(--step-1) var(--body); font-variant-numeric: tabular-nums; }
.option details { margin-bottom: 1rem; }
.option summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
@media (min-width: 720px) { .option { grid-template-columns: 260px 1fr; align-items: start; } .option-media img { aspect-ratio: 1; } }
.quote-table { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; font-size: var(--step--1); }
.quote-table th, .quote-table td { text-align: left; padding: .45rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.quote-table td { text-align: right; font-variant-numeric: tabular-nums; }
.quote-table tfoot th, .quote-table tfoot td { font-weight: 800; font-size: var(--step-0); }
.quote-table tfoot .muted th, .quote-table tfoot .muted td { font-weight: 600; font-size: var(--step--1); }
.details-grid { display: grid; gap: 2rem; }
.summary { background: var(--cream); border-radius: 20px; padding: 1rem; align-self: start; }
.summary-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; margin-bottom: 1rem; }
.summary h2 { font-size: var(--step-1); }
@media (min-width: 960px) { .details-grid { grid-template-columns: 360px 1fr; } .summary { position: sticky; top: calc(var(--header-h) + 1rem); } }
.radio-card { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem; border: 2px solid var(--line); border-radius: 16px; margin-bottom: .6rem; cursor: pointer; background: #fff; }
.radio-card input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--ember); flex: none; }
.radio-card > span { display: grid; gap: .2rem; }
.radio-card .muted { font-size: var(--step--1); }
.radio-card:has(input:checked) { border-color: var(--ember); }
.notice { padding: .9rem 1rem; border-radius: 14px; background: var(--sand); margin: 0 0 1rem; max-width: none; }
.notice p:last-child { margin-bottom: 0; }
.notice-warn { background: #FCE8D6; color: #5B2304; }
.notice-error { background: #FBE0DC; color: #7A1A0E; border: 1px solid #E8A89E; }
.notice-ok { background: #E3EDDF; color: #243522; }
.notice-strong { background: #FFF4E6; border: 2px solid var(--gold); }
.status { display: inline-block; padding: .2em .6em; border-radius: 12px; font-size: .8em; }
.status-hold { background: #FFF1D6; color: #6B3D00; }
.status-ok { background: #DDEBD8; color: #1F3A1B; }
.status-done { background: var(--sand); color: var(--ink); }
.status-off { background: #ECE7E0; color: #4A4540; }
.status-warn { background: #FBE0DC; color: #7A1A0E; }
.empty { padding: 2rem; background: var(--cream); border-radius: 20px; text-align: center; }
.empty p { margin-inline: auto; }
.empty .chip-row { justify-content: center; }

/* Footer */
.site-footer { background: var(--ink); color: #DCD4C6; padding: 3rem var(--gutter) 2rem; display: grid; gap: 2rem; }
.site-footer a { color: #fff; }
.footer-h { font: 400 var(--step--1)/1 var(--caps); letter-spacing: var(--track); text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer ul a { display: inline-block; padding: .25rem 0; }
.footer-brand { display: flex; gap: 1rem; align-items: center; }
.footer-fine { grid-column: 1 / -1; font-size: var(--step--1); color: #B5AC9E; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.2rem; margin: 0; max-width: none; }
.footer-fine a { color: #D8CFC2; }
@media (min-width: 800px) { .site-footer { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; } .site-footer nav ul { grid-template-columns: repeat(2, max-content); column-gap: 2.5rem; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .btn, .chip, .qb-type span { border: 2px solid ButtonText; }
}

/* ===== Modern layer (v2): crisper type, glass booking bar, transparent home header, facts, photo rail, reveals ===== */
.hero h1 { font-weight: 400; letter-spacing: 0; line-height: 1.12; max-width: 11em; }
.hero h1 .line + .line { margin-top: .08em; }
.hero-lede { margin-top: 1rem; }
.quickbook .btn { white-space: nowrap; }
.btn-primary { box-shadow: 0 8px 20px -10px rgba(184,71,14,.7); }
.way-media img, .amenity img, .option-media img, .summary-media img { border-radius: 22px; }
.way-media, .amenity picture, .rail li { overflow: hidden; border-radius: 22px; }
.way-media img, .amenity img, .rail img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.way:hover .way-media img, .amenity:hover img, .rail li:hover img { transform: scale(1.035); }

/* Facts strip */
/* Price strip: the three ways to book and what each costs, straight under the hero form */
.prices { background: var(--paper); border-bottom: 1px solid var(--line); }
.price-strip { list-style: none; margin: 0 auto; padding: .25rem var(--gutter); max-width: var(--max); display: grid; }
.price-strip li + li { border-top: 1px solid var(--line); }
.price-strip a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "what price"; gap: .2rem 1rem; align-items: center;
  padding: 1rem 0; color: inherit; text-decoration: none; }
.ps-name { grid-area: name; font: 500 var(--step-2)/1.05 var(--display); transition: color .2s; }
.ps-what { grid-area: what; font-size: var(--step--1); line-height: 1.35; color: var(--muted); }
.ps-price { grid-area: price; text-align: right; white-space: nowrap; line-height: 1.1; }
.ps-price strong { display: block; font: 700 var(--step-1)/1.1 var(--body); font-variant-numeric: tabular-nums; color: var(--ember); }
.ps-price small { font-size: var(--step--1); color: var(--muted); }
.ps-quote { display: inline-block; max-width: 8.5rem; white-space: normal; font-size: var(--step--1); font-weight: 600; color: var(--ink-soft); }
.price-strip a:hover .ps-name, .price-strip a:focus-visible .ps-name { color: var(--ember); }
.price-strip a:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; border-radius: 12px; }
@media (min-width: 960px) {
  .price-strip { grid-template-columns: repeat(3, 1fr); padding-block: .5rem; }
  .price-strip li + li { border-top: 0; border-left: 1px solid var(--line); }
  .price-strip a { padding: 1.4rem 1.6rem; }
  .price-strip li:first-child a { padding-left: 0; }
  .price-strip li:last-child a { padding-right: 0; }
}

/* Photo mosaic: every photo visible at once, no sideways scrolling. One large tile + four small; the last opens the gallery. */
.rail-wrap { padding: clamp(3rem, 8vw, 6rem) 0; background: var(--cream); }
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.rail-head h2 { margin: 0; }
.mosaic { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--max); display: grid; gap: .6rem;
  grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(120px, 34vw, 220px); }
.mosaic li { overflow: hidden; border-radius: 18px; }
.mosaic li:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic a { display: block; height: 100%; position: relative; }
.mosaic picture { display: block; height: 100%; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic-more span { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1rem;
  background: rgba(28,35,56,.55); color: #fff; font: 400 .8rem var(--caps); letter-spacing: var(--track); text-transform: uppercase; transition: background .3s; }
.mosaic-more a:hover span { background: rgba(28,35,56,.7); }
@media (min-width: 640px) { .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 18vw, 250px); gap: .75rem; } }
@media (min-width: 960px) { .mosaic { gap: .9rem; } .mosaic li { border-radius: 22px; } }

/* Subtle scrollbars everywhere */
html { scrollbar-width: thin; scrollbar-color: rgba(28,35,56,.28) transparent; }
* { scrollbar-width: thin; scrollbar-color: rgba(28,35,56,.28) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(28,35,56,.22); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(28,35,56,.4); background-clip: padding-box; }

/* Desktop home: full-screen hero under a transparent header, glass booking bar */
@media (min-width: 960px) {
  .page-home .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; transition: background-color .3s, border-color .3s; }
  .page-home .site-header:not(.scrolled) .brand, .page-home .site-header:not(.scrolled) .site-nav #nav-list a { color: #fff; }
  .page-home .site-header:not(.scrolled) .brand-word small { color: rgba(255,255,255,.8); }
  .page-home .site-header.scrolled { background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(12px); border-color: var(--line); }
  .page-home .hero { min-height: 100svh; }
  /* Bottom padding includes --frame-b: when scrolling draws the photo into its rounded frame, the frame's bottom
     edge moves up by that much, and the booking card (and its shadow) must stay inside it. */
  .page-home .hero-inner { padding-top: calc(var(--header-h) + clamp(1rem, 8vh, 6rem)); padding-bottom: calc(var(--frame-b, 0px) + clamp(1.75rem, 5vh, 3rem)); }
  .hero-lede { font-size: clamp(1.05rem, .9rem + .5vw, 1.25rem); max-width: 46ch; }
  .quickbook { margin-top: clamp(.8rem, 2.5vh, 1.4rem); }
  .quickbook { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); color: #fff; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); }
  .quickbook .qb-field { color: rgba(255,255,255,.88); }
  .quickbook .qb-type span { border-color: rgba(255,255,255,.45); color: #fff; }
  .quickbook .qb-type input:checked + span { background: #fff; border-color: #fff; color: var(--ink); }
  .quickbook .qb-field input { border-color: transparent; }
  .quickbook .guest-hint, .quickbook .qb-trust { color: rgba(255,255,255,.85); }
  .quickbook .guest-hint.is-warn { color: #fff; }
}

/* Reveal on scroll (only when motion is welcome; content is visible without JS) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.in { opacity: 1; transform: none; }
}
.hero .eyebrow, .page-hero .eyebrow { color: #FFE6C9; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
@media (min-width: 960px) { .page-home .hero-media::after { background: linear-gradient(90deg, rgba(28,35,56,.55) 0%, rgba(28,35,56,.15) 55%, rgba(28,35,56,0) 100%), linear-gradient(180deg, rgba(28,35,56,.35) 0%, rgba(28,35,56,0) 25%, rgba(28,35,56,0) 55%, rgba(28,35,56,.7) 100%); } }

/* ===== Motion layer (v3): cinematic hero, headline reveal, page transitions, parallax, staggered reveals =====
   Everything here is transform / opacity / clip-path only, and all of it is off under prefers-reduced-motion
   (the global rule above cancels animations and transitions; view transitions opt in only when motion is welcome). */
.page-hero, .visit-strip, .hero-media, .page-hero-media { overflow: clip; }

@media (prefers-reduced-motion: no-preference) {
  /* Headline and hero copy rise in on load */
  .hero h1 .line, .page-hero h1 { display: block; animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 .line + .line { animation-delay: .16s; }
  .hero .eyebrow, .page-hero .eyebrow { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-lede { animation: rise 1s cubic-bezier(.2,.7,.2,1) .38s both; }
  .quickbook { animation: rise 1s cubic-bezier(.2,.7,.2,1) .52s both; }
  .page-hero h1 { animation-delay: .1s; }

  /* Cinematic reveal: the photo settles on load (frame), then draws into a rounded frame as you scroll,
     while the image inside drifts slower than the page. The 1.1 image scale gives the drift room. */
  .hero-media img, .page-hero-media img { scale: 1.1; animation: settle 2.8s cubic-bezier(.2,.7,.2,1) both; }
  @supports (animation-timeline: scroll()) {
    .hero-media { animation: hero-frame linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    .hero-media img, .page-hero-media img { animation: settle 2.8s cubic-bezier(.2,.7,.2,1) both, drift linear both;
      animation-timeline: auto, scroll(root); animation-range: normal, 0 100vh; }
    /* Parallax: background photos move slower than the page */
    .visit-media img { animation: parallax linear both; animation-timeline: view(); animation-range: cover; }
  }
  .scroll-fallback .hero-media { clip-path: inset(0 calc(var(--p, 0) * var(--frame-x)) calc(var(--p, 0) * var(--frame-b)) round calc(var(--p, 0) * var(--frame-r))); }
  .scroll-fallback .hero-media img, .scroll-fallback .page-hero-media img { translate: 0 calc(var(--p, 0) * 4.5%); }

  /* Staggered entrances for lists (site.js sets --i) */
  .js .stagger > .reveal { transition-delay: calc(var(--i, 0) * 90ms); }
}
/* Phones: no scroll frame. The photo runs edge to edge and dissolves into the navy below. */
.hero { --frame-x: 0px; --frame-b: 0px; --frame-r: 0px; }
@media (min-width: 960px) { .hero { --frame-x: 2.5vw; --frame-b: 3vh; --frame-r: 34px; } }
@keyframes rise { from { opacity: 0; translate: 0 .45em; filter: blur(6px); } to { opacity: 1; translate: 0 0; filter: none; } }
@keyframes settle { from { scale: 1.18; } to { scale: 1.1; } }
@keyframes hero-frame { from { clip-path: inset(0 0 0 0 round 0); } to { clip-path: inset(0 var(--frame-x) var(--frame-b) round var(--frame-r)); } }
@keyframes drift { from { translate: 0 0; } to { translate: 0 4.5%; } }
@keyframes parallax { from { translate: 0 -7%; scale: 1.16; } to { translate: 0 7%; scale: 1.16; } }

/* Page-to-page: a soft cross-dissolve everywhere, and a sienna colour wipe when entering the booking flow */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: vt-out .28s ease both; }
  ::view-transition-new(root) { animation: vt-in .45s cubic-bezier(.2,.7,.2,1) .05s both; }
  html:active-view-transition-type(to-book)::view-transition { background: var(--ember); }
  html:active-view-transition-type(to-book)::view-transition-old(root) { animation: vt-out .22s ease both; }
  html:active-view-transition-type(to-book)::view-transition-new(root) { animation: wipe-in .7s cubic-bezier(.7,0,.2,1) .12s both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; translate: 0 10px; } }
@keyframes wipe-in { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
a[href^="tel:"] { white-space: nowrap; }
.booking-ref { color: var(--muted); margin-bottom: .6rem; }

/* ===== Wide layouts (v4): use the full width on desktop, single column on phones ===== */
.split, .cols-2 { max-width: var(--max); margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) var(--gutter); display: grid; gap: 2.5rem; }
.split-text > :first-child { margin-top: 0; }
.split-text h2 { font-size: var(--step-3); }
.split-media img { width: 100%; object-fit: cover; aspect-ratio: 4 / 5; border-radius: var(--radius); }
.split-media.arch img, .split-media .arch img { border-radius: var(--arch); }
.split-media.duo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; align-items: end; }
.split-media.duo picture:last-child img { aspect-ratio: 3 / 4; margin-bottom: 3rem; }
.cols-2 h2 { font-size: var(--step-2); }
.help-card { margin-top: 1.5rem; padding: 1.4rem 1.5rem; border-radius: 22px; background: var(--paper); box-shadow: var(--shadow); }
.help-card p { margin-bottom: .6rem; }
.help-card p:last-child { margin: .9rem 0 0; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; }
  .split.faq-page { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
  .faq-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
  .cols-2 { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
  .split-media img { max-height: min(78vh, 720px); }
  /* Guest voices stacked: the headline quote runs wide, the short one sits beneath it */
  .voices { display: grid; gap: clamp(2rem, 4vw, 3rem);
    padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
  .voices .quote, .voices h2 { margin: 0; max-width: none; }
  .voices .quote p { max-width: 36ch; }
  .voices .quote-sm { padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgba(255,246,234,.14); }
}

/* Phones: sticky booking bar, shown by site.js once the hero form has scrolled away */
.sticky-book { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: .8rem; min-height: var(--sticky-h); box-sizing: border-box;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -18px rgba(28,35,56,.45); transform: translateY(110%); visibility: hidden;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s linear .45s; }
.sticky-book.is-shown { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.sb-text { display: grid; margin: 0; min-width: 0; flex: 1; line-height: 1.25; }
.sb-label { font: 400 .76rem/1.2 var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sb-summary { font-weight: 600; font-size: var(--step--1); color: var(--ink); text-wrap: balance; }
.sticky-book .btn { flex: none; }
@media (min-width: 960px) { .sticky-book { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky-book, .sticky-book.is-shown { transition: none; } }

/* Quiet text link for "see more" navigation, so it never competes with booking buttons */
.link-more { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 600; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.link-more::after { content: ''; width: .45em; height: .45em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.link-more:hover { color: var(--ember); text-decoration-color: currentColor; }
.link-more:hover::after { transform: translateX(3px) rotate(45deg); }

/* Booking results for a big group: bookable options first; unavailable ones shrink to a compact line */
.fit-options .option-off { order: 2; grid-template-columns: 1fr; padding: .9rem 1rem; background: transparent; }
.fit-options .option-off .option-media { display: none; }
.fit-options .option-off h3 { font-size: var(--step-1); }
.fit-options .option-off .fit-status { margin-bottom: 0; }

/* Steps: on narrow phones only the current step keeps its name, so the row stays on one line */
@media (max-width: 479px) {
  .steps li:not([aria-current]) .step-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .steps li:not(:last-child)::after { width: .8rem; }
}

/* The home grid's viewer continues through these; they are never shown as tiles */
.lb-extra { display: none; }

/* Proof after the quotes: what the resort has already hosted */
.hosted { max-width: var(--max); margin: clamp(2rem, 4vw, 3rem) auto 0; padding-top: clamp(1.5rem, 3vw, 2.25rem); border-top: 1px solid rgba(255,246,234,.14); }
.hosted h3 { font-size: var(--step-1); color: var(--gold); margin-bottom: .9rem; }
.hosted-list { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hosted-list li { padding: .45rem .9rem; border: 1px solid rgba(255,246,234,.28); border-radius: 999px; color: #FFF6EA; font-size: var(--step--1); }
.hosted-note { margin: 0; color: #D8CFC2; font-size: var(--step--1); }
@media (min-width: 960px) { .voices .hosted { margin: 0; } }

/* Demo builds on the desktop home page: the banner stays pinned above the transparent header */
@media (min-width: 960px) {
  .page-home .demo-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 60; }
  .page-home .site-header { top: var(--banner-h, 0px); }
  .page-home .hero-inner { padding-top: calc(var(--header-h) + var(--banner-h, 0px) + clamp(1rem, 8vh, 6rem)); }
}

/* iPhone (Safari and in-app browsers like Messenger): date boxes keep their own minimum width and centre the date,
   so they poke out of narrow forms. Let them shrink to the column and read left-aligned like the other fields. */
input[type="date"] { -webkit-appearance: none; appearance: none; min-width: 0; max-width: 100%; box-sizing: border-box; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.qb-field, .field { min-width: 0; }
