/* Hallmark stamp: custom theme "Sky Studio, Night Edition" (client reel palette plus a night-sky counterpoint and one marmalade accent), genre editorial/playful-luxe, shape photographic narrative of stacked sheets ending in a booking composer. Signature: a keyed cat reaching through the hero headline, then Shop / Spa / Stay swapping in a pinned night scene. */
/* Self-critique: lots of motion moments; each section owns exactly one, and every one has a static fallback. Real shop photos would still do more for trust than any effect. */

/* ---------- Tokens ---------- */
:root {
  /* sky family, sampled from the graded hero footage */
  --sky-deep: #364861;
  --sky: #6b86a4;
  --sky-mid: #95afc8;
  --sky-pale: #d6eaf7;
  --sky-mist: #e9f1f8;
  --shade: rgba(38, 54, 82, 0.62);

  /* night counterpoint */
  --night: #132036;
  --night-2: #1c2d4a;
  --night-line: rgba(214, 234, 247, 0.16);
  --night-soft: rgba(214, 234, 247, 0.74);
  --glow: rgba(107, 134, 164, 0.38);

  /* neutrals */
  --paper: #f6f8fb;
  --white: #ffffff;
  --ink: #0f2236;
  --ink-soft: #46596e;
  --ink-faint: #7a8a9c;
  --line: rgba(15, 34, 54, 0.13);
  --line-strong: rgba(15, 34, 54, 0.3);
  --line-light: rgba(255, 255, 255, 0.32);
  --ink-wash: rgba(15, 34, 54, 0.05);
  --ink-hover: #1b3653;

  /* one accent: marmalade, from the ginger cat */
  --marmalade: #f3a65c;
  --marmalade-soft: rgba(243, 166, 92, 0.18);

  /* states */
  --danger: #b4232f;
  --danger-on-dark: #ffb3b3;
  --danger-ring: 0 0 0 3px rgba(180, 35, 47, 0.14);
  --focus-ring: 0 0 0 4px rgba(61, 108, 155, 0.2);

  /* surfaces */
  --glass: rgba(255, 255, 255, 0.14);
  --glass-strong: rgba(255, 255, 255, 0.24);
  --paper-glass: rgba(246, 248, 251, 0.82);
  --shadow-pill: 0 14px 30px -14px rgba(15, 34, 54, 0.45);
  --shadow-card: 0 40px 80px -40px rgba(19, 32, 54, 0.45), 0 2px 6px rgba(19, 32, 54, 0.06);
  --shadow-lift: 0 50px 90px -30px rgba(19, 32, 54, 0.55);
  --shadow-sheet: 0 -30px 60px -40px rgba(19, 32, 54, 0.5);
  --text-glow: 0 1px 18px rgba(30, 60, 95, 0.35);
  --mask: #000; /* opaque stop for mask gradients */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");

  --sky-grad: radial-gradient(120% 100% at 50% 92%, var(--sky-pale) 0%, var(--sky-mid) 34%, var(--sky) 64%, var(--sky-deep) 108%);

  /* type */
  --font-serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --font-sans: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;

  /* shape */
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --arch: 999px 999px var(--radius) var(--radius);
  --sheet-r: clamp(28px, 4vw, 64px);

  /* layout */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --nav-h: 76px;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* layers */
  --z-sheet: 1;
  --z-float: 30;
  --z-menu: 40;
  --z-grain: 45;
  --z-nav: 50;
  --z-cursor: 90;
  --z-loader: 100;
  --z-skip: 200;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html,
body { overflow-x: clip; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
  scrollbar-color: var(--sky) var(--sky-mist);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Lenis smooth scroll housekeeping */
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

/* film grain over everything, so flat sky surfaces read as photographed paper */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  background-image: var(--grain);
  opacity: 0.07;
}

img,
video,
canvas,
iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }
a,
button,
label { -webkit-tap-highlight-color: transparent; }

