/* ============ Design tokens ============ */
:root {
  --paper: #f3efe6;
  --paper-alt: #eae4d5;
  --card: #f9f7f1;
  --ink: #16181d;
  --ink-soft: #4b4f58;
  --ink-faint: #83808f;
  --line: rgba(22, 24, 29, 0.16);
  --line-strong: #16181d;

  --navy: #1c2b4a;
  --amber: #d9861d;
  --amber-deep: #a8620f;
  --teal: #0d6e63;
  --teal-deep: #094f47;
  --rust: #af3f22;

  /* Fixed "band" colors: header, hero, footer, splash, primary button.
     These stay constant across light/dark theme — never redefined below. */
  --band-ink: #16181d;
  --band-paper: #f3efe6;

  --radius: 3px;
  --radius-lg: 4px;

  --shadow-hard: 5px 5px 0 var(--line-strong);
  --shadow-hard-sm: 3px 3px 0 var(--line-strong);

  --font-display: 'JetBrains Mono', 'Courier New', monospace;
  --font-body: 'Public Sans', 'Segoe UI', sans-serif;

  --header-h: 80px;
}

html[data-theme="dark"] {
  --paper: #131419;
  --paper-alt: #1a1c22;
  --card: #17181e;
  --ink: #f1ede2;
  --ink-soft: #b8b4a8;
  --ink-faint: #83808f;
  --line: rgba(241, 237, 226, 0.18);
  --line-strong: #f1ede2;
  --shadow-hard: 5px 5px 0 rgba(241, 237, 226, 0.3);
  --shadow-hard-sm: 3px 3px 0 rgba(241, 237, 226, 0.3);
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(135deg, transparent, transparent 42px, rgba(22, 24, 29, 0.18) 42px, rgba(22, 24, 29, 0.18) 43.5px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-attachment: fixed, fixed;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.35s ease, color 0.35s ease;
}
html[data-theme="dark"] body {
  background-image:
    repeating-linear-gradient(135deg, transparent, transparent 42px, rgba(241, 237, 226, 0.16) 42px, rgba(241, 237, 226, 0.16) 43.5px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; transition: color 0.35s ease; }
p { margin: 0; line-height: 1.65; color: var(--ink-soft); transition: color 0.35s ease; }
ul { list-style: none; margin: 0; padding: 0; }

.mono { font-family: var(--font-display); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--band-ink);
  color: var(--band-paper);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  font-family: var(--font-display);
}
.skip-link:focus { left: 0; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ============ Scroll reveal (staggered, one-after-another) ============ */
.reveal {
  transition: opacity 0.55s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1);
}
body.reveal-armed .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(20px);
}
/* Stagger children within their own reveal group */
.sec-head__index.reveal { transition-delay: 0ms; }
.sec-head__copy.reveal { transition-delay: 90ms; }

.bento-cell.reveal:nth-child(1) { transition-delay: 0ms; }
.bento-cell.reveal:nth-child(2) { transition-delay: 90ms; }
.bento-cell.reveal:nth-child(3) { transition-delay: 180ms; }

.person-row.reveal:nth-child(1) { transition-delay: 0ms; }
.person-row.reveal:nth-child(2) { transition-delay: 100ms; }
.person-row.reveal:nth-child(3) { transition-delay: 200ms; }

.index-item.reveal:nth-child(1) { transition-delay: 0ms; }
.index-item.reveal:nth-child(2) { transition-delay: 90ms; }
.index-item.reveal:nth-child(3) { transition-delay: 180ms; }
.index-item.reveal:nth-child(4) { transition-delay: 270ms; }

.res-row.reveal:nth-child(1) { transition-delay: 0ms; }
.res-row.reveal:nth-child(2) { transition-delay: 40ms; }
.res-row.reveal:nth-child(3) { transition-delay: 80ms; }
.res-row.reveal:nth-child(4) { transition-delay: 120ms; }
.res-row.reveal:nth-child(5) { transition-delay: 160ms; }
.res-row.reveal:nth-child(6) { transition-delay: 200ms; }
.res-row.reveal:nth-child(7) { transition-delay: 240ms; }
.res-row.reveal:nth-child(8) { transition-delay: 280ms; }
.res-row.reveal:nth-child(9) { transition-delay: 320ms; }
.res-row.reveal:nth-child(10) { transition-delay: 360ms; }

