/* Mac Admins India — site styles
   Mobile-first. Light palette, near-black ink, one restrained accent (the logo's Mac Admins India blue),
   marigold reserved for tiny details. System fonts: no web-font download. */

:root {
  color-scheme: light dark;
  /* Apple system neutrals (light) */
  --bg: #ffffff;
  --surface: #f2f2f7;          /* iOS grouped background */
  --surface-2: #e5e5ea;
  --card: #ffffff;             /* rows inside a grouped list */
  --line: #d2d2d7;
  --line-strong: #c7c7cc;
  --ink: #1d1d1f;
  --ink-2: #48484d;
  --ink-3: #6e6e73;
  --accent: #0a4c86;           /* MAI logo blue: links and text */
  --accent-fill: #0a4c86;      /* button fill */
  --accent-fill-hover: #083b69;
  --accent-hover: #083b69;
  --accent-soft: #e6eef7;
  --focus: rgba(10, 103, 210, .55);
  --glass: rgba(255, 255, 255, .78);
  --band: #1d1d1f;             /* conference band and floating button */
  --band-line: transparent;
  --cal-red: #e0302a;          /* Calendar-app month */
  --term-bg: #ffffff; --term-ink: #1d1d1f; --term-dim: #6e6e73; --term-bar: #ececec; --term-line: #d5d5d5;
  --ring: linear-gradient(135deg, #b8ff3c 0%, #22e3ff 38%, #8f6bff 70%, #ff3fd3 100%); /* the logo's ring */
  --marigold: #e0a030;
  --marigold-ink: #7a4e00;
  --marigold-soft: #fbf1de;
  --danger-ink: #8a3b2f;
  --danger-soft: #f6e9e6;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --container: 1160px;
  --gutter: 20px;
  --header-h: 60px;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .06);
  --shadow-window: 0 0 0 .5px rgba(0, 0, 0, .18), 0 22px 70px rgba(0, 0, 0, .22), 0 6px 18px rgba(0, 0, 0, .10);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --fab-clearance: 88px;
}
/* Dark mode follows the Mac's appearance setting */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --surface-2: #2c2c2e;
    --card: #2c2c2e;
    --line: #38383a;
    --line-strong: #48484a;
    --ink: #f5f5f7;
    --ink-2: #c7c7cc;
    --ink-3: #98989d;
    --accent: #6cb2ff;
    --accent-fill: #1f6fc4;
    --accent-fill-hover: #2b7fd8;
    --accent-hover: #93c6ff;
    --accent-soft: #0f2742;
    --focus: rgba(100, 170, 255, .6);
    --glass: rgba(22, 22, 24, .72);
    --band: #1c1c1e;
    --band-line: #38383a;
    --cal-red: #ff453a;
    --term-bg: #1e1e1e; --term-ink: #e8e8e8; --term-dim: #9a9a9a; --term-bar: #2b2b2d; --term-line: #3a3a3c;
    --marigold-ink: #f2c46d;
    --marigold-soft: #33260d;
    --danger-ink: #ff9f8f;
    --danger-soft: #3a1d18;
    --shadow-window: 0 0 0 .5px rgba(255, 255, 255, .14), 0 22px 70px rgba(0, 0, 0, .6);
  }
  .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23f5f5f7' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; }
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scroll-padding-bottom: var(--fab-clearance); /* focused items never sit under the floating button */
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 4px solid var(--focus); outline-offset: 1px; border-radius: 8px; } /* macOS-style focus ring */
abbr[title] { text-decoration: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--bg); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(780px + var(--gutter) * 2); }

