/* ==========================================================================
   GEW Curaçao 2026
   Type follows the GEW Brand Guide: rounded type (VAG Rounded → Nunito as the
   web substitute), Light/Thin ALL CAPS for headers, bold used sparingly.
   ========================================================================== */

:root {
  --navy: #0E1B4D;
  --ink: #1B2340;
  --muted: #5A6380;
  --line: #E6E9F2;
  --surface: #F6F8FC;
  --white: #fff;
  --cyan: #1BAFDB;          /* GEW brand-guide header blue */
  --red: #D7191F;           /* "Curaçao" red from the logo */
  --orange: #F28C1E;
  --pink: #E8336D;
  --yellow: #F4C20D;
  --blue: #2E9BEA;
  --green: #2DAA4F;
  --purple: #8E2C9A;

  --rainbow: linear-gradient(90deg, #F9C80E 0%, #F28C1E 13%, #E8473B 25%, #E8336D 37%, #F4A6B8 49%, #8E9BD3 61%, #2E9BEA 73%, #17B4C9 86%, #2DB38A 100%);

  --font-display: "Nunito", "VAG Rounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(14, 27, 77, .05), 0 4px 14px rgba(14, 27, 77, .06);
  --shadow-md: 0 2px 4px rgba(14, 27, 77, .05), 0 14px 34px rgba(14, 27, 77, .10);
  --header-h: 84px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s, color .25s, border-color .25s;
}
.btn .ic { transition: transform .35s var(--ease-out); }
.btn:hover .ic use[href="#i-arrow"] { }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(14, 27, 77, .22); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(14, 27, 77, .28); background: #16266a; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-ghost:hover .ic:last-child { transform: none; }
.btn-light { background: #fff; color: var(--navy); }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: .35em;
  color: var(--navy); font-weight: 700; text-decoration: none;
  background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2px no-repeat;
  transition: background-size .4s var(--ease-out);
}
.text-link:hover { background-size: 100% 2px; }
.text-link .ic { transition: transform .35s var(--ease-out); }
.text-link:hover .ic { transform: translateX(3px); }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--rainbow); transform-origin: 0 50%; transform: scaleX(0); }

/* ============================ HEADER ============================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: height .45s var(--ease-out), box-shadow .45s, border-color .45s;
}
.site-header.is-scrolled { --header-h: 68px; height: 68px; border-color: var(--line); box-shadow: 0 6px 24px rgba(14, 27, 77, .06); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-ring {
  width: 54px; height: 54px; flex: none;
  transform: rotate(var(--ring-rot, 0deg)) scale(var(--ring-scale, 1));
  transition: width .45s var(--ease-out), height .45s var(--ease-out);
  will-change: transform;
}
.brand-ring img { width: 100%; height: 100%; }
.is-scrolled .brand-ring { width: 44px; height: 44px; }
.brand-word {
  display: flex; flex-direction: column;
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: 12.5px; line-height: 1.08; letter-spacing: .015em; color: #111;
  transition: font-size .45s var(--ease-out);
}
.is-scrolled .brand-word { font-size: 11px; }
.brand-word .brand-red { color: var(--red); }
.brand-word span { opacity: 0; transform: translateX(-8px); animation: wordIn .8s var(--ease-out) forwards; }
.brand-word span:nth-child(2) { animation-delay: .08s; }
.brand-word span:nth-child(3) { animation-delay: .16s; }
.brand-word span:nth-child(4) { animation-delay: .24s; }
@keyframes wordIn { to { opacity: 1; transform: none; } }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li > a, .sub-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border: 0; background: none;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem; color: var(--navy); text-decoration: none; white-space: nowrap;
}
@media (min-width: 1025px) and (max-width: 1279px) {
  .main-nav { gap: 14px; }
  .main-nav > ul { gap: 0; }
  .main-nav > ul > li > a, .sub-toggle { padding-inline: 9px; font-size: .92rem; }
}
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2.5px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease-out);
}
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.is-active::after { transform: scaleX(1); }
.sub-toggle .ic { width: .9em; height: .9em; transition: transform .3s; }
.has-sub { position: relative; }
.has-sub.is-open .sub-toggle .ic { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: calc(100% + 6px); right: 0; min-width: 200px;
  list-style: none; margin: 0; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s, transform .35s var(--ease-out), visibility .25s;
}
.has-sub.is-open .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1025px) { .has-sub:hover .sub-menu { opacity: 1; visibility: visible; transform: none; } }
.sub-menu a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; color: var(--navy); }
.sub-menu a:hover { background: var(--surface); }
.nav-cta { padding: .7em 1.2em; font-size: .92rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; position: relative; z-index: 2; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: transform .4s var(--ease-out), opacity .3s; }
.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); }

/* ============================ HERO ============================ */
.hero { position: relative; padding: calc(var(--header-h) + 40px) 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(46, 155, 234, .07), transparent 70%),
    radial-gradient(500px 380px at 60% 95%, rgba(242, 140, 30, .06), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(32px, 4vw, 64px); align-items: start; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: .08em;
  font-size: .8rem; color: var(--cyan); margin-bottom: 18px;
}
.eyebrow-year { padding: 2px 9px; border-radius: 99px; background: rgba(27, 175, 219, .1); font-weight: 700; }

