:root {
  color-scheme: light;
  --ink: #0b1631;
  --muted: #42536d;
  --blue: #2451d6;
  --blue-dark: #193ba9;
  --ice: #a8ccff;
  --sky: #81adff;
  --night: #08142e;
  --paper: #f7f9fe;
  --gutter: clamp(20px, 5vw, 64px);
  --hero-layout-width: clamp(70rem, 78vw, 160rem);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(70rem, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr-only, .hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav {
  position: fixed;
  z-index: 30;
  top: 14px;
  left: 50%;
  width: min(var(--hero-layout-width), calc(100% - 28px));
  transform: translateX(-50%);
  border: 1px solid #a8caff38;
  border-radius: 18px;
  background: #08142ef2;
  color: #f4f8ff;
  box-shadow: 0 8px 26px #08142e25;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 7px 9px 7px 17px; }
.logo { font: 400 1.85rem/1 var(--serif); display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav-links { display: none; gap: clamp(18px, 3vw, 40px); }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #d3e1ff;
  font-size: .875rem;
  text-decoration: none;
  transition: color .18s;
}
.nav-links a:hover, .logo:hover { color: var(--ice); }
.skip { position: absolute; top: 6px; left: 12px; z-index: 1; }
.skip:not(:focus) { clip-path: inset(50%); overflow: hidden; width: 1px; height: 1px; white-space: nowrap; }
.skip:focus { background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--blue);
  color: #fff;
  font: 600 .95rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s, box-shadow .18s;
}
.btn:hover { background: var(--blue-dark); }
.btn:disabled { opacity: .68; cursor: wait; }
.btn-sm { min-height: 44px; padding-inline: 13px; font-size: .825rem; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #dceaff; }
.nav .btn, .hero .btn { background: var(--ice); color: var(--ink); }
.nav .btn:hover, .hero .btn:hover { background: #d5e6ff; }
.nav :focus-visible, .hero :focus-visible, .cta :focus-visible { outline-color: #bed8ff; }
.text-link { color: var(--blue-dark); font-weight: 600; text-underline-offset: .2em; }
.text-link:hover { color: var(--blue); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 125px 0 clamp(137px, 12vw, 184px);
  overflow: hidden;
  background: var(--night);
  color: #f4f8ff;
}
.hero-art, .hero-grid, .cta-grid { position: absolute; inset: 0; pointer-events: none; }
.hero-art {
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(ellipse at 85% 66%, #173f93 0%, #0b2152 35%, var(--night) 75%);
}
.hero-grid {
  background-image: linear-gradient(#99bfff1c 1px, transparent 1px), linear-gradient(90deg, #99bfff1c 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 74% 60%, #000, transparent 79%);
}
.hero-city {
  --city-width: min(max(68%, calc(42vw + 320px)), 132%, 128vh);
  position: absolute;
  left: max(clamp(7%, calc(72vw - 350px), 40%), calc(108% - var(--city-width)));
  bottom: clamp(22px, 4.5vh, 60px);
  width: var(--city-width);
  aspect-ratio: 3 / 2;
  /* The image has a transparent margin below the shoreline. */
  transform: translateY(19%);
  mix-blend-mode: screen;
  opacity: .88;
  mask-image: linear-gradient(90deg, transparent, #000 13%, #000);
}
.hero-city img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
}
.city-base { filter: invert(1) contrast(1.05) saturate(1.65) brightness(1.3); }
.city-highlight {
  --highlight-x: var(--city-light-x, 40%);
  filter: invert(1) contrast(1.08) saturate(1.65) brightness(2.65) blur(1px);
  mix-blend-mode: screen;
  mask-image: linear-gradient(
    to right,
    transparent calc(var(--highlight-x) - 168px),
    #000 calc(var(--highlight-x) - 36px),
    #000 calc(var(--highlight-x) + 36px),
    transparent calc(var(--highlight-x) + 168px)
  );
}
.hero-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(var(--hero-layout-width), calc(100% - var(--gutter) * 2));
}
.eyebrow {
  margin-bottom: 14px;
  color: var(--blue-dark);
  font: 500 .75rem/1.45 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--ice); }
.hero h1 {
  margin-left: -.038em;
  color: #f8faff;
  font: 400 clamp(5.15rem, 14.2vw, 12rem)/.9 var(--serif);
  letter-spacing: -.036em;
}
.tagline {
  max-width: 30ch;
  margin-top: clamp(27px, 3vw, 35px);
  text-wrap: balance;
  color: #d0e1ff;
  font: italic 400 clamp(1.55rem, 3.6vw, 2.5rem)/1.06 var(--serif);
}
.hero-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 13px;
  max-width: 34rem;
  margin-top: 18px;
  padding: 0;
  list-style: none;
  color: #e7efff;
  font-size: .84rem;
}
.hero-details li { display: flex; align-items: baseline; gap: 5px; }
.hero-details li::before { content: ""; flex: none; width: 5px; height: 5px; align-self: center; border-radius: 50%; background: var(--sky); margin-right: 3px; }
.hero-details .hero-sponsor { align-items: center; gap: 7px; }
.hero-sponsor img { display: block; width: 84px; height: auto; }

.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(100%, 32rem);
  margin-top: 26px;
}
.waitlist input[type="email"] {
  flex: 1 1 11rem;
  min-width: 0;
  min-height: 48px;
  padding: 10px 15px;
  border: 1px solid #96afd9;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font: 400 1rem var(--sans);
}
.hero .waitlist input[type="email"] { background: #0c2048; color: #fff; border-color: #a4c7ff7a; }
.hero .waitlist input::placeholder { color: #bed0ef; opacity: 1; }
.form-msg { flex-basis: 100%; min-height: 1.4em; color: var(--muted); font-size: .9rem; }
.form-msg.ok { color: #047257; font-weight: 500; }
.form-msg.err { color: #b91c1c; }
.hero .form-msg, .hero .form-msg.ok { color: #c4f9e7; }
.hero .form-msg.err, .cta .form-msg.err { color: #ffd0d6; }
.waitlist.done input[type="email"], .waitlist.done button { display: none; }
.waitlist.done .form-msg { font: 400 1.5rem/1.2 var(--serif); }
.waitlist-dark { margin-inline: auto; }

.section { padding: clamp(58px, 8.5vw, 104px) 0; }
h2 { font: 400 clamp(2.9rem, 6.15vw, 5.1rem)/.99 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.center h2 { margin-inline: auto; }
.lede { max-width: 38rem; margin-top: 18px; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.1rem); }

.event-intro {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 94% 55%, #edf3fd, transparent 68%), #faf9f6;
}
.event-intro::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(#6989c61f 1px, transparent 1px), linear-gradient(90deg, #6989c61f 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 91% 67%, #000, transparent 62%);
  pointer-events: none;
  content: "";
}
.intro-layout, .program-layout, .club-layout, .faq-layout { display: grid; gap: clamp(27px, 6.5vw, 83px); }
.intro-layout, .club-layout { align-items: center; }
.intro-copy h2 { font-size: clamp(3.25rem, 7.2vw, 5.65rem); }
.intro-copy h2 em { display: block; color: var(--blue-dark); }
.intro-copy .lede { max-width: 52ch; margin-top: clamp(14px, 2.2vw, 23px); }

.intro-photo, .program-photo { min-width: 0; }
.intro-photo img, .program-photo img, .club-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.intro-photo img, .program-photo img { aspect-ratio: 4 / 3; border-radius: 6px; }
.intro-photo {
  padding: 7px 7px 8px;
  border: 1px solid #cad8ee;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 12px 35px #183b7710;
}
.intro-photo figcaption, .club-gallery figcaption { margin-top: 8px; font: 500 .725rem/1.45 var(--mono); }
.intro-photo figcaption { margin: 8px 5px 0; color: var(--muted); }

.partners {
  padding-block: clamp(47px, 7vw, 85px);
  background: #111e37;
  color: #f5f8ff;
}
.partners :focus-visible { outline-color: #bed8ff; }
.partner-layout { display: grid; gap: clamp(25px, 4vw, 37px) clamp(28px, 7vw, 88px); margin-top: clamp(23px, 4vw, 37px); }
.partner-sponsors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 20px;
  padding-top: 8px;
  border-top: 1px solid #abcaff60;
}
.partner-layout h3 {
  color: #c8dbfb;
  font: 500 .76rem/1.45 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 4px clamp(21px, 5vw, 60px);
  padding: 0;
  list-style: none;
}
.partner-investors .partner-logos {
  column-gap: clamp(28px, 7vw, 70px);
  margin-top: clamp(12px, 2.4vw, 20px);
}
.partner-logos a {
  display: flex;
  align-items: center;
  min-height: 66px;
  border-radius: 4px;
}
.partner-logos img {
  display: block;
  width: clamp(125px, 22vw, 170px);
  height: 50px;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 840px) {
  .partner-layout { grid-template-columns: 1.6fr .73fr; align-items: center; }
  .partner-sponsors {
    display: grid;
    gap: 4px;
    padding: 0 0 0 clamp(23px, 5vw, 42px);
    border-top: 0;
    border-left: 1px solid #abcaff60;
  }
}

.program {
  background: linear-gradient(145deg, #f4f7ff 8%, #e9f0fe 92%);
}
.program-layout { align-items: center; margin-top: clamp(25px, 4vw, 42px); }
.agenda { padding: 0; list-style: none; border-top: 1px solid #aebfdf; }
.agenda li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: clamp(10px, 2vw, 23px);
  align-items: baseline;
  padding: clamp(13px, 2vw, 23px) 0;
  border-bottom: 1px solid #aebfdf;
}
.agenda-number { color: var(--blue-dark); font: 500 .9rem/1.2 var(--mono); }
.agenda h3 { font: 400 clamp(1.85rem, 3.45vw, 2.65rem)/1.03 var(--serif); }
.agenda p { max-width: 48ch; margin-top: 6px; color: var(--muted); }
.program-photo img { object-position: 65% center; }

.club {
  background: radial-gradient(ellipse at 84% 14%, #203e76, transparent 66%), #0b1934;
  color: #f5f8ff;
}
.club-copy .lede { max-width: 49ch; color: #dbe8ff; }
.club-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3px 18px;
  margin-top: 22px;
  padding-top: 13px;
  border-top: 1px solid #a8caff45;
}
.club-count {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  color: var(--ice);
  font: 500 .875rem/1.35 var(--mono);
}
.club-count strong { color: #fff; font: 400 clamp(2.9rem, 5.6vw, 4.1rem)/1 var(--serif); }
.club .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ice);
}
.club .text-link:hover { color: #fff; }
.club :focus-visible { outline-color: #bed8ff; }
.club-gallery { display: grid; grid-template-columns: 1.38fr 1fr; gap: 9px; min-width: 0; }
.club-gallery img { height: clamp(120px, 16.5vw, 190px); border-radius: 4px; }
.club-gallery .club-group { grid-column: 1 / -1; height: auto; aspect-ratio: 3 / 2; }
.club-gallery img:last-of-type { object-position: center 44%; }
.club-gallery figcaption { grid-column: 1 / -1; margin-top: 0; color: #c3d7f9; }

.builder-directory { margin-top: clamp(38px, 6vw, 70px); }
.builder-directory h3 { font: 400 clamp(2.5rem, 5vw, 3.65rem)/1 var(--serif); }
.builder-list {
  display: grid;
  gap: 18px clamp(20px, 4vw, 40px);
  margin-top: 20px;
  padding: 0;
  list-style: none;
}
.builder-profile {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-content: start;
  align-items: start;
  gap: 4px 11px;
  min-width: 0;
}
.builder-profile img {
  display: block;
  grid-row: span 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #273f6a;
  object-fit: cover;
}
.builder-profile h4 {
  font: 400 clamp(1.3rem, 2.4vw, 1.6rem)/1.05 var(--serif);
}
.builder-profile p {
  max-width: 36ch;
  color: #dbe8ff;
  font-size: .9rem;
  line-height: 1.38;
}

@media (min-width: 560px) {
  .builder-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 940px) {
  .builder-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.faq-section { background: var(--paper); }
.faq { border-top: 1px solid #b9cceb; }
.faq details { border-bottom: 1px solid #b9cceb; }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 13px;
  min-height: 48px;
  padding: 13px 5px;
  cursor: pointer;
  list-style: none;
  font: 400 clamp(1.45rem, 3.2vw, 1.75rem)/1.2 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #bacceb;
  border-radius: 50%;
  color: var(--blue-dark);
  font: 400 1.2rem/1 var(--mono);
  transition: transform .18s, background-color .18s;
  content: "+";
}
.faq summary:hover { color: var(--blue-dark); }
.faq summary:hover::after, .faq details[open] summary::after { background: #e7efff; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 40rem; padding: 0 5px 16px; color: var(--muted); }

@media (min-width: 840px) {
  .intro-layout { grid-template-columns: .88fr 1.18fr; }
  .program-layout { grid-template-columns: 1.12fr .96fr; }
  .club-layout { grid-template-columns: .92fr 1.12fr; }
  .faq-layout { grid-template-columns: .68fr 1.32fr; }
}

.cta {
  position: relative;
  isolation: isolate;
  padding: clamp(64px, 10vw, 109px) 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 0%, #3565e5, transparent 70%), #163aaa;
  color: #fff;
}
.cta-grid {
  z-index: -1;
  background-image: linear-gradient(#dceaff30 1px, transparent 1px), linear-gradient(90deg, #dceaff30 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, transparent 20%, #000 95%);
}
.cta-body > p { margin-top: 13px; color: #e7efff; font-size: 1.05rem; }
.cta .form-msg { color: #eff6ff; }

.footer { padding: 36px 0 22px; background: var(--night); color: #ecf3ff; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px 30px; }
.footer-logo { margin-bottom: 4px; font: 400 2rem/1 var(--serif); }
.footer .muted, .footer-links a, .footer-base { color: #c1d1ee; font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 18px; align-content: flex-start; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer :focus-visible { outline-color: #bed8ff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 23px; padding-top: 14px; border-top: 1px solid #57709b; }

@media (min-width: 760px) {
  .nav-links { display: flex; }
}

@media (min-width: 1440px) {
  .hero {
    padding-block: clamp(84px, 10vh, 125px) clamp(45px, calc(28vh - 105px), 200px);
  }
}

@media (max-width: 759px) {
  .hero { padding-top: 121px; padding-bottom: clamp(111px, 20vw, 145px); }
  .hero-art { mask-image: linear-gradient(#000 89%, transparent); }
  .hero-city { opacity: .48; }
  .hero-grid { mask-image: linear-gradient(transparent, #000); }
}

@media (max-width: 450px) {
  .hero h1 { font-size: clamp(4.65rem, 19vw, 5.6rem); }
  .waitlist .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
