/* ExcuseMeet landing · tokens from cycles/01/02-design-spec.md (approved r2) */

/* Fonts: Fixel (MacPaw, OFL, see /assets/fonts/OFL.txt). Latin and Cyrillic subsets load on demand via unicode-range. */
@font-face { font-family: "Fixel Display"; font-weight: 700; font-display: swap; src: url(fonts/fixel-display-bold-latin.woff2) format("woff2"); unicode-range: U+0020-007E, U+00A0-00FF, U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0152-0153, U+0178-017C, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC, U+2193; }
@font-face { font-family: "Fixel Display"; font-weight: 700; font-display: swap; src: url(fonts/fixel-display-bold-cyr.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+2019, U+00AB, U+00BB, U+201C, U+201E, U+2116; }
@font-face { font-family: "Fixel Display"; font-weight: 800; font-display: swap; src: url(fonts/fixel-display-extrabold-latin.woff2) format("woff2"); unicode-range: U+0020-007E, U+00A0-00FF, U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0152-0153, U+0178-017C, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC, U+2193; }
@font-face { font-family: "Fixel Display"; font-weight: 800; font-display: swap; src: url(fonts/fixel-display-extrabold-cyr.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+2019, U+00AB, U+00BB, U+201C, U+201E, U+2116; }
@font-face { font-family: "Fixel Text"; font-weight: 400; font-display: swap; src: url(fonts/fixel-text-regular-latin.woff2) format("woff2"); unicode-range: U+0020-007E, U+00A0-00FF, U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0152-0153, U+0178-017C, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC, U+2193; }
@font-face { font-family: "Fixel Text"; font-weight: 400; font-display: swap; src: url(fonts/fixel-text-regular-cyr.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+2019, U+00AB, U+00BB, U+201C, U+201E, U+2116; }
@font-face { font-family: "Fixel Text"; font-weight: 600; font-display: swap; src: url(fonts/fixel-text-semibold-latin.woff2) format("woff2"); unicode-range: U+0020-007E, U+00A0-00FF, U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0152-0153, U+0178-017C, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC, U+2193; }
@font-face { font-family: "Fixel Text"; font-weight: 600; font-display: swap; src: url(fonts/fixel-text-semibold-cyr.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+2019, U+00AB, U+00BB, U+201C, U+201E, U+2116; }
/* Metric-adjusted fallback to limit layout shift while Fixel loads */
@font-face { font-family: "Fixel Fallback"; src: local("Arial"), local("Roboto"), local("Helvetica Neue"), local("Liberation Sans"); size-adjust: 104%; ascent-override: 88%; descent-override: 19%; line-gap-override: 0%; }

:root {
  --ink: #1D2B6B;
  --limewash: #E8EDF1;
  --paper: #FFFDF7;
  --naranja: #F7A23B;
  --naranja-deep: #E8891A;
  --turia: #2F6B4F;
  --alarm: #B3261E;
  --placeholder: #5A6488;
  --dashed-rule: rgba(29, 43, 107, .38);
  --dashed-soft: rgba(29, 43, 107, .24);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --gutter: 20px;
  --font-display: "Fixel Display", "Fixel Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-text: "Fixel Text", "Fixel Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow-notice: 0 1px 0 rgba(29, 43, 107, .08), 0 10px 20px -12px rgba(29, 43, 107, .40);
  --consent-h: 0px;
  /* type scale: mobile (360) → desktop (1440) */
  --fs-display: clamp(48px, 31.33px + 4.63vw, 96px);
  --fs-h1: clamp(30px, 20px + 2.3vw, 52px);
  --lh-h1: clamp(34px, 24px + 2.4vw, 58px);
  --fs-h2: clamp(28px, 24px + 1.11vw, 40px);
  --fs-h3: clamp(19px, 18.33px + .19vw, 21px);
  --fs-lead: clamp(18px, 16.67px + .37vw, 22px);
  --fs-body: clamp(17px, 16.67px + .09vw, 18px);
  --fs-small: 15px;
  /* tactile motion tokens */
  --dur-press: 80ms;
  --dur-micro: 150ms;
  --dur-stamp: 220ms;
  --dur-paper: 280ms;
  --dur-draw: 360ms;
  --dur-hl: 420ms;
  --ease-paper-settle: cubic-bezier(.2, .85, .25, 1);
  --ease-ink-snap: cubic-bezier(.22, 1.24, .36, 1);
  --ease-tape-press: cubic-bezier(.18, .9, .3, 1);
  --ease-stroke: cubic-bezier(.25, .8, .25, 1);
  --stagger-step: 45ms;
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-press: .01ms; --dur-micro: .01ms; --dur-stamp: .01ms; --dur-paper: .01ms; --dur-draw: .01ms; --dur-hl: .01ms;
    --stagger-step: 0ms;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-bottom: var(--consent-h); scroll-padding-top: var(--s4); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--limewash); color: var(--ink);
  font-family: var(--font-text); font-size: var(--fs-body); line-height: 1.55;
  padding-bottom: var(--consent-h);
  -webkit-font-smoothing: antialiased;
}
[lang="uk"] { hyphens: auto; }
h1, h2, h3, h4, .notice__title, .btn, .chip, .tab, .lead, .kicker, .display, .ask__prompt, .ask__done, .note__text, .name-line, .examples-label, legend, label, .cta-link, .ed-category-badge, .ed-title, .ed-eyebrow, .ed-info-chip, .ed-peek-tag, .ed-attendee-name, .ed-host-name, .ed-trust-pill { hyphens: manual; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (hover: hover) { a:hover { text-decoration-thickness: 2px; } }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.small { font-size: var(--fs-small); line-height: 22px; }

.skip-link { position: absolute; left: var(--s4); top: -100px; background: var(--paper); padding: var(--s3) var(--s4); border: 2px solid var(--ink); border-radius: 10px; z-index: 30; font-weight: 600; }
.skip-link:focus { top: var(--s2); }

/* ---------- header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  min-height: 56px; padding: var(--s2) var(--gutter); max-width: 1200px; margin: 0 auto;
}
.lockup { display: flex; align-items: center; gap: 8px; line-height: 1.1; text-decoration: none; min-width: 0; }
.tile-logo { width: 28px; height: 28px; border-radius: 4px; flex-shrink: 0; }
.lockup__text { display: flex; flex-direction: column; }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.lockup__sep { display: none; }
.lockup__desc { font-size: 14px; line-height: 18px; font-weight: 400; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--s2);
  font-size: var(--fs-small); font-weight: 600; flex-shrink: 0; white-space: nowrap;
}
.lang-switch--pill {
  background: rgba(247, 162, 59, .24); border: 2px solid var(--ink); border-radius: 999px; padding: 0 var(--s4);
  text-decoration: none; min-width: auto;
}
@media (hover: hover) { .lang-switch--pill:hover { background: var(--naranja); } }

/* ---------- sections ---------- */
main { display: block; }
main:focus { outline: none; }
.section, .section--hero { padding: var(--s8) var(--gutter); max-width: 1200px; margin: 0 auto; }
.section--hero { padding-top: var(--s5); }
h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); line-height: 1.14; letter-spacing: -.005em; margin-bottom: var(--s4); }
h3, h4 { font-weight: 600; font-size: var(--fs-h3); line-height: 1.26; }
.prose { max-width: 62ch; }
.prose p + p, .trust p + p { margin-top: var(--s4); }
.prose .name-line { margin-top: var(--s3); }

/* ---------- hero ---------- */
.kicker { color: var(--turia); font-weight: 600; font-size: var(--fs-small); line-height: 22px; margin-bottom: var(--s4); }
h1 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: -.01em; }
.lead { font-size: clamp(16.5px, 15.5px + .38vw, 21px); line-height: 1.48; max-width: 38ch; margin-top: var(--s5); }
.lead__s { display: block; }
.lead__s + .lead__s { margin-top: 2px; }
.hero__text .btn--primary { margin-top: var(--s5); }
.hero__text .small { margin-top: var(--s3); max-width: 46ch; }
.hero__notices { margin-top: var(--s7); }

/* Examples caption: plain caption above the notices (web-designer, Stage 4 provisional; replaces the tilted stamp) */
.examples-label { font-size: var(--fs-small); line-height: 22px; font-weight: 600; margin-bottom: var(--s4); }

/* ---------- notice (signature component) with torn paper edge and grain ---------- */
.notice {
  position: relative;
  background-color: var(--paper);
  background-image: url('img/paper-grain.svg');
  background-repeat: repeat;
  background-size: 96px 96px;
  border-radius: 2px;
  box-shadow: var(--shadow-notice);
  color: var(--ink);
}
.tape { position: absolute; top: -10px; left: 50%; width: 76px; height: 22px; margin-left: -38px; background: rgba(247, 162, 59, .7); transform: rotate(-3deg); }
.badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); color: var(--ink); }
.badge .icon { width: 24px; height: 24px; }
.notice__title { font-weight: 600; font-size: var(--fs-h3); line-height: 1.26; }
.tabs { display: flex; flex-wrap: wrap; border-top: 2px dashed rgba(29, 43, 107, .45); margin-top: var(--s3); }
.tab { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s3); font-size: var(--fs-small); font-weight: 600; }
.tab + .tab { border-left: 1.5px dashed var(--ink); }

