/* Guest welcome book — the page a host's guest reads (welcomebook/guide.html).
   Colours, type and motion come from tokens.css (--guide-* block and the
   shared spacing/motion scale). */

:root { color-scheme: light; --gutter: clamp(var(--space-4), 5vw, var(--space-10)); --maxw: 1080px; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--guide-nav-h) + var(--space-3)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: hsl(var(--guide-cream)); color: hsl(var(--guide-ink));
  font-family: var(--guide-font-body); font-size: 16.5px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid hsl(var(--guide-clay)); outline-offset: 3px; border-radius: var(--radius-sm); }
h1, h2, h3 { text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- preview ribbon (host only) ---------- */
.ribbon { position: relative; z-index: 70; display: flex; align-items: center; justify-content: center; gap: var(--space-3);
  padding: var(--space-2) var(--gutter); background: hsl(var(--guide-ink)); color: hsl(var(--guide-paper)); font-size: var(--text-sm); }
.ribbon a { color: hsl(var(--guide-oat)); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  color: hsl(var(--guide-paper)); background: hsl(var(--guide-night)); overflow: hidden; isolation: isolate; }
.hero__img { position: absolute; top: 0; left: 0; z-index: -2; width: 100%; height: auto; aspect-ratio: 6 / 7; object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 100%); mask-image: linear-gradient(180deg, #000 74%, transparent 100%);
  opacity: 0; animation: heroIn 1.2s var(--ease-out) 80ms forwards; }
@keyframes heroIn { to { opacity: 1; } }
.hero::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 140px; z-index: -1;
  background: linear-gradient(180deg, hsl(var(--guide-night) / .45), hsl(var(--guide-night) / 0)); }
.hero__inner { width: 100%; max-width: var(--maxw); margin-left: auto; margin-right: auto; padding: calc(116.7vw - 64px) var(--gutter) calc(env(safe-area-inset-bottom) + var(--space-10)); }
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .hero__img { position: relative; grid-column: 2; grid-row: 1; width: auto; height: 100svh; max-height: 1100px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%); mask-image: linear-gradient(90deg, transparent 0, #000 28%); }
  .hero__inner { grid-column: 1; grid-row: 1; padding-top: 0; margin: 0 -120px 0 auto; max-width: 620px; position: relative; z-index: 1; }
}
.hero__top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3);
  padding: calc(env(safe-area-inset-top) + var(--space-4)) var(--gutter); }
.brandmark { font-family: var(--guide-font-display); letter-spacing: .32em; font-size: var(--text-xs); text-transform: uppercase; opacity: .92; }
.hero__eyebrow { font-size: var(--text-xs); letter-spacing: .34em; text-transform: uppercase; opacity: .85; margin: 0 0 var(--space-1-5); }
.hero h1 { margin: 0; font-family: var(--guide-font-script); font-weight: 400; font-size: clamp(76px, 19vw, 168px); line-height: .9; letter-spacing: -.01em; text-shadow: 0 2px 30px hsl(var(--guide-night) / .25); }
.hero__sub { font-family: var(--guide-font-display); font-size: clamp(22px, 4.6vw, 34px); letter-spacing: .14em; text-transform: uppercase; margin: var(--space-1-5) 0 var(--space-5); font-weight: 400; }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--space-2-5); }
.glass { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2-5) var(--space-4); border-radius: var(--radius-full); font-size: var(--text-sm);
  background: hsl(var(--guide-paper) / .14); border: 1px solid hsl(var(--guide-paper) / .26); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease; }
a.glass:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { a.glass:hover { background: hsl(var(--guide-paper) / .24); } }
.scrollcue { display: flex; align-items: center; gap: var(--space-2-5); margin-top: var(--space-8); font-size: var(--text-xs); letter-spacing: .24em; text-transform: uppercase; opacity: .75; }
.scrollcue i { display: block; width: 1px; height: 34px; background: linear-gradient(hsl(var(--guide-paper)), transparent); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top } 50% { transform: scaleY(1); transform-origin: top } 51% { transform-origin: bottom } 100% { transform: scaleY(0); transform-origin: bottom } }

