/* Marthas Stone Houses: public design system "Λινό & Ελιά" (approved 2026-09-26), see content/DESIGN.md.
 * Warm linen ground, olive for action, sea blue for water/selection, clay only for errors. Photos are shown as
 * normal rectangles with soft rounded corners; every detail is rounded (no square marks). Five colours only,
 * every other shade is derived with color-mix(). Every custom property is --msh-*.
 * Sections: 1 tokens · 2 base · 3 type · 4 layout · 5 buttons, links, focus · 6 header + sheet · 7 home ·
 * 8 carousel · 9 house page · 10 destinations · 11 about · 12 legal, states · 13 booking · 14 calendar ·
 * 15 forms · 16 viewer · 17 footer · 18 motion · 19 print */

/* ------------------------------------------------------------------ 1. tokens */
:root {
  --msh-linen: #F8F6F1;
  --msh-olive: #56613F;
  --msh-ink: #262A24;
  --msh-sea: #7DB4C4;
  --msh-clay: #A94F3B;

  --msh-card: white;
  --msh-sand: color-mix(in srgb, var(--msh-olive) 7%, var(--msh-linen));
  --msh-sand-deep: color-mix(in srgb, var(--msh-olive) 13%, var(--msh-linen));
  --msh-ink-soft: color-mix(in srgb, var(--msh-ink) 72%, var(--msh-linen));
  --msh-ink-faint: color-mix(in srgb, var(--msh-ink) 38%, var(--msh-linen));
  --msh-line: color-mix(in srgb, var(--msh-ink) 12%, transparent);
  --msh-line-strong: color-mix(in srgb, var(--msh-ink) 26%, transparent);
  --msh-olive-deep: color-mix(in srgb, var(--msh-olive) 80%, var(--msh-ink));
  --msh-olive-soft: color-mix(in srgb, var(--msh-olive) 12%, white);
  --msh-sea-soft: color-mix(in srgb, var(--msh-sea) 28%, white);
  --msh-sea-deep: color-mix(in srgb, var(--msh-sea) 55%, var(--msh-ink));
  --msh-clay-soft: color-mix(in srgb, var(--msh-clay) 10%, white);
  --msh-scrim: color-mix(in srgb, var(--msh-ink) 45%, transparent);
  --msh-shadow: 0 22px 48px -26px rgba(0, 0, 0, .34), 0 2px 8px -4px rgba(0, 0, 0, .08);
  --msh-shadow-soft: 0 10px 26px -18px rgba(0, 0, 0, .3);

  --msh-font-display: 'Literata', Georgia, 'Times New Roman', serif;
  --msh-font-body: 'Commissioner', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* type scale: ratio 1.25 on a 16px base */
  --msh-t-13: .8125rem;
  --msh-t-15: .9375rem;
  --msh-t-16: 1rem;
  --msh-t-17: 1.0625rem;
  --msh-t-20: 1.25rem;
  --msh-t-25: 1.5625rem;
  --msh-t-31: 1.953rem;
  --msh-t-39: 2.441rem;
  --msh-t-49: 3.052rem;
  --msh-t-h1: clamp(2.2rem, 1.7rem + 2vw, 3.052rem);
  --msh-t-h2: clamp(1.75rem, 1.45rem + 1.2vw, 2.441rem);
  --msh-t-hero: clamp(2.3rem, 1.3rem + 4.2vw, 4.4rem);

  /* spacing */
  --msh-s-1: 5px;
  --msh-s-2: 10px;
  --msh-s-3: 16px;
  --msh-s-4: 24px;
  --msh-s-5: 40px;
  --msh-s-6: 60px;
  --msh-s-7: 92px;
  --msh-s-8: 136px;

  /* radius: soft corners everywhere, full round only for dots, tags and icon buttons */
  --msh-r-1: 7px;
  --msh-r-2: 13px;
  --msh-r-3: 24px;
  --msh-round: 999px;

  /* layout */
  --msh-measure: 1200px;
  --msh-wide: 1400px;
  --msh-gutter: 16px;
  --msh-header-h: 64px;
  --msh-content: min(calc(100% - 2 * var(--msh-gutter)), var(--msh-measure));
  --msh-content-wide: min(calc(100% - 2 * var(--msh-gutter)), var(--msh-wide));
  --msh-section-gap: var(--msh-s-6);

  /* motion */
  --msh-ease: cubic-bezier(.25, .8, .25, 1);
  --msh-dur: 900ms;
  --msh-dur-ui: 180ms;
  --msh-dur-route: 240ms;
}
@media (min-width: 720px) {
  :root { --msh-gutter: 28px; --msh-section-gap: 84px; }
}
@media (min-width: 1080px) {
  :root { --msh-gutter: 44px; --msh-header-h: 76px; --msh-section-gap: 112px; }
}

/* ------------------------------------------------------------------ 2. base */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--msh-linen);
  color: var(--msh-ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--msh-header-h) + var(--msh-s-3));
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--msh-linen);
  color: var(--msh-ink);
  font-family: var(--msh-font-body);
  font-weight: 300;
  font-size: var(--msh-t-16);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
img.is-broken { object-fit: contain; background: var(--msh-sand); }
figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
button:disabled, [aria-disabled="true"] { cursor: not-allowed; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
small { font-size: var(--msh-t-13); }
[hidden] { display: none !important; }
::selection { background: var(--msh-sea-soft); color: var(--msh-ink); }
.ico { flex: none; width: 20px; height: 20px; }
.ico[width="24"] { width: 24px; height: 24px; }
#view { display: block; outline: none; }
#view:focus { outline: none; }

/* ------------------------------------------------------------------ 3. typography */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--msh-font-display);
  font-weight: 400;
  letter-spacing: -.012em;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: var(--msh-t-h1); }
h2 { font-size: var(--msh-t-h2); }
h3 { font-size: var(--msh-t-25); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 500; }
.muted { color: var(--msh-ink-soft); }
.lead {
  font-size: var(--msh-t-20);
  line-height: 1.55;
  font-weight: 300;
  max-width: 48ch;
  color: var(--msh-ink-soft);
  text-wrap: pretty;
}
.prose { font-size: var(--msh-t-17); line-height: 1.75; }
.prose p { max-width: 64ch; text-wrap: pretty; }
.prose h2 { font-size: var(--msh-t-25); margin: 0 0 var(--msh-s-3); }
.sec-title { font-size: var(--msh-t-h2); margin: 0 0 var(--msh-s-5); }
.sec-num { display: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.page-head { margin: 0 0 var(--msh-s-5); }
.page-head__title { font-size: var(--msh-t-h1); margin: 0 0 var(--msh-s-3); }

/* ------------------------------------------------------------------ 4. layout */
.view { display: block; padding-top: var(--msh-header-h); }
.view > * { width: var(--msh-content); margin-inline: auto; }
.view-home > section { margin-top: var(--msh-section-gap); }
.view-home > .welcome { margin-top: 0; width: var(--msh-content-wide); }
.view-house > .filmstrip { width: 100%; }
.view > .page-head,
.view > .house-head,
.view > .legal,
.view > .about,
.view > .notfound,
.view > .view-error,
.view > .booking { padding-top: var(--msh-s-5); }
.view > :last-child { margin-bottom: var(--msh-section-gap); }
@media (min-width: 1080px) {
  .view > .page-head, .view > .house-head, .view > .legal, .view > .about,
  .view > .notfound, .view > .view-error, .view > .booking { padding-top: var(--msh-s-6); }
}

/* ------------------------------------------------------------------ 5. buttons, links, focus */
a { color: inherit; text-decoration: none; }
.prose a, .lead a, .empty-note a, .legal a, .done a:not(.stone-btn), .view-error a, .terms a, .form-msg a,
.policy-note a, .field__error a, .notfound p a:not(.stone-btn) {
  color: var(--msh-olive);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--msh-olive) 45%, transparent);
  text-underline-offset: 4px;
  transition: text-decoration-color var(--msh-dur-ui) ease;
}
.prose a:hover, .lead a:hover, .empty-note a:hover, .legal a:hover, .done a:not(.stone-btn):hover, .view-error a:hover,
.terms a:hover, .form-msg a:hover, .policy-note a:hover, .notfound p a:not(.stone-btn):hover { text-decoration-color: var(--msh-olive); }
:focus-visible { outline: 2px solid var(--msh-olive); outline-offset: 3px; border-radius: var(--msh-r-1); }
:focus:not(:focus-visible) { outline: none; }
/* headings/regions focused by script for screen readers (tabindex=-1) never show a ring */
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }

