/* ==========================================================================
   AIEF Family — shared design system
   One stylesheet for every page of aiedu.org.pk, including the Championship
   tab. Edition-specific styles live in /championship/css/championship.css.
   ========================================================================== */

:root {
  /* Clean white base. (The token names say "cream" for history; they are white now.) */
  --cream: #fdfdfd;
  --cream-alt: #f4f6f5;
  --cream-raised: #ffffff;
  --line: #e4e8e6;
  --line-soft: rgba(18, 23, 21, 0.08);

  --ink: #121715;
  --ink-2: #2f3632;
  --muted: #66706b;

  /* ONE accent. On the main site it is AIEF green; inside a Championship
     zone (see "Theme zones" at the end of this file) it switches to coral. */
  --accent-rgb: 10, 107, 79;
  --accent: rgb(var(--accent-rgb));
  --accent-strong: #06553f;
  --accent-soft: rgba(var(--accent-rgb), 0.1);
  --accent-ink: #ffffff;
  --champ-rgb: 239, 108, 77;
  --champ: #ef6c4d;
  --champ-strong: #c2431f;

  /* AIEF brand green, navy and mint (from the original aiedu.org.pk palette) */
  --brand: #044836;
  --brand-2: #1f514c;
  --brand-deep: #032a21;
  --brand-bright: #0d6b52;
  --brand-navy: #21275e;
  --brand-mint: #edffe3;
  --brand-soft: rgba(4, 72, 54, 0.09);

  /* "Stage" palette for dark championship moments (matches the trophy art) */
  --stage: #0b1311;
  --stage-2: #12201c;
  --stage-line: rgba(255, 255, 255, 0.1);
  --teal: #4fd1c5;
  --gold: #e7b75f;

  /* Soft mesh glow */
  --mesh-pink: #f7c6d9;
  --mesh-citrus: #f6e27a;
  --mesh-peach: #f6cfa8;
  --mesh-lavender: #cdc1f0;
  --mesh-mint: #bfe8d4;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-mega: clamp(2.9rem, 6.2vw + 0.6rem, 7rem);
  --text-display: clamp(2.5rem, 3.6vw + 1.3rem, 5.25rem);
  --text-h1: clamp(2.1rem, 2.2vw + 1.3rem, 3.75rem);
  --text-h2: clamp(1.7rem, 1.4vw + 1.15rem, 2.7rem);
  --text-h3: clamp(1.2rem, 0.5vw + 1rem, 1.55rem);
  --text-lg: clamp(1.05rem, 0.3vw + 0.97rem, 1.22rem);
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(29, 26, 21, 0.06), 0 4px 14px rgba(29, 26, 21, 0.05);
  --shadow: 0 2px 6px rgba(29, 26, 21, 0.05), 0 18px 50px rgba(29, 26, 21, 0.09);
  --shadow-lg: 0 30px 80px rgba(29, 26, 21, 0.16);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --header-h: 76px;
  --bar-h: 0px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--bar-h) + 24px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2.5px solid var(--accent-strong); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 12px; }
.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; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { position: relative; padding-block: clamp(72px, 9vw, 132px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--alt { background: var(--cream-alt); }
.section--raised { background: var(--cream-raised); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--stage { background: var(--stage); color: #f3efe6; isolation: isolate; overflow: hidden; }
.section--stage .muted { color: rgba(243, 239, 230, 0.68); }
main { display: block; padding-top: calc(var(--header-h) + var(--bar-h)); }
main.main--flush { padding-top: 0; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

.stack > * + * { margin-top: var(--stack, 1rem); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-strong);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.section--stage .eyebrow, .section--ink .eyebrow { color: var(--accent); }
.h-mega { font-size: var(--text-mega); line-height: 0.98; letter-spacing: -0.035em; }
.h-display { font-size: var(--text-display); line-height: 1.02; letter-spacing: -0.03em; }
.h1 { font-size: var(--text-h1); }
.h2 { font-size: var(--text-h2); }
.h3 { font-size: var(--text-h3); line-height: 1.2; }
.lead { font-size: var(--text-lg); color: var(--ink-2); line-height: 1.65; }
.section--stage .lead, .section--ink .lead { color: rgba(243, 239, 230, 0.78); }
.muted { color: var(--muted); }
.small { font-size: var(--text-sm); }
.accent { color: var(--accent-strong); }
.section--stage .accent { color: var(--accent); }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head .h2, .section-head .h1 { margin-top: 14px; }
.section-head .lead { margin-top: 18px; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 680px; }

/* Highlighted word with hand-drawn underline */
.mark { position: relative; white-space: nowrap; color: var(--accent-strong); }
.mark svg { position: absolute; left: -2%; bottom: -0.16em; width: 104%; height: 0.36em; overflow: visible; }
.mark path { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.4s 0.5s var(--ease); }
.is-in .mark path, .mark.is-in path { stroke-dashoffset: 0; }

/* ---------- Buttons & chips ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.005em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap; isolation: isolate; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(29, 26, 21, 0.18); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--accent { --bg: var(--accent); --fg: var(--accent-ink); }
.btn--accent:hover { box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.38); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: rgba(29, 26, 21, 0.2); }
.btn--ghost:hover { --bg: var(--cream-raised); border-color: rgba(29, 26, 21, 0.35); }
.btn--light { --bg: #ffffff; --fg: var(--ink); }
.btn--ghost-light { --bg: transparent; --fg: #f8f4ea; border-color: rgba(248, 244, 234, 0.3); }
.btn--ghost-light:hover { --bg: rgba(248, 244, 234, 0.08); border-color: rgba(248, 244, 234, 0.6); box-shadow: none; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-strong); }
.link-arrow .arrow { transition: transform 0.35s var(--ease); }
.link-arrow:hover .arrow, a:hover > .link-arrow .arrow, .card:hover .link-arrow .arrow { transform: translateX(5px); }
.section--stage .link-arrow { color: var(--accent); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line-soft); font-size: var(--text-sm); font-weight: 500; color: var(--ink-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chip--accent { background: var(--accent-soft); color: var(--accent-strong); border-color: transparent; font-weight: 600; }
.chip--dark { background: rgba(255, 255, 255, 0.07); color: rgba(243, 239, 230, 0.86); border-color: var(--stage-line); }
.chip .dot, .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.dot--pulse { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.6); animation: pulse 2.2s infinite; }
.dot--teal { background: var(--teal); }
.dot--done, .chip .dot--done { background: #3aa57a; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.55); } 70% { box-shadow: 0 0 0 9px rgba(var(--accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }

/* ---------- Surfaces ---------- */
.glass {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(29, 26, 21, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 8px 30px rgba(29, 26, 21, 0.07);
}
.card {
  position: relative; background: var(--cream-raised); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 32px); box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
a.card:hover, .card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(var(--accent-rgb), 0.25); }
.card--flat { box-shadow: none; }
.section--stage .card { background: rgba(255, 255, 255, 0.04); border-color: var(--stage-line); box-shadow: none; }

.mesh {
  position: absolute; inset: -10%; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(38% 42% at 16% 22%, color-mix(in srgb, var(--mesh-pink) 85%, transparent), transparent 72%),
    radial-gradient(40% 44% at 84% 14%, color-mix(in srgb, var(--mesh-citrus) 70%, transparent), transparent 72%),
    radial-gradient(46% 50% at 80% 80%, color-mix(in srgb, var(--mesh-peach) 85%, transparent), transparent 72%),
    radial-gradient(40% 44% at 14% 84%, color-mix(in srgb, var(--mesh-mint) 80%, transparent), transparent 72%),
    radial-gradient(50% 56% at 50% 50%, color-mix(in srgb, var(--mesh-lavender) 55%, transparent), transparent 78%);
  filter: blur(60px) saturate(125%); opacity: 0.75;
  animation: meshDrift 22s ease-in-out infinite alternate;
}
.mesh--soft { opacity: 0.45; }
@keyframes meshDrift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(2%, -2%, 0) scale(1.06); } 100% { transform: translate3d(-2%, 1.5%, 0) scale(1.02); } }

.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.watermark { position: absolute; pointer-events: none; opacity: 0.07; z-index: 0; }

/* ---------- Announcement bar ---------- */
.family-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 61; height: var(--bar-h); overflow: hidden;
  background: var(--ink); color: rgba(248, 244, 234, 0.9); font-size: 0.82rem;
  transition: transform 0.4s var(--ease);
}
.family-bar a { display: flex; align-items: center; justify-content: center; gap: 12px; height: 100%; padding-inline: var(--gutter); white-space: nowrap; }
.family-bar .tag { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 99px; background: rgba(var(--accent-rgb), 0.18); color: #ffb39f; font-weight: 600; font-size: 0.74rem; letter-spacing: 0.02em; }
.family-bar .msg { overflow: hidden; text-overflow: ellipsis; }
.family-bar .go { color: #fff; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.family-bar a:hover .go .arrow { transform: translateX(4px); }
.family-bar .arrow { transition: transform 0.3s var(--ease); }
@media (max-width: 560px) { .family-bar .go span { display: none; } }
body.is-scrolled .family-bar { transform: translateY(-100%); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; z-index: 60; left: 0; right: 0; top: var(--bar-h);
  padding: 12px var(--gutter); pointer-events: none;
  transition: top 0.4s var(--ease), padding 0.4s var(--ease);
}
body.is-scrolled .site-header { top: 0; padding-top: 10px; }
.site-header__inner {
  pointer-events: auto; max-width: calc(var(--maxw) + 40px); margin-inline: auto;
  display: flex; align-items: center; gap: 18px; height: 56px; padding: 0 10px 0 20px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.66); border: 1px solid rgba(29, 26, 21, 0.08);
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 10px 34px rgba(29, 26, 21, 0.08);
  transition: background-color 0.3s, box-shadow 0.4s var(--ease);
}
body.is-scrolled .site-header__inner { background: rgba(255, 255, 255, 0.86); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 14px 40px rgba(29, 26, 21, 0.12); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__link, .nav__btn {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 13px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; color: var(--ink-2); background: none; border: 0; transition: background-color 0.25s, color 0.25s;
}
.nav__link:hover, .nav__btn:hover, .nav__item.is-open > .nav__btn { background: rgba(29, 26, 21, 0.06); color: var(--ink); }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__btn { color: var(--ink); font-weight: 600; }
.nav__link[aria-current="page"]::after, .nav__item.is-current > .nav__btn::after {
  content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); transform: translateX(-50%);
}
.nav__btn svg { transition: transform 0.3s var(--ease); }
.nav__item { position: relative; }
.nav__item.is-open > .nav__btn svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 240px; padding: 8px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.96); border: 1px solid var(--line-soft); box-shadow: var(--shadow);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s;
}
.nav__item.is-open .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__menu a { display: block; padding: 10px 14px; border-radius: 12px; font-size: 0.92rem; font-weight: 500; }
.nav__menu a small { display: block; color: var(--muted); font-weight: 400; font-size: 0.8rem; }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { background: var(--cream-alt); }

/* The Championship tab — part of the family, styled as the standout tab */
.nav__champ {
  display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 8px 0 14px; margin-left: 6px; border-radius: 999px;
  background: var(--stage); color: #f3efe6; font-size: 0.88rem; font-weight: 600; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  position: relative; overflow: hidden; isolation: isolate;
}
.nav__champ::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.9;
  background: radial-gradient(60% 120% at 15% 50%, rgba(79, 209, 197, 0.35), transparent 70%), radial-gradient(60% 120% at 100% 50%, rgba(231, 183, 95, 0.3), transparent 70%);
}
.nav__champ:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11, 19, 17, 0.3); }
.nav__champ .ed { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); font-size: 0.74rem; letter-spacing: 0.02em; color: var(--gold); }
.nav__champ[aria-current="page"] { box-shadow: 0 0 0 2px var(--accent); }
.header-cta { margin-left: 4px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: var(--cream); align-items: center; justify-content: center; }
.menu-toggle span { position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: background-color 0.2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.35s var(--ease); }
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(6px); }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { transform: rotate(45deg); }
body.menu-open .menu-toggle span::after { transform: rotate(-45deg); }

