/* Our Tahoe Cabin: the booking page (ourtahoecabin.com/book/), v2 "editorial".
   The front page's colors and type, laid out like a magazine: big serif headlines, numbered sections, thin rules,
   lots of room. No boxes: the OwnerRez widgets are restyled dark from inside (see ownerrez-css/), so they sit
   straight on the page. */

:root {
  color-scheme: dark;
  --pine: #0d1311;          /* page */
  --pine-2: #141c19;        /* raised panels */
  --snow: #eef0ea;          /* text */
  --granite: #a3aca6;       /* quieter text */
  --bulb: #f6c56b;          /* the accent: string-light gold */
  --sand: #ebdaa6;          /* the pine logo's color, on every site */
  --line: rgba(238, 240, 234, .14);
  --line-strong: rgba(238, 240, 234, .28);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --gutter: clamp(16px, 5vw, 56px);
  --wide: 1240px;
}

* { box-sizing: border-box; }
html { background: var(--pine); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pine);
  color: var(--snow);
  font: 400 1.05rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
figure, blockquote, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--bulb); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: calc(var(--wide) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font: 600 .72rem/1.3 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--bulb);
}
.stars { color: var(--bulb); }

/* ---------- The masthead: a full-width photo, the headline over it, and a map hiding behind a round "seal" ----------
   Clicking the seal widens a circle (clip-path) until the map fills the whole masthead; "Back to photo" shrinks it.
   --seal is the circle's radius, --sx/--sy its center (bottom right on computers, top right on phones). */
.masthead {
  --seal: 46px; --sx: calc(100% - var(--gutter) - 50px); --sy: calc(100% - 104px);
  position: relative; overflow: hidden; isolation: isolate;
  height: min(90vh, 920px); height: min(90svh, 920px); min-height: 600px;
}
.mast-photo, .mast-shade { position: absolute; inset: 0; }
.mast-photo {
  width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%;
  animation: settle 2.2s var(--ease) both;
  transition: transform 1.2s var(--ease), filter 1.2s var(--ease);
}
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.masthead.is-open .mast-photo { transform: scale(1.06); filter: brightness(.45) blur(3px); }
.mast-shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(13, 19, 17, .6) 0%, rgba(13, 19, 17, 0) 24%),
    linear-gradient(0deg, var(--pine) 0%, rgba(13, 19, 17, .82) 26%, rgba(13, 19, 17, .1) 62%),
    linear-gradient(90deg, rgba(13, 19, 17, .72) 0%, rgba(13, 19, 17, .38) 34%, rgba(13, 19, 17, 0) 62%);
}

/* Top bar: the Home pill, and a small numbered index of the page */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: calc(env(safe-area-inset-top, 0px) + 20px);
}
.home-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px 9px 11px; border-radius: 999px;
  border: 1px solid rgba(235, 218, 166, .5); background: rgba(13, 19, 17, .4);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 600 .66rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--sand);
  text-decoration: none; transition: background .3s, color .3s, border-color .3s;
}
.home-pill svg { width: 12px; height: 17px; fill: currentColor; }
.home-pill:hover, .home-pill:focus-visible { background: var(--sand); border-color: var(--sand); color: var(--pine); }
.index { display: flex; gap: clamp(18px, 3vw, 36px); margin: 0; padding: 0; list-style: none; }
.index a {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 6px 0; border-bottom: 1px solid transparent;
  font: 600 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: rgba(238, 240, 234, .85); text-decoration: none; transition: color .3s, border-color .3s;
  text-shadow: 0 1px 8px rgba(13, 19, 17, .6);
}
.index a span { font: italic 500 .95rem/1 var(--serif); letter-spacing: 0; color: var(--bulb); }
.index a:hover { color: var(--snow); border-color: var(--bulb); }

