/* =========================================================================
   AI & Software Engineering — Event Landing
   SaveMoney × Duyên Quơ · 02/08/2026
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Ink & surfaces */
  --ink:          #12222F;
  --navy:         #0B1B27;
  --navy-mid:     #0E2233;
  --navy-deep:    #08202C;
  --sand:         #F6F0E6;
  --clay:         #EDE3D2;
  --cream:        #FFFCF6;

  /* Accents */
  --cyan:         #48CFEB;
  --cyan-soft:    #9EE7F7;
  --cyan-deep:    #0E6E86;
  --cyan-dark:    #0B4A5C;
  --amber:        #F2B24C;
  --amber-ink:    #231605;
  --gold:         #F2C97C;
  --brown:        #7A5A32;

  /* Text */
  --text-muted:   #3A4C58;
  --text-clay:    #3F3628;
  --text-onDark:  rgba(240, 247, 250, 0.86);
  --text-onDark-2:rgba(240, 247, 250, 0.78);

  /* Lines */
  --line-dark:    rgba(255, 255, 255, 0.18);
  --line-light:   rgba(18, 34, 47, 0.14);
  --line-field:   rgba(18, 34, 47, 0.25);

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --font-body:    'Be Vietnam Pro', 'Segoe UI', sans-serif;

  /* Rhythm */
  --wrap:         1160px;
  --gutter:       6vw;
  --section-y:    clamp(64px, 9vw, 96px);
  --radius:       12px;
  --header-h:     78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1875rem);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, dl, dd, figure, blockquote, fieldset, legend { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
img { max-width: 100%; display: block; }

img.is-broken { display: none; }   /* set by JS when a photo slot is still empty */

a { color: var(--cyan-deep); text-decoration: none; }
a:hover { color: var(--navy); }

button, input, select, textarea { font: inherit; color: inherit; }

:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--amber);
  color: var(--amber-ink);
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
}

.section {
  padding: var(--section-y) var(--gutter);
}
.section--sand       { background: var(--sand); }
.section--clay       { background: var(--clay); }
.section--cream      { background: var(--cream); }
.section--navy       { background: var(--navy-mid); color: #fff; }
.section--navy-deep  { background: var(--navy);     color: #fff; }

.stack        { display: flex; flex-direction: column; gap: 22px; }
.stack--xs    { gap: 14px; }
.stack--sm    { gap: 16px; }
.stack--lg    { gap: clamp(32px, 4vw, 52px); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.split--venue    { align-items: end; }
.split--speaker  { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; }
.split--register { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.4;
}
.eyebrow--teal  { color: var(--cyan-deep); }
.eyebrow--cyan  { color: var(--cyan); }
.eyebrow--brown { color: var(--brown); }

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.125rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.h2--narrow  { max-width: 26ch; }
.h2--display { font-size: clamp(2.75rem, 1.6rem + 4.6vw, 3.875rem); line-height: 1; }

.prose {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.75;
  color: var(--text-muted);
}
.prose--brown   { color: var(--text-clay); }
.prose--onDark  { color: rgba(240, 247, 250, 0.82); }
.prose--narrow  { max-width: 52ch; }
.prose--tight   { max-width: 58ch; line-height: 1.7; }

.pull-quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 1rem + 1.5vw, 1.625rem);
  line-height: 1.35;
  color: var(--cyan-deep);
}

.link-arrow {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--cyan-deep);
  border-bottom: 1px solid currentColor;
}
.link-arrow:hover { color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--sm  { padding: 12px 22px; font-size: 1rem;    border-radius: 6px; }
.btn--lg  { padding: 19px 34px; font-size: 1.125rem; }
.btn--block { width: 100%; padding: 20px 28px; font-size: 1.125rem; border-radius: 9px; }

.btn--amber { background: var(--amber); color: var(--amber-ink); }
.btn--amber:hover { background: #FFC469; color: var(--amber-ink); box-shadow: 0 10px 28px -14px rgba(242, 178, 76, .9); }

.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; font-weight: 600; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.btn--ink { background: var(--navy-mid); color: #fff; }
.btn--ink:hover { background: #143349; color: #fff; }
.btn--ink[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 27, 39, 0.97);
  backdrop-filter: blur(8px);
  color: #fff;
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: 20px var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
}
.brand:hover { color: #fff; }
.brand__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
}
.brand__logo-accent { color: var(--cyan); }
.brand__divider { width: 1px; height: 22px; background: rgba(255, 255, 255, 0.24); }
.brand__venue {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1875rem;
  color: var(--gold);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  font-size: 1rem;
  white-space: nowrap;
}
.site-nav a { color: rgba(255, 255, 255, 0.82); }
.site-nav a:hover { color: #fff; }
.site-nav a.btn--amber { color: var(--amber-ink); }
.site-nav a[aria-current="true"] { color: #fff; box-shadow: inset 0 -2px 0 var(--cyan); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 10px 16px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 4px; }
.nav-toggle__bars span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(680px, 100svh);
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(8, 22, 33, 0.72)  0%,
    rgba(8, 22, 33, 0.32) 28%,
    rgba(8, 22, 33, 0.82) 72%,
    rgba(8, 22, 33, 0.97) 100%);
}
.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(46% 40% at 82% 20%, rgba(72, 207, 235, 0.26) 0%, rgba(72, 207, 235, 0) 72%);
}

.hero__body {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(72px, 9vw, 110px) var(--gutter) clamp(56px, 7vw, 76px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
}

.eyebrow-pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(72, 207, 235, 0.55);
  background: rgba(72, 207, 235, 0.12);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: clamp(0.8125rem, 0.75rem + 0.2vw, 0.9375rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cyan-soft);
}
.eyebrow-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  flex: none;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 1.1rem + 5.8vw, 4.875rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  max-width: 15ch;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 0.9rem + 1.9vw, 2.125rem);
  color: var(--gold);
  line-height: 1.15;
}