.scroll-progress { position: fixed; z-index: 62; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--gold)); pointer-events: none; }

/* Mobile sheet */
.mobile-nav {
  position: fixed; inset: 0; z-index: 59; background: rgba(253, 253, 253, 0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: calc(var(--header-h) + var(--bar-h) + 20px) var(--gutter) 32px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s;
}
body.menu-open .mobile-nav { opacity: 1; visibility: visible; }
.mobile-nav ul { list-style: none; }
.mobile-nav li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(12px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); transition-delay: calc(var(--i, 0) * 40ms); }
body.menu-open .mobile-nav li { opacity: 1; transform: none; }
.mobile-nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.mobile-nav a[aria-current="page"] { color: var(--accent-strong); }
.mobile-nav .sub a { font-size: 1.1rem; padding-left: 18px; color: var(--ink-2); }
.mobile-nav .nav__champ { margin: 22px 0 0; height: 56px; width: 100%; justify-content: space-between; padding: 0 12px 0 20px; font-size: 1.05rem; }
.mobile-nav .btn { width: 100%; margin-top: 12px; }
body.menu-open { overflow: hidden; }

@media (max-width: 1140px) {
  .nav__link, .nav__btn { padding: 0 10px; font-size: 0.86rem; }
  .brand img { width: 150px; }
}
@media (max-width: 1060px) {
  .nav, .header-cta, .site-header__inner > .nav__champ { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__inner { padding-right: 6px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(64px, 8vw, 120px) clamp(48px, 6vw, 88px); }
.page-hero .h-display { margin-top: 18px; max-width: 15ch; }
.page-hero .lead { margin-top: 22px; max-width: 60ch; }
.page-hero .btn-row { margin-top: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--text-sm); color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: 0.5; }
.page-hero__art { position: absolute; right: -4%; top: 50%; width: min(46vw, 560px); transform: translateY(-50%); opacity: 0.9; z-index: -1; pointer-events: none; }
@media (max-width: 900px) { .page-hero__art { opacity: 0.18; right: -20%; width: 90vw; } }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--scale { transform: scale(0.96); }
.reveal--left { transform: translateX(-32px); }
/* Extra bottom room so the hand-drawn underline (.mark) is never clipped */
.line-mask { display: block; overflow: hidden; padding-bottom: 0.26em; margin-bottom: -0.26em; }
.line-mask > span { display: block; transform: translateY(132%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 100ms); }
.is-in .line-mask > span, .line-mask.is-in > span { transform: none; }
html.no-js .reveal, html.no-js .line-mask > span { opacity: 1; transform: none; }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; -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; width: max-content; gap: clamp(36px, 5vw, 72px); align-items: center; animation: marquee var(--speed, 38s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: clamp(40px, 4.4vw, 56px); width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: 0.72; transition: filter 0.3s, opacity 0.3s, transform 0.4s var(--ease); }
.marquee__track img:hover { filter: none; opacity: 1; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(22px, 3vw, 36px) clamp(12px, 2vw, 28px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.2rem, 3.4vw, 3.4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stat__num sup { font-size: 0.5em; color: var(--accent); vertical-align: top; margin-left: 2px; }
.stat__label { margin-top: 10px; color: var(--muted); font-size: var(--text-sm); max-width: 22ch; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Icon tiles / features ---------- */
/* Icon tile: AIEF-green tile with a crisp white line icon (inline SVG) */
.icon-tile {
  position: relative; width: 64px; height: 64px; border-radius: 19px; display: grid; place-items: center; flex: none; color: #fff;
  background: radial-gradient(120% 120% at 18% 0%, var(--brand-bright) 0%, var(--brand) 52%, var(--brand-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.22), 0 12px 24px -10px rgba(4, 72, 54, 0.6);
  transition: transform 0.5s var(--ease);
}
.icon-tile svg { width: 34px; height: 34px; stroke-width: 1.5; }
.icon-tile img { width: 64%; height: 64%; object-fit: contain; }
.card--glow:hover .icon-tile, a.card:hover .icon-tile { transform: translateY(-2px) rotate(-4deg); }
.feature { display: flex; flex-direction: column; gap: 18px; height: 100%; }
.feature h3 { font-size: 1.2rem; line-height: 1.25; }
.feature p { color: var(--muted); }
.card--glow { overflow: hidden; }
.card--glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), 0.13), transparent 60%);
}
.card--glow:hover::before { opacity: 1; }

/* Numbered list */
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23044836' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.section--stage .ticks li::before { background-color: rgba(var(--accent-rgb), 0.2); }

/* ---------- Media ---------- */
.media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream-alt); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--square { aspect-ratio: 1; }
.media--portrait { aspect-ratio: 4 / 5; }
.zoom img { transition: transform 1.2s var(--ease); }
.zoom:hover img, a:hover .zoom img { transform: scale(1.05); }

