/* ------------------------------------------------------------------
   the front door — brand dialect carried from the guest app.
   canvas #0d0d0d (never pure black: the black-flash rule), jost,
   lowercase display, grace over speed. warmth comes from candlelight:
   a low amber glow under the hero, photos under gradients, rooms that
   fade rather than snap. see ligare-guest-app/BRAND.md.
   ------------------------------------------------------------------ */

@font-face {
  font-family: "Jost Variable";
  font-style: normal;
  font-display: block;
  font-weight: 100 900;
  src: url("/fonts/jost-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Jost Variable";
  font-style: italic;
  font-display: block;
  font-weight: 100 900;
  src: url("/fonts/jost-latin-wght-italic.woff2") format("woff2-variations");
}

:root {
  --canvas: #0d0d0d;
  --card: #161616;
  --border: rgba(255, 255, 255, 0.07);
  --ink: #ffffff;
  --ink-dim: #a3a3a3;
  --ink-whisper: #737373;
  --green: #75c044;
  --teal: #00c7b5;
  --teal-brand: #008f82;
  --purple: #85288b;
  --magenta: #ae62b2;
  --gold: #ffc845;
  --fire: #ff5c39;
  --earth: #84e04a;
  --glow: rgba(117, 192, 68, 0.55); /* THE glow: the guest app's letter-reveal light */
  --ease-arrive: cubic-bezier(0.25, 0.8, 0.35, 1);
  --ease-settle: cubic-bezier(0.22, 0.8, 0.3, 1);
}

* { box-sizing: border-box; }

html { scrollbar-gutter: stable; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Jost Variable", "Avenir Next", "Avenir", -apple-system, "Helvetica Neue", system-ui, sans-serif;
  font-size: 17.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.9rem, 5.5vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.05rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 0.9em; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
b { font-weight: 600; }
.green { color: var(--green); }
.teal { color: var(--teal); }
.quiet { color: var(--ink-whisper); }

button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:not(:disabled), a[href], [role="button"] { cursor: pointer; }
@media (hover: hover) {
  button:not(:disabled):hover { filter: brightness(1.08); }
}
button:not(:disabled):active { transform: scale(0.99); }

input, textarea, select {
  font: inherit;
  font-size: 16px;
  appearance: none;
  -webkit-appearance: none;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  color: var(--ink);
  background: #171717;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: rgba(117, 192, 68, 0.55); }
input.miss, textarea.miss, select.miss { border-color: rgba(255, 200, 69, 0.6); }
input:-webkit-autofill, textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #171717 inset;
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  transition: background-color 9999s ease-in-out 0s;
}
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23a3a3a3' stroke-width='1.6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.2rem;
}
textarea { resize: vertical; }

/* required marks: quiet, not bureaucratic */
label em { color: var(--green); font-style: normal; margin-left: 2px; }

/* ------------------------------------------------------------------ */
/* motion                                                              */
/* ------------------------------------------------------------------ */

@keyframes anim-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
@keyframes hint-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* scroll-reveal: things ARRIVE, they do not react. door.js adds .on. */
.rv { opacity: 0; transform: translateY(12px); }
.rv.on {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease-arrive), transform 0.9s var(--ease-arrive);
}
.rv.d1.on { transition-delay: 0.15s; }
.rv.d2.on { transition-delay: 0.3s; }
.rv.d3.on { transition-delay: 0.45s; }

/* rooms: leaving fades down-and-out, arriving surfaces slow. nothing snaps. */
@keyframes room-out {
  to { opacity: 0; transform: translateY(10px); }
}
.leaving-stage { animation: room-out 0.4s ease-in forwards; }
@keyframes room-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.arriving { animation: room-in 0.8s var(--ease-arrive) 0.1s backwards; }

/* ------------------------------------------------------------------ */
/* the intro overlay — the whisper                                     */
/* ------------------------------------------------------------------ */

