/* =========================================================
   Newbotics 8349 · website stylesheet
   Brand: orange #E07731 · steel blue #30637E · charcoal #1B1B1B
   Type: Raleway (display) · Open Sans (body), as on newbotics.org
   ========================================================= */

:root {
  --orange: #E07731;
  --orange-soft: #F4A261;
  --orange-tint: #FDF1E7;
  --blue: #30637E;
  --blue-deep: #1E4256;
  --blue-tint: #E7F0F4;
  --ink: #1B1B1B;
  --ink-2: #262626;
  --ink-3: #343434;
  --paper: #FFFFFF;
  --paper-2: #F8F9F9;
  --line: #E6E6E6;
  --muted: #666666;
  --muted-light: rgba(255,255,255,.72);
  --font-display: 'Raleway', system-ui, -apple-system, sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(0,0,0,.12);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.22);
  --max: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.lead { font-size: 1.2rem; color: var(--ink-3); max-width: 62ch; }
.muted { color: var(--muted); }
.container { width: min(100%, calc(var(--max) + 32px)); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.container--narrow { width: min(100%, 852px); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display); font-weight: 800; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin: 0 0 1em;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--orange-soft); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--tint { background: var(--paper-2); }
.section--orange-tint { background: var(--orange-tint); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead, .section--dark p { color: var(--muted-light); }
.section--dark a:not(.btn) { color: var(--orange-soft); }
.section--blue { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff; }
.section--blue h2, .section--blue h3 { color: #fff; }
.section--blue p { color: rgba(255,255,255,.82); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.chip-bg { position: relative; overflow: hidden; }
.chip-bg::before {
  content: ""; position: absolute; inset: auto -120px -160px auto; width: 520px; height: 520px;
  background: url(../img/logos/chip-orange.png) center/contain no-repeat; opacity: .07;
  transform: rotate(-18deg); pointer-events: none;
}
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.6em; border-radius: 999px; font-family: var(--font-display); font-weight: 800;
  font-size: .95rem; letter-spacing: .02em; border: 2px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(224,119,49,.35); }
.btn--primary:hover { background: #d16a26; color: #fff; transform: translateY(-3px); box-shadow: 0 16px 30px rgba(224,119,49,.42); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(0,0,0,.22); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-3px); }
.btn--light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn--light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-deep); color: #fff; transform: translateY(-3px); }
.btn--sm { padding: .6em 1.1em; font-size: .82rem; }
.btn svg { width: 1.05em; height: 1.05em; }

/* Progress bar + header */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--orange), var(--orange-soft)); z-index: 1000; transition: width .1s linear; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(255,255,255,.96); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 900; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__wordmark { height: 30px; width: auto; transition: transform .4s var(--ease); }
.brand:hover .brand__wordmark { transform: translateX(3px); }
.brand__num { font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: .14em; color: var(--blue); padding: .3em .6em; border: 1.5px solid var(--blue-tint); border-radius: 6px; background: var(--blue-tint); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--ink-3);
  padding: .55em .85em; border-radius: 999px; position: relative; transition: color .25s, background .25s;
}
.nav a:not(.btn):hover { color: var(--orange); background: var(--orange-tint); }
.nav a[aria-current="page"] { color: var(--orange); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: .85em; right: .85em; bottom: .25em; height: 2px; background: var(--orange); border-radius: 2px; }
.nav .btn { margin-left: 10px; }

/* Home hero */
.hero { position: relative; min-height: min(78svh, 720px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: kenburns 14s ease-in-out forwards; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(27,27,27,.25) 0%, rgba(27,27,27,.55) 55%, rgba(27,27,27,.92) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(60% 60% at 20% 80%, rgba(224,119,49,.35), transparent 70%); pointer-events: none; }
.hero__particles { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; opacity: .9; }
.hero__content { position: relative; z-index: 3; padding-block: clamp(80px, 12vw, 140px) clamp(56px, 8vw, 96px); max-width: 900px; }
.hero__title { color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,.35); margin-bottom: .35em; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero__title .w span { display: inline-block; transform: translateY(110%); animation: rise .9s var(--ease) forwards; }
.hero__title .accent { color: var(--orange-soft); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.86); max-width: 60ch; margin-bottom: 1.6em; animation: fadeUp 1s .5s var(--ease) both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; animation: fadeUp 1s .7s var(--ease) both; }
.hero__dots { display: flex; gap: 8px; margin-top: 36px; }
.hero__dots button { width: 34px; height: 5px; border-radius: 3px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; transition: background .3s, width .3s; }
.hero__dots button.is-active { background: var(--orange); width: 54px; }
.hero__scroll { position: absolute; right: 28px; bottom: 28px; z-index: 3; width: 30px; height: 50px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; display: flex; justify-content: center; }
.hero__scroll span { width: 4px; height: 10px; background: var(--orange); border-radius: 2px; margin-top: 8px; animation: scrollHint 1.8s infinite; }