/* ---------- Quote ---------- */
.quote { position: relative; font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw + 0.6rem, 2.7rem); line-height: 1.2; letter-spacing: -0.025em; font-weight: 500; text-wrap: balance; }
.quote::before { content: "\201C"; position: absolute; left: -0.05em; top: -0.55em; font-size: 4em; line-height: 1; color: var(--accent); opacity: 0.25; z-index: -1; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.byline img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.byline strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.byline span { font-size: var(--text-sm); color: var(--muted); }
.section--stage .byline span { color: rgba(243, 239, 230, 0.6); }

/* ---------- News cards ---------- */
.news-card { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; }
.news-card .media { border-radius: 0; aspect-ratio: 16 / 10; }
.news-card__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 26px; flex: 1; }
.news-card__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 0.8rem; color: var(--muted); }
.news-card__meta .tag { color: var(--accent-strong); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.7rem; }
.news-card h3 { font-size: 1.18rem; line-height: 1.3; }
.news-card p { color: var(--muted); font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .link-arrow { margin-top: auto; padding-top: 6px; font-size: 0.92rem; }
.cover-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: var(--stage); color: #f3efe6; overflow: hidden; }
.cover-fallback img { width: 34%; height: auto; opacity: 0.9; object-fit: contain; }

/* ---------- People ---------- */
.person { position: relative; display: flex; flex-direction: column; text-align: left; background: none; border: 0; padding: 0; width: 100%; }
.person__photo { position: relative; aspect-ratio: 1 / 1.08; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--cream-alt), #eadfc6); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1s var(--ease), filter 0.6s; filter: grayscale(0.15); }
.person:hover .person__photo img, .person:focus-visible .person__photo img { transform: scale(1.06); filter: none; }
.person__photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, rgba(29, 26, 21, 0.55)); opacity: 0; transition: opacity 0.5s var(--ease); }
.person:hover .person__photo::after { opacity: 1; }
.person__more { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: var(--cream-raised); display: grid; place-items: center; box-shadow: var(--shadow-sm); transform: scale(0.8); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.3s; }
.person:hover .person__more, .person:focus-visible .person__more { transform: none; opacity: 1; }
.person__name { margin-top: 16px; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.person__role { margin-top: 4px; font-size: 0.88rem; color: var(--muted); line-height: 1.45; }
.initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 3rem; font-weight: 600; color: var(--accent-strong); }

/* Dialog */
dialog.sheet {
  width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--cream-raised); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto;
}
dialog.sheet::backdrop { background: rgba(29, 26, 21, 0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog.sheet[open] { animation: sheetIn 0.5s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.sheet__inner { display: grid; grid-template-columns: 220px 1fr; }
.sheet__photo { background: var(--cream-alt); min-height: 260px; }
.sheet__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.sheet__body { padding: 36px 32px 32px; }
.sheet__body h2 { font-size: 1.7rem; }
.sheet__body .role { margin-top: 8px; color: var(--accent-strong); font-weight: 600; font-size: 0.92rem; }
.sheet__body p { margin-top: 18px; color: var(--ink-2); }
.sheet__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(29, 26, 21, 0.07); display: grid; place-items: center; z-index: 2; }
.sheet__close:hover { background: rgba(29, 26, 21, 0.13); }
@media (max-width: 600px) { .sheet__inner { grid-template-columns: 1fr; } .sheet__photo { aspect-ratio: 4 / 3; min-height: 0; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(13, 12, 10, 0.92); opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1100px, 92vw); }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox figcaption { margin-top: 14px; text-align: center; color: rgba(255, 255, 255, 0.72); font-size: var(--text-sm); }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.1); color: #fff; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 20px; transform: none; } }

/* ---------- Tabs / segmented ---------- */
.segmented { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(29, 26, 21, 0.06); position: relative; }
.segmented button { position: relative; z-index: 1; border: 0; background: none; height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 600; color: var(--muted); transition: color 0.3s; }
.segmented button[aria-selected="true"] { color: var(--ink); }
.segmented .pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; border-radius: 999px; background: var(--cream-raised); box-shadow: var(--shadow-sm); transition: left 0.5s var(--ease), width 0.5s var(--ease); }
[role="tabpanel"][hidden] { display: none; }
[role="tabpanel"] { animation: fadeUp 0.6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 1px solid var(--line); background: var(--cream-raised); height: 40px; padding: 0 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--ink-2); transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.filters button:hover { border-color: rgba(29, 26, 21, 0.3); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; font-family: var(--font-display); font-size: clamp(1.05rem, 0.4vw + 1rem, 1.25rem); font-weight: 600; letter-spacing: -0.01em; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--cream-alt); transition: background-color 0.3s, transform 0.4s var(--ease); }
.accordion summary .plus::before, .accordion summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); transition: transform 0.4s var(--ease); }
.accordion summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion details[open] summary .plus { background: var(--accent); transform: rotate(180deg); }
.accordion details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0); }
.accordion .answer { padding: 0 4px 24px; color: var(--ink-2); max-width: 72ch; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--cream-raised);
  font: inherit; color: var(--ink); transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { font-size: 0.85rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 80px); background: var(--ink); color: var(--cream); }
.cta-band .h1 { max-width: 16ch; }
.cta-band .lead { color: rgba(248, 244, 234, 0.75); max-width: 52ch; margin-top: 18px; }
.cta-band .btn-row { margin-top: 32px; }
.cta-band .mesh { opacity: 0.35; filter: blur(70px) saturate(140%); }
.cta-band canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.7; }