.intro {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--canvas);
  display: grid;
  place-items: center;
  transition: opacity 1.1s var(--ease-settle);
}
.intro.leaving { opacity: 0; pointer-events: none; }
.intro[hidden] { display: none; }

/* EACH BEAT IS ONE LINE, ALWAYS. nowrap is the rule; the vw-scaled size
   is what keeps the longest beat — "(and something to do with them)" —
   inside the viewport on a phone. Never add a max-width here: that is
   what wraps them. */
.whisper {
  white-space: nowrap;
  text-align: center;
  font-size: clamp(1.2rem, 5.8vw, 3.1rem);
  line-height: 1.2;
  font-weight: 500;
  /* beat 1 lands in the hero's own white; beat 2 in its green; beat 3
     is the parenthetical, so it wears the parenthetical's gray. */
  color: var(--ink);
  opacity: 0;
  transition: opacity 1s ease-out;
  margin: 0;
}
.whisper.lit { opacity: 1; }
.whisper.green { color: var(--green); }
.whisper.final { color: var(--ink-dim); }

.skip {
  position: absolute;
  right: 1.2rem;
  bottom: calc(1.2rem + env(safe-area-inset-bottom));
  background: none;
  border: none;
  color: var(--ink-whisper);
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 0.6rem 0.9rem;
}
.skip:hover { color: var(--ink-dim); }

/* ------------------------------------------------------------------ */
/* hero — the table-site treatment: a full-bleed photograph behind the */
/* words, under a dark gradient. Black first; the words land; then the */
/* candle comes up behind them (door.js adds .lit a beat after the     */
/* reveal). Gradient values studied from table.ligaregatherings.com.   */
/* ------------------------------------------------------------------ */

/* leaving any page for a room: the whole page dims, the next one rises.
   Set by door.js / rooms.js right before navigation; pageshow lifts it
   again so the browser's back button never lands on a black page. */
body.page-leave { opacity: 0; transition: opacity 0.45s ease-in; }
@keyframes page-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}
body.page-begin, body.page-room { animation: page-arrive 0.7s ease-out; }

.hero {
  min-height: 96svh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 2.8s var(--ease-arrive);
}
.hero-bg.lit { opacity: 1; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.55), rgba(13, 13, 13, 0.62) 48%, rgba(13, 13, 13, 0.94));
}
.hero-fg {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 1.4rem 4rem;
}
.hero-knot { width: 116px; height: auto; opacity: 0.95; margin-bottom: 1.7rem; }
.hero h1 span { display: block; }
.hero h1 .green { text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7); }
.hero .deck {
  color: #c9c9c9;
  font-size: clamp(1.25rem, 3.2vw, 1.6rem);
  margin-top: 0.5rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}
/* the hero text arrives as ONE piece, at the whisper's velocity —
   no per-line stagger, no gear change. */
.hero .rv.on {
  transition: opacity 1s ease-out, transform 1s ease-out;
  transition-delay: 0s !important;
}

.come-in {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  margin-top: 2.2rem;
  color: var(--green);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  opacity: 0.9;
  transition: opacity 0.6s ease-out;
}
.come-in:hover { text-decoration: none; filter: brightness(1.15); }
.come-in .chev { font-size: 1.25rem; line-height: 0.7; animation: hint-bob 2.4s ease-in-out infinite; }
.come-in.gone { opacity: 0; pointer-events: none; }

/* ------------------------------------------------------------------ */
/* sections                                                            */
/* ------------------------------------------------------------------ */

.sec {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 5rem) 1.4rem;
}

.eyebrow {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  letter-spacing: 0.08em;
  color: var(--magenta);
  margin-bottom: 1.8rem;
}

.surprises {
  list-style: none;
  counter-reset: s;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}
.surprises li {
  counter-increment: s;
  position: relative;
  padding-left: 3.4rem;
  color: #b9b9b9;
  font-size: 1.18rem;
  line-height: 1.6;
}
.surprises li b {
  display: block;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.8vw, 1.5rem);
  line-height: 1.25;
  margin-bottom: 0.3rem;
}
.surprises li::before {
  content: "0" counter(s);
  position: absolute;
  left: 0;
  top: 0.35rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--green);
}