h1, h2, h3, p, figure, blockquote { margin: 0; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--marmalade); color: var(--ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: var(--z-skip);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus-visible { transform: none; }

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

/* ---------- Sheets: every section slides over the last one ---------- */
.sheet {
  position: relative;
  z-index: var(--z-sheet);
  margin-top: calc(var(--sheet-r) * -1);
  border-radius: var(--sheet-r) var(--sheet-r) 0 0;
  box-shadow: var(--shadow-sheet);
}
.sheet-night { background: var(--night); color: var(--white); }
.sheet-mist { background: var(--sky-mist); }
.sheet-sky { background: linear-gradient(to bottom, var(--sky-pale) 0%, var(--sky-mist) 70%); }
.sheet-paper { background: var(--paper); }

/* ---------- Intro screen ---------- */
.loader { display: none; }
.has-loader .loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: grid;
  place-items: center;
  background: var(--sky-grad);
  color: var(--white);
  /* failsafe: never block the page, even if scripts fail */
  animation: loader-failsafe 0.01s linear 4.5s forwards;
}
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }
.loader-inner { display: grid; justify-items: center; gap: 22px; }
.loader-mark { width: 54px; height: 54px; }
.loader-mark .eyes { fill: var(--sky-deep); }
.loader-word {
  display: flex;
  overflow: hidden;
  padding-bottom: 0.08em;
  font: italic 400 clamp(3.4rem, 9vw, 7rem)/1 var(--font-serif);
  letter-spacing: -0.02em;
}
.loader-word span { display: inline-block; }
.loader-line {
  width: 150px;
  height: 1px;
  overflow: hidden;
  background: var(--line-light);
}
.loader-line span {
  display: block;
  height: 100%;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- Pills (one button style, three surfaces) ---------- */
.pill {
  --pill-bg: var(--white);
  --pill-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  color: var(--pill-fg);
  font: 500 15px/1 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.pill:hover { box-shadow: var(--shadow-pill); }
.pill:active { transform: scale(0.97); box-shadow: none; }
.pill:focus-visible { outline: 2px solid var(--pill-bg); outline-offset: 4px; }
.pill[disabled],
.pill[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

.pill-light { --pill-bg: var(--white); --pill-fg: var(--ink); }
.pill-light:hover { --pill-bg: var(--sky-mist); }
.pill-dark { --pill-bg: var(--ink); --pill-fg: var(--white); }
.pill-dark:hover { --pill-bg: var(--ink-hover); }
.pill-dark:focus-visible { outline-color: var(--ink); }
.sheet-night .pill-dark { --pill-bg: var(--white); --pill-fg: var(--ink); }
.pill-glass {
  --pill-bg: var(--glass);
  --pill-fg: var(--white);
  min-height: 42px;
  padding: 0 18px;
  border-color: var(--line-light);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.pill-glass:hover { --pill-bg: var(--glass-strong); }
.pill-glass:focus-visible { outline-color: var(--white); }
.pill-wide { width: 100%; }

/* ---------- Text links ---------- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 4px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 0.25s ease, color 0.25s ease;
}
.text-link:hover { text-decoration-color: currentColor; }
.text-link:active { color: var(--sky-deep); }
.text-link-light { color: var(--white); text-decoration-color: var(--line-light); }
.text-link-light:active { color: var(--sky-pale); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: max(18px, env(safe-area-inset-top)) var(--gutter) 18px;
  color: var(--white);
  transition-property: background-color, color, padding, box-shadow, transform;
  transition-duration: 0.4s;
  transition-timing-function: var(--ease-out);
}
.nav.is-solid {
  padding-block: max(12px, env(safe-area-inset-top)) 12px;
  background: var(--paper-glass);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.nav.is-hidden { transform: translateY(-110%); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.brand-mark { width: 28px; height: 28px; overflow: visible; }
.brand-mark .eyes { fill: var(--sky-deep); transition: fill 0.4s ease; }
.nav.is-solid .brand-mark .eyes { fill: var(--paper); }
.brand-word { font: italic 400 27px/1 var(--font-serif); letter-spacing: -0.01em; }

.nav-links {
  display: none;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-pill);
}
.nav-links a {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.86;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}
.nav-links a:hover { opacity: 1; background: var(--glass); }
.nav.is-solid .nav-links a:hover { background: var(--ink-wash); }
.nav-links a:active { opacity: 0.7; }
.nav-links a[aria-current="true"] { opacity: 1; background: var(--glass-strong); }
.nav.is-solid .nav-links a[aria-current="true"] { background: var(--ink-wash); }

.nav-end { display: flex; align-items: center; gap: 10px; }
.nav.is-solid .pill-glass { --pill-bg: var(--ink); --pill-fg: var(--white); border-color: transparent; }

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px 0 12px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-pill);
  background: var(--glass);
  color: inherit;
  font: 500 14.5px/1 var(--font-sans);
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.2s ease, transform 0.2s var(--ease-out);
}
.menu-btn:hover { background: var(--glass-strong); }
.menu-btn:active { transform: scale(0.97); }
.nav.is-solid .menu-btn { border-color: var(--line); background: var(--ink-wash); }
.menu-dot {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: currentColor;
}
.menu-dot::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--sky-deep);
}
.nav.is-solid .menu-dot::after { background: var(--paper); }

.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 40px;
  padding: 110px var(--gutter) 40px;
  background: var(--sky-grad);
  color: var(--white);
  overscroll-behavior: contain;
}
.menu[hidden] { display: none; }
.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  padding: 6px 0;
  font: italic 400 clamp(3rem, 14vw, 5.5rem)/1 var(--font-serif);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.menu-foot { font-size: 15px; opacity: 0.85; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
}
@media (max-width: 959px) {
  .nav-book { display: none; }
}

/* ---------- Display type ---------- */
.display { color: var(--white); }
.display .line { display: block; }
/* sized by width and height, so short wide windows never wrap the lockup */
.line-serif {
  font: italic 400 clamp(3.3rem, min(8.2vw, 13.5svh), 9.2rem)/0.9 var(--font-serif);
  letter-spacing: -0.025em;
}
.line-caps {
  margin-top: 0.08em;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(2.2rem, min(6vw, 9.9svh), 6.8rem);
  font-variation-settings: "wdth" 88;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

/* word-split helpers (added by main.js) */
.w { display: inline-block; white-space: nowrap; }
.wi { display: inline-block; }

/* ---------- Stage (hero + trust) ---------- */
.stage {
  position: relative;
  color: var(--white);
  background: var(--sky-grad);
  isolation: isolate;
}

.scene {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.media-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.media-key { z-index: 3; pointer-events: none; }
.back-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.keyed .back-canvas { opacity: 1; }
.key-canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s ease; }
.key-canvas.is-ready { opacity: 1; }

.hero-title {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: clamp(96px, 13svh, 160px);
  padding-inline: var(--gutter);
  overflow-wrap: break-word;
  min-width: 0;
}
.hero-title .line-caps { padding-left: 0.06em; }
@media (min-width: 961px) {
  /* stepped lockup: the caps line reaches toward the cat so its paw swipes across it */
  .hero-title .line-caps { padding-left: 14vw; }
}

/* The footage sits a little low so the cat rises into the caps line, with a feathered top edge */
.scene-hero .media {
  top: 16%;
  bottom: -16%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, var(--mask) 18%);
  mask-image: linear-gradient(to bottom, transparent 0%, var(--mask) 18%);
}

/* Layering: video (1) > caps line (2) > keyed cat (3) > italic line (4) > UI (5) */
.hero-title-front { z-index: 4; display: none; pointer-events: none; }
.keyed .hero-title-front { display: block; }
.keyed .hero-title-back .line-serif,
.hero-title-front .line-caps { visibility: hidden; }

.hero-ui {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.hero-ui a,
.hero-ui button { pointer-events: auto; }

.hero-lede,
.hero-aside {
  position: absolute;
  max-width: 25ch;
  font-size: 15px;
  line-height: 1.5;
  text-shadow: var(--text-glow);
}
.hero-lede { left: var(--gutter); top: 56%; }
.hero-aside {
  right: var(--gutter);
  top: 60%;
  display: grid;
  gap: 2px;
  text-align: right;
  justify-items: end;
}
.hero-rating { font: italic 400 46px/1 var(--font-serif); }

.hero-actions {
  position: absolute;
  left: 50%;
  bottom: clamp(70px, 10svh, 110px);
  transform: translateX(-50%);
}

.hero-foot {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  opacity: 0.9;
}
.scroll-cue {
  position: relative;
  padding: 6px 2px 6px 18px;
  text-decoration: none;
}
.scroll-cue::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  border: 1px solid currentColor;
}

/* Trust scene */
.scene-trust { background: var(--sky-grad); }
/* the peek clip is a feathered window at bottom centre, so the cat stays small beneath the type */
.peek {
  --pw: clamp(340px, 66vw, 1180px);
  inset: auto auto -6px 50%; /* hides a 1px dark row at the bottom of the generated clip */
  width: var(--pw);
  height: calc(var(--pw) * 9 / 16);
  margin-left: calc(var(--pw) / -2);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, var(--mask) 26%, var(--mask) 74%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, var(--mask) 42%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, var(--mask) 26%, var(--mask) 74%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, var(--mask) 42%);
  mask-composite: intersect;
}
@media (max-width: 760px) {
  .peek { --pw: 165vw; }
}
/* studio vignette: matches the hero footage and keeps white type legible on the paler peek clip */
.scene-trust::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(85% 75% at 50% 100%, transparent 35%, var(--shade) 100%);
  mix-blend-mode: multiply;
}
.trust-title {
  position: relative;
  z-index: 2;
  padding: clamp(110px, 18svh, 200px) var(--gutter) 0;
  overflow-wrap: break-word;
  min-width: 0;
}
.trust-cols {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  bottom: clamp(90px, 14svh, 150px);
  display: grid;
  gap: 14px;
  max-width: 30ch;
  font-size: 15px;
  text-shadow: var(--text-glow);
}
.trust-cta {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: clamp(90px, 14svh, 150px);
}

/* Motion mode: stage becomes a pinned, layered scene */
.motion .stage { height: 100svh; overflow: hidden; }
.motion .scene { position: absolute; inset: 0; min-height: 0; }
.motion .scene-hero { z-index: 2; }
.motion .scene-trust { z-index: 1; background: none; }

@media (max-width: 760px) {
  .hero-title { top: clamp(92px, 13svh, 120px); }
  /* a shorter media box keeps the 16:9 cat small and low on a tall phone screen */
  .scene-hero .media { top: 40%; bottom: 0; }
  .hero-lede { top: calc(clamp(92px, 13svh, 120px) + 9.6rem); max-width: 30ch; }
  .hero-aside { display: none; }
  .hero-actions { bottom: 64px; }
  .hero-foot { display: none; }
  .trust-cols { top: calc(clamp(110px, 18svh, 200px) + 9.4rem); bottom: auto; right: var(--gutter); max-width: none; }
  .trust-cta { left: 0; right: 0; bottom: 64px; width: max-content; margin-inline: auto; }
}

/* ---------- Shared section heads ---------- */
.sec-head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(48px, 7vw, 100px);
}
.sec-head-row { align-items: end; }
@media (min-width: 900px) {
  .sec-head-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}

.sec-title {
  max-width: 16ch;
  text-wrap: balance;
  font: 400 clamp(2.8rem, 6.4vw, 6.2rem)/0.95 var(--font-serif);
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
  min-width: 0;
}
.sec-intro {
  max-width: 40ch;
  color: var(--ink-soft);
  font-size: 18px;
  text-wrap: pretty;
}

/* ---------- Intro paragraph ---------- */
.intro {
  padding-block: clamp(110px, 15vw, 220px) calc(clamp(120px, 16vw, 240px) + var(--sheet-r));
  background: var(--paper);
}
.intro-text {
  max-width: 21em;
  font: 400 clamp(2.1rem, 4.7vw, 4.8rem)/1.08 var(--font-serif);
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.pic {
  display: inline-block;
  width: 1.9em;
  height: 0.9em;
  margin-inline: 0.04em;
  overflow: hidden;
  vertical-align: -0.08em;
  border-radius: var(--radius-pill);
  background: var(--sky-pale);
}
.pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Care: Shop / Spa / Stay ---------- */
.care { padding-bottom: var(--sheet-r); }
.care-stage {
  position: relative;
  display: grid;
  gap: clamp(80px, 12vw, 140px);
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(100px, 12vw, 160px) var(--gutter) clamp(60px, 8vw, 100px);
}
.care-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(55% 50% at 78% 35%, var(--glow) 0%, transparent 70%);
}
.svc {
  position: relative;
  display: grid;
  gap: 28px;
}
.svc-media {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--arch);
  background: var(--night-2);
}
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-copy { display: grid; gap: 22px; justify-items: start; }
.svc-title { display: grid; gap: 4px; font-weight: 400; }
.svc-serif {
  font: italic 400 clamp(1.7rem, 2.8vw, 2.8rem)/1 var(--font-serif);
  color: var(--sky-pale);
}
.svc-word {
  display: block;
  overflow: hidden;
  padding-bottom: 0.03em;
  font-family: var(--font-sans);
  font-weight: 250;
  font-size: clamp(5.6rem, 17vw, 19rem);
  font-variation-settings: "wdth" 75;
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.svc-word > span { display: block; }
.svc-text { max-width: 36ch; color: var(--night-soft); text-wrap: pretty; }

.care-rail { display: none; }

@media (min-width: 761px) {
  .svc { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; }
  .svc-media { order: 2; justify-self: end; }
  .svc-copy { order: 1; }

  /* pinned version: the three services share one frame */
  .motion .care-stage {
    height: 100svh;
    max-width: none;
    padding: 0;
    display: block;
    overflow: hidden;
    border-radius: var(--sheet-r) var(--sheet-r) 0 0;
    background: var(--night);
  }
  .motion .svc {
    position: absolute;
    inset: 0;
    max-width: var(--max);
    margin-inline: auto;
    padding: calc(var(--nav-h) + 24px) var(--gutter) 96px;
    pointer-events: none;
  }
  .motion .svc.is-active { pointer-events: auto; }
  .motion .svc-media {
    width: auto;
    height: min(70svh, 720px);
    max-width: none;
  }
  .motion .care-rail {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 2;
    display: flex;
    gap: 14px;
    width: min(calc(100% - 2 * var(--gutter)), var(--max));
    padding-inline: var(--gutter);
    transform: translateX(-50%);
  }
}
.rail-item { display: grid; flex: 1; gap: 10px; max-width: 180px; }
.rail-name { font-size: 13px; color: var(--night-soft); }
.rail-bar { display: block; height: 2px; overflow: hidden; background: var(--night-line); border-radius: 2px; }
.rail-bar span { display: block; height: 100%; background: var(--marmalade); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- Stay: stacking room cards ---------- */
.stay { padding-block: clamp(110px, 13vw, 190px) calc(clamp(110px, 13vw, 190px) + var(--sheet-r)); }
.rooms { display: grid; gap: 7svh; }
.room {
  position: sticky;
  top: calc(var(--nav-h) + 20px + var(--i) * 22px);
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transform-origin: 50% 0;
}
.room::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--night);
  opacity: var(--dim, 0);
  pointer-events: none;
}
.room-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky-pale); }
.room-media img { width: 100%; height: 100%; object-fit: cover; }
.room-body {
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 16px;
  padding: clamp(24px, 4vw, 56px);
}
.room-title { font: italic 400 clamp(2.4rem, 4.6vw, 4.6rem)/0.95 var(--font-serif); letter-spacing: -0.02em; }
.room-body p { max-width: 34ch; color: var(--ink-soft); }
.stay-note { margin-top: clamp(40px, 6vw, 70px); color: var(--ink-soft); }