.notice--illustrated {
  position: relative;
  border: 1.5px solid rgba(29, 43, 107, .20);
  border-radius: 10px;
}

.pinned { list-style: none; margin: 0; padding: 0; }
.notice--illustrated { width: 88%; max-width: 360px; padding: var(--s3); }
.notice--illustrated + .notice--illustrated { margin-top: var(--s2); }
.notice--illustrated:nth-child(1) { transform: rotate(-2deg); }
.notice--illustrated:nth-child(2) { transform: rotate(1.5deg); margin-left: auto; }
.notice--illustrated:nth-child(3) { transform: rotate(-.5deg); margin-left: 12px; }
.notice__art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: var(--limewash); border: 1px solid rgba(29, 43, 107, .12); }
.notice__art img { width: 100%; height: 100%; object-fit: cover; }
.notice__art .badge { position: absolute; top: var(--s2); left: var(--s2); }
.notice--illustrated .notice__title { padding: var(--s3) var(--s1) 0; }
.notice--illustrated .notice__more { margin-top: 4px; padding: 0 var(--s1); font-weight: 600; }
.notice__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--s3);
  padding: 10px var(--s1) 2px;
  border-top: 1px solid rgba(29, 43, 107, .14);
}
.notice-lang {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

@media (prefers-reduced-motion: no-preference) {
  .notice--illustrated { animation: em-paper-pin var(--dur-paper) var(--ease-paper-settle) both; }
  .notice--illustrated:nth-child(1) { animation-name: em-paper-pin-lcp; }
  .notice--illustrated:nth-child(2) { animation-delay: 60ms; }
  .notice--illustrated:nth-child(3) { animation-delay: 120ms; }
  .notice--illustrated .tape { transform-origin: center top; animation: em-tape-press 160ms var(--ease-tape-press) 50ms both; }
  .notice--illustrated:nth-child(2) .tape { animation-delay: 110ms; }
  .notice--illustrated:nth-child(3) .tape { animation-delay: 170ms; }
  @keyframes em-paper-pin-lcp { from { opacity: .01; translate: 0 -8px; scale: 1.015; } to { opacity: 1; translate: 0 0; scale: 1; } }
  @keyframes em-paper-pin { from { opacity: 0; translate: 0 -8px; scale: 1.015; } to { opacity: 1; translate: 0 0; scale: 1; } }
  @keyframes em-tape-press { from { opacity: 0; translate: 0 -4px; scale: 1.04 .88; } to { opacity: 1; translate: 0 0; scale: 1 1; } }
}

.list-title { margin-top: 0; margin-bottom: 0; }

/* ---------- Unified Expandable Event Swipe-Deck (#event-deck) ---------- */
.event-deck {
  position: relative;
  margin-top: var(--s6);
  --deck-gap: 14px;
  --deck-gutter: 0px;
  --slot-w: min(720px, calc(100% - 2 * var(--deck-gutter)));
  --track-x: calc((100% - var(--slot-w)) / 2);
  --drag-x: 0px;
}
@media (min-width: 600px) { .event-deck { --deck-gutter: 6px; margin-top: var(--s7); } }
@media (min-width: 840px) { .event-deck { --deck-gap: 24px; } }
.deck-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: var(--s4);
}
.deck-head__text { flex: 1 1 200px; min-width: 0; }
.deck-controls {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}
.deck-nav-group { display: inline-flex; align-items: center; gap: 8px; }
.deck-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(29, 43, 107, .35);
  background: var(--paper);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur-micro) ease, border-color var(--dur-micro) ease, opacity var(--dur-micro) ease, scale var(--dur-press) ease;
}
@media (min-width: 600px) { .deck-nav { width: 40px; height: 40px; } }
.deck-nav[disabled] { opacity: .35; cursor: default; }
.deck-counter {
  font-size: 13.5px;
  font-weight: 600;
  min-width: 4ch;
  text-align: center;
  color: var(--placeholder);
  font-variant-numeric: tabular-nums;
}
@media (hover: hover) {
  .deck-nav:not([disabled]):hover { background: var(--naranja); border-color: var(--ink); }
}

/* Collapsed Horizontal Browse Track (all viewports) */
.event-deck[data-deck-mode="collapsed"] .deck-viewport { overflow: visible; }
.event-deck[data-deck-mode="collapsed"] .deck-track {
  list-style: none;
  margin: 0 calc(-1 * var(--gutter));
  padding: 6px var(--gutter) 14px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82%, 310px);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 600px) {
  .event-deck[data-deck-mode="collapsed"] .deck-track {
    margin: 0;
    padding: 6px 4px 16px;
    grid-auto-columns: 308px;
    gap: 16px;
  }
}
@media (min-width: 960px) {
  .event-deck[data-deck-mode="collapsed"] .deck-track {
    grid-auto-columns: 332px;
  }
}
.event-deck[data-deck-mode="collapsed"] .deck-track::-webkit-scrollbar { display: none; }
.event-deck[data-deck-mode="collapsed"] .deck-track.is-collapsing-track { overflow: visible; }
.event-deck[data-deck-mode="collapsed"] .deck-item { scroll-snap-align: start; position: relative; }

/* Expanded Swipe Stage (single active center card + peeking neighbors) */
.event-deck[data-deck-mode="expanded"] .deck-viewport {
  position: relative;
  overflow: clip;
  touch-action: pan-y;
  padding: 8px var(--deck-gutter) 20px;
  margin: -8px calc(-1 * var(--deck-gutter)) 0;
  transition: height 260ms var(--ease-paper-settle);
}
@media (min-width: 960px) {
  .event-deck[data-deck-mode="expanded"] .deck-viewport {
    mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
  }
}
.event-deck[data-deck-mode="expanded"] .deck-viewport.is-dragging { transition: none; }
.event-deck[data-deck-mode="expanded"] .deck-track {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: var(--deck-gap);
  transform: translate3d(calc(var(--track-x) + var(--drag-x)), 0, 0);
  transition: transform 300ms var(--ease-paper-settle);
  will-change: transform;
}
.event-deck[data-deck-mode="expanded"] .deck-track.is-instant,
.event-deck[data-deck-mode="expanded"] .deck-track.is-dragging { transition: none; }
.event-deck[data-deck-mode="expanded"] .deck-item {
  flex: 0 0 var(--slot-w);
  width: var(--slot-w);
  position: relative;
}
.event-deck[data-deck-mode="expanded"] .deck-item:not(.is-active) {
  height: 0;
  overflow: visible;
}

.deck-card {
  position: relative;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
  background-image: url('img/paper-grain.svg');
  background-repeat: repeat;
  background-size: 96px 96px;
  border: 1.5px solid rgba(29, 43, 107, .22);
  border-radius: 10px;
  box-shadow: var(--shadow-notice);
  overflow: hidden;
}
.event-deck[data-deck-mode="collapsed"] .deck-card { height: 100%; }
.event-deck[data-deck-mode="expanded"] .deck-card { height: auto; }
.event-deck[data-deck-mode="collapsed"] .deck-item.is-active .deck-card {
  border-color: rgba(29, 43, 107, .48);
}
.event-deck[data-deck-mode="expanded"] .deck-item.is-active .deck-card {
  border-color: var(--ink);
  border-radius: 12px;
}
.event-deck[data-deck-mode="expanded"] .deck-item:not(.is-active) .deck-card {
  opacity: .42;
  filter: saturate(.72);
  scale: .96;
  transition: opacity 220ms ease, filter 220ms ease, scale 220ms var(--ease-paper-settle);
}
.event-deck[data-deck-mode="expanded"] .deck-item:not(.is-active) .ed-close,
.event-deck[data-deck-mode="expanded"] .deck-item:not(.is-active) .deck-foot-nav {
  visibility: hidden;
}
.deck-peek-hit {
  position: absolute;
  inset: 0;
  z-index: 5;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 12px;
}
.deck-peek-hit:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.ed-title:focus:not(:focus-visible) { outline: none; }
@media (hover: hover) {
  .event-deck[data-deck-mode="expanded"] .deck-item:not(.is-active):hover .deck-card {
    opacity: .78;
    filter: none;
    scale: .975;
    border-color: var(--ink);
  }
}

