/* ETH Cali — site.css
   The one stylesheet for ethcali.org. Replaces style_ethcali / style_about /
   style_events / events-components / hackathon / navbar / shared-components.

   Rules it enforces, from branding_repo/CLAUDE.md:
     dark only · one accent (ultramarine) · Sarun for human text, JetBrains Mono
     for chain data · hairline borders, no drop shadows · 48px taps · no emoji.
   Every value comes from tokens.css. Do not introduce a raw hex here. */

@import url("tokens.css");

/* ── reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--surface-void);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-weight: 300;              /* Book — body default per BRAND.md */
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ── type scale ───────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--text-primary);
  line-height: 1.1;
  text-wrap: balance;
}
/* Headlines are Black 900 at -0.03em, per BRAND.md. */
h1 { font-weight: 900; letter-spacing: -0.03em; font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-weight: 900; letter-spacing: -0.03em; font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-weight: 700; letter-spacing: -0.02em; font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-weight: 700; letter-spacing: -0.01em; font-size: 1.05rem; }

p { text-wrap: pretty; }
strong, b { font-weight: 500; color: var(--text-primary); }

a { color: var(--eth-blue-text); text-decoration: none; transition: color var(--t-base) var(--ease); }
a:hover { color: var(--text-primary); }

/* Anything a chain produced: addresses, hashes, amounts, chain names, labels.
   The split from Sarun is absolute — it is how the page separates editorial
   from fact. Never mono for body copy, never sans for an address. */
.mono, code, kbd, samp, .address, .amount, .chain-name {
  font-family: var(--font-mono);
  font-variant-ligatures: none;
}
.address { color: var(--eth-blue-text); font-size: 0.875em; }

/* Small uppercase mono label — the only place UPPERCASE is allowed, and only
   under three words (BRAND.md voice). */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eth-blue-text);
}

.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-secondary); max-width: 62ch; }
.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }

/* Never below 16px, never translated. */
.tagline { font-size: max(16px, 1rem); font-style: italic; color: var(--text-muted); }

/* ── layout ───────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(56px, 9vw, 104px); }
.section-header { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 56px); }
.section-header .eyebrow { display: block; margin-bottom: 12px; }
.section-header p { margin-top: 14px; color: var(--text-muted); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ── focus, for every interactive thing ───────────────────────────────────── */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: none;
  border-color: var(--line-brand);
  box-shadow: 0 0 0 3px var(--eth-blue-ring);
  border-radius: var(--radius-chip);
}

/* ── buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--tap-min);
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-family: var(--font-sans); font-weight: 700; font-size: 15px; line-height: 1;
  cursor: pointer;
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
              color var(--t-base) var(--ease);
}
.btn-primary { background: var(--eth-blue); color: var(--on-brand); }
.btn-primary:hover { background: var(--eth-blue-lift); color: var(--on-brand); }
.btn-primary:active { background: var(--eth-blue-deep); }
.btn-secondary { background: transparent; border-color: var(--line-strong); color: var(--text-primary); }
.btn-secondary:hover { border-color: var(--line-brand); color: var(--eth-blue-text); }
.btn[disabled], .btn[aria-disabled="true"] {
  background: var(--surface-ridge); color: var(--text-faint);
  border-color: transparent; cursor: not-allowed;
}

/* ── cards ────────────────────────────────────────────────────────────────── */
/* Separation is surface + hairline. No drop shadows anywhere. */
.card {
  background: var(--surface-slab);
  border: 1px solid var(--line-hairline);
  border-radius: var(--radius-card);
  padding: clamp(20px, 3vw, 32px);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); }