.contact-quote-block.reveal { transition-delay: 0ms; }
.contact-panel.reveal { transition-delay: 120ms; }

@media (prefers-reduced-motion: reduce) {
  body.reveal-armed .reveal:not(.is-visible) { opacity: 1; transform: none; }
}

/* ============ Section header (shared, left-aligned) ============ */
.sec-head {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  align-items: end;
  padding-bottom: 1.75rem;
  margin-bottom: 3rem;
  border-bottom: 2px solid var(--line-strong);
}
.sec-head__index {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.sec-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--line);
  line-height: 1;
}
.sec-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.sec-head__copy h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  margin-bottom: 0.6rem;
}
.sec-head__copy p { font-size: 1.05rem; max-width: 640px; }

@media (max-width: 640px) {
  .sec-head { grid-template-columns: 1fr; gap: 0.75rem; }
  .sec-num { font-size: 1.6rem; }
}

/* ============ Header / Nav ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--band-ink);
  border-bottom: 2px solid var(--band-ink);
}
html[data-theme="dark"] .site-header { background: #0b0c10; }

.navbar {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.75rem;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  grid-column: 2;
  justify-self: center;
  gap: 0.75rem;
  color: var(--band-paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
}
.brand-logo { width: 54px; height: 54px; object-fit: contain; }

.nav-group { display: flex; align-items: center; min-width: 0; }
.nav-group ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-left { grid-column: 1; justify-content: space-between; padding-right: 1rem; }
.nav-right { grid-column: 3; justify-content: flex-end; gap: 0.4rem; }
.nav-right ul { flex: 1; justify-content: space-between; padding-left: 1rem; }

.nav-menu { display: none; }

.nav-link {
  display: inline-block;
  color: rgba(243, 239, 230, 0.7);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-link:hover { color: var(--band-paper); background: rgba(243, 239, 230, 0.1); }
.nav-link.active { color: var(--band-ink); background: var(--amber); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 0.4rem 0.4rem 0.75rem !important;
  border: 1.5px solid var(--band-paper);
  border-radius: var(--radius);
  color: var(--band-paper) !important;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.nav-cta:hover, .nav-cta.active { background: var(--band-paper); color: var(--band-ink) !important; }
.nav-cta .btn-text { padding: 0; }
.nav-cta .btn-arrow {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber);
  border-radius: 2px;
  color: var(--band-ink);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-cta .btn-arrow .icon { width: 12px; height: 12px; stroke-width: 2.6; }
.nav-cta:hover .btn-arrow { transform: translateX(2px); }
.nav-cta:active { transform: scale(0.97); }

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(243, 239, 230, 0.4);
  background: transparent;
  color: var(--band-paper);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-toggle:hover { background: rgba(243, 239, 230, 0.12); border-color: var(--band-paper); transform: rotate(25deg); }
.theme-toggle:active { transform: scale(0.9); }
.theme-toggle .icon { width: 15px; height: 15px; stroke-width: 2; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1.5px solid rgba(243, 239, 230, 0.4);
  border-radius: var(--radius);
  cursor: pointer;
}
.menu-toggle:hover { background: rgba(243, 239, 230, 0.1); }
.menu-toggle .bar { width: 18px; height: 2px; background: var(--band-paper); margin: 0 auto; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open .bar:nth-child(2) { opacity: 0; }
.menu-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Icons ============ */
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============ Buttons ============ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  border: 2px solid var(--band-ink);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--band-ink);
  box-shadow: 5px 5px 0 var(--band-ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-text {
  padding: 0.85rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--band-paper);
}
.btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  border-left: 2px solid var(--band-paper);
  background: var(--amber);
  color: var(--band-ink);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-arrow .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--band-ink); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--band-ink); }