.deck-item:nth-child(1) { --pin-i: 0; }
.deck-item:nth-child(2) { --pin-i: 1; }
.deck-item:nth-child(3) { --pin-i: 2; }
.deck-item:nth-child(4) { --pin-i: 3; }
.deck-item:nth-child(5) { --pin-i: 4; }
@media (prefers-reduced-motion: no-preference) {
  .event-deck[data-deck-mode="collapsed"] .deck-card {
    transition: translate var(--dur-micro) var(--ease-paper-settle), box-shadow var(--dur-micro) ease, border-color var(--dur-micro) ease;
  }
  .event-deck[data-deck-mode="collapsed"] .deck-card:active { translate: 0 1px; }
  html.has-motion [data-pin-reveal] { opacity: 0; translate: 0 10px; }
  html.has-motion [data-pin-reveal].is-in {
    animation: em-board-pin var(--dur-paper) var(--ease-paper-settle) calc(var(--pin-i, 0) * var(--stagger-step)) both;
  }
  html.has-motion .event-deck[data-pin-reveal] { opacity: 1; translate: none; animation: none; }
  html.has-motion .event-deck[data-pin-reveal] .deck-item { opacity: 0; translate: 0 10px; }
  html.has-motion .event-deck[data-pin-reveal].is-in .deck-item {
    animation: em-board-pin var(--dur-paper) var(--ease-paper-settle) calc(var(--pin-i, 0) * var(--stagger-step)) both;
  }
  @keyframes em-board-pin { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .event-deck[data-deck-mode="collapsed"] .deck-card:hover {
    translate: 0 -3px;
    border-color: var(--ink);
    box-shadow: 0 10px 22px -10px rgba(29, 43, 107, .24);
  }
  .event-deck[data-deck-mode="collapsed"] .deck-card:hover .stand-card__cta { background: rgba(247, 162, 59, .20); }
  .event-deck[data-deck-mode="collapsed"] .deck-card:hover .stand-card__cta-arrow { translate: 0 2px; }
}

.stand-card__trigger {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
.stand-card__trigger:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: -3px;
  border-radius: 10px;
}
@supports selector(:has(*)) {
  .stand-card__trigger:focus-visible { outline: none; }
  .deck-card:has(.stand-card__trigger:focus-visible) {
    outline: 3px solid var(--ink);
    outline-offset: 2px;
  }
}
.stand-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 16px 0;
}
.stand-card__emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(29, 43, 107, .14);
  background: rgba(29, 43, 107, .06);
  color: var(--ink);
  flex: none;
}
.stand-card__emblem .icon { width: 20px; height: 20px; }
.stand-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(29, 43, 107, .22);
  background: rgba(29, 43, 107, .04);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}
.deck-item[data-tone="free"] .stand-card__emblem {
  background: rgba(47, 107, 79, .10);
  border-color: rgba(47, 107, 79, .28);
  color: var(--turia);
}
.deck-item[data-tone="free"] .stand-card__tag {
  background: rgba(47, 107, 79, .08);
  border-color: rgba(47, 107, 79, .38);
  color: var(--turia);
}
.deck-item[data-tone="full"] .stand-card__emblem {
  background: rgba(247, 162, 59, .20);
  border-color: rgba(29, 43, 107, .22);
}
.deck-item[data-tone="full"] .stand-card__tag {
  background: rgba(247, 162, 59, .22);
  border-color: rgba(29, 43, 107, .34);
}
.deck-item[data-tone="invited"] .stand-card__emblem {
  background: rgba(247, 162, 59, .14);
  border-style: dashed;
  border-color: rgba(29, 43, 107, .48);
}
.deck-item[data-tone="invited"] .stand-card__tag {
  background: rgba(247, 162, 59, .14);
  border-style: dashed;
  border-color: rgba(29, 43, 107, .45);
}
.stand-card__head {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 16px;
}
.stand-card__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17.5px, 16.5px + .15vw, 19px);
  line-height: 1.2;
  color: var(--ink);
}
.stand-card__when {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--placeholder);
  line-height: 1.25;
}
.stand-card__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px;
}
.stand-lang {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}
.stand-card__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  padding: 0 16px 2px;
  font-size: 13.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
}
.stand-fact__sep { color: var(--placeholder); font-weight: 400; }
.stand-fact__cost.is-free { color: var(--turia); }
.stand-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 10px 16px;
  border-top: 1px solid rgba(29, 43, 107, .12);
  background: rgba(232, 237, 241, .42);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: background-color 140ms ease, color 140ms ease;
}
.stand-card__cta-main {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.stand-card__cta-arrow {
  display: inline-block;
  transition: transform 160ms var(--ease-paper-settle), translate 160ms var(--ease-paper-settle);
}
.stand-card__pulse {
  display: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--naranja-deep);
  flex: none;
}
.deck-board--untouched .deck-item.is-active .stand-card__pulse { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .deck-board--untouched .deck-item.is-active .stand-card__pulse {
    animation: em-nudge-pulse 2.4s ease-out infinite;
  }
  @keyframes em-nudge-pulse {
    0% { box-shadow: 0 0 0 0 rgba(232, 137, 26, .55); }
    65% { box-shadow: 0 0 0 7px rgba(232, 137, 26, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 137, 26, 0); }
  }
}

/* Full Layer + Envelope FLIP Morph States */
.deck-card.is-morphing { overflow: hidden; }
.deck-card.is-morph-active {
  transition: width 280ms var(--ease-paper-settle),
              height 280ms var(--ease-paper-settle),
              transform 280ms var(--ease-paper-settle),
              border-radius 280ms var(--ease-paper-settle);
}
.deck-card.is-collapsing {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  overflow: hidden;
}
.deck-card.is-collapse-active {
  transition: width 250ms var(--ease-paper-settle),
              height 250ms var(--ease-paper-settle),
              transform 250ms var(--ease-paper-settle),
              border-radius 250ms var(--ease-paper-settle);
}
.deck-card.is-morphing .deck-card__compact {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  transition: opacity 90ms ease-out;
}
.deck-card.is-morph-active .deck-card__compact { opacity: 0; }
.deck-card__full {
  --ed-pad-x: 16px;
  width: var(--slot-w);
  margin-inline: auto;
  padding: 18px var(--ed-pad-x) 16px;
  color: var(--ink);
}
.deck-card.is-morphing .deck-card__full {
  opacity: 0;
  translate: 0 8px;
  transition: opacity 200ms var(--ease-paper-settle) 85ms,
              translate 200ms var(--ease-paper-settle) 85ms;
}
.deck-card.is-morph-active .deck-card__full { opacity: 1; translate: 0 0; }
.deck-card.is-collapsing .deck-card__full {
  opacity: 1;
  transition: opacity 90ms ease-out;
}
.deck-card.is-collapse-active .deck-card__full { opacity: 0; }
.deck-card.is-collapsing .deck-card__compact {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease-out 75ms;
}
.deck-card.is-collapse-active .deck-card__compact { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  .deck-card.is-morph-active .ed-art,
  .deck-card.is-morph-active .ed-title { animation: em-deck-rise 220ms var(--ease-paper-settle) 70ms both; }
  .deck-card.is-morph-active .ed-meta,
  .deck-card.is-morph-active .ed-note,
  .deck-card.is-morph-active .ed-logistics { animation: em-deck-rise 220ms var(--ease-paper-settle) 115ms both; }
  .deck-card.is-morph-active .ed-perforated { animation: em-deck-rise 220ms var(--ease-paper-settle) 155ms both; }
  .deck-card.is-morph-active .ed-chat-bubble,
  .deck-item.is-arrived .ed-chat-bubble { animation: em-chat-slip 220ms var(--ease-paper-settle) both; }
  .deck-card.is-morph-active .ed-chat-bubble:nth-child(1),
  .deck-item.is-arrived .ed-chat-bubble:nth-child(1) { animation-delay: 180ms; }
  .deck-card.is-morph-active .ed-chat-bubble:nth-child(2),
  .deck-item.is-arrived .ed-chat-bubble:nth-child(2) { animation-delay: 250ms; }
  .deck-item.is-arrived .ed-spillover-banner {
    transform-origin: top center;
    animation: em-spillover-unfold 260ms var(--ease-paper-settle) 90ms both;
  }
  .deck-item.is-returned .deck-card { animation: em-return-ring 380ms var(--ease-paper-settle); }
  @keyframes em-deck-rise { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
  @keyframes em-return-ring {
    0%   { box-shadow: 0 0 0 2.5px var(--ink), var(--shadow-notice); }
    100% { box-shadow: var(--shadow-notice); }
  }
}

/* Bottom Card Nav inside expanded layer + Pagination Dots */
.deck-foot-nav {
  margin: 14px calc(-1 * var(--ed-pad-x)) 0;
  padding: 12px var(--ed-pad-x) 2px;
  border-top: 1px solid rgba(29, 43, 107, .14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.deck-foot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(29, 43, 107, .16);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 140ms ease, border-color 140ms ease, opacity 140ms ease;
}
.deck-foot-btn--collapse { background: var(--limewash); border-color: rgba(29, 43, 107, .24); }
.deck-foot-btn[disabled] { opacity: .35; cursor: default; }
@media (hover: hover) {
  .deck-foot-btn:not([disabled]):hover { border-color: var(--ink); background: var(--naranja); }
  .deck-foot-btn--collapse:hover { background: var(--paper); border-color: var(--ink); }
}

.deck-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-top: var(--s2);
}
.deck-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}
.deck-dot__pill {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(29, 43, 107, .24);
  transition: width 200ms var(--ease-paper-settle), background-color 160ms ease;
}
.deck-dot.is-active .deck-dot__pill {
  width: 24px;
  background: var(--ink);
}
.deck-dot:focus-visible { outline: 2.5px solid var(--ink); outline-offset: -2px; border-radius: 999px; }

