/* ══════════════════════════════════════════════
   TOKENS
══════════════════════════════════════════════ */
:root {
  --bg:           #F5F6F8;
  --bg-elevated:  #FFFFFF;
  --bg-tint:      #ECEEF2;

  --red:          #D9232A;
  --red-deep:     #B71C22;
  --navy:         #1E2A5E;
  --navy-deep:    #141D45;
  --black:        #111214;

  --text:         #1A1C20;
  --text-muted:   #5A616C;
  --text-on-dark: #F4F5F7;

  --red-text:     #FFD9DA;
  --navy-text:    #C7D1F5;

  --dotted:       #C9CDD6;

  --sh-card:      0 1px 2px rgba(11,31,58,.05), 0 10px 26px -18px rgba(11,31,58,.20);
  --sh-hover:     0 1px 2px rgba(11,31,58,.06), 0 16px 34px -18px rgba(11,31,58,.28);
  --stk-ring:     rgba(11,31,58,.10);

  --r-btn:  4px;
  --r-card: 6px;

  --ff-display: 'Stack Sans Text', system-ui, sans-serif;
  --ff-body:    'Stack Sans Text', system-ui, sans-serif;

  --container:        1200px;
  --container-narrow: 760px;
  --sec-pad:          clamp(64px, 8vw, 112px);
}

/* ══════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html, body { overflow-x: hidden; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ══════════════════════════════════════════════
   ACCESSIBILITY
══════════════════════════════════════════════ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30,42,94,.30);
  border-radius: 4px;
}

/* ══════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}
.container--narrow { max-width: var(--container-narrow); }

/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 0;
  border-radius: var(--r-btn);
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: filter .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--red-deep);
  color: var(--red-text);
  box-shadow: 0 2px 6px rgba(183,28,34,.22);
}
.btn-primary:hover {
  filter: brightness(1.10);
  box-shadow: 0 0 0 1.5px rgba(183,28,34,.40), 0 2px 6px rgba(183,28,34,.22);
}

.btn-ghost {
  background: var(--bg-tint);
  color: var(--navy);
}
.btn-ghost:hover { background: #dde1eb; }

/* ══════════════════════════════════════════════
   LOGO CHIPS (fallback when PNG is missing)
══════════════════════════════════════════════ */
.logo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}
.logo-chip--gbb { background: var(--navy-deep); color: var(--navy-text); }
.logo-chip--xem { background: var(--red-deep);  color: var(--red-text);  }
.logo-chip--footer-gbb { background: rgba(255,255,255,.1); color: var(--navy-text); }
.logo-chip--footer-xem { background: rgba(255,255,255,.1); color: var(--navy-text); }

/* ══════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(11,31,58,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.logo { height: 56px; width: auto; }
.logo-divider {
  width: 1px;
  height: 30px;
  background: var(--dotted);
  flex-shrink: 0;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .16s;
}
.nav-link:hover { color: var(--text); }
.nav-cta { padding: 9px 18px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px clamp(20px,5vw,48px) 20px;
  background: #fff;
  border-top: 2px dotted rgba(201,205,214,.5);
}
.mobile-nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 2px dotted transparent;
  transition: color .15s;
}
.mobile-nav-link:hover { color: var(--text); }
.mobile-nav-register {
  margin-top: 10px;
  padding: 13px 20px;
  background: var(--red-deep);
  color: var(--red-text);
  border-radius: var(--r-btn);
  text-align: center;
  font-weight: 600;
  border-bottom: 0;
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: clamp(44px,5vw,60px) 0 clamp(40px,4.5vw,56px);
}
.hero-nodes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .50;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.hero-left { flex: 1; min-width: 0; }

.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--black);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 4px;
}
.hero-for {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Headline */
.hero-headline {
  font-family: var(--ff-display);
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 900;
  color: var(--navy-deep);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero-amp {
  font-style: normal;
  color: var(--red);
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  padding-bottom: 6px;
  flex-shrink: 0;
}
.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}
.hero-mdot {
  width: 22px;
  border-top: 2px dotted var(--dotted);
  flex-shrink: 0;
}

/* CTAs */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════════ */
.marquee-strip {
  background: var(--navy-deep);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  will-change: transform;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
.marquee-chunk {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy-text);
  padding-right: 40px;
}
.msep { margin: 0 20px; opacity: .55; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════ */
.section { padding: var(--sec-pad) 0; }
.section--tint {
  background-color: var(--bg-tint);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(11, 31, 58, 0.03),
    rgba(11, 31, 58, 0.03) 1px,
    transparent 1px,
    transparent 10px
  );
}