/* ---------- sticky section nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; height: var(--guide-nav-h); display: flex; align-items: center;
  background: hsl(var(--guide-cream) / .84); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid hsl(var(--guide-ink) / .1); }
.nav__track { display: flex; gap: var(--space-1-5); overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter); width: 100%; max-width: var(--maxw); margin: 0 auto; scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); }
.nav__track::-webkit-scrollbar { display: none; }
.chip { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: var(--space-1-5); padding: var(--space-2) var(--space-3-5); border-radius: var(--radius-full); font-size: var(--text-sm); text-decoration: none; color: hsl(var(--guide-muted)); white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.chip:active { transform: scale(.96); }
.chip[aria-current="true"] { background: hsl(var(--guide-ink)); color: hsl(var(--guide-paper)); }
@media (hover: hover) and (pointer: fine) { .chip:not([aria-current="true"]):hover { background: hsl(var(--guide-linen)); color: hsl(var(--guide-ink)); } }

/* ---------- layout ---------- */
main { overflow-x: clip; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section.block { padding-top: clamp(56px, 9vw, 96px); }
section.block:last-of-type { padding-bottom: clamp(64px, 10vw, 110px); }
.banner { position: relative; border-radius: var(--guide-radius-xl); overflow: hidden; height: clamp(190px, 44vw, 440px); background: hsl(var(--guide-sand)); box-shadow: var(--guide-shadow-sm); }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.titlecard { position: relative; margin: -46px auto 0; width: min(560px, calc(100% - 28px)); background: hsl(var(--guide-paper)); border-radius: var(--guide-radius-lg);
  padding: var(--space-5) var(--space-5) var(--space-4); text-align: center; box-shadow: var(--guide-shadow-md); z-index: 1; }
.titlecard .n { font-size: var(--text-2xs); letter-spacing: .3em; color: hsl(var(--guide-taupe)); text-transform: uppercase; font-variant-numeric: tabular-nums; }
.titlecard h2 { margin: 2px 0 0; font-family: var(--guide-font-display); font-weight: 500; font-size: clamp(32px, 6.4vw, 50px); line-height: 1.05; letter-spacing: .08em; text-transform: uppercase; }
.titlecard .script { font-family: var(--guide-font-script); font-size: clamp(24px, 4.4vw, 30px); color: hsl(var(--guide-cocoa)); line-height: 1.2; margin-top: 2px; }
.lede { max-width: 620px; margin: var(--space-6) auto 0; text-align: center; color: hsl(var(--guide-muted)); font-size: 17px; }
.card { background: hsl(var(--guide-paper)); border-radius: var(--guide-radius-lg); padding: clamp(20px, 4vw, 30px); box-shadow: var(--guide-shadow-sm); border: 1px solid hsl(var(--guide-ink) / .04); }
.grid { display: grid; gap: var(--space-3-5); margin-top: var(--space-6); }
@media (min-width: 720px) { .g2 { grid-template-columns: repeat(2, 1fr); } }
h3 { font-family: var(--guide-font-display); font-weight: 600; font-size: 24px; line-height: 1.2; margin: 0 0 var(--space-1-5); }
.label { font-size: var(--text-xs); letter-spacing: .2em; text-transform: uppercase; color: hsl(var(--guide-taupe)); margin: 0 0 var(--space-1-5); }
p { margin: 0 0 var(--space-2-5); }
p:last-child { margin-bottom: 0; }
.muted { color: hsl(var(--guide-muted)); }
.pre { white-space: pre-line; }
.icon-badge { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: hsl(var(--guide-linen)); color: hsl(var(--guide-cocoa)); flex: none; }
.icon-badge svg.i { width: 22px; height: 22px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 46px; padding: 0 var(--space-5); border-radius: var(--radius-full); border: 0; text-decoration: none; font-size: 15px; font-weight: 500;
  background: hsl(var(--guide-ink)); color: hsl(var(--guide-paper)); transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.btn:active { transform: scale(.97); }
.btn--clay { background: hsl(var(--guide-clay)); }
.btn--ghost { background: transparent; color: hsl(var(--guide-ink)); box-shadow: inset 0 0 0 1px hsl(var(--guide-ink) / .18); }
.btn--wa { background: hsl(var(--guide-whatsapp)); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: hsl(var(--guide-night)); }
  .btn--clay:hover { background: hsl(var(--guide-clay-deep)); }
  .btn--ghost:hover { background: hsl(var(--guide-linen)); }
  .btn--wa:hover { background: hsl(var(--guide-whatsapp) / .88); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2-5); margin-top: var(--space-4); }
.tag { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: 13px; padding: var(--space-1) var(--space-2-5); border-radius: var(--radius-full); background: hsl(var(--guide-linen)); color: hsl(var(--guide-cocoa)); margin: 2px var(--space-1) 2px 0; }

/* ---------- essentials ---------- */
.essentials { position: relative; z-index: 2; padding-top: var(--space-8); }
.ess-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3-5); }
.ess-head h2 { font-family: var(--guide-font-display); font-weight: 500; font-size: 28px; margin: 0; }
.ess-head span { font-family: var(--guide-font-script); font-size: 26px; color: hsl(var(--guide-cocoa)); }
.ess { display: grid; gap: var(--space-3); grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .ess { grid-template-columns: 1.25fr 1fr 1fr; } }
.ess .card { padding: var(--space-4) var(--space-4) var(--space-4); display: flex; flex-direction: column; gap: var(--space-1); }
.ess-wide { grid-column: 1 / -1; }
@media (min-width: 860px) { .ess-wide { grid-column: auto; grid-row: span 2; } }
.time { font-family: var(--guide-font-display); font-size: 44px; line-height: 1; font-weight: 500; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.field { display: flex; align-items: center; gap: var(--space-2-5); justify-content: space-between; background: hsl(var(--guide-cream)); border-radius: 14px; padding: var(--space-2-5) var(--space-2-5) var(--space-2-5) var(--space-3-5); margin-top: var(--space-1-5); }
.field code { font-family: var(--font-mono, ui-monospace, Menlo, monospace); font-size: 13.5px; letter-spacing: .02em; word-break: break-all; color: hsl(var(--guide-ink)); }
.field .k { display: block; font-size: var(--text-2xs); letter-spacing: .2em; text-transform: uppercase; color: hsl(var(--guide-taupe)); font-family: var(--guide-font-body); }
.copy { flex: none; display: inline-flex; align-items: center; gap: var(--space-1-5); border: 0; background: hsl(var(--guide-paper)); border-radius: var(--radius-full); padding: var(--space-2) var(--space-3); font-size: 13px; min-height: 36px; box-shadow: var(--guide-shadow-sm);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
.copy:active { transform: scale(.95); }
.copy.done { background: hsl(var(--guide-sage)); color: hsl(var(--guide-paper)); }
.locked { display: flex; gap: var(--space-2-5); align-items: flex-start; background: hsl(var(--guide-cream)); border-radius: 14px; padding: var(--space-3) var(--space-3-5); font-size: 14.5px; color: hsl(var(--guide-muted)); margin-top: var(--space-1-5); }
.locked svg.i { margin-top: 3px; color: hsl(var(--guide-taupe)); }

.code-reveal { all: unset; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1-5); margin-top: var(--space-1); border-radius: 14px; background: hsl(var(--guide-cream)); padding: var(--space-2-5) var(--space-3-5); transition: transform 160ms var(--ease-out); }
.code-reveal:active { transform: scale(.98); }
.code-reveal:focus-visible { outline: 2px solid hsl(var(--guide-clay)); outline-offset: 3px; }
.code-digits { font-family: var(--guide-font-display); font-size: 30px; letter-spacing: .14em; line-height: 1; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; transition: filter 300ms ease, opacity 300ms ease; }
.code-reveal[aria-pressed="false"] .code-digits { filter: blur(7px); opacity: .55; }
.code-hint { font-size: var(--text-xs); color: hsl(var(--guide-muted)); }
.code-label { font-size: var(--text-xs); color: hsl(var(--guide-muted)); }
.host-mini { display: flex; align-items: center; gap: var(--space-3); }
.host-mini img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }

/* ---------- welcome ---------- */
.welcome { display: grid; gap: var(--space-5); align-items: center; margin-top: var(--space-8); }
@media (min-width: 860px) { .welcome { grid-template-columns: 1fr 1fr; gap: var(--space-12); } }
.welcome__thanks { font-family: var(--guide-font-script); font-size: clamp(54px, 11vw, 92px); line-height: 1; color: hsl(var(--guide-ink)); margin: 0; }
.welcome p { font-size: 18px; color: hsl(var(--guide-muted)); max-width: 460px; }
.signature { font-family: var(--guide-font-script); font-size: 34px; color: hsl(var(--guide-cocoa)); margin-top: var(--space-2-5); }

/* ---------- check-in ---------- */
.bigtime { text-align: center; margin-top: var(--space-8); }
.bigtime .time { font-size: clamp(64px, 14vw, 96px); }
.steps { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-3-5); counter-reset: s; }
@media (min-width: 860px) { .steps.cols { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: s; display: flex; gap: var(--space-4); align-items: flex-start; background: hsl(var(--guide-paper)); border: 1.5px dashed hsl(var(--guide-ink) / .22); border-radius: var(--guide-radius-lg); padding: var(--space-5); }
.step::before { content: counter(s); font-family: var(--guide-font-display); font-size: 30px; line-height: 1; color: hsl(var(--guide-oat)); width: 26px; flex: none; font-variant-numeric: tabular-nums; }
.step p { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.step a { color: hsl(var(--guide-clay-deep)); }
.step__detail { display: block; margin-top: var(--space-1-5); font-size: 15px; font-weight: 400; color: hsl(var(--guide-muted)); white-space: pre-line; }
.step__title { font-weight: 500; color: hsl(var(--guide-ink)); }
.codes { display: grid; gap: var(--space-2-5); margin-top: var(--space-4); }
.checkin-video { margin: var(--space-6) 0 0; }
/* Phones film upright: cap the height so a portrait video fits the screen. */
.checkin-video video { display: block; width: 100%; max-height: 78vh; border-radius: var(--guide-radius-lg); background: hsl(var(--guide-night)); box-shadow: var(--guide-shadow-sm); }
.checkin-video figcaption { margin-top: var(--space-2-5); font-size: 15px; text-align: center; }
.wait { margin-top: var(--space-6); display: flex; gap: var(--space-4); align-items: flex-start; }

/* ---------- reminder ---------- */
.notice { margin-top: var(--space-8); background: linear-gradient(180deg, hsl(var(--guide-linen) / .5), hsl(var(--guide-paper))); border-radius: var(--guide-radius-lg); padding: clamp(22px, 5vw, 38px); border: 1px solid hsl(var(--guide-clay) / .2); box-shadow: var(--guide-shadow-sm); }
.notice ul { list-style: none; margin: var(--space-1) 0 0; padding: 0; display: grid; gap: var(--space-3); }
@media (min-width: 720px) { .notice ul { grid-template-columns: 1fr 1fr; } }
.notice li { display: flex; gap: var(--space-3); align-items: flex-start; background: hsl(var(--guide-paper)); border-radius: 20px; padding: var(--space-3-5) var(--space-4); border: 1px solid hsl(var(--guide-ink) / .1); }
.notice li svg.i { margin-top: 4px; color: hsl(var(--guide-clay)); }

/* ---------- location ---------- */
.map { margin-top: var(--space-8); border-radius: var(--guide-radius-lg); overflow: hidden; box-shadow: var(--guide-shadow-md); background: hsl(var(--guide-sand)); position: relative; }
.map iframe { display: block; width: 100%; height: clamp(260px, 46vw, 420px); border: 0; filter: sepia(.25) saturate(.85) contrast(.98); }
.map__pill { position: absolute; left: var(--space-3-5); bottom: var(--space-3-5); right: var(--space-3-5); display: flex; flex-wrap: wrap; gap: var(--space-2-5); align-items: center; justify-content: space-between;
  background: hsl(var(--guide-paper) / .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 20px; padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4); box-shadow: var(--guide-shadow-md); }
.map__pill b { font-family: var(--guide-font-display); font-size: 20px; font-weight: 600; letter-spacing: .03em; }
.route { display: flex; gap: var(--space-4); align-items: flex-start; }

/* ---------- wifi ---------- */
.wifi .field { padding: var(--space-3-5) var(--space-3) var(--space-3-5) var(--space-4); }
.wifi .field code { font-size: 16px; }

/* ---------- rules ---------- */
.rules { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-3); counter-reset: r; }
@media (min-width: 720px) { .rules { grid-template-columns: 1fr 1fr; } }
.rule { counter-increment: r; display: flex; gap: var(--space-4); align-items: flex-start; background: hsl(var(--guide-paper)); border-radius: 20px; padding: var(--space-4); box-shadow: var(--guide-shadow-sm); }
.rule::before { content: counter(r); font-family: var(--guide-font-display); font-size: 30px; line-height: 1; color: hsl(var(--guide-oat)); width: 30px; flex: none; font-weight: 500; font-variant-numeric: tabular-nums; }
.rule h3 { font-size: 21px; margin-bottom: 2px; }
.rule p { color: hsl(var(--guide-muted)); font-size: 15.5px; margin: 0; }

/* ---------- places ---------- */
.cat { margin-top: var(--space-8); }
.cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); }
.cat__head h3 { font-size: 28px; margin: 0; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 320px); gap: var(--space-3-5); overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--space-1-5) var(--gutter) var(--space-4); margin: var(--space-3) calc(var(--gutter) * -1) 0; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 980px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; padding: var(--space-1-5) 0 0; margin: var(--space-3) 0 0; } }
.place { scroll-snap-align: start; position: relative; border-radius: var(--guide-radius-lg); overflow: hidden; aspect-ratio: 4 / 5; color: hsl(var(--guide-paper)); text-decoration: none; box-shadow: var(--guide-shadow-md); isolation: isolate; display: block;
  background: linear-gradient(160deg, hsl(var(--guide-oat)), hsl(var(--guide-cocoa))); transition: transform 200ms var(--ease-out); }
