:root {
  color-scheme: dark;
  --background: #18161e;
  --foreground: #fff6f0;
  --muted: #e0d5dd;
  --pink: #ffc2df;
  --line: #605260;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--foreground);
  background: var(--background);
}

* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 5px; }
.wrap { width: min(1260px, calc(100% - 96px)); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--background);
  background: var(--pink);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 21px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  color: var(--pink);
  font: 800 clamp(24px, 3vw, 31px)/1 "Bricolage Grotesque", Arial, sans-serif;
  letter-spacing: -.035em;
  text-decoration: none;
}

.brand img { width: 1.2em; height: 1.14em; }
.top nav a { font-size: 13px; font-weight: 700; text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.eyebrow {
  color: var(--pink);
  font: 600 11px/1.45 "IBM Plex Mono", monospace;
  letter-spacing: .095em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 53px 16px 43px;
  text-align: center;
}

.hero-mark {
  position: absolute;
  z-index: -1;
  inset: 5px 0 0;
  width: min(85vw, 575px);
  margin-inline: auto;
  background: url("./mark.svg") center / contain no-repeat;
  opacity: .1;
  transform: rotate(-9deg);
  pointer-events: none;
}

.hero h1 {
  margin: 14px 0 18px;
  font: 700 clamp(61px, 8.8vw, 121px)/1.015 "Bricolage Grotesque", Arial, sans-serif;
  letter-spacing: -.018em;
}

.hero h1 span { display: block; color: #ffb2d9; }
.intro { max-width: 43ch; margin-inline: auto; font-size: clamp(15px, 1.55vw, 19px); line-height: 1.55; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 45px;
  margin-top: 20px;
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--pink);
  color: #251c26;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.cta span { font-size: 17px; }
.cta:hover { background: #ffdaed; }

.event-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  text-align: center;
}

.event-strip div { padding: 15px 12px; }
.event-strip div + div { border-left: 1px solid var(--line); }
.event-strip dt { margin-bottom: 4px; }
.event-strip dd { font-size: 14px; font-weight: 700; }

.section { padding-block: 64px; }
.section-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(30px, 9vw, 120px); }
.section h2, .join h2 {
  font: 700 clamp(36px, 5.5vw, 73px)/1.02 "Bricolage Grotesque", Arial, sans-serif;
  letter-spacing: -.036em;
  margin: 9px 0 17px;
}

.section-copy { max-width: 39ch; color: var(--muted); font-size: 16px; line-height: 1.55; }
.schedule { padding: 0; margin: 0; list-style: none; }

.schedule li {
  display: grid;
  grid-template-columns: 111px 1fr;
  align-items: baseline;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 15px 0;
}

.schedule li:last-child { border-bottom: 1px solid var(--line); }
.schedule-time { color: var(--pink); font: 500 11px/1.5 "IBM Plex Mono", monospace; white-space: nowrap; }
.schedule h3 { font-size: 16px; }
.schedule p { max-width: 46ch; margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.48; }

.join {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  background: #261e2c;
  padding: clamp(21px, 4vw, 46px);
}

.join h2 { margin-bottom: 10px; }
.join p:not(.eyebrow) { line-height: 1.5; }
.registration { color: var(--pink); }

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 27px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer .brand { font-size: 23px; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 54px); }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .top { padding-block: 15px; }
  .hero { padding: 41px 0 32px; }
  .hero h1 { font-size: clamp(50px, 13.5vw, 94px); }
  .event-strip div { padding: 10px 6px; }
  .event-strip dd { font-size: 12px; }
  .event-strip .eyebrow { font-size: 9px; }
  .section { padding-block: 36px; }
  .section-grid { grid-template-columns: 1fr; gap: 24px; }
  .schedule li { grid-template-columns: 98px 1fr; gap: 8px; }
  .schedule-time { font-size: 10px; }
  .join { align-items: start; flex-direction: column; gap: 15px; }
}