@media (min-width: 761px) {
  .room {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    height: min(66svh, 600px);
  }
  .room-media { aspect-ratio: auto; height: 100%; }
}
@media (max-width: 760px) {
  .room { top: calc(64px + var(--i) * 14px); }
  .room-body { gap: 12px; }
}

/* ---------- Reviews ---------- */
.reviews { padding-bottom: calc(clamp(110px, 13vw, 190px) + var(--sheet-r)); overflow: clip; }

.band {
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 90px) clamp(30px, 5vw, 70px);
  color: var(--sky-deep);
}
.band-track {
  display: flex;
  align-items: center;
  gap: 0.3em;
  width: max-content;
  padding-right: 0.3em;
  font: italic 400 clamp(4rem, 11vw, 10rem)/1 var(--font-serif);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.band-mark { width: 0.42em; height: 0.42em; color: var(--marmalade); flex: none; }

.reviews-grid { display: grid; gap: clamp(40px, 5vw, 64px); }
@media (min-width: 961px) {
  .reviews-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
}
.reviews-copy { display: grid; gap: 20px; justify-items: start; align-content: start; }
.score { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.score-num {
  font: italic 400 clamp(6.5rem, 14vw, 13rem)/0.8 var(--font-serif);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stars { position: relative; display: inline-block; width: clamp(120px, 12vw, 168px); margin-bottom: 0.6em; }
.stars svg { display: block; width: 100%; height: auto; }
.stars-base svg { fill: var(--line-strong); }
.stars-fill {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--fill, 98%)) 0 0);
}
.stars-fill svg { fill: var(--marmalade); }
.score-caption { color: var(--ink-soft); }

