:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #21171d;
  background: #f6d243;
  --brand-yellow: #f6d243;
  --brand-orange: #ff7300;
  --brand-ink: #21171d;
  --brand-cream: #fff7df;
  --brand-white: #ffffff;
  --brand-shadow: rgba(33, 23, 29, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--brand-yellow);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.staff-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.34), transparent 28%),
    radial-gradient(circle at 86% 88%, rgba(255, 115, 0, 0.18), transparent 34%),
    var(--brand-yellow);
}

.staff-shell {
  width: min(760px, 100%);
  padding: clamp(22px, 5vw, 48px);
  border: 5px solid var(--brand-ink);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 247, 223, 0.94), rgba(246, 210, 67, 0.72)),
    var(--brand-yellow);
  box-shadow: 12px 12px 0 var(--brand-ink), 0 24px 70px var(--brand-shadow);
}

.staff-header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.staff-header img {
  width: clamp(76px, 18vw, 112px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 999px;
  background: var(--brand-yellow);
}

.staff-header h1 {
  margin-top: 6px;
  font-size: clamp(2.3rem, 10vw, 4.4rem);
  line-height: 0.9;
}

.staff-event-card,
.staff-summary-grid article,
.staff-audience-grid article {
  border: 4px solid var(--brand-ink);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 8px 8px 0 var(--brand-orange);
}

.staff-event-card {
  margin-top: 30px;
  padding: 20px;
  text-align: center;
}

.staff-event-card span,
.staff-summary-grid span,
.staff-mini-stats span,
.staff-updated {
  color: rgba(33, 23, 29, 0.72);
  font-weight: 750;
}

.staff-event-card strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.45rem, 5vw, 2.25rem);
  line-height: 1.05;
}

.staff-event-card p {
  margin: 8px 0 0;
  color: rgba(33, 23, 29, 0.72);
  font-weight: 800;
}

.staff-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.staff-summary-grid article {
  min-width: 0;
  padding: 18px;
  text-align: center;
}

.staff-summary-grid strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(2.1rem, 9vw, 3.8rem);
  line-height: 0.95;
}

.staff-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.staff-audience-grid article {
  padding: 18px;
}

.staff-audience-label {
  margin: 0 0 14px;
  color: var(--brand-orange);
  font-size: 1.05rem;
  font-weight: 950;
  text-transform: uppercase;
}

.staff-mini-stats {
  display: grid;
  gap: 10px;
}

.staff-mini-stats strong {
  color: var(--brand-ink);
  font-size: 1.45rem;
}

.staff-updated {
  margin: 24px 0 0;
  text-align: center;
}

.staff-refresh {
  margin-top: 18px;
}

.scan-display {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 40px);
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.34), transparent 28%),
    radial-gradient(circle at 86% 82%, rgba(255, 115, 0, 0.18), transparent 34%),
    var(--brand-yellow);
}

.scan-hero {
  width: min(1120px, 100%);
  min-height: min(780px, calc(100vh - 48px));
  display: grid;
  align-content: space-between;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(22px, 5vw, 64px);
  border: 5px solid var(--brand-ink);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 247, 223, 0.88), rgba(246, 210, 67, 0.72)),
    var(--brand-yellow);
  box-shadow: 16px 16px 0 var(--brand-ink), 0 28px 80px var(--brand-shadow);
  overflow: hidden;
  position: relative;
}

.scan-hero::after {
  content: "";
  position: absolute;
  inset: auto -60px -90px auto;
  width: 310px;
  height: 310px;
  border: 5px solid rgba(33, 23, 29, 0.16);
  border-radius: 999px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.brand-lockup img {
  width: clamp(76px, 12vw, 128px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 999px;
  background: var(--brand-yellow);
}

.eyebrow,
.kicker {
  margin: 0;
  color: var(--brand-orange);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-name {
  margin: 4px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 900;
}

.scan-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  position: relative;
  z-index: 1;
}

.scan-copy {
  max-width: 620px;
}

h1 {
  margin: 14px 0 0;
  max-width: 650px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}

.intro {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(33, 23, 29, 0.78);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.intro.compact {
  max-width: 520px;
  margin-top: 18px;
}

.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 40px;
  border: 1px solid rgba(20, 33, 61, 0.14);
  background: rgba(20, 33, 61, 0.14);
}

.details div {
  min-width: 0;
  padding: 18px;
  background: #ffffff;
}

.details span {
  display: block;
  margin-bottom: 6px;
  color: #667085;
  font-size: 0.82rem;
}

.details strong {
  display: block;
  overflow-wrap: anywhere;
}

.qr-panel {
  display: none;
}

.qr-card {
  --qr-size: min(390px, 72vw);
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.qr-frame {
  position: relative;
  width: var(--qr-size);
  aspect-ratio: 1;
  padding: 16px;
  border: 5px solid var(--brand-ink);
  border-radius: 28px;
  background: var(--brand-white);
  box-shadow: 10px 10px 0 var(--brand-orange);
}

.qr-code {
  display: block;
  width: 100%;
  height: 100%;
}

.qr-code-vi {
  display: none;
}

[data-lang="vi"] .qr-code-en {
  display: none;
}

[data-lang="vi"] .qr-code-vi {
  display: block;
}

.qr-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 5px solid var(--brand-white);
  border-radius: 999px;
  background: var(--brand-yellow);
  box-shadow: 0 6px 18px rgba(33, 23, 29, 0.2);
}

.qr-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 999px;
}

.qr-card a {
  color: var(--brand-ink);
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 3px solid var(--brand-orange);
}

.qr-card a:hover {
  color: var(--brand-orange);
}

.language-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(330px, 100%);
  margin-top: 22px;
  padding: 6px;
  border: 3px solid var(--brand-ink);
  border-radius: 18px;
  background: var(--brand-white);
  box-shadow: 5px 5px 0 var(--brand-orange);
}

.qr-card .language-toggle {
  width: var(--qr-size);
  margin-top: 0;
}

.language-toggle button {
  min-width: 0;
  min-height: 44px;
  display: inline-grid;
  grid-template-columns: auto minmax(0, auto);
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--brand-ink);
  font-size: 0.88rem;
  font-weight: 900;
}

.language-toggle button.is-active {
  background: var(--brand-yellow);
  box-shadow: inset 0 -4px 0 rgba(255, 115, 0, 0.32);
}

.flow-language {
  justify-self: center;
  margin-top: -12px;
}

.flow-page,
.event-page {
  min-height: 100vh;
  padding: clamp(16px, 4vw, 42px);
  background:
    radial-gradient(circle at 8% 14%, rgba(255, 255, 255, 0.34), transparent 28%),
    radial-gradient(circle at 88% 86%, rgba(255, 115, 0, 0.15), transparent 32%),
    var(--brand-yellow);
}