/* ============ Sections ============ */
.section { padding: 6rem 0; scroll-margin-top: var(--header-h); }
.section-tight { padding: 3.5rem 0; }
.section-alt {
  background-color: var(--paper-alt);
  background-image:
    repeating-linear-gradient(135deg, transparent, transparent 42px, rgba(22, 24, 29, 0.18) 42px, rgba(22, 24, 29, 0.18) 43.5px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html[data-theme="dark"] .section-alt {
  background-image:
    repeating-linear-gradient(135deg, transparent, transparent 42px, rgba(241, 237, 226, 0.16) 42px, rgba(241, 237, 226, 0.16) 43.5px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ Hero ============ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--header-h);
  background: var(--band-ink);
  color: var(--band-paper);
  overflow: hidden;
  border-bottom: 2px solid var(--band-ink);
}
html[data-theme="dark"] .hero { background: #0b0c10; }

.crosshair { position: absolute; width: 16px; height: 16px; z-index: 1; opacity: 0.5; pointer-events: none; }
.crosshair::before, .crosshair::after { content: ''; position: absolute; background: rgba(243, 239, 230, 0.5); }
.crosshair::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.crosshair::after { left: 50%; top: 0; height: 100%; width: 1px; transform: translateX(-50%); }
.cross-tl { top: 20px; left: 20px; }
.cross-tr { top: 20px; right: 20px; }

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  align-items: stretch;
  align-content: center;
}
.hero-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 1.75rem 3.5rem;
  border-right: 2px solid rgba(243, 239, 230, 0.2);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  color: var(--amber);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--amber); }
.hero h1 {
  color: var(--band-paper);
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 14ch;
}
.hero h1 span { color: var(--amber); }
.hero-tagline {
  color: rgba(243, 239, 230, 0.82);
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: 0.9rem;
}
.hero-sub { color: rgba(243, 239, 230, 0.55); font-size: 0.98rem; margin-bottom: 2.25rem; }

.hero-side {
  padding: 3rem 1.75rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: repeating-linear-gradient(135deg, transparent, transparent 10px, rgba(243, 239, 230, 0.17) 10px, rgba(243, 239, 230, 0.17) 11.5px);
}
.hero-side-icon { color: var(--amber); margin-bottom: 1.5rem; }
.hero-side-icon .icon { width: 56px; height: 56px; stroke-width: 1.1; }
.hero-stat { border-top: 1px solid rgba(243, 239, 230, 0.2); padding: 0.85rem 0; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.hero-stat:last-child { border-bottom: 1px solid rgba(243, 239, 230, 0.2); }
.hero-stat-label { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(243, 239, 230, 0.55); }
.hero-stat-value { font-family: var(--font-display); font-size: 0.92rem; color: var(--band-paper); font-weight: 600; text-align: right; }

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.75rem;
  border-top: 2px solid rgba(243, 239, 230, 0.2);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, 0.5);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.icon-sm { width: 13px; height: 13px; }
.icon-down { transform: rotate(90deg); }

