/* fluo.lu — prototype. Light that follows your words:
   people 3200 K (tungsten orange) · events 4300 K (rose) · places & services 5600 K (daylight blue).
   Colour = which kind of video. Ink = action. */

@property --lit-a { syntax: "<color>"; inherits: true; initial-value: #5bb8e0; }
@property --lit-b { syntax: "<color>"; inherits: true; initial-value: #f08a4b; }

:root {
  --ink: #13202b;
  --ink-2: #384653;
  --ink-3: #56636f;
  --paper: #ffffff;
  --mist: #f2f5f8;
  --line: rgba(19, 32, 43, .12);
  --line-2: rgba(19, 32, 43, .2);

  --t-people: #e8672a; --t-people-soft: #fde3d3; --t-people-deep: #a8441a;
  --t-event:  #d9637a; --t-event-soft:  #fadbe0; --t-event-deep:  #a33a50;
  --t-place:  #3a9fd6; --t-place-soft:  #d3ecf8; --t-place-deep:  #1b6a98;

  --lit-a: #5bb8e0;
  --lit-b: #f08a4b;

  --stage: #0c1218;

  --r-s: 10px; --r-m: 16px; --r-l: 24px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(19,32,43,.06), 0 4px 14px -6px rgba(19,32,43,.18);
  --shadow-2: 0 2px 4px rgba(19,32,43,.06), 0 18px 40px -18px rgba(19,32,43,.42);

  --gutter: 16px;
  --max: 1240px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --f: "Urbanist", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100svh;
  font-family: var(--f); font-size: 17px; line-height: 1.5; font-weight: 500;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: color-mix(in oklab, var(--lit-a) 45%, white); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
textarea, input { caret-color: var(--t-people); }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; font-weight: 800; }
p { margin: 0; text-wrap: pretty; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-s); }
.skip:focus { top: 8px; }
.ic { width: 22px; height: 22px; flex: none; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
* { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; background: none; cursor: pointer;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out), box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: var(--shadow-1); }
.btn-ink:hover { background: #22323f; }
.btn-line { border-color: var(--line-2); background: rgba(255,255,255,.7); }
.btn-line:hover { border-color: var(--ink); background: #fff; }
.btn-quiet { background: rgba(255,255,255,.72); border-color: rgba(19,32,43,.1); -webkit-backdrop-filter: saturate(1.4); }
.btn-quiet:hover { background: #fff; border-color: var(--line-2); }
.btn-icon { width: 48px; padding: 0; background: rgba(255,255,255,.72); border-color: rgba(19,32,43,.1); }
.btn-icon:hover { background: #fff; }
.btn-big { min-height: 56px; padding: 0 26px; font-size: 17px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background: rgba(255,255,255,.78);
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: border-color .2s, background-color .2s;
}
.chip:hover { border-color: var(--ink); background: #fff; }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dot, var(--ink-3)); }

/* ---------- header ---------- */
.top {
  position: relative; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 14px var(--gutter); padding-top: max(14px, env(safe-area-inset-top));
  max-width: calc(var(--max) + 0px); margin-inline: auto;
}
body:not(.is-home) .top { border-bottom: 1px solid var(--line); max-width: none; }
.brand img { height: 30px; width: auto; }
.proto-pill {
  display: none; font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; letter-spacing: .01em;
}
@media (min-width: 900px) { .proto-pill { display: inline-block; } }
.top-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.show-btn .short { display: none; }
@media (max-width: 560px) {
  .show-btn { padding: 0 14px; }
  .show-btn .long { display: none; }
  .show-btn .short { display: inline; }
}
.menu {
  position: absolute; right: var(--gutter); top: calc(100% - 4px); z-index: 30;
  min-width: 240px; padding: 8px; border-radius: var(--r-m); background: #fff;
  box-shadow: var(--shadow-2); border: 1px solid var(--line);
  display: grid;
}
.menu[hidden] { display: none; }
.menu a, .menu button {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: var(--r-s);
  text-decoration: none; font-weight: 700; border: 0; background: none; cursor: pointer; text-align: left;
}
.menu a:hover, .menu button:hover { background: var(--mist); }
.menu .present-on { border-top: 1px solid var(--line); border-radius: 0 0 var(--r-s) var(--r-s); margin-top: 4px; padding-top: 4px; }

/* ---------- home: the lit field ---------- */
body.is-home { background: #fff; }
.field {
  position: relative; isolation: isolate;
  margin-top: -76px; padding-top: 76px;
  min-height: 100svh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(130% 82% at 10% -6%, var(--lit-a) 0%, color-mix(in oklab, var(--lit-a) 62%, white) 38%, color-mix(in oklab, var(--lit-a) 18%, white) 66%, transparent 88%),
    radial-gradient(120% 90% at 102% 2%, var(--lit-b) 0%, color-mix(in oklab, var(--lit-b) 45%, white) 36%, transparent 72%),
    #fff;
  transition: --lit-a 1.4s var(--ease-out), --lit-b 1.8s var(--ease-out);
}
.field-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: 28px 32px; }
.ask { width: 100%; max-width: 880px; margin-inline: auto; }

.ask-box {
  position: relative; background: #fff; border-radius: var(--r-l);
  box-shadow: 0 2px 4px rgba(19,32,43,.05), 0 24px 60px -24px rgba(19,32,43,.5);
  padding: 22px 22px 16px;
  transition: box-shadow .3s;
}
.ask-box:focus-within { box-shadow: 0 0 0 3px var(--ink), 0 24px 60px -24px rgba(19,32,43,.5); }
.ask-text {
  position: relative;
  font-size: clamp(27px, 7.2vw, 52px); font-weight: 800; line-height: 1.12; letter-spacing: -.028em;
  min-height: calc(3 * 1.12em);
}
@media (min-width: 720px) { .ask-text { min-height: calc(2 * 1.12em); } .ask-box { padding: 30px 32px 20px; } }
.ask-text textarea {
  display: block; width: 100%; resize: none; overflow: hidden;
  border: 0; outline: 0; padding: 0; margin: 0; background: transparent;
  font: inherit; letter-spacing: inherit; line-height: inherit; color: var(--ink);
  min-height: inherit; field-sizing: content;
}
.ask-type {
  position: absolute; inset: 0; pointer-events: none; color: var(--ink);
}
.ask-type .ghost { color: var(--ink); }
.caret {
  display: inline-block; width: .08em; height: .92em; margin-left: .04em; vertical-align: -.1em;
  background: var(--t-people); border-radius: 2px; animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.ask-type.static .caret { display: none; }
.ask.typing-off .ask-type { display: none; }
.ask-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.ask-whisper { flex: 1; min-width: 0; font-size: 15px; line-height: 1.3; color: var(--ink-3); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ask-whisper b { color: var(--ink); }
.ask-go { flex: none; }
.ask-go .ic { transition: transform .25s var(--ease-out); }
.ask-go:hover .ic { transform: translateX(3px); }

/* bubbles: videos float up under the box while it types */
.bubbles {
  position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 14px;
  min-height: 168px; margin-top: 18px; padding-top: 6px;
}
@media (min-width: 720px) { .bubbles { gap: 30px; min-height: 206px; margin-top: 22px; } }
.bubble {
  flex: 0 1 112px; display: grid; justify-items: center; gap: 8px; text-decoration: none; color: inherit;
  animation: bubble-in .9s var(--ease-out) both; animation-delay: calc(var(--n) * 140ms);
}
@media (min-width: 720px) { .bubble { flex-basis: 150px; } }
.bubble .orb {
  position: relative; width: 96px; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--tsoft); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--tc), 0 14px 28px -12px rgba(19,32,43,.55);
  animation: bubble-float var(--float, 6s) ease-in-out infinite; animation-delay: calc(var(--n) * -1.3s);
  transition: transform .3s var(--ease-out);
}
@media (min-width: 720px) { .bubble .orb { width: 128px; } }
.bubble .orb img, .bubble .orb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.12); }
.bubble:hover .orb { transform: scale(1.05); }
.bubble .sub {
  max-width: 100%; text-align: center; font-size: 13px; line-height: 1.3; font-weight: 600; color: #fff;
  background: rgba(12,18,24,.8); padding: 3px 8px; border-radius: 6px;
}
.bubble .sub > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 720px) { .bubble .sub { font-size: 14px; } }
.bubble.leaving { position: absolute; top: 6px; pointer-events: none; animation: bubble-out .5s var(--ease-out) both; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(70px) scale(.55); } to { opacity: 1; transform: none; } }
@keyframes bubble-out { to { opacity: 0; transform: translateY(-40px) scale(.8); } }
@keyframes bubble-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.ask-hint { margin: 18px 4px 0; color: var(--ink-2); font-weight: 600; font-size: 16px; text-align: center; }
.examples { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.examples .lead { align-self: center; color: var(--ink-3); font-weight: 700; font-size: 15px; margin-right: 2px; }

/* tiles */
.tiles-wrap { padding-bottom: 28px; }
.tiles-title { font-size: 15px; font-weight: 700; color: var(--ink-2); margin: 0 0 10px; padding-inline: var(--gutter); max-width: var(--max); margin-inline: auto; }
.tiles {
  display: flex; gap: 12px; overflow-x: auto; padding: 4px var(--gutter) 10px;
  max-width: var(--max); margin-inline: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.tile {
  position: relative; flex: none; width: 150px; aspect-ratio: 4 / 5; border-radius: var(--r-m); overflow: hidden;
  background: var(--tc, var(--mist)); text-decoration: none; color: #fff; box-shadow: var(--shadow-1);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
@media (min-width: 720px) { .tile { width: 184px; } }
@media (min-width: 1100px) { .tiles { justify-content: center; } }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,18,24,.72), rgba(12,18,24,0) 55%); }
.tile span { position: absolute; left: 14px; bottom: 12px; right: 14px; z-index: 1; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }

/* ---------- inner pages ---------- */
.page { padding-block: 28px 64px; }
.page-head { display: grid; gap: 14px; margin-bottom: 28px; }
.page-head h1 { font-size: clamp(34px, 7vw, 64px); }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 62ch; }
.section { margin-top: 56px; }
.section-title { font-size: clamp(22px, 3vw, 28px); margin-bottom: 18px; }

/* compact search on inner pages */
.mini-ask { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); padding: 4px 4px 4px 18px; max-width: 640px; }
.mini-ask:focus-within { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.mini-ask input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-weight: 700; font-size: 18px; min-height: 44px; }
.mini-ask input::placeholder { color: var(--ink-3); font-weight: 600; }
.mini-ask .btn { min-height: 44px; }
.understood { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink-3); font-weight: 600; font-size: 15px; }
.understood .term { color: var(--ink); font-weight: 800; }
.understood .chip { min-height: 34px; padding: 0 12px; font-size: 14px; }