.stone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--msh-r-2);
  font-family: var(--msh-font-body);
  font-size: var(--msh-t-15);
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--msh-dur-ui) ease, color var(--msh-dur-ui) ease,
    border-color var(--msh-dur-ui) ease, box-shadow var(--msh-dur-ui) ease, text-decoration-color var(--msh-dur-ui) ease;
}
.stone-btn .ico { width: 18px; height: 18px; }
.stone-btn-primary { background: var(--msh-olive); color: white; border-color: var(--msh-olive); }
.stone-btn-primary:hover, .stone-btn-primary:focus-visible { background: var(--msh-olive-deep); border-color: var(--msh-olive-deep); }
.stone-btn-secondary { background: var(--msh-card); color: var(--msh-ink); border-color: var(--msh-line-strong); }
.stone-btn-secondary:hover, .stone-btn-secondary:focus-visible { border-color: var(--msh-ink); }
.stone-btn-light { background: var(--msh-linen); color: var(--msh-olive-deep); border-color: var(--msh-linen); }
.stone-btn-light:hover, .stone-btn-light:focus-visible { background: white; border-color: white; }
.stone-btn-text {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--msh-olive);
  font-weight: 500;
}
.stone-btn-text > span, .stone-btn-text:not(:has(> span)) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--msh-olive) 40%, transparent);
  text-underline-offset: 5px;
}
.stone-btn-text:hover, .stone-btn-text:focus-visible { color: var(--msh-olive-deep); text-decoration-color: var(--msh-olive); }
.stone-btn-text .ico { transition: transform var(--msh-dur-ui) ease; }
.stone-btn-text:hover .ico-arrow-right { transform: translateX(3px); }
/* round icon buttons (carousel arrows, steppers, calendar months) */
.stone-btn-square {
  width: 42px;
  min-height: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--msh-round);
  background: var(--msh-card);
  color: var(--msh-ink);
  border-color: var(--msh-line-strong);
}
.stone-btn-square:hover, .stone-btn-square:focus-visible { border-color: var(--msh-olive); color: var(--msh-olive); }
.stone-btn:disabled, .stone-btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.stone-btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ------------------------------------------------------------------ 6. header + mobile sheet */
/* No transform/backdrop-filter on the header itself while it is visible: either would make it the containing
   block of the fixed mobile sheet + scrim inside it, and the scrim would shrink to the header's height. */
#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: transform var(--msh-dur-route) var(--msh-ease), border-color var(--msh-dur-ui) ease;
}
#site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--msh-linen) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}
#site-header[data-scrolled] { border-bottom-color: var(--msh-line); }
#site-header[data-hidden] { transform: translateY(-100%); }
html[data-scroll-lock] #site-header { transform: none; }
.lintel {
  display: flex;
  align-items: center;
  gap: var(--msh-s-4);
  width: var(--msh-content-wide);
  height: var(--msh-header-h);
  margin-inline: auto;
}
.lintel__mark { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.lintel__word, .sheet__word {
  font-family: var(--msh-font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.mark-rest { color: var(--msh-olive); }
.lintel__nav { display: none; }
.lintel__tools { display: flex; align-items: center; gap: var(--msh-s-3); }
.lintel__book { display: none; }
.lintel__menu {
  gap: .5em;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--msh-round);
  background: var(--msh-card);
  border: 1px solid var(--msh-line);
  font-size: var(--msh-t-15);
  font-weight: 500;
}
.lintel__menu .ico { width: 18px; height: 18px; }
.lintel__tools > .lang-switch { display: none; }
@media (min-width: 1080px) {
  .lintel__nav { display: flex; align-items: center; gap: var(--msh-s-2); }
  .lintel__book, .lintel__tools > .lang-switch { display: inline-flex; }
  .lintel__book { min-height: 44px; padding: 0 20px; }
  .lintel__menu { display: none; }
}
.lintel__num, .sheet__num { display: none; }
.lintel__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--msh-round);
  font-size: var(--msh-t-15);
  font-weight: 400;
  color: var(--msh-ink-soft);
  transition: color var(--msh-dur-ui) ease, background-color var(--msh-dur-ui) ease;
}
.lintel__link:hover { color: var(--msh-ink); background: var(--msh-sand); }
.lintel__link[aria-current="page"] { color: var(--msh-olive-deep); font-weight: 500; background: var(--msh-olive-soft); }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: var(--msh-round); background: var(--msh-sand); font-size: 13px; }
.lang-switch__btn {
  min-width: 38px;
  min-height: 34px;
  padding: 0 8px;
  border-radius: var(--msh-round);
  font-weight: 500;
  color: var(--msh-ink-soft);
  text-align: center;
  letter-spacing: .04em;
  transition: background-color var(--msh-dur-ui) ease, color var(--msh-dur-ui) ease;
}
.lang-switch__btn[aria-pressed="true"] { background: var(--msh-card); color: var(--msh-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.lang-switch__btn:hover { color: var(--msh-ink); }
.lang-switch__sep { display: none; }

/* mobile sheet: drops from the top, rounded bottom edge */
.sheet {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--msh-linen);
  border-radius: 0 0 var(--msh-r-3) var(--msh-r-3);
  box-shadow: var(--msh-shadow);
}
.sheet[data-open] { animation: msh-sheet-in var(--msh-dur-route) var(--msh-ease); }
@keyframes msh-sheet-in { from { transform: translateY(-18px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet__panel { display: flex; flex-direction: column; width: var(--msh-content); margin-inline: auto; padding-bottom: var(--msh-s-5); }
.sheet__top { display: flex; align-items: center; justify-content: space-between; gap: var(--msh-s-3); height: var(--msh-header-h); }
.sheet__close { gap: .45em; }
.sheet__links { margin-top: var(--msh-s-2); display: grid; gap: 4px; }
.sheet__link {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 var(--msh-s-3);
  border-radius: var(--msh-r-2);
  font-family: var(--msh-font-display);
  font-size: clamp(1.5rem, 6vw, 1.9rem);
  line-height: 1.15;
  transition: background-color var(--msh-dur-ui) ease;
}
.sheet__link:hover { background: var(--msh-sand); }
.sheet__link[aria-current="page"] { background: var(--msh-olive-soft); color: var(--msh-olive-deep); }
.sheet__book.stone-btn { display: flex; width: 100%; min-height: 54px; margin-top: var(--msh-s-4); font-size: var(--msh-t-16); }
.sheet .lang-switch { align-self: flex-start; margin-top: var(--msh-s-4); font-size: 14px; }
.sheet__phone { display: inline-flex; align-items: center; gap: .6em; min-height: 44px; margin-top: var(--msh-s-2); font-weight: 400; }
.sheet-scrim { position: fixed; inset: 0; z-index: 65; background: var(--msh-scrim); }
.sheet-scrim[data-open] { animation: msh-appear var(--msh-dur-route) var(--msh-ease); }
@keyframes msh-appear { from { opacity: 0; } to { opacity: 1; } }
html[data-scroll-lock] { overflow: hidden; }
@media (min-width: 1080px) { .sheet, .sheet-scrim { display: none !important; } }

/* ------------------------------------------------------------------ 7. home */
/* hero: one large rounded photo with the name on it; the search bar overlaps its lower edge */
.welcome { padding-top: var(--msh-s-2); }
.welcome__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--msh-r-3);
  /* explicit heights, not aspect-ratio + max-height: that pair would shrink the WIDTH on short screens */
  height: min(calc((100vw - 2 * var(--msh-gutter)) * 1.2), 76vh);
  min-height: 360px;
  background: var(--msh-sand-deep);
  isolation: isolate;
}
.welcome__media { position: absolute; inset: 0; }
.welcome__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1400ms ease;
}
.welcome__img.is-active { opacity: 1; }
.welcome__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .28) 42%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}
@media (min-width: 720px) {
  .welcome__frame::after { background: linear-gradient(to top, rgba(0, 0, 0, .52) 0%, rgba(0, 0, 0, .18) 38%, rgba(0, 0, 0, 0) 62%); }
}
.welcome__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: var(--msh-s-4) var(--msh-s-4) calc(var(--msh-s-6) + var(--msh-s-3));
  color: white;
}
.welcome__title {
  margin: 0;
  font-size: var(--msh-t-hero);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.02em;
  text-shadow: 0 1px 24px rgba(0, 0, 0, .25);
}
.welcome__tagline { margin: var(--msh-s-2) 0 0; max-width: 34ch; font-size: var(--msh-t-17); font-weight: 400; line-height: 1.45; }
@media (min-width: 720px) {
  .welcome__frame { height: clamp(380px, 56vw, 72vh); }
  .welcome__text { padding: var(--msh-s-5) var(--msh-s-5) calc(var(--msh-s-7) + var(--msh-s-2)); }
  .welcome__tagline { font-size: var(--msh-t-20); }
}
@media (min-width: 1080px) {
  .welcome__frame { height: clamp(500px, 46vw, 76vh); }
  .welcome__text { padding-left: var(--msh-s-6); padding-bottom: calc(var(--msh-s-7) + var(--msh-s-3)); }
}