.section-head { margin-bottom: 52px; }
.section-accent {
  width: 44px;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--red-deep));
  border-radius: 2px;
  transform: skewX(-8deg);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(26px,4vw,40px);
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.section-intro {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.65;
}

/* ══════════════════════════════════════════════
   TESSELLATED GRID
══════════════════════════════════════════════ */
.tess-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.tess-card {
  background: var(--bg-elevated);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  overflow: hidden;
  transition: box-shadow .22s ease, filter .22s ease;
}
.tess-card:hover {
  box-shadow: 0 0 0 1.5px var(--stk-ring), var(--sh-hover);
  filter: brightness(1.02);
}
.card--span2 { grid-column: span 2; }

/* Day cards — number fills zone, icon peeks from right */
.card-ph-zone {
  background: linear-gradient(135deg, #DAE6F4 0%, #EAF1FA 100%);
  position: relative;
  height: 140px;
  overflow: hidden;
}
.card-day-n {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-54%);
  font-family: var(--ff-display);
  font-size: clamp(96px, 11vw, 132px);
  font-weight: 900;
  color: rgba(30,42,94,.13);
  line-height: 1;
  letter-spacing: -0.06em;
  user-select: none;
}
.card-edge-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--bg-elevated);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3872B8;
  box-shadow: 0 3px 12px rgba(11,31,58,.18);
  z-index: 2;
}

.card-body { padding: clamp(18px,2.5vw,24px) clamp(18px,2.5vw,26px) clamp(22px,3vw,30px); }

.card-day-name {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: var(--black);
  margin-bottom: 10px;
}
.card-day-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
.card-day-list { font-size: 13px; color: var(--text-muted); line-height: 1.9; }
.card-day-list li::before { content: '+ '; color: var(--red); font-weight: 600; }

/* Stat Block (unified) */
.stat-block {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-elevated);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  border: 2px dotted var(--dotted);
}
.stat-item {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
}
.stat-item:not(:last-child) {
  border-right: 2px dotted var(--dotted);
}

