/* Moorebida House · main.css
   One fluid layout from 320 px to 4K. Phone parity: every scroll effect runs at every width and with Reduce Motion on;
   `.motion` (set in the head) gates only autonomous motion (fade-ups). Hovers live inside (hover:hover) and (pointer:fine);
   on touch the same --hp pose is driven by scroll position (main.js, centre driver). Spacing on a 4 px grid. */

@font-face { font-family: "Mona Sans"; src: url(/assets/fonts/mona.woff2) format("woff2"); font-weight: 300 800; font-stretch: 75% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces-italic.woff2) format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@property --hp { syntax: "<number>"; inherits: true; initial-value: 0; }

:root {
  --paper: #F4EFE7; --paper-2: #EBE3D7;
  --ink: #1C1724; --ink-2: rgba(28, 23, 36, .78); --ink-3: rgba(28, 23, 36, .66);
  --night: #15111E; --night-2: #1F1A2B;
  --on-dark: #F4EFE7; --on-dark-2: rgba(244, 239, 231, .8); --on-dark-3: rgba(244, 239, 231, .64);
  --umber: #7A5638;
  --purple: #422D8C; --crimson: #D72638; --crimson-ink: #B31D2E; --crimson-hi: #FF8A95; --sage: #9ABA71; --earth: #B8643A;
  --line-ink: rgba(28, 23, 36, .14); --line-dark: rgba(244, 239, 231, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 64px;
  --g: clamp(16px, 5vw, 64px);
  --gl: max(var(--g), env(safe-area-inset-left));
  --gr: max(var(--g), env(safe-area-inset-right));
  --sec: clamp(96px, 12vw, 176px);
  --maxw: 1280px;
  /* the role colours each section re-points */
  --bg: var(--paper); --fg: var(--ink); --fg-2: var(--ink-2); --fg-3: var(--ink-3); --line: var(--line-ink); --hot: var(--crimson-ink);
  color-scheme: light;
}
@media (min-width: 900px) { :root { --header-h: 72px; } }

/* ── base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Mona Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-stretch: 100%;
  font-size: clamp(16px, .95rem + .2vw, 18px); line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas, picture { display: block; max-width: 100%; }
picture img { width: 100%; height: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: var(--header-h); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--crimson); color: #fff; }
.sr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -64px; z-index: 100; padding: 12px 16px; background: var(--paper); color: var(--ink); border-radius: 4px; text-decoration: none; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }

/* dark grounds re-point the roles */
.hero, .welcome, .stay, .island, .voices, .begin, .footer, .menu, .site-header[data-theme="light"], .phero, .pstay, .lost {
  --fg: var(--on-dark); --fg-2: var(--on-dark-2); --fg-3: var(--on-dark-3); --line: var(--line-dark); --hot: var(--crimson-hi);
}

/* ── type ── */
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--g)); margin-inline: auto; padding-inline: var(--gl) var(--gr); }
.display { font-size: clamp(44px, 7.4vw, 116px); line-height: .98; font-weight: 500; font-stretch: 116%; letter-spacing: -.028em; text-wrap: balance; }
.h2 { font-size: clamp(32px, 4.2vw, 60px); line-height: 1.04; font-weight: 500; font-stretch: 112%; letter-spacing: -.022em; text-wrap: balance; }
.h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; font-weight: 500; font-stretch: 108%; letter-spacing: -.01em; }
.label { display: flex; align-items: baseline; gap: 8px; font-size: 15px; line-height: 1.4; font-weight: 500; font-stretch: 104%; color: var(--fg-3); }
.label::before, .tri { content: ""; display: inline-block; flex: none; width: 10px; height: 9px; background: var(--crimson); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.tri { margin-right: 8px; }
p { text-wrap: pretty; }
.note { color: var(--fg-3); font-size: 15px; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; margin-right: 8px; border: 1px solid var(--line); border-radius: 3px; font-size: 13px; font-weight: 500; color: var(--fg-2); }

/* links and buttons share one hover pose, --hp (0 rest, 1 hover): CSS :hover on fine pointers, scroll position on touch */
.link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; font-stretch: 106%; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / calc(var(--hp) * 100%) 1px no-repeat;
}
.link .arrow { display: inline-block; transform: translateX(calc(var(--hp) * 6px)); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 4px; font-size: 16px; font-weight: 500; font-stretch: 108%; line-height: 1.1;
  text-decoration: none; white-space: nowrap; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--accent { background: color-mix(in srgb, var(--crimson), #000 calc(var(--hp) * 14%)); color: #fff; }
.btn--ghost { border-color: color-mix(in srgb, currentColor 60%, transparent); color: var(--fg); background: color-mix(in srgb, currentColor calc(var(--hp) * 10%), transparent); }
.btn--quiet { padding: 0 8px; color: var(--fg-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px 12px; }
@media (hover: hover) and (pointer: fine) {
  .link, .btn, .room, .work { transition: --hp .35s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
  .link:hover, .btn:hover, .room:hover, .work:hover { --hp: 1; }
}
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* the peaks horizon: the mark's three triangles as the top edge of a section, in that section's ground */
.ridge {
  position: absolute; bottom: 100%; z-index: 2; width: clamp(200px, 26vw, 400px); aspect-ratio: 200 / 86.6; margin-bottom: -1px;
  background: var(--bg); pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 86.6' preserveAspectRatio='none'%3E%3Cpath d='M0 86.6 50 0l25 43.3L100 0l25 43.3L150 0l50 86.6z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 86.6' preserveAspectRatio='none'%3E%3Cpath d='M0 86.6 50 0l25 43.3L100 0l25 43.3L150 0l50 86.6z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.ridge--l { left: 12%; }
.ridge--c { left: 50%; translate: -50% 0; }
.ridge--r { right: 10%; }
@media (max-width: 599px) { .ridge--l { left: -8%; } .ridge--r { right: -8%; } }

section { position: relative; }
/* peaks and the hero mark reach past the sides on purpose: clip sideways only (never overflow:hidden, it would break the sticky stages) */
main > section { overflow-x: clip; }
.origin, .reset, .quote, .house, .marlon, .breathe { --bg: var(--paper); background: var(--paper); color: var(--ink); }
.hero, .stay, .island, .voices, .begin, .footer { --bg: var(--night); background: var(--night); color: var(--on-dark); }
.welcome { --bg: var(--umber); background: var(--umber); color: var(--on-dark); }

/* ── header ── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gr) 0 var(--gl);
  color: var(--fg); background: var(--h-bg, transparent); box-shadow: 0 1px 0 var(--h-line, transparent);
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header[data-theme="dark"] { --fg: var(--ink); --fg-2: var(--ink-2); }
.brand { display: flex; align-items: center; min-height: 44px; margin-right: auto; color: inherit; }
.lockup { height: 26px; width: auto; aspect-ratio: 7.128; }
@media (min-width: 900px) { .lockup { height: 30px; } }
.nav { display: none; gap: 28px; font-size: 15px; font-weight: 500; font-stretch: 106%; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--fg); opacity: .86; transition: opacity .2s var(--ease); }
.btn--head { display: none; min-height: 44px; padding: 0 16px; font-size: 15px; }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; min-width: 44px; padding: 0 4px 0 12px; margin-right: -4px; background: none; border: 0; font-weight: 500; font-size: 15px; color: var(--fg); }
.menu-btn__bars { position: relative; width: 20px; height: 10px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-btn__bars { border-bottom-color: transparent; transform: translateY(4px); }
@media (min-width: 1080px) {
  .nav, .btn--head { display: inline-flex; }
  .menu-btn { display: none; }
}
@media (hover: hover) and (pointer: fine) { .nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; } }
.menu {
  position: fixed; inset: 0; z-index: 49; display: flex; flex-direction: column; gap: 32px; overflow-y: auto;
  padding: calc(var(--header-h) + 32px) var(--gr) max(32px, env(safe-area-inset-bottom)) var(--gl);
  background: var(--night); color: var(--on-dark);
}
.menu nav { display: flex; flex-direction: column; }
.menu nav a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line-dark); font-size: clamp(24px, 6vw, 32px); font-weight: 500; font-stretch: 112%; text-decoration: none; }
.menu .btn { align-self: flex-start; }
.menu__contact { color: var(--on-dark-2); }
.menu__contact a { display: inline-block; padding: 8px 0; }
html.is-menu { overflow: hidden; }

/* ── 1 · hero: the mark opens onto the drone film ── */
.hero { height: 320svh; z-index: 0; }
.hero__stage {
  position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h));
  --sh: calc(100svh - var(--header-h));
  --mw: min(170vw, calc(var(--sh) * 1.15), 1240px); --mh: calc(var(--mw) / 2.1831);
  --mx: 50%; --my: calc(var(--sh) * .37);
  --t: 0; --f: 1; --s: 0; --cy: 0px; --co: 1;
}
@media (max-aspect-ratio: 1/1) { .hero { height: 360svh; } .hero__stage { --mw: min(170vw, calc(var(--sh) * .85)); --my: calc(var(--sh) * .3); } }
@media (max-aspect-ratio: 1/1) and (max-height: 620px) { .hero__stage { --mw: min(170vw, calc(var(--sh) * .62)); --my: calc(var(--sh) * .24); } }
@media (orientation: landscape) and (max-height: 520px) { .hero__stage { --mw: min(50vw, calc(var(--sh) * 1.9)); --mx: 74%; --my: calc(var(--sh) * .5); } }
/* the window: the film behind a clip that starts as the middle triangle of the mark (its centre line, under the stroke) and opens
   to the whole screen. The same --mw / --mx / --my place the mark, so the triangle and the outline always meet. */
.hero__win {
  position: absolute; left: 0; right: 0; top: calc(-1 * var(--header-h)); bottom: 0; background: var(--night-2);
  --ay: calc(var(--my) + var(--header-h) - var(--mh) * .44234); --by: calc(var(--my) + var(--header-h) + var(--mh) * .45845);
  --bx: calc(var(--mw) * .2382);
  clip-path: polygon(
    calc(var(--mx) * (1 - var(--t))) calc(var(--ay) * (1 - var(--t))),
    calc(var(--mx) + (100% - var(--mx)) * var(--t)) calc(var(--ay) * (1 - var(--t))),
    calc(var(--mx) + var(--bx) + (100% - var(--mx) - var(--bx)) * var(--t)) calc(var(--by) + (100% - var(--by)) * var(--t)),
    calc((var(--mx) - var(--bx)) * (1 - var(--t))) calc(var(--by) + (100% - var(--by)) * var(--t))
  );
}
.hero__poster, .film { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster img, .film { object-fit: cover; object-position: 50% 50%; }
.film { opacity: 0; transition: opacity .3s var(--ease); }
.seq-on .film { opacity: 1; }
.hero__shade { position: absolute; inset: 0; opacity: var(--s); pointer-events: none;
  background: linear-gradient(to top, rgba(21, 17, 30, .86) 0%, rgba(21, 17, 30, .5) 34%, rgba(21, 17, 30, 0) 62%),
              linear-gradient(to bottom, rgba(21, 17, 30, .5), rgba(21, 17, 30, 0) 24%); }
.hero__mark {
  position: absolute; left: var(--mx); top: var(--my); width: var(--mw); height: auto; aspect-ratio: 3100 / 1420; max-width: none;
  translate: -50% -50%; color: var(--on-dark); overflow: visible; pointer-events: none;
}
.hero__fills { opacity: calc(.38 * var(--f)); }
.hero__l { transform: translateX(calc(var(--t) * -1100px)); opacity: calc(1 - var(--t) * 2.6); }
.hero__r { transform: translateX(calc(var(--t) * 1100px)); opacity: calc(1 - var(--t) * 2.6); }
.hero__m { opacity: calc(1 - var(--t) * 4); }
.hero__copy {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: grid; gap: 16px;
  padding: 0 var(--gr) max(32px, env(safe-area-inset-bottom)) var(--gl); transform: translateY(var(--cy)); opacity: var(--co);
}
.hero__copy h1 { font-size: clamp(36px, min(5.4vw, 9svh), 84px); line-height: 1.02; font-weight: 500; font-stretch: 114%; letter-spacing: -.026em; text-wrap: balance; max-width: 15ch; }
.hero__aside { display: grid; gap: 20px; }
.hero__lede { color: var(--on-dark-2); max-width: 44ch; font-size: clamp(16px, 1rem + .25vw, 19px); }
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .hero__copy { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 48px; padding-bottom: 48px; }
}
@media (max-aspect-ratio: 1/1) and (max-height: 620px) {
  .hero__copy { gap: 12px; padding-bottom: 20px; }
  .hero__copy h1 { font-size: 29px; }
  .hero__lede { font-size: 15px; line-height: 1.45; }
  .hero__aside { gap: 14px; }
  .hero__copy .btn { min-height: 44px; padding: 0 14px; font-size: 15px; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .hero__copy { max-width: 50%; gap: 10px; padding-bottom: 16px; }
  .hero__copy h1 { font-size: 26px; }
  .hero__lede { font-size: 14px; line-height: 1.4; }
  .hero__aside { gap: 12px; }
  .hero__copy .btn { min-height: 44px; padding: 0 14px; font-size: 14px; }
}
.hero__caption { position: absolute; right: var(--gr); top: 16px; z-index: 3; display: flex; align-items: center; font-size: 13px; color: var(--on-dark-2); opacity: var(--s); }
@media (max-width: 599px) { .hero__caption { display: none; } }
.no-js .hero__win { clip-path: none; }
.no-js .hero__mark { display: none; }

/* ── 2 · origin ── */
.origin { z-index: 1; padding-block: var(--sec); }
.origin .display { margin-top: 24px; max-width: 12ch; }
.words { margin-top: clamp(32px, 4vw, 56px); max-width: 30ch; font-size: clamp(24px, 2.9vw, 42px); line-height: 1.24; font-weight: 450; font-stretch: 104%; letter-spacing: -.012em; }
.words .w { opacity: var(--o, 1); }

/* ── fixed-photo windows: the section is a clipped hole in the page, the picture stays fixed behind it ── */
.win { height: 115svh; z-index: 1; clip-path: inset(0); background: var(--night); }
.win__clip { position: absolute; inset: 0; }
.win__pic { position: fixed; left: 0; top: 0; width: 100vw; height: 100lvh; visibility: hidden; }
.win.is-live .win__pic { visibility: visible; }
.win__pic img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.win__pic img.is-in { opacity: 1; }
.win__cap { position: absolute; left: var(--gl); bottom: 24px; z-index: 1; display: flex; align-items: center; max-width: calc(100% - 2 * var(--g)); font-size: 14px; font-weight: 500; color: var(--on-dark); text-shadow: 0 1px 10px rgba(21, 17, 30, .5); }
.win__cap--ink { color: var(--ink); text-shadow: 0 1px 10px rgba(244, 239, 231, .6); }
.win--inset { height: 72svh; }
.no-js .win { height: auto; }

/* ── 3 · welcome ── */
.welcome { z-index: 2; display: grid; overflow-x: clip; }
.welcome__pic { position: relative; height: min(125vw, 92svh); }
.welcome__img { position: absolute; inset: 0; }
.welcome__img img { object-fit: cover; -webkit-mask: linear-gradient(to bottom, #000 70%, transparent); mask: linear-gradient(to bottom, #000 70%, transparent); }
.welcome__text { padding: 0 var(--gr) var(--sec) var(--gl); display: grid; gap: 24px; align-content: start; max-width: 640px; }
.welcome__text p { color: var(--on-dark); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 24px 0; border-block: 1px solid var(--line-dark); }
.facts li { display: grid; gap: 4px; align-content: start; font-size: 14px; line-height: 1.35; color: var(--on-dark-2); }
.fig { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(44px, 5vw, 72px); line-height: .9; color: var(--on-dark); }
@media (min-width: 900px) {
  .welcome { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); min-height: 100svh; }
  .welcome__text { grid-column: 1; grid-row: 1; align-self: center; padding: var(--sec) 48px var(--sec) var(--gl); margin-left: max(0px, calc((100vw - var(--maxw)) / 2 - var(--g))); }
  .welcome__pic { grid-column: 2; grid-row: 1; height: auto; }
  .welcome__img img { -webkit-mask: linear-gradient(to right, transparent, #000 34%); mask: linear-gradient(to right, transparent, #000 34%); }
}

/* ── 4 · RESET: one letter of the word is a window onto that part ── */
.reset { height: 460svh; z-index: 1; }
.reset__stage { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); overflow: hidden; }
.reset__pics, .reset__pic { position: absolute; inset: 0; }
.reset__pic { opacity: 0; visibility: hidden; }
.reset__pic:first-child { opacity: 1; visibility: visible; }
.reset__pic img { object-fit: cover; transform-origin: 0 0; }
.reset__pic img.is-fit { position: absolute; left: 0; top: 0; width: var(--fw); height: var(--fh); max-width: none; object-fit: fill; }
.reset__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.reset__slot { position: absolute; left: var(--gl); top: 20%; bottom: 12%; width: 48%; pointer-events: none; }
.reset__head { position: absolute; left: var(--gl); right: var(--gr); top: 24px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; opacity: var(--ho, 1); }
.reset__head .label { color: var(--ink-2); }
.reset__foot { margin-top: 4px; padding-left: 18px; font-size: 14px; color: var(--ink-3); }
.reset__rail { display: flex; gap: clamp(8px, 1.2vw, 16px); font-size: 15px; font-weight: 600; font-stretch: 125%; }
.reset__rail li { color: var(--ink); opacity: .32; transition: opacity .3s var(--ease), color .3s var(--ease); }
.reset__rail li.is-on { opacity: 1; color: var(--crimson-ink); }
.reset__copy { position: absolute; right: var(--gr); top: 50%; z-index: 2; translate: 0 -50%; width: min(440px, 38vw); display: grid; }
.reset__part { grid-area: 1 / 1; display: grid; gap: 12px; align-content: start; opacity: 0; visibility: hidden; }
.reset__part:first-child { opacity: 1; visibility: visible; }
.reset__n { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 22px; line-height: 1; color: var(--crimson-ink); }
.reset__part h3 { font-size: clamp(40px, 5vw, 76px); line-height: 1; font-weight: 500; font-stretch: 118%; letter-spacing: -.03em; }
.reset__sub { font-size: 18px; font-weight: 500; font-stretch: 106%; color: var(--ink-2); }
.reset__part p:not([class]) { color: var(--ink-2); }
@media (max-width: 899px), (max-aspect-ratio: 1/1) {
  .reset__slot { left: var(--gl); right: var(--gr); width: auto; top: 116px; bottom: auto; height: 36%; }
  .reset__copy { left: var(--gl); right: var(--gr); top: auto; bottom: max(20px, env(safe-area-inset-bottom)); translate: none; width: auto; }
  .reset__part { gap: 8px; }
  .reset__part h3 { font-size: clamp(34px, 9vw, 48px); }
  .reset__sub { font-size: 16px; }
  .reset__part p:not([class]) { font-size: 15px; line-height: 1.5; }
  .reset__head { top: 16px; }
}
@media (max-aspect-ratio: 1/1) and (max-height: 620px) { .reset__slot { height: 32%; top: 64px; } .reset__foot { display: none; } }
@media (orientation: landscape) and (max-height: 520px) {
  .reset__slot { left: var(--gl); right: auto; width: 44%; top: 64px; bottom: 16px; height: auto; }
  .reset__copy { left: auto; right: var(--gr); width: 48%; top: 56px; bottom: auto; }
  .reset__part p:not([class]) { font-size: 14px; }
  .reset__part h3 { font-size: 30px; }
  .reset__foot { display: none; }
}
.no-js .reset { height: auto; }
.no-js .reset__stage { position: relative; height: auto; padding: 120px 0 64px; }
.no-js .reset__canvas, .no-js .reset__pics { display: none; }
.no-js .reset__copy { position: static; translate: none; width: auto; padding: 0 var(--gr) 0 var(--gl); gap: 48px; }
.no-js .reset__part { grid-area: auto; opacity: 1; visibility: visible; }

/* ── 5 · quote ── */
.quote { z-index: 1; padding-block: var(--sec); text-align: left; }
.quote__text { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 350; font-size: clamp(32px, 4.6vw, 68px); line-height: 1.1; letter-spacing: -.01em; max-width: 22ch; text-wrap: balance; }
.quote figcaption { margin-top: 32px; display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink-3); }
.quote figcaption::before { content: ""; width: 32px; height: 1px; background: currentColor; }

/* ── 6 · the stay, drawn on the real trail ── */
.stay { height: 420svh; z-index: 1; }
.stay__stage { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); overflow: hidden; }
.stay__map { position: absolute; inset: 0; width: 100%; height: 100%; }
.stay__img { opacity: 0; transition: opacity .6s var(--ease); }
.stay__img.is-in { opacity: 1; }
.stay__veil { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(21, 17, 30, .88), rgba(21, 17, 30, .2) 46%, rgba(21, 17, 30, .45)); }
.stay__trail { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.stay__trail--ghost { stroke: rgba(244, 239, 231, .5); }
.stay__trail--walked { stroke: var(--paper); }
.stay__marks polygon { fill: var(--night); stroke: var(--paper); transition: fill .3s var(--ease); }
.stay__marks polygon.is-on { fill: var(--crimson); stroke: var(--paper); }
.stay__head { position: absolute; left: var(--gl); top: 32px; right: var(--gr); display: grid; gap: 8px; }
.stay__head .label { color: var(--on-dark-2); }
.stay__day { margin-top: 8px; display: flex; align-items: baseline; gap: 12px; color: var(--on-dark); }
.stay__day-w { font-size: 16px; font-weight: 500; color: var(--on-dark-2); }
.stay__day-n { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: clamp(56px, 7vw, 112px); line-height: .9; font-variant-numeric: tabular-nums; min-width: 2ch; }
.stay__phases { position: absolute; left: var(--gl); right: var(--gr); bottom: max(32px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stay__phase { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 2px solid rgba(244, 239, 231, .24); opacity: calc(.42 + .58 * var(--on, 0)); transition: border-color .3s var(--ease); }
.stay__phase.is-on { border-top-color: var(--crimson); }
.stay__phase h3 { display: flex; align-items: center; font-size: 20px; font-weight: 500; font-stretch: 110%; }
.stay__phase p { font-size: 15px; line-height: 1.5; color: var(--on-dark-2); }
.stay__cap { position: absolute; right: var(--gr); top: 32px; font-size: 13px; color: var(--on-dark-3); max-width: 22ch; text-align: right; }
@media (max-width: 899px), (max-aspect-ratio: 1/1) {
  .stay__phases { grid-template-columns: 1fr; }
  .stay__phase { grid-area: 1 / 1; opacity: var(--on, 0); visibility: var(--vis, hidden); border-top-color: var(--crimson); }
  .stay__phase:first-child { --on: 1; --vis: visible; }
  .stay__phase p { font-size: 16px; }
  .stay__cap { display: none; }
  .stay__head { top: 24px; }
}
@media (orientation: landscape) and (max-height: 520px) { .stay__day-n { font-size: 44px; } .stay__head { top: 12px; } .stay__head .h2 { font-size: 24px; } .stay__phase p { font-size: 14px; } .stay__phases { bottom: 12px; } }
.no-js .stay { height: auto; }
.no-js .stay__stage { position: relative; height: auto; min-height: 100svh; }

/* ── 7 · the house ── */
.house { z-index: 2; padding-block: var(--sec); }
.house__intro { display: grid; gap: 24px; }
.house__cols { display: grid; gap: 16px; max-width: 980px; color: var(--ink-2); }
@media (min-width: 900px) { .house__cols { grid-template-columns: 1fr 1fr; gap: 48px; } }
.house__reveal { margin-top: clamp(48px, 7vw, 96px); }
.house__img { display: block; aspect-ratio: 16 / 9; clip-path: inset(var(--ci, 0px) var(--cx, 0px)); }
.house__img img { object-fit: cover; }
.house__reveal figcaption, .house__side figcaption { display: flex; align-items: center; padding: 12px var(--gr) 0 var(--gl); font-size: 14px; color: var(--ink-3); }
@media (max-aspect-ratio: 4/5) { .house__img { aspect-ratio: 5 / 4; } }
.rooms-wrap { margin-top: clamp(56px, 8vw, 112px); display: grid; gap: 48px; }
.rooms { border-top: 1px solid var(--line-ink); }
.room { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line-ink); background: color-mix(in srgb, var(--ink) calc(var(--hp) * 4%), transparent); }
.room h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; font-weight: 500; font-stretch: 114%; letter-spacing: -.02em; transform: translateX(calc(var(--hp) * 8px)); }
.room__meta { font-size: 14px; font-weight: 500; color: var(--crimson-ink); }
.room p:not([class]) { color: var(--ink-2); max-width: 46ch; }
.house__side .house__img2 { display: block; aspect-ratio: 4 / 3; }
.house__side .house__img2 img { object-fit: cover; }
.house__side figcaption { padding-inline: 0; }
@media (min-width: 900px) {
  .rooms-wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: 64px; }
  .room { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 32px; padding: 32px 16px; margin: 0 -16px; }
  .room h3 { grid-row: span 2; }
  .house__side { margin-right: calc(-1 * var(--gr)); }
  .house__side figcaption { padding-right: var(--gr); }
}
.house__lists { margin-top: clamp(64px, 9vw, 128px); display: grid; gap: 56px; }
@media (min-width: 900px) { .house__lists { grid-template-columns: 1fr 1fr; gap: 64px; } }
.house__lists .h3 { margin-bottom: 24px; }
.included { display: grid; gap: 0; }
.included li { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-ink); }
.included .ico { margin-top: 3px; color: var(--crimson-ink); }
.foryou { display: grid; }
.foryou li { position: relative; padding: 16px 0 16px 28px; border-top: 1px solid var(--line-ink); }
.foryou li::before { content: ""; position: absolute; left: 0; top: 24px; width: 10px; height: 9px; background: var(--sage); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.house__lists .note { margin-top: 24px; max-width: 46ch; }

/* ── 8 · the island ── */
.island { z-index: 2; padding-block: var(--sec); }
.island__grid { display: grid; gap: 48px; align-items: center; }
.island__text { display: grid; gap: 24px; max-width: 560px; }
.island__text > p { color: var(--on-dark-2); }
.island__facts { display: grid; margin-top: 8px; }
.island__facts div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-dark); }
.island__facts dt { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 24px; line-height: 1.1; }
.island__facts dd { color: var(--on-dark-2); font-size: 15px; }
.island__fig { position: relative; width: min(100%, 560px); justify-self: center; }
.island__map { width: 100%; height: auto; aspect-ratio: 1000 / 1092.3; overflow: visible; }
.island__coast { fill: rgba(244, 239, 231, calc(.06 * var(--fill, 1))); stroke: var(--on-dark); stroke-width: 3.2; stroke-linejoin: round; }
.island__pins { position: absolute; inset: 0 0 auto 0; aspect-ratio: 1000 / 1092.3; pointer-events: none; }
.pin { position: absolute; width: 0; height: 0; opacity: var(--po, 1); transition: opacity .4s var(--ease); }
.pin__dot { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--on-dark); }
.pin--house .pin__dot { left: -9px; top: -11px; width: 18px; height: 16px; border-radius: 0; background: var(--crimson); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.pin--hill .pin__dot { left: -7px; top: -8px; width: 14px; height: 12px; border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: var(--sage); }
.pin__t { position: absolute; top: -10px; white-space: nowrap; font-size: 13px; line-height: 1.25; color: var(--on-dark-2);
  text-shadow: 0 0 2px var(--night), 0 0 2px var(--night), 0 0 4px var(--night); } /* knock the coastline out behind the words */
.pin__t strong { display: block; font-size: 14px; font-weight: 500; color: var(--on-dark); }
.pin--l .pin__t { right: 16px; text-align: right; }
.pin--r .pin__t { left: 16px; }
.pin--t .pin__t { top: auto; bottom: 18px; left: 0; transform: translateX(-50%); text-align: center; }
.pin--hill .pin__t { top: -6px; }
.pin--air .pin__t { top: 4px; }
.island__fig figcaption { margin-top: 12px; font-size: 12px; color: var(--on-dark-3); text-align: right; }
@media (min-width: 900px) { .island__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; } }

/* ── 9 · Marlon ── */
.marlon { z-index: 2; display: grid; gap: 48px; padding-bottom: var(--sec); overflow-x: clip; }
.marlon__pic { position: relative; height: min(125vw, 88svh); }
.marlon__img, .marlon__img2, .voices__img { position: absolute; inset: 0; }
.marlon__img img, .marlon__img2 img, .voices__img img { object-fit: cover; }
.marlon__text { display: grid; gap: 24px; align-content: start; padding: 0 var(--gr) 0 var(--gl); max-width: 720px; }
.marlon__text > p { color: var(--ink-2); }
.marlon__works { display: grid; gap: 0; margin-top: 16px; }
.work { display: grid; gap: 8px; padding: 24px 0; border-top: 1px solid var(--line-ink); }
.work h3 { font-size: 22px; line-height: 1.2; font-weight: 500; font-stretch: 110%; transform: translateX(calc(var(--hp) * 6px)); }
.work__meta { font-size: 14px; font-weight: 500; color: var(--crimson-ink); }
.work p:not([class]) { color: var(--ink-2); font-size: 16px; }
.marlon__book { position: relative; aspect-ratio: 4 / 5; width: min(72%, 420px); margin-left: auto; }
@media (min-width: 900px) {
  .marlon { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; row-gap: 0; padding-top: var(--sec); }
  .marlon__pic { grid-row: span 2; position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); }
  .marlon__text { padding: 0 var(--gr) 0 0; }
  .marlon__works { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .marlon__book { grid-column: 2; width: min(360px, 60%); margin: 48px var(--gr) 0 auto; }
}

/* ── 10 · voices ── */
.voices { z-index: 2; display: grid; overflow-x: clip; }
.voices__pic { position: relative; height: min(125vw, 90svh); }
.voices__img img { -webkit-mask: linear-gradient(to bottom, #000 72%, transparent); mask: linear-gradient(to bottom, #000 72%, transparent); }
.voices__text { padding: 0 var(--gr) var(--sec) var(--gl); display: grid; gap: 24px; align-content: center; max-width: 760px; }
.voices__q { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 350; font-size: clamp(28px, 3.4vw, 50px); line-height: 1.14; text-wrap: balance; }
.voices__more { margin-top: 20px; color: var(--on-dark-2); max-width: 48ch; }
.voices figcaption { color: var(--on-dark-2); font-size: 15px; }
.voices figcaption strong { color: var(--on-dark); font-weight: 500; }
@media (min-width: 900px) {
  .voices { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: 100svh; }
  .voices__text { grid-column: 1; grid-row: 1; padding: var(--sec) 48px var(--sec) var(--gl); margin-left: max(0px, calc((100vw - var(--maxw)) / 2 - var(--g))); }
  .voices__pic { grid-column: 2; grid-row: 1; height: auto; }
  .voices__img img { -webkit-mask: linear-gradient(to right, transparent, #000 30%); mask: linear-gradient(to right, transparent, #000 30%); }
}

/* ── 11 · breathe ── */
.breathe { z-index: 3; padding-block: var(--sec); }
.breathe__grid { display: grid; gap: 40px; align-items: center; }
.breathe__grid > div { display: grid; gap: 20px; max-width: 520px; }
.breathe__grid > div > p:not([class]) { color: var(--ink-2); }
.breath__count { display: flex; align-items: baseline; gap: 12px; color: var(--ink-3); }
.breath__n { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 48px; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.breath {
  position: relative; justify-self: center; width: min(78vw, 360px); aspect-ratio: 200 / 174; padding: 0; border: 0; background: none; color: var(--ink);
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
}
.breath svg { width: 100%; height: 100%; overflow: visible; }
.breath__fill { fill: var(--sage); transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(var(--b, 0)); }
.breath__edge { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.breath__say { position: absolute; left: 0; right: 0; top: 62%; text-align: center; font-weight: 500; font-stretch: 110%; font-size: 18px; }
.breath:focus-visible { outline-offset: 8px; }
.breath__hint { justify-self: center; font-size: 14px; color: var(--ink-3); text-align: center; }
@media (min-width: 900px) { .breathe__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 64px; } .breath__hint { grid-column: 2; } }

/* ── 12 · begin here ── */
.begin { z-index: 3; padding-bottom: var(--sec); }
.begin__grid { margin-top: clamp(64px, 8vw, 112px); display: grid; gap: 48px; }
.begin__text { display: grid; gap: 20px; align-content: start; max-width: 520px; }
.begin__text > p { color: var(--on-dark-2); }
.begin__contact { display: grid; gap: 4px; margin-top: 8px; color: var(--on-dark-2); }
.begin__contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; font-size: 15px; font-weight: 500; }
.field em { font-style: normal; font-weight: 400; color: var(--on-dark-3); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(244, 239, 231, .28); border-radius: 4px;
  background: rgba(244, 239, 231, .05); color: var(--on-dark); font-size: 16px; font-weight: 400; line-height: 1.4;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 2px; border-color: transparent; }
.field input[aria-invalid="true"] { border-color: var(--crimson-hi); }
.form__err { color: var(--crimson-hi); font-size: 15px; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.form__note { font-size: 14px; color: var(--on-dark-3); max-width: 56ch; }
@media (min-width: 900px) { .begin__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; } }

/* ── footer ── */
.footer { position: relative; z-index: 3; padding: 64px 0 max(96px, calc(64px + env(safe-area-inset-bottom))); border-top: 1px solid var(--line-dark); }
.footer__grid { display: grid; gap: 40px; }
.footer__brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); }
.footer__brand .lockup { height: 36px; }
.footer__nav { display: grid; gap: 0; align-content: start; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--on-dark); }
.footer__contact { display: grid; gap: 16px; color: var(--on-dark-2); font-size: 15px; }
.footer__contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); }
.footer__fine { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--on-dark-3); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); } }