/* search bar (the "sentence" form): three fields + button on a white rounded card */
.sentence {
  position: relative;
  z-index: 5;
  width: calc(100% - 2 * var(--msh-s-3));
  max-width: 980px;
  margin: calc(var(--msh-s-6) * -1) auto 0;
  padding: var(--msh-s-2);
  background: var(--msh-card);
  border-radius: var(--msh-r-3);
  box-shadow: var(--msh-shadow);
}
.sentence__line { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; }
.sentence__words, .sentence__comma { display: none; }
.sentence__field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  min-height: 60px;
  padding: 8px 16px;
  border-radius: var(--msh-r-2);
  text-align: left;
  transition: background-color var(--msh-dur-ui) ease;
}
.sentence__field:hover { background: var(--msh-sand); }
.sentence__field[aria-expanded="true"] { background: var(--msh-olive-soft); }
.sentence__field[data-sentence-guests] { grid-column: 1 / -1; }
.sentence__label { font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--msh-ink-soft); }
.sentence__value { font-size: var(--msh-t-16); font-weight: 500; color: var(--msh-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.sentence__go { grid-column: 1 / -1; min-height: 54px; border-radius: var(--msh-r-2); }
.sentence__go .ico { width: 18px; height: 18px; }
.sentence__msg { margin: var(--msh-s-2) var(--msh-s-2) 4px; font-size: 14px; font-weight: 400; color: var(--msh-clay); }
.sentence__msg:empty { display: none; }
.sentence__pop {
  position: absolute;
  top: calc(100% + var(--msh-s-2));
  left: 50%;
  z-index: 30;
  width: min(calc(100vw - 2 * var(--msh-gutter)), 720px);
  padding: var(--msh-s-4);
  transform: translateX(-50%);
  background: var(--msh-card);
  border-radius: var(--msh-r-3);
  box-shadow: var(--msh-shadow);
  text-align: left;
}
.sentence__pop-guests { width: min(calc(100vw - 2 * var(--msh-gutter)), 400px); }
.sentence__pop[data-open] { animation: msh-appear var(--msh-dur-ui) ease; }
.sentence__actions { display: flex; justify-content: flex-end; align-items: center; gap: var(--msh-s-4); margin-top: var(--msh-s-3); }
.sentence__hint { margin: var(--msh-s-3) 0 0; font-size: 14px; color: var(--msh-ink-soft); }
@media (min-width: 720px) {
  .sentence { margin-top: calc(var(--msh-s-7) * -.62); }
  .sentence__line { grid-template-columns: 1fr 1fr 1.25fr auto; align-items: stretch; gap: 0; }
  .sentence__field[data-sentence-guests] { grid-column: auto; }
  .sentence__field + .sentence__field { position: relative; }
  .sentence__field + .sentence__field::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 1px;
    background: var(--msh-line);
  }
  .sentence__field:hover::before, .sentence__field:hover + .sentence__field::before,
  .sentence__field[aria-expanded="true"]::before, .sentence__field[aria-expanded="true"] + .sentence__field::before { opacity: 0; }
  .sentence__go { grid-column: auto; margin-left: var(--msh-s-2); padding: 0 28px; min-height: 60px; }
}

/* guests stepper */
.stepper { display: grid; grid-template-columns: 1fr 42px 3ch 42px; align-items: center; gap: var(--msh-s-2); padding: var(--msh-s-3) 0; }
.stepper + .stepper { border-top: 1px solid var(--msh-line); }
.stepper__label { font-weight: 500; }
.stepper__label small { display: block; font-weight: 400; color: var(--msh-ink-soft); }
.stepper__value { font-size: var(--msh-t-20); font-weight: 500; text-align: center; font-variant-numeric: tabular-nums; }

/* intro + facts */
.intro { text-align: center; }
.intro .sec-title { margin-bottom: var(--msh-s-4); }
.intro__statement {
  max-width: 34ch;
  margin: 0 auto var(--msh-s-5);
  font-family: var(--msh-font-display);
  font-weight: 300;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.953rem);
  line-height: 1.45;
  color: var(--msh-ink);
  text-wrap: pretty;
}
.facts { display: grid; grid-template-columns: 1fr; gap: var(--msh-s-2); max-width: 980px; margin-inline: auto; }
.fact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75em;
  padding: var(--msh-s-3) var(--msh-s-4);
  border-radius: var(--msh-r-2);
  background: var(--msh-sand);
  font-size: var(--msh-t-16);
  font-weight: 500;
}
.fact .ico { width: 24px; height: 24px; color: var(--msh-olive); }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(3, 1fr); gap: var(--msh-s-3); } }

/* gallery: plain photos, rounded, one large */
.mortar-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 38vw; gap: 10px; }
.mortar-grid__cell {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--msh-r-2);
  background: var(--msh-sand-deep);
  cursor: zoom-in;
}
.mortar-grid__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 1100ms var(--msh-ease); }
.mortar-grid__cell:first-child { grid-column: 1 / -1; grid-row: span 2; }
@media (max-width: 719.98px) {
  .mortar-grid__cell:last-child:nth-child(even) { grid-column: 1 / -1; }
}
@media (hover: hover) { .mortar-grid__cell:hover img { transform: scale(1.04); } }
@media (min-width: 720px) {
  .mortar-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(170px, 17vw, 240px); gap: 14px; }
  .mortar-grid__cell:first-child { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .mortar-grid__cell:nth-child(6) { grid-column: 1 / span 2; }
  .mortar-grid__cell:nth-child(7) { grid-column: 3 / span 2; }
}

/* houses */
.houses .sec-title, .around .sec-title { display: flex; align-items: baseline; justify-content: space-between; gap: var(--msh-s-3); }
.house-grid { display: grid; grid-template-columns: 1fr; gap: var(--msh-s-5) var(--msh-s-4); }
@media (min-width: 720px) { .house-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .house-grid { grid-template-columns: repeat(3, 1fr); gap: var(--msh-s-6) var(--msh-s-5); } }
.house-tile { position: relative; display: flex; flex-direction: column; }
.house-tile__media { margin-bottom: var(--msh-s-3); }
.house-tile__name { margin: 0 0 4px; font-size: var(--msh-t-25); font-weight: 500; line-height: 1.2; }
.house-tile__name a { transition: color var(--msh-dur-ui) ease; }
.house-tile__name a:hover { color: var(--msh-olive); }
.house-tile__type { margin: 0 0 var(--msh-s-2); color: var(--msh-ink-soft); font-size: var(--msh-t-15); line-height: 1.5; }
.house-tile__link { align-self: flex-start; margin-top: var(--msh-s-2); }
@media (hover: hover) { .house-tile:hover .arch-carousel__slide.is-active img { transform: scale(1.03); } }
.stats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--msh-s-3); font-size: 14px; font-weight: 400; }
.stat {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: 4px 10px 4px 8px;
  border-radius: var(--msh-round);
  background: var(--msh-sand);
}
.stat .ico { width: 17px; height: 17px; color: var(--msh-olive); }
.price-from { margin: 0; }
.price-from__amount { font-family: var(--msh-font-display); font-size: var(--msh-t-20); font-weight: 500; }
.price-from__unit { color: var(--msh-ink-soft); font-size: var(--msh-t-15); }
.empty-note { max-width: 62ch; font-size: var(--msh-t-17); line-height: 1.7; color: var(--msh-ink-soft); }

