/* ==========================================================================
   Maria’s Adobe | style.css
   Mobile-first base styles. Larger screens are layered on in responsive.css.

   1. Tokens          6. Hero              11. Location
   2. Fonts/fallbacks 7. Sections & type   12. Amenities
   3. Reset & base    8. Frames & reveals  13. Contact
   4. Buttons, links  9. Property/spaces   14. Footer
   5. Header & menu  10. Gallery/Experience 15. Lightbox, motion prefs
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Palette: warm stone and bone; the photography supplies the colour */
  --bone: #f5f1ea;        /* page background */
  --sand: #ebe3d7;        /* alternate sections */
  --ink: #221f1b;         /* headings, primary text */
  --ink-2: #3d3832;       /* body text */
  --muted: #6b645b;       /* secondary text (AA on bone and sand) */
  --line: rgba(34, 31, 27, .14);
  --night: #171513;       /* dark sections, footer */
  --on-dark: #efe9df;
  --on-dark-muted: rgba(239, 233, 223, .72);
  --line-dark: rgba(239, 233, 223, .18);
  --clay: #8a5238;        /* single accent: hairlines, numbers, focus (AA on bone + sand) */

  --serif: "Noto Serif Display", "Serif Fallback", Georgia, "Times New Roman", serif;   /* headlines only (large sizes) */
  --serif-text: "Noto Serif", "Text Serif Fallback", Georgia, "Times New Roman", serif;  /* serif below headline size */
  --clay-light: #d9a383;  /* accent on dark backgrounds */
  --sans: "Manrope", "Sans Fallback", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --maxw: 90rem;
  --section-y: clamp(4.75rem, 13vw, 11rem);
  --header-h: 4.25rem;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* 2. Font fallbacks: local fonts resized to the web fonts' measured metrics, so text
   does not jump when the web fonts arrive (measured in Chrome: Noto Serif Display 400 is
   6.7% wider than Georgia, 300 is 2.8% wider; Manrope is 2.1% narrower than Arial;
   vertical metrics 1.07 / 0.29 and 1.07 / 0.30 of the font size) */
@font-face {
  font-family: "Serif Fallback"; font-weight: 400; src: local("Georgia");
  size-adjust: 106.7%; ascent-override: 100.3%; descent-override: 27.2%; line-gap-override: 0%;
}
@font-face {
  font-family: "Serif Fallback"; font-weight: 300; src: local("Georgia");
  size-adjust: 102.8%; ascent-override: 104.1%; descent-override: 28.2%; line-gap-override: 0%;
}
/* Noto Serif (text cut) vs Georgia, measured: Latin 108.0%, italic 102.8%, Greek 104.6% */
@font-face {
  font-family: "Text Serif Fallback"; font-style: normal; src: local("Georgia");
  size-adjust: 108%; ascent-override: 99.1%; descent-override: 26.9%; line-gap-override: 0%;
}
@font-face {
  font-family: "Text Serif Fallback"; font-style: italic; src: local("Georgia Italic"), local("Georgia-Italic");
  size-adjust: 102.8%; ascent-override: 104.1%; descent-override: 28.2%; line-gap-override: 0%;
}
@font-face {
  font-family: "Text Serif Fallback"; font-style: normal; src: local("Georgia"); unicode-range: U+0370-03FF, U+1F00-1FFF;
  size-adjust: 104.6%; ascent-override: 102.3%; descent-override: 27.7%; line-gap-override: 0%;
}

/* Greek letters have different proportions, measured separately (Greek page) */
@font-face {
  font-family: "Serif Fallback"; font-weight: 400; src: local("Georgia"); unicode-range: U+0370-03FF, U+1F00-1FFF;
  size-adjust: 104.8%; ascent-override: 102.1%; descent-override: 27.7%; line-gap-override: 0%;
}
@font-face {
  font-family: "Serif Fallback"; font-weight: 300; src: local("Georgia"); unicode-range: U+0370-03FF, U+1F00-1FFF;
  size-adjust: 101.1%; ascent-override: 105.8%; descent-override: 28.7%; line-gap-override: 0%;
}
@font-face {
  font-family: "Sans Fallback"; src: local("Arial"); unicode-range: U+0370-03FF, U+1F00-1FFF;
  size-adjust: 102.8%; ascent-override: 104.1%; descent-override: 29.2%; line-gap-override: 0%;
}
@font-face {
  font-family: "Sans Fallback"; src: local("Arial");
  size-adjust: 97.9%; ascent-override: 109.3%; descent-override: 30.6%; line-gap-override: 0%;
}

/* 3. Reset & base ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, dl, dd, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
address { font-style: normal; }
::selection { background: var(--clay); color: var(--bone); }

:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.stay :focus-visible, .site-footer :focus-visible, .menu :focus-visible,
.lightbox :focus-visible, .hero :focus-visible, .site-header:not(.is-solid) :focus-visible {
  outline-color: var(--on-dark);
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--flip { transform: scaleX(-1); }

.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 100;
  padding: .75rem 1.25rem; background: var(--ink); color: var(--bone);
  font-size: .8rem; letter-spacing: .08em;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* 4. Buttons & links ------------------------------------------------------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 3.25rem; padding: 0 2rem;
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; line-height: 1;
  border: 1px solid currentColor;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
/* fill that sweeps up on hover */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .55s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn--sm { min-height: 2.6rem; padding: 0 1.3rem; font-size: .68rem; }

