:root {
  --ivory: #f7f3eb;
  --paper: #fffdf8;
  --ink: #082748;
  --ink-soft: #43566a;
  --vermilion: #c9341d;
  --vermilion-dark: #a92817;
  --stone: #b9b0a3;
  --stone-light: #ded8cf;
  --line: rgba(8, 39, 72, 0.16);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --shell: min(1320px, calc(100% - 112px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute; 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: -60px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: white;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: absolute; inset: 0 0 auto; z-index: 10;
}
.header-inner {
  height: 92px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--ink);
}
.wordmark {
  font-family: var(--serif); font-size: 17px; font-weight: 600;
  letter-spacing: .13em; text-decoration: none; text-transform: uppercase;
}
.site-nav { display: flex; gap: clamp(30px, 4vw, 62px); }
.site-nav a {
  position: relative; text-decoration: none; font-weight: 500; font-size: 16px;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px;
  height: 2px; background: var(--vermilion); transition: right .2s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }

.hero {
  position: relative; min-height: 900px; overflow: hidden;
  display: flex; align-items: center; padding-top: 92px;
}
.hero-inner { position: relative; z-index: 2; }
.hero-copy { width: min(760px, 62%); padding: 78px 0 90px; }
.eyebrow, .section-kicker {
  margin: 0 0 18px; color: var(--vermilion); font-size: 13px;
  font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
h1, h2, h3, h4, p { margin-top: 0; }
h1 {
  margin-bottom: 34px; font-family: var(--serif); font-size: clamp(68px, 7vw, 104px);
  font-weight: 500; line-height: .96; letter-spacing: -.045em;
}
.title-rule { display: block; width: 245px; height: 2px; background: var(--vermilion); margin-bottom: 38px; }
.lede { max-width: 710px; margin-bottom: 34px; font-size: clamp(20px, 2vw, 27px); line-height: 1.35; }
.hero-meta { margin-bottom: 36px; }
.hero-meta p { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; font-size: 19px; }
.meta-icon {
  position: relative; width: 24px; color: transparent; flex: 0 0 24px;
  border: 2px solid var(--vermilion); border-radius: 3px; height: 22px;
}
.meta-icon::before, .meta-icon::after {
  content: ""; position: absolute; width: 2px; height: 6px; top: -5px;
  background: var(--vermilion);
}
.meta-icon::before { left: 5px; } .meta-icon::after { right: 5px; }
.meta-icon.pin { border-radius: 50% 50% 50% 0; width: 20px; height: 20px; transform: rotate(-45deg); }
.meta-icon.pin::before { width: 5px; height: 5px; border-radius: 50%; left: 5px; top: 5px; }
.meta-icon.pin::after { display: none; }
.hero-actions { display: flex; gap: 22px; flex-wrap: wrap; }
.button {
  min-height: 64px; padding: 17px 28px; display: inline-flex; align-items: center;
  justify-content: space-between; gap: 38px; border: 1px solid;
  text-decoration: none; font-weight: 500; transition: .2s ease;
}
.button span { font-size: 25px; transition: transform .2s ease; }
.button:hover span, .button:focus-visible span { transform: translateX(4px); }
.button-primary { color: white; background: var(--vermilion); border-color: var(--vermilion); }
.button-primary:hover, .button-primary:focus-visible { background: var(--vermilion-dark); }
.button-secondary { background: rgba(247,243,235,.75); border-color: var(--ink); }
.button-secondary:hover, .button-secondary:focus-visible { color: var(--vermilion); border-color: var(--vermilion); }

.hero-art {
  position: absolute;
  top: 90px;
  left: 47%;
  width: 57%;
  height: 750px;

  color: var(--stone);
  opacity: 0.58;
  pointer-events: none;
}
.contours {
  position: absolute;
  top: 20px;
  left: 0;
  right: auto;
  width: 760px;
  max-width: 100%;
}
.sparse-matrix {
  position: absolute;
  top: 420px;
  left: 10%;
  right: auto;
  width: 390px;
  max-width: 60%;
  opacity: 0.68;
}
.contours g { stroke-width: 1; opacity: .72; }
.descent-line { fill: none; stroke: currentColor; stroke-width: 1.5; }
.descent-points circle { fill: var(--stone); }
.matrix-marks { fill: #7f8994; }

.section { padding: 120px 0; border-top: 1px solid var(--line); }
.section h2 {
  max-width: 710px; margin-bottom: 28px; font-family: var(--serif);
  font-size: clamp(46px, 5vw, 70px); font-weight: 500; line-height: 1.05; letter-spacing: -.035em;
}
.section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.prose { font-size: 19px; color: var(--ink-soft); }
.topic-list { list-style: none; padding: 14px 0 0; margin: 34px 0 0; border-top: 1px solid var(--line); }
.topic-list li { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.topic-list li::before { content: "↗"; margin-right: 14px; color: var(--vermilion); }

.speakers { background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 62px; }
.section-heading h2, .section-heading p { margin-bottom: 0; }
.section-heading > p { max-width: 280px; color: var(--ink-soft); }
.speaker-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.speaker-card { min-width: 0; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.speaker-initials {
  width: 68px; height: 68px; display: grid; place-items: center; margin-bottom: 36px;
  color: var(--vermilion); border: 1px solid var(--stone); border-radius: 50%;
  font-family: var(--serif); font-size: 23px;
}
.speaker-affiliation { min-height: 52px; margin-bottom: 9px; color: var(--ink-soft); font-size: 14px; }
.speaker-card h3 { margin-bottom: 25px; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.15; }
.talk-toggle {
  width: 100%; padding: 18px 0 0; display: flex; justify-content: space-between; gap: 20px;
  color: var(--ink); background: none; border: 0; border-top: 1px solid var(--line);
  text-align: left; cursor: pointer; font-size: 15px; line-height: 1.45;
}
.talk-toggle > span:last-child { color: var(--vermilion); font-size: 20px; }
.talk-abstract { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.talk-abstract.is-open { grid-template-rows: 1fr; }
.talk-abstract p { min-height: 0; overflow: hidden; margin: 0; padding-top: 0; color: var(--ink-soft); font-size: 14px; }
.talk-abstract.is-open p { padding-top: 18px; }

.programme { background: var(--ink); color: var(--paper); }
.programme .section-kicker, .programme .session-type { color: #e86b56; }
.programme .section-heading > p { color: rgba(255,255,255,.62); }
.day-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.22); }
.day-tabs button {
  padding: 20px 24px; color: rgba(255,255,255,.65); background: none; border: 0;
  border-right: 1px solid rgba(255,255,255,.22); cursor: pointer; text-align: left;
}
.day-tabs button:last-child { border-right: 0; }
.day-tabs button span { display: block; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.day-tabs button[aria-selected="true"] { color: var(--ink); background: var(--paper); }
.day-panel { padding-top: 55px; }
.day-panel[hidden] { display: none; }
.day-panel { display: grid; grid-template-columns: .75fr 1.5fr; gap: 9vw; }
.day-intro p { color: rgba(255,255,255,.62); }
.day-intro h3 { font-family: var(--serif); font-size: 38px; font-weight: 500; line-height: 1.15; }
.schedule-list { list-style: none; padding: 0; margin: 0; }
.schedule-list li {
  display: grid; grid-template-columns: 75px 1fr; gap: 28px; padding: 25px 0;
  border-top: 1px solid rgba(255,255,255,.2);
}
.schedule-list time { color: rgba(255,255,255,.58); font-variant-numeric: tabular-nums; }
.session-type { font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.schedule-list h4 { margin: 4px 0; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.schedule-list p { margin: 0; color: rgba(255,255,255,.6); font-size: 14px; }

.venue-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 9vw; align-items: start; }
.venue-copy > p:not(.section-kicker) { max-width: 650px; color: var(--ink-soft); font-size: 19px; }
.detail-list { margin-top: 50px; border-top: 1px solid var(--line); }
.detail-list > div { display: grid; grid-template-columns: 115px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); }
.detail-list span { color: var(--vermilion); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.detail-list p { margin: 0; }
.attend-card { padding: 42px; background: var(--paper); border: 1px solid var(--stone-light); box-shadow: 0 18px 60px rgba(8,39,72,.08); }
.attend-card h3 { font-family: var(--serif); font-size: 35px; font-weight: 500; line-height: 1.1; }
.attendance-option { display: flex; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); cursor: pointer; }
.attendance-option input { accent-color: var(--vermilion); margin-top: 7px; }
.attendance-option strong { display: block; }
.attendance-option span { color: var(--ink-soft); font-size: 14px; }
.attendance-option strong { color: var(--ink); font-size: 17px; }
.button.full { width: 100%; margin-bottom: 30px; }
.small { margin: 18px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }

.site-footer { padding: 65px 0; color: var(--paper); background: #061e37; }
.footer-inner { display: flex; justify-content: space-between; gap: 50px; }
.site-footer p { margin: 12px 0 0; color: rgba(255,255,255,.55); font-size: 14px; }
.footer-inner > div:last-child { text-align: right; }
.footer-inner a { color: inherit; }

:focus-visible { outline: 2px solid var(--vermilion); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media (max-width: 980px) {
  :root { --shell: min(100% - 48px, 820px); }
  .hero { min-height: 820px; }
  .hero-copy { width: 78%; }
  .hero-art { left: 48%; opacity: .35; }
  .section-grid, .venue-grid { grid-template-columns: 1fr; gap: 60px; }
  .speaker-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  :root { --shell: calc(100% - 36px); }
  html { scroll-padding-top: 70px; }
  .header-inner { height: 70px; }
  .wordmark { font-size: 13px; letter-spacing: .09em; }
  .nav-toggle { display: grid; gap: 5px; }
  .nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 1px; background: var(--ink); }
  .site-nav {
    position: absolute; top: 70px; left: 18px; right: 18px; padding: 22px;
    display: none; flex-direction: column; gap: 16px; background: var(--paper);
    border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(8,39,72,.12);
  }
  .site-nav.is-open { display: flex; }
  .hero { min-height: 760px; padding-top: 70px; }
  .hero-copy { width: 100%; padding-top: 70px; }
  .eyebrow { margin-bottom: 12px; }
  h1 { font-size: clamp(49px, 15vw, 68px); }
  .lede { font-size: 19px; }
  .hero-meta p { font-size: 15px; }
  .button { width: 100%; }
  .hero-art {
    top: 80px;
    left: 20%;
    width: 100%;
    height: 620px;
    opacity: 0.2;
  }
  .sparse-matrix {
    top: 350px;
    left: 30%;
    width: 300px;
  }
  .section { padding: 82px 0; }
  .section-heading { display: block; margin-bottom: 38px; }
  .section-heading > p { margin-top: 18px; }
  .speaker-grid { grid-template-columns: 1fr; }
  .day-tabs { display: flex; overflow-x: auto; }
  .day-tabs button { min-width: 210px; }
  .day-panel { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { display: block; }
  .footer-inner > div:last-child { margin-top: 32px; text-align: left; }
}

.qr-code img {
  display: block;
  margin: 0 auto;
  margin-top: 0px;
}





.community {
  background: var(--paper);
}

.community-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 9vw;
}

.community-grid > div > h3 {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
}

.organiser-list {
  border-top: 1px solid var(--line);
}

.organiser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.organiser h4 {
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.organiser p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.organiser a {
  color: var(--ink);
  font-size: 14px;
}

.sponsor-list {
  display: grid;
  gap: 14px;
}

.sponsor {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 100px;
  padding: 18px;
  color: inherit;
  border: 1px solid var(--line);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.sponsor:hover,
.sponsor:focus-visible {
  border-color: var(--vermilion);
  transform: translateY(-2px);
}

.sponsor img {
  width: 72px;
  height: 56px;
  object-fit: contain;
}

.sponsor strong,
.sponsor small {
  display: block;
}

.sponsor small {
  margin-top: 3px;
  color: var(--ink-soft);
}

@media (max-width: 700px) {
  .community-grid,
  .organiser {
    grid-template-columns: 1fr;
  }

  .organiser {
    gap: 8px;
  }
}