/* The headline block, over the bottom left of the photo. It steps aside while the map is open. */
.hero-words {
  position: absolute; left: 0; right: 0; bottom: clamp(44px, 8vh, 88px); z-index: 3;
  display: grid; gap: 1.1rem; justify-items: start;
  transition: opacity .5s, transform .6s var(--ease), visibility 0s;
}
.masthead.is-open .hero-words { opacity: 0; transform: translateY(14px); visibility: hidden; transition: opacity .35s, transform .5s var(--ease), visibility 0s .5s; }
.hero-words h1 { font: 500 clamp(3.4rem, 9vw, 7.6rem)/.9 var(--serif); letter-spacing: -.015em; }
.hero-words h1 em { display: block; font-style: italic; font-weight: 400; color: var(--bulb); }
.lede { max-width: 36ch; font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: rgba(238, 240, 234, .85); }
.rating { font: 500 .9rem/1.3 var(--sans); color: var(--snow); }
.jump {
  margin-top: .4rem; padding-bottom: 4px; border-bottom: 1px solid var(--bulb);
  font: 700 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--snow); text-decoration: none; transition: color .3s;
}
.jump:hover { color: var(--bulb); }

/* The map, hidden behind the seal until it's opened */
.map-layer {
  position: absolute; inset: 0; z-index: 2;
  clip-path: circle(var(--seal) at var(--sx) var(--sy));
  /* What shows in the circle until the map has loaded: dark, with a gold glow */
  background: radial-gradient(circle at var(--sx) var(--sy), rgba(246, 197, 107, .45) 0, rgba(246, 197, 107, 0) 26px), #101a16;
  transition: clip-path 1.1s var(--ease);
  pointer-events: none;
}
.masthead.is-open .map-layer { clip-path: circle(150% at var(--sx) var(--sy)); pointer-events: auto; }
/* (two class names, so this outranks the map library's own "position: relative" that loads later) */
.map-layer > .map { position: absolute; inset: 0; }
/* Soft dark edges at the top and bottom, so the Home pill, index and note stay easy to read over the map */
.map-layer::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 19, 17, .75) 0, rgba(13, 19, 17, 0) 150px),
    linear-gradient(0deg, rgba(13, 19, 17, .65) 0, rgba(13, 19, 17, 0) 130px);
}

/* The seal: a gold ring over the circle, with "Click for map view" beside it. It breathes gently to invite a click. */
.map-seal {
  position: absolute; z-index: 5;
  left: calc(var(--sx) - var(--seal)); top: calc(var(--sy) - var(--seal));
  width: calc(var(--seal) * 2); height: calc(var(--seal) * 2);
  padding: 0; border: 1.5px solid var(--bulb); border-radius: 50%; background: transparent; cursor: pointer;
  box-shadow: 0 0 0 5px rgba(13, 19, 17, .4), 0 0 26px rgba(246, 197, 107, .4);
  transition: transform .45s var(--ease), opacity .45s, box-shadow .45s;
  animation: breathe 3.2s ease-in-out infinite;
}
@keyframes breathe { 50% { box-shadow: 0 0 0 5px rgba(13, 19, 17, .4), 0 0 40px rgba(246, 197, 107, .65); } }
.seal-label {
  position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%);
  padding: 9px 14px 8px; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(246, 197, 107, .45);
  background: rgba(13, 19, 17, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 700 .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--snow);
  transition: background .3s, color .3s;
}
.map-seal:hover, .map-seal:focus-visible { transform: scale(1.06); }
.map-seal:hover .seal-label, .map-seal:focus-visible .seal-label { background: var(--bulb); color: var(--pine); }
/* "Click" with a mouse, "Tap" on a touch screen */
.on-touch { display: none; }
@media (hover: none) { .on-mouse { display: none; } .on-touch { display: inline; } }
.masthead.is-open .map-seal { opacity: 0; transform: scale(1.5); pointer-events: none; animation: none; }