.btn--light { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn--light::before { background: var(--ink); }
.btn--light:hover, .btn--light:focus-visible { color: var(--on-dark); }

.btn--ghost { color: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--bone); }

.btn--ghost-light { color: var(--on-dark); border-color: var(--line-dark); }
.btn--ghost-light::before { background: var(--on-dark); }
.btn--ghost-light:hover, .btn--ghost-light:focus-visible { color: var(--ink); border-color: var(--on-dark); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .75em;
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink); padding-block: .5rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.link-arrow .icon:last-child { transition: transform .5s var(--ease-out); }
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow:hover .icon:last-child { transform: translateX(.35em); }
.icon--lead { color: var(--clay); }

/* 5. Header & menu --------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--on-dark);
  transition: transform .6s var(--ease), background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header::before { /* soft top scrim so the white nav reads over any photo */
  content: ""; position: absolute; inset: 0 0 -2.5rem; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(10, 9, 8, .38), transparent);
  transition: opacity .5s var(--ease);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--header-h); max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
}
.site-header.is-solid { background: rgba(245, 241, 234, .97); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-solid .site-header__cta { color: var(--ink); }
.site-header:not(.is-solid) .site-header__cta { color: var(--on-dark); border-color: rgba(239, 233, 223, .55); }
.site-header:not(.is-solid) .site-header__cta::before { background: var(--on-dark); }
.site-header:not(.is-solid) .site-header__cta:hover { color: var(--ink); }

.wordmark {
  font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1;
  letter-spacing: .01em; white-space: nowrap;
  margin-right: auto;
}

.nav, .site-header__cta { display: none; } /* shown from 1024px */
.nav__list { display: flex; gap: clamp(1.5rem, 2.6vw, 2.75rem); }
.nav__list a {
  font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  padding-block: .5rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease-out);
}
.nav__list a:hover, .nav__list a[aria-current="true"] { background-size: 100% 1px; }

.menu-toggle {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: .8rem; min-height: 2.75rem;
  font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.menu-toggle__lines { display: grid; gap: 6px; width: 1.6rem; }
.menu-toggle__lines span { height: 1px; background: currentColor; transition: transform .45s var(--ease); }
body.menu-open .site-header { color: var(--on-dark); background: transparent; box-shadow: none; transform: none; }
body.menu-open .site-header::before { opacity: 0; }

.menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 3rem) var(--gutter) 2.5rem;
  background: var(--night); color: var(--on-dark);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.menu__list { display: grid; gap: .35rem; }
.menu__list a {
  display: flex; align-items: baseline; gap: 1rem;
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.1rem, 9vw, 3.5rem); line-height: 1.2;
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease-out), color .3s;
}
.menu.is-open .menu__list a { opacity: 1; transform: none; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .05s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: .1s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: .15s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: .2s; }
.menu.is-open .menu__list li:nth-child(6) a { transition-delay: .25s; }
.menu__list a:hover { color: #fff; }
.menu__num { font-family: var(--sans); font-size: .7rem; letter-spacing: .15em; color: var(--clay); }
.menu__foot { display: grid; gap: .4rem; font-size: .9rem; color: var(--on-dark-muted); }

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: 100vh; min-height: 100svh;
  color: var(--on-dark); background: #3a3530; overflow: hidden;
}
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img {
  object-fit: cover; object-position: var(--hero-focus, 50% 55%);
  animation: hero-settle 3.2s var(--ease-out) both;
}
.hero::after { /* bottom scrim for legibility; keeps the image dominant */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(12, 11, 10, .72) 0%, rgba(12, 11, 10, .34) 38%, rgba(12, 11, 10, 0) 68%),
    linear-gradient(to right, rgba(12, 11, 10, .55) 0%, rgba(12, 11, 10, .2) 45%, rgba(12, 11, 10, 0) 72%);
}
.hero__content { text-shadow: 0 1px 28px rgba(12, 11, 10, .35); }
.hero__eyebrow { font-size: .72rem; }
.hero__content {
  position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding: 0 var(--gutter) clamp(6.5rem, 16vh, 9rem);
}
.hero__eyebrow { color: var(--on-dark); margin-bottom: 1.25rem; }
.hero__eyebrow::before { background: var(--on-dark); }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 12.5vw, 10rem); line-height: .95; letter-spacing: -.02em;
  max-width: 12ch; overflow-wrap: anywhere;
}
.hero__lede {
  margin-top: 1.25rem; max-width: 30ch;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem); line-height: 1.35; color: var(--on-dark);
}
/* transform only: the text is painted immediately (good for LCP), then settles */
[data-hero-line] { animation: settle-up 1.4s var(--ease-out) both; }
[data-hero-line]:nth-child(1) { animation-delay: .25s; }
[data-hero-line]:nth-child(2) { animation-delay: .4s; }
[data-hero-line]:nth-child(3) { animation-delay: .6s; }

