/* Guest It Welcome — the guest pack page. Cover template.
   Tokens first; everything below derives from them. No shadows, no motion,
   hard-edged photos and bands, one gutter. Spec: 2026-08-25 guest pack. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/fraunces-normal-400-600.89d06ba6eee3.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400 500; font-display: swap; src: url("../fonts/fraunces-italic-400-500.072a3d16a166.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/instrument-sans-normal-400-600.e35fad09c70b.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-sans-italic-400.249d24d5d5bd.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/plex-mono-normal-500.6708425c446b.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plex-mono-normal-600.e71a597e376e.woff2") format("woff2"); }

:root {
  --t0: 11px; --t1: 13px; --t2: 15px; --t3: 17px; --t4: 22px; --t5: 28px; --t6: 36px;
  --gx: 20px; --r-s: 6px;
  --display: "Fraunces", Georgia, serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --reach-h: 72px;
}

/* ---- palettes: a ground plus one accent ------------------------------ */
.pal-harbour { --ground: #f3f5f4; --paper: #ffffff; --ink: #14161a; --ink-2: #4b5552; --muted: #5b6b66; --line: #e3e8e6; --accent: #0f766e; --accent-ink: #ffffff; }
.pal-moor    { --ground: #f4f1ec; --paper: #ffffff; --ink: #2b2521; --ink-2: #4f4640; --muted: #6f655a; --line: #e6e0d7; --accent: #6b4f3a; --accent-ink: #ffffff; }
.pal-slate   { --ground: #15181c; --paper: #1c2024; --ink: #f2efe8; --ink-2: #c9c6bf; --muted: #9aa39f; --line: #2a2f34; --accent: #e8e4d8; --accent-ink: #15181c; }

/* the feedback engine reads the venue shell's tokens; hand it ours */
body { --cn-primary: var(--accent); --cn-primary-strong: var(--accent); --cn-primary-soft: var(--line); --cn-ink: var(--ink); --cn-muted: var(--muted); --cn-surface: var(--paper); --cn-surface-2: var(--ground); --cn-line: var(--line); --cn-font-body: var(--body); --cn-font-heading: var(--body); }

/* ---- base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--t2)/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--accent); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.gp { padding-bottom: calc(var(--reach-h) + env(safe-area-inset-bottom, 0px) + 16px); max-width: 560px; margin: 0 auto; }
.gp--empty { padding-top: 24vh; }

/* ---- photo: hard-edged, no scrim ---------------------------------------- */
.photo { overflow: hidden; }
.photo--tall { height: 240px; }
.photo--short { height: 200px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---- nameplate: the only serif on the page ------------------------------ */
.plate { padding: 18px var(--gx) 14px; text-align: center; }
.plate__when { margin: 0; font: 500 var(--t1)/1.3 var(--body); color: var(--muted); }
.plate__name { margin: 6px 0 8px; font-family: var(--display); font-weight: 500; font-variation-settings: "SOFT" 50; letter-spacing: -.025em; line-height: 1.02; text-wrap: balance; }
.plate__name--t6 { font-size: var(--t6); }
.plate__name--t5 { font-size: var(--t5); }
.plate__from { margin: 0 auto; max-width: 28ch; font: italic 400 var(--t2)/1.45 var(--body); color: var(--ink-2); text-wrap: balance; }

/* ---- the band: wifi (accent) and codes (paper) -------------------------- */
.band { display: block; }
.band--accent { background: var(--accent); color: var(--accent-ink); }
.band--paper { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band__copy { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 14px var(--gx) 12px; cursor: pointer; }
.band__copy:disabled { cursor: default; }
.band__k { display: block; font: 500 var(--t0)/1 var(--body); letter-spacing: .1em; text-transform: uppercase; opacity: .78; }
.band--paper .band__k { color: var(--muted); opacity: 1; }
.band__net { display: block; margin-top: 4px; font: 600 var(--t2)/1.3 var(--body); }
.band__pw { display: block; margin: 6px 0 8px; font-family: var(--mono); font-weight: 600; font-feature-settings: "zero" 1; letter-spacing: 0; line-height: 1.15; white-space: nowrap; }
.band__pw--t6 { font-size: var(--t6); }
.band__pw--t5 { font-size: var(--t5); }
.band__pw--t4 { font-size: var(--t4); }
.band__pw--t3 { font-size: var(--t3); }
.band__pw--t2 { font-size: var(--t2); white-space: normal; overflow-wrap: anywhere; }
.band__foot { display: flex; align-items: center; justify-content: space-between; font: 500 var(--t1)/1 var(--body); opacity: .9; }
.band--paper .band__foot { color: var(--accent); opacity: 1; }
.band__hint { display: inline-flex; align-items: center; gap: 6px; }
.band__hint svg { display: inline-block; }
.band__qr { display: block; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid rgba(255,255,255,.22); padding: 10px var(--gx) 12px; font: 500 var(--t1)/1 var(--body); color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 3px; cursor: pointer; }
.band__qrpanel { background: var(--paper); color: var(--ink); padding: 16px var(--gx) 14px; text-align: center; border-top: 1px solid var(--line); }
.band__qrpanel img { margin: 0 auto 8px; background: #fff; }
.band__qrpanel p { margin: 0; font: 400 var(--t1)/1.4 var(--body); color: var(--muted); }

/* ---- essentials 2×2 ----------------------------------------------------- */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; margin: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.grid2 > div { padding: 12px var(--gx); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.grid2 > div:nth-child(2n) { border-right: 0; }
.grid2 > div:nth-last-child(-n+2) { border-bottom: 0; }
.grid2 > div:only-child { grid-column: 1 / -1; border-right: 0; }
.grid2 dt { font: 500 var(--t0)/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.grid2 dd { margin: 0; font: 500 var(--t2)/1.3 var(--body); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.grid2 dd a { color: var(--accent); text-decoration: none; }

/* ---- sections list ------------------------------------------------------ */
.listwrap { padding-top: 18px; }
.list { list-style: none; margin: 0; padding: 0; }
.list__lead { margin: 0; padding: 0 var(--gx) 6px; font: italic 400 var(--t1)/1.4 var(--body); color: var(--muted); }
.row { background: var(--paper); border-top: 1px solid var(--line); }
.row:last-child { border-bottom: 1px solid var(--line); }
.row__link, .row--locked { display: grid; grid-template-columns: 1fr auto 16px; gap: 12px; align-items: center; padding: 12px var(--gx); color: inherit; text-decoration: none; }
.row--locked { grid-template-columns: 1fr auto; opacity: .55; }
.row__text { min-width: 0; }
.row__title { display: block; font: 600 var(--t2)/1.25 var(--body); letter-spacing: -.005em; }
.row__lock { font-weight: 400; color: var(--muted); }
.row__sub { display: block; margin-top: 2px; font: 400 var(--t1)/1.4 var(--body); color: var(--muted); }
.row__img { width: 52px; height: 52px; object-fit: cover; }
.row__chev { color: var(--muted); }

/* ---- reach the hosts: fixed, on every screen ---------------------------- */
.reach { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px var(--gx) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--paper); border-top: 1px solid var(--line); max-width: 560px; margin: 0 auto; }
.reach__av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--line); display: grid; place-items: center; color: var(--muted); }
.reach__av img { width: 100%; height: 100%; object-fit: cover; }
.reach__ini { font: 600 var(--t1)/1 var(--body); color: var(--ink); }
.reach__msg { min-width: 0; text-align: left; background: none; border: 0; padding: 4px 0; cursor: pointer; }
.reach__b { display: block; font: 600 var(--t2)/1.2 var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reach__s { display: block; font: 400 var(--t1)/1.3 var(--body); color: var(--muted); }
.reach__tel { width: 44px; height: 44px; border-radius: 50%; background: var(--line); color: var(--accent); display: grid; place-items: center; text-decoration: none; }

/* ---- section page ------------------------------------------------------- */
.bar { height: 100px; padding: 54px var(--gx) 0; display: flex; align-items: center; }
.bar__back { display: inline-flex; align-items: center; gap: 8px; height: 44px; font: 500 var(--t2)/1 var(--body); color: var(--accent); text-decoration: none; }
.title { padding: 0 var(--gx) 14px; }
.title__in { margin: 0; font: 500 var(--t1)/1 var(--body); color: var(--muted); letter-spacing: .02em; }
.title__h { margin: 6px 0 0; font: 600 var(--t5)/1.1 var(--body); letter-spacing: -.02em; }
.fig { margin: 0; background: var(--paper); }
.fig img { width: 100%; height: 200px; object-fit: cover; }
.fig figcaption { padding: 8px var(--gx) 10px; font: italic 400 var(--t1)/1.4 var(--body); color: var(--muted); border-bottom: 1px solid var(--line); }
.prose { background: var(--paper); padding: 14px var(--gx) 18px; font: 400 var(--t2)/1.55 var(--body); color: var(--ink); }
.prose h1, .prose h2, .prose h3, .prose h4 { margin: 10px 0 4px; font: 600 var(--t3)/1.25 var(--body); letter-spacing: -.01em; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 8px; }
.prose ul, .prose ol { margin: 0 0 8px; padding-left: 1.3em; }
.prose img { max-width: 100%; height: auto; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 8px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
.prose blockquote { margin: 0 0 8px; padding-left: 12px; border-left: 3px solid var(--line); color: var(--ink-2); }
.prose code { font-family: var(--mono); font-size: .92em; }
.prose__then { margin: 12px 0 0; font: 500 var(--t1)/1 var(--body); color: var(--muted); }
.prose__then a { text-decoration: none; }

/* ---- the ask sheet ------------------------------------------------------ */
.ask { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; max-width: 560px; margin: 0 auto; background: var(--paper); border-top: 1px solid var(--line); padding: 0 0 env(safe-area-inset-bottom, 0px); max-height: 88vh; display: flex; flex-direction: column; }
.ask[hidden] { display: none; }
.ask__head { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gx); border-bottom: 1px solid var(--line); }
.ask__title { font: 600 var(--t2)/1.2 var(--body); }
.ask__close { width: 36px; height: 36px; border: 0; background: var(--line); border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; }
.ask__chat { display: flex; flex-direction: column; min-height: 0; }
.ask__log { overflow-y: auto; padding: 12px var(--gx); display: flex; flex-direction: column; gap: 8px; max-height: 48vh; }
.ask__bubble { max-width: 88%; padding: 10px 12px; border-radius: var(--r-s); font: 400 var(--t2)/1.45 var(--body); }
.ask__bubble--them { background: var(--ground); align-self: flex-start; }
.ask__bubble--me { background: var(--accent); color: var(--accent-ink); align-self: flex-end; }
.ask__bubble--busy { color: var(--muted); font-style: italic; }
.ask__prompts { display: flex; flex-wrap: wrap; gap: 6px; }
.ask__prompt { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 11px; font: 500 var(--t1)/1 var(--body); cursor: pointer; }
.ask__bar { display: flex; gap: 8px; padding: 10px var(--gx); border-top: 1px solid var(--line); }
.ask__input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-s); padding: 10px 12px; font: 400 var(--t2)/1.3 var(--body); background: var(--paper); color: var(--ink); }
.ask__send, .ask__primary { border: 0; background: var(--accent); color: var(--accent-ink); border-radius: var(--r-s); padding: 10px 14px; font: 600 var(--t2)/1 var(--body); cursor: pointer; }
.ask__send:disabled { opacity: .5; cursor: default; }
.ask__handoff { margin: 0 var(--gx) 12px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--r-s); padding: 10px; font: 500 var(--t1)/1 var(--body); cursor: pointer; }
.ask__msg { padding: 12px var(--gx) 16px; display: flex; flex-direction: column; gap: 10px; }
.ask__msg.is-hidden { display: none; }
.ask__label { display: block; font: 500 var(--t1)/1.3 var(--body); color: var(--ink-2); }
.ask__label span { color: var(--muted); font-weight: 400; }
.ask__label input, .ask__label textarea { display: block; width: 100%; margin-top: 4px; border: 1px solid var(--line); border-radius: var(--r-s); padding: 9px 11px; font: 400 var(--t2)/1.4 var(--body); background: var(--paper); color: var(--ink); }
.ask__two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ask__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ask__state { margin: 0; min-height: 1.3em; font: 500 var(--t1)/1.3 var(--body); color: var(--muted); }
.ask__state.is-err { color: #b42318; }
.ask__state.is-ok { color: var(--accent); }
.ask-open .reach { visibility: hidden; }

/* ---- feedback card ------------------------------------------------------ */
.fb { margin: 18px 0 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fb__open { display: grid; grid-template-columns: 1fr 16px; gap: 12px; align-items: center; width: 100%; text-align: left; background: none; border: 0; padding: 14px var(--gx); cursor: pointer; }
.fb__t { display: block; font: 600 var(--t2)/1.25 var(--body); }
.fb__s { display: block; margin-top: 2px; font: 400 var(--t1)/1.4 var(--body); color: var(--muted); }
.fb__panel { padding: 4px 0 12px; border-top: 1px solid var(--line); }
.fb__panel[hidden] { display: none; }
.fb__reviews { padding: 12px var(--gx) 0; text-align: center; }
.fb__reviews[hidden] { display: none; }
.fb__reviews p { margin: 0 0 8px; font: 400 var(--t1)/1.4 var(--body); color: var(--muted); }
.fb__reviews a { display: block; margin: 6px auto 0; max-width: 280px; padding: 10px 14px; border-radius: var(--r-s); background: var(--accent); color: var(--accent-ink); text-decoration: none; font: 600 var(--t2)/1 var(--body); }
.fb__reviews a + a { background: var(--paper); color: var(--accent); border: 1px solid var(--line); }

/* the shared engine draws Font Awesome glyphs; keep its own rules winning */
.cn-feedback-engine [hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