/* ---------- Footer (green statement footer) ---------- */
.site-footer {
  position: relative; overflow: hidden; isolation: isolate; color: rgba(236, 246, 240, 0.78); padding-top: clamp(64px, 8vw, 112px);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(13, 107, 82, 0.6), transparent 65%),
    radial-gradient(50% 70% at 0% 100%, rgba(33, 39, 94, 0.35), transparent 70%),
    linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%);
}
.site-footer a { transition: color 0.25s; }
.site-footer a:hover { color: #fff; }
.footer-art {
  position: absolute; z-index: -1; pointer-events: none; right: max(-40px, calc((100vw - var(--maxw)) / 2 - 60px)); top: clamp(28px, 4vw, 52px);
  height: clamp(260px, 30vw, 400px); aspect-ratio: 650 / 659;
  background: linear-gradient(115deg, rgba(127, 224, 181, 0.16) 0%, rgba(127, 224, 181, 0.16) 40%, rgba(170, 245, 210, 0.7) 50%, rgba(127, 224, 181, 0.16) 60%, rgba(127, 224, 181, 0.16) 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-mask: url("/assets/img/art/circuit-tree.webp") center / contain no-repeat; mask: url("/assets/img/art/circuit-tree.webp") center / contain no-repeat;
  animation: artSweep 9s linear infinite;
}
.footer-cta { position: relative; padding-bottom: clamp(44px, 6vw, 72px); border-bottom: 1px solid rgba(255, 255, 255, 0.12); max-width: 760px; }
.footer-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #9fe6c5; }
.footer-kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.footer-statement { margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 0.96; letter-spacing: -0.045em; color: #fff; }
.footer-statement span { background: linear-gradient(100deg, #7fe0b5 0%, #e6fbf0 55%, #7fe0b5 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s ease-in-out infinite alternate; }
@keyframes shine { to { background-position: 100% 0; } }
.footer-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.footer-mail { display: inline-flex; align-items: center; gap: 10px; color: rgba(236, 246, 240, 0.85); font-weight: 500; }
.footer-mail svg { opacity: 0.7; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-block: clamp(44px, 6vw, 64px); }
.footer-brand img { width: 190px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { margin-top: 18px; max-width: 30ch; font-size: 0.95rem; }
.footer-col h3 { font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: #9fe6c5; font-weight: 600; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; font-size: 0.95rem; }
.footer-col ul a { position: relative; }
.footer-col ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.4s var(--ease); }
.footer-col ul a:hover::after { transform: scaleX(1); }
.footer-col address { font-style: normal; display: grid; gap: 11px; font-size: 0.95rem; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1); transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease); }
.footer-champ { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 18px 22px; border-radius: 20px; background: rgba(3, 20, 15, 0.35); border: 1px solid rgba(255, 255, 255, 0.1); transition: background-color 0.3s, border-color 0.3s, transform 0.5s var(--ease); }
.footer-champ:hover { background: rgba(3, 20, 15, 0.5); border-color: rgba(var(--champ-rgb), 0.5); transform: translateY(-2px); }
.footer-champ__tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 99px; background: rgba(var(--champ-rgb), 0.16); color: #ffc2b1; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-champ strong { font-family: var(--font-display); font-size: 1.1rem; color: #fff; }
.footer-champ__go { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: #ffc2b1; font-weight: 600; font-size: 0.92rem; }
.footer-champ:hover .footer-champ__go .arrow { transform: translateX(4px); }
.footer-champ .arrow { transition: transform 0.3s var(--ease); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; color: rgba(236, 246, 240, 0.55); }
.to-top { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.18); background: transparent; color: rgba(236, 246, 240, 0.85); font-size: 0.85rem; font-weight: 600; transition: background-color 0.3s, color 0.3s; }
.to-top:hover { background: #fff; color: var(--brand); }
.to-top svg { transition: transform 0.35s var(--ease); }
.to-top:hover svg { transform: translateY(-3px); }
.footer-cta + .footer-top { border-top: 0; }
.site-footer .container > .footer-cta { max-width: none; }
.footer-cta > div:first-child, .footer-cta__actions { max-width: 760px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .footer-art { opacity: 0.45; right: -80px; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } .footer-champ__go { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .footer-art, .footer-statement span { animation: none; } }

/* ---------- Article ---------- */
.article { font-size: 1.08rem; line-height: 1.75; color: var(--ink-2); }
.article > * + * { margin-top: 1.15em; }
.article h2, .article h3 { color: var(--ink); margin-top: 1.8em; font-size: 1.5rem; line-height: 1.25; }
.article ul { padding-left: 1.2em; }
.article li + li { margin-top: 0.4em; }
.article a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.article blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; color: var(--ink); }
.article figure { margin: 2em 0; }
.article figure img { border-radius: var(--radius); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; color: var(--muted); font-size: var(--text-sm); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery-grid button { position: relative; padding: 0; border: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream-alt); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gallery-grid button:hover img { transform: scale(1.06); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 24px; }
.mt-l { margin-top: 40px; }
.mt-xl { margin-top: 64px; }
.center { text-align: center; }
.rel { position: relative; }
.z1 { position: relative; z-index: 1; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.hide-sm { }
@media (max-width: 640px) { .hide-sm { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; }
  .reveal, .line-mask > span { opacity: 1; transform: none; }
  .mark path { stroke-dashoffset: 0; }
}

/* ==========================================================================
   HOME
   ========================================================================== */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(36px, 5vw, 72px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: 1.22fr 0.78fr; gap: clamp(24px, 3vw, 48px); align-items: center; min-height: min(74vh, 720px); }
.hero__notice { margin-bottom: 28px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.hero__notice:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.hero__notice .arrow { transition: transform 0.35s var(--ease); }
.hero__notice:hover .arrow { transform: translateX(4px); }
.hero__title { font-size: clamp(2.5rem, 3.7vw + 0.6rem, 4.9rem); }
.hero__lead { margin-top: 28px; max-width: 54ch; }
.hero .btn-row { margin-top: 34px; }
.hero__stats { margin-top: clamp(40px, 5vw, 72px); }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__visual { max-width: 560px; width: 100%; margin-inline: auto; }
}

/* Orbit */
.orbit { position: relative; width: 100%; aspect-ratio: 1 / 0.92; }
.orbit canvas { position: absolute; inset: -6%; width: 112%; height: 112%; -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent); mask-image: radial-gradient(closest-side, #000 62%, transparent); }
.orbit__rings span { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgba(29, 26, 21, 0.16); transform: translate(-50%, -50%); }
.orbit__rings .r1 { width: 89.7%; height: 89.7%; }
.orbit__rings .r2 { width: 59.8%; height: 59.8%; border-style: solid; border-color: rgba(var(--accent-rgb), 0.22); }
.orbit__rings .r1 { animation: spin 90s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.orbit__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 5;
  width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 2px; text-align: center;
  background: radial-gradient(circle at 35% 30%, #ffffff, #eef4f1 72%); border: 1px solid rgba(18, 23, 21, 0.08);
  box-shadow: 0 30px 70px rgba(29, 26, 21, 0.16), inset 0 1px 0 #fff, 0 0 0 14px rgba(255, 255, 255, 0.45), 0 0 0 30px rgba(255, 255, 255, 0.2);
}
.orbit__core img { width: 44%; }
.orbit__core strong { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.6rem); letter-spacing: -0.03em; line-height: 1; margin-top: 6px; }
.orbit__core small { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-strong); font-weight: 600; }
.orbit__item {
  position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--ink);
  background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(29, 26, 21, 0.1); box-shadow: 0 10px 26px rgba(29, 26, 21, 0.1);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.orbit__item:hover, .orbit__item:focus-visible { background: var(--ink); color: var(--cream); box-shadow: 0 14px 30px rgba(29, 26, 21, 0.25); }
.orbit__item--sm { font-size: 0.82rem; padding: 8px 13px; font-weight: 500; }
.orbit__item--champ { background: var(--stage); color: #f3efe6; border-color: transparent; }
.orbit__item--champ:hover { background: var(--champ); color: var(--ink); }
@media (max-width: 520px) { .orbit__item { font-size: 0.76rem; padding: 7px 11px; } .orbit__item--sm { font-size: 0.72rem; padding: 6px 10px; } }

/* Partners strip */
.partners-strip { border-bottom: 1px solid var(--line); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: clamp(14px, 1.8vw, 22px); }
.bento > * { display: flex; flex-direction: column; gap: 14px; }
.bento__item h3 { font-size: 1.25rem; }
.bento__item p { color: var(--muted); }
.bento__item .link-arrow { margin-top: auto; font-size: 0.92rem; }
.bento__champ {
  position: relative; grid-column: span 2; grid-row: span 2; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  background: var(--stage); color: #f3efe6; justify-content: flex-end; padding: clamp(26px, 3vw, 40px); min-height: 520px;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.bento__champ:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(11, 19, 17, 0.35); }
.bento__champ-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; transition: transform 1.4s var(--ease); }
.bento__champ:hover .bento__champ-img { transform: scale(1.05); }
.bento__champ::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 19, 17, 0) 20%, rgba(11, 19, 17, 0.82) 70%, rgba(11, 19, 17, 0.96)); }
.bento__champ::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(380px circle at var(--mx, 70%) var(--my, 30%), rgba(79, 209, 197, 0.18), transparent 60%); }
.bento__champ-body { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: start; max-width: 46ch; }
.bento__champ p { color: rgba(243, 239, 230, 0.78); }
.bento__champ .link-arrow { color: var(--accent); }
.bento__members { grid-column: auto; }
.bento__members .avatars img, .bento__members .avatars span { width: 46px; height: 46px; }
.avatars { display: flex; align-items: center; }
.avatars img, .avatars span { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--cream-raised); margin-left: -12px; background: var(--cream-alt); }
.avatars img:first-child { margin-left: 0; }
.avatars span { display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; color: var(--accent-strong); }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento__champ { grid-column: span 2; grid-row: auto; min-height: 460px; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento__champ, .bento__members { grid-column: auto; } .bento__champ { min-height: 440px; } }

/* Legacy band */
.legacy-band__bg { position: absolute; inset: -12% 0; z-index: -2; }
.legacy-band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; opacity: 0.42; }
.legacy-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 19, 17, 0.96) 0%, rgba(11, 19, 17, 0.78) 45%, rgba(11, 19, 17, 0.45) 100%), linear-gradient(180deg, rgba(11, 19, 17, 0.5), transparent 30%, transparent 70%, rgba(11, 19, 17, 0.8)); }
.legacy-band__net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.5; }
.editions { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; margin-top: 12px; }
.editions::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), var(--teal), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.8s var(--ease) 0.2s; }
.editions.is-in::before, .is-in > .editions::before { transform: scaleX(1); }
.edition { position: relative; padding: 40px 24px 0 0; }
.edition::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--stage); border: 2px solid var(--teal); }
.edition--current::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(231, 183, 95, 0.2), 0 0 24px rgba(231, 183, 95, 0.6); }
.edition__year { font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 3.4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(243, 239, 230, 0.55); }
.edition--current .edition__year { color: var(--gold); -webkit-text-stroke: 0; }
.edition h3 { margin-top: 14px; font-size: 1.15rem; line-height: 1.25; }
.edition .muted { margin-top: 6px; font-size: 0.9rem; }
.edition__win { margin-top: 14px; font-size: 0.9rem; color: rgba(243, 239, 230, 0.86); padding-top: 12px; border-top: 1px solid var(--stage-line); }
.edition__win span { display: block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: 4px; }
.edition--current .edition__win span { color: var(--gold); }
@media (max-width: 900px) {
  .editions { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .editions::before { display: none; }
}
@media (max-width: 520px) { .editions { grid-template-columns: 1fr; } }

/* About on home */
.about-home { overflow: hidden; }
.about-home__wm { width: 640px; left: -160px; top: 40px; }
.mv { display: grid; gap: 16px; }
.mv__card { padding: 26px 28px; }
.mv__k { display: block; font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-strong); font-weight: 600; margin-bottom: 10px; }
.mv__card p { color: var(--ink-2); }