.place:active { transform: scale(.98); }
.place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .place:hover img { transform: scale(1.04); } }
.place::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, hsl(var(--guide-night) / 0) 35%, hsl(var(--guide-night) / .82) 100%); }
.place__body { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-4); }
.place__walk { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; background: hsl(var(--guide-paper) / .18); border: 1px solid hsl(var(--guide-paper) / .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 5px var(--space-2-5); border-radius: var(--radius-full); }
.place h4 { font-family: var(--guide-font-display); font-weight: 600; font-size: 26px; line-height: 1.15; margin: var(--space-2-5) 0 2px; text-wrap: balance; }
.place p { font-size: 13.5px; opacity: .9; margin: 0; }
.place .fav { position: absolute; top: var(--space-3-5); right: var(--space-3-5); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: hsl(var(--guide-paper)); color: hsl(var(--guide-clay)); box-shadow: var(--guide-shadow-sm); }
.place .fav svg { fill: currentColor; stroke: none; width: 16px; height: 16px; }
.place__icon { position: absolute; top: 38%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; color: hsl(var(--guide-paper) / .65); }
.place__icon svg.i { width: 64px; height: 64px; stroke-width: 1.2; }
.delivery { display: flex; flex-wrap: wrap; gap: var(--space-3-5); align-items: center; justify-content: space-between; margin-top: var(--space-8); }
.delivery .script { font-family: var(--guide-font-script); font-size: 34px; color: hsl(var(--guide-cocoa)); line-height: 1; }

/* ---------- emergency ---------- */
.sos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-8); background: hsl(var(--guide-ink)); color: hsl(var(--guide-paper)); border-radius: var(--guide-radius-lg); padding: clamp(20px, 4vw, 30px); }
.sos .n112 { font-family: var(--guide-font-display); font-size: clamp(64px, 14vw, 92px); line-height: .9; font-weight: 500; font-variant-numeric: tabular-nums; }
.sos .btn { background: hsl(var(--guide-clay)); }
.sos p { opacity: .82; margin: var(--space-1) 0 0; }
.tcard { display: flex; gap: var(--space-4); align-items: flex-start; }