/* ══ /reset/ ══ */
/* letters as windows: each glyph is filled with its part's photo (background-clip: text); --py drifts with the scroll (main.js, glyphs) */
.g-r { --img: url(/assets/img/hike-sunrise-1200.webp); --fx: 64%; --tint: #8C5A3C; }
.g-e { --img: url(/assets/img/ice-barrel-1200.webp); --fx: 36%; --tint: #34404C; }
.g-s { --img: url(/assets/img/golden-silence-1200.webp); --fx: 62%; --y0: 18; --tint: #8A6A3A; }
.g-e2 { --img: url(/assets/img/shared-meal-1200.webp); --fx: 55%; --tint: #6E5040; }
.g-t { --img: url(/assets/img/marlon-music-1200.webp); --fx: 50%; --tint: #4A3A6A; }
.glyph {
  display: block; width: fit-content; padding-block: .02em; font-size: var(--gs, 200px); line-height: .86; font-weight: 800; font-stretch: 125%; letter-spacing: 0;
  color: var(--tint); -webkit-text-fill-color: transparent;
  background: var(--img) var(--fx) var(--py, calc(var(--y0, 50) * 1%)) / auto 140% no-repeat, var(--tint);
  -webkit-background-clip: text; background-clip: text;
}
@media (forced-colors: active) { .glyph { -webkit-text-fill-color: CanvasText; background: none; } }

.phero { --bg: var(--night); background: var(--night); color: var(--on-dark); }
.phero__in { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; gap: clamp(32px, 4vw, 56px); padding-top: calc(var(--header-h) + clamp(32px, 5vw, 72px)); padding-bottom: clamp(40px, 6vw, 72px); }
.phero__top { display: grid; gap: 16px; }
.phero__title { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; font-weight: 500; font-stretch: 112%; letter-spacing: -.022em; text-wrap: balance; max-width: 15ch; }
.phero__word { align-self: center; display: flex; justify-content: space-between; align-items: end; gap: 16px; --gs: min(calc((min(100vw, var(--maxw) + 2 * var(--g)) - 2 * var(--g)) / 4.7), 40svh); }
.lt { display: grid; gap: 12px; text-decoration: none; color: var(--on-dark); }
.lt .glyph { scale: calc(1 + var(--hp) * .04); transform-origin: 50% 100%; }
.lt__n { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 32px; font-size: 15px; font-weight: 500; font-stretch: 106%; color: var(--on-dark-2);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / calc(var(--hp) * 100%) 1px no-repeat; }
.lt .arrow { display: inline-block; transform: translateY(calc(var(--hp) * 4px)); }
.phero__foot { display: grid; gap: 24px; align-items: end; }
.phero__lede { max-width: 58ch; color: var(--on-dark-2); font-size: clamp(16px, 1rem + .25vw, 19px); }
@media (hover: hover) and (pointer: fine) {
  .lt { transition: --hp .45s var(--ease); }
  .lt:hover { --hp: 1; }
  .lt:hover .lt__n { color: var(--on-dark); }
}
@media (min-width: 900px) { .phero__foot { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; } }
/* phones: the word reads downwards, an index of the five parts */
@media (max-width: 699px) {
  .phero__in { gap: 28px; }
  .phero__word { flex-direction: column; align-items: stretch; gap: 0; --gs: min(23vw, 11.5svh); }
  .phero__word li { border-top: 1px solid var(--line-dark); }
  .phero__word li:last-child { border-bottom: 1px solid var(--line-dark); }
  .lt { display: flex; align-items: center; gap: 20px; padding: 6px 0; }
  .lt .glyph { min-width: .92em; }
  .lt__n { flex: 1; justify-content: space-between; font-size: 18px; color: var(--on-dark); }
}

.part { --bg: var(--paper); background: var(--paper); color: var(--ink); z-index: 2; padding-block: clamp(72px, 10vw, 144px); }
.part__in { display: grid; gap: clamp(28px, 4vw, 72px); align-items: center; }
.part__g { --gs: min(66vw, 320px); }
.part__body { display: grid; gap: 20px; max-width: 600px; }
.part__lede { font-size: clamp(18px, 1rem + .4vw, 22px); line-height: 1.5; color: var(--ink-2); }
.part__note { padding-top: 20px; border-top: 1px solid var(--line-ink); color: var(--ink-2); }
.offer { display: grid; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line-ink); }
.offer__name { font-size: 15px; font-weight: 500; font-stretch: 106%; color: var(--ink-3); }
.offer__prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.offer__prices li { display: grid; gap: 6px; align-content: start; }
.offer__prices strong { font-size: clamp(28px, 2.4vw, 40px); line-height: 1; font-weight: 500; font-stretch: 112%; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.offer__prices span { font-size: 14px; line-height: 1.3; color: var(--ink-3); }
.part .actions { margin-top: 4px; }
@media (min-width: 900px) {
  .part__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .part__g { --gs: min(30vw, 480px, 66svh); justify-self: center; }
  .part--flip .part__g { order: 2; }
}

/* a window that carries a guest's words: a scrim travels with the section over the fixed photo */
.win--voice::after { content: ""; position: absolute; inset: 30% 0 0; z-index: 1; background: linear-gradient(rgba(21, 17, 30, 0), rgba(21, 17, 30, .8)); pointer-events: none; }
.win__voice { position: absolute; left: 0; right: 0; bottom: clamp(40px, 7vw, 88px); z-index: 2; display: grid; gap: 16px; color: var(--on-dark); }
.win__voice blockquote p { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 350; font-size: clamp(26px, 3.4vw, 52px); line-height: 1.14; max-width: 23ch; text-wrap: balance; }
.win__voice figcaption { font-size: 15px; font-weight: 500; color: var(--on-dark-2); }

.pstay { --bg: var(--night); background: var(--night); color: var(--on-dark); z-index: 2; padding-block: var(--sec); }
.pstay__grid { display: grid; gap: 56px; }
.pstay__text { display: grid; gap: 20px; align-content: start; max-width: 580px; }
.pstay__text > p:not(.label) { color: var(--on-dark-2); }
.pstay .h3 { margin-bottom: 16px; }
.pstay .included li { border-top-color: var(--line-dark); }
.pstay .included .ico { color: var(--crimson-hi); }
@media (min-width: 900px) { .pstay__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 96px; } }

.faq { --bg: var(--paper); background: var(--paper); color: var(--ink); z-index: 2; padding-block: var(--sec); }
.faq__grid { display: grid; gap: 40px; }
.faq__head { display: grid; gap: 16px; align-content: start; }
.faq__head .note a { display: inline-block; padding-block: 12px; margin-block: -12px; color: var(--crimson-ink); font-weight: 500; }
.faq__list details { border-top: 1px solid var(--line-ink); }
.faq__list details:last-child { border-bottom: 1px solid var(--line-ink); }
.faq__list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 16px 0; font-size: clamp(18px, 1rem + .3vw, 21px); line-height: 1.3; font-weight: 500; font-stretch: 106%; cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary .ico { transition: rotate .3s var(--ease), color .2s var(--ease); }
.faq__list details[open] summary .ico { rotate: 45deg; color: var(--crimson-ink); }
.faq__list details > p { max-width: 62ch; padding-bottom: 24px; color: var(--ink-2); }
.faq__list details > p a { display: inline-block; padding-block: 12px; margin-block: -12px; color: var(--crimson-ink); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .faq__list summary:hover .ico { color: var(--crimson-ink); } }
@media (min-width: 900px) { .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 96px; } .faq__head { position: sticky; top: calc(var(--header-h) + 40px); } }

.begin__contact--side { align-self: end; }

/* ══ 404 ══ */
.lost { --bg: var(--night); min-height: 100svh; display: grid; align-items: end; background: var(--night); color: var(--on-dark); }
.lost__pic { position: absolute; inset: 0; }
.lost__pic img { object-fit: cover; }
.lost::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(21, 17, 30, .12), rgba(21, 17, 30, .22) 30%, rgba(21, 17, 30, .8) 60%, rgba(21, 17, 30, .92)); }
.lost__in { position: relative; z-index: 1; display: grid; gap: 20px; padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(48px, 8vw, 96px); }
.lost__in .display { max-width: 12ch; }
.lost__lede { max-width: 44ch; color: var(--on-dark-2); font-size: clamp(17px, 1rem + .3vw, 20px); }

/* ── house assistant ── */
.assist { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45; display: grid; justify-items: end; gap: 12px; pointer-events: none; }
.assist__btn {
  pointer-events: auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px 0 14px;
  border: 1px solid var(--line-dark); border-radius: 999px; background: var(--night); color: var(--on-dark); font-size: 15px; font-weight: 500;
  opacity: 0; translate: 0 12px; visibility: hidden; transition: opacity .3s var(--ease), translate .3s var(--ease), padding .4s var(--ease), visibility 0s linear .3s;
}
.assist.is-on .assist__btn, .assist[data-open="true"] .assist__btn { opacity: 1; translate: 0 0; visibility: visible; transition: opacity .3s var(--ease), translate .3s var(--ease), padding .4s var(--ease); }
.assist__btn span { max-width: 9em; margin-left: 10px; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease), margin .4s var(--ease), opacity .3s var(--ease); }
/* phones: while reading downwards the pill folds to its icon so it never sits on a line of text; scrolling up brings the words back */
@media (max-width: 899px) {
  .assist.is-tucked:not([data-open="true"]) .assist__btn { padding: 0 12px; }
  .assist.is-tucked:not([data-open="true"]) .assist__btn span { max-width: 0; margin-left: 0; opacity: 0; }
}
.assist__btn svg { width: 18px; height: 18px; fill: none; stroke: var(--crimson-hi); stroke-width: 1.5; stroke-linejoin: round; }
.assist__panel {
  pointer-events: auto; width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100svh - 120px)); display: grid; grid-template-rows: auto 1fr auto auto;
  background: var(--paper); color: var(--ink); border-radius: 8px; box-shadow: 0 12px 40px rgba(21, 17, 30, .28); overflow: hidden;
}
.assist__top { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 4px 16px; border-bottom: 1px solid var(--line-ink); font-weight: 500; }
.assist__x { width: 44px; height: 44px; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--ink-2); }
.assist__log { overflow-y: auto; padding: 16px; display: grid; gap: 12px; align-content: start; font-size: 15px; line-height: 1.5; }
.assist__msg { color: var(--ink-2); }
.assist__q { justify-self: end; max-width: 85%; padding: 8px 12px; border-radius: 6px; background: var(--paper-2); }
.assist__a { color: var(--ink); }
.assist__a a { color: var(--crimson-ink); font-weight: 500; }
.assist__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.assist__chips button { min-height: 44px; padding: 0 12px; border: 1px solid var(--line-ink); border-radius: 999px; background: none; font-size: 14px; color: var(--ink); }
.assist__ask { display: flex; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--line-ink); }
.assist__ask input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-ink); border-radius: 4px; background: #fff; font-size: 16px; }
.assist__ask .btn { min-height: 44px; padding: 0 16px; }
@media (hover: hover) and (pointer: fine) { .assist__chips button:hover { border-color: var(--ink); } }

/* ── fade-up for blocks entering (autonomous: only with motion allowed) ── */
.motion .rv { opacity: 0; translate: 0 16px; transition: opacity .8s var(--ease) calc(var(--i, 0) * 70ms), translate .8s var(--ease) calc(var(--i, 0) * 70ms); }
.motion .rv.in { opacity: 1; translate: 0 0; }

@media print { .site-header, .assist, .hero__win, .reset__canvas { display: none; } }