/* the answer */
.answer { display: grid; gap: 22px; margin-top: 26px; }
@media (min-width: 960px) { .answer { grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: 40px; align-items: start; } }
.stage {
  position: relative; border-radius: var(--r-l); overflow: hidden;
  background: var(--tsoft, var(--mist));
  display: grid; place-items: center;
}
.stage.vertical { padding: 18px; }
.stage video { width: 100%; height: auto; background: #000; }
.stage.vertical video { width: auto; height: min(56svh, 640px); aspect-ratio: 9 / 16; border-radius: var(--r-m); box-shadow: var(--shadow-2); }
.stage.horizontal video { aspect-ratio: 16 / 9; }
.facts { display: grid; gap: 18px; }
.facts .no { font-weight: 700; color: var(--ink-3); font-size: 15px; display: flex; gap: 10px; align-items: center; }
.facts .no .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tc); }
.facts h1, .facts h2 { font-size: clamp(28px, 4vw, 42px); }
.facts .summary { font-size: 18px; color: var(--ink-2); }
.facts dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; }
.facts dt { color: var(--ink-3); font-weight: 600; }
.facts dd { margin: 0; font-weight: 700; }
.facts .actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
@media (max-width: 959px) { .facts-door .actions { order: -1; padding-top: 0; } }