/* ---------- Type ---------- */
.display {
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 650;
}
.title { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.4rem); line-height: 1.06; letter-spacing: -0.035em; }
.title-sm { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); letter-spacing: -0.03em; }
.lead { font-size: clamp(1.15rem, 1.02rem + .5vw, 1.4rem); line-height: 1.5; color: var(--ink-2); letter-spacing: -0.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .9375rem; font-weight: 600; color: var(--accent); letter-spacing: -0.005em; margin-bottom: 14px;
}
.theme-line {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem);
  color: var(--accent); margin-bottom: 20px; letter-spacing: 0;
}
.serif { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.01em; }
.muted { color: var(--ink-3); }
.small { font-size: .9375rem; }
.prose p + p { margin-top: 1em; }
.prose { color: var(--ink-2); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--tight { padding-block: clamp(2.5rem, 1.75rem + 3vw, 4rem); }
.section--surface { background: var(--surface); }
.section + .section:not(.section--surface):not(.conf-band) { padding-top: 0; }
.section--surface + .section, .conf-band + .section { padding-top: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.section-head .lead { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }

.page-hero { padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-hero .lead { margin-top: 22px; max-width: 680px; }
.page-hero .actions { margin-top: 32px; }

/* ---------- Buttons & links ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 1rem; font-weight: 550; letter-spacing: -0.01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent-fill); color: #fff; }
.btn-primary:hover { background: var(--accent-fill-hover); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: #1d1d1f; }
.btn-light:hover { background: #e5e5ea; color: #1d1d1f; }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.btn-outline-light:hover { color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.icon-ext { width: .7em; height: .7em; flex: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 550; text-decoration: none; min-height: 44px; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* Pending (placeholder) actions — visibly non-functional */
.is-pending {
  border: 1.5px dashed var(--line-strong) !important; background: transparent !important; color: var(--ink-3) !important;
  cursor: not-allowed; gap: 6px 10px; max-width: 100%; flex-wrap: wrap; white-space: normal; padding-block: 8px;
}
.text-link.is-pending { border: 0 !important; display: inline-flex; align-items: center; gap: 8px; }
.pending-note {
  font-size: .75rem; font-weight: 600; letter-spacing: .01em; color: var(--marigold-ink);
  background: var(--marigold-soft); padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.placeholder-text {
  font-family: var(--font-mono); font-size: .82em; color: var(--marigold-ink);
  background: var(--marigold-soft); padding: 2px 7px; border-radius: 6px; font-style: normal; font-weight: 500;
}

/* ---------- Tags & notices ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; letter-spacing: .01em;
  padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); line-height: 1.3;
}
.tag-sample { background: var(--marigold-soft); color: var(--marigold-ink); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-upcoming { background: var(--accent-soft); color: var(--accent-hover); }
.status-closed { background: var(--danger-soft); color: var(--danger-ink); }
.status-closed::before { border-radius: 1px; width: 7px; height: 2px; }
.status-completed { background: var(--surface-2); color: var(--ink-2); }
.status-completed::before { content: "✓"; width: auto; height: auto; background: none; font-size: .8rem; }

.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: var(--radius-sm);
  background: var(--marigold-soft); color: var(--marigold-ink); font-size: .9375rem; line-height: 1.5;
}
.notice strong { color: var(--marigold-ink); }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.notice--neutral { background: var(--surface); color: var(--ink-2); }
.notice--neutral strong { color: var(--ink); }

.kolam { width: 36px; height: 36px; color: var(--marigold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent; transition: border-color .25s var(--ease);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header::before { background: var(--bg); } }
.menu-open .site-header::before { background: var(--bg); }
.site-header.is-scrolled, .menu-open .site-header { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 10px; height: var(--header-h); }
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto;
  color: var(--ink); text-decoration: none; font-weight: 650; font-size: 1.0625rem; letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand picture { display: contents; }
.brand-mark { width: auto; height: 36px; flex: none; }
.brand--footer .brand-mark { height: 44px; }
.primary-nav { display: none; }
.primary-nav ul { display: flex; list-style: none; gap: 2px; }
.primary-nav a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-size: .9375rem; font-weight: 500;
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.primary-nav .nav-conference { margin-left: 10px; padding: 0 16px; border: 1px solid var(--line-strong); color: var(--ink); }
.primary-nav .nav-conference:hover { border-color: var(--ink); }
.menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; border-radius: 999px; color: var(--ink); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; fill: none; overflow: visible; }
.menu-toggle path { transition: transform .25s var(--ease); transform-origin: 12px 12px; }
.menu-toggle[aria-expanded="true"] .l1 { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .l2 { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 1100px) {
  .primary-nav { display: flex; align-items: center; }
  .menu-toggle { display: none; }
  .header-join { margin-left: 6px; }
}

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 60; overflow-y: auto;
  background: var(--bg); padding: 12px 0 calc(32px + env(safe-area-inset-bottom));
}
.mobile-menu ul { list-style: none; }
.mobile-menu li a {
  display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.025em;
}
.mobile-menu li a[aria-current="page"] { color: var(--accent); }
.mobile-conference {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0 16px; padding: 18px 20px;
  border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600;
}
.mobile-conference small { display: block; font-size: .8125rem; font-weight: 500; color: var(--ink-3); }
.mobile-conference .icon-ext { width: 14px; height: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu:not([hidden]) { animation: menu-in .28s var(--ease); }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
}
.menu-open { overflow: hidden; }

/* ---------- Photo placeholders ---------- */
.ph {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  aspect-ratio: var(--ar, 4 / 3); padding: 18px; border-radius: var(--radius); overflow: hidden; color: var(--ink-2);
  background:
    radial-gradient(circle at 1px 1px, rgba(27, 27, 29, .08) 1px, transparent 1.6px) 0 0 / 18px 18px,
    linear-gradient(155deg, #f1ede5, #e2dbcf);
}
.ph--teal { background: radial-gradient(circle at 1px 1px, rgba(10, 76, 134, .1) 1px, transparent 1.6px) 0 0 / 18px 18px, linear-gradient(155deg, #e6edf5, #c9d8e8); }
.ph--marigold { background: radial-gradient(circle at 1px 1px, rgba(122, 78, 0, .09) 1px, transparent 1.6px) 0 0 / 18px 18px, linear-gradient(155deg, #f7ecd8, #ead6b0); }
.ph--stone { background: radial-gradient(circle at 1px 1px, rgba(27, 27, 29, .07) 1px, transparent 1.6px) 0 0 / 18px 18px, linear-gradient(155deg, #eceae6, #d8d4cc); }
.ph-label {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px;
  border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: .75rem; font-weight: 650; color: var(--ink-2); letter-spacing: .01em;
}
.ph-icon { width: 16px; height: 16px; }
.ph-desc { font-size: .875rem; line-height: 1.4; color: var(--ink-2); max-width: 34ch; }

/* ---------- Home hero ---------- */
.hero { padding-top: clamp(3.5rem, 2rem + 6vw, 8rem); }
.hero-copy { max-width: 900px; }
.hero .lead { margin-top: 26px; max-width: 640px; }
.hero .actions { margin-top: 36px; }
.hero-gallery {
  display: grid; gap: 12px; margin-top: clamp(3rem, 2rem + 4vw, 5.5rem);
  grid-template-columns: 1fr 1fr;
}
.hero-gallery > :first-child { grid-column: 1 / -1; }
@media (min-width: 860px) {
  .hero-gallery { grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: 16px; }
  .hero-gallery > :first-child { grid-column: 1; grid-row: 1 / span 2; }
  .hero-gallery > :first-child .ph, .hero-gallery > img:first-child { height: 100%; aspect-ratio: auto; min-height: 520px; }
}

/* ---------- Spotlight ---------- */
.spotlight {
  display: grid; gap: 28px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.spotlight h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); letter-spacing: -0.03em; margin-top: 16px; }
.spotlight .event-summary { margin-top: 12px; max-width: 60ch; }
.spotlight .meta { margin-top: 18px; }
.spotlight-side { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
@media (min-width: 860px) {
  .spotlight { grid-template-columns: 1fr auto; align-items: end; gap: 48px; }
  .spotlight-side { align-items: flex-end; text-align: right; }
}

/* ---------- Feature rows (programs) ---------- */
.feature-row { display: grid; gap: 28px; align-items: center; }
.feature-row + .feature-row { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.feature-row h3 { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.6rem); letter-spacing: -0.035em; }
.feature-row .prose { margin-top: 16px; font-size: 1.125rem; }
.feature-row .actions { margin-top: 26px; }
.feature-kicker { font-size: .9375rem; font-weight: 600; color: var(--ink-3); margin-bottom: 10px; }
@media (min-width: 860px) {
  .feature-row { grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 6vw, 96px); }
  .feature-row--reverse > :first-child { order: 2; }
}

/* ---------- Theme triad ---------- */
.triad { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.triad > div { background: var(--bg); padding: 32px 0; }
.triad h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); letter-spacing: -0.03em; margin: 8px 0 12px; }
.triad p { color: var(--ink-2); max-width: 34ch; }
.triad ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; color: var(--ink-2); font-size: .9875rem; }
.triad li { display: flex; gap: 10px; }
.triad li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: .62em; border-radius: 50%; background: var(--accent); }
@media (min-width: 860px) {
  .triad { grid-template-columns: repeat(3, 1fr); border: 0; background: none; gap: 0; }
  .triad > div { padding: 8px 40px 8px 0; border-left: 0; }
  .triad > div + div { padding-left: 40px; border-left: 1px solid var(--line); }
}

/* ---------- Stories ---------- */
.stories { display: grid; gap: 20px; }
@media (min-width: 860px) { .stories { grid-template-columns: 1fr 1fr; gap: 28px; } }
.story {
  margin: 0; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--bg); border: 1.5px dashed var(--line-strong);
  display: flex; flex-direction: column; gap: 22px;
}
.story blockquote { margin: 0; font-family: var(--font-serif); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.4; color: var(--ink-3); }
.story figcaption { display: flex; align-items: center; gap: 14px; font-size: .9375rem; color: var(--ink-3); }
.avatar-ph { width: 48px; height: 48px; border-radius: 50%; flex: none; background: var(--surface-2); border: 1.5px dashed var(--line-strong); }

/* ---------- Conference band ---------- */
.conf-band { background: var(--band); color: #f2f2f7; padding-block: clamp(3rem, 2rem + 3vw, 5rem); border-block: 1px solid var(--band-line); }
.conf-band .eyebrow { color: #f2c46d; }
.conf-band h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); line-height: 1.1; letter-spacing: -0.035em; max-width: 20ch; color: #fff; }
.conf-band p { color: #c9c8c4; max-width: 56ch; margin-top: 18px; font-size: 1.0625rem; }
.conf-band .actions { margin-top: 30px; }
.conf-band .note { font-size: .9375rem; color: #a9a8a3; margin-top: 22px; }
.conf-band .note a { color: #fff; }
.conf-band :focus-visible { outline-color: rgba(255, 255, 255, .6); }
.conf-band-inner { display: grid; gap: 32px; }
@media (min-width: 860px) { .conf-band-inner { grid-template-columns: 1fr auto; align-items: end; } }

/* ---------- List rows (contribute / paths) ---------- */
.rows { list-style: none; border-top: 1px solid var(--line); }
.rows > li { border-bottom: 1px solid var(--line); }
.row-link {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: center; padding: 26px 0;
  color: var(--ink); text-decoration: none;
}
.row-link h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); letter-spacing: -0.025em; }
.row-link p { grid-column: 1; color: var(--ink-2); max-width: 60ch; }
.row-link .arrow {
  grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--ink); transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.row-link:hover { color: var(--ink); }
.row-link:hover .arrow { background: var(--accent-fill); border-color: var(--accent-fill); color: #fff; }
.row-link .arrow svg { width: 16px; height: 16px; }
@media (min-width: 860px) {
  .row-link { grid-template-columns: minmax(260px, 1fr) 1.4fr auto; padding: 32px 0; }
  .row-link p { grid-column: 2; }
  .row-link .arrow { grid-column: 3; grid-row: 1; }
}

/* ---------- Closing ---------- */
.closing { text-align: center; }
.closing .kolam { margin: 0 auto 28px; width: 44px; height: 44px; }
.closing h2 { max-width: 16ch; margin-inline: auto; }
.closing .lead { max-width: 560px; margin: 20px auto 0; }
.closing .actions { justify-content: center; margin-top: 34px; }

/* ---------- Toolbar & filters ---------- */
.toolbar { display: grid; gap: 16px; padding-block: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
@media (min-width: 860px) { .toolbar { grid-template-columns: auto auto 1fr; align-items: center; gap: 24px; } }
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-label { font-size: .8125rem; font-weight: 600; color: var(--ink-3); }
@media (min-width: 860px) { .filter-group { flex-direction: row; align-items: center; gap: 12px; } }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 10px; background: var(--surface-2); width: max-content; max-width: 100%; }
.segmented button {
  min-height: 38px; padding: 0 16px; border: 0; border-radius: 8px; background: transparent;
  font: inherit; font-size: .9375rem; font-weight: 550; color: var(--ink-2); cursor: pointer;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 0 0 .5px rgba(0,0,0,.04), 0 3px 8px rgba(0,0,0,.12), 0 3px 1px rgba(0,0,0,.04); }
@media (prefers-color-scheme: dark) { .segmented button[aria-pressed="true"] { background: #636366; } }
.select {
  min-height: 44px; padding: 0 40px 0 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%231b1b1d' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px;
  font: inherit; font-size: .9375rem; color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer;
}
.select:disabled { color: var(--ink-3); cursor: not-allowed; background-color: var(--surface); }
.result-count { font-size: .875rem; color: var(--ink-3); justify-self: end; }
@media (max-width: 859px) { .result-count { justify-self: start; } }
.search {
  position: relative; display: flex; align-items: center;
}
.search svg { position: absolute; left: 16px; width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.search input {
  width: 100%; min-height: 52px; padding: 0 18px 0 46px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--bg); font: inherit; font-size: 1.0625rem; color: var(--ink);
}
.search input::placeholder { color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg);
  font: inherit; font-size: .9375rem; color: var(--ink-2); cursor: pointer;
}
.chips button:hover { border-color: var(--ink); color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ---------- Event listing ---------- */
.event-list { display: grid; }
.event {
  display: grid; grid-template-columns: 64px 1fr; gap: 6px 20px; padding: 32px 0; border-bottom: 1px solid var(--line);
}
.event-date {             /* styled after the Calendar app icon */
  grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 9px;
  width: 64px; height: 64px; border-radius: 15px; background: var(--card);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .10);
}
@media (prefers-color-scheme: dark) { .event-date { background: #2c2c2e; box-shadow: 0 0 0 .5px rgba(255,255,255,.12); } }
.event-date span { font-size: .6875rem; font-weight: 600; color: var(--cal-red); line-height: 1; }
.event-date strong { font-family: var(--font-display); font-size: 1.75rem; font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; margin-top: 2px; }
.event-date.is-tba strong { font-size: .9375rem; font-weight: 500; color: var(--ink-3); margin-top: 8px; }
.event-title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); letter-spacing: -0.025em; margin-top: 12px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 14px 0 0; font-size: .9375rem; }
.meta div { display: flex; gap: 6px; }
.meta dt { color: var(--ink-3); }
.meta dd { margin: 0; color: var(--ink); font-weight: 500; }
.event-summary { color: var(--ink-2); margin-top: 12px; max-width: 64ch; }
.event-main { min-width: 0; }
.event-actions { grid-column: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 16px; }
.event-actions .hint { font-size: .8125rem; color: var(--ink-3); max-width: 28ch; }
.event-details { margin-top: 16px; border-radius: var(--radius-sm); background: var(--surface); }
.event-details summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 18px;
  cursor: pointer; font-weight: 600; font-size: .9375rem; list-style: none; border-radius: var(--radius-sm);
}
.event-details summary::-webkit-details-marker { display: none; }
.event-details summary { justify-content: flex-start; }
.event-details summary::before {   /* macOS disclosure triangle */
  content: ""; flex: none; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent var(--ink-3); transition: transform .2s var(--ease);
}
.event-details[open] summary::before { transform: rotate(90deg); }
.event-details-body { padding: 4px 18px 20px; display: grid; gap: 18px; font-size: .9375rem; }
.event-details h4 { font-size: .8125rem; font-weight: 650; color: var(--ink-3); letter-spacing: .01em; margin-bottom: 8px; }
.event-details ol, .event-details ul { padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink-2); }
@media (min-width: 860px) {
  .event { grid-template-columns: 84px 1fr 240px; gap: 0 36px; padding: 40px 0; }
  .event-date { width: 80px; height: 80px; border-radius: 18px; padding-top: 11px; grid-row: auto; }
  .event-date span { font-size: .75rem; }
  .event-date strong { font-size: 2.25rem; }
  .event-date.is-tba strong { font-size: 1rem; }
  .event-actions { grid-column: 3; align-items: flex-end; text-align: right; margin-top: 0; }
  .event-details-body { grid-template-columns: 1fr 1fr; }
}
.event:target { animation: target-flash 2s var(--ease); }
@keyframes target-flash { 0%, 40% { background: var(--accent-soft); } }
@media (prefers-reduced-motion: reduce) { .event:target { animation: none; background: var(--accent-soft); } }

.empty-state {
  text-align: center; padding: clamp(48px, 8vw, 88px) 24px; border-radius: var(--radius); background: var(--surface);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.empty-state .kolam { width: 48px; height: 48px; margin-bottom: 6px; }
.empty-state h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); letter-spacing: -0.03em; max-width: 22ch; }
.empty-state p { color: var(--ink-2); max-width: 52ch; }
.empty-state .actions { justify-content: center; margin-top: 10px; }

.callout {
  display: grid; gap: 20px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); border: 1px solid var(--line);
}
.callout h2, .callout h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.8rem); letter-spacing: -0.03em; }
.callout p { color: var(--ink-2); margin-top: 8px; max-width: 60ch; }
@media (min-width: 860px) { .callout { grid-template-columns: 1fr auto; align-items: center; gap: 40px; } }

/* ---------- Generic grids ---------- */
.grid-2 { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-2--wide-left { grid-template-columns: 1.3fr 1fr; } }
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.steps { list-style: none; counter-reset: step; display: grid; gap: 36px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.steps li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 20px; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-serif); font-style: italic; color: var(--accent); font-size: 1.0625rem; }
.steps h3 { font-size: 1.375rem; letter-spacing: -0.025em; margin: 10px 0 10px; }
.steps p { color: var(--ink-2); }

.panel { padding: clamp(24px, 3.5vw, 36px); border-radius: var(--radius); background: var(--surface); }
.panel h3 { font-size: 1.375rem; letter-spacing: -0.025em; margin-bottom: 10px; }
.panel p { color: var(--ink-2); }
.panel ul { margin-top: 14px; padding-left: 1.1em; display: grid; gap: 8px; color: var(--ink-2); }

.profile-slot { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--radius-sm); border: 1.5px dashed var(--line-strong); }
.profile-slot .avatar-ph { width: 64px; height: 64px; }
.profile-slot p { color: var(--ink-3); font-size: .9375rem; }
.profile-slot strong { display: block; color: var(--ink-2); }

.photo-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.photo-grid > :first-child { grid-column: 1 / -1; }
@media (min-width: 860px) { .photo-grid { grid-template-columns: 2fr 1fr 1fr; gap: 16px; } .photo-grid > :first-child { grid-column: auto; grid-row: span 2; aspect-ratio: auto; height: 100%; } }

/* ---------- Resources ---------- */
.resource-list { list-style: none; display: grid; }
.resource { display: grid; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.resource-type { font-size: .8125rem; font-weight: 650; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.resource-type svg { width: 16px; height: 16px; }
.resource h3 { font-size: 1.3rem; letter-spacing: -0.025em; }
.resource p { color: var(--ink-2); max-width: 64ch; }
.resource .resource-action { margin-top: 6px; }
@media (min-width: 860px) {
  .resource { grid-template-columns: 180px 1fr auto; gap: 8px 36px; align-items: start; padding: 32px 0; }
  .resource-type { grid-row: 1 / span 3; padding-top: 6px; }
  .resource .resource-action { grid-column: 3; grid-row: 1 / span 3; margin-top: 0; }
}
.resource-filters { display: grid; gap: 18px; margin-bottom: 12px; }

/* ---------- Get involved ---------- */
.path { display: grid; gap: 18px; padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.path:last-child { border-bottom: 1px solid var(--line); }
.path-num { font-family: var(--font-serif); font-style: italic; color: var(--accent); font-size: 1.0625rem; }
.path h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem); letter-spacing: -0.035em; margin-top: 6px; }
.path .prose { font-size: 1.0625rem; max-width: 56ch; }
.path ul { list-style: none; display: grid; gap: 10px; color: var(--ink-2); }
.path li { position: relative; padding-left: 16px; }
.path li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.path .actions { margin-top: 8px; }
@media (min-width: 860px) { .path { grid-template-columns: 1fr 1fr; gap: 24px 80px; } .path-aside { padding-top: 34px; display: grid; gap: 22px; align-content: start; } }

.coc { display: grid; gap: 20px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--accent-soft); }
.coc h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -0.03em; }
.coc p { color: var(--ink-2); margin-top: 10px; max-width: 60ch; }
@media (min-width: 860px) { .coc { grid-template-columns: 1fr auto; align-items: center; } }

.link-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.link-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; border-bottom: 1px solid var(--line); flex-wrap: wrap; padding: 10px 0; }
.link-list .label { font-weight: 600; }
.link-list .label small { display: block; font-weight: 400; color: var(--ink-3); font-size: .875rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface); border-top: 1px solid var(--line); font-size: .9375rem;
  padding: clamp(3rem, 2rem + 4vw, 5rem) 0 calc(var(--fab-clearance) + env(safe-area-inset-bottom));
}
.footer-conference {
  display: grid; gap: 20px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line);
}
.footer-conference .eyebrow { margin-bottom: 6px; }
.footer-conference-text { font-size: 1.125rem; color: var(--ink-2); max-width: 54ch; letter-spacing: -0.01em; }
.footer-conference-text strong { color: var(--ink); }
@media (min-width: 860px) { .footer-conference { grid-template-columns: 1fr auto; align-items: center; } }
.footer-grid { display: grid; gap: 36px 24px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-theme { font-family: var(--font-serif); font-style: italic; color: var(--accent); margin-top: 8px; }
.footer-blurb { color: var(--ink-3); margin-top: 8px; max-width: 34ch; }
.footer-heading { font-size: .8125rem; font-weight: 650; color: var(--ink); margin-bottom: 10px; letter-spacing: .01em; }
.site-footer ul { list-style: none; display: grid; gap: 2px; }
.site-footer nav a, .footer-pending li > * { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink-2); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); text-decoration: underline; }
.footer-pending .pending-note { font-size: .6875rem; padding: 2px 6px; }
.footer-base { display: grid; gap: 10px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-base a { font-weight: 600; }
.footer-legal { color: var(--ink-3); font-size: .8125rem; max-width: 90ch; }

/* ---------- Floating buttons: conference link (top right, under the header) and WhatsApp join (bottom right) ---------- */
.conf-fab {
  position: fixed; z-index: 40;
  right: calc(16px + env(safe-area-inset-right));
  top: calc(var(--header-h) + 14px);
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; min-width: 52px; padding: 6px 18px 6px 6px; border-radius: 999px;
  background: var(--band); color: #fff; text-decoration: none; font-size: .9375rem; font-weight: 600; letter-spacing: -0.01em;
  border: 1px solid var(--band-line);
  box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 10px 30px rgba(27,27,29,.18);
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.conf-fab:hover, .conf-fab:focus-visible { color: #fff; background: #000; }
@media (prefers-color-scheme: dark) { .conf-fab:hover, .conf-fab:focus-visible { background: #2c2c2e; } }
.conf-fab:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; box-shadow: 0 0 0 2px #fff, 0 10px 30px rgba(27,27,29,.2); }
.conf-fab-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); color: #f2c46d; flex: none; }
.conf-fab-icon img { width: 30px; height: auto; }
.conf-fab-label { display: inline-flex; white-space: nowrap; }
.conf-fab-pre { display: inline-block; max-width: 0; overflow: hidden; opacity: 0; vertical-align: bottom; transition: max-width .35s var(--ease), opacity .25s var(--ease); }
.conf-fab:hover .conf-fab-pre, .conf-fab:focus-visible .conf-fab-pre { max-width: 7em; opacity: 1; }
.conf-fab .icon-ext { opacity: .7; }
@media (max-width: 639px) {
  .conf-fab { padding: 6px; gap: 0; }
  .conf-fab-label, .conf-fab .icon-ext { display: none; }
}
@media (prefers-reduced-motion: reduce) { .conf-fab-pre { transition: none; } }
.menu-open .conf-fab { visibility: hidden; }
@media (min-width: 1100px) { .conf-fab { display: none; } }   /* the header already carries this link at this width */

/* WhatsApp join: sits in the bottom-right corner; the fill is a darkened WhatsApp green so white text passes contrast. */
.join-fab {
  position: fixed; z-index: 40;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; min-width: 52px; padding: 6px 18px 6px 6px; border-radius: 999px;
  background: #0b7a4b; color: #fff; text-decoration: none; font-size: .9375rem; font-weight: 600; letter-spacing: -0.01em;
  border: 1px solid #095e3a;
  box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 10px 30px rgba(11,122,75,.28);
  transition: background-color .2s var(--ease);
}
.join-fab:hover, .join-fab:focus-visible { color: #fff; background: #086640; }
.join-fab:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.join-fab-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #25d366; color: #fff; flex: none; }
.join-fab-icon svg { width: 24px; height: 24px; }
.join-fab-label { white-space: nowrap; }
@media (max-width: 639px) {
  .join-fab { padding: 6px; gap: 0; }
  .join-fab-label { display: none; }
}
.menu-open .join-fab { visibility: hidden; }

/* Upcoming-event register button: bottom-left, injected by site.js while an upcoming event has a registration link. */
.event-fab {
  position: fixed; z-index: 40;
  left: calc(16px + env(safe-area-inset-left));
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 6px 20px 6px 6px; border-radius: 999px;
  background: var(--accent-fill); color: #fff; text-decoration: none; font-size: .9375rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.15;
  border: 1px solid #083b69;
  box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 10px 30px rgba(10,76,134,.32);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.event-fab:hover, .event-fab:focus-visible { color: #fff; background: var(--accent-fill-hover); }
.event-fab:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.event-fab-icon { display: grid; place-content: center; justify-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--accent); flex: none; line-height: 1; }
.event-fab-icon span { font-size: .5625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.event-fab-icon b { font-size: 1rem; font-weight: 750; }
.event-fab-text { display: grid; white-space: nowrap; }
.event-fab-text small { font-size: .6875rem; font-weight: 500; opacity: .85; letter-spacing: 0; }
/* Attention: a soft pulse ring all the time, plus a small bounce every few seconds. Both stop on hover/focus and for reduced-motion users. */
@media (prefers-reduced-motion: no-preference) {
  .event-fab { animation: event-fab-bounce 4s var(--ease) 1.5s infinite; }
  .event-fab::after {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
    box-shadow: 0 0 0 0 rgba(10,76,134,.55); animation: event-fab-ring 2.4s ease-out infinite;
  }
  .event-fab:hover, .event-fab:focus-visible { animation: none; transform: translateY(-2px); }
  .event-fab:hover::after, .event-fab:focus-visible::after { animation: none; }
}
@keyframes event-fab-bounce {
  0%, 22%, 100% { transform: translateY(0); }
  6% { transform: translateY(-14px); }
  12% { transform: translateY(0); }
  16% { transform: translateY(-6px); }
  20% { transform: translateY(0); }
}
@keyframes event-fab-ring {
  0% { box-shadow: 0 0 0 0 rgba(10,76,134,.55); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(10,76,134,0); }
}
@media (max-width: 639px) { .event-fab { padding-right: 16px; } .event-fab-text small { display: none; } }
.menu-open .event-fab { visibility: hidden; }
@media print { .event-fab { display: none; } }

.filter-group { min-width: 0; }
.segmented { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.segmented button { flex: none; }
@media (max-width: 479px) { .segmented button { padding-inline: 12px; } }

/* ---------- Logo placements, stats, story, team ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 44px 0 0; max-width: 640px; padding-top: 24px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.stats dt { font-size: .875rem; color: var(--ink-3); line-height: 1.35; }
.stats dd { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 650; letter-spacing: -0.04em; color: var(--accent); line-height: 1; }
.conf-band-mark { width: 56px; height: auto; margin-bottom: 22px; }
.story-grid { display: grid; gap: 32px; margin-top: 28px; align-items: center; }
.story-logo { width: min(240px, 60%); height: auto; }
@media (min-width: 760px) { .story-grid { grid-template-columns: 1fr 220px; } .story-logo { width: 100%; } }
.milestones { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.milestones li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.milestones strong { color: var(--accent); font-variant-numeric: tabular-nums; }
.team { gap: 12px; }
.profile { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink-3); text-decoration: none; font-size: .875rem; transition: border-color .2s var(--ease); }
.profile:hover { border-color: var(--accent); color: var(--ink-3); }
.profile strong { display: block; color: var(--ink); font-size: 1.0625rem; letter-spacing: -0.01em; }
.profile .icon-ext { display: inline; width: 10px; height: 10px; margin-left: 4px; vertical-align: baseline; }
.avatar { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 650; letter-spacing: .02em; }

.audience, .organizers { margin-top: 28px; color: var(--ink-2); max-width: 80ch; line-height: 1.65; }
.audience strong, .organizers strong { color: var(--ink); }

.photo { display: block; width: 100%; height: auto; aspect-ratio: var(--ar, 4 / 3); object-fit: cover; border-radius: var(--radius); background: var(--surface-2); }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: baseline; }
.footer-credit { font-size: .875rem; color: var(--ink-2); }
.footer-credit a { color: var(--ink); font-weight: 600; }
.footer-base .icon-ext { display: inline-block; width: 10px; height: 10px; margin-left: 4px; vertical-align: baseline; }

.list-title { font-size: 1.125rem; letter-spacing: -0.015em; margin-bottom: 18px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 40px; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .check-list { grid-template-columns: 1fr 1fr; } }
.check-list li { position: relative; padding: 16px 0 16px 20px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.check-list li { padding-left: 32px; }
.check-list li::before {   /* filled checkmark.circle */
  content: ""; position: absolute; left: 0; top: calc(16px + .2em); width: 20px; height: 20px; border-radius: 50%; background: var(--accent-fill);
}
.check-list li::after {
  content: ""; position: absolute; left: 7px; top: calc(16px + .2em + 4px); width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.check-list strong { color: var(--ink); font-weight: 600; }
.formats table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.formats th, .formats td { text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.formats thead th { font-size: .8125rem; font-weight: 650; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; padding-top: 0; }
.formats tbody th { font-weight: 650; }
.formats tbody th a { color: var(--ink); text-decoration: none; }
.formats tbody th a:hover { color: var(--accent); text-decoration: underline; }
.formats td { color: var(--ink-2); }
.formats td:nth-child(2) { white-space: nowrap; color: var(--accent); font-weight: 600; }
@media (max-width: 599px) {
  .formats thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .formats tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .formats th, .formats td { padding: 0; border: 0; }
  .formats td:last-child { grid-column: 1 / -1; }
}
.formats-goal { margin-top: 24px; color: var(--ink-2); max-width: 70ch; }
.formats-goal strong { color: var(--ink); }

.community-photo { margin: clamp(2.5rem, 2rem + 3vw, 4rem) 0 0; }
.community-photo figcaption { margin-top: 12px; font-size: .875rem; color: var(--ink-3); }
@media (max-width: 599px) { .community-photo .photo { aspect-ratio: 16 / 9; } }

/* ---------- Home hero: macOS Terminal window ---------- */
@media (min-width: 1024px) {
  .hero-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
  .hero-split .display { font-size: clamp(3rem, 1.2rem + 3.6vw, 4.6rem); }
}
.terminal-wrap { position: relative; margin-top: clamp(2.5rem, 2rem + 3vw, 3.5rem); }
@media (min-width: 1024px) { .terminal-wrap { margin-top: 0; } }
.terminal-wrap::before {   /* the logo ring's colours, blurred behind the window like a wallpaper glow */
  content: ""; position: absolute; inset: 12% 6% -4% 10%; z-index: 0; border-radius: 40%;
  background: var(--ring); filter: blur(48px); opacity: .32;
}
@media (prefers-color-scheme: dark) { .terminal-wrap::before { opacity: .42; } }
.terminal {
  position: relative; z-index: 1; margin: 0; border-radius: 12px; overflow: hidden;
  background: var(--term-bg); color: var(--term-ink); box-shadow: var(--shadow-window);
}
.terminal-bar {
  display: grid; grid-template-columns: 60px 1fr 60px; align-items: center; height: 30px; padding: 0 12px;
  background: var(--term-bar); border-bottom: 1px solid var(--term-line);
}
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .18); }
.lights i:nth-child(1) { background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.terminal-title { text-align: center; font-size: .8125rem; font-weight: 600; color: var(--term-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.terminal pre {
  margin: 0; padding: 16px 18px 20px; min-height: 17.5em;
  font-family: var(--font-mono); font-size: clamp(.75rem, .7rem + .25vw, .875rem); line-height: 1.6;
  white-space: pre-wrap; word-break: break-word;
}
.terminal .p { color: var(--term-dim); }
.terminal .ok { color: #1f9d55; }
@media (prefers-color-scheme: dark) { .terminal .ok { color: #4fd17f; } }
.terminal .k { color: var(--term-dim); display: inline-block; min-width: 11ch; }
.terminal .cursor { display: inline-block; width: .6em; height: 1.15em; vertical-align: -.2em; background: var(--term-ink); opacity: .75; }
.terminal [data-line] { display: block; min-height: 1.6em; }
.terminal [data-line][hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .terminal .cursor { animation: blink 1.1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
}

/* ---------- Settings-style grouped list (iOS) ---------- */
.settings-list { list-style: none; padding: 0; margin: 0; border-radius: 12px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.settings-list li { position: relative; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 14px; min-height: 60px; padding: 8px 16px; }
.settings-list li + li::before { content: ""; position: absolute; top: 0; left: 60px; right: 0; border-top: .5px solid var(--line); }
.set-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--c); color: #fff; }
.set-icon svg { width: 18px; height: 18px; }
.settings-list .label { font-weight: 500; }
.settings-list .label small { display: block; font-weight: 400; color: var(--ink-3); font-size: .8125rem; }
.settings-list .text-link, .settings-list a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: .9375rem; text-decoration: none; color: var(--ink-3); }
.settings-list a:hover { color: var(--accent); }
.settings-list a::after {   /* iOS chevron */
  content: ""; width: 7px; height: 7px; margin-left: 6px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); opacity: .6;
}
.settings-list a .icon-ext { display: none; }
.settings-list { box-shadow: none; }

/* ---------- Icons (SF Symbols-style line icons, one sprite) ---------- */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-kicker { display: flex; align-items: center; gap: 8px; }
.feature-kicker .i { width: 20px; height: 20px; color: var(--accent); }
.triad-i { width: 34px; height: 34px; color: var(--accent); stroke-width: 1.5; }
.row-link h3 { display: flex; align-items: center; gap: 14px; }
.row-i { width: 28px; height: 28px; color: var(--accent); stroke-width: 1.6; }
.fmt-i { display: inline-block; width: 20px; height: 20px; margin-right: 10px; vertical-align: -4px; color: var(--accent); }
.path-icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
  border-radius: 11px; background: var(--accent-soft); color: var(--accent);
}
.path-icon .i { width: 24px; height: 24px; }

/* ---------- Our story: timeline (a real sequence, so it earns the rail) ---------- */
.timeline { list-style: none; padding: 0; margin: 48px 0 0; position: relative; }
.timeline li:not(:last-child)::after {   /* the rail, in each era's colour */
  content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px; width: 2px; border-radius: 1px;
  background: linear-gradient(to bottom, var(--c2), var(--c1)); opacity: .4;
}
.timeline li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding-bottom: 36px; }
.timeline li:last-child { padding-bottom: 0; }
.tl-icon {   /* app-icon tile: squircle, top-lit gradient */
  position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(180deg, var(--c1), var(--c2)); color: #fff;
  box-shadow: 0 0 0 4px var(--surface), 0 2px 6px rgba(0, 0, 0, .12);
}
.tl-icon .i { width: 26px; height: 26px; stroke-width: 2; }
.tl-year { font-family: var(--font-display); font-size: 2rem; font-weight: 300; line-height: 1; letter-spacing: -0.03em; color: var(--ink-3); font-variant-numeric: tabular-nums; padding-top: 6px; }
.tl-body h3 { margin-top: 8px; font-size: 1.25rem; letter-spacing: -0.02em; }
.tl-body > p:not(.tl-year) { margin-top: 6px; color: var(--ink-2); max-width: 56ch; }
.tl-photo { margin-top: 16px; max-width: 520px; border-radius: 14px; }
@media (min-width: 760px) {
  .timeline li { grid-template-columns: 48px 96px 1fr; gap: 0 24px; }
  .tl-body { display: contents; }
  .tl-year { grid-column: 2; grid-row: 1 / span 3; padding-top: 8px; }
  .tl-body h3, .tl-body > p:not(.tl-year), .tl-photo { grid-column: 3; }
  .tl-body h3 { margin-top: 10px; }
}

/* ---------- Join us: how joining works (a real sequence, so it gets a rail too) ---------- */
.flow { list-style: none; padding: 0; margin: 0; display: grid; }
.flow li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 0 20px; padding-bottom: 32px; }
.flow li:last-child { padding-bottom: 0; }
.flow li > :not(.tl-icon) { grid-column: 2; }
.flow li:not(:last-child)::after {   /* vertical rail on small screens */
  content: ""; position: absolute; left: 23px; top: 56px; bottom: 6px; width: 2px; border-radius: 1px;
  background: linear-gradient(to bottom, var(--c2), var(--line));
}
.flow .tl-icon { grid-column: 1; grid-row: 1 / span 3; }
.flow-who {
  justify-self: start; font-size: .8125rem; font-weight: 600; letter-spacing: .01em;
  padding: 3px 10px; border-radius: 999px; background: var(--surface); color: var(--ink-2);
}
.flow-who--you { background: var(--accent-soft); color: var(--accent); }
.flow h3 { margin-top: 8px; font-size: 1.1875rem; letter-spacing: -0.02em; }
.flow p { margin-top: 6px; color: var(--ink-2); font-size: .96875rem; max-width: 46ch; }
@media (min-width: 960px) {
  .flow { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .flow li { grid-template-columns: 1fr; padding-bottom: 0; align-content: start; }
  .flow li > :not(.tl-icon), .flow .tl-icon { grid-column: 1; grid-row: auto; }
  .flow .tl-icon { margin-bottom: 16px; }
  .flow li:not(:last-child)::after {   /* horizontal connector between tiles */
    left: 64px; right: -16px; top: 23px; bottom: auto; width: auto; height: 2px;
    background: linear-gradient(to right, var(--c2), var(--line));
  }
  .flow h3 { margin-top: 12px; }
}
.flow-note { margin-top: clamp(28px, 4vw, 40px); padding: 18px 22px; border-radius: 14px; background: var(--surface); color: var(--ink-2); font-size: .96875rem; }
.flow-note strong { color: var(--ink); }

.photo-pair { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 640px) { .photo-pair { grid-template-columns: 1fr 1fr; } }
.closing-photo { margin-top: clamp(2.5rem, 2rem + 3vw, 4rem); }

.path-photo { border-radius: 14px; max-width: 460px; margin-top: 24px; }
.conf-band-photo { margin-top: 28px; max-width: 560px; border-radius: 14px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 70; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  width: max-content; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 14px;
  background: var(--band); color: #fff; font-size: .9375rem; box-shadow: var(--shadow-soft);
}
.toast code { font-family: var(--font-mono); font-size: .85em; color: #f2c46d; }
.toast[hidden] { display: none; }


/* ---------- Stage: a dark opening with the logo ring's aurora, a dot grid and a cursor spotlight ---------- */
:root { --night: #070a12; }
.stage {
  --mx: 72%; --my: 28%;
  position: relative; isolation: isolate; overflow: hidden; color: #f5f5f7;
  background-color: var(--night);
  background-image: radial-gradient(rgba(255,255,255,.11) 1px, transparent 1.4px); background-size: 28px 28px;
}
.stage::before {   /* the same dots, brighter, revealed only around the pointer */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.75) 1px, transparent 1.4px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(340px circle at var(--mx) var(--my), #000, transparent 70%);
  mask-image: radial-gradient(340px circle at var(--mx) var(--my), #000, transparent 70%);
}
.aurora { position: absolute; inset: -20% -10%; z-index: -2; pointer-events: none; }
.aurora i { position: absolute; width: min(46vw, 720px); aspect-ratio: 1; border-radius: 50%; filter: blur(96px); will-change: transform; }
.aurora i:nth-child(1) { left: 2%; top: -6%; background: #22e3ff; opacity: .30; animation: drift-a 24s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { right: 0; top: 6%; background: #8f6bff; opacity: .42; animation: drift-b 30s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { left: 38%; bottom: -14%; background: #ff3fd3; opacity: .22; animation: drift-c 34s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(14vw, 9vh) scale(1.18); } }
@keyframes drift-b { to { transform: translate(-12vw, 12vh) scale(.88); } }
@keyframes drift-c { to { transform: translate(-16vw, -9vh) scale(1.2); } }

.stage .display, .stage h1, .stage h2, .stage h3 { color: #fff; }
.stage .lead { color: rgba(245,245,247,.78); }
.stage .eyebrow { color: #7fd6ff; }
.stage .theme-line { color: #9fd4ff; }
.stage a:not(.btn) { color: #9fd4ff; }
.stage .btn-primary { background: #fff; color: #07203b; }
.stage .btn-primary:hover { background: #dfe9f5; color: #07203b; }
.stage .btn-secondary { color: #fff; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.04); }
.stage .btn-secondary:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.1); }
.stage :focus-visible { outline-color: #fff; }
.stage .notice--neutral { background: rgba(255,255,255,.08); color: rgba(245,245,247,.86); }
.stage .notice--neutral strong { color: #fff; }

/* Mac keys floating beside the Terminal */
.keycaps { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.keycap {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  font-size: 1.35rem; font-weight: 600; color: #fff; line-height: 1;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 12px 30px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: key-float 7s ease-in-out infinite;
}
.kc1 { top: -46px; left: 14px; }
.kc2 { top: -40px; right: 12%; width: 46px; height: 46px; animation-delay: -2.3s; animation-duration: 8s; }
.kc3 { bottom: -24px; right: -6px; animation-delay: -4.6s; animation-duration: 9s; }
@media (min-width: 1024px) { .keycap { width: 64px; height: 64px; border-radius: 17px; font-size: 1.7rem; } .kc1 { left: -58px; top: -14px; } .kc2 { width: 54px; height: 54px; } }
@keyframes key-float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
.terminal-wrap::before { opacity: .55; }

/* Community numbers; they count up once when scrolled into view */
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; margin-top: clamp(3rem, 2rem + 4vw, 5rem); padding-block: 32px clamp(3rem, 2rem + 3vw, 4.5rem); border-top: 1px solid rgba(255,255,255,.16); }
.hero-stats > div { display: flex; flex-direction: column-reverse; gap: 6px; }
.hero-stats dd { margin: 0; font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); line-height: 1; font-weight: 650; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; color: #fff; }
.hero-stats dt { font-size: .9375rem; line-height: 1.35; color: rgba(245,245,247,.66); max-width: 22ch; }
@media (min-width: 760px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }

/* Photo reel: two rows drifting in opposite directions; paused on hover */
.reel { display: grid; gap: 14px; padding-block: 0 clamp(3.5rem, 3rem + 3vw, 5.5rem); background: var(--night); overflow: hidden; }
.reel-row {
  overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.reel-row::-webkit-scrollbar { display: none; }
.reel.is-live .reel-row { overflow: hidden; }
.reel-track { display: flex; width: max-content; }
.reel.is-live .reel-track { animation: reel-left var(--dur, 90s) linear infinite; }
.reel.is-live .reel-row[data-reel="right"] .reel-track { animation-name: reel-right; }
.reel-row:hover .reel-track, .reel-row:focus-within .reel-track { animation-play-state: paused; }
@keyframes reel-left { to { transform: translateX(-50%); } }
@keyframes reel-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.reel-tile { position: relative; flex: none; margin: 0 14px 0 0; width: clamp(230px, 24vw, 330px); aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; background: #11151f; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.reel-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.reel-tile:hover img { transform: scale(1.07); }
.reel-tile figcaption { position: absolute; inset: auto 0 0; padding: 34px 14px 12px; font-size: .8125rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.72)); opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.reel-tile:hover figcaption { opacity: 1; transform: none; }
.hero + .reel { padding-top: 0; }

/* Photos reveal once as they scroll in, then lift and glow on hover */
.reveal { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .4s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.feature-row .photo.in:hover, .closing-photo.in:hover { transform: translateY(-5px); box-shadow: 0 28px 60px rgba(34,227,255,.16), 0 10px 28px rgba(143,107,255,.2); }

@media (prefers-reduced-motion: reduce) {
  .aurora i, .keycap { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .reel-tile img { transition: none; }
}
@media print { .aurora, .keycaps, .conf-fab, .join-fab, .site-header, .toast { display: none; } }

/* ---------- About hero: a kolam whose dots are Mac keycaps (always on the dark stage) ---------- */
.peers-art { max-width: 380px; margin: clamp(2rem, 1.5rem + 2vw, 3rem) auto 0; }
@media (min-width: 1024px) { .peers-art { max-width: 540px; margin: 0 0 0 auto; } }
.peers-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.pa-kolam { fill: none; stroke: #e0a030; stroke-width: 2.5; stroke-linecap: round; opacity: .9; }
.pa-kolam--inner circle { fill: none; stroke: inherit; }
.pa-kolam--inner { stroke-width: 1.5; opacity: .5; }
.pa-key rect { fill: url(#pa-cap); stroke: rgba(255,255,255,.26); stroke-width: 1.2; }
.pa-keys { filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)); }
.pa-glyph { fill: #fff; font-family: var(--font-sans); font-size: 30px; font-weight: 500; text-anchor: middle; dominant-baseline: central; }
.pa-glyph--sm { font-size: 22px; font-weight: 600; }
.pa-key--cmd rect { stroke: #e0a030; stroke-width: 1.6; }
.pa-key--cmd .pa-glyph { fill: url(#pa-ring); font-size: 36px; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .pa-kolam, .pa-kolam--inner circle { stroke-dasharray: 1; stroke-dashoffset: 1; animation: pa-draw 2.4s .3s cubic-bezier(.45,0,.2,1) forwards; }
  .pa-kolam--inner { animation: none; stroke-dasharray: none; }
  .pa-kolam--inner circle { animation-delay: 1.6s; animation-duration: 1.2s; }
}
@keyframes pa-draw { to { stroke-dashoffset: 0; } }

/* ---------- India: a greeting in Indian languages (home hero) and a tricolour line under every stage ---------- */
.greeting {
  min-height: 1.5em; margin-bottom: 6px; line-height: 1.5;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 600; letter-spacing: 0; color: #f2b84b;
}
.greeting span { display: inline-block; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.greeting span.is-out { opacity: 0; transform: translateY(-8px); }
.stage::after {   /* saffron, white, green: the colours only, never the flag or emblem */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #ff9933 0 33.33%, #ffffff 33.33% 66.66%, #138808 66.66% 100%);
}