/* ------------------------------------------------------------------ 8. photo carousel (house cards, booking rows) */
.arch-carousel { position: relative; border-radius: var(--msh-r-2); outline-offset: 4px; }
.arch-carousel__viewport { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--msh-r-2); background: var(--msh-sand-deep); }
.arch-carousel__track {
  display: flex;
  height: 100%;
  transform: translateX(calc(var(--msh-slide, 0) * -100%));
  transition: transform 520ms var(--msh-ease);
}
.arch-carousel__slide { flex: 0 0 100%; height: 100%; overflow: hidden; }
.arch-carousel__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 1100ms var(--msh-ease); }
.arch-carousel__prev, .arch-carousel__next {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 36px;
  min-height: 36px;
  margin-top: -18px;
  border: 0;
  background: color-mix(in srgb, white 92%, transparent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .16);
  opacity: 0;
  transition: opacity var(--msh-dur-ui) ease, transform var(--msh-dur-ui) ease, color var(--msh-dur-ui) ease;
}
.arch-carousel__prev .ico, .arch-carousel__next .ico { width: 17px; height: 17px; }
.arch-carousel__prev { left: 12px; }
.arch-carousel__next { right: 12px; }
.arch-carousel__prev:hover, .arch-carousel__next:hover { transform: scale(1.06); color: var(--msh-olive); }
.arch-carousel:hover .arch-carousel__prev, .arch-carousel:hover .arch-carousel__next,
.arch-carousel:focus-within .arch-carousel__prev, .arch-carousel:focus-within .arch-carousel__next { opacity: 1; }
@media (hover: none) { .arch-carousel__prev, .arch-carousel__next { opacity: 1; } }
.arch-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 2;
  display: flex;
  gap: 0;
  max-width: calc(100% - 110px);
  overflow: hidden;
  transform: translateX(-50%);
}
.arch-carousel__dot { width: 14px; height: 22px; display: inline-flex; align-items: center; justify-content: center; }
.arch-carousel__dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  opacity: .55;
  box-shadow: 0 0 3px rgba(0, 0, 0, .25);
  transition: opacity var(--msh-dur-ui) ease, transform var(--msh-dur-ui) ease;
}
.arch-carousel__dot[aria-current="true"]::before { opacity: 1; transform: scale(1.35); }
.arch-carousel__count { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.arch-carousel-thumb, .arch-carousel-thumb .arch-carousel__viewport { border-radius: var(--msh-r-1); }
.arch-carousel-thumb .arch-carousel__dots { display: none; }
.arch-carousel-thumb .arch-carousel__prev, .arch-carousel-thumb .arch-carousel__next { width: 28px; height: 28px; min-height: 28px; margin-top: -14px; }
.arch-carousel-thumb .arch-carousel__prev { left: 6px; }
.arch-carousel-thumb .arch-carousel__next { right: 6px; }

/* guest reviews: scroll-snap rail of white cards + rating chips linking to Airbnb / Booking */
.voices__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--msh-s-3) var(--msh-s-4); margin-bottom: var(--msh-s-5); }
.voices__head .sec-title { margin: 0; }
.voices__scores { display: flex; flex-wrap: wrap; gap: 8px; }
.score {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  min-height: 40px;
  padding: 6px 14px 6px 12px;
  border-radius: var(--msh-round);
  background: var(--msh-card);
  font-size: 14px;
  font-weight: 500;
  transition: box-shadow var(--msh-dur-ui) ease;
}
a.score:hover { box-shadow: var(--msh-shadow-soft); }
.score .ico { width: 15px; height: 15px; color: var(--msh-ink-soft); }
.voice__stars { display: inline-flex; gap: 2px; }
.voice__star { width: 16px; height: 16px; fill: var(--msh-sand-deep); }
.voice__star.is-on { fill: var(--msh-olive); }
.voice__stars-mini .voice__star { width: 13px; height: 13px; }
.voices__rail {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc(var(--msh-gutter) * -1);
  padding: 4px var(--msh-gutter) 18px;
  scroll-padding-inline: var(--msh-gutter);
  border-radius: var(--msh-r-2);
}
.voices__rail::-webkit-scrollbar { display: none; }
.voices__rail:focus-visible { outline-offset: -2px; }
.voices__track { display: flex; gap: 16px; }
.voice {
  flex: 0 0 86%;
  display: flex;
  flex-direction: column;
  gap: var(--msh-s-3);
  padding: var(--msh-s-4);
  border-radius: var(--msh-r-3);
  background: var(--msh-card);
  box-shadow: var(--msh-shadow-soft);
  scroll-snap-align: start;
}
.voice__quote { flex: 1 1 auto; }
.voice__text {
  margin: 0;
  font-family: var(--msh-font-display);
  font-size: var(--msh-t-17);
  font-weight: 300;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.voice.is-open .voice__text { -webkit-line-clamp: unset; display: block; overflow: visible; }
.voice__more { align-self: flex-start; min-height: 32px; font-size: 14px; margin-top: -8px; }
.voice__meta { display: flex; flex-direction: column; gap: 6px; padding-top: var(--msh-s-3); border-top: 1px solid var(--msh-line); }
.voice__who { display: flex; align-items: center; gap: 10px; }
.voice__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--msh-olive-soft);
  color: var(--msh-olive-deep);
  font-family: var(--msh-font-display);
  font-size: 17px;
  font-weight: 500;
}
.voice__who > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.voice__author { font-weight: 500; }
.voice__origin, .voice__src { font-size: 13px; color: var(--msh-ink-soft); }
.voices__nav { display: flex; align-items: center; justify-content: space-between; gap: var(--msh-s-3); margin-top: var(--msh-s-2); }
.voices__dots { display: flex; flex-wrap: wrap; gap: 0; }
.voices__dot { width: 22px; height: 30px; display: inline-flex; align-items: center; justify-content: center; }
.voices__dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--msh-sand-deep); transition: background-color var(--msh-dur-ui) ease, transform var(--msh-dur-ui) ease; }
.voices__dot[aria-current="true"]::before { background: var(--msh-olive); transform: scale(1.2); }
.voices__arrows { display: flex; gap: 8px; }
.voices__arrows .stone-btn:disabled { opacity: .35; }
@media (min-width: 720px) { .voice { flex-basis: calc((100% - 16px) / 2); } }
@media (min-width: 1080px) {
  .voices__track { gap: 20px; }
  .voice { flex-basis: calc((100% - 40px) / 3); padding: var(--msh-s-5) var(--msh-s-4) var(--msh-s-4); }
}

/* around us: short list with category tags */
.places-list { display: grid; gap: 6px; }
.place-row__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name name" "cat dist";
  align-items: center;
  gap: 8px var(--msh-s-3);
  padding: var(--msh-s-3) var(--msh-s-4);
  border-radius: var(--msh-r-2);
  background: var(--msh-card);
  transition: background-color var(--msh-dur-ui) ease, box-shadow var(--msh-dur-ui) ease;
}
.place-row__link:hover { box-shadow: var(--msh-shadow-soft); }
.place-row__name { grid-area: name; font-family: var(--msh-font-display); font-size: var(--msh-t-20); font-weight: 500; line-height: 1.25; }
.place-row__cat {
  grid-area: cat;
  justify-self: start;
  padding: 3px 11px;
  border-radius: var(--msh-round);
  background: var(--msh-sea-soft);
  color: var(--msh-sea-deep);
  font-size: 13px;
  font-weight: 500;
}
.place-row__dist { grid-area: dist; display: inline-flex; align-items: center; gap: .45em; font-size: 14px; font-weight: 400; color: var(--msh-ink-soft); text-align: right; }
.place-row__dist .ico { width: 18px; height: 18px; color: var(--msh-olive); }
@media (min-width: 720px) {
  .place-row__link { grid-template-columns: minmax(0, 1fr) 11rem 16rem; grid-template-areas: "name cat dist"; }
  .place-row__dist { justify-self: end; white-space: nowrap; }
}
.around__more, .host-note__more { margin: var(--msh-s-4) 0 0; }

/* host note */
.host-note { display: grid; grid-template-columns: 1fr; gap: var(--msh-s-4); align-items: center; }
.host-note__media { overflow: hidden; border-radius: var(--msh-r-3); aspect-ratio: 4 / 3; background: var(--msh-sand-deep); }
.host-note__media img { width: 100%; height: 100%; object-fit: cover; }
.host-note > .sec-title { margin-bottom: var(--msh-s-3); }
.host-note__quote p {
  margin: 0;
  font-family: var(--msh-font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.8rem);
  line-height: 1.5;
  max-width: 32ch;
  text-wrap: pretty;
}
.host-note__sign { margin-top: var(--msh-s-3); font-size: var(--msh-t-16); font-weight: 500; color: var(--msh-olive); }
@media (min-width: 1080px) {
  .host-note { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-rows: auto auto 1fr; column-gap: var(--msh-s-7); }
  .host-note__media { grid-column: 1; grid-row: 1 / span 3; aspect-ratio: 5 / 4; }
  .host-note > .sec-title { grid-column: 2; grid-row: 1; align-self: end; }
  .host-note__quote { grid-column: 2; grid-row: 2; }
  .host-note__more { grid-column: 2; grid-row: 3; align-self: start; }
}

/* contact close: soft sand panel */
.contact-close {
  display: grid;
  gap: var(--msh-s-4);
  padding: var(--msh-s-5) var(--msh-s-4);
  border-radius: var(--msh-r-3);
  background: var(--msh-sand);
}
.contact-close__line { margin: 0; font-family: var(--msh-font-display); font-size: var(--msh-t-h2); line-height: 1.2; max-width: 20ch; }
.contact-close__side { display: flex; flex-direction: column; align-items: flex-start; gap: var(--msh-s-4); }
.contact-list { display: flex; flex-direction: column; gap: 2px; }
.contact-list a { display: inline-flex; align-items: center; gap: .6em; min-height: 38px; font-weight: 400; }
.contact-list a .ico { color: var(--msh-olive); }
.contact-list a span { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color var(--msh-dur-ui) ease; }
.contact-list a:hover span { text-decoration-color: currentColor; }
@media (min-width: 1080px) {
  .contact-close { grid-template-columns: 1fr auto; align-items: center; padding: var(--msh-s-6); }
  .contact-close__side { flex-direction: row; align-items: center; gap: var(--msh-s-6); }
}