/* Inner page hero */
.page-hero { position: relative; min-height: 440px; display: grid; align-items: end; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.page-hero img.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; animation: kenburns 18s ease-in-out forwards; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(27,27,27,.2), rgba(27,27,27,.88)); }
.page-hero__content { position: relative; z-index: 2; padding-block: 120px 56px; max-width: 820px; }
.page-hero__content h1 { color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,.35); }
.page-hero__content .lead { color: rgba(255,255,255,.86); }
.page-hero--compact { min-height: 360px; }
.place-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 32px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.place-card::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 260px; height: 260px; background: url(../img/logos/chip-orange.png) center/contain no-repeat; opacity: .12; transform: rotate(-18deg); pointer-events: none; }
.place-card > * { position: relative; z-index: 1; }
.place-card h3 { color: #fff; margin: 14px 0 4px; }
.place-card p { color: var(--muted-light); margin-bottom: .8em; }
.place-card__pin { width: 52px; height: 52px; border-radius: 16px; background: var(--orange); display: grid; place-items: center; color: #fff; }
.place-card__pin svg { width: 26px; height: 26px; }
.copy-btn { font: inherit; font-family: var(--font-display); font-weight: 700; font-size: .78rem; padding: .35em .8em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--blue); cursor: pointer; margin-left: 8px; vertical-align: middle; transition: background .25s, color .25s, border-color .25s; }
.copy-btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.form__output { display: grid; gap: 12px; padding: 18px; border-radius: 12px; background: var(--orange-tint); border: 1px solid #F6D8BE; }
.form__output h4 { margin: 0; }
.form__output textarea { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; min-height: 160px; }

/* Stats */
.stats { background: var(--ink-2); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 32px 20px; text-align: center; border-left: 1px solid rgba(255,255,255,.08); }
.stat:first-child { border-left: 0; }
.stat__num { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; color: var(--orange-soft); margin-bottom: .3em; }
.stat__num sup { font-size: .4em; vertical-align: super; margin-left: .05em; }
.stat__label { display: block; font-size: .86rem; color: rgba(255,255,255,.72); max-width: 20ch; margin-inline: auto; }
.stats--light { background: var(--paper); color: var(--ink); }
.stats--light .stat { border-left-color: var(--line); }
.stats--light .stat__num { color: var(--orange); }
.stats--light .stat__label { color: var(--muted); }

/* Cards */
.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.card__body p { margin: 0; color: var(--muted); font-size: .97rem; }
.card__tag { position: absolute; top: 14px; left: 14px; background: var(--orange); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: .4em .8em; border-radius: 999px; z-index: 2; }
.card__tag--blue { background: var(--blue); }
.card__tag--gold { background: #C9A227; }
.card__foot { padding: 0 24px 22px; display: flex; gap: 14px; flex-wrap: wrap; font-size: .9rem; }
.card__foot a { font-weight: 700; }
.section--dark .card { background: var(--ink-2); color: #fff; box-shadow: none; border: 1px solid rgba(255,255,255,.08); }
.section--dark .card__body p { color: var(--muted-light); }
.section--dark .card h3 { color: #fff; }

/* Tilt + spotlight */
.tilt { transform-style: preserve-3d; will-change: transform; }
.spot { --mx: 50%; --my: 50%; position: relative; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(224,119,49,.18), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; z-index: 1; }
.spot:hover::before { opacity: 1; }

/* Feature tiles (what we do) */
.tile { padding: 32px 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.tile__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--orange-tint); color: var(--orange); margin-bottom: 18px; transition: transform .5s var(--ease), background .3s, color .3s; }
.tile:hover .tile__icon { transform: rotate(-8deg) scale(1.08); background: var(--orange); color: #fff; }
.tile__icon svg { width: 28px; height: 28px; }
.tile h3 { margin-bottom: .35em; }
.tile p { color: var(--muted); font-size: .97rem; margin: 0; }
.tile--blue .tile__icon { background: var(--blue-tint); color: var(--blue); }
.tile--blue:hover .tile__icon { background: var(--blue); color: #fff; }
.tile__num { position: absolute; right: 18px; top: 12px; font-family: var(--font-display); font-weight: 900; font-size: 3.4rem; color: rgba(0,0,0,.05); line-height: 1; }

/* Marquee */
.marquee { overflow: hidden; white-space: nowrap; position: relative; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: inline-flex; gap: 48px; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.7rem); color: var(--ink-3); }
.marquee__item::before { content: ""; width: 10px; height: 10px; background: var(--orange); border-radius: 50%; }
.section--dark .marquee__item { color: #fff; }

/* Next up / countdown */
.nextup { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.countdown__cell { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 18px 8px; text-align: center; }
.countdown__num { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1; color: var(--orange-soft); font-variant-numeric: tabular-nums; }
.countdown__label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.event-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .92rem; margin: 6px 6px 6px 0; }
.event-pill b { color: var(--orange-soft); font-family: var(--font-display); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--orange); animation: pulse 1.6s ease-out infinite; }

/* Quote */
.quote { position: relative; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.quote::before { content: "\201C"; position: absolute; top: -10px; left: 24px; font-family: var(--font-display); font-weight: 900; font-size: 7rem; line-height: 1; color: var(--orange); opacity: .25; }
.quote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.4; color: var(--ink); margin: 0 0 .8em; }
.quote cite { font-style: normal; font-size: .92rem; color: var(--muted); }
.quote cite b { color: var(--ink); }
.section--dark .quote { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); box-shadow: none; }
.section--dark .quote p { color: #fff; }

/* Sponsors strip */
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 36px; }
.logo-row__item { display: inline-flex; align-items: center; justify-content: center; height: 86px; padding: 10px 22px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease), filter .4s; filter: grayscale(1); opacity: .85; }
.logo-row__item:hover { transform: translateY(-4px) scale(1.03); box-shadow: var(--shadow); filter: none; opacity: 1; }
.logo-row__item img { max-height: 60px; width: auto; }
.logo-row__item.is-text { font-family: var(--font-display); font-weight: 800; color: var(--ink-3); font-size: 1rem; text-align: center; line-height: 1.2; max-width: 190px; }

/* Timeline */
.timeline { position: relative; padding-left: 0; list-style: none; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: var(--line); transform: translateX(-50%); }
.timeline__fill { position: absolute; left: 50%; top: 0; width: 3px; background: linear-gradient(var(--orange), var(--blue)); transform: translateX(-50%); height: 0; transition: height .2s linear; }
.timeline__item { position: relative; width: 50%; padding: 0 56px 56px 0; }
.timeline__item:nth-child(even) { margin-left: 50%; padding: 0 0 56px 56px; }
.timeline__dot { position: absolute; top: 14px; right: -11px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--orange); box-shadow: 0 0 0 6px rgba(224,119,49,.15); z-index: 2; transition: transform .4s var(--ease); }
.timeline__item:nth-child(even) .timeline__dot { right: auto; left: -11px; }
.timeline__item:hover .timeline__dot { transform: scale(1.25); }
.timeline__year { font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: var(--orange); line-height: 1; margin-bottom: .25em; }
.timeline__card { background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.timeline__card h3 { margin-bottom: .4em; }
.timeline__card p { margin: 0 0 .6em; color: var(--ink-3); font-size: .98rem; }
.timeline__card img { border-radius: var(--radius-sm); margin-top: 12px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.timeline__badge { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); background: var(--blue-tint); border-radius: 999px; padding: .3em .8em; margin-right: 6px; margin-bottom: 8px; font-family: var(--font-display); }
.timeline__badge--gold { color: #7A5B00; background: #FBF1C7; }

/* Org / sub-team cards */
.org { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.org__card { padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.org__card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.org__card h4 { margin-bottom: .3em; display: flex; align-items: center; gap: 10px; }
.org__card h4 span { width: 10px; height: 10px; border-radius: 3px; background: var(--orange); display: inline-block; }
.org__card p { font-size: .92rem; color: var(--muted); margin: 0; }
.people { display: flex; flex-wrap: wrap; gap: 10px; }
.people__chip { padding: .55em 1em; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: .9rem; transition: transform .3s var(--ease), border-color .3s, color .3s; }
.people__chip:hover { transform: translateY(-3px); border-color: var(--orange); color: var(--orange); }
.section--dark .people__chip { background: var(--ink-2); border-color: rgba(255,255,255,.12); color: #fff; }

/* Gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 14px; cursor: zoom-in; background: var(--ink-2); }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.gallery figure:hover img { transform: scale(1.08); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; color: #fff; font-size: .82rem; background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease); }
.gallery figure:hover figcaption { opacity: 1; transform: none; }
.gallery .span-2 { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(10,10,10,.92); display: none; align-items: center; justify-content: center; padding: calc(24px + env(safe-area-inset-top, 0px)) calc(24px + env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) calc(24px + env(safe-area-inset-left, 0px)); }
.lightbox.is-open { display: flex; animation: fadeIn .25s; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 82vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox__cap { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: .9rem; padding: 0 60px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; display: grid; place-items: center; transition: background .3s; }
.lightbox button:hover { background: var(--orange); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Calendar */
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.cal-toolbar h3 { margin: 0; font-size: 1.6rem; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button, .cal-view button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s, transform .3s; color: var(--ink); }
.cal-nav button:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-2px); }
.cal-nav button:disabled { opacity: .35; cursor: not-allowed; transform: none; background: #fff; color: var(--ink); border-color: var(--line); }
.cal-view { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.cal-view button { width: auto; height: auto; border: 0; border-radius: 999px; padding: .45em 1em; font-family: var(--font-display); font-weight: 700; font-size: .85rem; }
.cal-view button.is-active { background: var(--ink); color: #fff; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.cal-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.cal { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; overflow: hidden; }
.cal__head { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-family: var(--font-display); font-weight: 800; font-size: .75rem; letter-spacing: .12em; color: var(--muted); padding-bottom: 8px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; animation: fadeUp .45s var(--ease); }
.cal__day { min-height: 92px; border-radius: 10px; background: var(--paper-2); padding: 6px; position: relative; display: flex; flex-direction: column; gap: 4px; transition: background .25s; border: 1px solid transparent; }
.cal__day:hover { background: #fff; border-color: var(--line); }
.cal__day.is-empty { background: transparent; }
.cal__day.is-today { border-color: var(--orange); background: var(--orange-tint); }
.cal__day.is-weekend { background: #F2F4F5; }
.cal__num { font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--muted); }
.cal__day.is-today .cal__num { color: var(--orange); }
.cal__day.is-today .cal__num::after { content: "today"; font-size: .6rem; margin-left: 6px; letter-spacing: .1em; text-transform: uppercase; }
.cal__phase { height: 5px; border-radius: 3px; opacity: .8; }
.cal__chip { font-size: .72rem; line-height: 1.25; font-weight: 700; padding: 4px 6px; border-radius: 6px; cursor: pointer; border: 0; text-align: left; width: 100%; color: #fff; background: var(--blue); transition: transform .25s var(--ease), box-shadow .25s; font-family: var(--font-body); }
.cal__chip:hover, .cal__chip.is-selected { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.cal__chip.t-competition { background: var(--orange); }
.cal__chip.t-milestone { background: var(--blue-deep); }
.cal__chip.t-team { background: #5A8F3C; }
.cal__chip.is-tentative { background: repeating-linear-gradient(45deg, var(--blue-deep), var(--blue-deep) 6px, #2B5674 6px, #2B5674 12px); }
.cal-detail { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 24px; position: sticky; top: calc(var(--header-h) + 16px); min-height: 260px; }
.cal-detail h3 { color: #fff; margin-bottom: .3em; }
.cal-detail p { color: var(--muted-light); font-size: .95rem; }
.cal-detail__type { display: inline-block; font-family: var(--font-display); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-soft); margin-bottom: 10px; }
.cal-detail__meta { display: grid; gap: 6px; font-size: .9rem; margin: 10px 0 14px; }
.cal-detail__meta div { display: flex; gap: 10px; align-items: flex-start; }
.cal-detail__meta svg { width: 18px; height: 18px; flex: none; color: var(--orange-soft); margin-top: 2px; }
.cal-detail img { border-radius: 10px; margin-top: 6px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.cal-list { display: grid; gap: 12px; animation: fadeUp .45s var(--ease); }
.cal-list__item { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 18px 20px; background: #fff; border-radius: 14px; border: 1px solid var(--line); align-items: center; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; }
.cal-list__item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.cal-list__date { font-family: var(--font-display); font-weight: 800; color: var(--orange); line-height: 1.15; }
.cal-list__date small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; }
.cal-list__item h4 { margin: 0 0 2px; }
.cal-list__item p { margin: 0; color: var(--muted); font-size: .9rem; }
.cal-list__item.is-past { opacity: .6; }
.roadmap { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; margin-top: 10px; }
.roadmap::before { content: ""; position: absolute; left: 8%; right: 8%; top: 22px; height: 3px; background: rgba(255,255,255,.15); }
.roadmap__step { text-align: center; padding: 0 8px; position: relative; }
.roadmap__dot { width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; background: var(--ink-2); border: 3px solid var(--orange); font-family: var(--font-display); font-weight: 900; color: var(--orange-soft); position: relative; z-index: 1; transition: transform .4s var(--ease), background .3s; }
.roadmap__step:hover .roadmap__dot { transform: scale(1.12); background: var(--orange); color: #fff; }
.roadmap__step h4 { color: #fff; font-size: .95rem; margin-bottom: .2em; }
.roadmap__step p { font-size: .8rem; color: rgba(255,255,255,.65); margin: 0; }

/* Accordion */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn { width: 100%; background: none; border: 0; text-align: left; padding: 20px 48px 20px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink); cursor: pointer; position: relative; }
.acc__btn::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--orange); transition: transform .35s var(--ease); font-weight: 400; }
.acc__btn[aria-expanded="true"]::after { transform: translateY(-50%) rotate(45deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__panel.is-open { grid-template-rows: 1fr; }
.acc__panel p { color: var(--ink-3); padding-bottom: 20px; margin: 0; }

/* Sponsor tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier { background: var(--paper); border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); overflow: hidden; }
.tier:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.tier__level { font-family: var(--font-display); font-weight: 900; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.tier h3 { font-size: 1.6rem; margin: .2em 0 .1em; }
.tier__amount { font-family: var(--font-display); font-weight: 700; color: var(--muted); margin-bottom: 16px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; flex: 1; }
.tier li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.tier li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--orange-tint) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E07731' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l4 4L19 7'/></svg>") center/11px no-repeat; margin-top: 3px; }
.tier--featured { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-tint); }
.tier--featured::before { content: "Most visible"; position: absolute; top: 16px; right: -34px; transform: rotate(45deg); background: var(--orange); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 44px; }
.tier__bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 18px; }
.tier__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), var(--orange-soft)); transition: width 1.2s var(--ease); }
.in .tier__bar i { width: var(--w); }
.inkind { display: flex; flex-wrap: wrap; gap: 10px; }
.inkind span { padding: .5em 1em; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; transition: transform .3s var(--ease), border-color .3s; }
.inkind span:hover { transform: translateY(-3px); border-color: var(--orange); }
.howto { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.howto__card { padding: 24px; border-radius: var(--radius); background: #fff; border-left: 6px solid var(--orange); box-shadow: var(--shadow); }
.howto__card.is-blue { border-left-color: var(--blue); }
.howto__card h4 { margin-bottom: .4em; }
.howto__card p { margin: 0; font-size: .95rem; color: var(--ink-3); }
.howto__card code { background: var(--paper-2); padding: .15em .45em; border-radius: 6px; font-size: .9em; }

/* Impact */
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.impact-card { padding: 30px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .45s var(--ease); }
.impact-card:hover { transform: translateY(-6px); }
.impact-card__num { font-family: var(--font-display); font-weight: 900; font-size: 3rem; line-height: 1; color: var(--orange); margin-bottom: 8px; }
.impact-card h3 { font-size: 1.15rem; }
.impact-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; padding: clamp(32px, 5vw, 56px) 0; }
.story:nth-child(even) > .story__media { order: 2; }
.story__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; aspect-ratio: 4 / 3; }
.story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.story:hover .story__media img { transform: scale(1.05); }
.story__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(224,119,49,.18), transparent 50%); pointer-events: none; }
.story__text h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.story__text p { color: var(--ink-3); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar { padding: 22px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .4s var(--ease); }
.pillar:hover { background: rgba(224,119,49,.14); transform: translateY(-4px); }
.pillar h4 { color: #fff; margin-bottom: .3em; }
.pillar p { font-size: .9rem; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 16px; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); align-items: center; transition: transform .35s var(--ease), box-shadow .35s; }
.contact-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.contact-item__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--orange-tint); color: var(--orange); display: grid; place-items: center; flex: none; }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item h4 { margin: 0 0 2px; font-size: .95rem; }
.contact-item p, .contact-item a { margin: 0; font-size: .95rem; }
.contact-item a { font-weight: 700; word-break: break-word; }
.form { background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: .88rem; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-family: var(--font-body); padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper-2); transition: border-color .25s, box-shadow .25s, background .25s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(224,119,49,.15); }
.form textarea { min-height: 140px; resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: .82rem; color: var(--muted); margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 64px 0 24px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; right: -80px; top: -60px; width: 360px; height: 360px; background: url(../img/logos/chip-orange.png) center/contain no-repeat; opacity: .06; transform: rotate(20deg); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; position: relative; }
.site-footer__logo { height: 34px; width: auto; margin-bottom: 16px; }
.site-footer h4 { color: #fff; margin-bottom: .8em; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--orange-soft); }
.site-footer p { font-size: .95rem; }
.socials { display: flex; gap: 10px; margin-top: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); transition: background .3s, transform .3s var(--ease); color: #fff; }
.socials a:hover { background: var(--orange); transform: translateY(-3px); color: #fff; }
.socials svg { width: 20px; height: 20px; }
.site-footer__bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: rgba(255,255,255,.5); position: relative; }

/* Reveal */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal-ready [data-reveal="left"] { transform: translateX(-36px); }
.reveal-ready [data-reveal="right"] { transform: translateX(36px); }
.reveal-ready [data-reveal="scale"] { transform: scale(.92); }
.reveal-ready [data-reveal].in { opacity: 1; transform: none; }

/* Misc */
.ribbon { background: var(--orange); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .85rem; text-align: center; padding: 10px 16px; }
.ribbon a { color: #fff; text-decoration: underline; }
.divider { height: 1px; background: var(--line); margin: 40px 0; }
.check-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--orange-tint) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E07731' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l4 4L19 7'/></svg>") center/12px no-repeat; margin-top: 3px; }
.photo-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 1.4s var(--ease); }
.photo-frame:hover img { transform: scale(1.04); }
.photo-frame--sticker::after { content: attr(data-sticker); position: absolute; left: 18px; bottom: 18px; background: var(--orange); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: .5em 1em; border-radius: 999px; }
.robot-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flip { perspective: 1200px; height: 300px; }
.flip__inner { position: relative; width: 100%; height: 100%; transition: transform .8s var(--ease); transform-style: preserve-3d; }
.flip:hover .flip__inner, .flip:focus-within .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: #fff; }
.flip__front { background: var(--ink-2); }
.flip__front img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.flip__front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.85)); }
.flip__front > * { position: relative; z-index: 1; }
.flip__year { font-family: var(--font-display); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--orange-soft); }
.flip__front h4 { color: #fff; margin: 4px 0 0; }
.flip__back { background: linear-gradient(145deg, var(--blue-deep), var(--blue)); transform: rotateY(180deg); justify-content: center; }
.flip__back h4 { color: #fff; margin-bottom: .4em; }
.flip__back p { font-size: .88rem; color: rgba(255,255,255,.85); margin: 0; }
.flip__back .flip__year { font-size: 1.1rem; margin-bottom: 4px; }

/* Keyframes */
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-18deg); } 50% { transform: translateY(-14px) rotate(-14deg); } }

/* Responsive */
@media (max-width: 1080px) {
  .grid-4, .org, .robot-cards, .pillars { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .cal-wrap { grid-template-columns: 1fr; }
  .cal-detail { position: static; }
  .roadmap { grid-template-columns: repeat(3, 1fr); gap: 24px 0; }
  .roadmap::before { display: none; }
}
@media (max-width: 860px) {
  .brand__num { display: none; }
  .grid-2, .grid-3, .split, .nextup, .tiers, .howto, .impact-grid, .story, .contact-grid, .form__row { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .story:nth-child(even) > .story__media { order: 0; }
  .timeline::before, .timeline__fill { left: 11px; }
  .timeline__item, .timeline__item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 40px 44px; }
  .timeline__dot, .timeline__item:nth-child(even) .timeline__dot { left: 0; right: auto; }
  .hero__content { padding-top: 64px; }
  .hero__scroll { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery .span-2 { grid-column: span 2; }
  .page-hero__content { padding-top: 80px; }
  .cal__day { min-height: 70px; padding: 4px; }
  .cal__chip { font-size: .62rem; padding: 3px 4px; }
  .cal__day.is-today .cal__num::after { display: none; }
  .cal-list__item { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-4, .org, .robot-cards, .pillars, .stats__grid { grid-template-columns: 1fr; }
  .countdown { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .tier--featured::before { display: none; }
  .form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__title .w span { transform: none; }
  .marquee__track { animation: none; }
}

/* Fixes */
[hidden] { display: none !important; }

/* =========================================================
   v2 · textures, pit graphics and photo components
   ========================================================= */
:root {
  --font-hand: 'Caveat', 'Bradley Hand', 'Segoe Print', cursive;
  --ball: #F2C230;
  --ball-dark: #C99A12;
  --tape: rgba(244, 162, 97, .62);
  --circuit-orange: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' fill='none' stroke='%23E07731' stroke-opacity='.2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 40h70l20 20h60l20-20h70M200 240v-60l-20-20v-50M200 0v18M30 240v-40l20-20h56M30 0v14M0 120h40l20 20v30M240 120h-24M120 72v28l20 20h26M90 200h60l10 10v30M160 0v12'/%3E%3Crect x='58' y='78' width='34' height='22' rx='3'/%3E%3Cg fill='%23E07731' fill-opacity='.22' stroke='none'%3E%3Ccircle cx='180' cy='106' r='4.5'/%3E%3Ccircle cx='200' cy='22' r='4.5'/%3E%3Ccircle cx='110' cy='180' r='4.5'/%3E%3Ccircle cx='30' cy='18' r='4.5'/%3E%3Ccircle cx='60' cy='174' r='4.5'/%3E%3Ccircle cx='211' cy='120' r='4.5'/%3E%3Ccircle cx='120' cy='68' r='4.5'/%3E%3Ccircle cx='170' cy='120' r='4.5'/%3E%3Ccircle cx='86' cy='200' r='4.5'/%3E%3Ccircle cx='160' cy='16' r='4.5'/%3E%3C/g%3E%3C/svg%3E");
  --circuit-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' fill='none' stroke='%23F4A261' stroke-opacity='.16' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 40h70l20 20h60l20-20h70M200 240v-60l-20-20v-50M200 0v18M30 240v-40l20-20h56M30 0v14M0 120h40l20 20v30M240 120h-24M120 72v28l20 20h26M90 200h60l10 10v30M160 0v12'/%3E%3Crect x='58' y='78' width='34' height='22' rx='3'/%3E%3Cg fill='%23F4A261' fill-opacity='.2' stroke='none'%3E%3Ccircle cx='180' cy='106' r='4.5'/%3E%3Ccircle cx='200' cy='22' r='4.5'/%3E%3Ccircle cx='110' cy='180' r='4.5'/%3E%3Ccircle cx='30' cy='18' r='4.5'/%3E%3Ccircle cx='60' cy='174' r='4.5'/%3E%3Ccircle cx='211' cy='120' r='4.5'/%3E%3Ccircle cx='120' cy='68' r='4.5'/%3E%3Ccircle cx='170' cy='120' r='4.5'/%3E%3Ccircle cx='86' cy='200' r='4.5'/%3E%3Ccircle cx='160' cy='16' r='4.5'/%3E%3C/g%3E%3C/svg%3E");
}
.section { overflow-x: clip; }
.section > .container, .section > .container--narrow { position: relative; z-index: 1; }

/* Textures */
.tex-circuit { background-image: var(--circuit-orange); background-size: 240px 240px; }
.section--dark.tex-circuit, .section--blue.tex-circuit { background-image: var(--circuit-light); }
.tex-blueprint {
  background-image:
    linear-gradient(rgba(48,99,126,.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48,99,126,.11) 1px, transparent 1px),
    linear-gradient(rgba(48,99,126,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48,99,126,.05) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}
.tex-dots { background-image: radial-gradient(rgba(244,162,97,.17) 1.4px, transparent 1.9px); background-size: 18px 18px; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: var(--circuit-light); background-size: 240px 240px; opacity: .9;
  -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 62%); mask-image: linear-gradient(100deg, #000 0%, transparent 62%);
}

/* Slanted section edge */
.slant-top {
  --slant: clamp(28px, 4vw, 64px);
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(var(--slant) * -1);
  padding-top: calc(clamp(64px, 9vw, 120px) + var(--slant));
}
.slant-top--rev { clip-path: polygon(0 0, 100% var(--slant), 100% 100%, 0 100%); }

/* Ghost type */
.ghost {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 900; line-height: .8; letter-spacing: -.03em; white-space: nowrap;
  font-size: clamp(6.5rem, 19vw, 17rem); color: transparent;
  -webkit-text-stroke: 2px rgba(224,119,49,.16);
}
.section--dark .ghost, .section--blue .ghost, .stats .ghost { -webkit-text-stroke-color: rgba(255,255,255,.08); }
.ghost--tr { top: 18px; right: -1.5vw; }
.ghost--tl { top: 18px; left: -1.5vw; }
.ghost--br { bottom: -8px; right: -1.5vw; }
.ghost--bl { bottom: -8px; left: -1.5vw; }

/* Pit tape bands */
.tape { position: relative; z-index: 6; height: 0; overflow-x: clip; overflow-y: visible; pointer-events: none; }
.tape__band {
  position: absolute; left: -6%; width: 112%; top: 0; overflow: hidden;
  transform: translateY(-50%) rotate(-2deg);
  background: var(--orange); color: var(--ink);
  padding-block: 12px; box-shadow: 0 14px 30px rgba(0,0,0,.2);
}
.tape__band::before, .tape__band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 10px, transparent 10px 20px);
}
.tape__band::before { top: 0; }
.tape__band::after { bottom: 0; }
.tape__band--back { transform: translateY(-50%) rotate(1.7deg); background: var(--ink); color: var(--orange-soft); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.tape__band--back::before, .tape__band--back::after { background: repeating-linear-gradient(-45deg, var(--orange) 0 10px, transparent 10px 20px); }
.tape__track {
  display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(.82rem, 1.4vw, 1.02rem); letter-spacing: .2em; text-transform: uppercase;
  animation: marquee 46s linear infinite;
}
.tape__band--back .tape__track { animation-direction: reverse; animation-duration: 60s; }
.tape__track span { display: inline-flex; align-items: center; gap: 30px; }
.tape__track span::after { content: ""; width: 11px; height: 11px; border: 3px solid currentColor; border-radius: 2px; flex: none; }
.tape--spaced { height: 0; margin-block: 0; }

/* Polaroids */
.polaroid {
  --r: -3deg; position: relative; margin: 0; background: #fff; padding: 10px 10px 48px; border-radius: 4px;
  box-shadow: 0 18px 40px rgba(27,27,27,.18), 0 2px 6px rgba(27,27,27,.08);
  transform: rotate(var(--r)); transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; display: block; background: var(--paper-2); }
.polaroid--tall img { aspect-ratio: 3 / 4; }
.polaroid--wide img { aspect-ratio: 4 / 3; }
.polaroid figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 9px; text-align: center;
  font-family: var(--font-hand); font-weight: 700; font-size: 1.32rem; line-height: 1.05; color: var(--ink-3);
}
.polaroid::before {
  content: ""; position: absolute; z-index: 2; top: -13px; left: 50%; width: 96px; height: 26px;
  transform: translateX(-50%) rotate(calc(var(--r) * -1.6));
  background: var(--tape); box-shadow: 0 1px 2px rgba(0,0,0,.08);
  clip-path: polygon(0 8%, 6% 0, 12% 10%, 18% 0, 82% 0, 88% 10%, 94% 0, 100% 8%, 100% 92%, 94% 100%, 88% 90%, 82% 100%, 18% 100%, 12% 90%, 6% 100%, 0 92%);
}
.polaroid--blue::before { background: rgba(111,164,194,.6); }
.polaroid:hover { transform: rotate(0deg) translateY(-6px) scale(1.03); box-shadow: 0 26px 56px rgba(27,27,27,.26); z-index: 5; }
.section--dark .polaroid figcaption, .section--blue .polaroid figcaption { color: var(--ink-3); }
.pstack { position: relative; aspect-ratio: 1 / .92; max-width: 560px; width: 100%; margin-inline: auto; }
.pstack .polaroid { position: absolute; width: 54%; }
.pstack .polaroid:nth-child(1) { left: 0; top: 3%; --r: -6deg; }
.pstack .polaroid:nth-child(2) { right: 0; top: 0; --r: 5deg; }
.pstack .polaroid:nth-child(3) { left: 23%; bottom: 0; --r: -1.5deg; z-index: 2; }
.pstack--two { aspect-ratio: 1 / .78; }
.pstack--two .polaroid:nth-child(1) { left: 0; top: 10%; width: 56%; }
.pstack--two .polaroid:nth-child(2) { right: 0; top: 0; width: 56%; }
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 20px; padding-top: 14px; }
.pgrid .polaroid:nth-child(4n+1) { --r: -4deg; }
.pgrid .polaroid:nth-child(4n+2) { --r: 3deg; }
.pgrid .polaroid:nth-child(4n+3) { --r: 2deg; }
.pgrid .polaroid:nth-child(4n+4) { --r: -2.5deg; }

/* Stickers */
.sticker { position: absolute; z-index: 3; width: var(--size, 128px); aspect-ratio: 1; transform: rotate(var(--r, 10deg)); filter: drop-shadow(0 10px 16px rgba(0,0,0,.22)); transition: transform .5s var(--ease); pointer-events: auto; }
.sticker:hover { transform: rotate(0deg) scale(1.06); }
.sticker svg { width: 100%; height: 100%; display: block; overflow: visible; }
.sticker .stk-bg { fill: var(--orange); stroke: #fff; stroke-width: 5; }
.sticker .stk-ring { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 2; stroke-dasharray: 3 5; }
.sticker .stk-text { fill: #fff; font-family: var(--font-display); font-weight: 800; font-size: 15.5px; letter-spacing: 2.5px; text-transform: uppercase; }
.sticker .stk-center { fill: #fff; font-family: var(--font-display); font-weight: 900; font-size: 38px; }
.sticker .stk-small { fill: rgba(255,255,255,.85); font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.sticker .stk-spin { transform-origin: 100px 100px; animation: spin 28s linear infinite; }
.sticker--blue .stk-bg { fill: var(--blue); }
.sticker--ink .stk-bg { fill: var(--ink); }
.sticker--ink .stk-center { fill: var(--orange-soft); }
.sticker--gold .stk-bg { fill: #C9A227; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Handwritten notes */
.note {
  display: inline-flex; align-items: flex-start; gap: 6px;
  font-family: var(--font-hand); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.05;
  color: var(--orange); transform: rotate(var(--r, -3deg)); transform-origin: left center;
}
.section--dark .note, .section--blue .note { color: var(--orange-soft); }
.note svg { width: 70px; height: 46px; flex: none; overflow: visible; }
.note svg path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 160; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s .35s var(--ease); }
.reveal-ready [data-reveal]:not(.in) .note svg path { stroke-dashoffset: 160; }
.note--block { display: flex; margin-top: 10px; }

/* Game-piece balls */
.ball {
  position: absolute; z-index: 0; width: var(--s, 70px); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 30%, #FFE68A 0 10%, var(--ball) 42%, var(--ball-dark) 100%);
  box-shadow: inset -6px -9px 14px rgba(0,0,0,.18), 0 14px 26px rgba(0,0,0,.28);
  animation: bob var(--t, 7s) ease-in-out infinite; animation-delay: var(--delay, 0s);
}
.ball::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 2px solid rgba(130,90,0,.28); clip-path: inset(0 48% 0 0); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(14deg); } }
.stats { position: relative; overflow: hidden; }
.stats .container { position: relative; z-index: 1; }

/* Floating chips */
.chip-float { position: absolute; z-index: 0; width: var(--s, 90px); aspect-ratio: 1; background: url(../img/logos/chip-orange.png) center/contain no-repeat; opacity: var(--o, .1); pointer-events: none; animation: floaty var(--t, 9s) ease-in-out infinite; animation-delay: var(--delay, 0s); }

/* Bumper label */
.bumper {
  display: inline-flex; align-items: center; justify-content: center; padding: .12em .55em; border-radius: .32em;
  background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 900; letter-spacing: .05em; line-height: 1.2;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.2), inset 0 3px 0 rgba(255,255,255,.12);
}
.bumper--red { background: #B5262A; }

/* Tile photos */
.tile--photo { padding-top: 0; }
.tile__photo { margin: 0 -28px 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; position: relative; }
.tile__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.35)); }
.tile--photo:hover .tile__photo img { transform: scale(1.07); }
.tile--photo .tile__icon { margin-top: -28px; position: relative; z-index: 2; background: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.tile--photo .tile__num { color: rgba(255,255,255,.9); z-index: 2; text-shadow: 0 2px 12px rgba(0,0,0,.35); }

/* Annotated robot */
.annot-wrap { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: clamp(32px, 6vw, 80px); align-items: center; }
.annot-wrap > * { min-width: 0; }
.annot { position: relative; margin: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--ink-2); max-width: 100%; }
.annot img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); display: block; }
.annot::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); pointer-events: none; }
.hotspot {
  position: absolute; left: var(--x); top: var(--y); z-index: 2; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; border: 3px solid #fff; background: var(--orange); color: #fff; cursor: pointer;
  font-family: var(--font-display); font-weight: 900; font-size: .9rem; display: grid; place-items: center; padding: 0;
  box-shadow: 0 6px 16px rgba(0,0,0,.35); transition: transform .3s var(--ease), background .3s;
}
.hotspot::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--orange-soft); animation: pulse 2s ease-out infinite; pointer-events: none; }
.hotspot:hover, .hotspot:focus-visible, .hotspot.is-active { transform: scale(1.18); background: var(--blue); z-index: 4; }
.hotspot__tip {
  position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%) translateY(6px); white-space: nowrap;
  background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .8rem; padding: .45em .8em; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
}
.hotspot:hover .hotspot__tip, .hotspot:focus-visible .hotspot__tip, .hotspot.is-active .hotspot__tip { opacity: 1; transform: translateX(-50%) translateY(0); }
.annot-legend { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; counter-reset: annot; }
.annot-legend li {
  counter-increment: annot; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start;
  padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.75); border: 1px solid var(--line); cursor: pointer;
  transition: border-color .25s, transform .3s var(--ease), background .25s;
}
.annot-legend li::before { content: counter(annot); width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: .85rem; }
.annot-legend li:hover, .annot-legend li.is-active { border-color: var(--orange); transform: translateX(6px); background: #fff; }
.annot-legend b { font-family: var(--font-display); }
.annot-legend p { margin: 0; font-size: .94rem; color: var(--ink-3); }
.annot .note { position: absolute; left: -10px; bottom: -42px; z-index: 3; }

/* Photo reel (film strip) */
.reel { position: relative; background: var(--ink); padding-block: 26px; overflow: hidden; }
.reel::before, .reel::after { content: ""; position: absolute; left: 0; right: 0; height: 9px; background-image: linear-gradient(90deg, rgba(255,255,255,.2) 0 14px, transparent 14px 30px); z-index: 1; }
.reel::before { top: 8px; }
.reel::after { bottom: 8px; }
.reel__row { overflow: hidden; }
.reel__row + .reel__row { margin-top: 14px; }
.reel__track { display: inline-flex; gap: 14px; padding-right: 14px; animation: marquee 80s linear infinite; }
.reel__row--rev .reel__track { animation-direction: reverse; animation-duration: 95s; }
.reel:hover .reel__track { animation-play-state: paused; }
.reel img { height: clamp(130px, 17vw, 200px); width: auto; aspect-ratio: auto; max-width: none; border-radius: 10px; transition: transform .45s var(--ease), filter .45s; filter: saturate(1.05); }
.reel img:hover { transform: scale(1.04) rotate(-1deg); }
.reel__label { position: absolute; z-index: 2; left: max(16px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%) rotate(-4deg); }
.marquee__track { padding-right: 48px; }

/* Mosaic */
.mosaic { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 16vw, 210px);
  grid-template-areas: "a a b c" "a a d c" "e f d g" "h f i i"; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: 14px; cursor: zoom-in; background: var(--ink-2); }