.hero__scroll {
  position: absolute; z-index: 1; right: var(--gutter); bottom: 2rem;
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark-muted);
  animation: rise 1s var(--ease-out) 1.1s both;
}
.hero__scroll span { writing-mode: vertical-rl; }
.hero__scroll i { position: relative; width: 1px; height: 3.5rem; background: rgba(239, 233, 223, .25); overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--on-dark);
  animation: scroll-cue 2.4s var(--ease) infinite;
}

@keyframes hero-settle { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes settle-up { from { transform: translateY(18px); } to { transform: none; } }
@keyframes scroll-cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* 7. Sections & typography ------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section-head { margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; }

.eyebrow {
  display: flex; align-items: center; gap: .9rem;
  font-family: var(--sans); font-size: .68rem; font-weight: 500; line-height: 1.4;
  letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.75rem;
}
.eyebrow__num { color: var(--clay); letter-spacing: .12em; }
.eyebrow__num::after { content: ""; display: inline-block; width: 2rem; height: 1px; margin-left: .9rem; vertical-align: middle; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--on-dark-muted); }

.h2 {
  font-family: var(--serif); font-weight: 300; color: var(--ink);
  font-size: clamp(2.5rem, 7vw, 5.25rem); line-height: 1.02; letter-spacing: -.015em;
  max-width: 16ch; text-wrap: balance;
}
.h3 {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(1.55rem, 2.5vw, 2.1rem); line-height: 1.15; letter-spacing: -.005em;
  margin-bottom: 1rem;
}
.h2 em, .h3 em, .display-lede em, .interlude__line em { font-style: italic; font-weight: 300; }

.display-lede {
  font-family: var(--serif); font-weight: 300; color: var(--ink);
  font-size: clamp(1.85rem, 4.4vw, 3.5rem); line-height: 1.14; letter-spacing: -.01em;
  text-wrap: balance;
}
.prose { max-width: 34rem; }
.prose p + p { margin-top: 1.1em; }

/* 8. Frames & scroll reveals ----------------------------------------------- */
.frame { position: relative; overflow: hidden; background: var(--sand); }
.frame img, .frame picture { width: 100%; height: 100%; }
.frame img { object-fit: cover; }
.frame--landscape { aspect-ratio: 3 / 2; }
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--tall { aspect-ratio: 3 / 2; }

/* Reveals only apply when JS is running (html.js) so content never hides without it */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* image "curtain" reveal: a bone panel lifts away while the photo settles */
.js .reveal-img::after {
  content: ""; position: absolute; inset: 0; background: var(--bone);
  transform-origin: top; transition: transform 1.3s var(--ease-out);
}
.js .reveal-img img { transform: scale(1.12); transition: transform 2s var(--ease-out); }
.js .reveal-img.is-in::after { transform: scaleY(0); }
.js .reveal-img.is-in img { transform: none; }
.location .reveal-img::after { background: var(--sand); }