/* ---------- check-out ---------- */
.progress { height: 6px; border-radius: var(--radius-full); background: hsl(var(--guide-linen)); overflow: hidden; margin: var(--space-4) 0 var(--space-1-5); }
.progress i { display: block; height: 100%; width: 100%; background: hsl(var(--guide-sage)); transform-origin: left; transform: scaleX(0); transition: transform 400ms var(--ease-out); }
.checklist { list-style: none; padding: 0; margin: var(--space-3-5) 0 0; display: grid; gap: var(--space-2-5); }
.check { display: flex; gap: var(--space-3-5); align-items: center; width: 100%; text-align: left; border: 0; background: hsl(var(--guide-cream)); border-radius: 20px; padding: var(--space-3-5) var(--space-4);
  transition: transform 160ms var(--ease-out), background-color 250ms ease; }
.check:active { transform: scale(.985); }
.check .box { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1.5px solid hsl(var(--guide-ink) / .35); color: transparent; transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease; }
.check .box svg { width: 16px; height: 16px; stroke-width: 2.4; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 300ms var(--ease-out); }
.check b { display: block; font-weight: 500; }
.check span.d { font-size: 14.5px; color: hsl(var(--guide-muted)); }
.check[aria-checked="true"] { background: hsl(var(--guide-sage-soft)); }
.check[aria-checked="true"] .box { background: hsl(var(--guide-sage)); border-color: hsl(var(--guide-sage)); color: hsl(var(--guide-paper)); }
.check[aria-checked="true"] .box svg { stroke-dashoffset: 0; }
.check[aria-checked="true"] b { text-decoration: line-through; text-decoration-color: hsl(var(--guide-ink) / .35); }
.done-msg { margin-top: var(--space-3-5); text-align: center; font-family: var(--guide-font-script); font-size: 34px; color: hsl(var(--guide-sage)); opacity: 0; transform: translateY(6px); transition: opacity 300ms ease, transform 300ms var(--ease-out); }
.done-msg.show { opacity: 1; transform: none; }