.flow-shell,
.event-shell {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  padding: clamp(20px, 5vw, 52px);
  border: 5px solid var(--brand-ink);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 247, 223, 0.94), rgba(246, 210, 67, 0.78));
  box-shadow: 12px 12px 0 var(--brand-ink);
}

.event-shell {
  gap: clamp(16px, 3vw, 28px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.flow-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.flow-brand img {
  width: clamp(64px, 10vw, 104px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 999px;
}

.event-page .flow-brand {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.event-page .flow-brand img {
  width: clamp(108px, 16vw, 148px);
  filter: drop-shadow(0 8px 18px rgba(33, 23, 29, 0.16));
}

.event-page .flow-brand .eyebrow {
  display: none;
}

.event-page .flow-brand .brand-name {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  line-height: 1;
}

.check-in-flow {
  display: grid;
  align-items: start;
}

.check-in-flow .flow-shell {
  width: min(980px, 100%);
  gap: clamp(16px, 3vw, 28px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.check-in-flow .flow-brand {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.check-in-flow .flow-brand img {
  width: clamp(108px, 15vw, 150px);
  filter: drop-shadow(0 8px 18px rgba(33, 23, 29, 0.16));
}

.check-in-flow .flow-brand .eyebrow {
  display: none;
}

.check-in-flow .flow-brand .brand-name {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  line-height: 1;
}

.check-in-panel,
.welcome-back,
.event-hero,
.event-feature,
.event-ad {
  border: 4px solid var(--brand-ink);
  border-radius: 26px;
  background: var(--brand-white);
  box-shadow: 8px 8px 0 var(--brand-orange);
}

.event-intro {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.event-intro h1 {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.9;
}

.event-intro p {
  max-width: 34rem;
  margin: 0;
  color: rgba(33, 23, 29, 0.76);
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 650;
  line-height: 1.5;
}

/* The standard weekly club page uses compact, single-line desktop copy. */
.standard-club-page .event-intro h1 {
  white-space: nowrap;
}

.standard-club-page .event-intro p {
  max-width: 50rem;
}

.standard-club-page .event-topic-lead {
  max-width: 56rem;
}

.event-registration-success {
  width: min(640px, 100%);
  margin: 0 auto 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--brand-orange);
  background: rgba(255, 247, 223, 0.88);
  color: var(--brand-ink);
  text-align: center;
}

.event-registration-success .kicker {
  margin: 0;
  color: var(--brand-orange);
}

.event-registration-success h2 {
  margin: 6px 0 0;
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.1;
}

.event-registration-success p:last-child {
  margin: 9px 0 0;
  color: rgba(33, 23, 29, 0.76);
  font-weight: 700;
  line-height: 1.45;
}

.event-meta-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  width: min(640px, 100%);
  margin: 22px auto 0;
  color: rgba(33, 23, 29, 0.78);
  font-size: 0.98rem;
  font-weight: 820;
  line-height: 1.45;
  text-align: center;
}

.event-meta-strip span:not(:last-of-type)::after {
  content: "•";
  margin-left: 14px;
  color: var(--brand-orange);
}

.event-meta-strip a {
  color: var(--brand-ink);
  font-weight: 950;
  text-decoration-color: var(--brand-orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.event-meta-strip a:hover,
.event-meta-strip a:focus-visible {
  color: var(--brand-orange);
}

.event-team-summary {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 18px 20px;
  border: 4px solid var(--brand-ink);
  border-radius: 20px;
  background: var(--brand-white);
  box-shadow: 7px 7px 0 var(--brand-orange);
}

.event-team-kicker,
.event-team-drawer-header > div > p,
.event-team-table > p:first-child {
  margin: 0;
  color: var(--brand-orange);
  font-size: 0.73rem;
  font-weight: 950;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.event-team-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
}

.event-team-summary h2,
.event-team-drawer-header h2 {
  margin: 7px 0 5px;
  color: var(--brand-ink);
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 950;
  line-height: 1;
}

.event-team-summary-row p {
  margin: 0;
  color: rgba(33, 23, 29, 0.72);
  font-size: clamp(0.88rem, 2.4vw, 1rem);
  font-weight: 680;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.event-team-expand {
  align-self: end;
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--brand-orange);
  font-size: 0.8rem;
  font-weight: 950;
  text-align: right;
  white-space: nowrap;
  cursor: pointer;
}

.event-team-expand:focus-visible,
.event-team-close:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 3px;
}

.event-team-drawer {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 30;
  width: min(760px, calc(100% - 24px));
  max-height: min(72vh, 620px);
  margin: 0 auto;
  overflow: auto;
  border: 4px solid var(--brand-ink);
  border-radius: 22px;
  background: var(--brand-white);
  box-shadow: 8px 8px 0 var(--brand-orange);
}

.event-team-drawer-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 14px;
  border-bottom: 2px solid rgba(33, 23, 29, 0.12);
}

.event-team-close {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(33, 23, 29, 0.2);
  border-radius: 999px;
  background: var(--brand-white);
  color: var(--brand-ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.event-team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 20px 20px;
}

.event-team-table {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 15px;
  border: 3px solid var(--brand-ink);
  border-radius: 16px;
  background: var(--brand-cream);
  box-shadow: 4px 4px 0 var(--brand-orange);
}

.event-team-table-members,
.event-team-empty {
  margin: 0;
  color: var(--brand-ink);
  font-size: 1rem;
  font-weight: 840;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.event-team-empty {
  grid-column: 1 / -1;
  padding: 12px 0;
  color: rgba(33, 23, 29, 0.68);
}

@media (max-width: 560px) {
  .event-team-summary {
    padding: 16px;
  }

  .event-team-summary-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .event-team-expand {
    justify-self: start;
    text-align: left;
  }

  .event-team-list {
    grid-template-columns: 1fr;
    padding: 14px 16px 18px;
  }
}

.outdoor-event-intro {
  margin-bottom: 18px;
}

.outdoor-event-intro .kicker {
  margin: 0;
  color: var(--brand-orange);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.outdoor-event-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 3px solid var(--brand-ink);
  border-radius: 16px;
  background: var(--brand-ink);
  box-shadow: 5px 5px 0 var(--brand-orange);
}

.outdoor-event-facts > div {
  display: grid;
  gap: 5px;
  min-height: 108px;
  padding: 16px;
  background: var(--brand-white);
}

.outdoor-event-facts span {
  color: var(--brand-orange);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.outdoor-event-facts strong {
  color: var(--brand-ink);
  font-size: 1rem;
  line-height: 1.25;
}

.outdoor-location-link {
  color: inherit;
  text-decoration-color: var(--brand-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.outdoor-location-link:hover,
.outdoor-location-link:focus-visible {
  color: var(--brand-orange);
}

.outdoor-map-action {
  margin: 16px auto 0;
  text-align: center;
}

.outdoor-map-action a {
  color: var(--brand-ink);
  font-size: 0.94rem;
  font-weight: 900;
  text-decoration-color: var(--brand-orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.outdoor-map-action a:hover,
.outdoor-map-action a:focus-visible {
  color: var(--brand-orange);
}

.outdoor-timeline {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 34px);
  border: 3px solid var(--brand-ink);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 5px 5px 0 var(--brand-orange);
}

.outdoor-timeline-heading {
  text-align: center;
}

.outdoor-timeline-heading .kicker {
  margin: 0;
}

.outdoor-timeline h2 {
  margin: 6px 0 0;
  color: var(--brand-ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.1;
}

.outdoor-timeline-list {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.outdoor-timeline-list li {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(33, 23, 29, 0.16);
}

.outdoor-timeline-list time {
  color: var(--brand-orange);
  font-size: 0.88rem;
  font-weight: 950;
}

.outdoor-timeline-list strong {
  display: block;
  color: var(--brand-ink);
  font-size: 1rem;
  line-height: 1.3;
}

.outdoor-timeline-list p,
.outdoor-timeline-guidance p {
  margin: 5px 0 0;
  color: rgba(33, 23, 29, 0.75);
  font-size: 0.95rem;
  line-height: 1.5;
}

.outdoor-timeline-guidance {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 14px 16px;
  border-left: 4px solid var(--brand-orange);
  background: #fff7df;
}

.outdoor-timeline-guidance p {
  margin: 0;
}

.outdoor-participants {
  width: min(760px, 100%);
  margin: 32px auto 0;
  padding: clamp(20px, 4vw, 34px) 0 0;
  border-top: 3px solid var(--brand-ink);
}

.outdoor-participants.is-hidden {
  display: none;
}

.outdoor-participants-heading {
  text-align: center;
}

.outdoor-participants-heading .kicker {
  margin: 0;
}

.outdoor-participants h2 {
  margin: 6px 0 0;
  color: var(--brand-ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.1;
}

.outdoor-participants-heading > p:last-child {
  max-width: 34rem;
  margin: 10px auto 0;
  color: rgba(33, 23, 29, 0.75);
  font-size: 0.95rem;
  line-height: 1.5;
}

.outdoor-participant-total {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: 22px 0;
  color: var(--brand-ink);
  font-weight: 850;
}

.outdoor-participant-total strong {
  color: var(--brand-orange);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.outdoor-participant-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 34px);
}

.outdoor-participant-groups section {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(33, 23, 29, 0.25);
}

.outdoor-participant-groups h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  color: var(--brand-ink);
  font-size: 1rem;
}

.outdoor-participant-groups h3 b {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-orange);
  color: var(--brand-ink);
  font-size: 0.82rem;
  font-weight: 950;
}

.outdoor-participant-groups ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.outdoor-participant-groups li {
  color: rgba(33, 23, 29, 0.82);
  font-size: 0.94rem;
  font-weight: 760;
}

.outdoor-participant-groups li:not(:last-child)::after {
  content: "•";
  margin-left: 12px;
  color: var(--brand-orange);
}

@media (max-width: 560px) {
  .outdoor-participant-groups {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.registration-deadline {
  max-width: 640px;
  margin: 22px auto 0;
  color: rgba(33, 23, 29, 0.76);
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.45;
  text-align: center;
}

.nature-word-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.nature-word-strip span {
  display: grid;
  gap: 2px;
  min-width: 104px;
  padding: 11px 13px;
  border: 2px solid rgba(33, 23, 29, 0.2);
  border-radius: 10px;
  background: var(--brand-white);
}

.nature-word-strip b {
  color: var(--brand-ink);
  font-size: 1rem;
}

.nature-word-strip small {
  color: rgba(33, 23, 29, 0.67);
  font-size: 0.78rem;
  font-weight: 760;
}

.event-ad {
  position: fixed;
  top: 12px;
  right: 12px;
  left: 12px;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(680px, calc(100% - 24px));
  margin: 0 auto;
  padding: clamp(18px, 4vw, 28px) clamp(18px, 4vw, 28px) clamp(18px, 4vw, 28px);
  color: var(--brand-ink);
  text-decoration: none;
  overflow: hidden;
}

.has-visible-offer .event-page {
  padding-top: clamp(190px, 24vw, 230px);
}

.event-ad[data-ad-enabled="false"] {
  display: none;
}

.event-ad.is-dismissed {
  display: none !important;
}

.event-ad-vi {
  display: none;
}

[data-lang="vi"] .event-ad-en {
  display: none;
}

[data-lang="vi"] .event-ad-vi[data-ad-enabled="true"] {
  display: grid;
}

.event-ad::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(246, 210, 67, 0.56), rgba(255, 255, 255, 0) 56%),
    var(--brand-white);
  z-index: 0;
}

.event-ad > * {
  position: relative;
  z-index: 1;
}

.event-ad strong {
  display: block;
  max-width: min(34rem, calc(100% - 48px));
  font-size: clamp(1.4rem, 3.7vw, 2.65rem);
  font-weight: 950;
  line-height: 0.98;
}

.event-ad p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 12px 0 0;
  color: rgba(33, 23, 29, 0.72);
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  font-weight: 800;
}

.event-ad del {
  color: rgba(33, 23, 29, 0.48);
  font-weight: 850;
}

.event-ad b {
  color: var(--brand-orange);
  font-size: 1.35em;
  font-weight: 950;
}

.event-ad-action {
  display: inline-grid;
  grid-template-columns: auto 18px;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border: 3px solid var(--brand-ink);
  border-radius: 16px;
  background: var(--brand-orange);
  color: var(--brand-ink);
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 5px 5px 0 var(--brand-ink);
}

.event-ad-action::after {
  content: "";
  width: 11px;
  height: 11px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
}

.event-ad-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(33, 23, 29, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.event-ad-close::before,
.event-ad-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand-ink);
}

.event-ad-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.event-ad-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.event-offer-chip {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 31;
  min-height: 42px;
  border: 3px solid var(--brand-ink);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--brand-orange);
  color: var(--brand-ink);
  box-shadow: 4px 4px 0 var(--brand-ink);
  font-weight: 950;
  cursor: pointer;
}

.event-flow {
  display: grid;
  gap: 14px;
}

.event-flow h2 {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(1.45rem, 4vw, 2.25rem);
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.check-in-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 5vw, 52px);
  align-items: start;
  padding: clamp(20px, 4vw, 42px);
}

.form-copy h1,
.welcome-back h1,
.event-hero h1 {
  font-size: clamp(2.35rem, 6vw, 5.2rem);
}

/* Registration headlines can be much longer than the standard welcome copy. */
.registration-flow .form-copy h1 {
  max-width: 100%;
  font-size: clamp(2.1rem, 4.2vw, 3.9rem);
  overflow-wrap: anywhere;
}

.check-in-form {
  display: grid;
  gap: 16px;
}

.field,
.choice-field,
.consent-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field span,
.choice-field legend {
  color: var(--brand-ink);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.2;
}

.choice-field legend {
  margin-bottom: 10px;
}

.field input,
.field select {
  width: 100%;
  height: 52px;
  border: 3px solid rgba(33, 23, 29, 0.22);
  border-radius: 16px;
  padding: 0 15px;
  background: #fffaf0;
  color: var(--brand-ink);
  line-height: 1.1;
  outline: none;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--brand-ink) 50%),
    linear-gradient(135deg, var(--brand-ink) 50%, transparent 50%);
  background-position:
    calc(100% - 23px) 50%,
    calc(100% - 16px) 50%;
  background-repeat: no-repeat;
  background-size: 7px 7px;
  padding-right: 42px;
}

.field input:focus,
.field select:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(255, 115, 0, 0.18);
}

.field.has-error input,
.field.has-error select,
.choice-field.has-error .segmented {
  border-color: #b42318;
}

.field-error {
  min-height: 18px;
  color: #b42318;
  font-size: 0.84rem;
  font-weight: 800;
}

.field-group {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1fr);
  gap: 14px;
}

[data-lang="vi"] .channel-field,
[data-lang="vi"] .lessons-field {
  display: none;
}

[data-lang="vi"] .field-group {
  grid-template-columns: 1fr;
}

.choice-field {
  margin: 0;
  padding: 0;
  border: 0;
  gap: 10px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border-radius: 18px;
}

.segmented label {
  min-width: 0;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: grid;
  min-height: 52px;
  place-items: center;
  border: 3px solid rgba(33, 23, 29, 0.22);
  border-radius: 16px;
  background: #fffaf0;
  font-weight: 900;
}

.segmented input:checked + span {
  border-color: var(--brand-ink);
  background: var(--brand-yellow);
  box-shadow: inset 0 -4px 0 rgba(255, 115, 0, 0.32);
}

.consent-choice {
  margin-top: 2px;
}

.consent-choice p {
  margin: 0;
  color: rgba(33, 23, 29, 0.66);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.35;
}

.consent-field {
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin-top: 2px;
  padding: 14px;
  border: 3px solid rgba(33, 23, 29, 0.2);
  border-radius: 18px;
  background: #fffaf0;
  color: rgba(33, 23, 29, 0.82);
  font-size: 0.95rem;
  line-height: 1.45;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.consent-field span {
  display: grid;
  gap: 3px;
}

.consent-field strong {
  display: block;
  color: var(--brand-ink);
  font-size: 1rem;
  line-height: 1.1;
}

.consent-field input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--brand-orange);
}

.consent-field:has(input:checked) {
  border-color: var(--brand-ink);
  background: rgba(246, 210, 67, 0.2);
  box-shadow: inset 0 -4px 0 rgba(255, 115, 0, 0.18);
}

.consent-field:has(input:focus-visible) {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(255, 115, 0, 0.18);
}

.primary-action,
.secondary-action {
  min-height: 54px;
  border: 3px solid var(--brand-ink);
  border-radius: 16px;
  padding: 0 18px;
  font-weight: 950;
  text-align: center;
}

.primary-action {
  color: var(--brand-white);
  background: var(--brand-ink);
  box-shadow: 5px 5px 0 var(--brand-orange);
}

.secondary-action {
  color: var(--brand-ink);
  background: var(--brand-white);
}

.full-width {
  width: 100%;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-weight: 850;
}

.form-status.is-error {
  color: #b42318;
}

.form-status.is-success {
  color: #087443;
}

.registration-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 14px;
  border: 3px solid var(--brand-ink);
  border-radius: 999px;
  background: var(--brand-white);
  box-shadow: 5px 5px 0 var(--brand-orange);
  color: var(--brand-ink);
  font-weight: 900;
  text-align: center;
}

.registration-count strong {
  display: inline-grid;
  min-width: 32px;
  min-height: 32px;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-yellow);
  color: var(--brand-ink);
  font-size: 1rem;
  line-height: 1;
}

.registration-count span {
  font-size: 0.92rem;
  line-height: 1.15;
}

.full-notice {
  display: grid;
  gap: 6px;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 16px;
  border: 3px solid var(--brand-ink);
  border-radius: 18px;
  background: var(--brand-white);
  box-shadow: 5px 5px 0 var(--brand-orange);
  color: var(--brand-ink);
  text-align: center;
}

.full-notice strong {
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  font-weight: 950;
  line-height: 1.05;
}

.full-notice p {
  margin: 0;
  color: rgba(33, 23, 29, 0.74);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.event-date-card,
.returning-registration {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  padding: 16px;
  border: 3px solid rgba(33, 23, 29, 0.16);
  border-radius: 18px;
  background: #fffaf0;
  box-shadow: 5px 5px 0 rgba(255, 115, 0, 0.18);
  color: var(--brand-ink);
}

.event-date-card span,
.returning-registration .kicker {
  margin: 0;
  color: var(--brand-orange);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.event-date-card strong {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 950;
  line-height: 1.05;
}

.event-date-card p,
.returning-registration p {
  margin: 0;
  color: rgba(33, 23, 29, 0.72);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.workshop-group-photo {
  display: block;
  margin: 18px 0 0;
  overflow: hidden;
  border: 3px solid var(--brand-ink);
  border-radius: 18px;
  background: #fffaf0;
  box-shadow: 5px 5px 0 var(--brand-orange);
}

.workshop-group-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.workshop-registration-card {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding: 16px;
  border: 3px solid var(--brand-ink);
  border-radius: 18px;
  background: rgba(246, 210, 67, 0.28);
  box-shadow: 5px 5px 0 var(--brand-orange);
  color: var(--brand-ink);
}

.activity-editor-image {
  width: min(100%, 1040px);
  margin: 32px auto;
  overflow: hidden;
  border: 4px solid var(--brand-ink);
  border-radius: 12px;
  background: #fff;
  box-shadow: 9px 9px 0 var(--brand-orange);
}

.activity-editor-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.workshop-registration-card > span {
  color: var(--brand-orange);
  font-size: 0.77rem;
  font-weight: 950;
  text-transform: uppercase;
}

.workshop-registration-card strong {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 950;
  line-height: 1.05;
}

.workshop-registration-activities {
  display: grid;
  gap: 6px;
  margin: 4px 0 2px;
  padding-left: 20px;
  color: rgba(33, 23, 29, 0.82);
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.35;
}

.workshop-registration-activities li::marker {
  color: var(--brand-orange);
}

.workshop-registration-card p {
  margin: 0;
  color: rgba(33, 23, 29, 0.78);
  font-size: 0.96rem;
  font-weight: 760;
  line-height: 1.4;
}

.workshop-registration-map {
  width: fit-content;
  color: var(--brand-ink);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--brand-orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.workshop-registration-map:hover,
.workshop-registration-map:focus-visible {
  color: var(--brand-orange);
}

.workshop-registration-card .workshop-registration-fee {
  color: var(--brand-ink);
  font-weight: 950;
}

.workshop-registration-fee-notice {
  color: #b42318;
}

.workshop-registration-card .workshop-registration-deadline {
  padding-top: 7px;
  border-top: 2px solid rgba(33, 23, 29, 0.16);
  font-size: 0.87rem;
}

.payment-panel {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 4vw, 26px);
  border: 3px solid var(--brand-ink);
  border-radius: 18px;
  background: rgba(246, 210, 67, 0.2);
  box-shadow: 5px 5px 0 var(--brand-orange);
  color: var(--brand-ink);
}

.payment-panel-copy {
  display: grid;
  gap: 8px;
}

.payment-method-field,
.payment-transfer-details {
  display: grid;
  gap: 14px;
}

.payment-cash-note {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid var(--brand-orange);
  background: rgba(246, 210, 67, 0.24);
  font-weight: 800;
  line-height: 1.45;
}

.payment-panel-copy .kicker {
  margin: 0;
}

.payment-panel h2,
.payment-panel p {
  margin: 0;
}

.payment-panel h2 {
  font-size: clamp(1.55rem, 5vw, 2.1rem);
  font-weight: 950;
  line-height: 1.04;
}

.payment-panel-copy > p:last-child,
.payment-bank,
.payment-account,
.payment-proof-field .field-help {
  color: rgba(33, 23, 29, 0.75);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.4;
}

.payment-proof-field .payment-proof-fallback {
  display: block;
  margin-top: 6px;
  color: var(--brand-ink);
  font-weight: 850;
}

.payment-details {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 16px;
  border: 2px solid rgba(33, 23, 29, 0.18);
  border-radius: 14px;
  background: #fffaf0;
  text-align: center;
}

.payment-details img {
  width: min(100%, 260px);
  height: auto;
  border-radius: 8px;
  background: #fff;
}

.payment-amount {
  color: var(--brand-orange);
  font-size: clamp(1.3rem, 4vw, 1.75rem);
  font-weight: 950;
}

.payment-account strong {
  color: var(--brand-ink);
  font-size: 1.05rem;
  letter-spacing: 0;
}

.payment-proof-field input[type="file"] {
  height: auto;
  padding: 10px;
  border-style: dashed;
  font: inherit;
}

.payment-proof-preview {
  width: min(100%, 420px);
  max-height: 320px;
  margin: 0 auto;
  border: 2px solid rgba(33, 23, 29, 0.18);
  border-radius: 12px;
  object-fit: contain;
}

.returning-registration {
  margin: 0 0 4px;
  background: rgba(246, 210, 67, 0.18);
}

.returning-registration h2 {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(1.55rem, 5vw, 2rem);
  font-weight: 950;
  line-height: 1.02;
}

.holding-shell {
  max-width: 720px;
}

.holding-panel {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.holding-panel h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(2.7rem, 8vw, 5.4rem);
  line-height: 0.92;
}

.holding-count {
  margin-top: 4px;
}

.holding-note {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  width: min(100%, 520px);
  margin-top: 8px;
  padding: 15px;
  border: 3px solid rgba(33, 23, 29, 0.16);
  border-radius: 18px;
  background: #fffaf0;
  color: rgba(33, 23, 29, 0.76);
  text-align: left;
}

.holding-note span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 3px solid var(--brand-ink);
  border-radius: 999px;
  background: var(--brand-yellow);
  color: var(--brand-ink);
  font-weight: 950;
}

.holding-note p {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.45;
}

.check-in-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(33, 23, 29, 0.42);
  backdrop-filter: blur(5px);
}

.check-in-overlay[hidden] {
  display: none;
}

.check-in-overlay-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(340px, 100%);
  padding: 30px 24px;
  border: 4px solid var(--brand-ink);
  border-radius: 24px;
  background: var(--brand-white);
  box-shadow: 8px 8px 0 var(--brand-orange);
  text-align: center;
}

.check-in-spinner {
  width: 58px;
  height: 58px;
  border: 7px solid rgba(33, 23, 29, 0.14);
  border-top-color: var(--brand-orange);
  border-radius: 999px;
  animation: check-in-spin 850ms linear infinite;
}

.check-in-overlay-card strong {
  color: var(--brand-ink);
  font-size: clamp(1.35rem, 6vw, 1.8rem);
  font-weight: 950;
  line-height: 1.05;
}

.check-in-overlay-card p {
  margin: 0;
  color: rgba(33, 23, 29, 0.72);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.4;
}

.is-checking-in {
  overflow: hidden;
}

@keyframes check-in-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .check-in-spinner {
    animation-duration: 1.8s;
  }
}