/* 9. Welcome & property ---------------------------------------------------- */
.welcome__grid { display: grid; gap: clamp(3.5rem, 8vw, 6rem); }
.welcome .prose { margin-top: clamp(2rem, 4vw, 3rem); }
.host-note {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-left: 1.5rem;
  border-left: 1px solid var(--clay); max-width: 30rem;
}
.host-note blockquote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.3rem; line-height: 1.45; color: var(--ink); }
.host-note figcaption { margin-top: .9rem; font-size: .68rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

.property { background: var(--sand); }
.property .frame, .property .reveal-img::after { background: var(--sand); }
.js .property .reveal-img::after { background: var(--sand); }

.figures { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.figures__item { padding: 1.75rem 0 2rem; border-bottom: 1px solid var(--line); }
.figures__item:nth-child(odd) { padding-right: 1rem; border-right: 1px solid var(--line); }
.figures__item:nth-child(even) { padding-left: 1.5rem; }
.figures dt { font-size: .66rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.figures dd {
  margin-top: .6rem; font-family: var(--serif); font-weight: 300; color: var(--ink);
  font-size: clamp(2.75rem, 7vw, 5.25rem); line-height: 1; letter-spacing: -.02em;
}
.figures small { font-size: .35em; margin-left: .15em; letter-spacing: 0; }

.spaces { display: grid; gap: clamp(4.5rem, 10vw, 9rem); margin-top: clamp(4.5rem, 10vw, 8rem); }
.space { display: grid; gap: 1.75rem; }
.space__text { max-width: 26rem; }
.space__text .eyebrow { margin-bottom: 1rem; }

/* Interlude */
.interlude { position: relative; height: 78svh; min-height: 26rem; overflow: hidden; display: grid; place-items: center; background: #3a3530; }
/* no parallax bleed: the bottom of the photo (the lit staircase) must stay visible */
.interlude__media { position: absolute; inset: 0; }
.interlude__media picture, .interlude__media img { width: 100%; height: 100%; }
.interlude__media img { object-fit: cover; object-position: 50% 100%; }
.interlude::after { content: ""; position: absolute; inset: 0; background: rgba(12, 11, 10, .28); }
.interlude__line {
  position: relative; z-index: 1; padding-inline: var(--gutter); text-align: center;
  font-family: var(--serif); font-weight: 300; color: var(--on-dark);
  font-size: clamp(2.2rem, 7vw, 5.5rem); line-height: 1.05; letter-spacing: -.015em;
}

/* 10. Gallery -------------------------------------------------------------- */
/* Mobile: a swipeable filmstrip that peeks the next photo */
.gallery__grid {
  display: flex; gap: .75rem; align-items: flex-end;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.gallery__grid::-webkit-scrollbar { display: none; }
.g { flex: 0 0 84%; scroll-snap-align: start; }
.g a { position: relative; display: block; overflow: hidden; background: var(--sand); cursor: zoom-in; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.g a:hover img { transform: scale(1.04); }
.g a { aspect-ratio: 4 / 5; } /* one consistent crop in the mobile filmstrip */
.g picture { height: 100%; }

/* Experience ---------------------------------------------------------------- */
.experience__stage { display: none; } /* desktop only */
.experience__moments {
  display: flex; gap: 1rem; counter-reset: moment;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.experience__moments::-webkit-scrollbar { display: none; }
.moment { flex: 0 0 min(82%, 24rem); scroll-snap-align: start; }
.moment .h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.moment > p:last-child { font-size: .95rem; }
.moment__media { margin-bottom: 1.4rem; }
.moment__time {
  display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem;
  font-size: .68rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--clay);
}
.moment__time::before { counter-increment: moment; content: "0" counter(moment); color: var(--muted); }
.moment > p:last-child { max-width: 30rem; }

/* 11. Location ------------------------------------------------------------- */
.location { background: var(--sand); }
.location__grid { display: grid; gap: clamp(3.5rem, 8vw, 6rem); }
.location .prose { margin-bottom: 2.5rem; }
.distances { border-top: 1px solid var(--line); margin-bottom: 2rem; max-width: 34rem; }
.distances div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.distances dt { font-size: .95rem; color: var(--ink-2); }
.distances dd { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); white-space: nowrap; }
.distances__title { margin: 3rem 0 1rem; }
/* Two times per place (walk / car), stacked on the right */
.distances__note { margin: -1rem 0 2rem; font-size: .85rem; color: var(--muted); }

/* 12. Amenities ------------------------------------------------------------ */
.amenities__grid { display: grid; border-top: 1px solid var(--line); }
.amenity { border-bottom: 1px solid var(--line); }
.amenity__head {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  padding: 1.15rem 0; cursor: pointer; list-style: none;
}
.amenity__head::-webkit-details-marker { display: none; }
.amenity__chevron { width: 1.25rem; height: 1.25rem; fill: none; stroke: var(--muted); stroke-width: 1.5; transition: transform .4s var(--ease); }
.amenity[open] .amenity__chevron { transform: rotate(180deg); }
.amenity ul { padding: 0 0 1.35rem calc(1.6rem + 1rem); }
.amenity__icon { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--clay); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 0; }
.amenity__title { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; color: var(--ink); }
.amenity li { font-size: .95rem; color: var(--ink-2); padding-block: .28rem; }


/* 13. Stay terms (base list; used in 09 Contact) ------------------------ */

.details { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2.75rem; border-top: 1px solid var(--line-dark); max-width: 32rem; }
.details div { padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); }
.details dt { font-size: .64rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-muted); }
.details dd { margin-top: .3rem; font-family: var(--serif); font-size: 1.15rem; color: var(--on-dark); }


/* 14. Footer --------------------------------------------------------------- */
.site-footer { background: var(--night); color: var(--on-dark-muted); padding-top: clamp(4rem, 8vw, 6rem); font-size: .92rem; border-top: 1px solid var(--line-dark); }
.wordmark--footer { display: inline-block; color: var(--on-dark); font-size: 1.9rem; }
.site-footer__col { line-height: 1.9; }
.site-footer__col .eyebrow { margin-bottom: .75rem; }
.site-footer a:hover { color: var(--on-dark); }
/* bottom bar: the rule spans the content width only, like the columns above */
.site-footer__legal {
  display: grid; gap: .6rem;
  padding-block: 1.75rem 2.25rem; border-top: 1px solid var(--line-dark);
  font-size: .75rem; letter-spacing: .04em;
}
.site-footer__legal a { text-decoration: underline; text-underline-offset: .25em; }
@media (min-width: 768px) {
  .site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
}

/* 15. Lightbox ------------------------------------------------------------- */
.lightbox {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(14, 13, 12, .97); color: var(--on-dark);
}
.lightbox[open] { display: grid; place-items: center; animation: fade .4s var(--ease) both; }
.lightbox::backdrop { background: transparent; }
.lightbox__figure { display: grid; justify-items: center; gap: 1rem; padding: 4.5rem 1rem 1.25rem; width: 100%; height: 100%; grid-template-rows: 1fr auto; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; min-height: 0; align-self: center; transition: opacity .35s var(--ease); }
.lightbox__img.is-loading { opacity: 0; }
.lightbox__caption { display: flex; gap: 1.5rem; justify-content: space-between; width: 100%; max-width: 60rem; font-size: .8rem; color: var(--on-dark-muted); }
.lightbox__count { font-variant-numeric: tabular-nums; letter-spacing: .12em; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 3rem; height: 3rem; border: 1px solid var(--line-dark); border-radius: 50%;
  color: var(--on-dark); background: rgba(14, 13, 12, .4);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.lightbox__btn:hover { background: rgba(239, 233, 223, .1); border-color: var(--on-dark); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev, .lightbox__next { bottom: 1rem; }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Motion preferences -------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-img img { opacity: 1; transform: none; }
  .js .reveal-img::after { display: none; }
  .hero__scroll i::after { display: none; }
}

/* Section-specific spacing */
.location .h2 { margin-bottom: 2rem; }
.welcome .display-lede { max-width: 18ch; }
/* Small type over photography needs extra separation */
.hero__eyebrow { letter-spacing: .3em; text-shadow: 0 1px 14px rgba(12, 11, 10, .75), 0 0 2px rgba(12, 11, 10, .5); }
.interlude__line { text-shadow: 0 2px 30px rgba(12, 11, 10, .45); }

.details__note { margin-top: 1.25rem; font-size: .85rem; color: var(--on-dark-muted); }
@media (max-width: 767px) {
  .hero::after {
    background: linear-gradient(to top, rgba(12, 11, 10, .8) 0%, rgba(12, 11, 10, .5) 42%, rgba(12, 11, 10, .12) 70%, rgba(12, 11, 10, 0) 85%);
  }
}
.hero .hero__eyebrow { color: var(--on-dark); } /* beats the generic .eyebrow colour defined later */

/* ==========================================================================
   Language switch, carousels, reviews, phone polish
   ========================================================================== */

/* Language switch (EN / EL) */
.lang { display: flex; align-items: center; font-size: .72rem; font-weight: 500; letter-spacing: .16em; }
.lang__item { display: grid; place-items: center; min-width: 2.4rem; min-height: 2.75rem; padding-inline: .15rem; opacity: .72; transition: opacity .3s var(--ease); }
.lang__item + .lang__item { border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 40%, transparent); }
.lang__item.is-current { opacity: 1; }
a.lang__item:hover { opacity: 1; }
.site-header__inner { gap: .75rem; }

/* Carousel controls (created by main.js) */
.carousel-ui {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 1rem;
  width: 100%; max-width: var(--maxw); margin: 1.75rem auto 0; padding-inline: var(--gutter);
}
.carousel-ui[hidden] { display: none; }
.carousel-ui__count { font-size: .7rem; font-weight: 500; letter-spacing: .16em; color: var(--muted); font-variant-numeric: tabular-nums; }
.carousel-ui__count b { font-weight: 500; color: var(--ink); }
.carousel-ui__bar { position: relative; height: 1px; background: var(--line); overflow: hidden; }
.carousel-ui__bar i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.carousel-ui__btn {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--line); border-radius: 50%; color: var(--ink);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), opacity .3s;
}
.carousel-ui__btn:hover:not(:disabled) { border-color: var(--ink); }
.carousel-ui__btn:disabled { opacity: .3; cursor: default; }
.experience__moments + .carousel-ui { padding-inline: 0; }