/* ------------------------------------------------------------------ 9. house page */
.house-head { margin-bottom: var(--msh-s-4); }
.house-head__name { font-size: var(--msh-t-h1); margin: 0 0 var(--msh-s-2); }
.house-head__type { margin: 0; font-size: var(--msh-t-17); color: var(--msh-ink-soft); }
.filmstrip { position: relative; }
.filmstrip__track {
  display: flex;
  gap: 12px;
  height: clamp(300px, 60vh, 640px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--msh-gutter);
  padding-inline: var(--msh-gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.filmstrip__track::-webkit-scrollbar { display: none; }
.filmstrip__frame {
  flex: none;
  height: 100%;
  overflow: hidden;
  border-radius: var(--msh-r-2);
  scroll-snap-align: start;
  background: var(--msh-sand-deep);
  cursor: zoom-in;
}
.filmstrip__frame img { height: 100%; width: auto; max-width: none; object-fit: cover; }
.filmstrip__bar { display: flex; align-items: center; gap: var(--msh-s-2); width: var(--msh-content); margin: var(--msh-s-3) auto 0; }
.filmstrip__count { margin-right: auto; font-size: var(--msh-t-15); font-weight: 500; color: var(--msh-ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.filmstrip__all { margin-left: var(--msh-s-3); }
@media (max-width: 719px) {
  .filmstrip__track { height: 50vh; }
  .filmstrip__frame img { max-width: calc(100vw - 2 * var(--msh-gutter)); }
  .filmstrip__bar { flex-wrap: wrap; row-gap: var(--msh-s-2); }
  .filmstrip__all { order: 3; flex-basis: 100%; margin-left: 0; justify-content: flex-start; }
}

.house-body { display: grid; grid-template-columns: 1fr; gap: var(--msh-s-6); margin-top: var(--msh-s-6); }
@media (min-width: 1080px) { .house-body { grid-template-columns: minmax(0, 1fr) 370px; gap: var(--msh-s-7); align-items: start; } }
.house-main > * + * { margin-top: var(--msh-s-6); }
.house-desc p:first-child { font-family: var(--msh-font-display); font-size: var(--msh-t-20); font-weight: 300; line-height: 1.6; }
.house-beds { font-size: var(--msh-t-17); }
.house-main .sec-title { font-size: var(--msh-t-31); margin-bottom: var(--msh-s-4); }
.amenity-group + .amenity-group { margin-top: var(--msh-s-5); }
.amenity-group__title { margin: 0 0 var(--msh-s-3); font-family: var(--msh-font-body); font-size: var(--msh-t-15); font-weight: 600; letter-spacing: .02em; color: var(--msh-olive-deep); }
.amenity-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.amenity {
  display: flex;
  align-items: center;
  gap: .7em;
  padding: 10px 14px;
  border-radius: var(--msh-r-2);
  background: var(--msh-card);
  font-size: var(--msh-t-15);
  font-weight: 400;
  line-height: 1.35;
}
.amenity .ico { width: 22px; height: 22px; color: var(--msh-olive); }
.amenity__label { min-width: 0; overflow-wrap: anywhere; white-space: normal; }
.rules-list { display: grid; gap: 6px; font-size: var(--msh-t-16); line-height: 1.55; }
.rules-list li { display: flex; align-items: flex-start; gap: .8em; padding: 12px 16px; border-radius: var(--msh-r-2); background: var(--msh-card); }
.rules-list li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .6em; border-radius: 50%; background: var(--msh-olive); }
.map-frame { overflow: hidden; border-radius: var(--msh-r-3); aspect-ratio: 16 / 10; background: var(--msh-sand-deep); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.house-map__addr { display: flex; align-items: center; gap: .5em; margin-top: var(--msh-s-3); color: var(--msh-ink-soft); }
.house-map__addr .ico { color: var(--msh-olive); }

/* sticky summary card + phone dock */
.ledger { padding: var(--msh-s-4); border-radius: var(--msh-r-3); background: var(--msh-card); box-shadow: var(--msh-shadow-soft); }
.house-aside { display: block; }
@media (min-width: 1080px) {
  .house-aside { position: sticky; top: calc(var(--msh-header-h) + var(--msh-s-4)); }
  .ledger { padding: var(--msh-s-5) var(--msh-s-4); }
}
.ledger .price-from { padding-bottom: var(--msh-s-3); border-bottom: 1px solid var(--msh-line); }
.ledger .price-from__amount { font-size: var(--msh-t-31); }
.ledger__table { margin: var(--msh-s-3) 0; font-size: 14px; }
.ledger__table caption { text-align: left; font-weight: 600; font-size: 13px; letter-spacing: .02em; color: var(--msh-ink-soft); padding-bottom: var(--msh-s-2); }
.ledger__table th, .ledger__table td { padding: 8px 0; border-bottom: 1px solid var(--msh-line); text-align: left; font-weight: 400; vertical-align: top; }
.ledger__table td { text-align: right; white-space: nowrap; font-weight: 600; padding-left: var(--msh-s-3); font-variant-numeric: tabular-nums; }
.ledger__table tfoot th, .ledger__table tfoot td { border-bottom: 0; border-top: 1px solid var(--msh-ink); padding-top: var(--msh-s-2); font-family: var(--msh-font-display); font-size: var(--msh-t-20); font-weight: 500; }
.ledger__hint { display: block; font-size: 13px; color: var(--msh-ink-soft); }
.ledger__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: var(--msh-s-2); margin: var(--msh-s-3) 0; }
.ledger__facts dt { font-size: 12px; font-weight: 500; color: var(--msh-ink-soft); }
.ledger__facts dd { display: flex; align-items: center; gap: .4em; font-weight: 500; }
.ledger__facts .ico { width: 18px; height: 18px; color: var(--msh-olive); }
.ledger__note, .ledger__times { font-size: 13px; line-height: 1.55; color: var(--msh-ink-soft); margin: 0 0 var(--msh-s-2); }
.ledger__note:empty { display: none; }
.ledger__times { display: flex; align-items: center; gap: .5em; }
.ledger__times .ico { width: 18px; height: 18px; }
.ledger__cta { width: 100%; margin-top: var(--msh-s-3); white-space: normal; min-height: 52px; }
.ledger__empty { margin: 0; font-size: 15px; color: var(--msh-ink-soft); }
.view > .ledger-dock { width: auto; margin: 0; }
.ledger-dock {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--msh-s-3);
  padding: 12px var(--msh-gutter);
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--msh-card);
  border-radius: var(--msh-r-3) var(--msh-r-3) 0 0;
  box-shadow: 0 -10px 30px -16px rgba(0, 0, 0, .28);
}
.ledger-dock .price-from { margin: 0; line-height: 1.2; white-space: nowrap; }
.ledger-dock .price-from__unit { font-size: 13px; }
.ledger-dock .stone-btn { padding: 0 22px; }
.view-house { padding-bottom: 84px; }
@media (min-width: 1080px) { .ledger-dock { display: none; } .view-house { padding-bottom: 0; } }

/* ------------------------------------------------------------------ 10. destinations */
.place-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--msh-s-6); }
.place-tab {
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--msh-round);
  background: var(--msh-card);
  border: 1px solid var(--msh-line);
  font-size: var(--msh-t-15);
  font-weight: 500;
  color: var(--msh-ink-soft);
  transition: color var(--msh-dur-ui) ease, background-color var(--msh-dur-ui) ease, border-color var(--msh-dur-ui) ease;
}
.place-tab:hover { color: var(--msh-ink); border-color: var(--msh-line-strong); }
.place-tab[aria-selected="true"] { background: var(--msh-olive); border-color: var(--msh-olive); color: white; }
.place-list__items { display: grid; grid-template-columns: 1fr; gap: var(--msh-s-6); }
@media (min-width: 720px) {
  .place-list__items { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--msh-s-5); row-gap: var(--msh-s-6); padding-bottom: var(--msh-s-6); }
  .place:nth-child(even) { transform: translateY(var(--msh-s-6)); }
}
@media (min-width: 1080px) {
  .place-list__items { column-gap: var(--msh-s-7); padding-bottom: var(--msh-s-7); }
  .place:nth-child(even) { transform: translateY(var(--msh-s-7)); }
}
.place__photo { margin-bottom: var(--msh-s-3); }
.place__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--msh-r-2); background: var(--msh-sand-deep); }
.place__credit { margin-top: 6px; font-size: 12px; font-weight: 400; color: var(--msh-ink-soft); }
.place__credit a { text-decoration: underline; text-decoration-color: var(--msh-line-strong); text-underline-offset: 3px; }
.place__name { font-size: var(--msh-t-31); margin: 0 0 var(--msh-s-2); }
.place__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 var(--msh-s-3); font-size: 14px; font-weight: 400; color: var(--msh-ink-soft); }
.place__meta .ico { width: 18px; height: 18px; color: var(--msh-olive); }
.place__blurb { font-size: var(--msh-t-17); line-height: 1.75; max-width: 58ch; }
.place__tip { margin-top: var(--msh-s-3); padding: 14px 18px; border-radius: var(--msh-r-2); background: var(--msh-sand); font-size: var(--msh-t-15); line-height: 1.6; font-weight: 400; }
.place__tip-label { font-weight: 600; color: var(--msh-olive-deep); }

