@font-face {
  font-family: "Inter";
  src: url("fonts/InterVariable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --section-alt: #f5f6f9;
  --brand: #2d3e6e;
  --accent: #a8442a;
  --accent-soft: #f5e4dc;
  --nav-bg: #eceff4;
  --fg: #15171c;
  --muted: #5b6470;
  --rule: #15171c14;
  --radius: 20px;
  --max: 750px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

#nav-sentinel { position: absolute; top: 0; left: 0; height: 1px; width: 1px; pointer-events: none; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

a { color: inherit; }
a:hover { opacity: .65; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid transparent;
  z-index: 10;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  box-shadow: 1px 1px 3px #707070;
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 24px;
}
.brand {
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  flex: 0 1 auto;
  max-width: 50%;
  line-height: 1.25;
}
.nav nav {
  display: flex;
  gap: 6px 20px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex: 1 1 auto;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .nav .wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
  }
  .brand { max-width: calc(100% - 48px); }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 6px;
    cursor: pointer;
    color: var(--fg);
    flex-shrink: 0;
    line-height: 1;
  }
  .nav-toggle svg { width: 20px; height: 20px; }
  .nav nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    padding: 8px;
    min-width: 160px;
    z-index: 20;
  }
  .nav nav.is-open { display: flex; }
  .nav nav a { padding: 10px 14px; border-radius: 8px; font-size: 15px; display: block; white-space: nowrap; }
  .nav nav a:hover { background: var(--section-alt); }
}

@media (min-width: 641px) {
  .nav-toggle { display: none; }
}
.nav-toggle .icon-x { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-x { display: block; }

.nav nav a {
  font-size: 15px;
  text-decoration: none;
  color: var(--muted);
}
.nav nav a:hover { color: var(--accent); opacity: 1; }

/* Hero */
.hero {
  min-height: 20vh;
  padding: 231px 0 72px;
  background-image:
    linear-gradient(to bottom, rgba(20,28,55,0.35) 0%, rgba(20,28,55,0.85) 88%, #141c37 100%),
    url("figures/chuttersnap-tStoxme92is-unsplash.png");
  background-size: cover;
  background-position: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 2.75em;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  background: linear-gradient(120deg, #ffffff 0%, #dbe3f5 55%, #d3d7e1 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.hero .subtitle {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 60ch;
  margin: 0;
  line-height: 1.55;
}
.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
.hero-meta .link-btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-meta .link-btn:hover {
  color: #ffffff;
  border-color: var(--accent);
}
.hero-meta .hero-meta-sep {
  color: rgba(255, 255, 255, 0.45);
}
.hero-meta-sep {
  color: var(--rule);
  font-weight: 600;
}
.hero-meta-text {
  letter-spacing: .01em;
}

/* Sections */
.section { padding: 64px 0; position: relative; scroll-margin: 2em;}
.section:nth-of-type(odd) { background: var(--section-alt); }


h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--accent);
}
.num {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--fg);
  margin: 32px 0 10px;
}

p { margin: 0 0 16px; text-align: justify; hyphens: auto; }
p:last-child { margin-bottom: 0; }

ul { margin: 0 0 16px; padding-left: 22px; }
ul li { margin: 6px 0; }
ul li::marker { color: var(--muted); }

/* Buttons / inline actions */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin: 24px 0 8px;
}
.btn {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  background: var(--accent);
  color: var(--bg);
  transition: background .15s ease, color .15s ease, opacity .15s ease;
}
.btn:hover { opacity: 1; background: transparent; color: var(--accent); }

.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  white-space: nowrap;
  transition: border-color .15s ease, color .15s ease;
}
.link-btn .lucide {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}
.link-btn:hover {
  opacity: 1;
  color: var(--accent);
  border-color: var(--accent);
}
.person-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.person-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin-top: 5px !important;
  text-align: center;
  width: 100%;
}
.person-links .link-btn { text-align: center; }
.mono-link {
  font-size: 15px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Dates */
.dates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.dates > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.dates dt { font-weight: 500; }
.dates dd {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

/* Schedule */
.schedule {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.schedule td {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.schedule tr:first-child td { border-top: 1px solid var(--rule); }
.schedule .time {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  width: 200px;
  padding-right: 24px;
}

/* Organizers */
.people {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}
.person {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}
.person:last-child { border-bottom: 1px solid var(--rule); }
.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--section-alt);
  border: 2px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 500;
  color: var(--muted);
  object-fit: cover;
}
.person h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.person p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 70ch;
}

.role-pill {
  display: inline-block;
  align-self: center;
  margin-top: 5px;
  padding: 5px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: default;
  user-select: none;
}

/* Footer */
footer {
  border-top: 1px solid var(--rule);
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--muted);
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 879px) {
  .person { grid-template-columns: 1fr; gap: 12px; padding: 20px 0; }
  .avatar { width: 120px; height: 120px; font-size: 26px; margin: 0 auto; }
  .person-links { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; width: auto; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 56px 0 40px; }
  .section { padding: 44px 0; }
  h2 { font-size: 26px; }
  .schedule .time { width: 110px; padding-right: 12px; font-size: 14px; }
  .person h4 { font-size: 17px; }
  .person p { font-size: 15px; }
}