/* "Back to photo": appears where the seal was */
.map-close {
  position: absolute; z-index: 5; right: var(--gutter); top: calc(var(--sy) - 21px);
  display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px 0 15px;
  border: 1px solid rgba(246, 197, 107, .6); border-radius: 999px;
  background: rgba(13, 19, 17, .75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 700 .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--snow); cursor: pointer;
  opacity: 0; transform: scale(.85); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease), background .25s, color .25s;
}
.map-close span { font-size: .95rem; letter-spacing: 0; color: var(--bulb); }
.masthead.is-open .map-close { opacity: 1; transform: none; pointer-events: auto; transition-delay: .55s; }
.map-close:hover, .map-close:focus-visible { background: var(--bulb); color: var(--pine); }
.map-close:hover span, .map-close:focus-visible span { color: var(--pine); }
.map-note {
  position: absolute; z-index: 2; left: var(--gutter); bottom: 24px; max-width: calc(100% - 2 * var(--gutter));
  padding: 8px 13px 7px; border-radius: 999px;
  background: rgba(13, 19, 17, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font: 500 .78rem/1.2 var(--sans); color: var(--snow);
  opacity: 0; transition: opacity .4s;
}
.masthead.is-open .map-note { opacity: 1; transition-delay: .65s; }

/* The map's own buttons and credits, in the page's colors (hidden while it's just the little circle) */
.map-layer .maplibregl-control-container { opacity: 0; transition: opacity .4s; }
.masthead.is-open .maplibregl-control-container { opacity: 1; transition-delay: .6s; }
/* + and − at the top left, under the Home pill; the map credits at the top right, under the page index */
.map-layer .maplibregl-ctrl-top-left { top: 76px; left: calc(var(--gutter) - 10px); }
.map-layer .maplibregl-ctrl-top-right { top: 76px; right: calc(var(--gutter) - 10px); }
.map-layer .maplibregl-ctrl-group { background: rgba(13, 19, 17, .8); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: none; }
.map-layer .maplibregl-ctrl-group button + button { border-top-color: var(--line); }
.map-layer .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1) brightness(.9); }
.map-layer .maplibregl-ctrl-attrib { background: rgba(13, 19, 17, .72) !important; color: var(--granite); font-size: 10px; }
.map-layer .maplibregl-ctrl-attrib-inner, .map-layer .maplibregl-ctrl-attrib-inner a { color: var(--granite) !important; }
.map-layer .maplibregl-ctrl-attrib-button { filter: invert(1); }
.map-layer .maplibregl-cooperative-gesture-screen { background: rgba(13, 19, 17, .7); color: var(--snow); font: 500 .95rem/1.4 var(--sans); }
/* The cabin on the map: a little gold A-frame with a lit window and a soft string-light glow behind it.
   (It sits on Airbnb's approximate spot, not the house.) Its name shows only when the map is open. */
.map-cabin { position: relative; pointer-events: none; }   /* sized by the icon, so the icon is what sits on the spot */
.cabin-icon { position: relative; display: block; width: 40px; height: 40px; flex: none; transition: transform .6s var(--ease); }
.cabin-icon::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(246, 197, 107, .5), rgba(246, 197, 107, .14) 55%, rgba(246, 197, 107, 0));
}
.cabin-icon svg { position: relative; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 2px 6px rgba(13, 19, 17, .8)); }
.cabin-icon .roof { fill: var(--pine); stroke: var(--bulb); stroke-width: 2.2; stroke-linejoin: round; }
.cabin-icon .glass { fill: rgba(246, 197, 107, .85); }
.cabin-icon .beam { fill: none; stroke: var(--pine); stroke-width: 1.4; }
.cabin-name {
  position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%);
  font: italic 500 1.35rem/1 var(--serif); color: var(--bulb); white-space: nowrap;
  text-shadow: 0 1px 10px rgba(13, 19, 17, .95), 0 0 2px rgba(13, 19, 17, .95);
  transition: opacity .4s;
}
.masthead:not(.is-open) .cabin-name { opacity: 0; }
.masthead.is-open .cabin-name { transition-delay: .7s; }
.masthead:not(.is-open) .cabin-icon { transform: scale(.9); }

/* The ski areas on the map: a small gold mountain, the name, and the distance (hidden while it's the little circle) */
.map-place { pointer-events: none; }
.map-place > span {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  text-shadow: 0 1px 10px rgba(13, 19, 17, .95), 0 0 2px rgba(13, 19, 17, .95);
  transition: opacity .4s;
}
/* Name underneath the icon, centered: "Downtown Truckee" then "4.4 mi" */
.map-place.is-below > span { flex-direction: column; gap: 4px; }
.map-place svg { width: 20px; height: 14px; flex: none; fill: rgba(246, 197, 107, .2); stroke: var(--bulb); stroke-width: 1.3; stroke-linejoin: round; }
.map-place svg .dot { fill: var(--bulb); stroke: none; }
.map-place b { font: italic 500 1.15rem/1 var(--serif); color: var(--snow); }
.map-place small { font: 700 .6rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bulb); }
.masthead:not(.is-open) .map-place > span { opacity: 0; }
.masthead.is-open .map-place > span { transition-delay: .7s; }