/* Staggered load-in, released when the splash dismisses (see main.js) */
.hero-eyebrow, .hero-main h1, .hero-tagline, .hero-sub, .hero-main .btn,
.hero-side-icon, .hero-stat, .hero-meta {
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.hero.hero-pending .hero-eyebrow,
.hero.hero-pending .hero-main h1,
.hero.hero-pending .hero-tagline,
.hero.hero-pending .hero-sub,
.hero.hero-pending .hero-main .btn,
.hero.hero-pending .hero-side-icon,
.hero.hero-pending .hero-stat,
.hero.hero-pending .hero-meta {
  opacity: 0;
  transform: translateY(16px);
}
.hero.hero-pending .hero-eyebrow { transition-delay: 0.05s; }
.hero.hero-pending .hero-main h1 { transition-delay: 0.15s; }
.hero.hero-pending .hero-tagline { transition-delay: 0.32s; }
.hero.hero-pending .hero-sub { transition-delay: 0.42s; }
.hero.hero-pending .hero-main .btn { transition-delay: 0.52s; }
.hero.hero-pending .hero-side-icon { transition-delay: 0.24s; }
.hero.hero-pending .hero-stat:nth-of-type(1) { transition-delay: 0.42s; }
.hero.hero-pending .hero-stat:nth-of-type(2) { transition-delay: 0.5s; }
.hero.hero-pending .hero-stat:nth-of-type(3) { transition-delay: 0.58s; }
.hero.hero-pending .hero-stat:nth-of-type(4) { transition-delay: 0.66s; }
.hero.hero-pending .hero-meta { transition-delay: 0.78s; }
@media (prefers-reduced-motion: reduce) {
  .hero.hero-pending * { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { border-right: none; border-bottom: 2px solid rgba(243, 239, 230, 0.2); }
  .hero h1 { max-width: none; }
}
@media (max-width: 560px) {
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* ============ About: bento ============ */
.bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}
.bento-cell {
  border: 2px solid var(--line-strong);
  background: var(--card);
  padding: 2rem;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease,
    background-color 0.35s ease, border-color 0.35s ease;
}
.bento-cell:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--line-strong); }
.bento-mission { grid-column: 1; grid-row: 1 / 3; display: flex; flex-direction: column; }
.bento-mission .bento-num { margin-bottom: auto; }
.bento-do { grid-column: 2; grid-row: 1; }
.bento-join { grid-column: 2; grid-row: 2; }
.bento-num { font-family: var(--font-display); font-size: 0.75rem; color: var(--ink-faint); letter-spacing: 0.08em; margin-bottom: 1.25rem; }
.bento-cell h3 { font-size: 1.3rem; margin-bottom: 0.85rem; }
.bento-mission h3 { font-size: 1.6rem; margin-top: 1rem; }
.bento-mission p { font-size: 1.05rem; }
.bento-founder-note {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--line);
  font-size: 0.92rem;
  color: var(--ink-faint);
}

@media (max-width: 800px) {
  .bento { grid-template-columns: 1fr; grid-template-rows: auto; }
  .bento-mission, .bento-do, .bento-join { grid-column: 1; grid-row: auto; }
}

/* ============ Leadership ============ */
.leadership-split {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 2.5rem;
}
.leadership-note h3 { font-size: 1.5rem; line-height: 1.2; margin-bottom: 1rem; }
.leadership-note p { font-size: 1.02rem; }
.people-list { border-top: 2px solid var(--line-strong); }
.person-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 2px solid var(--line-strong);
  transition: padding-left 0.2s ease;
}
.person-row:hover { padding-left: 0.5rem; }
.person-row:hover .person-index { color: var(--amber-deep); }
.person-index { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink-faint); transition: color 0.2s ease; }
.person-row h4 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.person-role { font-size: 0.9rem; color: var(--ink-faint); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; }
.person-email { font-family: var(--font-display); font-size: 0.85rem; color: var(--teal); white-space: nowrap; }
.person-email:hover { text-decoration: underline; }

@media (max-width: 800px) {
  .leadership-split { grid-template-columns: 1fr; }
  .person-row { grid-template-columns: 40px 1fr; }
  .person-email { grid-column: 2; }
}

/* ============ Index lists (Events / Workshops / Activities) ============ */
.index-split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.index-split.reverse { grid-template-columns: 1fr 1.5fr; }
.index-block h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--line-strong);
}
.index-block h3 .icon { color: var(--teal); width: 18px; height: 18px; }