/* Reviews */
.reviews { background: var(--sand); }
.ratings { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; }
.ratings li { display: flex; align-items: center; gap: .9rem; }
.ratings strong { font-family: var(--serif); font-weight: 300; font-size: 2.6rem; line-height: 1; color: var(--ink); }
.ratings span { display: grid; font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.ratings small { font-size: .78rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); margin-top: .2rem; }
.reviews__track {
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: var(--edge); scroll-padding-inline: var(--edge);
}
.reviews__track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(86%, 26rem); scroll-snap-align: start; display: flex; }
.review figure {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; width: 100%;
  padding: clamp(1.6rem, 5vw, 2.4rem); background: var(--bone); border: 1px solid var(--line);
}
.review blockquote p { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.5; color: var(--ink); }
.review figcaption { display: grid; gap: .25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.review__name { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.review__meta, .review__note { font-size: .82rem; color: var(--muted); }
.review__note { font-style: italic; }
.reviews .section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }

/* Phones only */
@media (max-width: 767px) {
  /* photography runs edge to edge */
  .welcome__media .frame, .space__media, .location__media { margin-inline: calc(var(--gutter) * -1); }
  .space { gap: 1.5rem; }
  .spaces { gap: 3.75rem; }
  .location__media { aspect-ratio: 4 / 5; }

  .hero__scroll { display: none; }
  .hero__content { padding-bottom: clamp(3.5rem, 9vh, 5rem); }

  .wordmark { font-size: 1.25rem; }
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* visually hidden, still announced */
  .menu-toggle { min-width: 2.75rem; justify-content: flex-end; }

  .figures dd { font-size: 3rem; }
  .section-head { margin-bottom: 2.25rem; }
  .gallery .carousel-ui, .experience .carousel-ui { margin-top: 1.25rem; }
  .carousel-ui__btn { display: none; }
  .carousel-ui { grid-template-columns: auto 1fr; }
  .ratings strong { font-size: 2.2rem; }
}

/* ==========================================================================
   Readability pass: the display serif is for headlines; anything smaller uses
   the text cut of Noto Serif, whose strokes hold up at reading sizes.
   ========================================================================== */
.review blockquote p { font-family: var(--serif-text); font-size: 1.08rem; line-height: 1.65; }
.amenity__title { font-family: var(--serif-text); font-size: 1.12rem; letter-spacing: 0; }
.distances dd { font-family: var(--serif-text); font-size: 1rem; }
.distances dt { font-size: .95rem; }
.details dd { font-family: var(--serif-text); font-size: 1.05rem; }
.host-note blockquote p { font-family: var(--serif-text); font-weight: 400; font-size: 1.12rem; line-height: 1.6; }
.hero__lede { font-family: var(--serif-text); font-size: clamp(1.1rem, 1.9vw, 1.45rem); line-height: 1.45; }
.ratings strong { font-weight: 400; }
.menu__list a { font-weight: 400; }

/* Icons and accents on dark backgrounds */
.menu__num { color: var(--clay-light); }
.amenity__icon { stroke-width: 1.5; }

/* Language switch: both options clearly readable, current one underlined */
.lang__item { opacity: .88; }
.lang__item.is-current { opacity: 1; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .45em; }

/* ==========================================================================
   Phone image quality + menu polish
   ========================================================================== */
@media (max-width: 767px) {
  /* Gallery filmstrip: every photo keeps its own shape at one shared height,
     so nothing is cropped or enlarged (landscape ~88% wide, portrait ~47%) */
  .g { flex: 0 0 auto; }
  .g a { height: 58.7vw; width: auto; aspect-ratio: 3 / 2; }
  .g--b a, .g--c a, .g--e a, .g--f a, .g--h a { aspect-ratio: 4 / 5; }
  .gallery__grid { gap: .6rem; align-items: stretch; }

  /* Location photo in its natural landscape shape */
  .location__media { aspect-ratio: 3 / 2; }
}

/* Mobile menu: calmer type, aligned numbers, hairline rows */
.menu__list { gap: 0; border-top: 1px solid var(--line-dark); }
.menu__list li { border-bottom: 1px solid var(--line-dark); }
.menu__list a {
  display: grid; grid-template-columns: 2.25rem 1fr; align-items: baseline;
  padding: .8rem 0; font-size: clamp(1.6rem, 7vw, 2.4rem); line-height: 1.2;
}
.menu__num { font-size: .75rem; letter-spacing: .12em; }
.menu__foot { gap: .6rem; font-size: .95rem; }

/* Close icon: a true X (two lines crossing at 45 degrees) */
.menu-toggle__lines { position: relative; display: block; width: 1.6rem; height: 8px; }
.menu-toggle__lines span { position: absolute; left: 0; right: 0; height: 1px; }
.menu-toggle__lines span:first-child { top: 0; }
.menu-toggle__lines span:last-child { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ==========================================================================
   Availability calendar (08 Availability, dark background)
   ========================================================================== */
.availability { position: relative; }
.availability__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: 2rem; }
.availability__head .eyebrow { margin-bottom: .9rem; }
.availability__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.1; color: var(--on-dark); }
.availability__legend { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; font-size: .85rem; color: var(--on-dark-muted); }
.availability__legend li { display: flex; align-items: center; gap: .6rem; }
.swatch { display: inline-block; width: 1.1rem; height: 1.1rem; border: 1px solid rgba(239, 233, 223, .25); }
.swatch--free, .month .is-free { background: rgba(239, 233, 223, .1); }
.swatch--busy, .month .is-busy { background: repeating-linear-gradient(135deg, rgba(239, 233, 223, .16) 0 1px, transparent 1px 6px); }