a.card, .card-interactive {
  display: block; color: inherit;
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
a.card:hover, .card-interactive:hover { border-color: var(--line-brand); transform: translateY(-2px); }
a.card:hover h3 { color: var(--eth-blue-text); }

/* The only glow the brand allows: ultramarine, and only on an emphasis card. */
.card-emphasis { border-color: var(--line-brand); box-shadow: 0 0 32px rgba(43, 35, 239, 0.20); }

/* ── chips & pills ────────────────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-full);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono); font-size: 13px; color: var(--text-secondary);
}
.chip img, .chip svg { width: 18px; height: 18px; }
.label {
  display: inline-block; padding: 3px 8px; border-radius: var(--radius-chip);
  background: var(--surface-inset);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
}

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: var(--radius-full);
  font-family: var(--font-sans); font-size: 12px; font-weight: 700;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: var(--radius-full); background: currentColor; }
.pill-confirmed { background: rgba(0,214,143,.10); border: 1px solid rgba(0,214,143,.30); color: var(--signal-confirmed); }
.pill-pending   { background: rgba(255,176,32,.10); border: 1px solid rgba(255,176,32,.30); color: var(--signal-pending); }
.pill-reverted  { background: rgba(255,77,77,.10);  border: 1px solid rgba(255,77,77,.30);  color: var(--signal-reverted); }

/* ── nav ──────────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: var(--nav-h);
  padding-inline: var(--gutter);
  background: rgba(6, 6, 11, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-hairline);
}
.navbar-brand .logo-img { height: 32px; width: auto; }  /* brand minimum on screen */

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border: 1px solid transparent; border-radius: var(--radius-chip);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); white-space: nowrap;
  transition: color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,.04); }
.nav-link.active {
  background: var(--eth-blue-wash); color: var(--eth-blue-text); border-color: var(--line-brand);
}

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 110;
  min-width: 240px; padding: 8px;
  background: var(--surface-slab);
  border: 1px solid var(--line-hairline); border-radius: var(--radius-control);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
}
.nav-dropdown:hover .dropdown-menu, .dropdown-menu.show, .nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-item {
  display: flex; align-items: center; min-height: var(--tap-min);
  padding: 0 12px; border-radius: var(--radius-chip);
  font-size: 14px; color: var(--text-secondary);
}
.dropdown-item:hover { background: var(--eth-blue-wash); color: var(--text-primary); }

.navbar-actions { display: flex; align-items: center; gap: 12px; }
.wallet-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 18px;
  background: var(--eth-blue); color: var(--on-brand);
  border-radius: var(--radius-control);
  font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: background var(--t-base) var(--ease);
}
.wallet-btn:hover { background: var(--eth-blue-lift); color: var(--on-brand); }
.wallet-btn .icon { width: 15px; height: 15px; }

.mobile-menu-toggle {
  display: none;
  width: var(--tap-min); height: var(--tap-min);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer;
}
.mobile-menu-toggle span {
  display: block; width: 20px; height: 1.5px; background: var(--text-primary);
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .mobile-menu-toggle { display: flex; }
  .wallet-btn span { display: none; }
  .wallet-btn { padding: 0 12px; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px;
    background: var(--surface-void);
    border-bottom: 1px solid var(--line-hairline);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    display: none;
  }
  .nav-links.mobile-active { display: flex; }
  .nav-link { min-height: var(--tap-min); font-size: 12px; }
  .nav-dropdown { position: static; }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: none; border: none; padding: 0 0 0 12px; min-width: 0;
  }
}

/* ── footer ───────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line-hairline); padding-block: clamp(48px, 6vw, 72px) 32px; }
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: minmax(240px, 1.6fr) repeat(auto-fit, minmax(140px, 1fr));
}
.footer-logo-img { height: 68px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); max-width: 34ch; }
.footer-links-group h3 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 14px;
}
.footer-links li + li { margin-top: 2px; }
.footer-links a {
  display: inline-flex; align-items: center; min-height: 34px;
  font-size: 14px; color: var(--text-muted);
}
.footer-links a:hover { color: var(--eth-blue-text); }

/* Seven marks. A flex wrap left a lone icon on its own row at the footer column
   width, so the grid is explicit: 4 across, wrapping 4 + 3. */
.social-icons { display: grid; grid-template-columns: repeat(4, var(--tap-min)); gap: 6px; margin-top: 20px; }
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--tap-min); height: var(--tap-min);
  border: 1px solid var(--line-hairline); border-radius: var(--radius-chip);
  color: var(--text-muted);
  transition: border-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.social-icons a:hover { border-color: var(--line-brand); color: var(--eth-blue-text); }