.mosaic figure:nth-child(1) { grid-area: a; } .mosaic figure:nth-child(2) { grid-area: b; } .mosaic figure:nth-child(3) { grid-area: c; }
.mosaic figure:nth-child(4) { grid-area: d; } .mosaic figure:nth-child(5) { grid-area: e; } .mosaic figure:nth-child(6) { grid-area: f; }
.mosaic figure:nth-child(7) { grid-area: g; } .mosaic figure:nth-child(8) { grid-area: h; } .mosaic figure:nth-child(9) { grid-area: i; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(224,119,49,.55), rgba(48,99,126,.55)); mix-blend-mode: multiply; opacity: 0; transition: opacity .45s; }
.mosaic figure:hover img { transform: scale(1.07); }
.mosaic figure:hover::after { opacity: 1; }
.mosaic figcaption { position: absolute; z-index: 2; left: 12px; bottom: 10px; right: 12px; font-family: var(--font-hand); font-weight: 700; font-size: 1.35rem; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.6); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease); }
.mosaic figure:hover figcaption { opacity: 1; transform: none; }

/* Blueprint robot sketch (hall of fame) */
.flip__front--sketch { background: linear-gradient(145deg, var(--blue-deep), var(--blue)); }
.flip__front--sketch::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 20px 20px; }
.flip__front--sketch::after { display: none; }
.flip__front--sketch svg { position: absolute; left: 10%; right: 10%; top: 14%; width: 80%; height: auto; }
.flip__front--sketch svg * { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flip__front--sketch svg .dim { stroke: rgba(244,162,97,.9); stroke-width: 1.4; stroke-dasharray: 4 4; }
.flip__front--sketch svg text { fill: #fff; stroke: none; font-family: var(--font-display); font-weight: 900; font-size: 16px; }
.flip__sketch-tag { position: absolute; top: 14px; right: 14px; font-family: var(--font-hand); font-weight: 700; font-size: 1.15rem; color: var(--orange-soft); transform: rotate(4deg); }

/* Icons in cards */
.org__card h4 svg { width: 24px; height: 24px; color: var(--orange); flex: none; }
.impact-card__icon { position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; border-radius: 14px; background: var(--orange-tint); color: var(--orange); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s, color .3s; }
.impact-card__icon svg { width: 24px; height: 24px; }
.impact-card:hover .impact-card__icon { transform: rotate(-10deg) scale(1.1); background: var(--orange); color: #fff; }
.timeline__icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--orange-tint); color: var(--orange); margin-left: 10px; vertical-align: middle; }
.timeline__icon svg { width: 20px; height: 20px; }
.timeline__year { display: flex; align-items: center; }

/* Taped story photos */
.story__media--taped { overflow: visible; transform: rotate(var(--r, -1.5deg)); transition: transform .6s var(--ease); background: #fff; padding: 10px 10px 52px; border-radius: 6px; box-shadow: 0 22px 50px rgba(27,27,27,.2); aspect-ratio: auto; }
.story__media--taped img { aspect-ratio: 4 / 3; border-radius: 3px; }
.story__media--taped::after { display: none; }
.story__media--taped::before { content: ""; position: absolute; z-index: 2; top: -13px; left: 50%; width: 110px; height: 28px; transform: translateX(-50%) rotate(3deg); background: var(--tape); clip-path: polygon(0 8%, 6% 0, 12% 10%, 18% 0, 82% 0, 88% 10%, 94% 0, 100% 8%, 100% 92%, 94% 100%, 88% 90%, 82% 100%, 18% 100%, 12% 90%, 6% 100%, 0 92%); }
.story__media--taped figcaption { position: absolute; left: 14px; right: 14px; bottom: 10px; text-align: center; font-family: var(--font-hand); font-weight: 700; font-size: 1.4rem; color: var(--ink-3); }
.story:hover .story__media--taped { transform: rotate(0deg); }
.story:hover .story__media--taped img { transform: none; }

/* Logo placement mockups */
.logo-spots { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px; align-items: start; }
.spot-card { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s; }
.spot-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.spot-card__media { position: relative; overflow: hidden; }
.spot-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.logo-slot {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  border: 2.5px dashed #fff; border-radius: 8px; background: rgba(224,119,49,.35);
  display: grid; place-items: center; text-align: center; color: #fff; font-family: var(--font-display); font-weight: 900; font-size: clamp(.6rem, 1.1vw, .78rem); letter-spacing: .08em; text-transform: uppercase; line-height: 1.1;
  box-shadow: 0 0 0 4px rgba(224,119,49,.25); animation: slotPulse 2.4s ease-in-out infinite; padding: 2px;
}
@keyframes slotPulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(224,119,49,.25); } 50% { box-shadow: 0 0 0 10px rgba(224,119,49,0); } }
.spot-card figcaption { padding: 18px 20px 20px; }
.spot-card h4 { margin-bottom: .25em; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.spot-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.spot-card .bumper { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }

/* Roadmap "you are here" */
.roadmap__step--now .roadmap__dot { background: var(--orange); color: #fff; box-shadow: 0 0 0 7px rgba(224,119,49,.25); }
.roadmap__here { position: absolute; left: 50%; top: -46px; white-space: nowrap; transform: translateX(-50%) rotate(-5deg); font-family: var(--font-hand); font-weight: 700; font-size: 1.45rem; color: var(--orange-soft); }
.roadmap { margin-top: 56px; }

/* Footer hazard edge */
.site-footer::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--orange) 0 14px, var(--ink-3) 14px 28px); }