/* ------------------------------------------------------------------ 11. about */
.about__head, .about__story, .about__houses { max-width: 46rem; margin-inline: auto; }
.about__head { margin-bottom: var(--msh-s-5); }
.about__lead { max-width: none; font-family: var(--msh-font-display); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 300; line-height: 1.5; color: var(--msh-ink); }
.about__sign { font-size: var(--msh-t-16); font-weight: 500; color: var(--msh-olive); }
.about__media { overflow: hidden; border-radius: var(--msh-r-3); aspect-ratio: 16 / 9; margin: var(--msh-s-6) 0; background: var(--msh-sand-deep); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 719px) { .about__media { aspect-ratio: 4 / 3; } }
.triad { display: grid; grid-template-columns: 1fr; gap: var(--msh-s-3); margin: 0 0 var(--msh-s-7); }
.triad__item { padding: var(--msh-s-4); border-radius: var(--msh-r-3); background: var(--msh-sand); }
.triad__title { font-size: var(--msh-t-25); margin: 0 0 var(--msh-s-2); }
.triad__item p { margin: 0; font-size: var(--msh-t-16); line-height: 1.65; color: var(--msh-ink-soft); }
@media (min-width: 720px) { .triad { grid-template-columns: repeat(3, 1fr); } }
.house-index { display: grid; gap: 6px; }
.house-index__row a {
  display: grid;
  grid-template-columns: 1fr auto 20px;
  grid-template-areas: "name cap arrow" "type cap arrow";
  align-items: center;
  column-gap: var(--msh-s-3);
  padding: 14px 18px;
  border-radius: var(--msh-r-2);
  background: var(--msh-card);
  transition: box-shadow var(--msh-dur-ui) ease;
}
.house-index__row a:hover { box-shadow: var(--msh-shadow-soft); }
.house-index__name { grid-area: name; font-family: var(--msh-font-display); font-size: var(--msh-t-20); font-weight: 500; }
.house-index__type { grid-area: type; font-size: 14px; color: var(--msh-ink-soft); }
.house-index__cap { grid-area: cap; display: inline-flex; align-items: center; gap: .4em; font-size: 14px; font-weight: 400; white-space: nowrap; }
.house-index__cap .ico { width: 18px; height: 18px; color: var(--msh-olive); }
.house-index__row a > .ico:last-child { grid-area: arrow; color: var(--msh-olive); transition: transform var(--msh-dur-ui) ease; }
.house-index__row a:hover > .ico:last-child { transform: translateX(3px); }
@media (max-width: 719px) { .house-index__cap { display: none; } .house-index__row a { grid-template-columns: 1fr 20px; grid-template-areas: "name arrow" "type arrow"; } }

/* ------------------------------------------------------------------ 12. legal, not-found, states */
.legal { max-width: 72ch; }
.legal > .muted { margin-bottom: var(--msh-s-5); font-size: 15px; }
.legal__sec { padding: var(--msh-s-4) 0; border-top: 1px solid var(--msh-line); }
.legal__sec h2 { font-size: var(--msh-t-20); font-weight: 500; margin: 0 0 var(--msh-s-2); }
.notfound, .view-error { max-width: 46ch; min-height: 50vh; }
.notfound h1, .view-error h1 { margin-bottom: var(--msh-s-3); }
.notfound p, .view-error p { font-size: var(--msh-t-17); line-height: 1.7; }
.notfound .stone-btn, .view-error .stone-btn { margin-top: var(--msh-s-3); }
.notfound__code { margin: 0 0 var(--msh-s-2); font-family: var(--msh-font-display); font-size: clamp(4rem, 10vw, 6.5rem); font-weight: 300; line-height: 1; color: var(--msh-sea); }
.view-loading { padding: var(--msh-s-8) 0; text-align: center; font-size: var(--msh-t-17); color: var(--msh-ink-soft); animation: msh-breathe 1.6s ease-in-out infinite; }
@keyframes msh-breathe { 50% { opacity: .45; } }

/* ------------------------------------------------------------------ 13. booking */
.booking__head { margin-bottom: var(--msh-s-5); }
.stepline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 var(--msh-s-6); }
.stepline__seg { display: flex; flex-direction: column; gap: var(--msh-s-2); min-width: 0; }
.stepline__bar { display: block; height: 5px; border-radius: var(--msh-round); background: var(--msh-sand-deep); transition: background-color var(--msh-dur) var(--msh-ease); }
.stepline__seg.is-done .stepline__bar { background: color-mix(in srgb, var(--msh-olive) 45%, var(--msh-linen)); }
.stepline__seg.is-active .stepline__bar { background: var(--msh-olive); }
.stepline__label { font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--msh-ink-soft); overflow-wrap: anywhere; }
.stepline__seg.is-active .stepline__label { color: var(--msh-ink); }
@media (min-width: 720px) { .stepline__label { font-size: var(--msh-t-15); } }
.booking__title { font-size: var(--msh-t-h2); margin: 0 0 var(--msh-s-3); }
.booking__title:focus { outline: none; }
.booking__lead { margin-bottom: var(--msh-s-5); }
.booking__house, .booking__dates { display: flex; flex-wrap: wrap; align-items: center; gap: .45em; margin: 0; font-size: var(--msh-t-16); color: var(--msh-ink-soft); }
.booking__house strong { color: var(--msh-ink); font-family: var(--msh-font-display); font-weight: 500; font-size: var(--msh-t-20); }
.booking__house .stone-btn-text { min-height: 36px; font-size: 14px; }
.booking__dates { margin-bottom: var(--msh-s-4); }
.booking__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--msh-s-3); margin-top: var(--msh-s-6); padding-top: var(--msh-s-4); border-top: 1px solid var(--msh-line); }
@media (max-width: 719px) { .booking__nav .stone-btn { flex: 1 1 auto; } .booking__nav .stone-btn-primary { order: -1; flex-basis: 100%; } }

/* step 1: house rows */
.stay-list { display: grid; gap: var(--msh-s-2); margin-top: var(--msh-s-4); }
.stay-row {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: var(--msh-s-3);
  align-items: start;
  padding: 12px;
  border-radius: var(--msh-r-3);
  background: var(--msh-card);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--msh-dur-ui) ease, box-shadow var(--msh-dur-ui) ease, background-color var(--msh-dur-ui) ease;
}
.stay-row:hover { box-shadow: var(--msh-shadow-soft); }
.stay-row[data-selected="true"] { border-color: var(--msh-olive); background: var(--msh-olive-soft); }
.stay-row[data-unavailable] { cursor: not-allowed; }
.stay-row[data-unavailable] .stay-row__media, .stay-row[data-unavailable] .stay-row__name { opacity: .5; }
.stay-row__name { font-size: var(--msh-t-20); font-weight: 500; margin: 2px 0 2px; }
.stay-row__type { margin: 0 0 var(--msh-s-2); color: var(--msh-ink-soft); font-size: 14px; }
.stay-row .stats { margin-bottom: var(--msh-s-2); font-size: 13px; }
.stay-row__note { margin: var(--msh-s-2) 0 0; color: var(--msh-clay); font-size: 14px; font-weight: 400; }
.stay-row__view { min-height: 34px; font-size: 14px; }
.stay-row__choose { grid-column: 1 / -1; width: 100%; }
@media (min-width: 720px) {
  .stay-row { grid-template-columns: 170px minmax(0, 1fr) auto; gap: var(--msh-s-4); align-items: center; padding: 12px var(--msh-s-4) 12px 12px; }
  .stay-row__choose { grid-column: auto; width: auto; }
}

