/* 1000GENZER — event deck. Official palette, one geometric sans, red only on pills, CTAs, and portrait rings. */
:root {
  --royal: #0d3fb5;
  --navy: #061e5c;
  --ice: #eef3fb;
  --red: #c8161e;
  --white: #ffffff;
  --ink: #061e5c;
  --muted: #3c4e78;
  --line: #d4e0f4;
  --font: "Be Vietnam Pro", "Segoe UI", sans-serif;
  --measure: 40rem;
  --max: 72rem;
  --pad: clamp(1.15rem, 4vw, 2.4rem);
  --bar: 4.5rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ice);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--royal); }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--royal);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--pad);
  top: -4rem;
  background: var(--white);
  color: var(--navy);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 0.5rem; }

.frame {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.measure { max-width: var(--measure); }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; }

p { margin: 0.8rem 0; }

.bar {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.bar-row {
  min-height: var(--bar);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand img { width: 9.4rem; height: auto; }

.menu-btn {
  margin-left: auto;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font: 600 0.92rem var(--font);
}

.nav {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--navy);
  padding: 0.6rem var(--pad) 1.1rem;
}

.nav.is-open { display: flex; }

.nav a,
.sub > button {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  background: none;
  border: 0;
  padding: 0.55rem 0;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}

.sub-list {
  display: none;
  padding: 0 0 0.4rem 0.8rem;
}
.sub-list.is-open { display: grid; }
.sub-list a { font-weight: 500; color: #d5e4ff; }

.nav a.pill,
.nav .pill {
  background: var(--red);
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  border: 0;
  line-height: 1.1;
}
.pill:hover { color: var(--white) !important; background: #a51219; }
.pill-ghost {
  background: transparent;
  color: var(--royal) !important;
  box-shadow: inset 0 0 0 1.5px var(--royal);
}
.pill-ghost:hover { background: var(--white); color: var(--navy) !important; }
.pill-status { background: var(--navy); cursor: default; }

.when-full, .when-ended, .when-closed, .when-soon, .when-wait { display: none; }
html[data-reg="full"] .when-open,
html[data-reg="ended"] .when-open,
html[data-reg="closed"] .when-open,
html[data-reg="soon"] .when-open { display: none; }
html[data-reg="full"] .when-full,
html[data-reg="ended"] .when-ended,
html[data-reg="closed"] .when-closed,
html[data-reg="soon"] .when-soon,
html[data-reg="waitlist"] .when-wait { display: inline-flex; }

.hero, .sheet, .band { padding: clamp(2.2rem, 6vw, 4.4rem) 0; }

.hero-grid, .split {
  display: grid;
  gap: 1.8rem;
}

.hero h1 { color: var(--navy); }
.lede {
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--royal);
  max-width: 22em;
}
.slogan { font-weight: 600; color: var(--navy); }

.logo-2 { width: min(100%, 28rem); margin-inline: auto; }

.card {
  background: var(--white);
  border-radius: 1.25rem;
  padding: clamp(1rem, 2vw, 1.4rem);
}

.workshop-grid {
  display: grid;
  gap: 1.4rem;
  align-items: start;
}
.poster {
  border-radius: 1rem;
  width: 100%;
  height: auto;
}
.kicker {
  display: inline-flex;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}
.facts { margin: 1rem 0 0; padding: 0; }
.facts div { padding: 0.55rem 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.facts dd { margin: 0.1rem 0 0; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.1rem; }

.status-line { font-weight: 700; margin: 0.8rem 0 0; }
html[data-reg="open"] .status-line { color: var(--royal); }
html[data-reg="full"] .status-line { color: var(--red); }

.people {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  margin: 1.2rem 0 1.6rem;
}
.person { margin: 0; }
.person img {
  width: 8.5rem;
  height: 8.5rem;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--red);
}
.person figcaption { margin-top: 0.7rem; }
.person strong { display: block; font-weight: 800; letter-spacing: -0.02em; }
.person span, .role { color: var(--muted); font-size: 0.95rem; }
.advisor img {
  width: 8.5rem;
  height: 8.5rem;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--red);
}
.advisor {
  background: var(--navy);
  color: var(--white);
  border-radius: 1.25rem;
  padding: 1.1rem;
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}
.advisor .role { color: #c9d7f5; }
.advisor ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }

.acc { background: var(--white); border-radius: 1rem; margin: 0.65rem 0; scroll-margin-top: calc(var(--bar) + 0.6rem); }
.acc button {
  width: 100%;
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  text-align: left;
  background: none;
  border: 0;
  padding: 1rem 1.1rem;
  font: 800 1.05rem/1.3 var(--font);
  letter-spacing: -0.02em;
  color: var(--navy);
  cursor: pointer;
}
.acc-no { color: var(--royal); font-variant-numeric: tabular-nums; min-width: 1.6rem; }
.acc-panel { padding: 0 1.1rem 1.15rem 2.7rem; }
.acc-panel[hidden] { display: none; }
.acc-panel h3 { margin: 1.1rem 0 0.3rem; font-size: 1.05rem; }
.quote {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--royal);
  font-size: 1.15rem;
  line-height: 1.35;
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.steps li {
  background: var(--white);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
}
.steps b {
  color: var(--red);
  font-size: 0.85rem;
}

.speakers { display: grid; gap: 1rem; }
.speaker {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 1rem;
}
.speaker img {
  width: 9.5rem;
  height: 9.5rem;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--red);
}
.pull {
  font-weight: 600;
  color: var(--navy);
  border-left: 3px solid var(--red);
  padding-left: 0.8rem;
}