/* The caption in the bottom-right corner: Fig. 1 for the photo, Fig. 2 for the map */
.mast-caption { position: absolute; z-index: 3; right: var(--gutter); bottom: 24px; display: grid; justify-items: end; }
.fig { grid-area: 1 / 1; font: italic 400 .98rem/1.3 var(--serif); color: rgba(238, 240, 234, .8); text-shadow: 0 1px 8px rgba(13, 19, 17, .7); transition: opacity .5s; }
.fig b { margin-right: .5em; font: 600 .62rem/1 var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--bulb); }
.fig-2 { opacity: 0; }
.masthead.is-open .fig-1 { opacity: 0; }
.masthead.is-open .fig-2 { opacity: 1; transition-delay: .5s; }

/* Fully open (map.js adds "is-full" when the circle has finished growing, or after 1.3 s at the latest):
   no stencil at all, and everything snaps to its open look, even if the browser skipped the animations */
.masthead.is-full .map-layer { clip-path: none; }
.masthead.is-full .map-layer, .masthead.is-full .hero-words, .masthead.is-full .map-seal, .masthead.is-full .map-close,
.masthead.is-full .map-note, .masthead.is-full .fig, .masthead.is-full .mast-photo,
.masthead.is-full .maplibregl-control-container, .masthead.is-full .cabin-name, .masthead.is-full .map-place > span { transition: none; }

/* The house in numbers: a spec sheet with thin dividers */
.specs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.specs > div { padding: 18px 18px 20px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.specs > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.specs dt { margin-bottom: 8px; font: 600 .64rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--granite); }
.specs dd { font: 500 clamp(1.4rem, 2.2vw, 1.75rem)/1.05 var(--serif); color: var(--snow); }
.specs dd small { display: block; margin-top: 4px; font: 500 .78rem/1.3 var(--sans); color: var(--granite); }

/* ---------- Sections: a number, a big title, a quiet note, and a rule above ---------- */
.sec { padding-top: clamp(72px, 10vw, 128px); }
.sec-head {
  display: grid; align-items: baseline;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px clamp(16px, 2.4vw, 28px);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.sec-head::before { content: ""; grid-column: 1 / -1; height: 1px; margin-bottom: clamp(18px, 2.4vw, 26px); background: var(--line-strong); }
.sec-num { font: italic 400 clamp(1.2rem, 2vw, 1.5rem)/1 var(--serif); color: var(--bulb); }
.sec-head h2 { font: 500 clamp(2.3rem, 5.4vw, 4rem)/1 var(--serif); letter-spacing: -.01em; }
.sec-aside { max-width: 30ch; text-align: right; font-size: .9rem; color: var(--granite); }
.col-label {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 600 .66rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--granite);
}
.col-label::before { content: ""; width: 22px; height: 1px; background: var(--bulb); }

/* ---------- 01 Dates & booking ---------- */
.dates-grid {
  display: grid; align-items: start;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  grid-template-areas: "cal book";
  gap: clamp(28px, 4vw, 56px);
}
.col-cal { grid-area: cal; }
.col-book { grid-area: book; padding-left: clamp(28px, 4vw, 56px); border-left: 1px solid var(--line); }
.book-fine { margin-top: 16px; font-size: .84rem; color: var(--granite); }

/* The widgets draw themselves inside a frame (an iframe) that grows to fit */
.ownerrez-widget { min-height: 120px; }
.ownerrez-widget iframe { display: block; width: 100%; }

/* "Peek": a fixed-height window onto the long calendar, fading into the page. The link opens it fully. */
.peek { position: relative; max-height: 600px; overflow: hidden; }
.peek::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px;
  background: linear-gradient(rgba(13, 19, 17, 0), var(--pine) 88%);
  pointer-events: none; transition: opacity .3s;
}
.peek.is-open { max-height: none; }
.peek.is-open::after { opacity: 0; }
.more-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 6px 0;
  background: none; border: 0; border-bottom: 1px solid var(--bulb); cursor: pointer;
  font: 700 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--snow);
}
.more-link::after { content: "↓"; font-size: .9rem; letter-spacing: 0; color: var(--bulb); transition: transform .3s var(--ease); }
.more-link[aria-expanded="true"]::after { transform: rotate(180deg); }
.more-link:hover { color: var(--bulb); }