/* Without the drag layer, the reviews are a swipeable row */
.pile {
  display: flex;
  gap: 16px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 12px var(--gutter) 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.pile::-webkit-scrollbar { display: none; }
.card {
  flex: 0 0 min(78vw, 320px);
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 26px 26px 22px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
  scroll-snap-align: start;
}
.card blockquote {
  margin: 0;
  font: 400 clamp(1.45rem, 1.9vw, 1.8rem)/1.14 var(--font-serif);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.card figcaption { font-size: 14px; color: var(--ink-soft); }
.card-tint { background: var(--night); color: var(--white); }
.card-tint figcaption { color: var(--night-soft); }
.card-photo { order: 9; padding: 10px; align-content: start; }
.card-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); }
/* in the swipe row the photo fills its card instead of setting the row height */
.pile:not(.is-free) .card-photo { position: relative; min-height: 240px; }
.pile:not(.is-free) .card-photo img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); aspect-ratio: auto; }

.pile.is-free {
  position: relative;
  display: block;
  height: clamp(660px, 52vw, 760px);
  margin: 0;
  padding: 0;
  overflow: visible;
}
.pile.is-free .card {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: clamp(230px, 18vw, 270px);
  rotate: var(--r);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: box-shadow 0.3s ease;
}
.pile.is-free .card.is-held { cursor: grabbing; box-shadow: var(--shadow-lift); }
.pile.is-free .card-photo { width: clamp(190px, 15vw, 220px); }
.pile-hint { color: var(--ink-soft); font-size: 14px; }
@media (min-width: 961px) {
  .pile-hint { grid-column: 2; margin-top: -8px; }
}