/* ------------------------------------------------------------------ */
/* brenen — a warm, photographic band, not a paragraph in the dark     */
/* ------------------------------------------------------------------ */

.brenen-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.band-inner {
  max-width: 58rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 9vh, 6rem) 1.4rem;
}
.brenen-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 720px) {
  .brenen-grid { grid-template-columns: 11fr 10fr; gap: 3rem; }
}
/* one graceful carousel: photographs of brenen, crossfading in place */
.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 60px -18px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
.carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s var(--ease-arrive);
}
.carousel img.cur { opacity: 1; }
.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.8rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  z-index: 1;
}
.carousel-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.4s ease, transform 0.4s ease;
}
.carousel-dots button.cur { background: var(--green); transform: scale(1.25); }

.brenen-copy h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.brenen-copy p { color: #c9c9c9; }
.brenen-copy p:last-child { color: var(--ink); }

/* ------------------------------------------------------------------ */
/* doors — four cards, each the threshold of a real page               */
/* ------------------------------------------------------------------ */

.doors-sec { max-width: 52rem; text-align: center; }

/* equal heights and widths, always: 1fr columns + 1fr rows, and every
   card is a flex column so short copy stretches to match long copy. */
.door-grid {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 1rem;
  text-align: left;
  margin-top: 2rem;
}
@media (min-width: 640px) { .door-grid { grid-template-columns: 1fr 1fr; } }

.door {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.9rem 1.7rem 2rem;
  color: var(--ink);
  font: inherit;
  text-align: left;
  transition: border-color 0.35s ease, transform 0.35s var(--ease-settle), box-shadow 0.35s ease;
}
/* landing: each card breathes out a little green light, then settles —
   the guest app's connect-bloom, quieted. door.js staggers the delays. */
@keyframes door-bloom {
  0% { box-shadow: 0 0 0 0 rgba(117, 192, 68, 0); border-color: var(--border); }
  40% { box-shadow: 0 0 30px -4px rgba(117, 192, 68, 0.35); border-color: rgba(117, 192, 68, 0.5); }
  100% { box-shadow: 0 0 14px -6px rgba(117, 192, 68, 0.16); border-color: rgba(117, 192, 68, 0.22); }
}
.door.bloom { animation: door-bloom 2s var(--ease-settle) both; }
.door:hover {
  border-color: rgba(117, 192, 68, 0.5);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 0 26px -8px rgba(117, 192, 68, 0.3);
}
.door-num {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 0.55rem;
}
.door-name { display: block; font-size: 1.42rem; font-weight: 600; line-height: 1.2; margin-bottom: 0.45rem; }
.door-sub { display: block; font-size: 1.02rem; color: var(--ink-dim); line-height: 1.5; }

/* ------------------------------------------------------------------ */
/* room pages (/table, /community, /work) — a full-bleed photograph    */
/* behind a floating card, the table-site board treatment.             */
/* ------------------------------------------------------------------ */

.room-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}
.room-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.room-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.62), rgba(13, 13, 13, 0.74) 48%, rgba(13, 13, 13, 0.95));
}

/* the back link owns its own row, hard left — sharing a line with the
   knot is what made /begin's header read as a jumble. */
.page-nav { text-align: left; margin-bottom: 1.4rem; }

/* On a wide screen the card sits LEFT, so the photograph is never
   entirely behind it — the room the visitor is standing in stays
   visible on the right. Below that, the card centers and the vertical
   gradient does the legibility work. */