.welcome-back,
.event-hero {
  padding: clamp(22px, 5vw, 46px);
}

.event-feature {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 5vw, 40px);
  background:
    linear-gradient(135deg, rgba(255, 247, 223, 0.92), rgba(255, 255, 255, 0.98)),
    var(--brand-white);
}

.event-feature h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
}

.event-feature p {
  max-width: 620px;
  margin: 0;
  color: rgba(33, 23, 29, 0.76);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.55;
}

.phrase-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 3px solid rgba(33, 23, 29, 0.18);
  border-radius: 20px;
  background: #fffaf0;
}

.phrase-card span {
  color: var(--brand-orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.phrase-card strong {
  color: var(--brand-ink);
  font-size: clamp(1.2rem, 3vw, 2rem);
  line-height: 1.1;
}

.phrase-card small {
  color: rgba(33, 23, 29, 0.68);
  font-size: 0.95rem;
  font-weight: 750;
}

.is-hidden {
  display: none !important;
}

.event-content {
  padding-bottom: 96px;
}

.event-topic-stage {
  display: grid;
}

.event-topic {
  display: grid;
  gap: clamp(16px, 3vw, 28px);
  max-width: 760px;
  margin: 0 auto;
  padding-top: clamp(34px, 7vw, 72px);
  justify-items: center;
  text-align: center;
}

.event-topic[hidden] {
  display: none;
}

.event-topic h3 {
  scroll-margin-top: 18px;
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(2.15rem, 6.6vw, 4.25rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.95;
}

.event-topic-lead {
  max-width: 38rem;
  margin: 0 auto;
  color: rgba(33, 23, 29, 0.78);
  font-size: clamp(1.08rem, 2.8vw, 1.35rem);
  font-weight: 720;
  line-height: 1.45;
}

.event-topic-media {
  display: grid;
  place-items: center;
  width: min(100%, 520px);
  aspect-ratio: 16 / 10;
  margin: 0;
  border: 4px solid var(--brand-ink);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 247, 223, 0.88), rgba(255, 255, 255, 0.98)),
    var(--brand-white);
  box-shadow: 8px 8px 0 var(--brand-orange);
  overflow: hidden;
}

.event-topic-media img {
  width: min(42%, 180px);
  aspect-ratio: 1;
  object-fit: contain;
}

.event-topic-media img.event-topic-photo {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.event-topic-copy {
  display: grid;
  gap: 16px;
  width: min(100%, 620px);
  color: rgba(33, 23, 29, 0.82);
  font-size: clamp(1rem, 2.4vw, 1.14rem);
  line-height: 1.6;
  text-align: left;
}

.event-topic-copy p {
  margin: 0;
}

.event-topic-copy ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-topic-copy li {
  position: relative;
  padding-left: 22px;
  font-weight: 760;
}

.event-topic-copy li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--brand-orange);
}