/* ---------- contact ---------- */
.host { display: grid; gap: var(--space-5); align-items: center; margin-top: var(--space-8); }
@media (min-width: 860px) { .host { grid-template-columns: auto 1fr; gap: var(--space-10); } }
.host__photo { width: clamp(150px, 34vw, 220px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0 auto; box-shadow: 0 0 0 8px hsl(var(--guide-paper)), var(--guide-shadow-md); }
.host__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.host__name { font-family: var(--guide-font-script); font-size: 64px; line-height: 1; margin: 0 0 var(--space-1-5); }
.review { margin-top: var(--space-4); }
.stars { display: flex; gap: var(--space-1); color: hsl(var(--guide-clay)); margin: var(--space-2-5) 0 var(--space-1); }
.stars svg { width: 26px; height: 26px; fill: currentColor; stroke: none; }

footer { padding: var(--space-10) var(--gutter) calc(env(safe-area-inset-bottom) + 100px); text-align: center; color: hsl(var(--guide-muted)); font-size: 13px; }
footer .script { font-family: var(--guide-font-script); font-size: 44px; color: hsl(var(--guide-cocoa)); display: block; line-height: 1.1; }

/* ---------- floating menu ---------- */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(env(safe-area-inset-bottom) + var(--space-4)); z-index: 50; width: 58px; height: 58px; border-radius: 50%; border: 0; background: hsl(var(--guide-ink)); color: hsl(var(--guide-paper)); display: grid; place-items: center; box-shadow: var(--guide-shadow-lg);
  transition: transform 160ms var(--ease-out), opacity 250ms ease, visibility 250ms; }
.fab:active { transform: scale(.94); }
.fab svg.i { width: 24px; height: 24px; }
.fab.hide { opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9); pointer-events: none; }
.sheet-backdrop { position: fixed; inset: 0; z-index: 60; background: hsl(var(--guide-night) / .42); opacity: 0; pointer-events: none; transition: opacity 300ms ease; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-height: 88svh; overflow: auto; overscroll-behavior: contain; background: hsl(var(--guide-cream)); border-radius: var(--guide-radius-xl) var(--guide-radius-xl) 0 0; padding: var(--space-3) var(--gutter) calc(env(safe-area-inset-bottom) + var(--space-6));
  transform: translateY(100%); transition: transform 450ms var(--ease-drawer); box-shadow: var(--guide-shadow-lg); }
@media (min-width: 720px) { .sheet { left: 50%; width: 640px; transform: translate(-50%, 100%); } }
.sheet-backdrop.is-open { opacity: 1; pointer-events: auto; }
.sheet.is-open { transform: translateY(0); }
@media (min-width: 720px) { .sheet.is-open { transform: translate(-50%, 0); } }
.sheet__grab { width: 40px; height: 5px; border-radius: var(--radius-full); background: hsl(var(--guide-ink) / .18); margin: 0 auto var(--space-2-5); }
.sheet__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-2-5); }
.sheet__head h2 { margin: 0; font-family: var(--guide-font-script); font-weight: 400; font-size: 42px; line-height: 1.1; }
.x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: hsl(var(--guide-linen)); display: grid; place-items: center; transition: transform 160ms var(--ease-out); }
.x:active { transform: scale(.92); }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4) var(--space-2-5); padding: var(--space-1-5) 0; }
@media (min-width: 520px) { .apps { grid-template-columns: repeat(5, 1fr); } }
.app { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); text-decoration: none; font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; color: hsl(var(--guide-ink)); text-align: center; }
.app i { width: 64px; height: 64px; border-radius: 20px; background: hsl(var(--guide-paper)); display: grid; place-items: center; box-shadow: var(--guide-shadow-sm); transition: transform 160ms var(--ease-out); }
.app:active i { transform: scale(.93); }
.app svg.i { width: 26px; height: 26px; }
.sheet.is-open .app { animation: appIn 420ms var(--ease-out) both; }
@keyframes appIn { from { opacity: 0; transform: translateY(10px); } }