.hero-title { font-weight: 800; font-size: clamp(2.4rem, 4.3vw, 4rem); line-height: 1.02; letter-spacing: -.025em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.hero-title .line:nth-child(2) > span { transition-delay: .08s; }
.hero-title .line:nth-child(3) > span { transition-delay: .16s; }
.hero-title .line:nth-child(4) > span { transition-delay: .24s; }
.is-loaded .hero-title .line > span { transform: none; }

.rainbow-bar { display: flex; gap: 0; height: 8px; width: min(320px, 80%); margin: 28px 0 22px; border-radius: 8px; overflow: hidden; }
.rainbow-bar i { flex: 1; transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-out); }
.rainbow-bar i:nth-child(1) { background: #F9C80E; } .rainbow-bar i:nth-child(2) { background: #F28C1E; }
.rainbow-bar i:nth-child(3) { background: #E8473B; } .rainbow-bar i:nth-child(4) { background: #E8336D; }
.rainbow-bar i:nth-child(5) { background: #F4A6B8; } .rainbow-bar i:nth-child(6) { background: #8E9BD3; }
.rainbow-bar i:nth-child(7) { background: #2E9BEA; } .rainbow-bar i:nth-child(8) { background: #17B4C9; }
.rainbow-bar i:nth-child(9) { background: #2DB38A; }
.is-loaded .rainbow-bar i { transform: none; }
.rainbow-bar i:nth-child(n) { transition-delay: calc(.45s + var(--i, 0) * 50ms); }

.hero-date { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 4px; letter-spacing: -.01em; }
.hero-sub { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 2; }


/* Hero schedule */
.hero-schedule-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.hero-schedule-head .text-link { white-space: nowrap; }
.mini-title { font-weight: 300; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; color: var(--cyan); }
.mini-title span { color: var(--muted); }
.hero-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.ev-card {
  --c: var(--blue);
  position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 0;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); border-left: 0; overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.ev-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.ev-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ev-date { padding: 18px 0 18px 18px; text-align: left; color: var(--c); font-family: var(--font-display); line-height: 1; }
.ev-day { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.ev-mon { display: block; font-size: .95rem; font-weight: 700; text-transform: uppercase; margin-top: 4px; }
.ev-body { padding: 16px 16px 16px 16px; border-left: 1px solid var(--line); margin: 12px 0; padding-block: 4px; min-width: 0; }
.ev-title { font-size: 1.06rem; font-weight: 800; padding-right: 48px; margin-bottom: 8px; }
.ev-meta { list-style: none; margin: 0; padding: 0; font-size: .88rem; color: var(--ink); }
.ev-meta li { display: flex; align-items: flex-start; gap: 8px; margin-top: 4px; }
.ev-meta .ic { color: var(--c); margin-top: 3px; width: 1em; height: 1em; }
.ev-icon {
  position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; color: var(--c);
  background: color-mix(in srgb, var(--c) 13%, #fff);
  transition: transform .6s var(--ease-out);
}
.ev-card:hover .ev-icon { transform: rotate(-10deg) scale(1.06); }
.ev-icon .ic { width: 21px; height: 21px; }
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .75rem; font-weight: 700;
  color: var(--c, var(--green)); background: color-mix(in srgb, var(--c, var(--green)) 12%, #fff);
}
.ev-card .tag { margin-top: 8px; }

.countdown-wrap {
  margin-top: 16px; padding: 18px 22px; border-radius: var(--radius);
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.countdown-wrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--rainbow); }
.cd-title { margin: 0; font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.countdown { display: flex; gap: clamp(12px, 2.4vw, 26px); }
.cd-unit { text-align: center; min-width: 48px; }
.cd-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.85rem; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-num.tick { animation: tick .5s var(--ease-out); }
@keyframes tick { from { transform: translateY(-35%); opacity: .2; } to { transform: none; opacity: 1; } }
.cd-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; opacity: .7; margin-top: 4px; }

/* ============================ SECTIONS ============================ */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-head { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 18px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .section-lead { grid-column: 1 / -1; max-width: 640px; margin: 18px 0 0; color: var(--muted); font-size: 1.06rem; }
.head-ring { width: 58px; height: 58px; opacity: .9; transform: rotate(-120deg) scale(.6); opacity: 0; transition: transform 1.4s var(--ease-out), opacity .8s; }
.is-in .head-ring, .section-head.is-in .head-ring { transform: rotate(var(--head-rot, 0deg)); opacity: 1; }
.section-kicker {
  margin: 0; font-family: var(--font-display); font-weight: 300; text-transform: uppercase;
  color: var(--cyan); font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1; letter-spacing: .005em;
}
.section-title { font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 700; color: var(--navy); margin-top: 6px; }

/* ---------- Programme ---------- */
.section-events { background: var(--surface); }
.prog-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 32px; }
.seg { display: inline-flex; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; position: relative; }
.seg-btn {
  position: relative; z-index: 1; border: 0; background: none; padding: 9px 18px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--muted); transition: color .3s;
}
.seg-btn.is-active { color: #fff; }
.seg-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; border-radius: 999px; background: var(--navy); transition: left .45s var(--ease-out), width .45s var(--ease-out); }

.month { margin-bottom: 36px; }
.month-label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: .08em;
  font-size: 1rem; color: var(--navy); margin-bottom: 14px;
}
.month-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.agenda-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.ag-item {
  --c: var(--blue);
  position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 0 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 18px 0;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), opacity .4s;
}
.ag-item::before { content: ""; position: absolute; inset: -1px auto -1px -1px; width: 6px; background: var(--c); border-radius: var(--radius) 0 0 var(--radius); }
.ag-item:has(details[open]) { z-index: 4; }
.ag-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ag-date { text-align: center; font-family: var(--font-display); line-height: 1; color: var(--c); border-right: 1px solid var(--line); padding: 4px 0; }
.ag-dow { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.ag-day { display: block; font-size: 2.1rem; font-weight: 800; margin: 4px 0 2px; }
.ag-mon { display: block; font-size: .82rem; text-transform: uppercase; font-weight: 700; }
.ag-main { min-width: 0; }
.ag-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.ag-title { font-size: 1.2rem; font-weight: 800; }
.ag-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; font-size: .92rem; color: var(--muted); }
.ag-meta li { display: inline-flex; align-items: center; gap: 7px; }
.ag-meta .ic { color: var(--c); }
.ag-meta a { color: var(--ink); text-decoration-color: color-mix(in srgb, var(--c) 50%, transparent); text-underline-offset: 3px; }
.ag-meta a:hover { color: var(--c); }
.ag-actions { display: flex; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .85rem; color: var(--navy);
  text-decoration: none; transition: border-color .25s, background-color .25s, color .25s;
}
.icon-btn:hover { border-color: var(--c, var(--navy)); color: var(--c, var(--navy)); }
.icon-btn-solid { background: var(--c, var(--navy)); border-color: var(--c, var(--navy)); color: #fff; }
.icon-btn-solid:hover { color: #fff; filter: brightness(.92); border-color: var(--c, var(--navy)); }
.status { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 3px 9px; border-radius: 99px; }
.status-today { background: var(--red); color: #fff; }
.status-soon { background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.status-past { background: var(--surface); color: var(--muted); }
.ag-item.is-past { opacity: .62; }
.ag-item.is-past:hover { opacity: 1; }
.ag-item.is-hiding { opacity: 0; transform: translateY(8px); }

.agenda-empty { text-align: center; padding: 48px 20px; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }

.week-band {
  margin-top: 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  padding: 28px 32px; border-radius: 22px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(500px 220px at 100% 0%, rgba(232, 51, 109, .35), transparent 70%),
              radial-gradient(500px 260px at 0% 100%, rgba(46, 155, 234, .35), transparent 70%), var(--navy);
}
.week-band::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--rainbow); }
.week-band h3 { color: #fff; font-size: 1.35rem; font-weight: 800; margin-bottom: 6px; }
.week-band p { margin: 0; opacity: .85; max-width: 620px; }
.week-band-dates { font-family: var(--font-display); text-align: center; line-height: 1; padding-right: 28px; border-right: 1px solid rgba(255, 255, 255, .2); }
.wb-num { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; }
.wb-month { display: block; text-transform: uppercase; letter-spacing: .14em; font-weight: 300; margin-top: 6px; }
.week-band.is-highlight { box-shadow: 0 0 0 3px var(--yellow); }

.ag-enter { animation: agIn .7s var(--ease-out) both; animation-delay: var(--d, 0s); }
@keyframes agIn { from { opacity: 0; transform: translateY(14px); } }
.ag-item.flash { animation: flash 1.8s var(--ease-out); }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 3px var(--c), var(--shadow-md); } 100% { box-shadow: 0 0 0 0 transparent; } }

.cal-menu { position: relative; }
.cal-menu summary { list-style: none; cursor: pointer; }
.cal-menu summary::-webkit-details-marker { display: none; }
.cal-menu[open] summary { border-color: var(--c); color: var(--c); }
.cal-pop {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; min-width: 210px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md);
  animation: popIn .3s var(--ease-out);
}
@keyframes popIn { from { opacity: 0; transform: translateY(-6px); } }
.cal-pop a, .cal-pop button { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; background: none; border-radius: 8px; font-weight: 600; font-size: .9rem; color: var(--navy); text-decoration: none; }
.cal-pop a:hover, .cal-pop button:hover { background: var(--surface); }
.head-ring.live { transition: opacity .8s; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-copy .lead { font-size: 1.22rem; color: var(--navy); font-weight: 600; line-height: 1.5; }
.about-copy p { color: var(--muted); }
.quote {
  margin: 28px 0 0; padding: 22px 26px; border-radius: var(--radius); background: var(--surface);
  font-family: var(--font-display); font-weight: 300; font-size: 1.3rem; line-height: 1.4; color: var(--navy);
  position: relative; overflow: hidden;
}
.quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, #F9C80E, #F28C1E, #E8336D, #8E9BD3, #2E9BEA, #2DB38A); }
.objectives { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.obj {
  padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.obj:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); }
.obj-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); margin-bottom: 16px; }
.obj-ic .ic { width: 22px; height: 22px; }
.obj h3 { font-weight: 300; text-transform: uppercase; letter-spacing: .06em; font-size: 1.25rem; color: var(--c); margin-bottom: 8px; }
.obj p { margin: 0; color: var(--muted); font-size: .95rem; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(48px, 6vw, 80px) 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 28px 20px; text-align: center; display: flex; flex-direction: column-reverse; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat dt { color: var(--muted); font-size: .9rem; }
.stat dd { margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.stat sup { font-size: .45em; vertical-align: super; }

/* ---------- Gallery ---------- */
.section-gallery { background: var(--surface); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(170px, 19vw, 250px)); gap: 14px; }
.g-tile {
  position: relative; overflow: hidden; border-radius: var(--radius); background: #dfe4ee; border: 0; padding: 0;
  isolation: isolate;
}
.g-tile:first-child { grid-column: span 2; grid-row: span 2; }
.g-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.4s ease, transform 9s linear;
}
.g-tile img.is-on { opacity: 1; transform: scale(1.0); }
.g-tile img.kb { transform: scale(1.09); }
.g-tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 27, 77, .45)); opacity: 0; transition: opacity .4s;
}
.g-tile:hover::after, .g-tile:focus-visible::after { opacity: 1; }
.g-tile .g-zoom {
  position: absolute; z-index: 2; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--navy);
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .4s var(--ease-out);
}
.g-tile:hover .g-zoom, .g-tile:focus-visible .g-zoom { opacity: 1; transform: none; }
.g-progress { grid-column: 1 / -1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 24px; background: rgba(8, 14, 40, .92); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; min-width: 0; }
.lightbox img { max-height: 80vh; max-width: 100%; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: rgba(255, 255, 255, .8); font-size: .95rem; text-align: center; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; transition: background-color .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-btn .ic { width: 22px; height: 22px; }
.lb-close { position: absolute; top: 16px; right: 16px; }

/* ---------- Partners ---------- */
.pl-label { font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--muted); flex: none; }
.sponsor-tiers { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 40px; overflow: hidden; }
.st-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 24px; padding: 22px 28px; }
.st-row + .st-row, #sponsors .st-row:first-child { border-top: 1px solid var(--line); }
.st-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 36px; }
.st-logos img { width: auto; max-width: 100%; object-fit: contain; }
.st-organizer img { height: 48px; }
.st-strategic .pl-label { color: var(--navy); font-weight: 600; }
.st-strategic img { height: 84px; }
.st-gold img { height: 64px; }
.st-silver img { height: 50px; }
.st-friend img { height: 38px; }
.st-friend .pl-name { font-size: .92rem; padding: 7px 14px; }
.pl-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--navy); padding: 10px 16px; border: 1px dashed var(--line); border-radius: 12px; }