/* step 2: calendar + form + live total */
.book-grid { display: grid; grid-template-columns: 1fr; gap: var(--msh-s-5); }
@media (min-width: 1080px) {
  .book-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "cal form" "sum form"; column-gap: var(--msh-s-6); align-items: start; }
  .book-grid__cal { grid-area: cal; }
  .book-grid__form { grid-area: form; }
  .book-grid > .ledger-live { grid-area: sum; }
}
.book-grid__title { font-size: var(--msh-t-20); font-weight: 500; margin: 0 0 var(--msh-s-3); }
.book-form { display: grid; gap: var(--msh-s-3); }
.book-form__row { display: grid; grid-template-columns: 1fr; gap: var(--msh-s-3); }
@media (min-width: 720px) { .book-form__row { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------------ 15. forms */
.field { display: flex; flex-direction: column; min-width: 0; }
.field__label { margin-bottom: 6px; font-size: 13px; font-weight: 500; }
.req { color: var(--msh-clay); }
.field__input {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  background: var(--msh-card);
  border: 1px solid var(--msh-line-strong);
  border-radius: var(--msh-r-2);
  font-family: var(--msh-font-body);
  font-size: var(--msh-t-16);
  font-weight: 400;
  color: var(--msh-ink);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--msh-dur-ui) ease, box-shadow var(--msh-dur-ui) ease;
}
.field__input:hover { border-color: color-mix(in srgb, var(--msh-ink) 45%, transparent); }
.field__input:focus-visible, .field__input:focus { outline: none; border-color: var(--msh-olive); box-shadow: 0 0 0 3px var(--msh-olive-soft); }
textarea.field__input { min-height: 120px; resize: vertical; line-height: 1.55; }
select.field__input {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%23262A24' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
}
.field[data-invalid] .field__input, .field__input[aria-invalid="true"] { border-color: var(--msh-clay); box-shadow: 0 0 0 3px var(--msh-clay-soft); }
.field__error { margin: 6px 0 0; font-size: 14px; font-weight: 400; color: var(--msh-clay); }
.field__error:empty { display: none; }
.ledger-live { align-self: start; }
.ledger-live .ledger__table { margin: 0; }
.form-msg {
  margin: 0 0 var(--msh-s-4);
  padding: 14px 18px;
  border-radius: var(--msh-r-2);
  background: var(--msh-clay-soft);
  color: var(--msh-ink);
  font-size: 15px;
  font-weight: 400;
}
.form-msg:empty { display: none; }

/* step 3: review, payment, policy, terms */
.review-grid { display: grid; grid-template-columns: 1fr; gap: var(--msh-s-5); margin-bottom: var(--msh-s-6); }
@media (min-width: 1080px) { .review-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--msh-s-6); align-items: start; } }
.review-table { font-size: var(--msh-t-16); border-radius: var(--msh-r-3); background: var(--msh-card); overflow: hidden; }
.review-table th, .review-table td { padding: 13px 18px; border-bottom: 1px solid var(--msh-line); text-align: left; vertical-align: top; }
.review-table tr:last-child th, .review-table tr:last-child td { border-bottom: 0; }
.review-table th { width: 36%; font-weight: 500; font-size: 14px; color: var(--msh-ink-soft); }
.review-table td { font-weight: 400; overflow-wrap: anywhere; }
.send-form { max-width: 760px; }
.pay-choice { margin: 0 0 var(--msh-s-5); padding: 0; border: 0; min-width: 0; display: grid; gap: 8px; }
.pay-choice__legend { padding: 0; margin-bottom: var(--msh-s-3); font-family: var(--msh-font-display); font-size: var(--msh-t-20); font-weight: 500; }
.pay-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--msh-s-3);
  padding: var(--msh-s-3) 18px;
  border-radius: var(--msh-r-2);
  background: var(--msh-card);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--msh-dur-ui) ease, background-color var(--msh-dur-ui) ease;
}
.pay-option:hover { border-color: var(--msh-line-strong); }
.pay-option input, .terms__label input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pay-option__mark, .terms__mark {
  flex: none;
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1.5px solid var(--msh-line-strong);
  background: var(--msh-card);
  transition: border-color var(--msh-dur-ui) ease, background-color var(--msh-dur-ui) ease;
}
.pay-option__mark { border-radius: 50%; }
.terms__mark { border-radius: 7px; }
.pay-option__mark::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--msh-olive); transform: scale(0); transition: transform var(--msh-dur-ui) ease; }
.terms__mark::after {
  content: "";
  position: absolute;
  left: 6.5px;
  top: 2.5px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform var(--msh-dur-ui) ease;
}
.pay-option input:checked ~ .pay-option__mark { border-color: var(--msh-olive); }
.pay-option input:checked ~ .pay-option__mark::after { transform: scale(1); }
.terms__label input:checked + .terms__mark { background: var(--msh-olive); border-color: var(--msh-olive); }
.terms__label input:checked + .terms__mark::after { transform: rotate(45deg) scale(1); }
.pay-option:has(input:checked) { border-color: var(--msh-olive); background: var(--msh-olive-soft); }
.pay-option input:focus-visible ~ .pay-option__mark, .terms__label input:focus-visible + .terms__mark { outline: 2px solid var(--msh-olive); outline-offset: 3px; }
.pay-option__text { display: flex; flex-direction: column; gap: 2px; }
.pay-option__title { font-weight: 500; }
.pay-option__desc { font-size: 14px; color: var(--msh-ink-soft); line-height: 1.5; }
.pay-choice.is-invalid .pay-option { border-color: var(--msh-clay); }
.policy-note { margin: 0 0 var(--msh-s-5); padding: 16px 20px; border-radius: var(--msh-r-2); background: var(--msh-sea-soft); }
.policy-note__title { font-family: var(--msh-font-body); font-size: var(--msh-t-15); font-weight: 600; margin: 0 0 6px; }
.policy-note p { font-size: 15px; line-height: 1.65; color: var(--msh-ink); max-width: 70ch; }
.terms { margin-bottom: var(--msh-s-4); }
.terms__label { position: relative; display: flex; align-items: flex-start; gap: var(--msh-s-3); font-size: 15px; font-weight: 400; line-height: 1.5; cursor: pointer; }
.terms[data-invalid] .terms__mark { border-color: var(--msh-clay); border-width: 2px; }

/* result */
.done { max-width: 720px; }
.done__label { margin: 0 0 4px; font-size: 13px; font-weight: 500; color: var(--msh-ink-soft); }
.done__ref { margin: 0 0 var(--msh-s-5); font-family: var(--msh-font-display); font-size: var(--msh-t-h1); font-weight: 500; line-height: 1; letter-spacing: .02em; color: var(--msh-olive); overflow-wrap: anywhere; }
.done__title { font-size: var(--msh-t-31); margin: 0 0 var(--msh-s-3); }
.done__text, .done__pending { font-size: var(--msh-t-17); line-height: 1.7; }
.done__pending { color: var(--msh-ink-soft); }
.done__warn { padding: 12px 16px; border-radius: var(--msh-r-2); background: var(--msh-clay-soft); }
.done .review-table { margin: var(--msh-s-5) 0; }
.demo-banner { margin: 0 0 var(--msh-s-5); padding: 16px 20px; border-radius: var(--msh-r-2); background: var(--msh-sea-soft); font-size: 15px; }
.demo-banner p { margin: 0; }
.demo-banner__title { margin-bottom: 4px !important; font-weight: 600; }
.demo-banner strong { font-weight: 600; }

/* ------------------------------------------------------------------ 14. calendar
   White rounded card; days are soft rounded cells. Start/end = olive with white numerals, nights between =
   pale sea blue; booked nights = faded numeral with a small clay dot underneath (no strikethrough). */
.cal { position: relative; padding: var(--msh-s-4) var(--msh-s-3) var(--msh-s-3); border-radius: var(--msh-r-3); background: var(--msh-card); box-shadow: var(--msh-shadow-soft); }
.sentence__pop .cal { padding: 0; box-shadow: none; background: transparent; border-radius: 0; }
.cal__head { position: absolute; top: calc(var(--msh-s-4) - 11px); left: var(--msh-s-3); right: var(--msh-s-3); display: flex; justify-content: space-between; pointer-events: none; }
.sentence__pop .cal__head { top: -11px; left: 0; right: 0; }
.cal__head .stone-btn { pointer-events: auto; }
.cal__prev, .cal__next { width: 40px; height: 40px; min-height: 40px; padding: 0; }
.cal__prev:disabled, .cal__next:disabled { opacity: .3; cursor: default; }
.cal__months { display: grid; grid-template-columns: 1fr; gap: var(--msh-s-5); }
@media (min-width: 720px) { .cal__months:has(> .cal__month + .cal__month) { grid-template-columns: 1fr 1fr; gap: var(--msh-s-5); } }
.cal__month { min-width: 0; }
.cal__title { margin: 0 0 var(--msh-s-3); height: 20px; line-height: 20px; font-family: var(--msh-font-display); font-size: var(--msh-t-17); font-weight: 500; text-align: center; text-transform: lowercase; }
.cal__title::first-letter { text-transform: uppercase; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal__dow { padding-bottom: 6px; font-size: 12px; font-weight: 500; text-align: center; color: var(--msh-ink-soft); }
.cal__pad { aspect-ratio: 1; }
.cal__day {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  min-height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--msh-ink);
  font-size: var(--msh-t-15);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: grid;
  place-items: center;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--msh-dur-ui) ease, color var(--msh-dur-ui) ease, border-color var(--msh-dur-ui) ease;
}
.cal__day:hover:not(:disabled) { background: var(--msh-sand); }
.cal__day:focus-visible { outline: 2px solid var(--msh-olive); outline-offset: 1px; z-index: 1; }
.cal__day.is-today { border-color: var(--msh-line-strong); }
.cal__day.is-range { background: var(--msh-sea-soft); }
.cal__day.is-start, .cal__day.is-end { background: var(--msh-olive); color: white; border-color: var(--msh-olive); }
.cal__day.is-booked:not(.is-start):not(.is-end) { color: var(--msh-ink-faint); }
.cal__day.is-booked:not(.is-start):not(.is-end)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--msh-clay);
}
.cal__day.is-turnover:not(.is-start):not(.is-end) { color: var(--msh-ink); }
.cal__day:disabled, .cal__day.is-off { color: color-mix(in srgb, var(--msh-ink) 25%, transparent); cursor: default; background: transparent; }
.cal__msg { margin: var(--msh-s-3) 0 0; min-height: 1.6em; font-size: 14px; line-height: 1.6; color: var(--msh-ink-soft); }
.cal__msg.is-error { color: var(--msh-clay); }
@media (max-width: 719px) {
  .cal { padding: var(--msh-s-4) var(--msh-s-2) var(--msh-s-2); }
  .cal__head { left: var(--msh-s-2); right: var(--msh-s-2); }
  .cal__day { font-size: 14px; border-radius: 9px; }
}