.availability__months {
  display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.availability__months::-webkit-scrollbar { display: none; }
.month { flex: 0 0 100%; scroll-snap-align: start; }
.month table { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.month caption {
  text-align: left; padding: 0 4px .9rem;
  font-family: var(--serif-text); font-size: 1.1rem; color: var(--on-dark); text-transform: capitalize;
}
.month th { padding-bottom: .4rem; font-size: .62rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.month td {
  height: 2.6rem; text-align: center; vertical-align: middle;
  font-size: .92rem; font-variant-numeric: tabular-nums; color: var(--on-dark);
}
.month .is-busy { color: rgba(239, 233, 223, .42); text-decoration: line-through; text-decoration-thickness: 1px; }
.month .is-out { color: rgba(239, 233, 223, .2); }
.month .is-today { box-shadow: inset 0 0 0 1px var(--clay-light); }

.availability .carousel-ui { padding-inline: 0; }
.availability .carousel-ui__count { color: var(--on-dark-muted); }
.availability .carousel-ui__count b { color: var(--on-dark); }
.availability .carousel-ui__bar { background: var(--line-dark); }
.availability .carousel-ui__bar i { background: var(--on-dark); }
.availability .carousel-ui__btn { border-color: var(--line-dark); color: var(--on-dark); }
.availability .carousel-ui__btn:hover:not(:disabled) { border-color: var(--on-dark); }

.availability__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-top: 2rem; }
.availability__note { max-width: 34rem; font-size: .85rem; line-height: 1.6; color: var(--on-dark-muted); }
.availability__fallback { font-size: .95rem; color: var(--on-dark-muted); }
.availability__fallback a { color: var(--on-dark); text-decoration: underline; text-underline-offset: .3em; }

/* until the data has loaded (or if it cannot), only the "call Maria" line shows */
.availability:not(.is-ready) .availability__legend,
.availability:not(.is-ready) .availability__months,
.availability:not(.is-ready) .availability__foot { display: none; }
.availability.is-ready .availability__fallback { display: none; }

@media (min-width: 768px) {
  .availability__months { gap: 2rem; }
  .month { flex-basis: calc((100% - 2rem) / 2); }
}
@media (min-width: 1024px) {
  .month { flex-basis: calc((100% - 4rem) / 3); }
}

/* House details: the longest item (pets) spans both columns */
.details .details__wide { grid-column: 1 / -1; }

/* ==========================================================================
   08 Availability (dark): the calendar. Stay terms and fees live in 09
   ========================================================================== */
.stay { background: var(--night); color: var(--on-dark); }
.stay .h2 { max-width: 24ch; color: var(--on-dark); }
.stay .eyebrow { color: var(--on-dark-muted); }
.stay .eyebrow__num { color: var(--clay-light); }
.stay .availability__head { justify-content: flex-start; margin-bottom: 1.5rem; }

.fee-foot { font-size: .9rem; line-height: 1.7; scroll-margin-top: 1.5rem; }   /* on top of the header offset on html */
.fee-foot__rates { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); }
.fee-foot__rates div { padding: .9rem 0 .8rem; border-bottom: 1px solid var(--line-dark); }
.fee-foot__rates div + div { padding-left: 1.25rem; border-left: 1px solid var(--line-dark); }
.fee-foot__rates dt { font-size: .64rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.fee-foot__rates dd { margin-top: .35rem; font-size: .8rem; }
.fee-foot__rates b { margin-right: .3rem; font-family: var(--serif-text); font-weight: 400; font-size: 1.35rem; }
.fee-foot__text { padding-top: 1.5rem; }
.fee-foot__text p + p { margin-top: .6rem; }
.fee-foot__text strong { font-weight: 500; }
}

/* ==========================================================================
   08 + 09: the Contact card laid over the held calendar (owner's choice,
   round 3 option 5, October 2026)
   08 holds still once the whole calendar is in view; 09, a host's card on the
   dark table, slides over it. Only transform, opacity and position: sticky;
   browsers without scroll-driven animations get the same layout without the
   dim/scale/settle; reduced motion gets a plain page.
   ========================================================================== */
.stay { padding-bottom: clamp(4rem, 8vw, 6.5rem); }
.stay__head { margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem); }
.stay__lede { margin-top: 1.4rem; max-width: 31rem; font-family: var(--serif-text); font-size: 1.06rem; line-height: 1.65; color: var(--on-dark-muted); }