/* ---------- how it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s6); position: relative; }
.step { display: grid; grid-template-columns: 44px 1fr; align-items: start; gap: var(--s4); position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: calc(-1 * var(--s6) + 8px); border-left: 2px dashed #163269; opacity: .45; }
.step__tile { position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 4px; box-shadow: 0 2px 4px rgba(22, 50, 105, .18); }
.step__tile img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.step__num-label { position: relative; font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1; color: #163269; }
.step h3 { margin: 6px 0 var(--s2); }
.step p { max-width: 32ch; }
@media (prefers-reduced-motion: no-preference) {
  html.has-motion .steps.is-in .step__tile { animation: em-tile-settle var(--dur-stamp) var(--ease-paper-settle) both; }
  html.has-motion .steps.is-in .step:nth-child(2) .step__tile { animation-delay: 140ms; }
  html.has-motion .steps.is-in .step:nth-child(3) .step__tile { animation-delay: 280ms; }
  @media (min-width: 960px) {
    html.has-motion .step:not(:last-child)::before {
      content: ""; position: absolute; z-index: 1; pointer-events: none; background: var(--limewash);
      left: 54px; right: calc(-1 * var(--s6) + 4px); top: 20px; bottom: auto; width: auto; height: 6px;
      transform-origin: right center; transform: scaleX(1);
    }
    html.has-motion .steps.is-in .step:not(:last-child)::before { animation: em-dash-uncover-x var(--dur-draw) var(--ease-stroke) both; }
    html.has-motion .steps.is-in .step:nth-child(1)::before { animation-delay: 90ms; }
    html.has-motion .steps.is-in .step:nth-child(2)::before { animation-delay: 240ms; }
  }
  @keyframes em-tile-settle { from { scale: .94; } to { scale: 1; } }
  @keyframes em-dash-uncover-x { from { transform: scaleX(1); } to { transform: scaleX(0); } }
}
@media (forced-colors: active) { .step:not(:last-child)::before { display: none !important; } }

/* ---------- Valencian Ceramic Tile Plaque (Trust Section) ---------- */
.trust-cost {
  display: grid;
  gap: var(--s7);
  justify-items: center;
  perspective: 1100px;
}
.ceramic-plaque {
  --glaze-x: 34%;
  --glaze-y: 26%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  background-color: #FCFAF5;
  background-image: url('img/paper-grain.svg');
  background-repeat: repeat;
  background-size: 96px 96px;
  border-radius: 7px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -3px 10px rgba(22, 50, 105, .05),
    0 18px 36px -14px rgba(22, 50, 105, .20),
    0 3px 8px rgba(22, 50, 105, .08);
  padding: clamp(26px, 5vw, 42px) clamp(20px, 4.5vw, 38px) clamp(26px, 5vw, 36px);
  text-align: center;
  max-width: 66ch;
  width: 100%;
  overflow: hidden;
  transform: rotate(-.35deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transform-style: preserve-3d;
  transition: box-shadow 240ms ease;
}
.plaque__glaze {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(
    420px circle at var(--glaze-x) var(--glaze-y),
    rgba(255, 255, 255, .62) 0%,
    rgba(255, 248, 224, .22) 38%,
    rgba(255, 255, 255, 0) 70%
  );
}
.plaque__sunlight {
  position: absolute;
  inset: -35%;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 52% 36% at 32% 36%, rgba(244, 185, 37, .14) 0%, rgba(244, 185, 37, 0) 72%),
    radial-gradient(ellipse 40% 28% at 68% 58%, rgba(247, 162, 59, .10) 0%, rgba(247, 162, 59, 0) 70%);
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: no-preference) {
  .ceramic-plaque[data-reduced="false"] .plaque__sunlight {
    animation: em-sun-drift 13s ease-in-out infinite alternate;
  }
  .ceramic-plaque[data-reduced="false"].is-blooming .ink-draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: em-ink-draw 780ms cubic-bezier(.22, .8, .28, 1) forwards;
  }
  .ceramic-plaque[data-reduced="false"].is-blooming .plaque__inscription {
    animation: em-caption-fade 520ms ease-out 560ms both;
  }
}
@keyframes em-sun-drift {
  0% { transform: translate3d(-4%, -2%, 0) scale(1); opacity: .85; }
  50% { transform: translate3d(3%, 2.5%, 0) scale(1.04); opacity: 1; }
  100% { transform: translate3d(6%, -1%, 0) scale(1.01); opacity: .9; }
}
@keyframes em-ink-draw { to { stroke-dashoffset: 0; } }
@keyframes em-caption-fade { from { opacity: 0; translate: 0 3px; } to { opacity: 1; translate: 0 0; } }
.plaque__frame-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}
.plaque__corner {
  position: absolute;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 3;
}
.plaque__corner--tl { top: 11px; left: 11px; }
.plaque__corner--tr { top: 11px; right: 11px; transform: scaleX(-1); }
.plaque__corner--bl { bottom: 11px; left: 11px; transform: scaleY(-1); }
.plaque__corner--br { bottom: 11px; right: 11px; transform: scale(-1); }
.plaque__ornament {
  position: relative;
  z-index: 4;
  margin: 0 auto var(--s3);
  display: flex;
  justify-content: center;
}
#branch-svg {
  width: min(100%, 360px);
  height: auto;
  overflow: visible;
  display: block;
}
.botanical-node { will-change: transform, opacity; }
.plaque__copy {
  position: relative;
  z-index: 4;
}
.ceramic-plaque h2 {
  color: #163269;
  margin-bottom: var(--s3);
}
.ceramic-plaque p {
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}
.ceramic-plaque .cta-link {
  margin-top: var(--s4);
}
.ceramic-plaque[data-reduced="true"] { transform: rotate(-.35deg) !important; }
.ceramic-plaque[data-reduced="true"] .plaque__sunlight,
.ceramic-plaque[data-reduced="true"] .ink-draw,
.ceramic-plaque[data-reduced="true"] .plaque__inscription {
  animation: none !important;
  opacity: 1 !important;
  stroke-dashoffset: 0 !important;
}