/* ------------------------------------------------------------------ 16. viewer (lightbox) */
.viewer { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: color-mix(in srgb, var(--msh-ink) 94%, transparent); color: white; }
.viewer[hidden] { display: none; }
.viewer[data-open] { animation: msh-appear 220ms ease; }
.viewer__top { display: flex; justify-content: space-between; align-items: center; gap: var(--msh-s-3); padding: var(--msh-s-3) var(--msh-gutter); }
.viewer__count { font-size: var(--msh-t-15); font-weight: 500; font-variant-numeric: tabular-nums; opacity: .85; }
.viewer .stone-btn-text { color: white; }
.viewer .stone-btn-text:hover { color: var(--msh-sea-soft); }
.viewer .stone-btn-secondary { background: color-mix(in srgb, white 12%, transparent); color: white; border-color: color-mix(in srgb, white 22%, transparent); }
.viewer .stone-btn-secondary:hover { background: color-mix(in srgb, white 22%, transparent); border-color: color-mix(in srgb, white 40%, transparent); }
.viewer__close { min-height: 44px; }
.viewer__stage { margin: 0; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 var(--msh-gutter); }
.viewer__stage img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--msh-r-2); }
.viewer__bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--msh-s-3); padding: var(--msh-s-3) var(--msh-gutter) max(var(--msh-s-3), env(safe-area-inset-bottom)); }
.viewer__prev, .viewer__next { width: auto; padding: 0 var(--msh-s-3); gap: var(--msh-s-2); }
.viewer__prev:only-child { margin-right: auto; }
.viewer__grid { grid-row: 2 / 4; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; align-content: start; padding: 0 var(--msh-gutter) var(--msh-s-5); }
.viewer__thumb { display: block; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: var(--msh-r-2); background: color-mix(in srgb, white 8%, transparent); cursor: zoom-in; overflow: hidden; }
.viewer__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity var(--msh-dur-ui) ease; }
.viewer__thumb:hover img { opacity: .85; }
.viewer__thumb:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.viewer :focus-visible { outline-color: white; }
@media (min-width: 720px) {
  .viewer__top, .viewer__bottom { padding-left: var(--msh-s-4); padding-right: var(--msh-s-4); }
  .viewer__stage { padding: 0 var(--msh-s-6); }
  .viewer__grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); padding: 0 var(--msh-s-4) var(--msh-s-5); }
}
@media (max-width: 719px) { .viewer__all { font-size: 0; gap: 0; } .viewer__all .ico { width: 20px; height: 20px; } }

/* ------------------------------------------------------------------ 17. footer (olive ground) */
#site-footer { margin-top: var(--msh-s-7); background: var(--msh-olive); color: var(--msh-linen); transition: opacity 260ms var(--msh-ease); }
.course { width: var(--msh-content); margin-inline: auto; padding-top: var(--msh-s-6); }
.course__brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--msh-s-2); padding-bottom: var(--msh-s-5); margin-bottom: var(--msh-s-5); border-bottom: 1px solid color-mix(in srgb, var(--msh-linen) 22%, transparent); }
.course__name { margin: 0; font-family: var(--msh-font-display); font-size: var(--msh-t-31); font-weight: 400; line-height: 1.15; }
.course__tag { margin: 0 0 var(--msh-s-2); color: color-mix(in srgb, var(--msh-linen) 80%, transparent); }
@media (min-width: 720px) {
  .course__brand { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: var(--msh-s-4); }
  .course__tag { margin: 0 auto 0 0; }
}
.course__blocks { display: grid; grid-template-columns: 1fr; gap: var(--msh-s-5); }
.course__block { min-width: 0; }
.course__head { margin: 0 0 var(--msh-s-3); font-family: var(--msh-font-body); font-size: 13px; font-weight: 600; letter-spacing: .06em; color: color-mix(in srgb, var(--msh-linen) 75%, transparent); }
.course a:not(.stone-btn) { color: var(--msh-linen); }
.course .stone-btn-light { color: var(--msh-olive-deep); }
.course .ico { color: color-mix(in srgb, var(--msh-linen) 80%, transparent); }
.course__addr { display: flex; gap: .6em; align-items: flex-start; line-height: 1.6; margin-bottom: var(--msh-s-2); }
.course__addr .ico { flex: none; margin-top: .2em; }
.course__map { display: inline-flex; align-items: center; gap: .4em; min-height: 36px; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, var(--msh-linen) 45%, transparent); text-underline-offset: 4px; }
.course__map:hover { text-decoration-color: var(--msh-linen); }
.course__contact { margin: 0; padding: 0; }
.course .contact-list a .ico { color: color-mix(in srgb, var(--msh-linen) 80%, transparent); }
.course__social { display: flex; flex-wrap: wrap; gap: var(--msh-s-2) var(--msh-s-4); margin: var(--msh-s-2) 0 0; }
.course__social a { display: inline-flex; align-items: center; gap: .5em; min-height: 36px; }
.course__social a:hover { text-decoration: underline; text-underline-offset: 4px; }
.course__pages { display: flex; flex-direction: column; gap: 2px; }
.course__pages a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color var(--msh-dur-ui) ease; }
.course__pages a:hover, .course__pages a:focus-visible { text-decoration-color: currentColor; }
.course a:focus-visible, .course .stone-btn:focus-visible { outline: 2px solid var(--msh-linen); outline-offset: 2px; }
.course__legal { margin: var(--msh-s-6) 0 0; padding: var(--msh-s-4) 0; border-top: 1px solid color-mix(in srgb, var(--msh-linen) 22%, transparent); font-size: 13px; line-height: 1.6; text-align: center; color: color-mix(in srgb, var(--msh-linen) 78%, transparent); }
.imprint { width: var(--msh-content); margin: 0 auto; padding: var(--msh-s-3) 0 max(var(--msh-s-4), env(safe-area-inset-bottom)); border-top: 1px solid color-mix(in srgb, var(--msh-linen) 22%, transparent); text-align: center; font-size: 12px; letter-spacing: .03em; }
.imprint a { color: color-mix(in srgb, var(--msh-linen) 85%, transparent); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.imprint a:hover { color: var(--msh-linen); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 720px) { .course__blocks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--msh-s-5); } }

/* ------------------------------------------------------------------ 18. motion
   Hidden state only exists while the observer runs (html[data-reveal-on]), so content never stays invisible.
   Only opacity/transform are animated on the observed element, never clip-path (Chrome would then never report
   a fully clipped target as intersecting). */
html[data-reveal-on] [data-reveal] { transition: opacity var(--msh-dur) var(--msh-ease), transform var(--msh-dur) var(--msh-ease); }
html[data-reveal-on] [data-reveal="text"]:not(.is-revealed) { opacity: 0; }
html[data-reveal-on] [data-reveal="photo"]:not(.is-revealed) { opacity: 0; transform: scale(.985); }
html[data-reveal-on] [data-reveal].is-revealed { opacity: 1; transform: none; }
.place:nth-child(even)[data-reveal] { transition: opacity var(--msh-dur) var(--msh-ease); }
@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; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .place:nth-child(even) { transform: none !important; }
  #view { transition: none !important; }
}

/* ------------------------------------------------------------------ 19. print */
@media print {
  #site-header, .sheet, .sheet-scrim, .viewer, .ledger-dock, .imprint, .msh-skip, .stone-btn, .sentence__pop, .welcome__frame::after { display: none !important; }
  html, body { background: none; color: var(--msh-ink); }
  #site-footer { background: none; color: var(--msh-ink); margin-top: 24px; opacity: 1 !important; visibility: visible !important; }
  .course a, .course__head { color: var(--msh-ink); }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  a { text-decoration: underline; }
  .house-body, .book-grid { display: block; }
  img { max-width: 100% !important; page-break-inside: avoid; }
}