.index-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.2s ease;
}
.index-item:hover { padding-left: 0.5rem; }
.index-item:hover .index-item-num { color: var(--amber-deep); }
.index-item:first-child { padding-top: 0; }
.index-item-num { font-family: var(--font-display); font-size: 0.85rem; color: var(--ink-faint); padding-top: 0.15rem; transition: color 0.2s ease; }
.index-item h4 { font-size: 1.02rem; margin-bottom: 0.35rem; display: inline; }
.index-item h4 a:hover { text-decoration: underline; text-decoration-color: var(--amber); }
.index-item p { font-size: 0.94rem; margin-top: 0.35rem; }
.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}
.tag-amber { color: var(--amber-deep); }
.tag-teal { color: var(--teal-deep); }
.tag-navy { color: var(--navy); }
.tag-rust { color: var(--rust); }
html[data-theme="dark"] .tag-amber { color: var(--amber); }
html[data-theme="dark"] .tag-teal { color: #4fb3a3; }
html[data-theme="dark"] .tag-navy { color: #8ea3cc; }
html[data-theme="dark"] .tag-rust { color: #e0745a; }

.wide-block {
  margin-top: 2.5rem;
  border: 2px solid var(--line-strong);
  padding: 1.75rem 2rem;
}
.wide-block h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.wide-block h3 .icon { color: var(--teal); width: 18px; height: 18px; }
.wide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.wide-grid .index-item:nth-child(2) { border-bottom: 1px solid var(--line); }
@media (min-width: 641px) {
  .wide-grid .index-item:first-child { border-right: 1px solid var(--line); padding-right: 1.5rem; }
  .wide-grid .index-item:nth-child(2) { padding-left: 1.5rem; }
}

@media (max-width: 900px) {
  .index-split, .index-split.reverse { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wide-grid { grid-template-columns: 1fr; }
}

/* ============ Resources: structured list ============ */
.res-list { border-top: 2px solid var(--line-strong); }
.res-row {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease, padding-left 0.15s ease;
}
.res-row:hover { background: var(--paper-alt); padding-left: 0.5rem; }
.res-index { font-family: var(--font-display); font-size: 0.85rem; color: var(--ink-faint); }
.res-name { font-weight: 700; font-family: var(--font-body); font-size: 1rem; color: var(--ink); }
.res-desc { font-size: 0.88rem; color: var(--ink-faint); margin-left: 0.6rem; }
.res-arrow { color: var(--ink-faint); transition: transform 0.15s ease, color 0.15s ease; }
.res-row:hover .res-arrow { color: var(--amber-deep); transform: translateX(3px); }
.res-arrow .icon { width: 16px; height: 16px; }

@media (max-width: 560px) {
  .res-row { grid-template-columns: 30px 1fr auto; }
  .res-desc { display: block; margin-left: 0; margin-top: 0.2rem; }
}

/* ============ Contact ============ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 2.5rem;
}
.contact-quote-block h3 { font-size: 1.6rem; line-height: 1.25; margin-bottom: 1.25rem; max-width: 18ch; }
.contact-quote {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 0.98rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--amber);
  padding-left: 1rem;
  max-width: 40ch;
}
.contact-panel { border: 2px solid var(--line-strong); background: var(--card); padding: 2rem; }
.contact-panel-label { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1.25rem; }
.contact-entry { padding: 1rem 0; border-top: 1px solid var(--line); }
.contact-entry:first-of-type { border-top: none; padding-top: 0; }
.contact-entry-name { font-weight: 700; margin-bottom: 0.2rem; }
.contact-entry a { font-family: var(--font-display); font-size: 0.88rem; color: var(--teal-deep); }
html[data-theme="dark"] .contact-entry a { color: #4fb3a3; }
.contact-entry a:hover { text-decoration: underline; }

@media (max-width: 800px) {
  .contact-split { grid-template-columns: 1fr; }
}

/* ============ Footer ============ */
.site-footer {
  background: var(--band-ink);
  color: rgba(243, 239, 230, 0.6);
  padding: 2rem 0;
  border-top: 2px solid rgba(243, 239, 230, 0.2);
}
html[data-theme="dark"] .site-footer { background: #0b0c10; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.5rem; color: var(--band-paper); font-weight: 700; }
.footer-brand .brand-logo-frame { width: 26px; height: 26px; }
.footer-brand .brand-logo { width: 18px; height: 18px; }
.footer-credit { text-align: right; }

@media (max-width: 560px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-credit { text-align: center; }
}

/* ============ Splash Intro ============ */
body.splash-active { overflow: hidden; }

.splash {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--band-ink);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
html[data-theme="dark"] .splash { background: #0b0c10; }
.splash.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.splash-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 0 1.5rem; text-align: center; }
.splash-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: logoIn 0.4s ease forwards;
}
.splash-logo { width: 62px; height: 62px; object-fit: contain; }
@keyframes logoIn { to { opacity: 1; } }

.splash-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 7vw, 4rem);
  letter-spacing: -0.02em;
  color: var(--band-paper);
  margin: 0;
}
.splash-title .letter { display: inline-block; opacity: 0; transform: translateY(16px) scale(0.85); animation: letterIn 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.3) forwards; animation-delay: calc(0.4s + var(--i) * 0.045s); }
.letter-space { width: 0.28em; }
.letter-grad { color: var(--amber); }
@keyframes letterIn { to { opacity: 1; transform: translateY(0) scale(1); } }

.splash-tagline {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  color: rgba(243, 239, 230, 0.6);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
  animation-delay: 1.1s;
}
@keyframes fadeUp { to { opacity: 1; } }

.splash-skip {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 1;
  background: transparent;
  border: 1.5px solid rgba(243, 239, 230, 0.4);
  color: rgba(243, 239, 230, 0.85);
  font-family: var(--font-display);
  font-size: 0.78rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0;
  animation: fadeUp 0.4s ease forwards;
  animation-delay: 1.2s;
}
.splash-skip:hover { background: rgba(243, 239, 230, 0.1); }

@media (max-width: 560px) {
  .splash-skip { bottom: 1.25rem; right: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .splash { display: none; }
}

/* ============ Page-flip transition (in-page nav) ============ */
.page-flip {
  position: fixed;
  inset: 0;
  z-index: 500;
  visibility: hidden;
  pointer-events: none;
  perspective: 2200px;
}
.page-flip.is-active { visibility: visible; }

.page-flip-panel {
  position: absolute;
  inset: 0;
  background: var(--band-ink);
  transform-origin: left center;
  transform: rotateY(90deg);
  box-shadow: -40px 0 70px rgba(0, 0, 0, 0.35);
  backface-visibility: hidden;
}
html[data-theme="dark"] .page-flip-panel { background: #0b0c10; }

.page-flip.is-flipping-in .page-flip-panel {
  animation: pageFlipIn 0.4s cubic-bezier(0.45, 0, 0.2, 1) forwards;
}
.page-flip.is-flipping-out .page-flip-panel {
  animation: pageFlipOut 0.4s cubic-bezier(0.45, 0, 0.2, 1) forwards;
}
@keyframes pageFlipIn {
  from { transform: rotateY(90deg); }
  to { transform: rotateY(0deg); }
}
@keyframes pageFlipOut {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(-90deg); }
}
@media (prefers-reduced-motion: reduce) {
  .page-flip { display: none; }
}

/* ============ Responsive: nav ============ */
@media (max-width: 1179px) {
  .nav-left, .nav-right ul { display: none; }
  .menu-toggle { display: flex; }

  .nav-menu {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: var(--band-ink);
    border-top: 2px solid rgba(243, 239, 230, 0.2);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  html[data-theme="dark"] .nav-menu { background: #0b0c10; }
  .nav-menu.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-link { width: 100%; text-align: left; padding: 0.75rem 1rem; }
  .nav-cta { justify-content: center; margin-top: 0.35rem; }
}

@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .sec-head { margin-bottom: 2rem; padding-bottom: 1.25rem; }
  .hero-main, .hero-side { padding: 2.25rem 1.25rem 2.5rem; }
  .bento-cell { padding: 1.5rem; }
  .contact-panel { padding: 1.5rem; }
  .wide-block { padding: 1.5rem; }
}