/* Certifications */
.certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); align-items: end; }
.cert { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--stage); color: #f3efe6; box-shadow: var(--shadow); transform-style: preserve-3d; }
.cert:nth-child(2) { margin-bottom: 28px; }
.cert:nth-child(3) { margin-bottom: 56px; }
.cert__img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.cert__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cert:hover .cert__img img { transform: scale(1.06); }
.cert__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--stage)); }
.cert__code { position: absolute; right: 18px; top: 16px; z-index: 1; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cert__body { padding: 4px 26px 28px; }
.cert__tier { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.cert h3 { margin-top: 8px; font-size: 1.35rem; }
.cert p { margin-top: 10px; color: rgba(243, 239, 230, 0.72); font-size: 0.95rem; }
@media (max-width: 900px) { .certs { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .cert:nth-child(n) { margin-bottom: 0; } }

/* Quote band */
.quote-band { overflow: hidden; isolation: isolate; }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
/* About */
.mv-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.mv-big { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 56px); background: var(--cream-raised); border: 1px solid var(--line-soft); min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; }
.mv-big--dark { background: var(--stage); color: #f3efe6; border-color: transparent; }
.mv-big--dark .eyebrow { color: var(--teal); }
.mv-big__n { position: absolute; top: 18px; right: 28px; font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 10vw, 9rem); line-height: 1; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px rgba(29, 26, 21, 0.12); }
.mv-big--dark .mv-big__n { -webkit-text-stroke-color: rgba(243, 239, 230, 0.14); }
.mv-big__text { margin-top: 18px; font-family: var(--font-display); font-size: clamp(1.35rem, 1.4vw + 0.8rem, 2rem); line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; text-wrap: balance; }
@media (max-width: 760px) { .mv-duo { grid-template-columns: 1fr; } .mv-big { min-height: 280px; } }
.ceo-photo { position: relative; max-width: 460px; }
.ceo-photo__tag { position: absolute; left: -18px; bottom: 28px; padding: 14px 18px; border-radius: 16px; }
.ceo-photo__tag strong { display: block; font-family: var(--font-display); }
.ceo-photo__tag span { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 900px) { .ceo-photo { margin-inline: auto; } .ceo-photo__tag { left: 12px; } }
.pull { margin: 0; padding-left: 22px; border-left: 3px solid var(--accent); font-family: var(--font-display); font-size: 1.3rem; line-height: 1.4; letter-spacing: -0.015em; }
.voices__net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.45; }
.voices__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.voice { margin: 0; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--stage-line); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.voice--lg { grid-row: span 2; }
.voice:last-child { grid-column: span 2; }
.voice--lg blockquote { font-size: clamp(1.3rem, 1.2vw + 0.8rem, 1.75rem); }
.voice blockquote { margin: 0; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.4; letter-spacing: -0.01em; }
.voice figcaption strong { display: block; color: #fff; }
.voice figcaption span { font-size: 0.85rem; color: rgba(243, 239, 230, 0.6); }
@media (max-width: 900px) { .voices__grid { grid-template-columns: 1fr 1fr; } .voice--lg { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 600px) { .voices__grid { grid-template-columns: 1fr; } .voice:last-child { grid-column: auto; } }

/* Members */
.people-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px) clamp(14px, 2vw, 24px); }
.person-cell[hidden] { display: none; }
@media (max-width: 960px) { .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ceo-wide { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream-raised); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); }
.ceo-wide__photo { min-height: 420px; background: var(--cream-alt); }
.ceo-wide__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.ceo-wide__body { padding: clamp(32px, 5vw, 72px); align-self: center; }
@media (max-width: 760px) { .ceo-wide { grid-template-columns: 1fr; } .ceo-wide__photo { min-height: 0; aspect-ratio: 4 / 3.4; } }

/* Chapters */
.chapters-band { padding-bottom: clamp(48px, 6vw, 88px); }
.chapter-map { position: relative; border-radius: var(--radius-lg); border: 1px solid var(--stage-line); background: radial-gradient(80% 90% at 60% 40%, rgba(79, 209, 197, 0.08), transparent 70%), var(--stage-2); overflow: hidden; }
.chapter-map svg { width: 100%; height: auto; }
.chapter-map .flow { stroke-width: 2.5; stroke-dasharray: 7 9; animation: flow 1.6s linear infinite; opacity: 1; filter: drop-shadow(0 0 6px rgba(231, 183, 95, 0.6)); }
.chapter-map .solid { stroke-width: 3; opacity: 1; filter: drop-shadow(0 0 6px rgba(79, 209, 197, 0.7)); }
@keyframes flow { to { stroke-dashoffset: -30; } }
.chapter-map .ping { animation: ping 2.4s var(--ease) infinite; transform-origin: center; transform-box: fill-box; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(5); opacity: 0; } }
.chapter-map__legend { position: absolute; left: 20px; bottom: 16px; display: flex; gap: 18px; font-size: 0.82rem; color: rgba(243, 239, 230, 0.7); }
.chapter-map__legend span { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 600px) { .chapter-map svg { min-height: 260px; width: 170%; max-width: none; margin-left: -55%; } .chapter-map__legend { position: static; padding: 0 16px 16px; } }
.chapters { display: grid; gap: clamp(56px, 8vw, 110px); }
.chapter { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.chapter--rev .chapter__img { order: 2; }
.chapter__img { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.chapter__n { position: absolute; left: 18px; top: 14px; font-family: var(--font-display); font-weight: 700; font-size: 3.4rem; line-height: 1; letter-spacing: -0.05em; color: #fff; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.4); }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); font-size: 0.88rem; font-weight: 500; color: var(--ink-2); background: var(--cream-raised); }
@media (max-width: 860px) { .chapter { grid-template-columns: 1fr; } .chapter--rev .chapter__img { order: 0; } }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.step { padding-top: 34px; }
.step__n { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--cream); font-family: var(--font-display); font-weight: 700; }
.step h3 { margin-top: 18px; font-size: 1.25rem; }
.step p { margin-top: 8px; color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Membership */
.perks { list-style: none; display: grid; gap: 12px; }
.perks li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-family: var(--font-display); font-size: 1.08rem; }
.perk-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; box-shadow: inset 0 0 0 1px rgba(4, 72, 54, 0.1); }
.perk-ic svg { width: 24px; height: 24px; }
.member-img { box-shadow: var(--shadow); }
.join-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.join-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--cream-raised); border: 1px solid var(--line-soft); min-height: 300px; justify-content: flex-end; overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.join-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.join-card--dark { background: radial-gradient(80% 90% at 100% 0%, rgba(13, 107, 82, 0.6), transparent 70%), linear-gradient(160deg, var(--brand), var(--brand-deep)); color: var(--cream); }
.join-card--dark p { color: rgba(248, 244, 234, 0.72); }
.join-card--dark .link-arrow { color: var(--accent); }
.join-card p { color: var(--muted); max-width: 40ch; }
.join-card__k { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--accent-strong); }
.join-card--dark .join-card__k { color: var(--gold); }
@media (max-width: 700px) { .join-duo { grid-template-columns: 1fr; } }