/* ---------- Book ---------- */
.book { padding-block: clamp(110px, 13vw, 190px) calc(clamp(110px, 13vw, 190px) + var(--sheet-r)); }
.book-fallback { display: none; }
.no-js .book-fallback { display: grid; gap: 20px; justify-items: start; max-width: 46ch; }
.no-js .book-form { display: none; }

.book-form { display: grid; gap: clamp(32px, 4vw, 64px); }
@media (min-width: 961px) {
  .book-form { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
  .preview { position: sticky; top: calc(var(--nav-h) + 30px); }
}
.book-fields { display: grid; gap: 24px; }

.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field[hidden] { display: none; }
.field > span,
.field legend {
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.field legend { margin-bottom: 10px; }
.field-row { display: grid; gap: 24px; }
@media (min-width: 640px) {
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.4 var(--font-sans);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: var(--line-strong); }
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible { outline: none; border-color: var(--ink); box-shadow: var(--focus-ring); }
.field input[aria-invalid="true"] { border-color: var(--danger); box-shadow: var(--danger-ring); }
.field input:disabled,
.field textarea:disabled,
.field select:disabled { opacity: 0.5; cursor: not-allowed; }

.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 8px 8px 14px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.3s var(--ease-out);
}
.choice:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.choice:active { transform: scale(0.98); }
.choice input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice:has(input:focus-visible) { box-shadow: inset 0 0 0 2px var(--ink), var(--focus-ring); }
.choice:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.choice:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }
.choice-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 13px; background: var(--sky-pale); }
.choice-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.choice:hover .choice-img img { transform: scale(1.05); }
.choice-name { padding-inline: 6px; font-size: 15px; font-weight: 500; line-height: 1.25; }
/* selected tick */
.choice::after,
.choice::before {
  content: "";
  position: absolute;
  z-index: 2;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.3s var(--ease-out);
  pointer-events: none;
}
.choice::after {
  top: 16px;
  right: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--marmalade);
}
.choice::before {
  z-index: 3;
  top: 22px;
  right: 25px;
  width: 7px;
  height: 12px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0.6);
}
.choice:has(input:checked)::after { opacity: 1; transform: scale(1); }
.choice:has(input:checked)::before { opacity: 1; transform: rotate(45deg) scale(1); }