.social-icons svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--line-hairline);
}
.footer-bottom p { font-size: 13px; color: var(--text-faint); }
.partner-logo { height: 32px; width: auto; opacity: .6; }

/* ── empty state ──────────────────────────────────────────────────────────── */
.empty-state {
  border: 1px dashed var(--line-strong); border-radius: var(--radius-card);
  padding: 48px 24px; text-align: center; color: var(--text-muted);
}
.empty-state strong { display: block; margin-bottom: 6px; color: var(--text-primary); font-weight: 500; }

/* ── loading ──────────────────────────────────────────────────────────────── */
.spinner {
  width: 20px; height: 20px; border-radius: var(--radius-full);
  border: 2px solid var(--line-strong); border-top-color: transparent;
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── utilities ────────────────────────────────────────────────────────────── */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.stack > * + * { margin-top: 16px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.center { text-align: center; margin-inline: auto; }

/* ═══════════════════════════════════════════════════════════════════════════
   HOME (ethcali.html)
   ═══════════════════════════════════════════════════════════════════════════ */

.hero { padding-block: clamp(64px, 11vw, 132px) clamp(48px, 8vw, 96px); position: relative; overflow: hidden; }
.hero .container { display: grid; gap: clamp(32px, 6vw, 72px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .hero .container { grid-template-columns: 1.15fr 0.85fr; } }

.hero h1 { margin-bottom: 4px; }
/* The second line is the same sentence, not a heading of its own — same size,
   dropped to the data blue so the pair reads as one statement. */
.hero-subtitle {
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.1;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  color: var(--eth-blue-text);
}
.hero-description { margin-top: 22px; font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-cta-group { position: relative; }
.hero-cta-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 20;
  min-width: 100%; padding: 8px;
  background: var(--surface-slab);
  border: 1px solid var(--line-hairline); border-radius: var(--radius-control);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
}
.hero-cta-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.hero-cta-expanded {
  display: flex; align-items: center; gap: 10px;
  min-height: var(--tap-min); padding: 0 14px;
  border-radius: var(--radius-chip); font-size: 14px; color: var(--text-secondary);
}
.hero-cta-expanded:hover { background: var(--eth-blue-wash); color: var(--text-primary); }
.hero-cta-expanded svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn .chevron { transition: transform var(--t-base) var(--ease); }
.btn[aria-expanded="true"] .chevron { transform: rotate(180deg); }

/* The mark, drawn large. The only radial glow the brand allows: ultramarine,
   capped at 16% alpha. */
.hero-visual { display: grid; place-items: center; position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: -10%;
  background: radial-gradient(circle, rgba(43, 35, 239, 0.16), transparent 68%);
  pointer-events: none;
}
.hero-visual img { position: relative; width: min(340px, 74%); }

/* ── metrics ──────────────────────────────────────────────────────────────── */
/* Eight metrics. auto-fit left an orphan row of two at desktop widths, so the
   column count is explicit: 2 → 4, which divides eight evenly at every step. */
.metrics-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px)  { .metrics-grid { grid-template-columns: repeat(4, 1fr); } }
.metric-card {
  background: var(--surface-slab);
  border: 1px solid var(--line-hairline); border-radius: var(--radius-card);
  padding: 24px 20px; text-align: center;
}
/* A number the chain or the ledger produced — mono, per the type split. */
.metric-number {
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1;
  color: var(--text-primary); font-variant-numeric: tabular-nums;
}
.metric-label { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--text-muted); }
.metrics-cta-wrap { margin-bottom: 24px; }

/* ── cohost marquee ───────────────────────────────────────────────────────── */
.hosts-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hosts-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 32s linear infinite; }
.hosts-marquee:hover .hosts-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.host-item img { height: 30px; width: auto; opacity: .62; transition: opacity var(--t-base) var(--ease); }
.host-item img:hover { opacity: 1; }
.host-item.host-soon { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); white-space: nowrap; }

/* ── mission ──────────────────────────────────────────────────────────────── */
.mission-vision-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.mission-list { margin-top: 18px; }
.mission-list li { padding-left: 18px; position: relative; margin-top: 12px; color: var(--text-muted); }
.mission-list li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--eth-blue);
}