.room-page {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vh, 4rem) 1.4rem 3rem;
}
@media (min-width: 1000px) {
  .room-page {
    max-width: 82rem;
    margin: 0 auto;
    padding-left: 3rem;
  }
  .room-page > .page-nav,
  .room-page > h1,
  .room-page > .room-card { max-width: 34rem; }
  /* the photo breathes on the right: less scrim there, more behind the card */
  .room-bg::after {
    background:
      linear-gradient(100deg, rgba(13, 13, 13, 0.93) 0%, rgba(13, 13, 13, 0.88) 34%, rgba(13, 13, 13, 0.5) 66%, rgba(13, 13, 13, 0.62) 100%),
      linear-gradient(180deg, rgba(13, 13, 13, 0.5), transparent 30%, rgba(13, 13, 13, 0.7));
  }
}
.room-page h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  margin: 1rem 0 1.2rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.room-card {
  background: rgba(19, 19, 24, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.8rem clamp(1.4rem, 4vw, 2.2rem) 2rem;
  text-align: left;
  box-shadow: 0 0 54px -14px var(--glow);
}

.room-back {
  display: inline-block;
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-dim);
  font: inherit;
  font-size: 0.88rem;
  padding: 0.45rem 1rem;
  text-decoration: none;
}
.room-back:hover { color: var(--ink); border-color: rgba(117, 192, 68, 0.45); text-decoration: none; }
.room-lede { color: var(--ink-dim); margin-bottom: 1.2rem; }
.room-card label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-dim);
  margin-bottom: 0.9rem;
  text-align: left;
}
.room-card label input, .room-card label select, .room-card label textarea { margin-top: 0.3rem; }
.frow.two { display: grid; gap: 0 0.9rem; }
@media (min-width: 560px) { .frow.two { grid-template-columns: 1fr 1fr; } }
.opt { color: var(--ink-whisper); }

.orgkind {
  border: none;
  margin: 0.4rem 0 1rem;
  padding: 0;
}
.orgkind legend { font-size: 0.85rem; color: var(--ink-dim); margin-bottom: 0.55rem; padding: 0; }
.radio {
  display: flex !important;
  align-items: flex-start;
  gap: 0.65rem;
  background: #171717;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.55rem !important;
  color: var(--ink) !important;
  font-size: 0.95rem !important;
}
.radio:has(input:checked) { border-color: rgba(117, 192, 68, 0.55); }
.radio input {
  appearance: auto;
  -webkit-appearance: radio;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.2rem;
  accent-color: var(--green);
  flex: none;
}

.btn {
  display: inline-block;
  background: var(--green);
  color: #0a0a0a;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.7rem 1.6rem;
  margin-top: 0.3rem;
}
.btn.wide { width: 100%; padding: 0.85rem 1.6rem; }
.btn:disabled { opacity: 0.6; }
/* the button says what happens next; its label swaps with a gentle fade */
.btn-label { display: inline-block; transition: opacity 0.22s ease-out; }
.btn-label.swapping { opacity: 0; }

/* the quiet sibling: sharing, following — green outline, never the lead */
.btn.ghost {
  background: none;
  border: 1px solid rgba(117, 192, 68, 0.5);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.5rem;
}
.btn.ghost:hover { border-color: var(--green); text-decoration: none; }
.room-result .btn.ghost { margin-top: 0.9rem; }
.thanks-links { display: flex; justify-content: center; gap: 0.6rem; margin: 0.4rem 0 0.8rem; }
.thanks .btn.ghost { margin-left: 0; }
.foot-share {
  background: none;
  border: none;
  color: var(--green);
  font: inherit;
  font-size: 1.02rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
}
.foot-share:hover { text-decoration: underline; }
.form-note { font-size: 0.8rem; color: var(--ink-whisper); margin: -0.2rem 0 0.9rem; }
/* caution speaks amber, per BRAND.md — the one non-green voice */
.form-err {
  font-size: 0.88rem;
  color: var(--gold);
  margin: 0.2rem 0 0.7rem;
  animation: anim-in 0.4s ease-out;
}

.room-result { animation: room-in 0.8s var(--ease-arrive) both; color: var(--ink-dim); }
.room-result h4 { color: var(--ink); font-size: 1.15rem; margin: 0.4rem 0 0.6rem; }
.room-result .btn { margin-top: 0.9rem; }
.room-result .aside { font-size: 0.85rem; color: var(--ink-whisper); margin-top: 1rem; }