.stat-top-icon { color: #3872B8; line-height: 0; }
.stat-icon-green { color: #1A7D4A; }
.stat-n {
  font-family: var(--ff-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-l {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════
   TIMETABLE
══════════════════════════════════════════════ */
.tab-group {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 24px;
  border: 0;
  border-radius: var(--r-btn);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--sh-card);
  transition: background .18s, color .18s;
}
.tab-btn--active { background: var(--navy-deep); color: var(--navy-text); }
.tab-btn:not(.tab-btn--active):hover { background: var(--bg); }

.tt-panel {
  background: var(--bg-elevated);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  overflow: hidden;
}
.tt-head {
  display: grid;
  grid-template-columns: 110px 1fr 1.5fr 1fr;
  gap: 16px;
  padding: 12px 24px;
  background: var(--bg-tint);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}
.tt-row {
  display: grid;
  grid-template-columns: 110px 1fr 1.5fr 1fr;
  gap: 16px;
  padding: 16px 24px;
  border-top: 2px dotted var(--dotted);
  font-size: 14px;
  align-items: start;
}
.tt-break {
  padding: 10px 24px;
  border-top: 2px dotted var(--dotted);
  background: var(--bg-tint);
  text-align: center;
}
.tt-break span {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
}
.tt-time    { font-weight: 600; color: var(--navy); font-size: 13px; }
.tt-session { font-weight: 600; color: var(--text); }
.tt-focus   { color: var(--text-muted); font-size: 13px; }
.tt-fac     { color: var(--text-muted); font-size: 13px; font-style: italic; }

/* ══════════════════════════════════════════════
   FACILITATORS
══════════════════════════════════════════════ */
.fac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.fac-card {
  background: var(--bg-elevated);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  overflow: hidden;
  transition: box-shadow .22s ease, filter .22s ease;
}
.fac-card:hover {
  box-shadow: 0 0 0 1.5px var(--stk-ring), var(--sh-hover);
  filter: brightness(1.02);
}
.fac-body { padding: 28px 26px 32px; }
.fac-accent {
  display: block;
  width: 36px;
  height: 4px;
  border-radius: 2px;
  transform: skewX(-8deg);
  margin-bottom: 20px;
}
.fac-accent--red  { background: linear-gradient(90deg, var(--red), var(--red-deep)); }
.fac-accent--navy { background: linear-gradient(90deg, var(--navy), var(--navy-deep)); }
.fac-name {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 4px;
}
.fac-role {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--red);
  margin-bottom: 14px;
}
.fac-bio { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.fac-note {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

/* ══════════════════════════════════════════════
   REGISTRATION
══════════════════════════════════════════════ */
.reg-card {
  background: var(--bg-elevated);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  overflow: hidden;
}
.reg-header {
  padding: 36px 44px 28px;
  border-bottom: 2px dotted var(--dotted);
}
.reg-title {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: var(--black);
  margin-bottom: 8px;
}
.reg-sub { font-size: 14px; color: var(--text-muted); }

.reg-form {
  padding: 32px 44px 44px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.field-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 13px; font-weight: 600; color: var(--text); }
.req   { color: var(--red); margin-left: 2px; }
.field-opt { font-weight: 400; color: var(--text-muted); margin-left: 4px; }

.field-input {
  background: var(--bg-tint);
  border: 0;
  border-radius: var(--r-btn);
  padding: 12px 14px;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--text);
  transition: box-shadow .18s, background .18s;
  width: 100%;
}
.field-input::placeholder { color: var(--text-muted); opacity: .7; }
.field-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30,42,94,.25);
  background: var(--bg-elevated);
}
.field-input.is-error { box-shadow: 0 0 0 2px var(--red); }
.field-textarea { resize: vertical; min-height: 86px; line-height: 1.55; }

.field-error {
  font-size: 12px;
  font-weight: 500;
  color: var(--red);
  min-height: 16px;
}

.btn-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,217,218,.3);
  border-top-color: var(--red-text);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

.reg-success {
  padding: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.success-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #E8F5E9;
  color: #2E7D32;
  display: flex; align-items: center; justify-content: center;
}
.success-title {
  font-family: var(--ff-display);
  font-size: 24px; font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
}
.success-msg { color: var(--text-muted); }

.reg-error {
  padding: 28px 44px;
  background: #FFF5F5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}
.reg-error a { color: var(--navy); text-decoration: underline; }

/* ══════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════ */
.gallery-loading-card {
  background: var(--bg-elevated);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 16px;
}
.gallery-inner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.glc-item {
  background: linear-gradient(135deg, #DAE6F4 0%, #EAF1FA 100%);
  border-radius: 4px;
  aspect-ratio: 4/3;
  animation: glcPulse 2s ease-in-out infinite;
}
.glc-item--wide {
  grid-column: span 2;
  aspect-ratio: auto;
}
@keyframes glcPulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-tile iframe { width: 100%; height: 100%; border: 0; display: block; }

.gallery-tile-thumb {
  width: 100%; height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}
.gallery-tile-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.32);
}
.gallery-tile-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 52px; height: 52px;
  border-radius: var(--r-btn);
  background: var(--red-deep);
  border: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  transition: filter .18s;
}
.gallery-tile-play:hover { filter: brightness(.88); }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  padding: 52px 0 28px;
  color: var(--navy-text);
}
.footer-nodes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .50;
}
.site-footer .container {
  position: relative;
  z-index: 1;
}
.footer-main {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.footer-logos {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.logo-footer { height: 32px; width: auto; }
.logo-footer--bg {
  background: #fff;
  border-radius: 4px;
  padding: 4px 8px;
  height: 40px;
}
.footer-logo-divider { width: 1px; height: 22px; background: rgba(199,209,245,.2); }
.footer-info { flex: 1; min-width: 200px; }
.footer-venue {
  font-family: var(--ff-display);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 6px;
}
.footer-contact { font-size: 13px; color: rgba(199,209,245,.72); margin-bottom: 6px; }
.footer-link { color: var(--navy-text); text-decoration: underline; opacity: .8; }
.footer-link:hover { opacity: 1; }
.footer-accred {
  font-size: 11px;
  color: rgba(199,209,245,.45);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer-rule {
  border-top: 2px dotted rgba(199,209,245,.18);
  margin-bottom: 20px;
}
.footer-legal {
  font-size: 11px;
  color: rgba(199,209,245,.38);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* ══════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════ */
.js-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease;
}
.js-reveal.is-visible { opacity: 1; transform: translateY(0); }

.js-hero .js-hero-el {
  animation: heroRise .6s var(--d, 0s) cubic-bezier(.22,1,.36,1) both;
}
.js-hero .hero-rule {
  animation: ruleReveal .55s var(--d, 0s) cubic-bezier(.22,1,.36,1) both;
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ruleReveal {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}

/* ══════════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .js-reveal,
  .js-hero .js-hero-el,
  .js-hero .hero-rule {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .marquee-track { animation: none; }
  .btn-spinner { animation: none; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */

/* ── Tablet landscape (≤1024px) ── */
@media (max-width: 1024px) {
  .header-inner { height: 64px; }
  .logo { height: 44px; }

  /* Hero: tighten gap slightly */
  .hero-inner { gap: 32px; }

  /* Overview: 2-col grid */
  .tess-grid { grid-template-columns: repeat(2, 1fr); }
  .card--span2 { grid-column: span 2; }

  /* Fac: 2-col */
  .fac-grid { grid-template-columns: repeat(2, 1fr); }

  /* Timetable: hide Facilitator column */
  .tt-head { grid-template-columns: 90px 1fr 1.2fr; }
  .tt-head span:last-child { display: none; }
  .tt-row  { grid-template-columns: 90px 1fr 1.2fr; }
  .tt-fac  { display: none; }
}

/* ── Tablet portrait / large mobile (≤768px) ── */
@media (max-width: 768px) {
  /* Register Page Mobile */
  .page-register .site-header,
  .page-register .site-footer {
    display: none !important;
  }
  .page-register #main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .page-register #register {
    min-height: 100vh !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  /* Header */
  .site-nav   { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { height: 60px; }
  .logo { height: 38px; }

  /* Hero stacks */
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-right { align-items: flex-start; }
  .hero-meta-row { flex-wrap: wrap; white-space: normal; gap: 8px; }
  .hero-cta-row  { flex-wrap: wrap; }

  /* Overview: single column, all cards full-width */
  .tess-grid   { grid-template-columns: 1fr; }
  .card--span2 { grid-column: span 1; }
  .section-head { margin-bottom: 36px; }

  /* Stat block becomes 2x2 grid */
  .stat-block {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:not(:last-child) {
    border-right: none;
  }
  .stat-item {
    border-right: 2px dotted var(--dotted);
    border-bottom: 2px dotted var(--dotted);
  }
  .stat-item:nth-child(2n) {
    border-right: none;
  }
  .stat-item:nth-child(n+3) {
    border-bottom: none;
  }

  /* Fac: single column */
  .fac-grid { grid-template-columns: 1fr; }

  /* Registration */
  .field-row-2 { grid-template-columns: 1fr; }
  .reg-header  { padding: 22px 22px 18px; }
  .reg-form    { padding: 22px 22px 30px; gap: 14px; }
  .reg-success { padding: 32px 22px; }
  .reg-error   { padding: 22px; }

  /* Gallery: 2-col */
  .gallery-inner-grid { grid-template-columns: 1fr 1fr; }
  .glc-item--wide { grid-column: span 2; }

  /* Footer */
  .footer-main { flex-direction: column; gap: 20px; }

  /* Timetable: hide Focus column, keep Time + Session */
  .tt-head { grid-template-columns: 76px 1fr; }
  .tt-head span:nth-child(3),
  .tt-head span:nth-child(4) { display: none; }
  .tt-row   { grid-template-columns: 76px 1fr; }
  .tt-focus { display: none; }
}

/* ── Mobile (≤480px) ── */
@media (max-width: 480px) {
  /* Header */
  .header-inner { height: 56px; }
  .logo { height: 32px; }
  .logo-divider { height: 22px; }

  /* Hero */
  .hero { padding: 32px 0 28px; }
  .hero-eyebrow-row { gap: 10px; margin-bottom: 14px; }
  .hero-for { display: none; }          /* too long for narrow screens */
  .hero-headline { letter-spacing: -0.025em; }
  .hero-meta-row { gap: 8px; font-size: 11px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-cta-row .btn { justify-content: center; }

  /* Overview card zone: scale ghost number */
  .card-ph-zone { height: 120px; }

  /* Registration: tighter padding */
  .reg-header { padding: 18px 18px 16px; }
  .reg-form   { padding: 18px 18px 22px; gap: 12px; }
  .reg-title  { font-size: 22px; }

  /* Gallery: single column */
  .gallery-inner-grid { grid-template-columns: 1fr; }
  .glc-item--wide { grid-column: span 1; aspect-ratio: 4/3; }

  /* Tabs: smaller */
  .tab-group { gap: 6px; }
  .tab-btn   { padding: 9px 16px; font-size: 13px; }

  /* Timetable text */
  .tt-time    { font-size: 12px; }
  .tt-session { font-size: 13px; }
  .tt-break span { font-size: 11px; }
  .tt-row { padding: 13px 16px; gap: 12px; }
  .tt-head { padding: 10px 16px; gap: 12px; }
  .tt-break { padding: 8px 16px; }

  /* Footer: compact */
  .logo-footer { height: 28px; }
  .logo-footer--bg { height: 34px; }
  .footer-venue { font-size: 11px; }
  .footer-contact { font-size: 12px; }

  /* Section intro */
  .section-intro { font-size: 15px; }
}