.partner-band {
  background: var(--royal);
  color: var(--white);
  border-radius: 1.25rem;
  padding: 1.2rem;
}
.partner-band h2, .partner-band p { color: var(--white); }
.partner-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 1.25rem;
}
.partner-row img {
  height: 4.25rem;
  width: auto;
  max-width: 13.5rem;
  object-fit: contain;
  background: #fff;
  border-radius: 0.85rem;
  padding: 0.35rem 0.7rem;
  box-sizing: border-box;
}

.prose ul { padding-left: 1.15rem; }
.prose li { margin: 0.25rem 0; }

.form-wrap { max-width: 38rem; }
form label, form fieldset { display: grid; gap: 0.35rem; margin: 0 0 0.95rem; font-weight: 600; }
form fieldset { border: 0; padding: 0; }
form legend { font-weight: 600; padding: 0; }
input, select, textarea {
  font: 400 1rem/1.4 var(--font);
  color: var(--ink);
  background: var(--white);
  border: 1px solid #b9c9e6;
  border-radius: 0.7rem;
  padding: 0.7rem 0.8rem;
  width: 100%;
}
textarea { min-height: 6.5rem; resize: vertical; }
.check { display: flex; gap: 0.55rem; align-items: flex-start; font-weight: 500; }
.check input { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; }
.field-error { color: var(--red); font-weight: 600; font-size: 0.9rem; }
.form-error { color: var(--red); font-weight: 700; }
.hp { position: absolute; left: -9999px; }

.reg-note[hidden], .reg-form[hidden] { display: none; }
html[data-reg="full"] .reg-form,
html[data-reg="ended"] .reg-form,
html[data-reg="closed"] .reg-form,
html[data-reg="soon"] .reg-form { display: none; }
html[data-reg="open"] .reg-shut,
html[data-reg="waitlist"] .reg-shut { display: none; }

.slots { margin: 0.6rem 0 0; font-weight: 700; color: var(--navy); }
.slots b {
  display: inline-block;
  min-width: 2ch;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.gate-note { margin: 0.4rem 0 0; }

.countdown {
  margin: 1rem 0 0.2rem;
  min-height: 7.25rem;
}
.countdown-band {
  background: var(--white);
  color: var(--navy);
  border-radius: 1rem;
  padding: 0.9rem 1rem 1rem;
}
.countdown-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.2rem;
  min-height: 4.5rem;
}
.countdown-minimal { background: transparent; padding: 0; }
.countdown-label { margin: 0 0 0.55rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.78rem; }
.countdown-inline .countdown-label { margin: 0; }
.countdown-clock { display: flex; gap: 0.7rem; }
.countdown-clock span { display: grid; justify-items: center; gap: 0.15rem; }
.countdown-clock b {
  display: block;
  min-width: 2.6ch;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  line-height: 1;
  text-align: center;
  color: var(--royal);
}
.countdown-clock [data-cd="d"] { min-width: 3.2ch; }
.countdown-clock small { font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); }
.countdown-done { margin: 0.7rem 0 0; font-weight: 700; }
.countdown-cta { margin-top: 0.7rem; }