/* ---------- Compact FAQ Accordion ---------- */
.faq h2,
.faq__list { max-width: 760px; margin-inline: auto; }
.faq__list {
  width: 100%;
  background-color: var(--paper);
  background-image: url('img/paper-grain.svg');
  background-repeat: repeat;
  background-size: 96px 96px;
  border: 1.5px solid rgba(29, 43, 107, .20);
  border-radius: 10px;
  box-shadow: var(--shadow-notice);
  overflow: hidden;
}
.faq-item + .faq-item {
  border-top: 1px solid rgba(29, 43, 107, .14);
}
.faq-item__q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 56px;
  padding: 15px 20px;
  font-weight: 600;
  font-size: clamp(16.5px, 16px + .15vw, 18px);
  line-height: 1.32;
  color: var(--ink);
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur-micro) ease;
}
.faq-item__q::-webkit-details-marker { display: none; }
@media (hover: hover) {
  .faq-item__q:hover { background: rgba(232, 237, 241, .50); }
}
.faq-item__q:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.faq-item__icon {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(29, 43, 107, .32);
  background: var(--paper);
  transition: background-color var(--dur-micro) ease, border-color var(--dur-micro) ease;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.75px;
  border-radius: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 200ms var(--ease-paper-settle), opacity 160ms ease;
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] {
  background: rgba(247, 162, 59, .05);
  box-shadow: inset 3px 0 0 var(--naranja);
}
.faq-item[open] .faq-item__icon {
  border-color: var(--ink);
  background: rgba(247, 162, 59, .24);
}
.faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}
.faq-item__a {
  padding: 0 20px 18px;
  max-width: 64ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-item__a {
    animation: em-faq-open 180ms var(--ease-paper-settle) both;
  }
  @keyframes em-faq-open { from { opacity: 0; translate: 0 -4px; } to { opacity: 1; translate: 0 0; } }
}

/* ---------- join band + form ---------- */
.join { background: var(--ink); color: var(--paper); max-width: none; padding-left: var(--s4); padding-right: var(--s4); }
.join :focus-visible { outline-color: var(--naranja); }
.join .panel :focus-visible { outline-color: var(--ink); }
.join__intro { padding: 0 var(--s1); max-width: 1200px; }
.display { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-display); line-height: 1.04; letter-spacing: -.02em; margin-bottom: var(--s4); }
.display:focus:not(:focus-visible) { outline: none; }
.join__intro p { max-width: 40ch; }
.panel { background: var(--paper); color: var(--ink); border-radius: 16px; padding: var(--s5) 20px; margin-top: var(--s6); }

.form { display: grid; gap: var(--s5); }
.field { display: grid; gap: var(--s2); min-width: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .field > label { font-weight: 600; font-size: var(--fs-small); line-height: 20px; padding: 0; }
legend { margin-bottom: var(--s2); }
.help { margin-top: calc(-1 * var(--s1)); }
input[type="email"], input[type="text"] {
  width: 100%; height: 52px; padding: 0 var(--s4); font: inherit; font-size: 17px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 10px; scroll-margin-bottom: 120px;
}
input::placeholder { color: var(--placeholder); opacity: 1; }
@media (hover: hover) { input[type="email"]:hover, input[type="text"]:hover { border-width: 2px; } }
input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
input[aria-invalid="true"] { border: 2px solid var(--alarm); }
input[readonly] { background: var(--limewash); }

.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
.chip { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px var(--s4); border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); cursor: pointer; touch-action: manipulation; font-size: var(--fs-small); line-height: 20px; transition: background-color 130ms ease-out, color 130ms ease-out, scale var(--dur-press) ease-out; }
.chip input, .radio-row input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.chip__native { font-weight: 600; }
.chip__check { display: none; }
.chip__check .ui-icon { width: 18px; height: 18px; }
@media (hover: hover) { .chip:hover, .radio-row:hover { background: var(--limewash); } }
.chip:has(:checked) { background: var(--ink); color: var(--paper); }
.chip:has(:checked) .chip__check { display: inline-flex; }
.radio-row { transition: background-color 130ms ease-out; }
@media (prefers-reduced-motion: no-preference) {
  .chip:active { scale: .97; }
  .chip:has(:checked) .chip__check { animation: em-chip-check 180ms var(--ease-ink-snap) both; }
  .chip:has(:checked) .chip__check path { stroke-dasharray: 22; stroke-dashoffset: 22; animation: em-check-draw 160ms var(--ease-stroke) 30ms forwards; }
  .radio-row:has(:checked) .radio-row__dot::after { animation: em-radio-dot 150ms var(--ease-ink-snap) both; }
  .other:not([hidden]), .error:not([hidden]) { animation: em-field-reveal 160ms var(--ease-paper-settle) both; }
  @keyframes em-chip-check { from { opacity: 0; scale: .55; } to { opacity: 1; scale: 1; } }
  @keyframes em-check-draw { to { stroke-dashoffset: 0; } }
  @keyframes em-radio-dot { from { opacity: 0; scale: .35; } to { opacity: 1; scale: 1; } }
  @keyframes em-field-reveal { from { opacity: 0; translate: 0 -4px; } to { opacity: 1; translate: 0 0; } }
}
.chip:has(:focus-visible), .radio-row:has(:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.other { margin-top: var(--s4); display: grid; gap: var(--s2); }
.other label { font-weight: 600; font-size: var(--fs-small); }

.radios { display: grid; gap: var(--s2); }
.radio-row { position: relative; display: flex; align-items: center; gap: var(--s3); min-height: 52px; padding: var(--s2) var(--s4); border: 1.5px solid var(--ink); border-radius: 10px; cursor: pointer; touch-action: manipulation; }
.radio-row__dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink); flex: none; display: grid; place-items: center; }
.radio-row:has(:checked) { border-width: 2px; background: var(--limewash); }
.radio-row:has(:checked) .radio-row__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }

.error { display: flex; gap: var(--s2); align-items: flex-start; color: var(--alarm); font-size: var(--fs-small); line-height: 22px; }
.error .ui-icon { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.error--server { font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); text-align: center;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; touch-action: manipulation;
  border: 2px solid var(--ink); border-radius: 10px; color: var(--ink);
  transition: background-color .12s ease, transform .06s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--naranja); min-height: 56px; padding: var(--s3) var(--s6); font-size: 18px; line-height: 1.2; width: 100%; max-width: 400px; }
.panel .btn--primary { padding-inline: var(--s4); font-size: clamp(16px, 15px + .3vw, 18px); }
@media (hover: hover) { .btn--primary:hover { background: var(--naranja-deep); } }
.btn--secondary { background: var(--paper); min-height: 48px; padding: var(--s2) var(--s4); font-size: 16px; line-height: 1.25; }
@media (hover: hover) { .btn--secondary:hover { background: var(--limewash); } }
.btn--submit { margin-top: var(--s1); }
.spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(29, 43, 107, .25); border-top-color: var(--ink); border-radius: 50%; }
.btn[aria-disabled="true"] { cursor: progress; }
.btn[aria-disabled="true"] .spinner { display: inline-block; }
@media (prefers-reduced-motion: no-preference) { .btn[aria-disabled="true"] .spinner { animation: spin .8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } }
.link-button { background: none; border: 0; padding: 0 var(--s1); min-height: 44px; font: inherit; font-size: var(--fs-small); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- success ---------- */
.success { display: grid; gap: var(--s4); }
@media (prefers-reduced-motion: no-preference) {
  .success { animation: fade .2s ease-out; }
  .success:not([hidden]) .success__h .ui-icon { animation: em-turia-stamp var(--dur-stamp) var(--ease-ink-snap) both; }
  .success:not([hidden]) .own__notice { animation: em-own-pin-down var(--dur-paper) var(--ease-paper-settle) 90ms both; }
  .success:not([hidden]) .own__notice .hl:not(.hl--wrapped)::before { animation: em-hl-wipe var(--dur-hl) var(--ease-stroke) 220ms both; }
  .ask__done:not([hidden]), .own__done:not([hidden]) { animation: em-done-note 200ms var(--ease-paper-settle) both; }
  @keyframes fade { from { opacity: 0; } }
  @keyframes em-turia-stamp { 0% { opacity: 0; scale: 1.18; rotate: -6deg; } 65% { opacity: 1; scale: .96; rotate: 1deg; } 100% { opacity: 1; scale: 1; rotate: 0deg; } }
  @keyframes em-own-pin-down { from { opacity: 0; translate: 0 -10px; scale: 1.018; } to { opacity: 1; translate: 0 0; scale: 1; } }
  @keyframes em-done-note { from { opacity: 0; translate: 0 4px; } to { opacity: 1; translate: 0 0; } }
}
.success__h { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 32px; display: flex; gap: var(--s2); align-items: flex-start; }
.success__h .ui-icon { color: var(--turia); width: 28px; height: 28px; flex: none; margin-top: 2px; }
.success__h:focus { outline: none; }
.success__h:focus-visible { outline: 3px solid var(--ink); }
.ask { border-top: 2px dashed rgba(29, 43, 107, .45); padding-top: var(--s4); display: grid; gap: var(--s3); }
.ask__prompt { font-weight: 600; }
.ask__options { display: flex; flex-direction: column; gap: var(--s2); align-items: stretch; }
.ask__options--row { flex-direction: row; flex-wrap: wrap; }
.ask__options--row .btn { flex: 1 1 0; min-width: 0; }
.ask__done { display: flex; gap: var(--s2); align-items: flex-start; color: var(--turia); font-weight: 600; }
.ask__done .ui-icon { width: 20px; height: 20px; flex: none; margin-top: 3px; }

/* ---------- footer ---------- */
.site-footer { max-width: 1200px; margin: 0 auto; padding: var(--s7) var(--gutter); font-size: var(--fs-small); line-height: 22px; display: flex; flex-wrap: wrap; gap: 0 var(--s4); align-items: center; }
.footer-line { flex: 1 1 auto; }

/* ---------- consent bar ---------- */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: var(--paper); color: var(--ink); border-top: 1.5px solid var(--ink); border-radius: 16px 16px 0 0;
  padding: var(--s3) var(--s4) calc(var(--s3) + env(safe-area-inset-bottom));
  display: grid; gap: var(--s2);
}
.consent__q { font-weight: 600; font-size: var(--fs-small); line-height: 20px; }
.consent__q:focus:not(:focus-visible) { outline: none; }
.consent__expl { font-size: 14px; line-height: 20px; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-top: 2px; }
.consent__actions .btn { min-height: 44px; }
@media (prefers-reduced-motion: no-preference) { .consent { animation: rise .16s ease-out; } @keyframes rise { from { transform: translateY(16px); opacity: 0; } } }