.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + var(--space-6)); z-index: 80; transform: translate(-50%, calc(100% + 48px)); opacity: 0; background: hsl(var(--guide-ink)); color: hsl(var(--guide-paper)); padding: var(--space-3) var(--space-4); border-radius: var(--radius-full); font-size: var(--text-sm); display: flex; gap: var(--space-2); align-items: center; box-shadow: var(--guide-shadow-lg);
  transition: transform 400ms var(--ease-out), opacity 250ms ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__img { animation: none; opacity: 1; }
  .scrollcue i { animation: none; }
  .reveal { transform: none; transition: opacity 300ms ease; }
  .sheet.is-open .app { animation: none; }
  .sheet { transition-duration: 1ms; }
}

/* ---------- language: cover button, sticky-bar button, picker sheet ---------- */
.flag { width: 22px; height: 15px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px hsl(var(--guide-ink) / .12); }
.flag--lg { width: 36px; height: 24px; border-radius: 5px; }
.lang-pill { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-3-5) 0 var(--space-3); border-radius: var(--radius-full);
  border: 1px solid hsl(var(--guide-paper) / .45); background: hsl(var(--guide-paper) / .92); color: hsl(var(--guide-ink));
  font-size: var(--text-sm); font-weight: 600; box-shadow: 0 6px 24px -8px hsl(var(--guide-night) / .5);
  transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.lang-pill:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .lang-pill:hover { background: hsl(var(--guide-paper)); } }
.lang-pill__chev { width: 16px; height: 16px; color: hsl(var(--guide-taupe)); }
.nav { gap: var(--space-2); }
.nav__track { flex: 1; min-width: 0; }
.nav__lang { flex: none; display: inline-flex; align-items: center; gap: var(--space-1-5); min-height: 40px; margin-right: var(--gutter); padding: 0 var(--space-3);
  border-radius: var(--radius-full); border: 1px solid hsl(var(--guide-ink) / .14); background: hsl(var(--guide-paper)); color: hsl(var(--guide-ink));
  font-size: var(--text-xs); font-weight: 600; letter-spacing: .06em; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.nav__lang:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .nav__lang:hover { background: hsl(var(--guide-linen)); } }
.nav__lang .flag { width: 20px; height: 14px; }
.lang-title { font-family: var(--guide-font-display) !important; font-weight: 600 !important; font-size: 26px !important; }
.lang-sub { margin: var(--space-1) 0 0; font-size: 14px; color: hsl(var(--guide-muted)); max-width: 40ch; }
.lang-list { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.lang-row { display: flex; align-items: center; gap: var(--space-3-5); min-height: 64px; padding: var(--space-2-5) var(--space-4); border-radius: 18px; text-decoration: none;
  background: hsl(var(--guide-paper)); border: 1.5px solid transparent; box-shadow: var(--guide-shadow-sm);
  transition: transform 160ms var(--ease-out), border-color 200ms ease, background-color 200ms ease; }
.lang-row:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .lang-row:hover { border-color: hsl(var(--guide-oat)); } }
.lang-row.is-current { border-color: hsl(var(--guide-sage)); background: hsl(var(--guide-sage-soft)); }
.lang-row__text { display: flex; flex-direction: column; min-width: 0; }
.lang-row__name { font-size: 17px; font-weight: 600; color: hsl(var(--guide-ink)); }
.lang-row__sub { font-size: 13.5px; color: hsl(var(--guide-muted)); }
.lang-row__tick { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: hsl(var(--guide-sage)); color: hsl(var(--guide-paper)); }
.lang-row__tick svg.i { width: 16px; height: 16px; stroke-width: 2.4; }
.sheet--lang.is-open .lang-row { animation: appIn 360ms var(--ease-out) both; }
.sheet--lang.is-open li:nth-child(2) .lang-row { animation-delay: 30ms; }
.sheet--lang.is-open li:nth-child(3) .lang-row { animation-delay: 60ms; }
.sheet--lang.is-open li:nth-child(4) .lang-row { animation-delay: 90ms; }
.sheet--lang.is-open li:nth-child(5) .lang-row { animation-delay: 120ms; }
@media (prefers-reduced-motion: reduce) { .sheet--lang.is-open .lang-row { animation: none; } }