/* ── logo card grids: chains, universities, institutions ──────────────────── */
.logo-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }
.logo-card {
  background: var(--surface-slab);
  border: 1px solid var(--line-hairline); border-radius: var(--radius-card);
  padding: 26px 22px;
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.logo-card:hover { border-color: var(--line-brand); transform: translateY(-2px); }
.logo-card .logo-plate {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 16px;
  background: var(--surface-inset);
  border-radius: var(--radius-control);
}
.logo-card .logo-plate img { max-width: 30px; max-height: 30px; object-fit: contain; }
.logo-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
/* A chain's name is a fact the network owns, not editorial copy. */
.logo-card .chain-name { font-size: 1.02rem; font-weight: 500; color: var(--text-primary); margin-bottom: 6px; }
.logo-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ── location ─────────────────────────────────────────────────────────────── */
.location-content { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.location-logo img { height: 44px; width: auto; margin-bottom: 18px; }
.location-details { margin: 22px 0; }
.detail-item { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; font-size: 14px; color: var(--text-muted); }
.detail-item svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--eth-blue-text); }
.map-container { border: 1px solid var(--line-hairline); border-radius: var(--radius-card); overflow: hidden; }
.map-container iframe { display: block; border: 0; width: 100%; height: 300px; filter: grayscale(1) invert(.92) hue-rotate(180deg); }
.zonamerica-info { margin-top: 16px; }
.zonamerica-info ul { margin-top: 12px; }
.zonamerica-info li { padding-left: 18px; position: relative; margin-top: 9px; font-size: 14px; color: var(--text-muted); }
.zonamerica-info li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--eth-blue);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT (about.html)
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 28px; margin-top: 36px; max-width: 480px; }
@media (min-width: 620px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.stat-number {
  display: block;
  font-family: var(--font-mono); font-weight: 700; font-size: 1.9rem; line-height: 1;
  color: var(--text-primary); font-variant-numeric: tabular-nums;
}
.stat-label { display: block; margin-top: 6px; font-size: 12px; line-height: 1.35; color: var(--text-muted); }

.team-group + .team-group { margin-top: 44px; }
.team-group > .eyebrow { display: block; margin-bottom: 18px; }
.team-grid-inner { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }

.team-card {
  background: var(--surface-slab);
  border: 1px solid var(--line-hairline); border-radius: var(--radius-card);
  padding: 24px 20px;
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.team-card:hover { border-color: var(--line-brand); transform: translateY(-2px); }

/* The initial sits behind the photo and shows through if the <img> is removed by
   its own onerror — no placeholder toggling, no layout shift. */
.team-avatar {
  position: relative; display: grid; place-items: center;
  width: 68px; height: 68px; margin-bottom: 16px;
  border-radius: var(--radius-full); overflow: hidden;
  background: var(--surface-inset);
}
.team-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-initial { font-family: var(--font-mono); font-size: 24px; color: var(--text-faint); }

.team-card h3 { font-size: 1rem; font-weight: 500; margin-bottom: 6px; }
.team-role { font-size: 13px; color: var(--text-muted); line-height: 1.45; }
.team-since {
  margin-top: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-faint);
}
.team-socials { display: flex; gap: 4px; margin-top: 14px; }
.team-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: var(--radius-chip);
  color: var(--text-faint);
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.team-socials a:hover { background: var(--eth-blue-wash); color: var(--eth-blue-text); }
.team-socials svg { width: 16px; height: 16px; }

/* ═══════════════════════════════════════════════════════════════════════════
   SHARED PAGE PIECES (education, swag, dao, venues, hackathons)
   ═══════════════════════════════════════════════════════════════════════════ */

/* A hero with no visual beside it — inner pages that lead with copy alone. */
.hero-compact { padding-block: clamp(56px, 8vw, 96px) clamp(24px, 4vw, 40px); }
.hero-compact .container { grid-template-columns: 1fr; }
.hero-compact .eyebrow { display: block; margin-bottom: 14px; }
.hero-compact h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }

/* Card that is itself a link out. The CTA sits at the bottom in the data blue. */
.card-cta {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 16px;
  font-family: var(--font-sans); font-weight: 500; font-size: 14px;
  color: var(--eth-blue-text);
}
a.card:hover .card-cta { color: var(--text-primary); }

.link-list li { margin-top: 4px; }
.link-list a { display: inline-flex; align-items: center; min-height: 36px; font-size: 15px; }

/* ── swag ─────────────────────────────────────────────────────────────────── */
.swag-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.swag-card {
  background: var(--surface-slab);
  border: 1px solid var(--line-hairline); border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.swag-card:hover { border-color: var(--line-brand); transform: translateY(-2px); }
.swag-photo { aspect-ratio: 4 / 3; background: var(--surface-inset); }
.swag-photo img { width: 100%; height: 100%; object-fit: cover; }
.swag-body { padding: 22px; }
.swag-body h3 { font-size: 1.02rem; margin-bottom: 8px; }
.swag-body p { font-size: 14px; color: var(--text-muted); }

/* A step index, not a quantity — mono, in the brand wash. */
.step-number {
  display: grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: 16px;
  background: var(--eth-blue-wash); border: 1px solid var(--line-brand);
  border-radius: var(--radius-full);
  font-family: var(--font-mono); font-size: 14px; font-weight: 500;
  color: var(--eth-blue-text);
}

/* ── address rows ─────────────────────────────────────────────────────────────
   Used on the DAO and technical-infra pages. An address is never a bare string:
   it is mono, in the data blue, truncated with a real ellipsis (U+2026), and it
   links to that chain's explorer. */
.addr-row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px;
  margin-top: 10px;
}
.addr-row .addr-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-faint);
}
a.address {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--radius-chip);
  background: var(--surface-inset);
  font-size: 13px; color: var(--eth-blue-text);
  transition: background var(--t-base) var(--ease);
}
a.address:hover { background: var(--eth-blue-wash); color: var(--text-primary); }
a.address svg { width: 12px; height: 12px; opacity: .6; }
/* A deprecated address is still a fact, so it keeps mono — it just recedes. */
a.address.is-legacy { color: var(--text-muted); }

/* Small chain strip: which networks a thing is deployed on. */
.chain-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.chain-strip .chip { padding: 5px 12px; font-size: 12px; }
.chain-strip .chip img { width: 16px; height: 16px; border-radius: var(--radius-full); }

.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.card-head img { width: 24px; height: 24px; border-radius: var(--radius-full); object-fit: contain; }
.card-head h3 { margin: 0; font-size: 1.02rem; }
.card-head .pill { margin-left: auto; }

/* ═══════════════════════════════════════════════════════════════════════════
   EVENTS (events_locales.html, events_internationals.html)
   ═══════════════════════════════════════════════════════════════════════════ */

.events-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

.event-card {
  display: flex; flex-direction: column;
  background: var(--surface-slab);
  border: 1px solid var(--line-hairline); border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.event-card:hover { border-color: var(--line-brand); transform: translateY(-2px); }
.event-photo { aspect-ratio: 16 / 9; background: var(--surface-inset); }
.event-photo img { width: 100%; height: 100%; object-fit: cover; }
.event-card-body { display: flex; flex-direction: column; padding: 22px; flex: 1; }
.event-card-body > .eyebrow { display: block; margin-bottom: 8px; }
.event-card-body h3 { font-size: 1.06rem; margin-bottom: 14px; }
/* The CTA sits on the bottom edge so cards of different heights line up. */
.event-card-body > .card-cta { margin-top: auto; padding-top: 16px; }

/* A date, a headcount, a venue — facts, so mono. */
.event-meta {
  display: flex; align-items: flex-start; gap: 9px;
  margin-top: 7px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted);
}
.event-meta svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; color: var(--text-faint); }
.event-meta a { color: var(--eth-blue-text); }

/* <details> rather than a JS class toggle: keyboard and screen readers get the
   open/closed state for free, and the old inline onclick is gone. */
