/* =====================================================================
   CeBIH 2026 — Stylesheet
   Brand colours are taken from the 2026 "Save the Date" poster.
   Change them in :root to re-brand for a future year.
   ===================================================================== */
:root {
  --green-950: #012c1c;
  --green-900: #02402a;
  --green-800: #055a39;
  --green-700: #0a6e46;
  --green-500: #11925c;
  --lime: #b9d43a;
  --lime-soft: #d9ea7a;
  --ink: #0d2219;
  --muted: #55695f;
  --paper: #f5f8f2;
  --white: #ffffff;
  --line: #dbe6dc;
  --radius: 18px;
  --shadow: 0 22px 50px -22px rgba(1, 44, 28, .5);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }

section { padding: 88px 0; }

.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 12px;
}
.eyebrow-light { color: var(--lime); }

h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.lead { font-size: 18px; color: var(--muted); }
.lead-light { color: #d3e8db; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head-light h2 { color: #fff; }

/* Buttons & focus */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: var(--green-950); }
.btn-primary:hover { background: var(--lime-soft); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-dark { background: var(--green-900); color: #fff; }
.btn-dark:hover { background: var(--green-800); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(1, 44, 28, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; position: relative; }
.brand img { height: 42px; width: auto; }
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  color: #e3f0e8;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 13px;
  border-radius: 999px;
}
.nav-links a:hover { background: rgba(255, 255, 255, .1); }
.nav-links .nav-cta { background: var(--lime); color: var(--green-950); font-weight: 700; margin-left: 6px; }
.nav-links .nav-cta:hover { background: var(--lime-soft); }
.nav-links.open {
  display: flex;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 10px 16px 20px;
  background: var(--green-950);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.nav-links.open a { padding: 14px 12px; font-size: 16px; }
.menu-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
}
.menu-btn svg { width: 24px; height: 24px; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
  .nav-links.open { position: static; flex-direction: row; padding: 0; background: none; border: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 32px 0 24px;
  background:
    radial-gradient(900px 500px at 88% 8%, rgba(185, 212, 58, .18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(17, 146, 92, .35), transparent 60%),
    linear-gradient(135deg, var(--green-950) 0%, var(--green-800) 55%, var(--green-700) 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg svg { width: 100%; height: 100%; }
.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }
/* Phones: stack title, then theme & buttons, then photos */
.hero-left { display: contents; }
.hero-title-block { order: 1; }
.hero-copy { order: 2; }
.hero-visual { order: 3; }
.hero-year { width: min(150px, 42vw); height: auto; margin-bottom: 2px; }
.hero-title {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: .95;
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.theme-chip {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--green-900);
  border-left: 3px solid var(--lime);
  padding: 6px 14px;
  margin-bottom: 10px;
}
.theme-title { color: var(--lime); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.2; }
.theme-sub { font-size: clamp(16px, 1.8vw, 19px); color: #e8f3ec; margin: 4px 0 18px; max-width: 40ch; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: var(--green-950);
  font-weight: 700;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 999px;
}
.facts svg { width: 18px; height: 18px; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; width: 100%; max-width: 420px; height: 280px; justify-self: center; }
.photo {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid rgba(255, 255, 255, .1);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.p1 { width: 58%; height: 80%; left: 0; top: 0; transform: rotate(-2.5deg); }
.photo.p2 { width: 52%; height: 84%; right: 0; bottom: 0; transform: rotate(2deg); }
.date-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 170px;
  text-align: center;
  background: var(--lime);
  color: var(--green-950);
  border-radius: 18px;
  padding: 16px 22px;
  box-shadow: var(--shadow);
}
.date-badge span { display: block; font-weight: 700; font-size: 16px; }
.date-badge strong { display: block; font-size: 30px; line-height: 1.05; font-weight: 800; text-transform: uppercase; }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 560px;
  margin-top: 22px;
}
.countdown > div {
  text-align: center;
  padding: 10px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
}
.countdown span {
  display: block;
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #cfe5d7; }
.countdown-live { margin-top: 20px; font-size: 20px; font-weight: 700; color: var(--lime); }

@media (min-width: 960px) {
  .hero { padding: 44px 0 36px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  /* Left: title block above the photos. Right: theme, details and buttons */
  .hero-left { display: flex; flex-direction: column; gap: 28px; grid-column: 1; grid-row: 1; }
  .hero-copy { grid-column: 2; grid-row: 1; }
  .hero-visual { order: 0; justify-self: start; height: 250px; max-width: 380px; }
}
@media (max-width: 480px) {
  .hero-visual { height: 230px; }
  .photo.p1 { width: 60%; height: 78%; }
  .photo.p2 { width: 54%; height: 82%; }
  .date-badge { min-width: 140px; padding: 12px 16px; }
  .date-badge strong { font-size: 24px; }
  .countdown { gap: 8px; }
}

/* ---------- About ---------- */
.about { background: var(--white); }
.about-grid { display: grid; gap: 40px; align-items: center; }
.about .lead { max-width: 60ch; margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; }
@media (min-width: 600px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* Respect the hidden attribute even where a class sets display */
[hidden] { display: none !important; }

/* "Coming Soon" notice for sections not yet ready */
.soon-box { display: flex; justify-content: center; margin: 8px 0 24px; }
.soon-box span {
  display: inline-block; background: var(--lime); color: var(--green-950);
  font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 12px 24px; border-radius: 999px;
}

/* Sponsors / partner logos */
.sponsor-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); align-items: center; }
.sponsor-grid .sponsor-logo {
  display: flex; align-items: center; justify-content: center; min-height: 96px;
  background: #fff; border-radius: 14px; padding: 16px; text-decoration: none;
}
.sponsor-grid img { max-height: 56px; width: auto; max-width: 100%; }
.stats li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
}
.stats strong { display: block; font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: var(--green-800); line-height: 1.1; }
.stats span { font-size: 14px; color: var(--muted); }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; } }

/* ---------- Theme ---------- */
.theme {
  color: #fff;
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(185, 212, 58, .15), transparent 70%),
    linear-gradient(160deg, var(--green-900), var(--green-950));
}
.theme .lead-light { max-width: 60ch; }
.pillars { display: grid; gap: 18px; }
.pillar {
  position: relative;
  padding: 30px 26px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-top: 4px solid var(--lime);
}
.pillar .num { font-size: 14px; font-weight: 700; letter-spacing: .14em; color: var(--lime); }
.pillar h3 { font-size: 24px; margin: 10px 0; color: #fff; }
.pillar p { color: #d3e8db; }
@media (min-width: 800px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Agenda ---------- */
.agenda { background: var(--paper); }
.day-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: 26px;
}
.day-tab {
  font: inherit;
  font-weight: 700;
  color: var(--green-800);
  background: none;
  border: 0;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  line-height: 1.25;
}
.day-tab[aria-selected="true"] { background: var(--green-800); color: #fff; }
.day-tab small { display: block; font-weight: 500; font-size: 12px; opacity: .85; }
.agenda-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 22px;
  box-shadow: 0 10px 30px -22px rgba(1, 44, 28, .4);
}
.session {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 4px 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.session:last-child { border-bottom: 0; }
.session-time { font-weight: 700; color: var(--green-700); font-variant-numeric: tabular-nums; }
.session-title { font-weight: 600; font-size: 17px; }
.session-note { grid-column: 2; font-size: 14px; color: var(--muted); }
.session.is-break .session-title { color: var(--muted); font-weight: 500; font-style: italic; }
.session.is-break .session-time { color: var(--muted); }
@media (min-width: 720px) { .agenda-list { padding: 8px 32px; } }

/* ---------- Speakers ---------- */
.speakers { background: var(--white); }
.speaker-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.speaker {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}
.avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: var(--lime-soft);
  font-size: 34px;
  font-weight: 800;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.speaker h3 { font-size: 18px; margin-bottom: 4px; }
.speaker .role { color: var(--green-700); font-weight: 600; font-size: 14px; }
.speaker .org { color: var(--muted); font-size: 14px; }
.speaker.is-tbd h3 { color: var(--muted); font-weight: 600; }
.pill-soon {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--lime);
  color: var(--green-950);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Venue ---------- */
.venue { background: var(--paper); }
.venue-grid { display: grid; gap: 36px; align-items: center; }
.venue-copy .lead { margin-bottom: 14px; }
.venue-dates { font-weight: 700; color: var(--green-800); margin-bottom: 24px; font-size: 17px; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  height: 380px;
  background: var(--line);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 900px) { .venue-grid { grid-template-columns: 1fr 1.25fr; gap: 56px; } }

/* ---------- Register & partners ---------- */
.register {
  color: #fff;
  background:
    radial-gradient(800px 500px at 0% 0%, rgba(185, 212, 58, .16), transparent 60%),
    linear-gradient(135deg, var(--green-800), var(--green-950));
}
.register h2 { color: #fff; }
.register-grid { display: grid; gap: 28px; }
.register .lead-light { margin-bottom: 26px; max-width: 56ch; }
.partner-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  padding: 28px;
}
.partner-card p { color: #d3e8db; margin-bottom: 18px; }
.partner-mail { color: var(--lime); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--lime); padding-bottom: 2px; }
.partner-logos { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 18px; }
.partner-logos img { height: 40px; width: auto; background: #fff; padding: 6px 10px; border-radius: 10px; }
@media (min-width: 900px) { .register-grid { grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; } }

/* ---------- Footer ---------- */
.footer { background: #011f14; color: #cfe0d6; padding: 60px 0 0; }
.footer-grid { display: grid; gap: 32px; }
.footer h3 { color: #fff; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-logo { height: 44px; width: auto; }
.footer-tag { margin-top: 14px; max-width: 34ch; font-size: 15px; }
.social { list-style: none; display: grid; gap: 10px; }
.social a, .social span { color: #fff; text-decoration: none; }
.social a:hover { color: var(--lime); }
.social .label { color: #9fbcaa; font-size: 13px; display: block; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: #cfe0d6; text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom {
  margin-top: 48px;
  padding: 20px 16px 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 14px;
  color: #8fae9c;
}
@media (min-width: 720px) { .footer-bottom { padding: 20px 32px 26px; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }

/* ---------- Registration form ---------- */
.register-grid { display: grid; gap: 36px; align-items: start; }
.register-copy h2 { color: #fff; }
.register-points { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.register-points li { position: relative; padding-left: 28px; color: #e3f0e8; }
.register-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(185, 212, 58, .18);
}
.form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
@media (min-width: 720px) { .form-card { padding: 36px 36px 32px; } }
.reg-form h3 { font-size: 22px; margin-bottom: 18px; }
.field-row { display: grid; gap: 14px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: block; margin-bottom: 14px; position: relative; }
.field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #23392e; }
.field em { color: var(--green-700); font-style: normal; }
.field input, .field select {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #f7faf6;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  appearance: auto;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(17, 146, 92, .18);
  background: #fff;
}
.field input.is-invalid, .field select.is-invalid { border-color: #c2410c; background: #fff7f2; }
.field-error { display: block; margin-top: 6px; font-size: 13px; color: #b42318; font-weight: 500; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #3a5045; margin: 6px 0 20px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--green-700); }
.check input.is-invalid { outline: 2px solid #c2410c; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-block { width: 100%; justify-content: center; font-size: 16px; }
.btn-block:disabled { opacity: .6; cursor: wait; transform: none; }
.form-status { min-height: 0; margin-top: 12px; font-size: 14px; color: var(--green-800); font-weight: 600; text-align: center; }
.form-status.is-error { color: #b42318; }
.form-status:empty { display: none; }
.form-success, .form-closed { text-align: left; }
.form-success:focus { outline: none; }
.form-success .success-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--lime);
  color: var(--green-950);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.form-success h3 { font-size: 28px; color: var(--green-900); margin-bottom: 10px; }
.form-success p { color: var(--muted); margin-bottom: 14px; }
.form-success .ref {
  background: var(--paper);
  border: 1px dashed var(--green-500);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink);
}
.form-success .ref strong { font-size: 20px; letter-spacing: .08em; color: var(--green-800); }
.form-closed h3 { font-size: 22px; margin-bottom: 8px; color: var(--green-900); }
.form-closed p { color: var(--muted); margin-bottom: 16px; }
@media (min-width: 900px) { .register-grid { grid-template-columns: 1fr 1.15fr; gap: 56px; } }

/* Partner strip under the registration area */
.register .partner-card {
  margin-top: 40px;
  display: grid;
  gap: 18px;
  align-items: center;
}
.partner-side { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.register .partner-card p { margin: 0; }
@media (min-width: 900px) {
  .register .partner-card { grid-template-columns: 1.4fr 1fr; padding: 30px 36px; }
  .partner-side { justify-content: flex-end; }
}

/* ---------- Opening loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background:
    radial-gradient(700px 500px at 50% 40%, rgba(185, 212, 58, .14), transparent 70%),
    linear-gradient(160deg, var(--green-800), var(--green-950));
  transition: opacity .6s ease, visibility .6s ease;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-inner { display: grid; justify-items: center; gap: 22px; text-align: center; padding: 24px; }
.loader-ring {
  position: relative;
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
}
.loader-ring img {
  width: 118px;
  height: auto;
  position: relative;
  z-index: 1;
  animation: loader-breathe 1.6s ease-in-out infinite;
}
.loader-spin {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 60deg, var(--lime) 200deg, var(--lime-soft) 260deg, transparent 300deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  animation: loader-spin 1.1s linear infinite;
}
.loader-spin::after { content: none; }
.loader-text {
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #cfe5d7;
  font-weight: 600;
}
.loader-bar {
  width: 180px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}
.loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  animation: loader-slide 1.3s ease-in-out infinite;
}
@keyframes loader-spin { to { transform: rotate(360deg); } }
@keyframes loader-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes loader-slide { from { transform: translateX(-110%); } to { transform: translateX(260%); } }
body.is-loading { overflow: hidden; }

/* Welcome message (appears on the loader after the roller) */
.loader-inner { width: 100%; max-width: 620px; }
.loader.is-welcome .loader-roller { display: none; }
.welcome {
  width: 100%;
  max-width: 560px;
  padding: 36px 30px 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
  color: #fff;
  text-align: center;
  animation: welcome-in .8s ease both;
}
.welcome[hidden] { display: none; }
.welcome-kicker {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 700;
  margin-bottom: 18px;
}
.welcome-person { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 18px; }
.welcome-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  border: 3px solid var(--lime);
  color: var(--lime-soft);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .08em;
}
.welcome-avatar img { width: 100%; height: 100%; object-fit: cover; }
.welcome-avatar img[hidden] { display: none; }
.welcome-name { font-size: 20px; font-weight: 700; }
.welcome-name[hidden] { display: none; }
.welcome-role { font-size: 14px; color: #cfe5d7; }
.welcome-title { font-size: clamp(24px, 4vw, 32px); line-height: 1.15; font-weight: 800; color: #fff; margin-bottom: 14px; }
.welcome-msg { font-size: 16px; line-height: 1.7; color: #e3f0e8; margin-bottom: 24px; }
.welcome-enter { font-size: 16px; }
@keyframes welcome-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) {
  .welcome { padding: 28px 20px 24px; }
  .welcome-msg { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .welcome { animation: none; } }

/* About heading sized to fit on two lines */
#about h2 { font-size: clamp(24px, 2.4vw, 31px); line-height: 1.15; }

/* ---------- About: poster photo collage (moved out of the hero) ---------- */
.about-side { display: grid; gap: 28px; }
.about-visual {
  height: 230px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  justify-self: center;
  order: 0;
}
.about-side .stats { width: 100%; }
@media (max-width: 480px) { .about-visual { height: 200px; } }

/* Sponsors: badge and call to action line up with the left-aligned heading */
.sponsors .soon-box { justify-content: flex-start; margin: 0 0 28px; }
.sponsor-cta { display: flex; justify-content: flex-start; }
/* Brand tint over the event photos so they sit with the green palette */
.about-visual .photo img { object-fit: cover; }
.about-visual .photo.p1 img { object-position: 50% 40%; }
.about-visual .photo.p2 img { object-position: 50% 30%; }
.about-visual .photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(2, 64, 42, .30), rgba(2, 64, 42, .08));
}

/* ---------- Motion (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  .loader-spin, .loader-ring img, .loader-bar span { animation-duration: 3s; }
}