/* ------------------------------------------------------------------ */
/* graph coda                                                          */
/* ------------------------------------------------------------------ */

.graph-sec { text-align: center; max-width: 40rem; }
.graph-frame {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(0.8rem, 3vw, 1.4rem);
  margin: 1.4rem 0 1.1rem;
}
#graph { width: 100%; height: auto; display: block; }
.graph-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.2rem;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--ink-dim);
}
.graph-legend .sw {
  display: inline-block;
  width: 18px;
  height: 3px;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 0.4rem;
}
.sw.gold { background: var(--gold); }
.sw.green { background: var(--earth); }
.sw.teal { background: var(--teal); }
.sw.gray { background: #4a4a4a; }
.caption { color: var(--ink-dim); max-width: 32rem; margin: 0 auto; }

/* ------------------------------------------------------------------ */
/* footer — visible, green, worth finding                              */
/* ------------------------------------------------------------------ */

.foot {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 1.4rem calc(3rem + env(safe-area-inset-bottom));
  text-align: center;
  border-top: 1px solid var(--border);
}
.foot-head {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--ink-whisper);
  margin-bottom: 1rem;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 2rem;
  font-size: 1.02rem;
  margin-bottom: 1.2rem;
}
.foot-links a { color: var(--green); display: inline-flex; align-items: center; gap: 0.45rem; }
.foot-links a svg { flex: none; }
.foot-links a:hover { color: #8fd45e; }
.foot-talkline { font-size: 0.88rem; margin-bottom: 1.6rem; }
.foot-talkline a { color: var(--green); }
.foot-replay { margin-bottom: 1.4rem; }
.foot-replay a { font-size: 0.82rem; color: var(--ink-whisper); }
.foot-replay a:hover { color: var(--ink-dim); }
.foot-mark { opacity: 0.75; }
.foot.slim { border-top: none; padding-top: 2rem; }

/* ------------------------------------------------------------------ */
/* /begin                                                              */
/* ------------------------------------------------------------------ */

.begin {
  max-width: 31rem;
  margin: 0 auto;
  padding: clamp(1.8rem, 5vh, 3rem) 1.4rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.begin .room-back { margin-bottom: 1.6rem; }
.begin-knot { width: 96px; height: auto; margin-bottom: 1.3rem; opacity: 0.95; }
/* The opt-in page names the business, visibly. A carrier reviewing the
   screenshot has to be able to tie this page to "Ligare Gatherings LLC"
   without reading the fine print — an unbranded opt-in image is a
   documented rejection. The wordmark does that and is on-brand anyway. */
.begin-mark { width: min(230px, 62vw); height: auto; margin-bottom: 1.3rem; }
.begin .deck { color: var(--ink-dim); font-size: 1.1rem; }

.pitch { text-align: left; color: #c9c9c9; margin: 1.8rem 0; font-size: 1.02rem; }
.pitch p { color: #c9c9c9; }
.pitch .pitch-plain {
  color: var(--ink-dim);
  font-size: 0.95rem;
  border-left: 2px solid rgba(117, 192, 68, 0.5);
  padding-left: 1rem;
  margin-top: 1.2rem;
}

.begin .capture {
  text-align: left;
  background: rgba(19, 19, 24, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.6rem 1.5rem 1.8rem;
  box-shadow: 0 0 54px -14px var(--glow);
}
.begin .capture label { display: block; font-size: 0.85rem; color: var(--ink-dim); margin-bottom: 0.9rem; }
.begin .capture label input { margin-top: 0.3rem; }
.consent {
  display: flex !important;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.85rem !important;
  color: var(--ink-dim);
  margin: 1.1rem 0 1rem !important;
}
.consent input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--green);
  appearance: auto;
  -webkit-appearance: auto;
  flex: none;
}

.thanks { animation: room-in 0.9s var(--ease-arrive); color: var(--ink-dim); text-align: center; }
.thanks b { color: var(--green); }
.thanks .big { font-size: 1.3rem; }

/* /begin carries more reading than any other page here, and the candle
   photograph behind it was winning against the words. The scrim is much
   heavier on this page only: the photo survives as warmth at the top and
   bottom edges, and the middle — where the paragraphs and the form live —
   goes essentially to canvas. Atmosphere, not wallpaper. */
body.page-begin .room-bg::after {
  background:
    linear-gradient(180deg,
      rgba(13, 13, 13, 0.72) 0%,
      rgba(13, 13, 13, 0.94) 22%,
      rgba(13, 13, 13, 0.97) 55%,
      rgba(13, 13, 13, 0.99) 100%);
}
body.page-begin .room-bg img { object-position: center 30%; }

/* QA harness: ?flat=1 collapses the hero so a tall emulated viewport
   can capture the whole page in one screenshot. Never linked. */
body.flat .hero { min-height: 34vh; }

/* ------------------------------------------------------------------ */
/* accessibility                                                       */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .come-in .chev { animation: none; }
  .rv, .rv.on { opacity: 1; transform: none; transition: none; }
  .leaving-stage { animation-duration: 0.01ms; }
  .arriving, .room-result, .thanks, .form-err { animation: none; }
  .door.bloom { animation: none; border-color: rgba(117, 192, 68, 0.22); }
  .hero-bg { transition: none; opacity: 1; }
  body.page-begin, body.page-room { animation: none; }
  .intro { transition: none; }
  .whisper { transition: none; }
}

/* ------------------------------------------------------------------ */
/* legal pages, and the compliance small print under the consent box.  */
/*                                                                      */
/* These read at 15px rather than the site's 17.5 because they are      */
/* reference, not persuasion — but never smaller. Fine print that       */
/* cannot be read on a phone is the thing carriers reject, and it is    */
/* also just rude.                                                      */
/* ------------------------------------------------------------------ */

.fineprint {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-whisper);
  margin: -0.4rem 0 1.1rem;
}
.fineprint a { color: var(--ink-dim); text-decoration: underline; }
.fineprint a:hover { color: var(--green); }

.legal {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(1.8rem, 5vh, 3rem) 1.4rem 2rem;
}
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin-bottom: 0.3em; }
.legal .deck { color: var(--ink-dim); margin-bottom: 0.6rem; }
.legal .eff {
  font-size: 0.8rem;
  color: var(--ink-whisper);
  margin: 0 0 1.6rem;
}
.legal h2 {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2.2rem 0 0.6rem;
}
.legal p, .legal li { color: #c2c2c2; font-size: 0.98rem; line-height: 1.65; }
.legal b { color: var(--ink); }
.legal ul { padding-left: 1.1rem; display: grid; gap: 0.5rem; margin: 0 0 1em; }
.legal a { color: var(--green); }

/* the "this is a supplement" note that opens both legal pages */
.supplement {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 2px solid rgba(117, 192, 68, 0.5);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.4rem;
}
.supplement p { margin: 0; font-size: 0.9rem; color: var(--ink-dim); }

.legal-links { margin-top: 0.6rem; font-size: 0.85rem; }
.legal-links a { color: var(--ink-whisper); }
.legal-links a:hover { color: var(--ink-dim); }
.legal .addr {
  font-size: 0.85rem;
  color: var(--ink-whisper);
  line-height: 1.5;
  margin-top: 1.2rem;
}

/* /hello — the cold invitation. Same furniture as /begin, one addition:
   a plain line at the foot that says who we are, for a reader who arrived
   with no context at all. */
.whoweare {
  font-size: 0.92rem;
  color: var(--ink-whisper);
  line-height: 1.6;
  margin: 1.6rem 0 0;
  text-align: left;
}
.whoweare a { color: var(--ink-dim); text-decoration: underline; }
.whoweare a:hover { color: var(--green); }