/* video cards */
.cards { display: grid; gap: 14px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.card { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; text-decoration: none; padding: 8px; margin: -8px; border-radius: var(--r-m); transition: background-color .2s; }
.card:hover { background: var(--mist); }
@media (min-width: 720px) { .card { grid-template-columns: 1fr; align-items: start; } }
.thumb { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-s); overflow: hidden; background: var(--tsoft, var(--mist)); }
@media (min-width: 720px) { .thumb { border-radius: var(--r-m); } }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.vertical img { object-fit: cover; object-position: 50% 28%; }
.thumb .dur { position: absolute; right: 8px; bottom: 8px; font-size: 12px; font-weight: 800; color: #fff; background: rgba(12,18,24,.72); padding: 3px 7px; border-radius: 6px; }
.card h3 { font-size: 18px; letter-spacing: -.01em; line-height: 1.2; }
.card .meta { font-size: 14px; color: var(--ink-3); font-weight: 600; margin-top: 4px; }

.nomatch {
  border-radius: var(--r-l); padding: 26px; margin-top: 26px;
  background: linear-gradient(120deg, var(--t-people-soft), var(--t-event-soft) 50%, var(--t-place-soft));
  display: grid; gap: 14px;
}
.nomatch h2 { font-size: clamp(26px, 4vw, 40px); }
.nomatch .ask-line { font-size: clamp(20px, 3vw, 26px); font-weight: 800; color: var(--ink-2); }
.nomatch .btn { justify-self: start; }

/* ---------- doors ---------- */
.doors { display: grid; gap: 12px; margin-top: 8px; }
@media (min-width: 860px) { .doors { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.door {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 30svh; border-radius: var(--r-l); padding: 22px; text-decoration: none; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  background: var(--tc);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
@media (min-width: 860px) { .door { min-height: 62svh; padding: 28px; } }
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.door video, .door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; mix-blend-mode: luminosity; transform: scale(1.35); }
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, color-mix(in oklab, var(--tdeep) 92%, black) 0%, color-mix(in oklab, var(--tc) 55%, transparent) 60%, transparent); }
.door h2 { font-size: clamp(32px, 4.4vw, 52px); }
.door p { font-size: 17px; font-weight: 600; max-width: 30ch; }
.door .go { position: absolute; right: 20px; top: 14px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform .3s var(--ease-out); }
.door:hover .go { transform: translateX(3px); }

.player-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.door-switch { display: flex; gap: 8px; overflow-x: auto; padding: 2px; margin: -2px; scrollbar-width: none; }
.door-switch::-webkit-scrollbar, .tiles::-webkit-scrollbar { display: none; }
@media (min-width: 960px) { .stage.vertical video { height: min(70svh, 640px); } }
.door-switch .chip[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.door-switch .chip[aria-current="true"] .dot { background: #fff; }
.next-btn { min-width: 150px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.3fr) minmax(300px, .9fr); gap: 56px; align-items: start; } }
.onetap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 960px) { .onetap { grid-template-columns: 1fr; order: 2; } }
.tap {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; border-radius: var(--r-m);
  text-decoration: none; background: var(--mist); min-height: 96px; transition: background-color .2s;
}
.tap:hover { background: #e7ecf1; }
.tap b { font-size: 17px; }
.tap span { font-size: 14px; color: var(--ink-3); font-weight: 600; overflow-wrap: anywhere; display: none; }
@media (min-width: 560px) { .tap span { display: block; } }
@media (min-width: 960px) { .tap { flex-direction: row; align-items: center; min-height: 72px; gap: 14px; } .tap div { display: grid; } }
.form { display: grid; gap: 16px; }
.field-row { display: grid; gap: 6px; }
.field-row label { font-weight: 700; font-size: 15px; }
.field-row input, .field-row textarea {
  width: 100%; border: 1.5px solid var(--line-2); border-radius: var(--r-s); padding: 13px 14px; background: #fff;
  font-weight: 600; font-size: 17px;
}
.field-row textarea { min-height: 140px; resize: vertical; line-height: 1.45; }
.field-row input:focus, .field-row textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.about-video { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: var(--r-m); background: var(--tsoft, var(--mist)); }
.about-video .thumb { aspect-ratio: 16 / 10; }
.about-video small { display: block; color: var(--ink-3); font-weight: 700; font-size: 13px; }
.about-video b { display: block; line-height: 1.25; }
.form-msg { padding: 14px 16px; border-radius: var(--r-s); font-weight: 700; }
.form-msg.ok { background: #e3f4ea; color: #145c33; }
.form-msg.err { background: #fde8e6; color: #8a2216; }
.form-msg small { display: block; font-weight: 600; margin-top: 4px; }

/* ---------- about ---------- */
.about-hero { padding-block: 24px 8px; }
.about-hero h1 { font-size: clamp(40px, 9vw, 96px); letter-spacing: -.035em; max-width: 12ch; }
.steps { display: grid; gap: 12px; }
@media (min-width: 860px) { .steps { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 14px; } }
.step { padding: 22px; border-radius: var(--r-l); background: var(--tsoft); display: grid; gap: 8px; align-content: start; }
.step h3 { font-size: 24px; color: var(--tdeep); }
.step p { color: var(--ink-2); }
.step-arrow { display: grid; place-items: center; color: var(--ink-3); }
@media (max-width: 859px) { .step-arrow { transform: rotate(90deg); height: 24px; } }
.motto { font-size: clamp(30px, 5.4vw, 60px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; padding-block: 8px; max-width: 18ch; }
.team { display: grid; gap: 18px 14px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
@media (min-width: 860px) { .team { grid-template-columns: repeat(3, minmax(0, 240px)); } }
.person { display: grid; gap: 10px; }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--r-l); background: var(--tsoft); display: grid; place-items: center; position: relative; overflow: hidden; }
.portrait b { font-size: clamp(44px, 9vw, 64px); color: var(--tdeep); letter-spacing: -.04em; }
.portrait small { position: absolute; bottom: 12px; left: 12px; right: 12px; text-align: center; font-weight: 700; font-size: 13px; color: var(--tdeep); }
.person h3 { font-size: 20px; letter-spacing: -.01em; }
.person p { color: var(--ink-3); font-weight: 600; }
.package { border-radius: var(--r-l); padding: 26px; background: var(--ink); color: #fff; display: grid; gap: 10px; }
.package h2 { font-size: clamp(24px, 3.4vw, 34px); }
.package p { color: #c9d3dc; max-width: 54ch; }
.package .btn { justify-self: start; margin-top: 6px; background: #fff; color: var(--ink); }

/* ---------- legal, library ---------- */
.prose { max-width: 70ch; display: grid; gap: 14px; }
.prose h2 { font-size: 24px; margin-top: 22px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.todo { background: #fff3c4; color: #5c4600; padding: 1px 6px; border-radius: 5px; font-weight: 700; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; color: var(--ink-3); font-weight: 700; background: var(--mist); position: sticky; top: 0; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td .tag { display: inline-block; padding: 2px 8px; margin: 0 4px 4px 0; border-radius: var(--r-pill); background: var(--mist); font-weight: 700; font-size: 12px; }
td.short { min-width: 260px; color: var(--ink-2); }
tr.is-hidden td { opacity: .55; }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; white-space: nowrap; }
.switch input { appearance: none; width: 40px; height: 24px; border-radius: 12px; background: var(--line-2); position: relative; cursor: pointer; transition: background-color .2s; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease-out); box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.switch input:checked { background: #1f8a4c; }
.switch input:checked::after { transform: translateX(16px); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: #fff; }
.foot-in { display: grid; gap: 22px; padding-block: 32px; }
@media (min-width: 860px) { .foot-in { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; } }
.foot img { height: 26px; width: auto; }
.foot p { color: var(--ink-3); font-weight: 600; font-size: 15px; }
.foot nav { display: grid; gap: 6px; font-weight: 700; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot .taps { display: flex; gap: 8px; flex-wrap: wrap; }
.foot small { display: block; color: var(--ink-3); font-weight: 600; font-size: 13px; margin-top: 8px; }

/* ---------- cookie note ---------- */
.cookie {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  max-width: 520px; margin-inline: auto; padding: 14px 14px 14px 18px; border-radius: var(--r-m);
  background: var(--ink); color: #fff; box-shadow: var(--shadow-2);
  display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600;
}
.cookie[hidden] { display: none; }
.cookie p { flex: 1; }
.cookie a { color: #fff; }
.cookie .btn { min-height: 40px; padding: 0 18px; background: #fff; color: var(--ink); }

/* ---------- present mode: stage for showing on a phone ---------- */
body.present { background: var(--stage); color: #fff; }
body.present .top, body.present .foot, body.present .cookie, body.present .skip { display: none !important; }
body.present.is-home { background: #fff; color: var(--ink); }
body.present .field { margin-top: 0; padding-top: 0; }
body.present #view { padding-bottom: 92px; }
body.present .page { padding-top: 12px; }
body.present .stage { background: #000; border-radius: 0; margin-inline: calc(var(--gutter) * -1); }
body.present .stage.vertical { padding: 0; }
body.present .stage.vertical video { height: calc(100svh - 120px); border-radius: 0; box-shadow: none; }
body.present .stage.horizontal video { max-height: calc(100svh - 120px); }
body.present .answer { margin-top: 0; grid-template-columns: 1fr; }
body.present .facts, body.present .section, body.present .page-head, body.present .mini-ask, body.present .understood, body.present .player-head .door-title { display: none; }
body.present .player-head { position: fixed; top: max(10px, env(safe-area-inset-top)); left: 10px; right: 10px; z-index: 5; margin: 0; display: flex; justify-content: center; }
body.present .player-head .chip { min-height: 36px; padding: 0 12px; font-size: 14px; }
body.present .player-head .door-switch .chip { background: rgba(12,18,24,.6); color: #fff; border-color: rgba(255,255,255,.25); }
body.present .player-head .door-switch .chip[aria-current="true"] { background: #fff; color: var(--ink); }
body.present .stage.vertical video { margin-top: 56px; height: calc(100svh - 176px); }
.present-bar {
  position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
  padding: 10px 12px max(10px, env(safe-area-inset-bottom));
  display: flex; gap: 8px; justify-content: center; align-items: center;
  background: rgba(12,18,24,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.present-bar[hidden] { display: none; }
.present-bar .btn { min-height: 52px; color: #fff; border-color: rgba(255,255,255,.22); background: transparent; }
.present-bar .btn-ink { background: #fff; color: var(--ink); }
.present-bar .btn-icon { background: transparent; width: 52px; }
body.present.is-home .present-bar { background: rgba(255,255,255,.94); }
body.present.is-home .present-bar .btn { color: var(--ink); border-color: var(--line-2); background: #fff; }
body.present.is-home .present-bar .btn-ink { background: var(--ink); color: #fff; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* temperature helpers */
.t-people { --tc: var(--t-people); --tsoft: var(--t-people-soft); --tdeep: var(--t-people-deep); }
.t-event  { --tc: var(--t-event);  --tsoft: var(--t-event-soft);  --tdeep: var(--t-event-deep); }
.t-place  { --tc: var(--t-place);  --tsoft: var(--t-place-soft);  --tdeep: var(--t-place-deep); }