/* Single-page Sunday Club preview: show the shape of the session without giving away the full lesson. */
.activity-overview-page .event-shell {
  padding-bottom: clamp(52px, 8vw, 88px);
}

.activity-overview-intro {
  margin-bottom: clamp(24px, 4vw, 44px);
}

.activity-overview-card {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.45fr);
  width: min(100%, 1040px);
  margin: 0 auto;
  overflow: hidden;
  border: 5px solid var(--brand-ink);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 10px 10px 0 var(--brand-orange);
}

.activity-overview-details,
.activity-overview-preview {
  min-width: 0;
  padding: clamp(24px, 4vw, 42px);
}

.activity-overview-details {
  border-right: 2px solid rgba(33, 23, 29, 0.16);
  background: rgba(255, 247, 223, 0.74);
}

.activity-overview-label,
.activity-contact-label {
  margin: 0;
  color: var(--brand-orange);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.activity-overview-details dl {
  display: grid;
  gap: 14px;
  margin: 18px 0 30px;
}

.activity-overview-details dl div {
  display: grid;
  gap: 4px;
}

.activity-overview-details dt {
  color: var(--brand-orange);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.activity-overview-details dd {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 850;
  line-height: 1.25;
}

.activity-overview-details dd a {
  display: inline-block;
  margin-left: 6px;
  color: var(--brand-ink);
  font-size: 0.82em;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--brand-orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.activity-overview-details dd a:hover,
.activity-overview-details dd a:focus-visible {
  color: var(--brand-orange);
}

.activity-overview-flow {
  padding-top: 22px;
  border-top: 2px solid rgba(33, 23, 29, 0.15);
}

.activity-overview-flow ol {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.activity-overview-flow li {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}

.activity-overview-flow li span {
  color: var(--brand-orange);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.activity-overview-flow li strong {
  min-width: 0;
  color: var(--brand-ink);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.35;
}

.activity-overview-preview h2 {
  margin: 14px 0 8px;
  color: var(--brand-ink);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.98;
}

.activity-overview-lead {
  max-width: 38rem;
  margin: 0;
  color: rgba(33, 23, 29, 0.75);
  font-size: clamp(1rem, 2vw, 1.13rem);
  font-weight: 700;
  line-height: 1.48;
}

.activity-preview-vocab {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
  border-top: 2px solid rgba(33, 23, 29, 0.14);
  list-style: none;
}

.activity-preview-vocab li {
  display: grid;
  grid-template-columns: 11px minmax(0, 1fr);
  column-gap: 11px;
  row-gap: 2px;
  align-content: start;
  min-width: 0;
  padding: 19px 16px 5px 0;
}

.activity-preview-vocab li::before {
  grid-row: span 2;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--brand-orange);
  content: "";
}

.activity-preview-vocab strong,
.activity-preview-vocab span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.activity-preview-vocab strong {
  color: var(--brand-ink);
  font-size: clamp(1rem, 2.2vw, 1.16rem);
  line-height: 1.2;
}

.activity-preview-vocab span {
  color: rgba(33, 23, 29, 0.66);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}

.activity-mini-game {
  margin: 24px 0 0;
  color: rgba(33, 23, 29, 0.78);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}

.activity-mini-game > span:first-child {
  margin-right: 5px;
  color: var(--brand-orange);
}

.activity-mini-game strong {
  color: var(--brand-ink);
}

.activity-contact {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1040px);
  margin: 34px auto 0;
  padding: 18px 24px;
  border: 4px solid var(--brand-ink);
  border-radius: 22px;
  background: var(--brand-ink);
  box-shadow: 7px 7px 0 var(--brand-orange);
}

.activity-contact p:not(.activity-contact-label) {
  margin: 5px 0 0;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.activity-contact-label {
  color: #ffb36e;
}

.activity-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.activity-contact-links a {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 850;
  text-decoration-color: var(--brand-orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

@media (max-width: 720px) {
  .activity-overview-card {
    grid-template-columns: 1fr;
    border-radius: 24px;
    box-shadow: 7px 7px 0 var(--brand-orange);
  }

  .activity-overview-details {
    border-right: 0;
    border-bottom: 2px solid rgba(33, 23, 29, 0.16);
  }

  .activity-overview-details,
  .activity-overview-preview {
    padding: 26px 22px;
  }

  .activity-preview-vocab {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .activity-preview-vocab li {
    padding: 16px 0 0;
  }

  .activity-contact {
    display: grid;
    padding: 20px;
  }

  .activity-contact-links {
    justify-content: flex-start;
  }
}

.lesson-section {
  display: grid;
  gap: 12px;
  padding-top: 12px;
}

.lesson-section + .lesson-section {
  margin-top: 14px;
}

.lesson-section h4 {
  margin: 0;
  color: var(--brand-orange);
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
}

.lesson-word-list,
.lesson-lines {
  display: grid;
  gap: 10px;
}

.lesson-vocab-table {
  display: grid;
  overflow: hidden;
  border: 2px solid rgba(33, 23, 29, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.lesson-vocab-table p,
.lesson-vocab-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 0;
  margin: 0;
  border-bottom: 2px solid rgba(33, 23, 29, 0.1);
}

.lesson-vocab-table p:last-child {
  border-bottom: 0;
}

.lesson-vocab-table span,
.lesson-vocab-table strong,
.lesson-vocab-table em {
  min-width: 0;
  padding: 11px 10px;
  border-right: 2px solid rgba(33, 23, 29, 0.08);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.lesson-vocab-table span:last-child,
.lesson-vocab-table strong:last-child,
.lesson-vocab-table em:last-child {
  border-right: 0;
}

.lesson-vocab-head {
  background: rgba(246, 210, 67, 0.28);
  color: var(--brand-ink);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.lesson-vocab-table strong {
  color: var(--brand-ink);
  font-size: 1.02rem;
}

.lesson-vocab-table em {
  color: rgba(33, 23, 29, 0.68);
  font-style: normal;
  font-weight: 780;
}

.lesson-word-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lesson-word-list p,
.lesson-lines p {
  display: grid;
  gap: 2px;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(33, 23, 29, 0.1);
}

.lesson-word-list strong,
.lesson-lines strong {
  color: var(--brand-ink);
  font-size: clamp(1.06rem, 3vw, 1.25rem);
  line-height: 1.15;
}

.lesson-word-list span,
.lesson-lines span {
  color: rgba(33, 23, 29, 0.66);
  font-weight: 760;
  line-height: 1.35;
}

.lesson-lines small {
  color: rgba(33, 23, 29, 0.72);
  font-size: 0.94rem;
  font-weight: 720;
  line-height: 1.4;
}

.lesson-section blockquote {
  margin: 0;
  padding-left: 16px;
  border-left: 4px solid var(--brand-orange);
}

.lesson-section blockquote p {
  margin: 0 0 4px;
  color: var(--brand-ink);
  font-size: clamp(1.15rem, 3.2vw, 1.42rem);
  font-weight: 900;
  line-height: 1.22;
}

.lesson-section blockquote cite {
  color: rgba(33, 23, 29, 0.68);
  font-style: normal;
  font-weight: 760;
}

@media (max-width: 520px) {
  .lesson-word-list {
    grid-template-columns: 1fr;
  }

  .lesson-vocab-table p,
  .lesson-vocab-head {
    grid-template-columns: 1fr;
  }

  .lesson-vocab-table span,
  .lesson-vocab-table strong,
  .lesson-vocab-table em {
    border-right: 0;
    padding: 8px 10px;
  }

  .lesson-vocab-table strong,
  .lesson-vocab-table em {
    padding-top: 0;
  }

  .lesson-vocab-head span:nth-child(2),
  .lesson-vocab-head span:nth-child(3) {
    display: none;
  }
}

.phrase-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.phrase-strip span {
  display: inline-flex;
  padding: 7px 10px;
  border: 2px solid rgba(33, 23, 29, 0.16);
  border-radius: 999px;
  background: #fffaf0;
  color: var(--brand-ink);
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: none;
}

.flashcard-game {
  display: grid;
  gap: 12px;
  margin: 4px 0 2px;
  padding: 16px;
  border: 3px solid var(--brand-ink);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 247, 223, 0.92), rgba(255, 255, 255, 0.98)),
    var(--brand-white);
  box-shadow: 7px 7px 0 var(--brand-orange);
}

.flashcard-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--brand-orange);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.flashcard-card {
  display: grid;
  gap: 7px;
  width: 100%;
  min-height: 152px;
  padding: clamp(18px, 5vw, 28px);
  border: 3px solid var(--brand-ink);
  border-radius: 18px;
  background: var(--brand-yellow);
  color: var(--brand-ink);
  text-align: center;
  box-shadow: inset 0 -8px 0 rgba(255, 115, 0, 0.2);
}

.flashcard-card.is-revealed {
  background: var(--brand-white);
}

.flashcard-kicker {
  color: rgba(33, 23, 29, 0.64);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.flashcard-card strong {
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: 0.95;
}

.flashcard-card > span:last-child {
  color: rgba(33, 23, 29, 0.72);
  font-weight: 850;
}

.flashcard-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.flashcard-actions button {
  min-height: 48px;
  padding: 10px 12px;
  border: 3px solid var(--brand-ink);
  border-radius: 999px;
  background: var(--brand-white);
  color: var(--brand-ink);
  font-weight: 950;
}

.flashcard-actions button:last-child {
  background: var(--brand-ink);
  color: var(--brand-white);
}

.contact-panel {
  display: grid;
  gap: 12px;
  width: min(100%, 520px);
}

.contact-card {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 3px solid var(--brand-ink);
  border-radius: 18px;
  background: var(--brand-white);
  color: var(--brand-ink);
  text-align: left;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--brand-orange);
}

.contact-card span {
  color: var(--brand-orange);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: clamp(1rem, 3vw, 1.28rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.contact-card:focus-visible {
  outline: 4px solid rgba(255, 115, 0, 0.3);
  outline-offset: 3px;
}

.event-drawer {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 20;
  width: min(680px, calc(100% - 24px));
  margin: 0 auto;
  border: 4px solid var(--brand-ink);
  border-radius: 24px;
  background: var(--brand-white);
  box-shadow: 8px 8px 0 var(--brand-orange);
  overflow: hidden;
}

.event-drawer-toggle {
  position: relative;
  display: grid;
  gap: 3px;
  width: 100%;
  border: 0;
  padding: 14px 56px 14px 18px;
  background: var(--brand-ink);
  color: var(--brand-white);
  text-align: left;
  cursor: pointer;
}

.event-drawer-toggle span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-drawer-toggle strong {
  font-size: clamp(1.02rem, 3vw, 1.22rem);
  line-height: 1.05;
}

.event-drawer-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 12px;
  height: 12px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
  transform: translateY(-25%) rotate(45deg);
  transition: transform 160ms ease;
}

.event-drawer[data-open="true"] .event-drawer-toggle::after {
  transform: translateY(-70%) rotate(225deg);
}

.event-drawer-menu {
  display: grid;
  max-height: 0;
  overflow: hidden;
  transition: max-height 180ms ease;
}

.event-drawer[data-open="true"] .event-drawer-menu {
  max-height: 360px;
}

.event-drawer-menu button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  border-top: 2px solid rgba(33, 23, 29, 0.1);
  padding: 14px 18px;
  background: var(--brand-white);
  color: var(--brand-ink);
  text-align: left;
  cursor: pointer;
}

.event-drawer-menu button.is-active {
  background: #fff7df;
}

.event-drawer-menu button span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(33, 23, 29, 0.18);
  border-radius: 999px;
  color: var(--brand-orange);
  font-weight: 950;
}

.event-drawer-menu button .drawer-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-drawer-menu button.is-active span {
  border-color: var(--brand-ink);
  background: var(--brand-yellow);
  color: var(--brand-ink);
}

.event-drawer-menu button strong {
  font-size: 1rem;
  line-height: 1.15;
}

@media (max-width: 1080px) {
  .scan-hero {
    align-content: start;
    min-height: calc(100vh - 36px);
  }

  .scan-layout {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .scan-copy {
    max-width: 760px;
  }

  .scan-copy h1 {
    max-width: 760px;
    font-size: clamp(3.2rem, 9vw, 6rem);
  }

  .qr-card {
    width: min(460px, 100%);
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .check-in-panel {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .field-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .staff-page {
    padding: 14px;
  }

  .staff-shell {
    padding: 20px;
    border-radius: 24px;
    box-shadow: 8px 8px 0 var(--brand-ink), 0 18px 54px var(--brand-shadow);
  }

  .staff-header {
    align-items: flex-start;
  }

  .staff-summary-grid,
  .staff-audience-grid {
    grid-template-columns: 1fr;
  }

  .scan-display {
    min-height: 100svh;
    padding: 8px;
  }

  .scan-hero {
    width: 100%;
    min-height: calc(100svh - 16px);
    grid-template-rows: auto auto auto;
    align-content: center;
    justify-items: center;
    gap: clamp(14px, 2.8svh, 26px);
    padding: clamp(14px, 3.5vw, 20px) 12px;
    border-width: 4px;
    border-radius: 22px;
    box-shadow: 5px 5px 0 var(--brand-ink);
  }

  .brand-lockup {
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
  }

  .brand-lockup img {
    width: clamp(138px, 40vw, 164px);
  }

  .eyebrow,
  .kicker {
    font-size: 0.72rem;
  }

  .brand-lockup .eyebrow {
    max-width: 18rem;
    font-size: clamp(0.82rem, 3.4vw, 1rem);
    line-height: 1.1;
  }

  .brand-name {
    display: none;
  }

  .scan-layout {
    grid-template-columns: 1fr;
    align-self: auto;
    align-items: center;
    justify-items: center;
    gap: clamp(14px, 2.5svh, 22px);
    width: 100%;
  }

  .scan-copy {
    width: min(100%, 400px);
    max-width: 100%;
    text-align: center;
  }

  .scan-copy h1 {
    margin: 0;
    max-width: 100%;
    font-size: clamp(2.62rem, 11.5vw, 3.25rem);
    line-height: 0.9;
  }

  .scan-copy .intro {
    max-width: 21rem;
    margin: 14px auto 0;
    font-size: clamp(0.92rem, 3.5vw, 1.04rem);
    line-height: 1.35;
    white-space: nowrap;
  }

  .scan-copy .kicker {
    display: none;
  }

  .flow-page,
  .event-page {
    padding: 12px;
  }

  .check-in-flow {
    padding: 14px;
  }

  .flow-shell,
  .event-shell {
    border-radius: 24px;
    box-shadow: 8px 8px 0 var(--brand-ink);
  }

  .check-in-flow .flow-shell {
    border-radius: 0;
    box-shadow: none;
  }

  .event-shell {
    border-radius: 0;
    box-shadow: none;
  }

  .check-in-flow .flow-brand {
    gap: 6px;
    margin-bottom: 2px;
  }

  .check-in-flow .flow-brand img {
    width: clamp(112px, 34vw, 138px);
  }

  .check-in-flow .flow-brand .brand-name {
    font-size: clamp(1.15rem, 5vw, 1.45rem);
  }

  .check-in-flow .check-in-panel,
  .check-in-flow .welcome-back {
    border-radius: 24px;
    padding: clamp(22px, 6vw, 30px);
    box-shadow: 6px 6px 0 var(--brand-orange);
  }

  .event-ad {
    grid-template-columns: 1fr;
    gap: 16px;
    border-radius: 24px;
    padding: clamp(20px, 6vw, 28px);
    box-shadow: 6px 6px 0 var(--brand-orange);
  }

  .event-ad-action {
    width: 100%;
    justify-content: center;
  }

  .check-in-flow .form-copy h1,
  .check-in-flow .welcome-back h1 {
    font-size: clamp(2.45rem, 12vw, 3.45rem);
    line-height: 0.94;
  }

  .check-in-flow .intro.compact {
    margin-top: 14px;
    line-height: 1.45;
  }

  .check-in-flow .check-in-form {
    gap: 14px;
  }

  .details {
    grid-template-columns: 1fr;
  }

  .qr-card {
    --qr-size: min(310px, 82vw);
    width: 100%;
    justify-items: center;
    gap: 16px;
    margin-top: 0;
  }

  .language-toggle {
    margin-top: 0;
    padding: 5px;
    border-width: 2px;
    border-radius: 16px;
    box-shadow: 4px 4px 0 var(--brand-orange);
  }

  .language-toggle button {
    min-height: 38px;
    gap: 6px;
    font-size: 0.8rem;
  }

  .qr-frame {
    padding: 12px;
    border-width: 4px;
    border-radius: 22px;
    box-shadow: 5px 5px 0 var(--brand-orange);
  }

  .qr-card a {
    font-size: 0.9rem;
    border-bottom-width: 2px;
  }

  .qr-badge {
    width: 42px;
    height: 42px;
    border-width: 4px;
  }
}

@media (max-width: 640px) and (max-height: 780px) {
  .scan-hero {
    gap: 16px;
    padding: 14px;
  }

  .brand-lockup {
    gap: 8px;
  }

  .brand-lockup img {
    width: clamp(118px, 34vw, 138px);
  }

  .brand-lockup .eyebrow {
    font-size: clamp(0.74rem, 3vw, 0.88rem);
  }

  .scan-copy h1 {
    font-size: clamp(2.45rem, 11.2vw, 3.05rem);
  }

  .scan-copy .intro {
    margin-top: 12px;
    font-size: 0.94rem;
  }

  .qr-card {
    --qr-size: min(278px, 76vw);
    gap: 14px;
  }

  .qr-frame {
    padding: 10px;
  }

  .language-toggle {
    margin-top: 0;
  }
}
.event-draft-preview-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px clamp(18px, 4vw, 56px);
  border-bottom: 3px solid #21171d;
  background: #f6d243;
  color: #21171d;
  font-family: Arial, sans-serif;
}
.event-draft-preview-bar > div { display: grid; gap: 2px; }
.event-draft-preview-bar strong { font-size: 1rem; font-weight: 900; }
.event-draft-preview-bar span { font-size: .88rem; font-weight: 700; }
.event-draft-preview-bar nav { display: flex; align-items: center; gap: 10px; }
.event-draft-preview-bar a,
.event-draft-preview-bar button {
  border: 2px solid #21171d;
  border-radius: 8px;
  padding: 9px 13px;
  background: #fff;
  color: #21171d;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
}
.event-draft-preview-bar button { background: #21171d; color: #fff; box-shadow: 3px 3px 0 #ff7300; }
.event-draft-preview-bar button:disabled { opacity: .65; cursor: wait; }
.flow-purpose-note {
  margin: -4px 0 18px;
  border-left: 5px solid #ff7300;
  border-radius: 0 10px 10px 0;
  padding: 11px 14px;
  background: #fff7df;
  color: rgba(33, 23, 29, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.4;
}
@media (max-width: 700px) {
  .event-draft-preview-bar { position: relative; align-items: stretch; display: grid; }
  .event-draft-preview-bar nav { display: grid; grid-template-columns: 1fr 1fr; }
  .event-draft-preview-bar a, .event-draft-preview-bar button { text-align: center; }
}