/* ---------- 02 Guests say: one big quote at a time ---------- */
.quote-stage { display: grid; min-height: clamp(220px, 26vw, 330px); }
.quote {
  grid-area: 1 / 1; align-self: center;
  display: grid; gap: clamp(18px, 2.4vw, 28px);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), visibility 0s .9s;
}
.quote.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .9s var(--ease) .15s, transform .9s var(--ease) .15s, visibility 0s; }
.quote blockquote p {
  position: relative; max-width: 22ch;
  font: italic 400 clamp(2.2rem, 5.6vw, 4.6rem)/1.04 var(--serif); letter-spacing: -.01em;
  text-indent: -.42em;   /* hangs the opening quote mark out into the margin, like a magazine */
}
.quote.is-long blockquote p { max-width: 30ch; font-size: clamp(1.8rem, 4vw, 3.2rem); }
.quote blockquote p::before { content: "“"; color: var(--bulb); }
.quote blockquote p::after { content: "”"; color: var(--bulb); }
.quote figcaption { font: 600 .74rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--snow); }
.quote figcaption span { color: var(--granite); }

.quote-bar {
  display: grid; align-items: center; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(28px, 4vw, 44px);
}
.quote-count { font: italic 400 1.15rem/1 var(--serif); color: var(--granite); font-variant-numeric: tabular-nums; }
.quote-count #quote-now { color: var(--bulb); }
.quote-progress { height: 1px; background: var(--line); }
.quote-progress i { display: block; height: 100%; width: 0; background: var(--bulb); }
.quote-buttons { display: flex; gap: 8px; }
.qbtn {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line-strong); border-radius: 50%; background: none; cursor: pointer;
  font: 400 1rem/1 var(--sans); color: var(--snow); transition: border-color .25s, color .25s;
}
.qbtn:hover { border-color: var(--bulb); color: var(--bulb); }
.ico-pause { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.qbtn[aria-pressed="true"] .ico-pause { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }

/* "Read all 18 reviews": the live reviews widget, folded away */
.all-reviews { margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.all-reviews summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; list-style: none; cursor: pointer;
  font: 700 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--snow);
}
.all-reviews summary::-webkit-details-marker { display: none; }
.all-reviews summary::after { content: "+"; font: 400 1.4rem/1 var(--sans); color: var(--bulb); transition: transform .3s var(--ease); }
.all-reviews[open] summary::after { transform: rotate(45deg); }
.all-reviews summary:hover span { color: var(--bulb); }
.all-reviews .ownerrez-widget { padding-bottom: 24px; }

/* ---------- 03 House notes: numbered fold-out rows ---------- */
.fold { border-top: 1px solid var(--line); }
.fold:last-of-type { border-bottom: 1px solid var(--line); }
.fold summary {
  display: grid; align-items: baseline;
  grid-template-columns: 3.2rem minmax(0, 1fr) auto 30px;
  gap: 4px 18px;
  padding: 22px 0; list-style: none; cursor: pointer;
}
.fold summary::-webkit-details-marker { display: none; }
.fold-num { font: italic 400 1.2rem/1 var(--serif); color: var(--bulb); }
.fold-title { font: 500 clamp(1.5rem, 3vw, 2.1rem)/1.1 var(--serif); color: var(--snow); transition: color .25s; }
.fold-meta { font: 500 .82rem/1.3 var(--sans); color: var(--granite); text-align: right; }
/* The + on the right turns into an × when the row is open */
.fold summary::after {
  content: "+"; align-self: center;
  display: grid; place-items: center; width: 30px; height: 30px;
  border: 1px solid rgba(246, 197, 107, .45); border-radius: 50%;
  font: 400 1.2rem/1 var(--sans); color: var(--bulb);
  transition: transform .3s var(--ease), background .3s;
}
.fold[open] summary::after { transform: rotate(45deg); background: rgba(246, 197, 107, .12); }
.fold summary:hover .fold-title { color: var(--bulb); }
.fold-body { padding: 0 0 26px calc(3.2rem + 18px); color: var(--granite); max-width: calc(66ch + 3.2rem); }
.fold-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.fold-body li { position: relative; padding-left: 20px; }
.fold-body li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 1px; background: var(--bulb); }
.fold-body strong { color: var(--snow); font-weight: 600; }
.fold[open] .fold-body { animation: fold-in .35s var(--ease); }
@keyframes fold-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.sign-off { margin-top: clamp(44px, 6vw, 72px); max-width: 40ch; }
.sign-off p { font: italic 400 clamp(1.5rem, 3vw, 2.2rem)/1.2 var(--serif); color: var(--snow); }
.sign-off footer { margin-top: 14px; font: 600 .72rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--bulb); }