.marquee {
  position: relative; overflow: hidden; padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 52px; width: auto; max-width: 170px; object-fit: contain; transition: transform .4s var(--ease-out); mix-blend-mode: multiply; }
.marquee-track img:hover { transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- News ---------- */
.section-news { padding-top: 0; }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.news-card {
  position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); text-decoration: none; overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.news-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-out); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card:hover::before { transform: scaleX(1); }
.news-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); margin-bottom: 18px; }
.news-ic .ic { width: 23px; height: 23px; }
.news-card h3 { font-weight: 300; text-transform: uppercase; letter-spacing: .05em; font-size: 1.35rem; margin-bottom: 8px; }
.news-card p { color: var(--muted); margin-bottom: 18px; }
.news-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--c); }
.news-more .ic { transition: transform .35s var(--ease-out); }
.news-card:hover .news-more .ic { transform: translateX(4px); }

.official {
  margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 22px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  border-bottom: 4px solid var(--orange);
}
.official p { margin: 0; color: var(--muted); max-width: 520px; font-size: .95rem; }
.official img { height: 84px; width: auto; flex: none; border-radius: 8px; }

/* ---------- Contact ---------- */
.section-contact { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-copy .section-title { margin-bottom: 16px; }
.contact-copy > p:not(.section-kicker) { color: var(--muted); font-size: 1.06rem; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list .ic { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--navy); }
.contact-list a { font-weight: 700; color: var(--navy); text-decoration: none; }
.contact-list a:hover { color: var(--cyan); }

.signup { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-sm); display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-weight: 700; font-size: .9rem; color: var(--navy); padding: 0; margin-bottom: 7px; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface);
  font: inherit; color: var(--ink); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(27, 175, 219, .14); }