.hero__lede {
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.3125rem);
  line-height: 1.65;
  color: var(--text-onDark);
  max-width: 64ch;
}
.hero__lede strong { color: #fff; font-weight: 600; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 40px);
  margin-top: 22px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}
.fact { display: flex; flex-direction: column; gap: 5px; }
.fact__label {
  font-size: 0.8125rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(72, 207, 235, 0.9);
  font-weight: 600;
}
.fact__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.125rem, 0.9rem + 0.9vw, 1.5rem);
  line-height: 1.25;
}
.fact__value--gold { color: var(--gold); }

/* ---------- Value cards ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.value-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .25s ease, background-color .25s ease;
}
.value-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.08); }
.value-card__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--cyan);
}
.value-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.625rem);
  line-height: 1.2;
}
.value-card__text {
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--text-onDark-2);
}

.value-card--featured {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #08202C;
}
.value-card--featured:hover { background: #5FD8F0; }
.value-card--featured .value-card__num   { color: var(--cyan-dark); }
.value-card--featured .value-card__title { font-weight: 800; }
.value-card--featured .value-card__text  { color: rgba(8, 32, 44, 0.82); }

/* ---------- Venue gallery ---------- */
.venue__address { margin-top: 20px; }
.venue__address strong { font-weight: 600; display: block; }

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 18px;
}
.gallery--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery__stack { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 18px; }

.shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #DCCFB8;   /* graceful base if a photo is missing */
  min-height: 160px;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.shot:hover img { transform: scale(1.03); }
.shot--hero { aspect-ratio: 4 / 3; }
.shot--bare { aspect-ratio: 16 / 9; }

/* The stacked column takes its height from the 4:3 shot beside it, so its
   images must not contribute intrinsic height — otherwise the two columns
   drift out of alignment. */
.gallery__stack { min-height: 0; }
.gallery__stack .shot { min-height: 0; }
.gallery__stack .shot img {
  position: absolute;
  inset: 0;
  object-position: center 58%;
}

.shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(11, 27, 39, 0) 0%, rgba(11, 27, 39, 0.85) 100%);
  color: #fff;
  font-size: clamp(0.875rem, 0.82rem + 0.25vw, 1.0625rem);
  line-height: 1.4;
}
.shot--hero figcaption { padding: 22px 24px; }

/* ---------- Agenda ---------- */
.agenda { border-top: 1px solid var(--line-light); }
.agenda__row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 12px 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-light);
  align-items: baseline;
}
.agenda__time,
.agenda__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1875rem, 1rem + 0.7vw, 1.4375rem);
  line-height: 1.25;
}
.agenda__detail { display: flex; flex-direction: column; gap: 6px; }
.agenda__text {
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  color: var(--text-muted);
}

/* ---------- Speaker ---------- */
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--clay);
}
.portrait.is-missing { border: 1px dashed rgba(18, 34, 47, 0.3); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__fallback {
  display: none;
  position: absolute;
  inset: 0;
  place-content: center;
  text-align: center;
  padding: 24px;
  font-size: 1rem;
  line-height: 1.5;
  color: #6A7A85;
}
.portrait.is-missing img { display: none; }
.portrait.is-missing .portrait__fallback { display: grid; }

.tag-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tag {
  border: 1px solid rgba(18, 34, 47, 0.25);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 500;
}

.host-note {
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.7;
  color: var(--text-muted);
}
.host-note strong { font-weight: 600; color: var(--ink); }

/* ---------- Register: process column ---------- */
.steps { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.step { display: flex; gap: 16px; align-items: baseline; }
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--cyan);
  min-width: 26px;
  flex: none;
}
.step__text { font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem); color: rgba(240, 247, 250, 0.86); }
.step__text strong { color: var(--gold); font-weight: 600; }

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  align-items: center;
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.qr {
  position: relative;
  display: block;
  width: 148px;
  height: 148px;
  flex: none;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  padding: 10px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.qr:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .9); }
.qr img { width: 100%; height: 100%; object-fit: contain; }
.qr.is-missing {
  background: none;
  border: 2px dashed rgba(255, 255, 255, 0.45);
  padding: 12px;
}
.qr.is-missing img { display: none; }
.qr__fallback { display: none; }
.qr.is-missing .qr__fallback {
  display: grid;
  place-content: center;
  height: 100%;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}
