/* =========================================================
   Robotics Club IIT Guwahati
   Theme: black canvas, condensed display type, outlined words,
   pill buttons; purple / yellow / pink / amber accents.
   ========================================================= */
:root {
  --bg: #000;
  --surface: #0d0d11;
  --surface-2: #15151b;
  --surface-3: #1e1e26;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.55);
  --text: #fff;
  --muted: #a4a4b0;
  --purple: #7b5cfa;
  --purple-2: #9d86ff;
  --purple-dark: #4b33c7;
  --yellow: #f7e34f;
  --amber: #f2be43;
  --pink: #f0a3d8;
  --cream: #fff4d0;
  --green: #6fe3a1;

  --display: "Fira Sans Extra Condensed", "Arial Narrow", sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --pad: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--purple); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- typography ---------- */
.outline {
  color: transparent;
  -webkit-text-stroke: 1.6px #fff;
  font-weight: 500;
}
@supports not (-webkit-text-stroke: 1px #fff) { .outline { color: #fff; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--yellow); border-radius: 2px; }
.h2, .h-display, .h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin: 0;
  text-transform: uppercase;
}
.h2 { font-size: clamp(40px, 6.4vw, 84px); }
.h-display { font-size: clamp(34px, 4.6vw, 62px); text-transform: none; line-height: 1.04; }
.h3 { font-size: clamp(26px, 3vw, 38px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 34px; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn i { display: inline-flex; width: 16px; height: 16px; }
.btn i svg { width: 100%; height: 100%; }
.btn-solid { background: #fff; color: #000; }
.btn-solid:hover { background: var(--yellow); }
.btn-outline { border-color: var(--line-strong); color: #fff; background: transparent; }
.btn-outline:hover { border-color: #fff; background: #fff; color: #000; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- cursor ring ---------- */
.cursor {
  position: fixed; left: -18px; top: -18px; width: 36px; height: 36px; z-index: 100;
  border: 1.5px solid rgba(255, 255, 255, 0.8); border-radius: 50%;
  pointer-events: none; opacity: 0; mix-blend-mode: difference;
  transition: opacity 0.2s, width 0.25s var(--ease), height 0.25s var(--ease), left 0.25s var(--ease), top 0.25s var(--ease), background 0.25s;
}
.cursor.on { opacity: 1; }
.cursor.hover { width: 60px; height: 60px; left: -30px; top: -30px; background: #fff; }

/* ---------- progress bar ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--yellow));
  transform: scaleX(0); transform-origin: left;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, padding 0.3s;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav.scrolled { border-bottom-color: var(--line); padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 38px; height: 38px; border-radius: 10%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28); transition: transform 0.6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand-text { font-weight: 800; font-size: 19px; letter-spacing: 0.04em; line-height: 1; display: grid; gap: 3px; }
.brand-text small { font-size: 10.5px; letter-spacing: 0.24em; color: var(--muted); font-weight: 600; }
.nav-links { display: flex; gap: clamp(14px, 1.8vw, 30px); }
.nav-links a { position: relative; font-size: 15.5px; font-weight: 500; color: #d6d6de; padding: 6px 0; transition: color 0.2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--yellow); transform: translateX(-50%) scale(0); transition: transform 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active { font-weight: 700; }
.nav-links a.active::after { transform: translateX(-50%) scale(1); }
.nav-cta-mobile { display: none; }
.nav-cta { padding: 12px 28px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-admin { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--yellow); border: 1.5px solid rgba(247, 227, 79, .55); background: rgba(247, 227, 79, .06); transition: color .2s, border-color .2s, background .2s; }
.nav-admin svg { width: 15px; height: 15px; }
.nav-admin:hover { color: #000; background: var(--yellow); border-color: var(--yellow); }
.nav-admin-mobile svg { width: 26px; height: 26px; vertical-align: -2px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: none; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 24px; }
.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- hero ---------- */
/* The hero fills exactly one screen below the nav: copy at its natural height,
   the Mars scene takes whatever height is left. */
.hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: calc(100vh - var(--nav-h, 82px));
  min-height: calc(100svh - var(--nav-h, 82px));
  padding-top: clamp(20px, 5vh, 72px);
}
.hero-copy { text-align: center; padding: 0 var(--pad); max-width: 1340px; margin: 0 auto; }
.hero-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(38px, min(6vw, 9.5vh), 96px); line-height: 0.95; margin: 0;
  letter-spacing: 0.005em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.booted .hero-title .line { animation: rise 0.9s var(--ease) both; }
.booted .hero-title .line:nth-child(2) { animation-delay: 0.12s; }
@keyframes rise { from { transform: translateY(60%); opacity: 0; clip-path: inset(0 0 100% 0); } to { transform: none; opacity: 1; clip-path: inset(0 0 0 0); } }
.hero-sub { max-width: 820px; margin: clamp(14px, 2.4vh, 26px) auto 0; color: #c8c8d2; font-size: clamp(16px, min(1.6vw, 2.3vh), 21px); line-height: 1.55; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: clamp(18px, 3.4vh, 38px); }
.booted .hero-sub, .booted .hero-ctas { animation: fade 0.9s 0.3s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } }

.mars { position: relative; flex: 1 1 auto; min-height: max(230px, 19vw); max-height: 620px; margin-top: clamp(14px, 3vh, 48px); }
.mars svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; -webkit-tap-highlight-color: transparent; }
.mars-hint {
  position: absolute; top: 0; z-index: 1; margin: 0; pointer-events: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; letter-spacing: 0.14em; color: var(--muted);
}
.mars-hint { right: var(--pad); text-transform: uppercase; }
.star { fill: #fff; animation: starTwinkle 3.6s ease-in-out infinite; }
@keyframes starTwinkle { 50% { opacity: 0.25; } }
.rock { fill: #c98f25; }
.rover-name { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: 0.16em; fill: #4b33c7; }
.alien .a-body { animation: alienBob 0.45s ease-in-out infinite alternate; }
.alien.ufo .a-body { animation: none; }
.alien.hit { opacity: 0; transition: opacity 0.1s; }
@keyframes alienBob { to { transform: translateY(-3px); } }
.a-light { animation: ufoBlink 0.7s steps(2) infinite; }
.a-light:nth-of-type(2) { animation-delay: 0.23s; }
.a-light:nth-of-type(3) { animation-delay: 0.46s; }
@keyframes ufoBlink { 50% { fill: #f0a3d8; } }
.laser { animation: laserFade 0.3s ease-out forwards; }
@keyframes laserFade { 0% { opacity: 1; } 100% { opacity: 0; } }
.shock { fill: none; stroke: #f7e34f; stroke-width: 4; transform-box: fill-box; transform-origin: center; animation: shock 0.5s ease-out forwards; }
@keyframes shock { from { transform: scale(0.2); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
@media (max-width: 720px) {
  .mars-hint { display: none; }
}

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-note { max-width: 380px; color: var(--muted); margin: 0; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease) var(--d, 0ms), transform 0.8s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* chips / tabs / pills / badges */
.chips, .tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.chip, .tab {
  border: 1.5px solid var(--line); background: transparent; border-radius: 999px;
  padding: 9px 18px; font-size: 15px; font-weight: 600; color: #d6d6de;
  transition: all 0.2s;
}
.chip sup, .tab sup { font-size: 11px; margin-left: 4px; color: var(--muted); }
.chip:hover, .tab:hover { border-color: var(--line-strong); color: #fff; }
.chip.on, .tab.on { background: #fff; border-color: #fff; color: #000; }
.chip.on sup, .tab.on sup { color: #555; }
.tabs.dim .tab.on { background: transparent; color: #d6d6de; border-color: var(--line); }
.pills { display: flex; flex-wrap: wrap; gap: 14px; }
.pill {
  border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 14px 24px;
  font-size: clamp(16px, 1.5vw, 20px); color: #eee; background: #070709;
  transition: background 0.25s, color 0.25s, transform 0.3s var(--ease), border-color 0.25s;
}
.pill:nth-child(4n + 1):hover { background: var(--purple); border-color: var(--purple); }
.pill:nth-child(4n + 2):hover { background: var(--yellow); border-color: var(--yellow); color: #000; }
.pill:nth-child(4n + 3):hover { background: var(--pink); border-color: var(--pink); color: #000; }
.pill:nth-child(4n + 4):hover { background: var(--amber); border-color: var(--amber); color: #000; }
.pill:hover { transform: translateY(-2px); }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: var(--surface-3); color: #d6d6de;
}
.badge.live { background: rgba(123, 92, 250, 0.2); color: var(--purple-2); }
.badge.gold { background: rgba(247, 227, 79, 0.16); color: var(--yellow); }
.badge.new { background: var(--pink); color: #000; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #fff; border-bottom: 1.5px solid var(--yellow); padding-bottom: 2px; }
.text-link svg { width: 15px; height: 15px; }

/* media (image with icon fallback) */
.media { position: relative; overflow: hidden; background: var(--surface-3); }
.media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s, transform 0.7s var(--ease); }
.media.loaded img { opacity: 1; }
.media-ico { position: absolute; inset: 0; display: none; place-items: center; color: rgba(255, 255, 255, 0.85); }
.media-ico svg { width: 38%; max-width: 110px; height: auto; }
.media.noimg img { display: none; }
.media.noimg .media-ico { display: grid; }
.media:not(.loaded):not(.noimg)::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%) 0 0 / 200% 100%;
  animation: shimmer 1.3s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about-body p { color: #c8c8d2; font-size: 18px; margin: 22px 0 0; }
.about-side { display: grid; gap: 48px; padding-top: 40px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #000; padding: 26px 24px; display: grid; gap: 2px; }
.stat strong { font-family: var(--display); font-size: clamp(44px, 5vw, 64px); line-height: 1; font-weight: 800; }
.stat:nth-child(1) strong { color: var(--purple-2); }
.stat:nth-child(2) strong { color: var(--yellow); }
.stat:nth-child(3) strong { color: var(--pink); }
.stat:nth-child(4) strong { color: var(--amber); }
.stat span { color: var(--muted); font-size: 15px; }

/* ---------- projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.p-card {
  --accent: var(--purple);
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; isolation: isolate;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s, opacity 0.8s var(--ease) var(--d, 0ms);
  will-change: transform;
}
.p-card.c-pink { --accent: var(--pink); }
.p-card.c-yellow { --accent: var(--yellow); }
.p-card::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.08), transparent 45%);
}
.p-card:hover { border-color: var(--accent); box-shadow: 0 24px 60px -28px var(--accent); }
.p-card:hover::before { opacity: 1; }
.p-media { aspect-ratio: 16 / 10; }
.p-media .media-ico { color: var(--accent); background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.p-card:hover .media img { transform: scale(1.05); }
.p-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.p-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.p-event { font-size: 13px; color: var(--muted); }
.p-body h3 { font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1.05; margin: 2px 0 0; }
.p-body p { margin: 0; color: #b9b9c4; font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.p-go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--accent); }
.p-go i { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid currentColor; transition: transform 0.3s var(--ease), background 0.3s, color 0.3s; }
.p-go svg { width: 14px; height: 14px; }
.p-card:hover .p-go i { transform: rotate(45deg); background: var(--accent); color: #000; border-color: var(--accent); }
.p-card.feature { grid-column: span 2; flex-direction: row; }
.p-card.feature .p-media { aspect-ratio: auto; flex: 1.2; min-height: 320px; }
.p-card.feature .p-body { flex: 1; justify-content: center; padding: 34px; }
.p-card.feature h3 { font-size: clamp(42px, 4.6vw, 64px); }
.p-card.feature p { -webkit-line-clamp: 5; font-size: 17px; }
.more-btn { grid-column: 1 / -1; justify-self: center; margin-top: 18px; }

/* ---------- announcements ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }
.ann-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: none; font-size: 24px; line-height: 1; transition: background 0.2s, color 0.2s; }
.icon-btn:hover { background: #fff; color: #000; }

/* ---------- team ---------- */

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 16px; }
.g-item { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface-3); text-align: left; }
/* 10-item pattern that tiles a 4×4 grid with no holes */
.g-0 { grid-column: span 2; grid-row: span 2; }
.g-2 { grid-row: span 2; }
.g-5, .g-9 { grid-column: span 2; }
.g-media { position: absolute; inset: 0; }
.g-media .media-ico { color: var(--yellow); }
.g-item:hover .media img { transform: scale(1.06); }
.g-cap {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  padding: 10px 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(8px);
  font-size: 14.5px; font-weight: 600; display: grid; gap: 1px;
  transform: translateY(12px); opacity: 0; transition: transform 0.35s var(--ease), opacity 0.35s;
}
.g-cap b { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { transform: none; opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, 0.92); display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lb-open { overflow: hidden; }
.lb-figure { margin: 0; display: grid; gap: 14px; justify-items: center; max-height: 100%; }
.lb-media { width: min(1100px, 100%); max-height: 78vh; aspect-ratio: 3 / 2; border-radius: var(--radius); }
.lb-media img { object-fit: contain; background: #000; }
.lb-figure figcaption { color: #ddd; }
.lb-figure figcaption b { color: var(--yellow); }
.lb-figure figcaption span { color: var(--muted); margin-left: 10px; }
.lb-close { position: absolute; top: 18px; right: 22px; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #000; font-size: 28px; line-height: 1; }
.lb-nav { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #000; font-size: 30px; line-height: 1; justify-self: center; }
.lb-close:hover, .lb-nav:hover { background: #fff; color: #000; }

/* ---------- resources ---------- */
.search input {
  width: min(340px, 80vw); padding: 14px 22px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: #000; color: #fff; font: inherit; font-size: 16px;
}
.search input::placeholder { color: #777; }
.search input:focus { outline: none; border-color: var(--yellow); }
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.res-card {
  display: grid; gap: 8px; align-content: start;
  background: #000; border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 24px;
  transition: border-color 0.25s, transform 0.3s var(--ease);
}
.res-card:hover { border-color: var(--purple-2); transform: translateY(-4px); }
.res-top { display: flex; align-items: center; gap: 8px; }
.res-tab { font-size: 13px; color: var(--muted); }
.res-ico { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); transition: background 0.25s, color 0.25s; }
.res-ico svg { width: 16px; height: 16px; }
.res-card:hover .res-ico { background: var(--purple); }
.res-card h4 { margin: 8px 0 0; font-size: 18.5px; line-height: 1.3; }
.res-card p { margin: 0; color: var(--muted); font-size: 15px; }
.res-card.inv .text-link { justify-self: start; margin-top: 8px; font-size: 14px; }
.empty { grid-column: 1 / -1; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact .muted { font-size: 18px; margin: 22px 0 28px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); flex: none; }
.contact-list svg { width: 20px; height: 20px; }
.contact-list a { font-weight: 700; border-bottom: 1.5px solid var(--yellow); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
/* brand colours for social links */
.s-github { --brand: #ffffff; }
.s-instagram { --brand: #e4405f; }
.s-linkedin { --brand: #0a66c2; }
.s-youtube { --brand: #ff0000; }
.s-facebook { --brand: #1877f2; }
.s-mail { --brand: var(--yellow); }
.social { gap: 9px; padding-left: 12px; }
.social i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-3); color: #fff; transition: background 0.2s, color 0.2s; }
.social i svg { width: 15px; height: 15px; }
.social:hover { background: transparent; color: #fff; border-color: var(--brand); }
.social:hover i { background: var(--brand); color: #fff; }
.social.s-github:hover i { color: #000; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: #cfcfd8; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--line);
  background: #000; color: #fff; font: inherit; font-size: 16px; resize: vertical;
  transition: border-color 0.2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--purple-2); }
.tried :invalid { border-color: #ff7a7a; }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; font-size: 14px; color: var(--muted); }
.form-note.err { color: #ff9a9a; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.footer-about { display: grid; gap: 18px; align-content: start; justify-items: start; }
.footer-about p { max-width: 380px; margin: 0; font-size: 15px; }
.footer h4 { margin: 4px 0 14px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { color: #d6d6de; transition: color 0.2s; }
.footer ul a:hover { color: var(--yellow); }
.f-social { display: inline-flex; align-items: center; gap: 10px; }
.f-social i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); color: #fff; flex: none; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.f-social i svg { width: 15px; height: 15px; }
.footer ul a.f-social:hover { color: #fff; }
.f-social:hover i { background: var(--brand); border-color: var(--brand); }
.f-social.s-github:hover i, .f-social.s-mail:hover i { color: #000; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { margin: 0; font-size: 14.5px; }
.to-top { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; font-size: 20px; transition: background 0.2s, color 0.2s, transform 0.3s var(--ease); }
.to-top:hover { background: var(--yellow); color: #000; border-color: var(--yellow); transform: translateY(-4px); }

/* =========================================================
   PROJECT DETAIL PAGE
   ========================================================= */
.pd-hero { padding-top: clamp(26px, 3.5vw, 52px); }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.pd-title { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 5.6vw, 80px); line-height: 0.95; margin: 0; text-transform: uppercase; }
.pd-sub { font-size: clamp(15px, 1.25vw, 18px); color: #c8c8d2; max-width: 720px; margin: 12px 0 0; }
.pd-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.pd-cover { margin-top: clamp(24px, 3vw, 40px); border-radius: 28px; aspect-ratio: 21 / 9; }
.pd-cover .media-ico { color: var(--accent, var(--purple)); }
.pd-cover .media-ico svg { width: 20%; }
.pd-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(36px, 5vw, 80px); padding-block: clamp(60px, 8vw, 100px); }
.pd-grid h2 { font-family: var(--display); font-size: 34px; text-transform: uppercase; margin: 0 0 14px; }
.pd-grid section + section { margin-top: 52px; }
.pd-lead { font-size: clamp(19px, 1.7vw, 22px); color: #e4e4ea; line-height: 1.6; margin: 0; }
.pd-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pd-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.pd-list li::before { content: "✦"; color: var(--yellow); }
.pd-steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 0; }
.pd-steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pd-steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--purple-2); }
.pd-steps b { display: block; }
.pd-steps span { color: var(--muted); }
.pd-aside { display: grid; gap: 18px; align-content: start; position: sticky; top: 100px; }
.pd-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pd-box h3 { margin: 0 0 14px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pd-specs { display: grid; gap: 0; margin: 0; }
.pd-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.pd-specs div:last-child { border-bottom: 0; }
.pd-specs dt { color: var(--muted); }
.pd-specs dd { margin: 0; font-weight: 700; text-align: right; }
.pd-people { display: grid; gap: 12px; }
.pd-person { display: flex; gap: 12px; align-items: center; }
.pd-face { width: 52px; height: 52px; flex: none; aspect-ratio: 1; border-radius: 50%; }
.pd-face.portrait .initials { font-size: 18px; }
.pd-person small { display: block; color: var(--muted); }
.pd-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-stack span { padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-size: 14px; font-weight: 600; }
.pd-more { border-top: 1px solid var(--line); padding: clamp(60px, 8vw, 100px) 0; }
.pd-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.pd-nav a { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; display: grid; gap: 6px; transition: border-color 0.25s, transform 0.3s var(--ease); }
.pd-nav a:hover { border-color: var(--yellow); transform: translateY(-4px); }
.pd-nav a:last-child { text-align: right; }
.pd-nav small { color: var(--muted); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.pd-nav strong { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); line-height: 1.05; }
.pd-missing { padding: 140px 0; text-align: center; }
.note { font-size: 14px; color: var(--muted); border-left: 3px solid var(--yellow); padding: 4px 0 4px 14px; margin-top: 28px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav-links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    background: rgba(0, 0, 0, 0.97); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
  }
  .nav-links a { font-family: var(--display); font-size: 40px; font-weight: 700; text-transform: uppercase; color: #fff; }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--yellow); }
  .menu-open .nav-links { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .nav-cta-mobile { display: block; }
  .nav-cta, .nav-actions { display: none; }
  .burger { display: block; }
}
@media (max-width: 980px) {
  .about-grid, .ann-layout, .contact-grid, .pd-grid { grid-template-columns: 1fr; }
  .about-side { padding-top: 0; }
  .project-grid, .res-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .pd-aside { position: static; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .project-grid, .res-grid { grid-template-columns: 1fr; }
  .p-card.feature { grid-column: auto; flex-direction: column; }
  .p-card.feature .p-media { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
  .p-card.feature .p-body { padding: 22px 24px 24px; }
  .gallery { grid-auto-rows: 150px; gap: 10px; }
  .g-cap { opacity: 1; transform: none; font-size: 13px; padding: 7px 10px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 18px; }
  .lightbox { grid-template-columns: 1fr; padding: 70px 12px; }
  .lb-nav { position: absolute; bottom: 20px; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .pd-nav { grid-template-columns: 1fr; }
  .pd-nav a:last-child { text-align: left; }
  .pd-cover { aspect-ratio: 4 / 3; }
  .btn { padding: 14px 26px; }
  .brand-text { font-size: 16px; }
  .brand img { width: 32px; height: 32px; }
}

/* =========================================================
   MULTI-PAGE ADDITIONS
   ========================================================= */
/* sub-page hero */
.page-hero { position: relative; padding-top: clamp(26px, 3.5vw, 52px); overflow: hidden; }
.page-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 64px); line-height: 0.95; margin: 0; }
.page-sub { max-width: 640px; margin: 12px 0 0; font-size: clamp(15px, 1.15vw, 17px); color: #c8c8d2; }
.mini-belt { margin-top: clamp(22px, 2.8vw, 36px); height: 3px; background: linear-gradient(90deg, var(--purple), var(--pink) 50%, var(--yellow)); }
.page-body { padding-top: clamp(36px, 4vw, 56px); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.toolbar + .res-grid { margin-top: 0; }

/* explore tiles (home) */
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(230px, auto); gap: 18px; }
.x-tile {
  --tone: var(--purple);
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 6px; justify-content: flex-end;
  padding: 26px 28px; border-radius: var(--radius); background: #000; border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.35s, opacity 0.8s var(--ease) var(--d, 0ms);
}
.x-yellow { --tone: var(--yellow); }
.x-pink { --tone: var(--pink); }
.x-amber { --tone: var(--amber); }
.x-tile:not(.x-big) { padding-top: 96px; }
.x-big { grid-row: span 2; background: linear-gradient(160deg, #1a1433, #000 70%); }
.x-tile::before {
  content: ""; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; border-radius: 50%;
  border: 22px solid var(--tone); opacity: 0.14; z-index: -1; transition: transform 0.6s var(--ease), opacity 0.3s;
}
.x-tile:hover { border-color: var(--tone); box-shadow: 0 24px 60px -30px var(--tone); }
.x-tile:hover::before { opacity: 0.2; }
.x-ico { position: absolute; top: 24px; left: 26px; width: 54px; height: 54px; color: var(--tone); }
.x-big .x-ico { width: 88px; height: 88px; }
.x-ico svg { width: 100%; height: 100%; }
.x-meta { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tone); }
.x-tile h3 { margin: 0; font-family: var(--display); font-size: clamp(32px, 3.2vw, 44px); line-height: 1; text-transform: uppercase; }
.x-big h3 { font-size: clamp(48px, 5vw, 76px); }
.x-tile p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 420px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.x-go { position: absolute; top: 24px; right: 24px; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s; }
.x-go svg { width: 16px; height: 16px; }
.x-tile:hover .x-go { background: var(--tone); border-color: var(--tone); color: #000; }

/* home gallery preview */
.gallery.preview { grid-auto-rows: 200px; }

@media (max-width: 980px) {
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
  .x-big { grid-column: span 2; grid-row: auto; min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: span 2; }
}
@media (max-width: 720px) {
  .explore-grid { grid-template-columns: 1fr; }
  .x-big { grid-column: auto; }
  .explore-grid { grid-auto-rows: minmax(200px, auto); }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search input { width: 100%; }
}

/* hall of fame showcase (home) */
.hof { display: grid; gap: 18px; }
.hof-body { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; min-height: 420px; }
.hof-stage { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.hof-slide { position: absolute; inset: 0; display: flex; align-items: flex-end; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0.6s; }
.hof-slide.on { opacity: 1; visibility: visible; }
.hof-media { position: absolute; inset: 0; }
.hof-media img { transform: scale(1.06); transition: opacity 0.5s, transform 6s linear; }
.hof-slide.on .hof-media img { transform: scale(1); }
.hof-media .media-ico { color: var(--yellow); }
.hof-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 15%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.95) 100%); }
.hof-copy { position: relative; z-index: 1; padding: 28px 30px 34px; display: grid; gap: 10px; justify-items: start; max-width: 640px; }
.hof-top { display: flex; align-items: center; gap: 14px; }
.hof-year { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 0.9; color: transparent; -webkit-text-stroke: 1.5px #fff; }
.hof-medal { display: grid; place-items: center; min-width: 58px; height: 58px; padding: 0 10px; border-radius: 999px; border: 2px solid rgba(255,255,255,0.5); font-family: var(--display); font-size: 20px; font-weight: 800; text-transform: uppercase; line-height: 1; color: #fff; background: rgba(0,0,0,0.4); }
.hof-medal:empty { display: none; }
.hof-medal.gold { border-color: var(--yellow); color: var(--yellow); }
.hof-medal.silver { border-color: #d9dde6; color: #d9dde6; }
.hof-medal.bronze { border-color: #d99a5b; color: #d99a5b; }
.hof-copy h3 { margin: 2px 0 0; font-family: var(--display); font-size: clamp(34px, 3.4vw, 50px); line-height: 1; text-transform: uppercase; }
.hof-copy p { margin: 0; color: #d0d0da; font-size: 15.5px; }
.hof-slide.on .hof-copy > * { animation: fade 0.6s var(--ease) both; }
.hof-slide.on .hof-copy > *:nth-child(2) { animation-delay: 0.05s; }
.hof-slide.on .hof-copy > *:nth-child(3) { animation-delay: 0.1s; }
.hof-slide.on .hof-copy > *:nth-child(4) { animation-delay: 0.15s; }
.hof-slide.on .hof-copy > *:nth-child(5) { animation-delay: 0.2s; }
.hof-timer { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2; background: rgba(255,255,255,0.1); }
.hof-timer span { display: block; height: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); }
@keyframes hofTimer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hof-list { display: flex; flex-direction: column; gap: 8px; }
.hof-row {
  display: grid; grid-template-columns: 76px 86px 1fr; align-items: center; gap: 12px;
  width: 100%; text-align: left; padding: 12px 16px; border-radius: 16px;
  background: #000; border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: border-color 0.25s, background 0.25s, transform 0.3s var(--ease);
}
.hof-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--yellow); transform: scaleY(0); transition: transform 0.3s var(--ease); }
.hof-row:hover { border-color: var(--line-strong); }
.hof-row.on { background: var(--surface-2); border-color: rgba(247, 227, 79, 0.5); transform: translateX(-4px); }
.hof-row.on::before { transform: none; }
.hof-row-year { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.hof-row.on .hof-row-year { color: #fff; }
.hof-rank {
  justify-self: start; min-width: 52px; text-align: center; padding: 5px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--surface-3); color: #d6d6de; white-space: nowrap;
}
.hof-rank.gold { background: var(--yellow); color: #000; }
.hof-rank.silver { background: #d9dde6; color: #000; }
.hof-rank.bronze { background: #d99a5b; color: #000; }
.hof-row-text { display: grid; line-height: 1.25; min-width: 0; }
.hof-row-text b { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hof-row-text small { color: var(--muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hof-more { display: flex; justify-content: space-between; margin-top: auto; font-weight: 700; color: var(--yellow); border-style: dashed; }
.hof-more svg { width: 18px; height: 18px; }
.hof-more:hover { border-color: var(--yellow); }

@media (max-width: 980px) {
  .hof-body { grid-template-columns: 1fr; }
  .hof-stage { min-height: 380px; }
}
@media (max-width: 720px) {
  .hof-row { grid-template-columns: 62px 76px 1fr; padding: 10px 12px; gap: 8px; }
  .hof-row-year { font-size: 18px; }
  .hof-year { font-size: 44px; }
  .hof-copy { padding: 22px; }
}

/* team portraits */
.portrait { aspect-ratio: 4 / 5; border-radius: 16px; }
.portrait img { filter: grayscale(0.35) contrast(1.02); transition: opacity 0.5s, filter 0.4s, transform 0.6s var(--ease); }
.portrait .initials { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 4vw, 56px); letter-spacing: 0.04em; background: linear-gradient(180deg, var(--surface-3), var(--surface)); box-shadow: inset 0 3px 0 var(--tone, var(--purple)); color: var(--tone, var(--purple)); }
.portrait.tone-purple { --tone: var(--purple-2); }
.portrait.tone-pink { --tone: var(--pink); }
.portrait.tone-yellow { --tone: var(--yellow); }
.portrait.tone-amber { --tone: var(--amber); }

.leaders { --gap: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px var(--gap); }
.leader { flex: 0 0 calc((100% - 5 * var(--gap)) / 6); display: grid; gap: 4px; text-align: center; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; transition: opacity 0.8s var(--ease) var(--d, 0ms), transform 0.8s var(--ease) var(--d, 0ms); }
.leader .face { margin-bottom: 10px; }
.leader .portrait { border: 1px solid var(--line); transition: border-color 0.3s; }
.leader:hover .portrait { border-color: var(--line-strong); }
.leader:hover .portrait img { filter: none; transform: scale(1.03); }
.leader b { font-size: 15.5px; line-height: 1.3; }
.leader .leader-role { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; gap: 14px; align-content: start; transition: border-color 0.3s, opacity 0.8s var(--ease) var(--d, 0ms), transform 0.8s var(--ease) var(--d, 0ms); }
.member:hover { border-color: var(--line-strong); }
.member:hover .portrait img { filter: none; }
.member-body { padding: 0 6px 6px; display: grid; gap: 4px; }
.member-body h3 { margin: 0; font-size: 19px; line-height: 1.25; }
.member-body p { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 1180px) {
  .leader { flex-basis: calc((100% - 3 * var(--gap)) / 4); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  /* one swipeable row on phones so the section stays short */
  .leaders { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scrollbar-width: none; }
  .leader { flex: 0 0 42%; scroll-snap-align: start; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .member { padding: 10px; }
  .member-body h3 { font-size: 16px; }
}

/* "Get in touch" overlay on team portraits */
.face { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; border-radius: 16px; }
.gti {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 10px; border-radius: 999px; background: #fff; color: #000;
  font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none;
  opacity: 0; transform: translateY(8px); transition: opacity 0.25s, transform 0.3s var(--ease);
}
.gti svg { width: 15px; height: 15px; flex: none; }
.face::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.55)); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.leader:hover .gti, .leader:focus-visible .gti, .face:hover .gti, .face:focus-visible .gti { opacity: 1; transform: none; }
.leader:hover .face::after, .leader:focus-visible .face::after, .face:hover::after, .face:focus-visible::after { opacity: 1; }
@media (hover: none) {
  /* touch screens: always show a small mail badge */
  .gti { opacity: 1; transform: none; left: auto; right: 8px; bottom: 8px; padding: 8px; }
  .gti > span { display: none; }
}
.member-contact { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 0 0 2px; border: 0; border-bottom: 1.5px solid var(--yellow); background: none; color: #fff; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.member-contact svg { width: 14px; height: 14px; }

/* member ID card popup */
.idc-backdrop {
  position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; overflow-y: auto;
  background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.25s;
}
.idc-backdrop.open { opacity: 1; }
.idc {
  position: relative; width: min(360px, 100%); overflow: hidden;
  background: #0d0d11; border: 1px solid rgba(255,255,255,0.16); border-radius: 22px;
  box-shadow: 0 40px 90px -30px rgba(123, 92, 250, 0.55), 0 0 0 1px rgba(0,0,0,0.6);
  transform: translateY(26px) scale(0.96); transition: transform 0.4s var(--ease);
}
.idc-backdrop.open .idc { transform: none; }
.idc-head {
  position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 30px 20px 64px; color: #fff;
  background:
    radial-gradient(circle at 110% -20%, rgba(255,255,255,0.18) 0 30%, transparent 31%),
    linear-gradient(135deg, var(--purple), var(--purple-dark));
}
.idc-slot { position: absolute; top: 10px; left: 50%; width: 54px; height: 9px; margin-left: -27px; border-radius: 9px; background: #0d0d11; box-shadow: inset 0 1px 2px rgba(0,0,0,0.6); }
.idc-brand { display: flex; align-items: center; gap: 10px; }
.idc-brand img { width: 34px; height: 34px; border-radius: 10%; box-shadow: 0 0 0 1px rgba(255,255,255,0.35); }
.idc-brand span { display: grid; font-weight: 800; font-size: 13.5px; letter-spacing: 0.06em; line-height: 1.15; }
.idc-brand small { font-size: 10px; letter-spacing: 0.22em; opacity: 0.8; font-weight: 600; }
.idc-tag { margin-right: 36px; text-align: right; font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.35; opacity: 0.9; }
.idc-close { position: absolute; top: 18px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0,0,0,0.35); color: #fff; font-size: 20px; line-height: 1; }
.idc-close:hover { background: #fff; color: #000; }
.idc-photo { width: 128px; margin: -52px auto 0; border: 4px solid #0d0d11; border-radius: 18px; position: relative; z-index: 1; }
.idc-photo img { filter: none; }
.idc-photo .initials { font-size: 44px; }
.idc-body { padding: 16px 24px 20px; display: grid; justify-items: center; text-align: center; gap: 8px; }
.idc-body h3 { margin: 0; font-family: var(--display); font-size: 32px; line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; }
.idc-role { padding: 5px 12px; border-radius: 999px; background: var(--yellow); color: #000; font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.idc-about { margin: 4px 0 0; color: #c8c8d2; font-size: 14.5px; }
.idc-details { width: 100%; margin: 8px 0 0; text-align: left; border-top: 1px solid var(--line); }
.idc-details div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.idc-details dt { color: var(--muted); }
.idc-details dd { margin: 0; font-weight: 700; text-align: right; word-break: break-all; }
.idc-note { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.idc-note b { color: #fff; }
.idc-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.idc-actions .btn svg { width: 15px; height: 15px; }
.idc-li { padding: 9px 18px; gap: 8px; font-size: 13.5px; background: #0a66c2; color: #fff; }
.idc-li svg { width: 14px; height: 14px; }
.idc-li:hover { background: #fff; color: #0a66c2; }
.idc-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 24px 16px; border-top: 1px dashed var(--line); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); }
.idc-code { flex: 1; height: 22px; opacity: 0.55; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px, #fff 8px 11px, transparent 11px 13px); }

/* events & updates carousel (home) */
.happening .sec-head { margin-bottom: 36px; }
.flow { overflow: hidden; padding: 6px 0 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.flow-track { display: flex; gap: 18px; width: max-content; padding-right: 18px; animation: marquee var(--flow-duration, 60s) linear infinite; }
.flow:hover .flow-track, .flow:focus-within .flow-track, .flow.stopped .flow-track { animation-play-state: paused; }
.flow.stopped { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.flow-card {
  flex: none; width: 330px; height: 340px; display: flex; flex-direction: column;
  border-radius: var(--radius); border: 1px solid var(--line); background: #000; overflow: hidden;
  transition: border-color 0.3s, transform 0.35s var(--ease);
}
.flow-card:hover, .flow-card:focus-visible { border-color: var(--line-strong); transform: translateY(-6px); }
.flow-card h3 { margin: 0; font-size: 19px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.flow-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
/* event card */
.flow-ev:hover { border-color: var(--pink); }
.flow-media { height: 170px; flex: none; }
.flow-media .media-ico { color: var(--pink); }
.flow-ev-body { padding: 16px 20px 20px; display: grid; gap: 8px; align-content: start; justify-items: start; }
.flow-ev-body p { -webkit-line-clamp: 2; }
@media (max-width: 720px) {
  .flow-card { width: 280px; height: 320px; }
  .flow-media { height: 150px; }
}

/* ---------- events & updates: sub headings ---------- */
.hp-sub { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 8px 0 22px; }
.hp-sub + .tl2 { margin-bottom: clamp(48px, 6vw, 72px); }
.flow-toggle { display: grid; place-items: center; }
.flow-toggle svg { width: 18px; height: 18px; }
.flow-toggle .i-play { display: none; }
.flow-toggle[aria-pressed="true"] .i-play { display: block; }
.flow-toggle[aria-pressed="true"] .i-pause { display: none; }

/* status colours */
.s-upcoming { --st: var(--yellow); }
.s-live { --st: var(--green); }
.s-recent { --st: #8b8b99; }
.tl-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--st); }
.tl-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--st); }
.s-live .tl-status::before, .tl-status.s-live::before { animation: livePulse 1.4s ease-in-out infinite; }
@keyframes livePulse { 50% { box-shadow: 0 0 0 6px rgba(111, 227, 161, 0.18); } }
.tl2-legend { display: flex; gap: 16px; }
.tl2-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.tl2-legend span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--st); }

/* shared timeline card */
.tl-card { display: flex; width: 100%; height: 100%; text-align: left; padding: 0; font: inherit; color: inherit; cursor: pointer; border-radius: 18px; border: 1px solid var(--line); background: #000; overflow: hidden; transition: border-color 0.3s, transform 0.35s var(--ease); }
div.tl-card { cursor: default; }
a.tl-card:hover, button.tl-card:hover { border-color: var(--st, var(--line-strong)); transform: translateY(-4px); }
.tl-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; min-width: 0; flex: 1; }
.tl-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tl-type { font-size: 12px; color: var(--muted); }
.tl2 .has-poster .tl-type { display: none; } /* not enough room beside a poster */
.tl-card h4 { margin: 4px 0 0; font-size: 18px; line-height: 1.3; }
.tl-sub { margin: 0; font-family: var(--display); font-size: 17px; font-weight: 700; text-transform: uppercase; color: var(--yellow); letter-spacing: 0.02em; }
.tl-meta { margin: 0; font-size: 13.5px; font-weight: 700; color: #fff; }
.tl-meta::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; vertical-align: middle; border-radius: 50%; background: var(--purple-2); }
.tl-desc { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tl-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--yellow); }
.tl-more svg { width: 14px; height: 14px; }
.tl-poster { width: 118px; flex: none; }
.tl-poster img { object-position: top; }
.tl-tba { border-style: dashed; background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(255,255,255,0.02) 12px 24px); }
.tl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tl-chips span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13px; font-weight: 600; }
.tl-chips span:first-child { background: var(--yellow); border-color: var(--yellow); color: #000; }

/* home: horizontal timeline */
.tl2 { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 20px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.tl2-item { position: relative; display: grid; grid-template-rows: auto 22px 1fr; gap: 10px; scroll-snap-align: start; min-height: 250px; }
.tl2-item::before { content: ""; position: absolute; top: 40px; left: 0; right: -20px; height: 2px; background: linear-gradient(90deg, var(--line-strong), var(--line)); }
.tl2-item:last-child::before { right: 0; background: linear-gradient(90deg, var(--line-strong), transparent); }
.tl2-when { font-family: var(--display); font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: #fff; }
.tl2-item.s-recent .tl2-when { color: #c6c6d0; }
.tl2-node { position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: #000; border: 3px solid var(--st); }
.tl2-item.s-upcoming .tl2-node, .tl2-item.s-live .tl2-node { box-shadow: 0 0 0 6px color-mix(in srgb, var(--st) 20%, transparent); }

/* poster viewer */
.pv-backdrop { position: fixed; inset: 0; z-index: 96; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,0.88); opacity: 0; transition: opacity 0.25s; }
.pv-backdrop.open { opacity: 1; }
.pv { position: relative; margin: 0; display: grid; gap: 12px; justify-items: center; max-height: 100%; }
.pv img { max-width: min(92vw, 720px); max-height: 82vh; border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8); }
.pv figcaption { color: #d6d6de; font-size: 14.5px; }
.pv-close { top: -14px; right: -14px; background: #fff; color: #000; }

@media (max-width: 720px) {
  .tl2 { grid-auto-columns: 86%; }
  .tl-poster { width: 96px; }
  .hp-sub { flex-wrap: wrap; }
  .tl2-legend { display: none; }
}

/* ---------- event pop-up ---------- */
.evm-backdrop { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; overflow-y: auto; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.25s; }
.evm-backdrop.open { opacity: 1; }
.evm { position: relative; width: min(900px, 100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column; overflow: hidden; background: #0d0d11; border: 1px solid rgba(255,255,255,0.16); border-radius: 22px; box-shadow: 0 40px 90px -30px rgba(123, 92, 250, 0.55); transform: translateY(26px) scale(0.97); transition: transform 0.4s var(--ease); }
.evm:not(.has-poster) { width: min(640px, 100%); }
.evm-backdrop.open .evm { transform: none; }
.evm-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; color: #fff; background: linear-gradient(135deg, var(--purple), var(--purple-dark)); flex: none; }
.evm-tag { margin-right: 44px; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.9; }
.evm-head .idc-close { top: 50%; transform: translateY(-50%); }
.evm-main { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); min-height: 0; overflow-y: auto; }
.evm:not(.has-poster) .evm-main { grid-template-columns: 1fr; }
.evm-poster { position: relative; padding: 0; border: 0; background: #000; cursor: zoom-in; display: block; }
.evm-media { width: 100%; height: 100%; min-height: 320px; background: #000; }
.evm-media img { object-fit: contain; }
.evm-zoom { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,0.75); color: #fff; font-size: 12px; font-weight: 700; opacity: 0; transition: opacity 0.2s; }
.evm-poster:hover .evm-zoom, .evm-poster:focus-visible .evm-zoom { opacity: 1; }
.evm-body { padding: 24px 28px 28px; display: grid; gap: 10px; align-content: start; }
.evm-body h3 { margin: 0; font-family: var(--display); font-size: clamp(30px, 3.4vw, 44px); line-height: 1; text-transform: uppercase; }
.evm-facts { margin: 6px 0 0; border-top: 1px solid var(--line); }
.evm-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.evm-facts dt { color: var(--muted); }
.evm-facts dd { margin: 0; font-weight: 600; }
.evm-desc { margin: 4px 0 0; color: #d0d0da; line-height: 1.6; }
.evm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.evm-actions .btn svg { width: 14px; height: 14px; }
@media (max-width: 720px) {
  .evm { max-height: calc(100vh - 24px); }
  .evm-main { grid-template-columns: 1fr; }
  .evm-media { min-height: 0; max-height: 46vh; aspect-ratio: 4 / 5; }
  .evm-body { padding: 20px; }
  .evm-facts div { grid-template-columns: 96px 1fr; }
}

/* ---------- event calendar (home) ---------- */
.hp-note { margin: 0; font-size: 14px; }
.cal { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; margin-bottom: clamp(48px, 6vw, 72px); }
.cal-main, .cal-side { background: #000; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.cal-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cal-bar .icon-btn { width: 38px; height: 38px; font-size: 20px; display: grid; place-items: center; }
.cal-title { margin: 0 6px; min-width: 170px; text-align: center; font-family: var(--display); font-size: 24px; text-transform: uppercase; letter-spacing: 0.02em; }
.cal-today { margin-left: auto; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-wd { padding: 4px 6px 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cal-cell { min-height: 78px; padding: 6px; border-radius: 10px; background: var(--surface); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-cell.blank { background: transparent; }
.cal-cell.has-ev { background: var(--surface-2); }
.cal-cell.today { box-shadow: inset 0 0 0 1.5px var(--yellow); }
.cal-day { font-size: 12.5px; font-weight: 700; color: #c8c8d2; }
.cal-cell.today .cal-day { color: var(--yellow); }
.cal-chip { display: block; width: 100%; padding: 3px 6px; border: 0; border-left: 3px solid var(--st); border-radius: 4px; background: var(--surface-3); color: #fff; font: inherit; font-size: 11.5px; font-weight: 600; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; transition: background 0.2s; }
.cal-chip:hover, .cal-chip:focus-visible { background: #2b2b36; }
.cal-more { font-size: 11px; color: var(--muted); }
.cal-dot { display: none; width: 6px; height: 6px; border-radius: 50%; background: var(--st); }
.cal-side h4 { margin: 2px 0 12px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cal-list button { width: 100%; display: grid; gap: 3px; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: #fff; font: inherit; cursor: pointer; transition: border-color 0.2s; }
.cal-list button:hover, .cal-list button:focus-visible { border-color: var(--line-strong); }
.cal-list-date { font-size: 12px; color: var(--muted); font-weight: 600; }
.cal-list-title { font-weight: 700; font-size: 15px; line-height: 1.3; }
.cal-empty { margin: 0 0 10px; }
.cal-jump { display: block; width: 100%; margin-top: 8px; padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--line-strong); background: none; color: var(--yellow); font: inherit; font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; }
@media (max-width: 980px) {
  .cal { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cal-main, .cal-side { padding: 12px; }
  .cal-title { min-width: 0; margin: 0 2px; font-size: 17px; white-space: nowrap; }
  .cal-bar { gap: 6px; }
  .cal-today { padding: 7px 12px; font-size: 13px; }
  .cal-cell { min-height: 46px; padding: 5px; align-items: center; }
  .cal-chip, .cal-more { display: none; }
  .cal-cell.has-ev { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .cal-cell.has-ev .cal-day { width: 100%; text-align: center; }
  .cal-dot { display: block; }
}

/* ---------- achievements collage ---------- */
.col-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; }
.col-tile { position: relative; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color 0.3s, opacity 0.8s var(--ease) var(--d, 0ms), transform 0.8s var(--ease) var(--d, 0ms); }
.col-tile.big { grid-column: span 2; grid-row: span 2; }
.col-tile.wide { grid-column: span 2; }
.col-tile.tall { grid-row: span 2; }
.t-gold { --m: var(--yellow); } .t-silver { --m: #d9dde6; } .t-other { --m: var(--purple-2); }
.col-tile:hover, .col-tile:focus-visible { border-color: var(--m); }
.col-media { position: absolute; inset: 0; }
.col-media .media-ico { color: var(--m); background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--m) 18%, transparent), transparent 70%); }
.col-media img { transition: transform 0.6s var(--ease), opacity 0.5s; }
.col-tile:hover .col-media img { transform: scale(1.05); }
.col-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.88)); pointer-events: none; }
.col-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 2px; padding: 16px 18px; }
.col-rank { justify-self: start; font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; text-transform: uppercase; color: var(--m); }
.col-tile.big .col-rank { font-size: 64px; }
.col-info b { font-size: 16px; line-height: 1.25; }
.col-tile.big .col-info b { font-size: 22px; }
.col-info small { font-size: 12.5px; color: #c8c8d2; }
/* enlarged view */
.col-view { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 24px; background: rgba(5, 5, 10, 0.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.col-card { position: relative; width: min(980px, 100%); max-height: calc(100vh - 48px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); overflow: hidden; border-radius: 22px; background: #0d0d11; border: 1px solid color-mix(in srgb, var(--m) 55%, transparent); box-shadow: 0 40px 100px -30px color-mix(in srgb, var(--m) 60%, transparent); will-change: transform; }
.col-card .idc-close { top: 14px; right: 14px; z-index: 2; background: rgba(0,0,0,0.6); }
.col-view-media { min-height: 420px; background: #000; }
.col-view-media img { object-fit: cover; }
.col-view-body { padding: 34px 30px; display: grid; gap: 12px; align-content: center; justify-items: start; }
.col-view-body .col-rank { font-size: 72px; }
.col-view-body h3 { margin: 0; font-family: var(--display); font-size: clamp(30px, 3vw, 42px); line-height: 1; text-transform: uppercase; }
.col-meta { margin: 0; font-size: 13.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); }
.col-view-body p { margin: 0; color: #d0d0da; line-height: 1.6; }
.col-view-body .btn svg { width: 14px; height: 14px; }
@media (max-width: 980px) {
  .col-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col-card { grid-template-columns: 1fr; overflow-y: auto; }
  .col-view-media { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .col-grid { grid-auto-rows: 180px; }
  .col-tile.wide, .col-tile.big { grid-column: span 2; }
  .col-view-body { padding: 22px; }
  .col-view-body .col-rank { font-size: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .flow-track, .star, .alien .a-body, .a-light { animation: none; }
}