.event-details { margin-top: 16px; border-top: 1px solid var(--line-hairline); padding-top: 14px; }
.event-details summary {
  display: flex; align-items: center; gap: 7px;
  min-height: 36px; cursor: pointer; list-style: none;
  font-size: 14px; color: var(--eth-blue-text);
}
.event-details summary::-webkit-details-marker { display: none; }
.event-details summary svg { width: 14px; height: 14px; transition: transform var(--t-base) var(--ease); }
.event-details[open] summary svg { transform: rotate(180deg); }
.details-grid { display: grid; gap: 12px; margin-top: 14px; }
.detail-item { display: flex; flex-direction: column; gap: 5px; font-size: 14px; }
.detail-item a { display: inline-flex; align-items: center; gap: 6px; }
.detail-item svg { width: 12px; height: 12px; }

/* Filter chips. Only one in a group is active at a time. */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.month-btn, .year-btn, .event-type-btn {
  min-height: 40px; padding: 0 16px;
  background: transparent;
  border: 1px solid var(--line-strong); border-radius: var(--radius-full);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
  color: var(--text-muted); cursor: pointer;
  transition: border-color var(--t-base) var(--ease), color var(--t-base) var(--ease),
              background var(--t-base) var(--ease);
}
.month-btn:hover, .year-btn:hover, .event-type-btn:hover { border-color: var(--line-brand); color: var(--text-primary); }
.month-btn.active, .year-btn.active, .event-type-btn.active {
  background: var(--eth-blue-wash); border-color: var(--line-brand); color: var(--eth-blue-text);
}

/* ── venues ───────────────────────────────────────────────────────────────── */
/* Stat cards double as filters, so they are <button>s that must not look like
   buttons — reset the UA chrome and keep the metric-card face. */
.stat-card { display: block; width: 100%; border: 1px solid var(--line-hairline); cursor: pointer; text-align: center;
             transition: border-color var(--t-base) var(--ease); }
.stat-card:hover { border-color: var(--line-brand); }
.stat-card.active { background: var(--eth-blue-wash); border-color: var(--line-brand); }
.venue-card[hidden] { display: none; }
.venue-card .card-head { align-items: flex-start; }

/* ── equipment inventory (technical-infra) ────────────────────────────────── */
.equipment-list { margin-top: 18px; }
.equipment-item {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 10px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line-hairline);
}
.equipment-item h4 { font-size: 15px; font-weight: 500; }
/* Make, model and where it came from — a spec, so mono. */
.item-brand { margin-top: 3px; font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }

/* ── hackathon fact cards ─────────────────────────────────────────────────── */
.fact-value {
  margin-top: 6px;
  font-family: var(--font-mono); font-size: 1.35rem; font-weight: 500;
  color: var(--text-primary);
}
.fact-note { margin-top: 4px; font-size: 13px; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════════════════
   BRAND GUIDELINES (brand_guidelines.html)
   The page is its own specimen — it must use the tokens, not describe them.
   ═══════════════════════════════════════════════════════════════════════════ */

.mark-card { display: grid; place-items: start; }
.mark-card img { max-height: 120px; width: auto; margin-bottom: 18px; }

.swatch-list { margin-top: 18px; }
.swatch { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-hairline); }
.swatch-chip {
  flex-shrink: 0; width: 42px; height: 42px;
  border-radius: var(--radius-chip); border: 1px solid var(--line-hairline);
}
.swatch-token { font-size: 12.5px; color: var(--text-primary); }
.swatch-use { margin-top: 3px; font-size: 13px; color: var(--text-muted); }

.specimen { padding: 18px 0; border-top: 1px solid var(--line-hairline); }
.specimen:first-child { border-top: none; padding-top: 0; }
.specimen p { margin-top: 8px; font-size: clamp(1.1rem, 2.2vw, 1.6rem); color: var(--text-primary); letter-spacing: -0.02em; }

.voice-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.voice-table th {
  padding: 0 16px 12px 0; text-align: left;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-faint); font-weight: 500;
}
.voice-table td { padding: 12px 16px 12px 0; border-top: 1px solid var(--line-hairline); vertical-align: top; }
.voice-good { color: var(--text-primary); }
/* The wrong column is dimmed, not struck through — it still has to be readable. */
.voice-bad { color: var(--text-faint); }