/* Quote card accent */
.quote--pit { background: #fff; border: 2px dashed rgba(224,119,49,.45); box-shadow: none; }
.quote--pit p { font-family: var(--font-hand); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; }

@media (max-width: 1080px) {
  .logo-spots { grid-template-columns: 1fr 1fr; }
  .logo-spots > :first-child { grid-column: span 2; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-template-areas: "a a" "b c" "d c" "d e" "f g" "f h" "i i"; }
}
@media (max-width: 860px) {
  .annot-wrap { grid-template-columns: 1fr; }
  .annot { max-width: 460px; margin-inline: auto; }
  .sticker { --size: 96px !important; }
  .roadmap__here { top: -40px; font-size: 1.25rem; }
  .pstack { max-width: 440px; }
}
@media (max-width: 560px) {
  .logo-spots { grid-template-columns: 1fr; }
  .logo-spots > :first-child { grid-column: auto; }
  .pstack .polaroid { width: 60%; }
  .pstack--two .polaroid:nth-child(1), .pstack--two .polaroid:nth-child(2) { width: 58%; }
  .sticker--hide-sm { display: none; }
  .ghost { font-size: 6rem; }
  .hotspot { width: 30px; height: 30px; margin: -15px 0 0 -15px; font-size: .8rem; }
  .tape__band { padding-block: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .tape__track, .reel__track, .sticker .stk-spin, .ball, .chip-float, .hotspot::before, .logo-slot { animation: none !important; }
}

.gallery { grid-auto-flow: dense; }
@media (max-width: 860px) { .sticker--hide-md { display: none; } }

/* About gallery: explicit layout so every cell is filled */
.gallery { grid-template-columns: repeat(4, 1fr); grid-template-areas: "a a b c" "a a d e" "f f g h" "i j l h" "k k o q" "m m o q" "n p r r"; }
.gallery > figure:nth-child(1) { grid-area: a; }
.gallery > figure:nth-child(2) { grid-area: b; }
.gallery > figure:nth-child(3) { grid-area: c; }
.gallery > figure:nth-child(4) { grid-area: d; }
.gallery > figure:nth-child(5) { grid-area: e; }
.gallery > figure:nth-child(6) { grid-area: f; }
.gallery > figure:nth-child(7) { grid-area: g; }
.gallery > figure:nth-child(8) { grid-area: h; }
.gallery > figure:nth-child(9) { grid-area: i; }
.gallery > figure:nth-child(10) { grid-area: j; }
.gallery > figure:nth-child(11) { grid-area: k; }
.gallery > figure:nth-child(12) { grid-area: l; }
.gallery > figure:nth-child(13) { grid-area: m; }
.gallery > figure:nth-child(14) { grid-area: n; }
.gallery > figure:nth-child(15) { grid-area: o; }
.gallery > figure:nth-child(16) { grid-area: p; }
.gallery > figure:nth-child(17) { grid-area: q; }
.gallery > figure:nth-child(18) { grid-area: r; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-template-areas: "a a" "a a" "b c" "d e" "f f" "g h" "i h" "j l" "k k" "m m" "o q" "o q" "n p" "r r"; }
}

/* =========================================================
   v3 · accessibility fixes, landing-page key info, explorer
   ========================================================= */
:root { --orange-strong: #B4531A; --green-strong: #4A7A30; --gold-strong: #8A6D0B; }

/* Small orange text needs the deeper orange on light backgrounds (4.5:1+) */
.eyebrow { color: var(--orange-strong); }
.eyebrow--light { color: var(--orange-soft); }
a:hover { color: var(--orange-strong); }
.section--dark a:not(.btn):hover, .section--blue a:not(.btn):hover, .site-footer a:hover { color: var(--orange-soft); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--orange-strong); }
.nav a[aria-current="page"]::after { background: var(--orange-strong); }
.btn--primary, .btn--primary:hover { color: var(--ink); }
.btn--ghost:hover { color: var(--orange-strong); }
.btn--light:hover { color: #fff; }
.card__tag { color: var(--ink); }
.card__tag--blue { color: #fff; }
.card__tag--gold { background: var(--gold-strong); color: #fff; }
.tier--featured::before { color: var(--ink); }
.cal__chip.t-competition { background: var(--orange-strong); }
.cal__chip.t-team { background: var(--green-strong); }
.cal-list__date, .cal__day.is-today .cal__num, .people__chip:hover, .note { color: var(--orange-strong); }
.section--dark .people__chip:hover { color: var(--orange-soft); }
.annot-legend li::before, .hotspot, .roadmap__step--now .roadmap__dot, .copy-btn:hover { color: var(--ink); }
.hotspot:hover, .hotspot:focus-visible, .hotspot.is-active { color: #fff; }
.audience__tab:focus-visible, .explorer__year:focus-visible, .copy-btn:focus-visible, .btn:focus-visible, .nav a:focus-visible, .hotspot:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Footer email + copy */
.footer-email { color: #fff; font-weight: 700; user-select: all; }
.copy-btn--dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.copy-btn--dark:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }

/* Hero: headline + at-a-glance card */
.hero__content.hero__grid { max-width: none; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.hero__main { min-width: 0; }
.glance {
  position: relative; color: #fff; background: rgba(20,20,20,.64);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,.16); border-radius: 20px; padding: 22px 22px 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35); animation: fadeUp 1s .85s var(--ease) both;
}
.glance__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-right: 64px; }
.glance__head h2 { font-size: 1.05rem; margin: 0; color: #fff; letter-spacing: .01em; font-weight: 800; }
.glance__head .bumper { font-size: 1rem; }
.glance dl { margin: 0; }
.glance__row { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .93rem; line-height: 1.35; }
.glance dt { font-family: var(--font-display); font-weight: 800; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.62); padding-top: 3px; }
.glance dd { margin: 0; color: #fff; font-weight: 600; }
.glance dd small { display: block; color: rgba(255,255,255,.68); font-weight: 400; font-size: .82rem; margin-top: 2px; }
.medals { display: inline-flex; gap: 4px; margin-left: 6px; vertical-align: -2px; }
.medal { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 12%, #C9CED6 40%, #8E949C 100%); box-shadow: 0 0 0 2px rgba(255,255,255,.18); }
.medal--gold { background: radial-gradient(circle at 35% 30%, #FFF6C9 0 12%, #E8C547 40%, #A8861A 100%); }
.glance__days { font-family: var(--font-display); font-weight: 900; color: var(--orange-soft); font-variant-numeric: tabular-nums; }
.glance__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.glance__actions a { flex: 1 1 auto; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: .82rem; padding: .62em .9em; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; transition: background .25s, color .25s, transform .25s var(--ease); }
.glance__actions a:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); transform: translateY(-2px); }
.glance .sticker { top: -38px; right: -18px; }
@media (max-width: 960px) {
  .hero__content.hero__grid { grid-template-columns: 1fr; }
  .glance { max-width: 560px; }
}
@media (max-width: 560px) { .glance__row { grid-template-columns: 90px minmax(0, 1fr); } .glance { padding: 18px 16px 14px; } .glance__head { padding-right: 0; } }

/* Start here: audience tabs */
.audience { display: grid; gap: 22px; }
.audience__tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.audience__tab {
  font: inherit; font-family: var(--font-display); font-weight: 800; font-size: .95rem; padding: .72em 1.2em; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-3); cursor: pointer; display: inline-flex; gap: 8px; align-items: center;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.audience__tab svg { width: 18px; height: 18px; flex: none; }
.audience__tab:hover:not([aria-selected="true"]) { border-color: var(--orange); color: var(--orange-strong); transform: translateY(-2px); }
.audience__tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.audience__panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; animation: fadeUp .45s var(--ease); }
.audience__media { position: relative; min-height: 320px; }
.audience__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.audience__media .note { position: absolute; left: 16px; bottom: 14px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.audience__body { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.audience__body h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 0; }
.audience__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.audience__facts li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; font-size: .98rem; color: var(--ink-3); }
.audience__facts svg { width: 20px; height: 20px; color: var(--orange-strong); margin-top: 3px; }
.audience__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
@media (max-width: 860px) {
  .audience__panel { grid-template-columns: 1fr; }
  .audience__media { min-height: 0; aspect-ratio: 16 / 9; }
  .audience__tab { font-size: .88rem; padding: .62em 1em; }
}

/* Season explorer */
.explorer { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.explorer__rail { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.explorer__year { font: inherit; border: 0; background: var(--paper-2); padding: 16px 8px 14px; cursor: pointer; text-align: center; position: relative; display: grid; gap: 2px; color: var(--ink-3); transition: background .25s; }
.explorer__year b { font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; color: var(--ink); line-height: 1.1; }
.explorer__year span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font-display); font-weight: 700; color: var(--muted); }
.explorer__year::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--orange); transform: scaleX(0); transition: transform .35s var(--ease); }
.explorer__year:hover, .explorer__year[aria-selected="true"] { background: #fff; }
.explorer__year[aria-selected="true"]::after { transform: scaleX(1); }
.explorer__year .medals { justify-content: center; margin: 4px 0 0; }
.explorer__year .medal { width: 10px; height: 10px; box-shadow: none; }
.explorer__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 48px); padding: clamp(22px, 3.5vw, 38px); }
.explorer__body.is-swap { animation: fadeUp .4s var(--ease); }
.explorer__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.explorer__title h3 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.explorer__robot { font-family: var(--font-hand); font-weight: 700; font-size: 1.45rem; color: var(--orange-strong); }
.explorer__note { margin: 6px 0 0; color: var(--ink-3); }
.explorer__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 18px; }
.xtile { background: var(--paper-2); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.xtile b { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.15; }
.xtile span { font-size: .8rem; color: var(--muted); }
.xevents { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.xevents li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; align-items: center; transition: border-color .25s, transform .3s var(--ease); }
.xevents li:hover { border-color: var(--orange); transform: translateX(4px); }
.xevents h4 { margin: 0; font-size: .96rem; }
.xevents small { color: var(--muted); font-size: .84rem; grid-column: 1 / -1; }
.xbadge { font-family: var(--font-display); font-weight: 800; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: .38em .75em; border-radius: 999px; background: var(--blue-tint); color: var(--blue-deep); white-space: nowrap; }
.xbadge--silver { background: #E6E9ED; color: #343A40; }
.xbadge--gold { background: #FBF1C7; color: #5E4800; }
.xbadge--award { background: var(--orange-tint); color: var(--orange-strong); }
.xbadge--soon { background: var(--ink); color: #fff; }
.xchart { position: relative; align-self: start; background: var(--paper-2); border-radius: 14px; padding: 16px 16px 10px; }
.xchart h4 { font-size: .95rem; margin: 0 0 2px; }
.xchart p { font-size: .82rem; color: var(--muted); margin: 0 0 6px; }
.xchart svg { width: 100%; height: auto; display: block; overflow: visible; }
.xchart .grid { stroke: #E2E5E6; stroke-width: 1; }
.xchart .tick { fill: var(--muted); font-size: 10px; font-family: var(--font-body); }
.xchart .bar { fill: #EDC4A4; transition: fill .3s; }
.xchart .bar.is-sel { fill: var(--orange); }
.xchart .hit { cursor: pointer; }
.xchart .val { fill: var(--ink-3); font-family: var(--font-display); font-weight: 700; font-size: 11px; }
.xchart .val.is-sel { fill: var(--ink); font-weight: 900; font-size: 13px; }
.xchart .xlab { fill: var(--ink-3); font-family: var(--font-display); font-weight: 700; font-size: 11px; }
.xchart__tip { position: absolute; z-index: 3; pointer-events: none; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; padding: .45em .7em; border-radius: 8px; white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity .15s; }
.xchart__tip.is-on { opacity: 1; }
.xchart__empty { font-size: .85rem; color: var(--muted); margin: 8px 0 0; }
@media (max-width: 960px) { .explorer__body { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .explorer__rail { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .explorer__tiles { grid-template-columns: repeat(2, 1fr); } .xtile:last-child { grid-column: span 2; } }

/* In our own words (letter) */
.letter {
  position: relative; background: #fff; border-radius: 6px; padding: clamp(28px, 5vw, 56px) clamp(22px, 5vw, 64px);
  box-shadow: 0 24px 60px rgba(27,27,27,.14);
  background-image: linear-gradient(rgba(48,99,126,.07) 1px, transparent 1px); background-size: 100% 2em; background-position: 0 1.6em;
  transform: rotate(-.6deg);
}
.letter::before { content: ""; position: absolute; z-index: 2; top: -14px; left: 50%; width: 130px; height: 30px; transform: translateX(-50%) rotate(-2deg); background: var(--tape); clip-path: polygon(0 8%, 6% 0, 12% 10%, 18% 0, 82% 0, 88% 10%, 94% 0, 100% 8%, 100% 92%, 94% 100%, 88% 90%, 82% 100%, 18% 100%, 12% 90%, 6% 100%, 0 92%); }
.letter p { font-size: 1.06rem; line-height: 2; color: var(--ink-3); margin: 0 0 1em; }
.letter__sign { font-family: var(--font-hand); font-weight: 700; font-size: 1.9rem !important; color: var(--orange-strong) !important; line-height: 1.2 !important; margin-top: 1.2em !important; }
.letter__src { font-size: .85rem !important; color: var(--muted) !important; line-height: 1.5 !important; }
.letter .sticker { right: -30px; top: -40px; }

/* Season story (sponsors) */
.story-acc .acc__btn { font-size: 1.12rem; display: flex; align-items: center; gap: 12px; }
.story-acc .acc__btn .xbadge { margin-left: auto; margin-right: 26px; }
.story-acc .acc__panel p { padding-bottom: 14px; }
.story-acc .acc__panel a.watch { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; margin-bottom: 20px; }
@media (max-width: 560px) { .story-acc .acc__btn .xbadge { display: none; } }

/* =========================================================
   v4 · mission, year-round cycle, sponsor band, support picker
   ========================================================= */
/* Mission */
.mission { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.mission__statement { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.1; letter-spacing: -.015em; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
.mission__statement em { font-style: normal; color: var(--orange-strong); background: linear-gradient(transparent 62%, rgba(224,119,49,.22) 62%); }
.mission__first { border-left: 4px solid var(--orange); padding: 4px 0 4px 18px; color: var(--ink-3); margin: 20px 0 0; }
.mission__first b { color: var(--ink); }
.pillars-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pillar-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 8px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pillar-card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-tint); color: var(--orange-strong); }
.pillar-card__icon svg { width: 24px; height: 24px; }
.pillar-card h3 { font-size: 1.12rem; margin: 4px 0 0; }
.pillar-card > p { margin: 0; font-size: .94rem; color: var(--ink-3); }
.proof-btn { align-self: flex-start; font: inherit; font-family: var(--font-display); font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: none; border: 0; padding: 4px 0; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; margin-top: auto; }
.proof-btn::after { content: "+"; font-size: 1.1rem; line-height: 1; transition: transform .3s var(--ease); }
.proof-btn[aria-expanded="true"]::after { transform: rotate(45deg); }
.proof { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.proof > div { overflow: hidden; }
.proof.is-open { grid-template-rows: 1fr; }
.proof blockquote { margin: 6px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--paper-2); font-size: .9rem; color: var(--ink-3); }
.proof blockquote cite { display: block; font-style: normal; font-size: .8rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 960px) { .mission { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pillars-grid { grid-template-columns: 1fr; } }

/* Year-round cycle */
.cycle { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.cycle__ring { position: relative; width: 100%; max-width: 360px; aspect-ratio: 1; margin-inline: auto; }
.cycle__ring svg { width: 100%; height: 100%; display: block; overflow: visible; }
.cycle__ring .arc { fill: #F2D9C4; stroke: #fff; stroke-width: 3; cursor: pointer; transition: fill .3s; }
.cycle__ring .arc:hover { fill: #EBC3A3; }
.cycle__ring .arc.is-sel { fill: var(--orange); }
.cycle__ring .arc-label { font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; fill: var(--ink-3); pointer-events: none; }
.cycle__ring .arc-label.is-sel { fill: var(--ink); }
.cycle__ring .now-dot { fill: var(--blue); stroke: #fff; stroke-width: 3; }
.cycle__ring .now-ring { fill: none; stroke: var(--blue); stroke-width: 2; opacity: .5; animation: pulse 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.cycle__center { position: absolute; inset: 27%; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 2px; pointer-events: none; }
.cycle__center b { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.1; color: var(--ink); }
.cycle__center span { font-size: .8rem; color: var(--muted); font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cycle__steps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cycle__step { font: inherit; font-family: var(--font-display); font-weight: 800; font-size: .84rem; padding: .55em 1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-3); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .25s, color .25s, border-color .25s; }
.cycle__step i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font-size: .74rem; }
.cycle__step[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cycle__step[aria-selected="true"] i { background: var(--orange); color: var(--ink); }
.cycle__step .now-tag { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; background: var(--blue); color: #fff; padding: .2em .55em; border-radius: 999px; }
.cycle__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 220px); gap: 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 30px); animation: fadeUp .4s var(--ease); }
.cycle__panel h3 { margin: 0 0 4px; font-size: 1.35rem; }
.cycle__when { font-family: var(--font-display); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-strong); margin: 0 0 10px; }
.cycle__panel p { color: var(--ink-3); margin: 0 0 10px; font-size: .97rem; }
.cycle__help { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--orange-tint); font-size: .92rem; color: var(--ink-3); margin-top: 6px; }
.cycle__help svg { width: 20px; height: 20px; color: var(--orange-strong); margin-top: 2px; }
.cycle__help b { color: var(--ink); }
.cycle__photo { border-radius: 12px; overflow: hidden; align-self: start; aspect-ratio: 4 / 5; }
.cycle__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) { .cycle { grid-template-columns: 1fr; } .cycle__ring { max-width: 300px; } }
@media (max-width: 560px) { .cycle__panel { grid-template-columns: 1fr; } .cycle__photo { aspect-ratio: 16 / 9; order: -1; } }

/* Sponsors make it possible (home) */
.backers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.backer { background: #fff; border-radius: var(--radius); padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.backer:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.backer__logo { height: 64px; display: grid; place-items: center; }
.backer__logo img { max-height: 60px; width: auto; }
.backer__logo span { font-family: var(--font-display); font-weight: 900; color: var(--blue); text-align: center; line-height: 1.1; font-size: 1rem; }
.backer h3 { font-size: .98rem; margin: 0; }
.backer p { font-size: .88rem; color: var(--ink-3); margin: 0; }
.backers__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
@media (max-width: 700px) { .backers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .backers { grid-template-columns: 1fr; } }

/* Support picker (sponsors page) */
.support { display: grid; gap: 20px; }
.support__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.support__tab { font: inherit; font-family: var(--font-display); font-weight: 800; font-size: .9rem; padding: .7em 1.1em; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background .25s, color .25s, border-color .25s; }
.support__tab svg { width: 18px; height: 18px; }
.support__tab:hover:not([aria-selected="true"]) { border-color: var(--orange-soft); }
.support__tab[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.support__panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); border: 1px solid rgba(255,255,255,.1); animation: fadeUp .4s var(--ease); }
.support__body { padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 14px; align-content: start; }
.support__body h3 { color: #fff; margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.support__body p { margin: 0; color: rgba(255,255,255,.78); }
.support__rows { display: grid; gap: 10px; margin: 4px 0 0; }
.support__row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.1); font-size: .94rem; color: rgba(255,255,255,.85); }
.support__row dt { font-family: var(--font-display); font-weight: 800; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-soft); padding-top: 3px; }
.support__row dd { margin: 0; }
.support__media { position: relative; min-height: 280px; }
.support__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .support__panel { grid-template-columns: 1fr; } .support__media { min-height: 0; aspect-ratio: 16 / 9; order: -1; } }
@media (max-width: 560px) { .support__row { grid-template-columns: 1fr; gap: 2px; } }

/* =========================================================
   v5 · where we compete map
   ========================================================= */
.map { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.map__canvas { position: relative; max-width: 400px; width: 100%; margin-inline: auto; }
.map__canvas svg { width: 100%; height: auto; display: block; overflow: visible; }
.map__bg { fill: #FBFCFC; stroke: var(--line); }
.map__grid { stroke: #EEF1F2; stroke-width: 1; }
.map__lake { fill: #DCE9F0; stroke: #BFD6E2; stroke-width: 1.5; }
.map__lake-label { font-family: var(--font-hand); font-weight: 700; font-size: 17px; fill: #5E8BA3; }
.map__route { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-dasharray: 5 6; opacity: .45; animation: dashMove 18s linear infinite; }
.map__route.is-sel { stroke: var(--orange); opacity: 1; stroke-width: 2.2; }
@keyframes dashMove { to { stroke-dashoffset: -220; } }
.map__pin { cursor: pointer; outline: none; }
.map__halo { fill: var(--orange); opacity: 0; transition: opacity .25s; }
.map__dot { fill: var(--orange); stroke: #fff; stroke-width: 3; transition: fill .25s; }
.map__pin:hover .map__halo, .map__pin:focus-visible .map__halo { opacity: .2; }
.map__pin.is-sel .map__halo { opacity: .28; }
.map__pin.is-sel .map__dot { fill: var(--orange-strong); }
.map__pin--home .map__dot { fill: var(--blue); }
.map__pin--home.is-sel .map__dot { fill: var(--blue-deep); }
.map__pin.is-dim { opacity: .3; }
.map__house { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.map__count { fill: #fff; font-family: var(--font-display); font-weight: 900; font-size: 10px; pointer-events: none; }
.map__label { font-family: var(--font-display); font-weight: 800; font-size: 13px; fill: var(--ink); paint-order: stroke; stroke: #FBFCFC; stroke-width: 4px; stroke-linejoin: round; }
.map__pin.is-sel .map__label { fill: var(--orange-strong); }
.map__pin:focus-visible .map__dot { stroke: var(--blue); stroke-width: 4; }
.map__scale line { stroke: var(--ink-3); stroke-width: 1.5; }
.map__scale text, .map__north text { font-family: var(--font-display); font-weight: 700; font-size: 11px; fill: var(--ink-3); }
.map__north path { fill: var(--ink-3); }
.map__tip { position: absolute; z-index: 3; pointer-events: none; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; padding: .45em .7em; border-radius: 8px; white-space: nowrap; transform: translate(-50%, -130%); opacity: 0; transition: opacity .15s; }
.map__tip.is-on { opacity: 1; }
.map__side { display: grid; gap: 16px; min-width: 0; }
.map__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.map__filter { font: inherit; font-family: var(--font-display); font-weight: 800; font-size: .85rem; padding: .55em 1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-3); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.map__filter:hover { border-color: var(--orange); color: var(--orange-strong); }
.map__filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.map__filter:focus-visible, .map__city:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.map__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.map__stats .xtile { background: #fff; border: 1px solid var(--line); }
.map__card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 20px 18px; }
.map__card h3 { margin: 0 0 2px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.map__dist { color: var(--muted); font-size: .9rem; margin: 0 0 12px; }
.map__card .xevents li.is-faded { opacity: .45; }
.map__cities { display: flex; flex-wrap: wrap; gap: 6px; }
.map__city { font: inherit; font-size: .82rem; font-weight: 600; padding: .35em .8em; border-radius: 8px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink-3); cursor: pointer; }
.map__city.is-sel { background: var(--orange-tint); border-color: var(--orange); color: var(--orange-strong); }
.map__city:disabled { opacity: .4; cursor: default; }
.map__note { font-size: .8rem; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .map { grid-template-columns: 1fr; } .map__canvas { max-width: 340px; } }
@media (max-width: 560px) { .map__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .map__stats .xtile b { font-size: 1.1rem; } }
@media (prefers-reduced-motion: reduce) { .map__route { animation: none; } }
@media (max-width: 560px) {
  .map__stats { grid-template-columns: 1fr 1fr; }
  .map__stats .xtile:first-child { grid-column: span 2; }
  .map__stats .xtile:last-child { grid-column: auto; }
}

/* Heading levels fixed for screen readers; same look as before */
.org__card h3 { font-size: 1.05rem; margin-bottom: .3em; display: flex; align-items: center; gap: 10px; }
.org__card h3 svg { width: 24px; height: 24px; color: var(--orange); flex: none; }
.flip__front h3 { color: #fff; margin: 4px 0 0; font-size: 1.05rem; }
.flip__back h3 { color: #fff; margin-bottom: .4em; font-size: 1.05rem; }
.contact-item h3 { margin: 0 0 2px; font-size: .95rem; }
.spot-card h3 { margin-bottom: .25em; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 1.05rem; }
.howto__card h3 { margin-bottom: .4em; font-size: 1.05rem; }
.cal-list__item h3 { margin: 0 0 2px; font-size: 1.05rem; }
.roadmap__step h3 { color: #fff; font-size: .95rem; margin-bottom: .2em; }
.pillar h3 { color: #fff; margin-bottom: .3em; font-size: 1.05rem; }
.site-footer h2 { color: #fff; margin-bottom: .8em; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; }

/* ===== v6: Pickering College feature, team updates ===== */
.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; }

/* Major sponsor feature (sponsors) */
.major { display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 24px; border-top: 5px solid var(--orange); }
.major__photo { position: relative; min-height: 320px; }
.major__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.major__body { padding: 32px 34px 30px; display: flex; flex-direction: column; gap: 14px; }
.major__tag, .backer__tag { align-self: flex-start; font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-strong); background: var(--orange-tint); padding: .4em .8em; border-radius: 999px; }
.major__head { display: flex; align-items: center; gap: 14px; }
.major__head img { height: 64px; width: auto; }
.major__head h3 { margin: 0; font-size: 1.6rem; }
.major__body > p { margin: 0; color: var(--ink-3); }
.major .check-list { margin: 4px 0 0; font-size: .95rem; }
.sponsor-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.sponsor-cards > * { flex: 1 1 240px; max-width: 272px; }
@media (max-width: 860px) {
  .major { grid-template-columns: 1fr; }
  .major__photo { min-height: 0; aspect-ratio: 16 / 9; }
  .major__body { padding: 24px 20px; }
}
.backer--major { border: 2px solid var(--orange); box-shadow: 0 10px 26px rgba(224,119,49,.18); }
.backer--major .backer__tag { margin: -4px 0 -2px; }

/* Update tags */
.utag { font-family: var(--font-display); font-weight: 800; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: .35em .7em; border-radius: 999px; background: var(--blue-tint); color: var(--blue-deep); }
.utag--competitions { background: var(--orange-tint); color: var(--orange-strong); }
.utag--community { background: #EEF5E9; color: #3D6B22; }
.utag--news { background: #F1EEF8; color: #5A4791; }

/* Update cards */
.ucard { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.ucard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ucard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-tint); }
.ucard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ucard:hover .ucard__media img { transform: scale(1.05); }
.ucard__media--blank { display: grid; place-items: center; background: var(--blue) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24'><circle cx='2' cy='2' r='1.2' fill='%23ffffff' fill-opacity='.18'/></svg>"); }
.ucard__media--blank .bumper { transform: rotate(-4deg); }
.ucard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ucard__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.ucard h3 { margin: 2px 0 0; font-size: 1.12rem; line-height: 1.3; }
.ucard__body > p { margin: 0; color: var(--ink-3); font-size: .93rem; }
.ucard__read { margin-top: auto; align-self: flex-start; font: inherit; font-family: var(--font-display); font-weight: 800; font-size: .88rem; color: var(--orange-strong); background: none; border: 0; padding: 8px 0 0; cursor: pointer; }
.ucard__read::after { content: ""; position: absolute; inset: 0; }
.ucard { position: relative; }
.ucard__read:hover { text-decoration: underline; }
.ucard__read:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.ucard--featured { display: grid; grid-template-columns: 1.25fr 1fr; }
.ucard--featured .ucard__media { aspect-ratio: auto; min-height: 340px; }
.ucard--featured .ucard__body { padding: 30px 32px; justify-content: center; }
.ucard--featured h3 { font-size: 1.6rem; }
.ucard--featured .ucard__body > p { font-size: 1.02rem; }
.updates-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

/* Updates feed */
.ufeed__controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.ufeed__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.ufeed__filters .map__filter span { opacity: .6; margin-left: 2px; }
.ufeed__search input { font: inherit; font-size: .95rem; padding: .7em 1.1em .7em 2.6em; border-radius: 999px; border: 1.5px solid var(--line); width: 260px; max-width: 100%; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M20 20l-3.5-3.5'/></svg>") 1em center/16px no-repeat; }
.ufeed__search input:focus { outline: 3px solid var(--blue); outline-offset: 2px; border-color: var(--blue); }
.ufeed__featured { margin-bottom: 24px; }
.ufeed__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ufeed__empty { text-align: center; color: var(--muted); padding: 30px 0; }
.ufeed__more { margin-top: 30px; }

/* Reader */
.ureader { position: fixed; inset: 0; z-index: 2000; background: rgba(15,20,24,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 24px 16px; animation: ureader-in .3s var(--ease); }
.ureader[hidden] { display: none !important; }
.ureader__panel { position: relative; background: #fff; border-radius: var(--radius); width: min(760px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; box-shadow: var(--shadow-lg); animation: ureader-up .4s var(--ease); }
.ureader__content { padding: 0 34px 10px; }
.ureader__img { display: block; width: calc(100% + 68px); max-width: none; margin: 0 -34px 24px; aspect-ratio: 16 / 9; object-fit: cover; }
.ureader__content .ucard__meta { margin-top: 30px; }
.ureader__img + .ucard__meta { margin-top: 0; }
.ureader__content h2 { margin: 10px 0 14px; font-size: clamp(1.5rem, 3.2vw, 2rem); }
.ureader__content p { color: var(--ink-3); line-height: 1.7; }
.ureader__links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.ureader__close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); box-shadow: 0 4px 14px rgba(0,0,0,.18); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); }
.ureader__close:focus-visible, .ureader__nav .btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.ureader__nav { display: flex; justify-content: space-between; gap: 10px; padding: 14px 34px 26px; border-top: 1px solid var(--line); margin-top: 10px; }
.ureader__nav .btn[disabled] { opacity: .35; pointer-events: none; }
@keyframes ureader-in { from { opacity: 0; } }
@keyframes ureader-up { from { transform: translateY(24px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ureader, .ureader__panel { animation: none; } }
@media (max-width: 1000px) { .ufeed__grid, .updates-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .updates-strip > :nth-child(3) { display: none; } }
@media (max-width: 860px) {
  .ucard--featured { grid-template-columns: 1fr; }
  .ucard--featured .ucard__media { min-height: 0; aspect-ratio: 16 / 10; }
  .ucard--featured .ucard__body { padding: 20px; }
  .ucard--featured h3 { font-size: 1.3rem; }
}
@media (max-width: 640px) {
  .ufeed__grid, .updates-strip { grid-template-columns: 1fr; }
  .updates-strip > :nth-child(3) { display: flex; }
  .ufeed__search, .ufeed__search input { width: 100%; }
  .ureader { padding: 0; place-items: end center; }
  .ureader__panel { border-radius: var(--radius) var(--radius) 0 0; max-height: 92vh; max-height: 92dvh; }
  .ureader__content { padding: 0 20px 6px; }
  .ureader__img { width: calc(100% + 40px); margin: 0 -20px 20px; }
  .ureader__nav { padding: 12px 20px 22px; }
}
.updates-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 40px); }
.updates-head h2 { margin-bottom: 0; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.cta-band > div:first-child { max-width: 620px; }
.cta-band h2 { color: #fff; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   v7 · review pass: accessibility, motion control, data-driven sections
   ========================================================= */
/* Skip link and focus */
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 3000; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-family: var(--font-display); font-weight: 800; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; outline: 3px solid var(--orange-soft); outline-offset: 2px; }
main:focus { outline: none; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
:where(.section--dark, .section--blue, .hero, .page-hero, .site-footer, .lightbox, .glance) :focus-visible { outline-color: var(--orange-soft); }
.flip:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: var(--radius); }
.ureader h2:focus { outline: none; }

/* Motion: one switch pauses every looping animation */
/* Only looping or long-running motion pauses; one-off entrance animations always finish so text never stays hidden. */
.motion-paused :is(.marquee__track, .tape__track, .reel__track, .stk-spin, .ball, .chip-float, .map__route, .logo-slot, .hero__scroll span),
.motion-paused :is(.pulse, .hotspot, .now-ring)::before, .motion-paused :is(.pulse, .hotspot)::after, .motion-paused .now-ring { animation-play-state: paused !important; }
.motion-paused .hero__slide img, .motion-paused .page-hero__img { animation: none !important; }
.nav { margin-left: auto; }
.motion-toggle { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.motion-toggle:hover { border-color: var(--orange); color: var(--orange-strong); }
.motion-toggle svg { width: 15px; height: 15px; grid-area: 1 / 1; }
.motion-toggle .motion-toggle__play, .motion-toggle[aria-pressed="true"] .motion-toggle__pause { display: none; }
.motion-toggle[aria-pressed="true"] .motion-toggle__play { display: block; }
.motion-toggle__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1180px) { .site-header__inner { gap: 12px; } }

/* Comfortable touch targets */
.map__filter { min-height: 44px; }
.copy-btn { min-height: 36px; padding: .45em .95em; }
.cal-view button { min-height: 40px; }
.proof-btn, .ureader__nav .btn { min-height: 44px; }
.glance__actions a { min-height: 40px; display: inline-flex; align-items: center; }
.site-footer li a { display: inline-block; padding: 5px 0; }
.hero__dots { gap: 2px; margin-top: 26px; }
.hero__dots button { position: relative; width: 44px; height: 30px; background: none !important; }
.hero__dots button::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 5px; transform: translateY(-50%); border-radius: 3px; background: rgba(255,255,255,.4); transition: background .3s; }
.hero__dots button.is-active { width: 64px; }
.hero__dots button.is-active::before { background: var(--orange); }

/* Hero: mission */
.hero__mission { margin: 0 0 24px; padding: 14px 18px; border-left: 4px solid var(--orange); background: rgba(10,14,18,.55); border-radius: 0 12px 12px 0; max-width: 62ch; }
.hero__mission-label { margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: rgba(255,255,255,.82); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mission-tag { background: var(--orange); color: var(--ink); padding: .25em .65em; border-radius: 999px; font-weight: 800; text-transform: uppercase; font-size: .68rem; letter-spacing: .1em; }
.hero__mission-text { margin: 0; padding: 0; border: 0; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.45; }
.hero__lead { margin-bottom: 1.1em; }

/* Small shared pieces */
.fine { font-size: .9rem; color: var(--muted); }
.section--dark .fine { color: rgba(255,255,255,.7); }
.page-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.page-jump a { display: inline-flex; align-items: center; min-height: 40px; padding: .4em .95em; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); background: rgba(0,0,0,.28); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .85rem; text-decoration: none; }
.page-jump a:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.season-links, .nextup__actions, .join-actions, .give-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 26px; }
.countdown__caption { margin-top: 14px; font-size: .9rem; color: rgba(255,255,255,.7); }
.pillars-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .pillars-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pillars-grid--4 { grid-template-columns: 1fr; } .pgrid__extra { display: none; } }
.audience__facts li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B4531A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l4 4L19 7'/></svg>") center/contain no-repeat; }
.flip__name { display: block; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; margin-top: 4px; }
.roadmap, ul.people, ul.inkind { list-style: none; padding: 0; margin-left: 0; }
.inkind li { padding: .5em 1em; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; }
.acc__h { margin: 0; font: inherit; }
.annot-wrap#robot-tour { margin-top: clamp(48px, 7vw, 80px); }
.annot-title { margin: 0 0 .4em; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.explorer__src { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.sponsor-card { align-items: center; justify-content: center; text-align: center; padding: 24px 20px; }
@media (max-width: 560px) { .sponsor-cards { gap: 12px; } .sponsor-cards > * { flex: 0 1 calc(50% - 6px); } .sponsor-card { padding: 16px 12px; } .sponsor-card > img, .sponsor-card__word { height: 64px; } .sponsor-card__word { font-size: 1.1rem; } }
.sponsor-card > img { height: 96px; width: auto; max-width: 100%; object-fit: contain; }
.sponsor-card__word { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--blue); height: 96px; display: grid; place-items: center; line-height: 1.1; }
.sponsor-card__word--ink { color: var(--ink-3); }
.contact-item__value { font-weight: 700; color: var(--blue); word-break: break-word; }
.paths-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.path-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--blue); border-radius: var(--radius); padding: 24px 24px 22px; display: flex; flex-direction: column; }
.path-card--orange { border-top-color: var(--orange); }
.path-card--blue { border-top-color: var(--blue-deep); }
.path-card h3 { margin: 4px 0 8px; }
.path-card p { color: var(--ink-3); }
.path-card__actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) { .paths-grid { grid-template-columns: 1fr; } }

/* Calendar additions */
.cal-month-note { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: #fff; border: 1px dashed var(--line); border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; font-size: .88rem; }
.cal-month-note .cal__chip { width: auto; font-size: .78rem; padding: 6px 10px; }
.cal__phase.is-approx { background-image: repeating-linear-gradient(90deg, transparent 0 7px, rgba(255,255,255,.6) 7px 10px); }
.cal__day.is-past .cal__num { opacity: .5; }
.cal__chip.is-past { opacity: .72; }
.cal-list__ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
button.cal-list__item { font: inherit; width: 100%; text-align: left; cursor: pointer; color: inherit; }
.cal-list__item.is-selected { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(224,119,49,.18); }
.cal-list__text b { display: block; font-family: var(--font-display); font-size: 1.02rem; color: var(--ink); margin-bottom: 2px; }
.cal-list__text span { color: var(--muted); font-size: .9rem; }
.cal-detail__past { background: var(--orange-tint); border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
.cal-detail__src { font-size: .82rem; color: var(--muted); }
.cal-tip { font-size: .85rem; margin-top: 12px; }

/* Updates additions */
.ufeed__controls { align-items: flex-end; }
.ufeed__group, .ufeed__search { display: grid; gap: 6px; }
.ufeed__label { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ufeed__status { font-size: .88rem; color: var(--muted); margin: -8px 0 18px; }
.ufeed__season { display: flex; align-items: center; gap: 14px; font-size: clamp(1.15rem, 2vw, 1.4rem); margin: 36px 0 16px; }
.ufeed__season::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.ufeed__reset { font: inherit; font-weight: 700; color: var(--orange-strong); background: none; border: 0; text-decoration: underline; cursor: pointer; min-height: 36px; }
.ucard h2 { margin: 2px 0 0; font-size: 1.12rem; line-height: 1.3; }
.ucard--featured h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.ucard--fallback { border-top: 4px solid var(--orange); }
.ucard--fallback .ucard__body { padding: 22px 22px 20px; }
.ureader__season { font-size: .82rem; color: var(--muted); }
.ureader__sources { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 12px; }
.ureader__sources h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 6px; }
.ureader__sources ul { margin: 0; padding-left: 18px; font-size: .88rem; color: var(--ink-3); display: grid; gap: 4px; }

/* Lightbox caption sits under the photo */
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox__cap { position: static; padding: 0 64px; }
.lightbox img { max-height: 78vh; }

/* Shorter, calmer phone layout */
@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .hero__content { padding-block: 84px 40px; }
  .hero__mission { padding: 12px 14px; }
  .glance { margin-top: 4px; }
  .season-links .btn, .nextup__actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* Hero fits a laptop screen: headline, mission and buttons above the fold */
.hero__grid .hero__title { font-size: clamp(2.1rem, 4.3vw, 3.4rem); }
.hero__content.hero__grid { padding-block: clamp(72px, 8vw, 104px) clamp(40px, 5vw, 64px); }
.hero__grid .hero__lead { font-size: clamp(.98rem, 1.25vw, 1.08rem); margin-bottom: 1em; }
.hero__grid .hero__mission { margin: 4px 0 18px; }

/* Phone home page: tighter season cards, two-up sponsors, two latest updates */
@media (max-width: 560px) {
  #season .card__media { aspect-ratio: 16 / 9; }
  #season .card__body p { font-size: .95rem; }
  .updates-strip > :nth-child(3) { display: none; }
  .backers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .backer { padding: 14px 12px; }
  .backer p { font-size: .82rem; }
  .backer__logo { height: 48px; }
  .backer__logo img { max-height: 44px; }
  .pillar-card { padding: 18px 18px 16px; }
}
/* Width and height attributes are only ratio hints; never let them set a fixed height. */
.ureader__img { height: auto; }

/* =========================================================
   v9 · October 30 review
   ========================================================= */
/* Links to a section land below the fixed header */
main [id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* Home: links inside the "Get involved" facts */
.audience__facts a { color: var(--orange-strong); font-weight: 700; }

/* About: FIRST Robotics Canada quote */
.first-quote { margin: 26px 0 0; padding: 18px 22px; border-left: 4px solid var(--orange); background: rgba(255,255,255,.06); border-radius: 0 12px 12px 0; }
.first-quote blockquote { margin: 0; }
.first-quote blockquote p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.4; color: #fff; }
.first-quote figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted-light); }
.first-quote figcaption a { color: var(--orange-soft); }

/* Calendar: weekly team meetings */
.cal__chip.t-meeting { background: var(--blue-tint); color: var(--blue-deep); box-shadow: inset 0 0 0 1px rgba(48,99,126,.35); }
.cal__chip.t-meeting:hover, .cal__chip.t-meeting.is-selected { box-shadow: inset 0 0 0 1px rgba(48,99,126,.35), 0 6px 14px rgba(0,0,0,.12); }
.cal-legend i.is-meeting { background: var(--blue-tint); box-shadow: inset 0 0 0 1px rgba(48,99,126,.5); }

/* Sponsors: season summary link, partner buttons, giving note */
.page-hero .lead-link { color: var(--orange-soft); font-weight: 700; white-space: nowrap; }
.page-hero .lead-link::after { content: " →"; }
.support__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.support__give { margin: 22px 0 0; max-width: 70ch; color: rgba(255,255,255,.8); }

/* Sponsors: partnership levels */
.levels-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }
.levels { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.levels th, .levels td { padding: 16px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.levels thead th { border-top: 0; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.levels tbody th { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--orange-strong); white-space: nowrap; background: var(--orange-tint); }
.levels tbody tr:nth-child(even) td { background: var(--paper-2); }
.levels .is-none { color: var(--muted); }
@media (max-width: 900px) {
  .levels-wrap { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .levels, .levels tbody, .levels tr, .levels th, .levels td { display: block; }
  .levels thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .levels tr { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 16px; }
  .levels tbody th { white-space: normal; border-top: 0; }
  .levels td { display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr); gap: 12px; }
  .levels tbody tr:nth-child(even) td { background: var(--paper); }
  .levels td::before { content: attr(data-label); font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
  .levels td.is-none { display: none; }
}
@media (max-width: 480px) {
  .levels td { grid-template-columns: 1fr; gap: 4px; }
}

/* FIRST is written in italic capitals wherever it appears (main.js wraps it) */
.first-brand { font-style: italic; padding-right: .06em; }

/* Home: join the team (sub-teams, registration, email) */
.join-cta { justify-content: center; margin-top: 32px; }
/* Five sub-teams: three then two, centred, wrapping down to one column */
.org--five { display: flex; flex-wrap: wrap; justify-content: center; }
.org--five > * { flex: 1 1 300px; max-width: 380px; }