/* ---------- privacy page ---------- */
.privacy h1 { font-size: 28px; line-height: 32px; margin-bottom: var(--s2); }
.privacy__meta { color: var(--placeholder); margin-bottom: var(--s6); }
.privacy h2 { font-size: clamp(19px, 18px + .3vw, 22px); line-height: 1.25; margin-top: var(--s6); margin-bottom: var(--s2); }
.privacy ul { margin: var(--s3) 0 0; padding-left: 1.25rem; }
.privacy li + li { margin-top: var(--s2); }
.ask .help { margin-top: -4px; }
.ask__err { margin-top: var(--s2); }

@media (max-width: 419px) {
  .lockup__desc { font-size: 13px; white-space: nowrap; }
  .btn--primary { padding-inline: 18px; font-size: 16.5px; }
}
@media (max-width: 599px) {
  .section--hero { padding-top: var(--s4); }
  .kicker { margin-bottom: var(--s3); }
  .lead { margin-top: var(--s4); }
  .hero__text .btn--primary { margin-top: var(--s4); }
  .ceramic-plaque { transform: none !important; padding: 28px 22px 34px; }
  .ask__options--row { flex-direction: column; }
  .deck-card__full { --ed-pad-x: 14px; }
}

/* ---------- ≥ 600 ---------- */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .join { padding-left: var(--gutter); padding-right: var(--gutter); }
  .panel { padding: var(--s6); }
  .ask__options--stack { flex-direction: row; flex-wrap: wrap; }
  .chip { padding: 5px 14px; min-height: 40px; }
}
@media (min-width: 720px) {
  .lockup__text { flex-direction: row; align-items: baseline; gap: 6px; }
  .lockup__sep { display: inline; white-space: pre; }
}

/* ---------- ≥ 960 ---------- */
@media (min-width: 960px) {
  .section { padding-top: var(--s9); padding-bottom: var(--s9); }
  .site-header { min-height: 72px; }
  .wordmark { font-size: 24px; }
  .lockup__desc { font-size: var(--fs-small); }
  .section--hero { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s6); align-items: center; padding-top: var(--s6); padding-bottom: var(--s9); }
  .hero__text { grid-column: 1 / 7; padding-right: var(--s5); }
  h1 { max-width: 24ch; text-wrap: balance; }
  .lead { max-width: 39ch; font-size: 20px; line-height: 1.48; }
  .btn--primary { width: auto; min-width: 260px; }
  .hero__notices { grid-column: 7 / 13; margin-top: 0; }
  .pinned { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: start; }
  .notice--illustrated { width: auto; max-width: none; }
  .notice--illustrated .notice__title { font-size: 16.5px; line-height: 1.24; }
  .notice--illustrated + .notice--illustrated { margin-top: 0; }
  .notice--illustrated:nth-child(2) { margin-top: var(--s7); margin-left: 0; }
  .notice--illustrated:nth-child(3) { grid-column: 1 / 3; width: calc(50% - 12px); margin: 4px 0 0 20%; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s6); align-items: start; }
  .step { grid-template-columns: 1fr; align-content: start; gap: var(--s3); }
  .step:not(:last-child)::after { left: 54px; right: calc(-1 * var(--s6) + 4px); top: 22px; bottom: auto; border-left: 0; border-top: 2px dashed #163269; }
  .trust-cost { grid-template-columns: repeat(12, 1fr); gap: var(--s6); align-items: start; }
  .trust { grid-column: 3 / 11; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 40px); }
  .join { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s6); padding: var(--s9) max(var(--s7), calc((100% - 1200px) / 2)); align-items: start; }
  .join__intro { grid-column: 1 / 6; }
  .display { max-width: 7ch; }
  .panel { grid-column: 7 / 13; max-width: 520px; margin-top: 0; padding: var(--s6); }
  .consent { left: var(--s5); bottom: var(--s5); right: auto; width: 440px; border: 1.5px solid var(--ink); border-radius: 16px; padding: var(--s4); }
}
@media (min-width: 1280px) {
  :root { --gutter: 48px; }
  .section { padding-top: var(--s10); padding-bottom: var(--s10); }
}

@media (prefers-reduced-motion: reduce) {
  .notice--illustrated, .trust { transform: none !important; }
  .plaque__sunlight, .ink-draw, .plaque__inscription { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; }
}
@media (forced-colors: active) {
  .notice, .panel, .consent, .ceramic-plaque { border: 1px solid CanvasText; }
  .tape { display: none; }
  .step__tile { box-shadow: none; }
}

/* ---------- phone preview build only ---------- */
.preview-tag {
  position: fixed; right: 8px; bottom: calc(var(--consent-h) + 8px); z-index: 25; pointer-events: none;
  background: var(--ink); color: var(--paper); font-size: 12px; line-height: 16px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; opacity: .9;
}