/* News */
.featured-event { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--stage); color: #f3efe6; box-shadow: var(--shadow); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.featured-event:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.featured-event img { width: 100%; height: 100%; object-fit: cover; }
.featured-event__body { display: grid; align-content: center; justify-items: start; gap: 14px; padding: clamp(26px, 4vw, 52px); }
.featured-event__body p { color: rgba(243, 239, 230, 0.75); }
.featured-event .link-arrow { color: var(--accent); }
@media (max-width: 860px) { .featured-event { grid-template-columns: 1fr; } }
#news-grid > [hidden] { display: none; }
.albums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.album__mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; }
.album__mosaic button { position: relative; padding: 0; border: 0; overflow: hidden; background: var(--cream); }
.album__mosaic button:first-child { grid-row: span 2; }
.album__mosaic button:nth-child(n+6) { display: none; }
.album__mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.album__mosaic button:hover img { transform: scale(1.07); }
.album__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.album__meta h3 { font-size: 1.15rem; }
.album__meta span { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 760px) { .albums { grid-template-columns: 1fr; } }
.page-hero--article { padding-bottom: clamp(32px, 4vw, 48px); }
.page-hero--article .filters .chip { height: auto; }
.article-cover { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.article-foot { padding-top: 28px; border-top: 1px solid var(--line); }

/* Success stories */
.story-feature { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream-raised); border: 1px solid var(--line-soft); box-shadow: var(--shadow); transition: transform 0.6s var(--ease); }
.story-feature:hover { transform: translateY(-4px); }
.story-feature__img { min-height: 380px; overflow: hidden; }
.story-feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.story-feature:hover .story-feature__img img { transform: scale(1.04); }
.story-feature__body { display: grid; align-content: center; justify-items: start; gap: 14px; padding: clamp(28px, 4vw, 56px); }
.story-feature__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: 0.9; letter-spacing: -0.05em; background: linear-gradient(100deg, var(--accent-strong), var(--accent) 60%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 860px) { .story-feature { grid-template-columns: 1fr; } .story-feature__img { min-height: 0; aspect-ratio: 16 / 10; } }
.hof-list { display: grid; gap: 22px; }
.hof { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--cream-raised); border: 1px solid var(--line-soft); }
.hof__head { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; }
.hof__year { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 4vw, 3.6rem); letter-spacing: -0.05em; line-height: 1; color: var(--accent-strong); }
/* Medal: gold / silver / bronze disc with the place centred inside */
.medal {
  --m1: #fbe7a8; --m2: #d39b32; --glow: rgba(211, 155, 50, 0.45);
  position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.75) 0, rgba(255, 255, 255, 0) 42%), linear-gradient(150deg, var(--m1), var(--m2));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55), inset 0 -4px 8px rgba(0, 0, 0, 0.14), 0 10px 20px -8px var(--glow);
  color: #2b2009; font-family: var(--font-display); line-height: 1; font-style: normal;
}
.medal::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px dashed rgba(43, 32, 9, 0.18); }
.medal b { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.04em; }
.medal small { font-size: 0.6rem; font-weight: 700; margin: -0.7em 0 0 1px; }
.medal--2 { --m1: #fbfbfb; --m2: #a9b0b8; --glow: rgba(140, 150, 160, 0.4); color: #20262c; }
.medal--2::after { border-color: rgba(32, 38, 44, 0.16); }
.medal--3 { --m1: #f6d0ae; --m2: #b06a38; --glow: rgba(176, 106, 56, 0.4); color: #2c170a; }
.medal--3::after { border-color: rgba(44, 23, 10, 0.18); }
.medal--lg { width: 60px; height: 60px; }
.medal--lg b { font-size: 1.7rem; }
.medal--lg small { font-size: 0.7rem; }

.winners { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.winner { --tone: #d39b32; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; border-radius: 20px; background: var(--cream); border: 1px solid var(--line-soft); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.winner::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--tone), transparent 85%); }
.winner:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.winner--2nd { --tone: #a9b0b8; }
.winner--3rd { --tone: #b06a38; }
.winner__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.winner__label { padding: 5px 10px; border-radius: 99px; background: color-mix(in srgb, var(--tone) 16%, transparent); color: color-mix(in srgb, var(--tone) 55%, var(--ink)); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.winner__team { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.015em; }
.winner__team small { display: block; margin-bottom: 2px; font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.winner__what { font-size: 0.9rem; color: var(--ink-2); }
.winner__uni { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 0.84rem; color: var(--muted); }
.winner__uni::before { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10 12 5l9 5-9 5z'/%3E%3Cpath d='M7 12.2v4.3c1.4 1.1 3 1.6 5 1.6s3.6-.5 5-1.6v-4.3'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10 12 5l9 5-9 5z'/%3E%3Cpath d='M7 12.2v4.3c1.4 1.1 3 1.6 5 1.6s3.6-.5 5-1.6v-4.3'/%3E%3C/svg%3E") center/contain no-repeat; }
.hof--latest { background: linear-gradient(180deg, rgba(231, 183, 95, 0.12), transparent 60%), var(--cream-raised); border-color: rgba(211, 155, 50, 0.28); }
.hof__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.hof__photos button { padding: 0; border: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 5 / 3; background: var(--cream-alt); }
.hof__photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.hof__photos button:hover img { transform: scale(1.05); }
@media (max-width: 860px) { .winners, .hof__photos { grid-template-columns: 1fr; } .hof__photos { display: none; } .hof__head { grid-template-columns: auto 1fr; } .hof__head .link-arrow { grid-column: 1 / -1; } }
.video-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-card__play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 12px rgba(var(--accent-rgb), 0.25); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.video-card__play:hover { transform: scale(1.08); box-shadow: 0 0 0 18px rgba(var(--accent-rgb), 0.2); }
.video-card.is-playing .video-card__play { opacity: 0; pointer-events: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-hero .h-display { max-width: none; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line-soft); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.contact-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.contact-card__ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--cream); }
.contact-card small { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-form { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); margin-top: 40px; }
.map { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 8; background: var(--cream-alt); border: 1px solid var(--line-soft); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.35) contrast(1.05); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-form { margin-top: 0; } .map { aspect-ratio: 4 / 3; } }
.album__mosaic--n3 { grid-template-columns: 2fr 1fr; }
.album__mosaic--n4 button:nth-child(4) { grid-column: span 2; }

/* ==========================================================================
   v4 · 5th Championship "coming soon", winners, AIEF circuit art
   ========================================================================== */

/* ---------- Bottom ticker (same pattern as the Championship site's notice bar) ---------- */
:root { --ticker-h: 0px; }
body.has-ticker { padding-bottom: var(--ticker-h); }
.ticker {
  position: fixed; inset: auto 0 0 0; z-index: 58; display: flex; align-items: stretch; min-height: 44px; overflow: hidden;
  background: var(--accent); color: var(--ink); box-shadow: 0 -10px 28px -12px rgba(0, 0, 0, 0.45);
}
.ticker__label {
  position: relative; z-index: 1; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 clamp(12px, 2vw, 20px);
  background: var(--ink); color: var(--cream); font-family: var(--font-display); font-weight: 700; font-size: clamp(0.66rem, 1.6vw, 0.8rem); letter-spacing: 0.18em; text-transform: uppercase;
}
.ticker__label .dot { background: var(--gold); box-shadow: 0 0 0 0 rgba(231, 183, 95, 0.6); animation: pulseGold 2.2s infinite; }
.ticker__run { position: relative; flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.ticker__track { display: flex; width: max-content; align-items: center; animation: tickerRun var(--ticker-speed, 64s) linear infinite; }
.ticker__half { display: flex; flex: none; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: clamp(0.84rem, 2vw, 1.02rem); letter-spacing: 0.05em; text-transform: uppercase; }
.ticker__item::after { content: ""; flex: none; width: 8px; height: 8px; margin-inline: clamp(18px, 4vw, 40px); background: var(--ink); transform: rotate(45deg); }
.ticker__cta { position: relative; z-index: 1; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 clamp(12px, 2vw, 22px); background: var(--ink); color: #fff; font-weight: 600; font-size: 0.86rem; }
.ticker__cta .arrow { transition: transform 0.3s var(--ease); }
.ticker:hover .ticker__cta .arrow { transform: translateX(4px); }
@keyframes tickerRun { to { transform: translateX(-50%); } }
@keyframes pulseGold { 0% { box-shadow: 0 0 0 0 rgba(231, 183, 95, 0.6); } 70% { box-shadow: 0 0 0 8px rgba(231, 183, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(231, 183, 95, 0); } }
@media (max-width: 560px) { .ticker__cta span { display: none; } .ticker__label span:not(.dot) { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; width: 100%; justify-content: center; }
  .ticker__half:not(:first-child), .ticker__item:not(:first-child) { display: none; }
  .ticker__item { white-space: normal; text-align: center; padding-block: 8px; }
  .ticker__item::after { display: none; }
}
body.menu-open .ticker { visibility: hidden; }

/* Top bar: AIEF green instead of plain ink */
.family-bar { background: linear-gradient(90deg, var(--brand-deep), var(--brand) 50%, var(--brand-deep)); }
.family-bar .tag { background: rgba(231, 183, 95, 0.18); color: #f4d28f; }

/* Championship tab badge: edition + "soon" */
.nav__champ .ed small { margin-left: 5px; padding-left: 6px; border-left: 1px solid rgba(255, 255, 255, 0.2); color: rgba(243, 239, 230, 0.75); font-weight: 600; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- 5th Championship banner ---------- */
.next-banner {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg); color: #f3efe6;
  background: radial-gradient(70% 120% at 100% 0%, rgba(231, 183, 95, 0.22), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(79, 209, 197, 0.16), transparent 60%), var(--stage);
  box-shadow: 0 40px 80px -40px rgba(11, 19, 17, 0.6);
}
.next-banner canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.55; }
.next-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; background: linear-gradient(130deg, rgba(231, 183, 95, 0.7), rgba(255, 255, 255, 0.06) 40%, rgba(79, 209, 197, 0.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.next-banner__num { position: relative; font-family: var(--font-display); font-weight: 700; line-height: 0.8; letter-spacing: -0.07em; font-size: clamp(7rem, 15vw, 13rem); color: transparent; -webkit-text-stroke: 2px rgba(231, 183, 95, 0.85); background: linear-gradient(180deg, rgba(231, 183, 95, 0.35), rgba(231, 183, 95, 0) 70%); -webkit-background-clip: text; background-clip: text; padding-right: 0.1em; }
.next-banner__num sup { font-size: 0.3em; letter-spacing: 0; vertical-align: top; position: relative; top: 0.4em; -webkit-text-stroke: 1.5px rgba(231, 183, 95, 0.85); }
.next-banner__tag { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(231, 183, 95, 0.14); border: 1px solid rgba(231, 183, 95, 0.35); color: #f4d28f; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.next-banner__tag .dot { background: var(--gold); animation: pulseGold 2.2s infinite; }
.next-banner h2 { margin-top: 16px; color: #fff; max-width: 18ch; }
.next-banner p { margin-top: 14px; max-width: 54ch; color: rgba(243, 239, 230, 0.75); font-size: var(--text-lg); }
.next-banner .btn-row { margin-top: 28px; }
.next-banner__trophy { position: absolute; right: 2%; bottom: -14%; width: min(24%, 250px); z-index: -1; mix-blend-mode: screen; opacity: 0.9; -webkit-mask-image: radial-gradient(ellipse 50% 56% at 50% 44%, #000 46%, transparent 74%); mask-image: radial-gradient(ellipse 50% 56% at 50% 44%, #000 46%, transparent 74%); animation: floaty 7s ease-in-out infinite; }
.next-banner__body { position: relative; padding-right: min(18%, 200px); }
@keyframes floaty { 50% { transform: translateY(-12px); } }
@media (max-width: 860px) {
  .next-banner { grid-template-columns: 1fr; }
  .next-banner__num { font-size: clamp(5.5rem, 30vw, 8rem); }
  .next-banner__body { padding-right: 0; }
  .next-banner__trophy { opacity: 0.22; width: 55%; right: -12%; bottom: auto; top: -6%; }
}

/* Home legacy band: the next edition card */
.editions { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.edition--next::before { background: transparent; border: 2px dashed var(--accent); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.14); animation: pulse 2.4s infinite; }
.edition--next .edition__year { -webkit-text-stroke: 1px var(--accent); }
.edition--next .edition__win span { color: var(--accent); }
.edition--next a { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.edition--current::before { background: #3aa57a; border-color: #3aa57a; box-shadow: 0 0 0 6px rgba(58, 165, 122, 0.18); }
.edition--current .edition__year { color: #f3efe6; }
.edition--current .edition__win span { color: var(--gold); }
@media (max-width: 1100px) { .editions { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; } .editions::before { display: none; } }
@media (max-width: 900px) { .editions { grid-template-columns: 1fr 1fr; } .edition--next { grid-column: 1 / -1; } }
@media (max-width: 520px) { .editions { grid-template-columns: 1fr; } }

/* ---------- AIEF circuit art in page heroes (recoloured line art from aiedu.org.pk) ---------- */
.hero-art {
  position: absolute; z-index: -1; pointer-events: none; top: 50%; right: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  height: min(82%, 540px); aspect-ratio: var(--ar, 0.65); transform: translateY(-50%);
  background: linear-gradient(115deg, var(--brand) 0%, var(--brand-2) 38%, #4fd1c5 50%, var(--brand-2) 62%, var(--brand) 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-mask: var(--art) center / contain no-repeat; mask: var(--art) center / contain no-repeat;
  opacity: 0; animation: artIn 1.6s var(--ease) 0.3s forwards, artSweep 7s linear 1.2s infinite;
}
.hero-art--brain { --art: url("/assets/img/art/circuit-brain.webp"); --ar: 347 / 550; }
.hero-art--chip { --art: url("/assets/img/art/circuit-chip.webp"); --ar: 456 / 662; }
.hero-art--tree { --art: url("/assets/img/art/circuit-tree.webp"); --ar: 650 / 659; height: min(86%, 560px); }
@keyframes artIn { from { opacity: 0; transform: translateY(-46%); } to { opacity: 0.62; transform: translateY(-50%); } }
@keyframes artSweep { to { background-position: -160% 0; } }
@media (max-width: 900px) { .hero-art { height: 70%; right: -6%; } @keyframes artIn { to { opacity: 0.16; transform: translateY(-50%); } } }
@media (prefers-reduced-motion: reduce) { .hero-art { animation: none; opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) and (max-width: 900px) { .hero-art { opacity: 0.16; } }

/* Membership hero picture (the AI chip artwork from aiedu.org.pk) */
.hero-photo { position: absolute; z-index: -1; top: 50%; right: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); width: clamp(280px, 31vw, 430px); aspect-ratio: 880 / 734; transform: translateY(-50%) rotate(2deg); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
@media (max-width: 1080px) { .hero-photo { display: none; } }

@media (max-width: 860px) {
  .hof__photos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .hof__photos button { flex: 0 0 78%; scroll-snap-align: start; }
}

/* Partner logos: room above and below so the hover zoom is never clipped */
.partners-strip .marquee { padding-block: 16px; margin-top: 8px; }
.partners-strip .marquee__track img { transform-origin: 50% 50%; }

/* ==========================================================================
   v5 · Minimal theme: clean white + AIEF green
   --------------------------------------------------------------------------
   Theme zones. The main site uses AIEF green as its only accent. Anything
   that belongs to the Championship sits in a "Championship zone" and gets
   coral instead, so colour tells visitors where they are.
   ========================================================================== */
body.champ, .section--stage, .next-banner, .bento__champ, .hero__notice, .ticker, .nav__champ,
.orbit__item--champ, .featured-event, .edition--next, .c-hero__next, .footer-champ {
  --accent-rgb: var(--champ-rgb);
  --accent: var(--champ);
  --accent-strong: var(--champ-strong);
  --accent-soft: rgba(239, 108, 77, 0.14);
  --accent-ink: var(--ink);
}
/* AIEF dark moments (not Championship): deep green with a mint accent */
.section--brand, .mv-big--dark {
  --accent-rgb: 127, 224, 181;
  --accent: #7fe0b5;
  --accent-strong: #a8efcf;
  --accent-soft: rgba(127, 224, 181, 0.14);
  --accent-ink: var(--brand-deep);
}
.section--brand { background: radial-gradient(70% 90% at 100% 0%, rgba(13, 107, 82, 0.55), transparent 65%), linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%); }
.mv-big--dark { background: linear-gradient(160deg, var(--brand), var(--brand-deep)); }
.mv-big--dark .eyebrow { color: var(--accent); }

/* No pastel glows: a whisper of green light, no grain */
.mesh {
  background-image: radial-gradient(42% 55% at 92% 0%, rgba(13, 107, 82, 0.1), transparent 70%), radial-gradient(36% 46% at 0% 100%, rgba(13, 107, 82, 0.05), transparent 70%);
  filter: blur(24px); opacity: 1; animation: none;
}
.mesh--soft { opacity: 0.6; }
.grain::after { display: none; }
.page-hero { border-bottom: 1px solid var(--line-soft); }
.section--alt { border-block: 1px solid var(--line-soft); }
.quote-band { background: var(--cream-alt); }
.scroll-progress { background: var(--accent); }

/* Light end-of-page banners on the main site */
.cta-band {
  background: radial-gradient(60% 100% at 100% 0%, rgba(var(--accent-rgb), 0.09), transparent 60%), linear-gradient(180deg, #f2f8f4, #fcfefd);
  color: var(--ink); border: 1px solid var(--line);
}
.cta-band .lead { color: var(--ink-2); }
.cta-band .mesh { display: none; }
.cta-band canvas { opacity: 0.4; }
.cta-band .btn--ghost-light { --fg: var(--ink); border-color: rgba(18, 23, 21, 0.18); }
.cta-band .btn--ghost-light:hover { --bg: rgba(18, 23, 21, 0.04); border-color: rgba(18, 23, 21, 0.4); }
.cta-band--stage { background: var(--stage); color: #f3efe6; border: 0; }
.cta-band--stage .lead { color: rgba(243, 239, 230, 0.75); }

/* Calm, single-colour UI details */
.contact-card__ic, .step__n { background: var(--brand); color: #fff; }
.orbit__rings .r2 { border-color: rgba(var(--accent-rgb), 0.22); }
.news-card__meta .tag { color: var(--accent-strong); }
.hero__notice { background: rgba(255, 255, 255, 0.9); }
.hero__notice strong { color: var(--ink); }

/* ---------- Page banners: interactive AIEF aurora (banners only; the rest stays white) ---------- */
.hero .mesh, .page-hero .mesh {
  inset: 0; filter: none; opacity: 1; animation: none; overflow: hidden;
  background:
    radial-gradient(520px circle at var(--mx, 78%) var(--my, 26%), rgba(79, 209, 197, 0.24), transparent 62%),
    radial-gradient(34% 46% at 0% 0%, rgba(33, 39, 94, 0.07), transparent 70%),
    linear-gradient(125deg, #ffffff 0%, #f5fbf8 36%, #e9f6ef 70%, #dcf0e6 100%);
}
.hero .mesh::before, .page-hero .mesh::before, .hero .mesh::after, .page-hero .mesh::after { content: ""; position: absolute; border-radius: 50%; filter: blur(46px); pointer-events: none; }
.hero .mesh::before, .page-hero .mesh::before { width: 56vw; max-width: 780px; aspect-ratio: 1; right: -14%; top: -48%; background: radial-gradient(circle, rgba(13, 107, 82, 0.42), transparent 66%); animation: auroraA 18s ease-in-out infinite alternate; }
.hero .mesh::after, .page-hero .mesh::after { width: 42vw; max-width: 600px; aspect-ratio: 1; left: 26%; bottom: -60%; background: radial-gradient(circle, rgba(79, 209, 197, 0.42), transparent 66%); animation: auroraB 22s ease-in-out infinite alternate; }
@keyframes auroraA { to { transform: translate(-16%, 20%) scale(1.15); } }
@keyframes auroraB { to { transform: translate(24%, -16%) scale(0.88); } }
.hero::before, .page-hero::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 1; pointer-events: none; opacity: 0.75;
  background: linear-gradient(90deg, transparent, var(--brand-bright), #4fd1c5, #7fe0b5, var(--brand-bright), transparent); background-size: 200% 100%;
  animation: lineFlow 7s linear infinite;
}
@keyframes lineFlow { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .hero .mesh::before, .page-hero .mesh::before, .hero .mesh::after, .page-hero .mesh::after, .hero::before, .page-hero::before { animation: none; } }

/* ==========================================================================
   v7
   ========================================================================== */
/* No hand-drawn underlines: the highlighted word keeps its colour only */
.mark svg { display: none; }

/* Editions timeline: every column shares the same rows, so the labels line up */
.edition__win { align-self: start; }
@supports (grid-template-rows: subgrid) {
  .editions { row-gap: 0; }
  .edition { display: grid; grid-row: span 5; grid-template-rows: subgrid; align-content: start; padding-bottom: 40px; }
  .edition > * { margin-bottom: 0; }
  .edition h3, .edition .muted, .edition__win { align-self: start; }
}
@supports not (grid-template-rows: subgrid) {
  .edition h3 { min-height: 2.5em; }
  .edition .muted { min-height: 3.2em; }
}

/* ---------- News & Events banner: a fan of real event photos ---------- */
.hero-fan { position: absolute; z-index: 0; top: 50%; right: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); width: clamp(340px, 34vw, 480px); aspect-ratio: 1 / 0.86; transform: translateY(-46%); pointer-events: none; }
.hero-fan__card {
  position: absolute; left: 50%; top: 50%; width: 66%; margin: 0; padding: 8px 8px 0; border-radius: 18px; background: #fff;
  box-shadow: 0 2px 6px rgba(18, 23, 21, 0.06), 0 24px 50px -18px rgba(4, 72, 54, 0.35);
  transform: translate(-50%, -50%) translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0deg));
  transition: transform 0.9s var(--ease); animation: fanIn 1.1s var(--ease) backwards;
}
.hero-fan__card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.hero-fan__card figcaption { padding: 9px 6px 11px; font-size: 0.74rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-fan__card--1 { --x: -34%; --y: 4%; --r: -9deg; animation-delay: 0.15s; }
.hero-fan__card--2 { --x: 30%; --y: -8%; --r: 7deg; animation-delay: 0.3s; }
.hero-fan__card--3 { --x: 0%; --y: 10%; --r: -1.5deg; z-index: 1; animation-delay: 0.45s; }
.page-hero:hover .hero-fan__card--1 { --x: -44%; --y: 2%; --r: -13deg; }
.page-hero:hover .hero-fan__card--2 { --x: 40%; --y: -12%; --r: 11deg; }
.page-hero:hover .hero-fan__card--3 { --y: 6%; --r: 0deg; }
.hero-fan__pill { position: absolute; z-index: 2; left: 2%; bottom: 2%; display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 99px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); font-size: 0.8rem; font-weight: 600; color: var(--ink); animation: floaty 6s ease-in-out infinite; }
.hero-fan__pill .dot { background: var(--champ); }
@keyframes fanIn { from { opacity: 0; transform: translate(-50%, -40%) rotate(0deg); } }

/* ---------- Success Stories banner: winners spotlight ---------- */
.hero-spot { position: absolute; z-index: 0; top: 50%; right: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); width: clamp(340px, 34vw, 480px); aspect-ratio: 1 / 0.82; transform: translateY(-48%); pointer-events: none; }
.hero-spot__photo { position: absolute; inset: 12% 6% 10% 10%; margin: 0; border-radius: 26px; overflow: hidden; transform: rotate(2.5deg); box-shadow: 0 30px 70px -24px rgba(4, 72, 54, 0.45); outline: 8px solid #fff; animation: fanIn 1.1s var(--ease) 0.15s backwards; transition: transform 0.9s var(--ease); }
.hero-spot__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.page-hero:hover .hero-spot__photo { transform: rotate(0deg) scale(1.02); }
.hero-spot__chip { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 18px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px -16px rgba(18, 23, 21, 0.35); font-size: 0.78rem; color: var(--muted); line-height: 1.25; }
.hero-spot__chip b { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--ink); }
.hero-spot__chip--a { left: 0; bottom: 4%; animation: floaty 7s ease-in-out infinite; }
.hero-spot__chip--a .medal { width: 40px; height: 40px; }
.hero-spot__chip--a .medal b { display: inline; font-size: 1.1rem; color: inherit; }
.hero-spot__chip--a .medal small { font-size: 0.52rem; }
.hero-spot__chip--a .medal::after { inset: 3px; }
.hero-spot__chip--b, .hero-spot__chip--c { padding: 10px 16px; display: grid; gap: 1px; }
.hero-spot__chip--b { right: 0; top: 2%; animation: floaty 8s ease-in-out 1s infinite; }
.hero-spot__chip--b b { font-size: 1.35rem; color: var(--accent-strong); letter-spacing: -0.02em; }
.hero-spot__chip--c { right: 4%; bottom: -2%; animation: floaty 9s ease-in-out 2s infinite; }
.hero-spot__chip--c b { font-size: 1.35rem; letter-spacing: -0.02em; }

@media (max-width: 1080px) { .hero-fan, .hero-spot { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-fan__card, .hero-fan__pill, .hero-spot__photo, .hero-spot__chip { animation: none; } }
/* Keep the intro text clear of the photo banners */
.page-hero:has(.hero-fan) .lead, .page-hero:has(.hero-spot) .lead { max-width: 46ch; }
.hero-fan, .hero-spot { width: clamp(320px, 30vw, 440px); }
.hero-fan__card--1 { --x: -26%; }
.page-hero:hover .hero-fan__card--1 { --x: -32%; }
.page-hero:hover .hero-fan__card--2 { --x: 34%; }
/* Photos never depend on an entrance animation to be visible */
.hero-fan__card, .hero-spot__photo { animation: none; }