/* 09: the card */
.sheet { position: relative; z-index: 1; background: var(--night); color: var(--ink-2); padding: clamp(.75rem, 3vw, 3rem) clamp(.75rem, 3vw, 3rem) clamp(3rem, 8vw, 6rem); }
.sheet .eyebrow { color: var(--muted); }
.sheet .eyebrow__num { color: var(--clay); }
.sheet .h2 { color: var(--ink); }
.host {
  display: grid; gap: 2.5rem; max-width: 84rem; margin-inline: auto;
  padding: clamp(1.25rem, 4vw, 4rem); background: var(--bone);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
}
.host__photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.host__photo picture, .host__photo img { width: 100%; height: 100%; }
.host__photo img { object-fit: cover; object-position: 50% 62%; }
.host__title { margin-bottom: 1.75rem; font-size: clamp(2.3rem, 3.6vw, 3.4rem); }
.host__quote { margin: 0 0 clamp(2.25rem, 4vw, 3rem); padding-left: 1.1rem; border-left: 1px solid var(--clay); }
.host__quote p { font-family: var(--serif-text); font-style: italic; font-size: 1.08rem; line-height: 1.6; color: var(--ink-2); }
.host__quote figcaption { margin-top: .5rem; font-size: .66rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* phone and email: a small label, then the value; both set the same size (owner) */
.host__link { display: grid; gap: .55rem; width: fit-content; max-width: 100%; }
.host__link + .host__link { margin-top: 1.5rem; }
.host__label { display: flex; align-items: center; gap: .6rem; font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; line-height: 1.4; color: var(--muted); }
.host__label .icon { width: 1rem; height: 1rem; stroke-width: 1.8; color: var(--clay); }
.host__value {
  font-family: var(--serif-text); font-size: 1.15rem; line-height: 1.3; color: var(--ink-2); overflow-wrap: anywhere;
  text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .3em; transition: text-decoration-color .3s;
}
.host__link:hover .host__value, .host__link:focus-visible .host__value { text-decoration-color: var(--clay); }

/* stay terms + taxes and fees: reference, quiet, on the light card */
.host__terms { padding-top: 2rem; border-top: 1px solid var(--line); }
.host__subtitle { margin-bottom: 1rem; font-family: var(--sans); font-size: .8rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; line-height: 1.5; color: var(--ink); }
.host__terms .details { margin-top: 0; max-width: none; border-top-color: var(--line); }
.host__terms .details div { padding: .7rem 0; border-bottom-color: var(--line); }
.host__terms .details dt { font-size: .6rem; color: var(--muted); }
.host__terms .details dd { font-size: .95rem; color: var(--ink); }
.host__terms .details__note { margin-top: 1rem; font-size: .8rem; line-height: 1.65; color: var(--muted); }
.host__fees { margin-top: 2rem; color: var(--ink-2); font-size: .86rem; }
.host__fees .fee-foot__rates { border-top-color: var(--line); }
.host__fees .fee-foot__rates div { border-bottom-color: var(--line); }
.host__fees .fee-foot__rates div + div { border-left-color: var(--line); }
.host__fees .fee-foot__rates dt { color: var(--muted); }
.host__fees .fee-foot__rates b { font-size: 1.15rem; color: var(--ink); }
.host__fees .fee-foot__text { padding-top: .25rem; font-size: .8rem; line-height: 1.65; }
.host__fees .fee-foot__text strong { color: var(--ink); }

/* the full ΤΑΚΚ text: one clearly named click away (native, no script) */
.host__more > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  margin-top: .4rem; padding: .7rem 0; font-size: .8rem; color: var(--ink-2);
  text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .3em;
}
.host__more > summary::-webkit-details-marker { display: none; }
.chev { width: 1.15rem; height: 1.15rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease-out); }
.host__more[open] > summary .chev { transform: rotate(180deg); }
.host__more > summary:hover .chev { color: var(--clay); }