.site-footer {
  background: var(--navy);
  color: #d7e3ff;
  padding: 2rem 0 2.4rem;
}
.site-footer a { color: var(--white); text-decoration: none; font-weight: 600; }

.site-footer { padding: 2.4rem 0 1.4rem; }
.foot-main { display: grid; gap: 1.6rem; align-items: start; }
.foot-brand { display: grid; gap: 0.7rem; justify-items: start; }
.foot-brand .brand { display: inline-block; line-height: 0; }
.foot-tag { margin: 0; color: #d7e3ff; font-weight: 600; }
.foot-h { margin: 0 0 0.7rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #9db4ee; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.foot-list a { display: inline-block; overflow-wrap: anywhere; }
.site-footer a:not(.pill):hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-zalo {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem 1.1rem;
  align-items: center;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(215, 227, 255, 0.24);
  border-radius: 1rem;
}
.foot-zalo .zalo-qr { width: 96px; height: 96px; }
.foot-zalo-text { display: grid; gap: 0.3rem; min-width: 0; }
.foot-zalo-text strong { color: var(--white); line-height: 1.3; }
.foot-zalo-text span { color: #d7e3ff; font-size: 0.88rem; line-height: 1.5; }
.foot-zalo-btn { grid-column: 1 / -1; justify-self: stretch; text-align: center; }
.foot-bottom { margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid rgba(215, 227, 255, 0.22); font-size: 0.88rem; }
@media (min-width: 560px) {
  .foot-zalo-btn { grid-column: 2; justify-self: start; }
}
@media (min-width: 700px) {
  .foot-main { grid-template-columns: 1fr 1.25fr; grid-template-areas: "brand zalo" "contact zalo"; gap: 1.4rem 2.4rem; }
  .foot-brand { grid-area: brand; }
  .foot-contact { grid-area: contact; }
  .foot-zalo { grid-area: zalo; }
}
@media (min-width: 1000px) {
  .foot-main { grid-template-columns: minmax(11rem, 0.8fr) minmax(15rem, 1fr) minmax(22rem, 1.4fr); grid-template-areas: "brand contact zalo"; gap: 2.4rem; }
}
.zalo-qr { display: block; flex: none; background: var(--white); border-radius: 0.6rem; padding: 0.4rem; box-sizing: content-box; }
.zalo-join { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.4rem; padding: 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; }
.zalo-join .zalo-qr { width: 160px; height: 160px; padding: 0.3rem; border: 1px solid var(--line); }
.zalo-join-text h2 { margin: 0 0 0.4rem; font-size: 1.15rem; color: var(--navy); }
.zalo-join-text p { margin: 0 0 0.8rem; }
@media (max-width: 520px) {
  .zalo-join { flex-direction: column; text-align: center; }
}

@media (min-width: 860px) {
  .menu-btn { display: none; }
  .nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    background: transparent;
    padding: 0;
    margin-left: auto;
    gap: 1.15rem;
  }
  .nav a, .sub > button { padding: 0; }
  .sub { position: relative; }
  .sub-list {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 0;
    min-width: 16rem;
    background: var(--white);
    border-radius: 0.8rem;
    padding: 0.45rem;
    box-shadow: 0 12px 30px rgba(6, 30, 92, 0.16);
  }
  .sub-list a { color: var(--navy); padding: 0.45rem 0.6rem; border-radius: 0.45rem; }
  .sub-list a:hover { background: var(--ice); }
  .sub:hover .sub-list, .sub:focus-within .sub-list { display: grid; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .workshop-grid { grid-template-columns: minmax(16rem, 0.82fr) 1.18fr; }
  .logo-2 { margin-inline: 0 0 auto; }
  .speakers { grid-template-columns: 1fr 1fr; }
  .advisor { grid-template-columns: auto 1fr; align-items: center; padding: 1.3rem 1.4rem; }
}

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

/* registration result: calmer heading scale, consistent rhythm */
[data-result] h1, [data-result-idle] h1 { font-size: clamp(1.75rem, 4.4vw, 2.7rem); line-height: 1.15; margin: 0 0 1rem; }
[data-result] p, [data-result-idle] p { margin: 0 0 0.7rem; }
.zalo-join .pill { display: inline-block; }