.contact-strip__lines { display: flex; flex-direction: column; gap: 8px; font-size: 1.125rem; }
.contact-strip__key { color: var(--cyan); font-weight: 600; }
.contact-strip a { color: rgba(240, 247, 250, 0.9); border-bottom: 1px solid rgba(255, 255, 255, .3); }
.contact-strip a:hover { color: #fff; }

/* ---------- Register: form card ---------- */
.reg-card {
  background: var(--sand);
  color: var(--ink);
  border-radius: 14px;
  padding: clamp(28px, 4vw, 40px) clamp(22px, 3.5vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.reg-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  line-height: 1.15;
}
.reg-card__sub { font-size: 1.0625rem; line-height: 1.6; color: #4A5C68; }
.reg-card__fields { display: flex; flex-direction: column; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field--group { gap: 10px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field__label { font-size: 1rem; font-weight: 600; padding: 0; }
.req { color: #B4432F; }

.field__input {
  border: 1px solid var(--line-field);
  border-radius: 8px;
  padding: 15px 16px;
  font-size: 1.0625rem;
  background: var(--cream);
  color: var(--ink);
  width: 100%;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field__input::placeholder { color: #8B9AA3; }
.field__input:hover { border-color: rgba(18, 34, 47, 0.4); }
.field__input:focus {
  outline: none;
  border-color: var(--cyan-deep);
  box-shadow: 0 0 0 3px rgba(14, 110, 134, 0.18);
}
.field__input--area { resize: vertical; min-height: 96px; }
.field__input--other { margin-top: 2px; }
.field__input--other[hidden] { display: none; }

.field__input[aria-invalid="true"] { border-color: #B4432F; background: #FFF6F3; }
.field__error { font-size: 0.9375rem; color: #97341F; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; }
.pill input {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.pill span {
  display: inline-block;
  border: 1px solid rgba(18, 34, 47, 0.28);
  border-radius: 100px;
  padding: 11px 20px;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.pill:hover span { border-color: var(--cyan-deep); }
.pill input:checked + span {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: #fff;
  font-weight: 600;
}
.pill input:focus-visible + span {
  outline: 3px solid var(--cyan-deep);
  outline-offset: 2px;
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.reg-card__status { font-size: 1rem; line-height: 1.55; text-align: center; }
.reg-card__status:empty { display: none; }
.reg-card__status.is-error { color: #97341F; }
.reg-card__status.is-ok {
  color: #0B4A5C;
  background: rgba(72, 207, 235, 0.16);
  border: 1px solid rgba(14, 110, 134, 0.3);
  border-radius: 8px;
  padding: 14px 16px;
}

.reg-card__deadline {
  font-size: 0.9375rem;
  color: #5A6B76;
  text-align: center;
}
.countdown { display: block; margin-top: 4px; font-weight: 600; color: var(--cyan-deep); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 44px var(--gutter);
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9375rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  justify-content: space-between;
  align-items: center;
}
.site-footer a { color: rgba(255, 255, 255, 0.75); }
.site-footer a:hover { color: #fff; }
.brand--footer .brand__logo { font-size: 1.125rem; }
.brand--footer .brand__venue { font-size: 1rem; }
.brand--footer .brand__divider { height: 18px; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 1; }
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 1080px) {
  .split--speaker { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .agenda__row { grid-template-columns: 170px minmax(0, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }

  .nav-toggle { display: inline-flex; }

  .site-header__inner { flex-wrap: nowrap; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px var(--gutter) 28px;
    background: rgba(11, 27, 39, 0.99);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .8);
    white-space: normal;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { padding: 14px 2px; font-size: 1.125rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .site-nav a[aria-current="true"] { box-shadow: none; color: var(--cyan); }
  .site-nav a.btn--amber { margin-top: 14px; padding: 16px 22px; border-bottom: 0; justify-content: center; }

  .split,
  .split--speaker,
  .split--register { grid-template-columns: minmax(0, 1fr); }
  .split--venue { align-items: start; }

  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-card--featured { grid-column: 1 / -1; }

  .portrait { max-width: 360px; }

  .hero { min-height: auto; }
}

@media (max-width: 640px) {
  :root { --gutter: 22px; }

  .brand { gap: 12px; }
  .brand__venue { display: none; }
  .brand__divider { display: none; }

  .value-grid { grid-template-columns: minmax(0, 1fr); }

  .gallery,
  .gallery--pair { grid-template-columns: minmax(0, 1fr); }
  .gallery__stack { grid-template-rows: auto; }
  .gallery__stack .shot { aspect-ratio: 16 / 10; min-height: 160px; }

  .agenda__row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .agenda__time { color: var(--cyan-deep); }

  .field-row { grid-template-columns: minmax(0, 1fr); }

  .hero__actions .btn { width: 100%; }

  .site-footer__inner { justify-content: flex-start; gap: 16px; }
}

/* =========================================================================
   Preferences
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav-toggle, .hero__actions, .reg-card, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 24px 0; background: #fff !important; color: #000 !important; }
  .shot img { max-height: 320px; }
}