.field input.is-invalid { border-color: var(--red); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span {
  --c: var(--navy);
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: .87rem; font-weight: 700; cursor: pointer; transition: all .2s; user-select: none;
}
.check input:checked + span { background: var(--c); border-color: var(--c); color: #fff; }
.check input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.signup-title { font-weight: 800; font-size: 1.3rem; margin-bottom: -4px; }
.req { color: var(--red); font-weight: 700; }
.field select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface);
  font: inherit; color: var(--ink); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field select:focus { outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(27, 175, 219, .14); }
.field select.is-invalid, .consent.is-invalid { border-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ep-count { margin-left: 6px; color: var(--cyan) !important; font-weight: 700 !important; }
.ev-picks {
  display: grid; max-height: 264px; overflow-y: auto; overscroll-behavior: contain;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .2s;
}
.ev-picks.is-invalid { border-color: var(--red); }
.ev-pick {
  display: grid; grid-template-columns: 20px 52px minmax(0, 1fr); align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: .9rem; transition: background-color .2s;
}
.ev-pick:last-child { border-bottom: 0; }
.ev-pick:hover { background: #fff; }
.ev-pick input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.ev-pick:has(input:checked) { background: #fff; }
.ev-pick:has(input:checked) .ep-title { color: var(--navy); font-weight: 700; }
.ep-date { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.ep-title { color: var(--ink); line-height: 1.35; }
.ev-pick.is-flash { animation: pickFlash 1.6s var(--ease-out); }
@keyframes pickFlash { 0%, 35% { background: rgba(27, 175, 219, .16); } 100% { background: #fff; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); line-height: 1.45; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--navy); }
.consent.is-invalid span { color: var(--red); }
.consent a, .privacy a { color: var(--navy); font-weight: 700; }
.privacy { font-size: .85rem; color: var(--muted); }
.privacy summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.privacy p { margin: 4px 0 0; line-height: 1.55; }
.privacy-body { margin-top: 12px; padding: 18px 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.privacy-body h4 { margin: 14px 0 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); }
.privacy-meta { font-size: .78rem; margin: 0 0 2px !important; }
.form-status { margin: 0; min-height: 1.4em; font-weight: 700; font-size: .95rem; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }

/* ---------- Keynote speaker (one row before the programme + bio dialog) ---------- */
.keynote-band { background: var(--surface); padding: clamp(40px, 5vw, 64px) 0 0; }
.keynote-band[hidden] { display: none; }
.keynote {
  width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 20px;
  padding: 14px 22px 14px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font: inherit; color: var(--ink); text-align: left; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out), border-color .3s;
}
.keynote:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: color-mix(in srgb, var(--cyan) 35%, var(--line)); }
.keynote:focus-visible, .sp-close:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.kn-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--cyan); transition: transform .4s var(--ease-out); }
.keynote:hover .kn-photo { transform: scale(1.05); }
.kn-text { display: grid; gap: 1px; min-width: 0; }
.kn-kicker { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.kn-name { font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: .02em; font-size: 1.35rem; color: var(--navy); line-height: 1.15; }
.kn-tagline { font-size: .9rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kn-when { display: flex; align-items: center; gap: 10px; padding-left: 20px; border-left: 1px solid var(--line); font-size: .85rem; color: var(--muted); line-height: 1.35; }
.kn-when .ic { color: var(--cyan); flex: none; }
.kn-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--navy); white-space: nowrap; }
.kn-cta .ic { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.keynote:hover .kn-cta .ic { transform: translateX(3px); }
@media (max-width: 860px) {
  .keynote { grid-template-columns: auto minmax(0, 1fr) auto; border-radius: var(--radius); }
  .kn-when { display: none; }
}
@media (max-width: 520px) {
  .keynote { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 14px; }
  .kn-photo { width: 56px; height: 56px; }
  .kn-name { font-size: 1.15rem; }
  .kn-tagline { white-space: normal; }
  .kn-cta { grid-column: 2; }
}
.sp-kicker { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

.sp-dialog {
  width: min(640px, calc(100vw - 32px)); max-height: min(86vh, 820px); padding: clamp(22px, 4vw, 36px);
  border: 0; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(14, 27, 77, .3); overflow-y: auto; overscroll-behavior: contain;
}
.sp-dialog[open] { animation: spIn .45s var(--ease-out); }
.sp-dialog::backdrop { background: rgba(14, 27, 77, .45); backdrop-filter: blur(3px); }
@keyframes spIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.sp-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--surface); color: var(--navy); cursor: pointer; }
.sp-close:hover { background: var(--line); }
.sp-head { display: flex; align-items: center; gap: 20px; padding-right: 40px; margin-bottom: 20px; }
.sp-head img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--cyan); }
.sp-head .sp-kicker { margin: 0 0 4px; white-space: normal; }
.sp-head h2 { margin: 0; font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.5rem, 4vw, 2rem); color: var(--navy); line-height: 1.1; }
.sp-tagline { margin: 8px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.4; }
.sp-event { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 18px; border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: .9rem; transition: background-color .2s; }
.sp-event:hover { background: var(--line); }
.sp-event .ic { flex: none; color: var(--cyan); }
.sp-event span { display: grid; gap: 2px; }
.sp-event strong { color: var(--navy); }
.sp-bio p { margin: 0 0 14px; line-height: 1.65; font-size: .95rem; }
.sp-links { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; }
.sp-links h3 { width: 100%; margin: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
/* Event details pop-up (shares size, backdrop and close button with the bio dialog) */
.ag-item { cursor: pointer; }
.ag-open { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.ag-open:hover { text-decoration: none; }
.ag-open:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.ev-dialog { --c: var(--blue); width: min(580px, calc(100vw - 32px)); border-top: 6px solid var(--c); }
.ed-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding-right: 44px; }
.ed-cat { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--c); }
.ed-cat .ic { width: 16px; height: 16px; }
.ed-title { margin: 0 0 12px; padding-right: 36px; font-size: clamp(1.35rem, 3.6vw, 1.75rem); line-height: 1.2; color: var(--navy); }
.ed-meta { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.ed-meta li { display: flex; align-items: flex-start; gap: 10px; }
.ed-meta .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--c); }
.ed-meta em { font-style: normal; color: var(--muted); font-size: .88em; }
.ed-meta a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.ed-meta a:hover { text-decoration-color: var(--c); }
.ed-closed { margin: 16px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--surface); font-size: .9rem; color: var(--muted); }
.ed-info { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ed-info p { margin: 0 0 10px; line-height: 1.65; font-size: .95rem; }
.ed-flyer { display: block; margin-top: 16px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.ed-flyer img { display: block; width: 100%; height: auto; }
.ed-extra { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ed-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex: 1; }
.ed-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); text-decoration: none; }
.ed-links a:hover { color: var(--c); }
.ed-links .ic { width: 16px; height: 16px; }
.ed-qr { margin: 0 0 0 auto; text-align: center; flex: none; }
.ed-qr img { display: block; width: 132px; height: 132px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ed-qr figcaption { margin-top: 6px; font-size: .75rem; color: var(--muted); }
.ed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.ed-actions .btn { padding: .7em 1.3em; font-size: .95rem; }
@media (max-width: 520px) {
  .ed-extra { flex-direction: column; }
  .ed-qr { margin: 0 auto; }
  .ed-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
  .sp-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sp-head img { width: 88px; height: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .keynote, .kn-photo, .kn-cta .ic { transition: none; }
  .sp-dialog[open] { animation: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: #fff; }
.rainbow-line { height: 5px; background: var(--rainbow); }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding-block: 44px 28px; }
.footer-brand img { width: 220px; height: auto; margin-bottom: 10px; }
.footer-brand p { margin: 0; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.footer-nav a { text-decoration: none; font-weight: 600; color: var(--navy); }
.footer-nav a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); transition: background-color .25s, color .25s, transform .35s var(--ease-out); }
.footer-social a:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 20px 28px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.footer-base p { margin: 0; }
.footer-base a { color: inherit; text-decoration: none; font-weight: 600; }
.footer-base a:hover { color: var(--cyan); }

/* ============================ REVEAL ============================ */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 64px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 32px; background: #fff; overflow-y: auto;
    clip-path: circle(0 at calc(100% - 42px) 36px); visibility: hidden;
    transition: clip-path .7s var(--ease-out), visibility 0s .7s;
  }
  .main-nav.is-open { clip-path: circle(150% at calc(100% - 42px) 36px); visibility: visible; transition: clip-path .7s var(--ease-out); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .5s var(--ease-out); }
  .main-nav.is-open > ul > li { opacity: 1; transform: none; }
  .main-nav.is-open > ul > li:nth-child(2) { transition-delay: .04s; } .main-nav.is-open > ul > li:nth-child(3) { transition-delay: .08s; }
  .main-nav.is-open > ul > li:nth-child(4) { transition-delay: .12s; } .main-nav.is-open > ul > li:nth-child(5) { transition-delay: .16s; }
  .main-nav.is-open > ul > li:nth-child(6) { transition-delay: .2s; }
  .main-nav > ul > li > a, .sub-toggle { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.35rem; font-weight: 300; text-transform: uppercase; letter-spacing: .04em; }
  .main-nav > ul > li > a::after { display: none; }
  .main-nav > ul > li > a.is-active { color: var(--cyan); }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 12px; display: none; }
  .has-sub.is-open .sub-menu { display: block; }
  .sub-menu a { font-size: 1.05rem; }
  .nav-cta { align-self: flex-start; }
  /* backdrop-filter would trap the fixed menu inside the header */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .97); }
  .site-header.menu-open { background: #fff; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .week-band { grid-template-columns: auto 1fr; }
  .week-band .btn { grid-column: 1 / -1; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero-cards { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .countdown-wrap { flex-direction: column; align-items: flex-start; }
  .countdown { width: 100%; justify-content: space-between; }

  .prog-controls { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero-schedule-head { align-items: center; }
  .mini-title span { display: none; }
  .seg { width: 100%; }
  .seg-btn { flex: 1; padding-inline: 8px; }

  .ag-item { grid-template-columns: 72px minmax(0, 1fr); padding: 16px 16px 16px 0; gap: 0 16px; }
  .ag-day { font-size: 1.8rem; }
  .ag-meta { flex-direction: column; gap: 4px; }
  .ag-actions { grid-column: 2; margin-top: 14px; flex-wrap: wrap; }
  .cal-pop { left: 0; right: auto; }

  .week-band { grid-template-columns: 1fr; padding: 24px; gap: 16px; }
  .week-band-dates { text-align: left; border-right: 0; padding-right: 0; display: flex; align-items: baseline; gap: 10px; }

  .objectives { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 150px 150px; gap: 10px; }
  .g-tile:first-child { grid-column: span 2; grid-row: span 1; }

  .st-row { grid-template-columns: 1fr; gap: 12px; padding: 18px 20px; }
  .st-logos { gap: 14px 24px; }
  .st-strategic img { height: 64px; }
  .st-gold img { height: 52px; }
  .st-silver img { height: 40px; }
  .st-friend img { height: 32px; }
  .marquee-track { gap: 40px; animation-duration: 40s; }
  .marquee-track img { height: 40px; }

  .news-grid { grid-template-columns: 1fr; }
  .official { flex-direction: column; align-items: flex-start; }
  .official img { height: auto; width: 100%; max-width: 380px; }

  .field-row { grid-template-columns: 1fr; }
  .lightbox { grid-template-columns: 1fr; padding: 64px 12px; }
  .lb-prev, .lb-next { position: absolute; bottom: 20px; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}

@media (max-width: 420px) {
  .brand-word { font-size: 11px; }
  .cd-num { font-size: 1.6rem; }
  .ev-title { font-size: 1rem; }
}

/* ============================ REDUCED MOTION ============================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-title .line > span, .rainbow-bar i, .head-ring, .brand-word span { transform: none !important; opacity: 1 !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track [aria-hidden="true"] { display: none; }
}