.airbnb-line { margin-top: clamp(36px, 5vw, 56px); font-size: .95rem; color: var(--granite); }
.airbnb-line a { color: var(--snow); font-weight: 600; text-decoration-color: rgba(246, 197, 107, .6); text-underline-offset: 4px; }
.airbnb-line a:hover { color: var(--bulb); }

/* ---------- The cabin footer (the same on every page) ---------- */
.site-foot {
  margin-top: clamp(72px, 10vw, 128px);
  border-top: 1px solid var(--line);
  padding-block: clamp(44px, 6vw, 68px) calc(env(safe-area-inset-bottom, 0px) + 30px);
  font-size: .95rem; color: var(--granite);
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 32px 48px; }
.foot-brand { display: grid; gap: .55rem; justify-items: start; align-content: start; }
.foot-home { display: grid; gap: .55rem; justify-items: start; text-decoration: none; }
.foot-home svg { width: 21px; height: 30px; fill: var(--sand); }
.foot-name { font: 500 1.7rem/1 var(--serif); color: var(--snow); }
.foot-col { display: grid; gap: .65rem; align-content: start; }
.foot-h { margin-bottom: .2rem; font: 600 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--bulb); }
.foot-col a { color: var(--snow); text-decoration: none; text-underline-offset: 3px; }
.foot-col a:hover { text-decoration: underline; }
.foot-fine { margin-top: clamp(32px, 5vw, 52px); font-size: .8rem; }

/* The small tag on the preview copies of the widgets (preview only: see standins.js) */
.preview-tag {
  display: inline-block; margin: 0 0 12px; padding: 4px 9px;
  border: 1px dashed rgba(246, 197, 107, .6); border-radius: 4px;
  font: 600 .62rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--bulb);
}

/* ---------- Smaller screens ---------- */
@media (max-width: 980px) {
  .specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .specs > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .specs > div:nth-child(n + 4) { border-top: 0; }
  /* One column, booking form first: on a phone the action comes before the long calendar */
  .dates-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "book" "cal"; }
  .col-book { padding-left: 0; border-left: 0; padding-bottom: clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--line); }
  .peek { max-height: 520px; }
}
@media (max-width: 760px) {
  .index { display: none; }
  /* On phones the headline fills the bottom, so the seal moves to the top right, under the Home pill's row */
  .masthead { --seal: 32px; --sx: calc(100% - var(--gutter) - 34px); --sy: 112px; min-height: 620px; }
  .mast-caption { display: none; }
  .cabin-icon { width: 34px; height: 34px; }
  .masthead:not(.is-open) .cabin-icon { transform: scale(.8); }
  /* "Back to photo" sits top right on phones, so the map credits move down to the bottom right */
  .map-layer .maplibregl-ctrl-top-right { top: auto; bottom: 14px; }
  .map-note { bottom: 22px; max-width: calc(100% - 2 * var(--gutter) - 44px); }
  .sec-head { grid-template-columns: auto minmax(0, 1fr); }
  .sec-aside { grid-column: 2; text-align: left; }
  .fold summary { grid-template-columns: 2.2rem minmax(0, 1fr) 30px; }
  .fold-meta { grid-column: 2; grid-row: 2; text-align: left; }
  .fold summary::after { grid-column: 3; grid-row: 1 / span 2; }
  .fold-body { padding-left: calc(2.2rem + 18px); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .quote-bar { grid-template-columns: auto minmax(0, 1fr); }
  .quote-buttons { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .home-pill { padding: 8px 10px; }
  .home-pill span { display: none; }
  .specs > div { padding-right: 10px; }
  .specs > div + div { padding-left: 12px; }
  .specs > div:nth-child(4) { padding-left: 0; }
}
@media (max-width: 380px) {
  .foot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mast-photo, .map-seal, .fold[open] .fold-body { animation: none; }
  .map-layer, .mast-photo, .hero-words { transition: none; }
  .quote, .quote.is-on { transition: opacity .01s, visibility 0s; transform: none; }
  .more-link::after, .fold summary::after, .all-reviews summary::after { transition: none; }
}