/* footer: reference only (no tagline, no repeated contact column) */
.site-footer__grid { display: grid; gap: 2.25rem 1.5rem; grid-template-columns: 1fr 1fr; padding-bottom: clamp(2.75rem, 5vw, 4rem); }
.site-footer__grid > .wordmark { grid-column: 1 / -1; align-self: start; }

@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; align-items: start; }
  .site-footer__grid > .wordmark { grid-column: auto; }
}
@media (min-width: 1024px) {
  .sheet { display: flex; align-items: center; min-height: 100vh; }
  .host { width: 100%; grid-template-columns: minmax(0, 3.6fr) minmax(0, 5fr) minmax(0, 3.4fr); column-gap: clamp(2.5rem, 4vw, 3.75rem); align-items: start; }
  .host__photo { align-self: stretch; aspect-ratio: auto; min-height: 26rem; }
  .host__main { padding-top: .25rem; }
  .host__terms { padding: .25rem 0 0 clamp(1.5rem, 2.5vw, 2.25rem); border-top: 0; border-left: 1px solid var(--line); }
  .host__terms .details { grid-template-columns: 1fr; }
}

/* the movement */
@media (prefers-reduced-motion: no-preference) {
  main { position: relative; z-index: 1; background: var(--bone); timeline-scope: --sheet; }
  /* 08 holds once its bottom edge reaches the bottom of the screen (top set by main.js) */
  [data-sheet-under] { position: sticky; top: var(--under-top, 0px); z-index: 0; min-height: 100vh; }
  /* a dark runway under the calendar: 08 comes to rest with the whole calendar and its
     "Book by phone" in view, and the card first covers empty night, not content */
  .stay[data-sheet-under] { padding-bottom: calc(clamp(4rem, 8vw, 6.5rem) + 24vh); }
  [data-sheet-under]::after { content: ""; position: absolute; inset: 0; z-index: 3; background: #0a0908; opacity: 0; pointer-events: none; }
  /* the night of 08 shows around the card while it is laid down */
  .sheet { background: transparent; view-timeline: --sheet block; }
  @supports (animation-timeline: view()) {
    [data-sheet-under]::after { animation: sheet-dim linear both; animation-timeline: --sheet; animation-range: entry 0% entry 100%; }
    @media (min-width: 1024px) {
      [data-sheet-under] > .container { transform-origin: 50% 100%; animation: sheet-recede linear both; animation-timeline: --sheet; animation-range: entry 0% entry 100%; }
    }
    /* the card's content settles a little after the card itself: a sense of weight */
    .sheet__settle { animation: sheet-settle linear both; animation-timeline: --sheet; animation-range: entry 0% entry 100%; }
  }
  /* the footer waits underneath and is uncovered as the card lifts away */
  @media (min-width: 768px) and (min-height: 640px) {
    .site-footer { position: sticky; bottom: 0; z-index: 0; }
  }
}
@keyframes sheet-dim { to { opacity: .62; } }
@keyframes sheet-recede { to { transform: scale(.94); } }
@keyframes sheet-settle { from { transform: translateY(var(--settle, 72px)); } to { transform: none; } }
@media (max-width: 767px) { :root { --settle: 36px; } }