.preview-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--night);
  color: var(--white);
  box-shadow: var(--shadow-card);
}
.preview-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--night-line);
}
.preview-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sky);
}
.preview-avatar svg { width: 22px; height: 22px; color: var(--white); }
.preview-to { display: block; font-weight: 500; }
.preview-num { display: block; font-size: 13px; color: var(--night-soft); }
.bubble {
  justify-self: end;
  width: fit-content;
  max-width: 94%;
  min-height: 120px;
  padding: 14px 16px;
  border-radius: 20px 20px 6px 20px;
  background: var(--sky-pale);
  color: var(--ink);
}
.bubble-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.5; }
.bubble-text .ph { color: var(--ink-faint); }
.preview-note { font-size: 13px; color: var(--night-soft); }
.form-error { color: var(--danger-on-dark); font-size: 14px; font-weight: 500; }
.form-error[hidden] { display: none; }

/* ---------- Visit ---------- */
.visit { padding-block: clamp(110px, 13vw, 190px) calc(clamp(110px, 13vw, 190px) + var(--sheet-r)); }
.visit-grid { display: grid; gap: 56px; }
@media (min-width: 900px) {
  .visit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}
.visit-info { display: grid; gap: 26px; justify-items: start; }
.open-status {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 15px;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line);
}
.open-status[hidden] { display: none; }
.open-status.is-open { background: var(--marmalade-soft); box-shadow: inset 0 0 0 1px var(--marmalade); }
.visit-address { font-style: normal; font-size: 18px; line-height: 1.6; }
.hours { border-collapse: collapse; min-width: min(100%, 360px); }
.hours caption { text-align: left; padding-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.hours th,
.hours td { padding: 12px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { padding-left: 24px; text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th,
.hours tr.is-today td { font-weight: 600; }
.hours-note { font-size: 14px; color: var(--ink-soft); max-width: 40ch; }
.visit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

.map {
  width: 100%;
  max-width: 560px;
  justify-self: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--arch);
  background: var(--sky-pale);
  box-shadow: var(--shadow-card);
}
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer { padding: clamp(90px, 10vw, 150px) 0 32px; overflow: clip; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.footer-line { max-width: 14ch; font: italic 400 clamp(2.2rem, 4.4vw, 4rem)/1 var(--font-serif); letter-spacing: -0.02em; }
.footer-word {
  display: flex;
  justify-content: center;
  margin-block: clamp(50px, 7vw, 100px) clamp(30px, 4vw, 50px);
  font-family: var(--font-sans);
  font-size: min(26vw, 24rem);
  font-weight: 250;
  font-variation-settings: "wght" 250, "wdth" 75;
  line-height: 0.8;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--sky-pale);
  user-select: none;
}
@media (max-width: 760px) {
  .footer-word { font-size: 37vw; }
}
.footer-word .ch { display: inline-block; }
.footer-word .sp { width: 0.18em; }
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 24px;
  border-top: 1px solid var(--night-line);
  font-size: 14px;
  color: var(--night-soft);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { color: var(--white); text-decoration: none; padding-block: 6px; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Floating book pill ---------- */
.wa-float {
  position: fixed;
  right: var(--gutter);
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-float);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.45s var(--ease-out), background-color 0.25s ease, box-shadow 0.35s var(--ease-out);
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: var(--z-cursor);
  display: none;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  pointer-events: none;
}
.cursor-dot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--white);
  mix-blend-mode: difference;
  transform: scale(0.14);
  transition: transform 0.45s var(--ease-out), background-color 0.3s ease;
}
.cursor-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s ease, transform 0.45s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .motion .cursor { display: block; opacity: 0; transition: opacity 0.3s ease; }
  .motion .cursor.is-on { opacity: 1; }
}
.cursor.is-link .cursor-dot { transform: scale(0.42); }
.cursor.is-drag .cursor-dot { transform: scale(1); background: var(--marmalade); mix-blend-mode: normal; }
.cursor.is-drag .cursor-label { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .key-canvas { display: none; }
}
