:root {
  --ink-dark: #07090f;
  --ink-deep: #0d111d;
  --ink-glow: #1a2240;
  --wire-blue: #4d9fde;
  --wire-blue-soft: #7fb9e8;
  --cream: #f4ece0;
  --cream-warm: #ede2cf;
  --sage: #d9dfcc;
  --text-dark: #232020;
  --text-soft: #5b554d;
  --rule: rgba(35, 32, 32, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--text-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(35,32,32,0.35);
  transition: text-decoration-color 0.15s ease;
}
a:hover { text-decoration-color: currentColor; }

/* ============ HERO ============ */

.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(77,159,222,0.18), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(77,159,222,0.10), transparent 60%),
    linear-gradient(180deg, var(--ink-dark) 0%, var(--ink-deep) 100%);
  color: #f5f7fb;
  padding: 0 1.5rem 4rem;
  overflow: hidden;
}

.hero-nav {
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
  align-items: center;
  padding: 1.5rem 0;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.hero-nav a {
  color: rgba(245,247,251,0.78);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.hero-nav a:hover { color: var(--wire-blue-soft); }

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding-top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.hero-figure {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(77,159,222,0.18);
}
.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.meet-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}
.meet-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.5rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 4px;
  text-align: left;
}
.meet-card-link {
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.meet-card-link:hover {
  background: rgba(77,159,222,0.10);
  border-color: rgba(127,185,232,0.35);
  transform: translateY(-1px);
}
.meet-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--wire-blue-soft);
  font-weight: 600;
}
.meet-when {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
}
.meet-where, .meet-link {
  font-size: 0.98rem;
  color: rgba(245,247,251,0.82);
  line-height: 1.5;
}
.meet-link {
  color: var(--wire-blue-soft);
  text-decoration: underline;
  text-decoration-color: rgba(127,185,232,0.45);
  word-break: break-all;
}
.meet-link:hover { color: #ffffff; }

/* ============ BODY ============ */

main { background: var(--cream); }

.body-section {
  padding: 5rem 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.body-section.alt { background: var(--cream-warm); }

.container {
  max-width: 1100px;
  margin: 0 auto;
}
.container.narrow { max-width: 760px; }

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 1.75rem;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 0.6rem;
}
h2::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--wire-blue);
  border-radius: 2px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  color: var(--text-dark);
}
h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

p { margin: 0 0 1.1em; }

.lede {
  font-size: 1.15rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.note {
  background: rgba(77,159,222,0.08);
  border-left: 3px solid var(--wire-blue);
  padding: 1rem 1.2rem;
  border-radius: 0 4px 4px 0;
  font-size: 0.97rem;
}

.fine { font-size: 0.9rem; color: var(--text-soft); }

.mission-quote {
  margin: 0;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 4px solid var(--wire-blue);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--text-dark);
}

.aims-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: aims;
  display: grid;
  gap: 1.25rem;
}
.aims-list li {
  counter-increment: aims;
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4rem;
  background: rgba(255,255,255,0.55);
  border-radius: 4px;
  border: 1px solid var(--rule);
  font-size: 1.02rem;
}
.aims-list li::before {
  content: counter(aims, lower-roman) ".";
  position: absolute;
  left: 1.25rem;
  top: 1.1rem;
  font-weight: 700;
  color: var(--wire-blue);
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
}

/* Presenters */
.presenters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 1.5rem 0 2.5rem;
}
.presenter {
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.5rem;
}
.presenter-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 1rem;
  filter: grayscale(8%);
}
.presenter-meta {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1rem;
  font-size: 0.96rem;
}
.presenter-meta dt {
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}
.presenter-meta dd { margin: 0; }
.presenter-prose { margin: 0; font-size: 0.98rem; }

/* Links grid */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.link-card {
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.5rem;
}
.link-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  color: var(--wire-blue);
}
.small-list {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
}
.small-list li { margin-bottom: 0.35rem; }

/* ============ FOOTER ============ */

.site-footer {
  background: var(--ink-deep);
  color: rgba(245,247,251,0.78);
  padding: 3rem 1.5rem 2rem;
  font-size: 0.95rem;
}
.site-footer a {
  color: var(--wire-blue-soft);
  text-decoration: underline;
  text-decoration-color: rgba(127,185,232,0.4);
}
.site-footer a:hover { color: #ffffff; }
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-contact .placeholder {
  font-style: italic;
  color: rgba(245,247,251,0.5);
}
.footer-fine {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  font-size: 0.85rem;
  color: rgba(245,247,251,0.55);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero-nav { gap: 1rem; justify-content: center; }
  .hero { padding-bottom: 3rem; }
  .body-section { padding: 3.5rem 1.25rem; }
  .meet-cards { grid-template-columns: 1fr; }
  .aims-list li { padding: 1.1rem 1rem 1.1rem 3.5rem; }
  .aims-list li::before { left: 1rem; top: 1rem; font-size: 1.15rem; }
  .presenter-meta { grid-template-columns: 1fr; gap: 0.1rem 0; }
  .presenter-meta dt { margin-top: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