/* ---------- round 3 (spec addendum "V-r2 round 3") ---------- */
/* Emphasis: the one marker style; no vertical padding, so line height doesn't change */
.hl {
  position: relative; z-index: 0;
  background: linear-gradient(transparent 58%, rgb(247 162 59 / .40) 58%, rgb(247 162 59 / .40) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: .08em;
}
h1 .hl { padding-inline: 0 .08em; }
@media (prefers-reduced-motion: no-preference) {
  :is(.hero, .forme .prose, .own__notice, .deck-card__full) .hl:not(.hl--wrapped) { display: inline-block; background: none; }
  :is(.hero, .forme .prose, .own__notice, .deck-card__full) .hl:not(.hl--wrapped)::before {
    content: ""; position: absolute; left: 0; right: 0; top: 58%; bottom: 8%; z-index: -1;
    background: rgb(247 162 59 / .40); border-radius: 1px; transform-origin: 0% 50%;
  }
  .hero .hl:not(.hl--wrapped)::before { transform: scaleX(0); animation: em-hl-wipe var(--dur-hl) var(--ease-stroke) 180ms both; }
  .deck-card.is-morph-active .hl:not(.hl--wrapped)::before,
  .deck-item.is-arrived .hl:not(.hl--wrapped)::before { transform: scaleX(0); animation: em-hl-wipe var(--dur-hl) var(--ease-stroke) 160ms both; }
  html.has-motion .forme .prose .hl:not(.hl--wrapped)::before { transform: scaleX(0); }
  html.has-motion .forme .prose .hl.is-in:not(.hl--wrapped)::before { animation: em-hl-wipe var(--dur-hl) var(--ease-stroke) 80ms both; }
  html.has-motion .forme .prose .hl--wrapped { opacity: .35; transition: opacity var(--dur-paper) ease-out; }
  html.has-motion .forme .prose .hl--wrapped.is-in { opacity: 1; }
  @keyframes em-hl-wipe { from { transform: scaleX(0); opacity: .6; } to { transform: scaleX(1); opacity: 1; } }
}
.strong { font-weight: 600; }
/* Group-size line on hero + compact cards: bold on mobile, marker from 960px (strategist answer S-Q4) */
.hl-wide { font-weight: 600; }
@media (min-width: 960px) {
  .hl-wide { background: linear-gradient(transparent 58%, rgb(247 162 59 / .40) 58%, rgb(247 162 59 / .40) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: .08em; }
}
@media (forced-colors: active) { .hl, .hl-wide { background: none; text-decoration: underline 2px; text-decoration-color: Mark; } .hl::before { display: none; } }
.notice__more { font-size: var(--fs-small); line-height: 22px; margin-top: 2px; }
.notice--illustrated .notice__more { padding: 0 var(--s1); }

/* C3 / C4 inline links */
.cta-link { margin-top: var(--s6); text-wrap: balance; }
.cta-link a {
  display: inline-block; padding-block: 9px; font-weight: 600; font-size: var(--fs-body); line-height: 26px;
  text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-wrap: balance;
}
@media (hover: hover) { .cta-link a:hover { text-decoration-thickness: 3px; text-decoration-color: var(--naranja); } }

.pen { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.pen .icon { width: 18px; height: 18px; }

/* ---------- outing notice micro-elements (reused in detail card) ---------- */
.outing__label { display: inline-flex; align-items: center; border: 1.5px dashed rgba(29, 43, 107, .65); background: rgba(247, 162, 59, .14); border-radius: 4px; padding: 2px 10px; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--ink); }
.chip-lang { display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1; background: var(--paper); }
.outing__more { font-weight: 600; }

.section.forme { padding-bottom: var(--s6); }
@media (min-width: 960px) { .section.forme { padding-bottom: var(--s8); } }

.ed-topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 12px; }
.ed-topbar__actions { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.ed-spotlight-label { font-size: 12.5px; color: var(--placeholder); font-weight: 600; }
.ed-access-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px;
  border-radius: 999px; border: 1.5px solid var(--ink); background: rgba(29, 43, 107, .06);
  color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1.25;
}
.ed-access-badge[data-mode="open"] { border-color: var(--turia); color: var(--turia); background: rgba(47, 107, 79, .09); }
.ed-access-badge[data-mode="invited"] { border-color: var(--ink); background: rgba(247, 162, 59, .18); color: var(--ink); }
.ed-access-icon { width: 14px; height: 14px; flex-shrink: 0; }
.ed-access-caption { font-size: 12.5px; color: var(--placeholder); font-weight: 600; }
.ed-close {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 34px; padding: 3px 10px; border-radius: 999px;
  border: 1px solid transparent; background: transparent;
  color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 600; line-height: 1.2;
  cursor: pointer; touch-action: manipulation;
}
@media (hover: hover) { .ed-close:hover { background: var(--limewash); border-color: rgba(29, 43, 107, .24); } }

.ed-art {
  position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: 6px; border: 1px solid rgba(29, 43, 107, .14); background: var(--limewash); margin-bottom: 14px;
}
.ed-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.ed-category-badge {
  position: absolute; bottom: 10px; left: 10px; display: inline-flex; align-items: center;
  padding: 4px 11px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--ink);
  color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1.2; box-shadow: 0 2px 6px rgba(29, 43, 107, .16);
}

.ed-title {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 19px + 1.1vw, 30px);
  line-height: 1.15; letter-spacing: -.015em; color: var(--ink); margin-bottom: 10px; text-wrap: balance;
}
.ed-meta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; font-size: 14.5px; color: var(--ink); }
.ed-meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; }
.ed-meta-item { display: inline-flex; align-items: flex-start; gap: 6px; font-weight: 600; }
.ed-meta-icon { width: 17px; height: 17px; color: var(--ink); flex-shrink: 0; margin-top: 2px; }
.ed-meta-hint { font-size: 13px; color: var(--placeholder); font-weight: 400; }

.ed-note { margin: 0 0 16px; background: var(--limewash); border-radius: 4px; padding: 13px 14px; }
.ed-host-row { display: flex; flex-wrap: nowrap; align-items: center; gap: 9px 11px; margin-bottom: 8px; }
.ed-host-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 22%; border: 1.5px solid var(--ink); flex-shrink: 0; background: var(--paper); }
.ed-host-info { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; min-width: 0; }
.ed-host-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.ed-trust-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; background: var(--paper); border: 1px solid rgba(29, 43, 107, .2); font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.ed-trust-star { color: var(--naranja-deep); }
.ed-trust-count { color: var(--placeholder); font-weight: 400; }
.ed-host-quote { font-size: 14.5px; line-height: 1.48; color: var(--ink); }

.ed-logistics { margin-bottom: 14px; }
.ed-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--placeholder); margin-bottom: 8px; }
.ed-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.ed-info-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10.5px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--dashed-soft); font-size: 13px; line-height: 1.28; color: var(--ink); }
.ed-chip-icon { width: 14px; height: 14px; color: var(--ink); flex-shrink: 0; }
.ed-chip-primary { font-weight: 600; }
.ed-chip-sep { color: var(--placeholder); margin: 0 3px; }
.ed-chip-secondary { color: var(--placeholder); font-weight: 400; }

.ed-perforated { margin-inline: calc(-1 * var(--ed-pad-x)); padding: 15px var(--ed-pad-x); border-top: 2px dashed rgba(29, 43, 107, .35); }

.ed-crew-grid { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: stretch; }
.ed-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; margin-bottom: 9px; }
.ed-section-head .ed-eyebrow { margin-bottom: 0; }
.ed-section-count { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.ed-attendees-stack { display: flex; flex-direction: column; gap: 7px; }
.ed-attendee-row { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 10px; border-radius: 6px; background: var(--paper); border: 1px solid rgba(29, 43, 107, .14); }
.ed-attendee-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: center 22%; border: 1.5px solid var(--ink); flex-shrink: 0; background: var(--limewash); }
.ed-attendee-details { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex: 1; min-width: 0; }
.ed-attendee-name { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-attendee-meta { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--placeholder); white-space: nowrap; }
.ed-attendee-role { color: var(--ink); background: rgba(247, 162, 59, .25); padding: 1px 6px; border-radius: 4px; font-size: 11.5px; }
.ed-attendee-row.is-open-slot { justify-content: flex-start; background: rgba(232, 237, 241, .45); border: 1.5px dashed rgba(29, 43, 107, .42); padding: 7px 10px; }
.ed-open-slot-badge { width: 30px; height: 30px; border-radius: 50%; border: 1.5px dashed var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; flex-shrink: 0; }
.ed-open-slot-text { font-size: 13.5px; font-weight: 600; color: var(--turia); }

.ed-chat-box, .ed-oneonone-box { display: flex; flex-direction: column; justify-content: space-between; background: var(--limewash); border: 1.5px solid rgba(29, 43, 107, .16); border-radius: 6px; padding: 12px 13px; }
.ed-oneonone-box { justify-content: center; gap: 7px; }
.ed-oneonone-body { font-size: 13.5px; line-height: 1.46; color: var(--ink); margin: 0; }
.ed-chat-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; margin-bottom: 9px; }
.ed-chat-title { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ed-chat-title svg { width: 15px; height: 15px; flex-shrink: 0; }
.ed-lock-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: var(--paper); border: 1px solid rgba(29, 43, 107, .2); font-size: 11.5px; font-weight: 600; color: var(--ink); }
.ed-lock-pill svg { width: 11px; height: 11px; }
.ed-chat-messages { display: flex; flex-direction: column; gap: 7px; }
.ed-chat-bubble { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; border-radius: 6px; background: var(--paper); border: 1px solid rgba(29, 43, 107, .1); }
.ed-chat-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; object-position: center 22%; border: 1px solid var(--ink); flex-shrink: 0; margin-top: 1px; }
.ed-chat-text { font-size: 13px; line-height: 1.38; color: var(--ink); }
.ed-chat-author { font-weight: 600; margin-right: 4px; }
.ed-chat-host-tag { display: inline-block; padding: 0 5px; margin-right: 4px; border-radius: 3px; background: rgba(247, 162, 59, .28); font-size: 10.5px; font-weight: 600; color: var(--ink); }
.ed-chat-footnote { margin-top: 8px; font-size: 12px; color: var(--placeholder); }

.ed-queue-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; margin-bottom: 10px; }
.ed-queue-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; }
.ed-avatar-stack { display: inline-flex; align-items: center; padding-right: 12px; }
.ed-stack-img, .ed-stack-more { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--paper); box-shadow: 0 0 0 1px var(--ink); margin-left: -7px; object-fit: cover; object-position: center 22%; background: var(--limewash); }
.ed-stack-img:first-child { margin-left: 0; }
.ed-stack-more { display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: var(--paper); font-size: 10.5px; font-weight: 600; }
.ed-queue-count-text { font-size: 13.5px; line-height: 1.3; }
.ed-queue-count-text strong { font-weight: 600; }
.ed-queue-count-sub { font-size: 12.5px; color: var(--placeholder); }

.ed-queue-peek { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 8px 11px; border-radius: 6px; background: var(--limewash); border: 1px solid rgba(29, 43, 107, .14); margin-bottom: 10px; }
.ed-peek-left { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 210px; }
.ed-peek-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; object-position: center 22%; border: 1.5px solid var(--ink); flex-shrink: 0; }
.ed-peek-copy { font-size: 13px; line-height: 1.35; color: var(--ink); }
.ed-peek-tag { font-size: 11.5px; font-weight: 600; color: var(--placeholder); background: var(--paper); border: 1px solid rgba(29, 43, 107, .2); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }

.ed-queue-form { display: grid; grid-template-columns: 1fr; gap: 9px; align-items: stretch; }
.deck-card__full input.ed-intro-input { width: 100%; height: 48px; padding: 0 14px; font-size: 16px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); border-radius: 10px; }
.deck-card__full .btn--ed { width: 100%; max-width: none; min-width: 0; min-height: 48px; padding: 0 22px; font-size: 16px; }
.ed-cta-hint { margin-top: 8px; font-size: 12.5px; color: var(--placeholder); }
.ed-action-row { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }

@media (prefers-reduced-motion: no-preference) {
  .ed-stack-img, .ed-stack-more { transition: translate var(--dur-micro) var(--ease-paper-settle), scale var(--dur-micro) var(--ease-paper-settle); }
  .ed-lock-pill { transition: border-color var(--dur-micro) ease, background-color var(--dur-micro) ease; }
  .ed-lock-pill svg path { transition: translate var(--dur-micro) var(--ease-paper-settle); }
  @keyframes em-spillover-unfold { from { opacity: 0; transform: perspective(700px) rotateX(-6deg) translate3d(0, -6px, 0) scaleY(.95); } to { opacity: 1; transform: perspective(700px) rotateX(0deg) translate3d(0, 0, 0) scaleY(1); } }
  @keyframes em-chat-slip { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ed-queue-summary:hover .ed-stack-img:nth-child(2) { translate: 3px 0; }
  .ed-queue-summary:hover .ed-stack-img:nth-child(3) { translate: 6px 0; }
  .ed-queue-summary:hover .ed-stack-more { translate: 9px 0; }
  .ed-queue-summary:hover .ed-stack-img:hover { z-index: 3; scale: 1.08; }
  .ed-queue-summary:hover .ed-stack-img:nth-child(1):hover { translate: 0 -3px; }
  .ed-queue-summary:hover .ed-stack-img:nth-child(2):hover { translate: 3px -3px; }
  .ed-queue-summary:hover .ed-stack-img:nth-child(3):hover { translate: 6px -3px; }
  .ed-chat-box:hover .ed-chat-bubble { translate: 0 -1px; box-shadow: 0 2px 6px rgba(29, 43, 107, .08); }
  .ed-chat-box:hover .ed-lock-pill { border-color: rgba(29, 43, 107, .45); }
  .ed-chat-box:hover .ed-lock-pill svg path { translate: 0 -1px; }
}

.ed-spillover-banner { padding: 15px; border-radius: 6px; background: rgba(247, 162, 59, .18); border: 2px dashed var(--ink); }
.ed-spillover-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.ed-spillover-body { font-size: 14.5px; line-height: 1.45; color: var(--ink); margin-bottom: 12px; }
.ed-spillover-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

.ed-moments-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 0; }
.ed-moment-thumb { aspect-ratio: 16 / 10; border-radius: 3px; overflow: hidden; border: 1px solid rgba(29, 43, 107, .16); background: var(--limewash); }
.ed-moment-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ed-moment-add { aspect-ratio: 16 / 10; border-radius: 3px; border: 1.5px dashed rgba(29, 43, 107, .45); background: rgba(232, 237, 241, .45); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8px; font-size: 12px; line-height: 1.25; font-weight: 600; color: var(--ink); gap: 3px; }
.ed-moment-plus { font-size: 16px; line-height: 1; color: var(--turia); }

@media (min-width: 600px) {
  .deck-card__full { --ed-pad-x: 26px; padding: 20px var(--ed-pad-x) 18px; }
  .deck-card__full .ed-art { aspect-ratio: 16 / 9; max-height: 360px; margin-bottom: 16px; }
  .ed-attendees-stack--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ed-queue-form { grid-template-columns: 1fr auto; gap: 10px; }
  .deck-card__full input.ed-intro-input { font-size: 15px; }
  .deck-card__full .btn--ed { width: auto; }
  .ed-moments-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 0; }
}
@media (min-width: 680px) {
  .ed-crew-grid { grid-template-columns: 1fr 1.15fr; gap: 18px; }
  .ed-crew-grid.is-solo { grid-template-columns: 1fr; }
  .ed-chat-box, .ed-oneonone-box { height: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html.has-motion [data-pin-reveal], html.has-motion .event-deck[data-pin-reveal] .deck-item { opacity: 1; translate: none; scale: none; }
  .notice--illustrated, .notice--illustrated .tape, .deck-card, .stand-card__cta-arrow, .stand-card__pulse, .trust,
  .event-deck[data-deck-mode="expanded"] .deck-viewport, .event-deck[data-deck-mode="expanded"] .deck-track,
  .event-deck[data-deck-mode="expanded"] .deck-item:not(.is-active) .deck-card,
  .deck-card.is-morph-active, .deck-card.is-collapsing, .deck-card.is-collapse-active,
  .deck-card.is-morphing .deck-card__compact, .deck-card.is-morphing .deck-card__full,
  .deck-card.is-collapsing .deck-card__compact, .deck-card.is-collapsing .deck-card__full,
  .deck-nav, .deck-dot__pill, .deck-foot-btn, .deck-item.is-returned .deck-card,
  .faq-item__icon, .faq-item__icon::before, .faq-item__icon::after, .faq-item__a,
  .ed-stack-img, .ed-stack-more, .ed-chat-bubble, .ed-lock-pill, .ed-lock-pill svg path {
    transition: none !important;
    animation: none !important;
  }
  .btn:active, .chip:active, .deck-card:active {
    transform: none !important;
    scale: none !important;
    translate: none !important;
  }
}
[lang="uk"] .deck-card__full, [lang="uk"] .faq-item { hyphens: manual; }

/* ---------- "Your outing" on the success screen (04-bold-review.md §5) ---------- */
.own { display: grid; gap: var(--s3); border-top: 2px dashed rgba(29, 43, 107, .45); padding-top: var(--s4); }
.own__label { font-weight: 600; font-size: var(--fs-small); line-height: 22px; }
.own__notice { padding: var(--s3) 0 0; transform: rotate(-.6deg); border: 1px solid rgba(29, 43, 107, .2); }
.own__notice > p, .own__form { padding: 0 var(--s4) 0 var(--s3); }
.own__text { font-weight: 600; }
.own__value { overflow-wrap: anywhere; }
.own__form { display: grid; grid-template-columns: 1fr auto; gap: var(--s2); margin: var(--s2) 0; }
.own__form input { height: 48px; }
.own__form .own__err { grid-column: 1 / -1; }
.own__notice .notice__more { margin: var(--s2) 0 0; }
.own__notice .tabs { margin-top: var(--s3); }
.own__caption { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .own__notice { transform: none; } }
/* UK hero fit at 360x640..390x844 (spec addendum round 3 §1 fallback: size only, never words) */
@media (max-width: 419px) { [lang="uk"] .hero .lead { font-size: 15.5px; line-height: 23px; } }
[lang="uk"] .own__caption, [lang="uk"] .own__label, [lang="uk"] .own__text { hyphens: manual; }

@media (forced-colors: active) {
  .notice, .trust, .faq__list, .deck-card, .event-deck[data-deck-mode="expanded"] .deck-viewport {
    background-image: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
  .ed-close, .lang-switch--pill, .deck-foot-btn { border: 1px solid ButtonText; }
}
