/* ==========================================================================
   Haxiom
   Liquid-glass surfaces over a dark stage that is lit like the logo:
   cyan light from the top-left, violet from the bottom-right.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Palette — sampled from the Haxiom logo */
  --void: #05060b;        /* page */
  --graphite: #0f121c;    /* solid surface */
  --frost: #f3f5fb;       /* primary text */
  --mist: #a7aec0;        /* secondary text */
  --mist-2: #80889c;      /* tertiary text */
  --cyan: #0aabfa;        /* logo, top-left */
  --azure: #4b72fa;       /* logo, middle */
  --violet: #9732f8;      /* logo, bottom-right */
  --hairline: rgb(255 255 255 / .09);
  --grad: linear-gradient(120deg, var(--cyan), var(--azure) 52%, var(--violet));

  /* Type */
  --display: "Hubot Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Shape — radii nest concentrically (inner = outer − padding) */
  --r-xl: 40px;
  --r-l: 30px;
  --r-m: 20px;
  --r-s: 14px;

  /* Layout */
  --max: 1160px;
  --gutter: clamp(16px, 5vw, 48px);
  --section: clamp(64px, 8vw, 112px);

  /* Motion */
  --spring: cubic-bezier(.32, 1.4, .52, 1);
  --out: cubic-bezier(.2, .9, .25, 1);

  /* Glass */
  --glass-fill: linear-gradient(180deg, rgb(255 255 255 / .075), rgb(255 255 255 / .025) 60%), rgb(14 17 27 / .42);
  --glass-blur: blur(26px) saturate(175%);
  --glass-edge: inset 0 1px 0 rgb(255 255 255 / .14), inset 0 0 0 1px rgb(255 255 255 / .05);
  --glass-drop: 0 30px 70px -34px rgb(0 0 0 / .85);
}

/* ---------- Base ---------- */

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

html {
  background: var(--void);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--frost);
  font: 400 17px/1.47 var(--text);
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img,
svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

button,
input,
textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, p { margin: 0; }

::selection { background: rgb(75 114 250 / .5); color: #fff; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.sr-only {
  position: absolute !important;
  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;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--frost);
  color: var(--void);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .3s var(--out);
}
.skip-link:focus-visible { transform: none; }

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

/* ---------- Page transitions: tabs swap like an app's tab bar ---------- */

@view-transition { navigation: auto; }

::view-transition-group(nav-pill) {
  animation-duration: .55s;
  animation-timing-function: var(--spring);
}
::view-transition-old(root) { animation-duration: .2s; }
::view-transition-new(root) { animation-duration: .32s; }

/* ---------- Ambient light ---------- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(34% 30% at 16% 10%, rgb(10 171 250 / .2), transparent 72%),
    radial-gradient(38% 34% at 88% 94%, rgb(151 50 248 / .22), transparent 72%),
    radial-gradient(26% 24% at 76% 34%, rgb(75 114 250 / .07), transparent 70%);
}

/* Fine grain keeps the dark gradients from banding. */
.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Liquid glass ---------- */

.glass {
  position: relative;
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge), var(--glass-drop);
}

/* Specular rim: bright where the cyan light hits (top-left), a violet
   glint where the far light catches (bottom-right). */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(150deg,
    rgb(196 232 255 / .5),
    rgb(255 255 255 / .12) 18%,
    rgb(255 255 255 / .02) 40%,
    rgb(255 255 255 / .02) 64%,
    rgb(176 116 255 / .2) 86%,
    rgb(176 116 255 / .46));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

/* Chromium only: the displacement map from main.js bends what's behind. */
.has-refraction [data-refract] {
  -webkit-backdrop-filter: var(--refract) blur(7px) saturate(185%) brightness(1.04);
  backdrop-filter: var(--refract) blur(7px) saturate(185%) brightness(1.04);
}

/* ---------- Buttons and links ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font: 600 17px/1 var(--text);
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .45s var(--spring), box-shadow .25s, background-color .25s, filter .25s;
}
.btn:active { transform: scale(.95); }

.btn--tint {
  color: #fff;
  background: linear-gradient(125deg, rgb(10 171 250 / .92), rgb(75 114 250 / .92) 50%, rgb(151 50 248 / .92));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .45),
    inset 0 -1px 1px rgb(0 0 0 / .12),
    inset 0 0 0 1px rgb(255 255 255 / .1),
    0 12px 32px -12px rgb(75 114 250 / .75);
}
.btn--tint:hover { filter: brightness(1.08) saturate(1.05); }

.btn--glass {
  color: var(--frost);
  background: linear-gradient(180deg, rgb(255 255 255 / .12), rgb(255 255 255 / .05));
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .24),
    inset 0 0 0 1px rgb(255 255 255 / .09),
    0 10px 30px -14px rgb(0 0 0 / .8);
}
.btn--glass:hover { background-color: rgb(255 255 255 / .06); }

.btn--sm { height: 44px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--frost);
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
}
.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform .35s var(--spring);
}
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Navigation: a floating glass tab bar ---------- */

.nav-wrap {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top));
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-inline: 12px;
  pointer-events: none;
}

.nav {
  --nav-h: 58px;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(100%, 1080px);
  min-height: var(--nav-h);
  padding: 7px 7px 7px 18px;
  border-radius: calc(var(--nav-h) / 2);
  transition: background-color .3s, box-shadow .3s, border-radius .45s var(--out);
}
.nav.is-scrolled { background-color: rgb(12 14 22 / .52); }

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: 8px;
  text-decoration: none;
  border-radius: 10px;
}
.nav__mark { width: auto; height: 27px; }
.nav__word { width: auto; height: 12px; }

.nav__drawer { margin-inline: auto; }

.nav__links {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__tab {
  position: relative;
  isolation: isolate;
  display: block;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--mist);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s, background-color .25s;
}
.nav__tab:hover { color: var(--frost); background-color: rgb(255 255 255 / .05); }
.nav__tab[aria-current="page"] { color: var(--frost); }
.nav__tab[aria-current="page"]:hover { background-color: transparent; }

/* The current tab's glass pill. Between pages it slides to the new tab
   (view transitions), like selecting a tab in an app's tab bar. */
.nav__pill {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgb(255 255 255 / .14), rgb(255 255 255 / .05));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), inset 0 0 0 1px rgb(255 255 255 / .07);
  view-transition-name: nav-pill;
}

.nav__cta { flex-shrink: 0; }
.nav__cta[aria-current="page"] { box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .55), 0 12px 32px -12px rgb(75 114 250 / .75); }

.nav__toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / .07);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), inset 0 0 0 1px rgb(255 255 255 / .06);
  cursor: pointer;
}
.nav__toggle span {
  grid-area: 1 / 1;
  width: 16px;
  height: 1.75px;
  border-radius: 2px;
  background: var(--frost);
  transition: transform .45s var(--spring);
}
.nav__toggle span:first-child { transform: translateY(-3.5px); }
.nav__toggle span:last-child { transform: translateY(3.5px); }
.nav.is-open .nav__toggle span:first-child { transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav {
    flex-wrap: wrap;
    width: min(100%, 560px);
    padding-left: 16px;
    column-gap: 6px;
  }
  .nav.is-open { border-radius: 26px; }
  .nav__brand { margin-right: auto; }
  .nav__toggle { display: grid; }

  .nav__drawer {
    order: 3;
    flex-basis: 100%;
    display: grid;
    grid-template-rows: 0fr;
    margin: 0;
    transition: grid-template-rows .5s var(--out);
  }
  .nav.is-open .nav__drawer { grid-template-rows: 1fr; }

  .nav__links {
    flex-direction: column;
    gap: 2px;
    min-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: visibility 0s .5s;
  }
  .nav.is-open .nav__links {
    padding: 10px 0 2px;
    visibility: visible;
    transition: none;
  }
  .nav__tab {
    padding: 13px 14px;
    border-radius: 16px;
    color: var(--frost);
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .nav__word { display: none; }
}

/* ---------- Shared type ---------- */

.eyebrow {
  width: fit-content;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 13px;
  font-stretch: 125%;
  font-weight: 650;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.label {
  color: var(--mist-2);
  font-family: var(--display);
  font-size: 12px;
  font-stretch: 125%;
  font-weight: 650;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding-block: var(--section);
}
.section--first { padding-top: 0; }

.section-head {
  max-width: 780px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}
.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  max-width: none;
}
.section-head--row > div { max-width: 780px; }

.section-title {
  font-family: var(--display);
  font-size: clamp(34px, 4.8vw, 60px);
  font-stretch: 116%;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.032em;
  text-wrap: balance;
}

.section-lede {
  max-width: 60ch;
  margin-top: 20px;
  color: var(--mist);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.45;
  text-wrap: pretty;
}

.card-title {
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 26px);
  font-stretch: 112%;
  font-weight: 680;
  line-height: 1.12;
  letter-spacing: -.022em;
}

.muted { color: var(--mist); }

.prose p {
  color: var(--mist);
  font-size: clamp(17px, 1.4vw, 19px);
  text-wrap: pretty;
}
.prose p + p { margin-top: 16px; }

/* ---------- Page header (inner pages) ---------- */

.page-hero {
  padding-top: clamp(136px, 19vh, 188px);
  padding-bottom: clamp(48px, 7vw, 88px);
}
.page-title {
  max-width: 15ch;
  font-family: var(--display);
  font-size: clamp(44px, 6.6vw, 88px);
  font-stretch: 118%;
  font-weight: 720;
  line-height: .98;
  letter-spacing: -.036em;
  text-wrap: balance;
}
.page-lede {
  max-width: 54ch;
  margin-top: 24px;
  color: var(--mist);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  text-wrap: pretty;
}
.page-lede a { color: var(--frost); }

.page-hero > * { animation: rise .8s var(--out) both; }
.page-hero > :nth-child(2) { animation-delay: .05s; }
.page-hero > :nth-child(3) { animation-delay: .1s; }
.page-hero > :nth-child(4) { animation-delay: .15s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
}

/* ---------- Home hero: mission on the left, the Haxiom mark on the right ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  min-height: 100vh;
  min-height: min(100svh, 960px);
  padding-top: clamp(112px, 15vh, 140px);
  padding-bottom: clamp(48px, 8vh, 88px);
}

.hero__copy > * { animation: rise 1s var(--out) both; }
.hero__copy > :nth-child(2) { animation-delay: .07s; }
.hero__copy > :nth-child(3) { animation-delay: .14s; }
.hero__copy > :nth-child(4) { animation-delay: .21s; }
.hero__copy > :nth-child(5) { animation-delay: .28s; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 12px 0 14px;
  border-radius: 999px;
  color: var(--mist);
  font-size: 14px;
  text-decoration: none;
  transition: transform .45s var(--spring);
}
.status-pill:active { transform: scale(.96); }
.status-pill strong { color: var(--frost); font-weight: 600; }
.status-pill svg { width: 14px; height: 14px; color: var(--mist-2); }

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--cyan);
  animation: ping 2.4s var(--out) infinite;
}

@keyframes ping {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(3); opacity: 0; }
}

.hero__title {
  margin-top: clamp(20px, 3vh, 28px);
  font-family: var(--display);
  font-size: clamp(44px, min(5.3vw, 10vh), 78px);
  font-stretch: 116%;
  font-weight: 720;
  line-height: .98;
  letter-spacing: -.038em;
  text-wrap: balance;
}

.hero__lede {
  max-width: 31em;
  margin-top: clamp(18px, 3vh, 26px);
  color: var(--mist);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.45;
  text-wrap: pretty;
}

.hero .actions { margin-top: clamp(26px, 4.5vh, 36px); }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--mist);
  font-size: 14px;
  list-style: none;
}
.hero__facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--grad);
}

/* The mark: the logo's own H, lit from behind, drifting gently. */
.hero__art {
  position: relative;
  justify-self: center;
  width: min(100%, 360px);
}
.hero__glow {
  position: absolute;
  inset: -16%;
  background: url("../img/haxiom-mark.png") center / 66% no-repeat;
  filter: blur(64px) saturate(1.5);
  opacity: .85;
  pointer-events: none;
}
.hero__float {
  position: relative;
  animation: drift 10s ease-in-out infinite;
}
.hero__parallax {
  position: relative;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}
.hero__mark {
  width: 100%;
  filter: drop-shadow(0 40px 50px rgb(0 0 0 / .45));
}
/* A glassy highlight that slides across the mark with the pointer. */
.hero__sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgb(255 255 255 / .34) 50%, transparent 60%) no-repeat;
  background-size: 300% 100%;
  background-position: var(--sx, 30%) 0;
  -webkit-mask: url("../img/haxiom-mark@4x.png") center / 100% 100% no-repeat;
  mask: url("../img/haxiom-mark@4x.png") center / 100% 100% no-repeat;
  mix-blend-mode: overlay;
  pointer-events: none;
}

@keyframes drift {
  0%, 100% { transform: translateY(-7px); }
  50% { transform: translateY(9px); }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    min-height: 0;
    padding-top: 108px;
    text-align: center;
  }
  .hero__art { order: -1; width: clamp(128px, 30vw, 200px); }
  .hero__copy { display: grid; justify-items: center; }
  .hero .actions,
  .hero__facts { justify-content: center; }
}

/* ---------- Statement (mission) ---------- */

.statement {
  display: grid;
  justify-items: start;
  gap: 20px;
  padding: clamp(28px, 4.4vw, 60px);
  border-radius: var(--r-xl);
}
.statement .eyebrow { margin-bottom: 0; }
.split .statement__text { font-size: clamp(24px, 2.6vw, 34px); }
.statement__text {
  max-width: 26ch;
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 46px);
  font-stretch: 112%;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.026em;
  text-wrap: balance;
}

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 28px 30px;
  border-radius: var(--r-l);
}
.card .card-title { margin-top: 36px; }
.card__text { margin-top: 10px; color: var(--mist); text-wrap: pretty; }
.card__action { margin-top: auto; padding-top: 24px; }

.card__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgb(255 255 255 / .12), rgb(255 255 255 / .04));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), inset 0 0 0 1px rgb(255 255 255 / .07);
}
.card__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: url(#brand-stroke);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Split and feature rows ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
}
.split--top { align-items: start; }
.split .section-head { margin-bottom: 0; }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  scroll-margin-top: 110px;
}
.feature + .feature { margin-top: clamp(72px, 9vw, 128px); }
.feature--flip .feature__media { order: -1; }

.feature__title {
  margin-top: 28px;
  font-family: var(--display);
  font-size: clamp(32px, 3.8vw, 48px);
  font-stretch: 116%;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.03em;
}
.feature__text {
  max-width: 46ch;
  margin-top: 16px;
  color: var(--mist);
  font-size: clamp(17px, 1.4vw, 19px);
  text-wrap: pretty;
}
.feature .text-link { margin-top: 24px; }

.feature__media,
.list-card {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-xl);
}
.feature__media .label { margin-bottom: 22px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips li {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgb(255 255 255 / .09), rgb(255 255 255 / .03));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), inset 0 0 0 1px rgb(255 255 255 / .06);
  font-size: 15px;
  font-weight: 500;
}

.checks {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checks li {
  position: relative;
  padding-left: 32px;
}
.checks li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm4.3 7.2-5 6a.9.9 0 0 1-1.3.1l-2.6-2.5a.9.9 0 1 1 1.2-1.3l1.9 1.8 4.4-5.3a.9.9 0 0 1 1.4 1.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm4.3 7.2-5 6a.9.9 0 0 1-1.3.1l-2.6-2.5a.9.9 0 1 1 1.2-1.3l1.9 1.8 4.4-5.3a.9.9 0 0 1 1.4 1.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Our name: hack + axiom ---------- */

.name-card {
  display: grid;
  justify-items: start;
  gap: 22px;
  padding: clamp(28px, 4.4vw, 60px);
  border-radius: var(--r-xl);
}
.name-card .eyebrow { margin-bottom: 0; }
.equation {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .05em .3em;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 64px);
  font-stretch: 125%;
  font-weight: 720;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.equation__op { color: var(--mist-2); font-weight: 450; }
.equation__result {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.name-card__text {
  max-width: 52ch;
  color: var(--mist);
  font-size: clamp(17px, 1.5vw, 20px);
}

/* ---------- Values: axioms ---------- */

.axioms {
  margin: 0;
  padding: 6px clamp(22px, 3.4vw, 44px);
  border-radius: var(--r-xl);
  list-style: none;
}

.axiom {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px 32px;
  align-items: baseline;
  padding-block: clamp(26px, 3.2vw, 38px);
}
.axiom + .axiom { border-top: 1px solid var(--hairline); }

.axiom__num {
  font-family: var(--display);
  font-size: 14px;
  font-stretch: 125%;
  font-weight: 650;
  letter-spacing: .1em;
  color: var(--mist-2);
}

.axiom__title {
  font-family: var(--display);
  font-size: clamp(25px, 2.7vw, 36px);
  font-stretch: 112%;
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -.028em;
}

.axiom__text { color: var(--mist); text-wrap: pretty; }

/* Q.E.D. — the tombstone that closes a proof. */
.qed {
  display: inline-block;
  width: .62em;
  height: .62em;
  margin-left: .4em;
  border-radius: 2px;
  background: var(--grad);
  vertical-align: -.02em;
}

/* ---------- Rows (definition lists in a glass panel) ---------- */

.rows {
  margin: 0;
  padding: 6px clamp(22px, 3.4vw, 44px);
  border-radius: var(--r-xl);
}
.row {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 8px 32px;
  align-items: baseline;
  padding-block: clamp(22px, 2.6vw, 30px);
}
.row + .row { border-top: 1px solid var(--hairline); }
.row dt {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 24px);
  font-stretch: 112%;
  font-weight: 680;
  letter-spacing: -.02em;
}
.row dd { margin: 0; color: var(--mist); }

/* ---------- Events ---------- */

.events {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.pass {
  --notch: 15px;
  position: sticky;
  top: 104px;
}

.pass__main,
.pass__stub {
  padding: 26px clamp(22px, 2.6vw, 30px);
}

.pass__main {
  padding-bottom: 30px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), inset 1px 0 0 rgb(255 255 255 / .06), inset -1px 0 0 rgb(255 255 255 / .06);
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 100%, #0000 97%, #000),
    radial-gradient(circle var(--notch) at 100% 100%, #0000 97%, #000);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle var(--notch) at 0 100%, #0000 97%, #000) intersect,
    radial-gradient(circle var(--notch) at 100% 100%, #0000 97%, #000);
}

.pass__stub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  flex-wrap: wrap;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  box-shadow: inset 0 -1px 0 rgb(255 255 255 / .06), inset 1px 0 0 rgb(255 255 255 / .06), inset -1px 0 0 rgb(255 255 255 / .06), var(--glass-drop);
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 0, #0000 97%, #000),
    radial-gradient(circle var(--notch) at 100% 0, #0000 97%, #000);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle var(--notch) at 0 0, #0000 97%, #000) intersect,
    radial-gradient(circle var(--notch) at 100% 0, #0000 97%, #000);
}
.pass__main::before,
.pass__stub::before { content: none; }

/* Perforation */
.pass__stub::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(var(--notch) + 10px);
  right: calc(var(--notch) + 10px);
  border-top: 2px dashed rgb(255 255 255 / .13);
}

/* A pass without a tear-off stub. */
.pass--solo { position: static; }
.pass--solo .pass__main {
  border-radius: var(--r-xl);
  box-shadow: var(--glass-edge), var(--glass-drop);
  -webkit-mask: none;
  mask: none;
}
.pass--solo .pass__main::before { content: ""; }

.pass__note {
  max-width: 24ch;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.4;
}

.pass__header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pass__mark { width: auto; height: 26px; }
.pass__word { width: auto; height: 11px; }
.pass__kind { margin-left: auto; color: var(--mist); }

.pass__primary { margin-top: 44px; }
.pass__value {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(32px, 3.6vw, 44px);
  font-stretch: 116%;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
}

.pass__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
  margin: 34px 0 0;
}
.pass__fields dd {
  margin: 6px 0 0;
  font-size: 17px;
  font-weight: 500;
}

.timeline-title { margin-bottom: 28px; }

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 9px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--cyan), var(--azure), var(--violet));
  opacity: .55;
}

.timeline li {
  --c: color-mix(in oklab, var(--cyan), var(--violet) calc(var(--i) * 20%));
  position: relative;
  padding: 0 0 30px 46px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--void);
  box-shadow: inset 0 0 0 2px var(--c), 0 0 16px -2px var(--c);
}
.timeline li::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c);
}

.timeline h3 {
  font-family: var(--display);
  font-size: 20px;
  font-stretch: 112%;
  font-weight: 680;
  letter-spacing: -.015em;
}
.timeline p { margin-top: 4px; color: var(--mist); }

.empty {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-xl);
}
.empty .card__icon { margin-bottom: 14px; }
.empty__title {
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-stretch: 112%;
  font-weight: 680;
  letter-spacing: -.02em;
}
.empty__text { max-width: 50ch; color: var(--mist); }

/* ---------- Founders ---------- */

.founders {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.founder {
  padding: 10px 10px 24px;
  border-radius: var(--r-l);
}

/* Photo slot. Until a photo is added, it shows initials over a slice of
   the logo gradient — the three slots together make one continuous sweep. */
.founder__photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: calc(var(--r-l) - 10px);
  background: linear-gradient(115deg, var(--cyan), var(--azure) 50%, var(--violet)) calc(var(--slice) * 50%) 50% / 300% 100%;
}
.founder__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 25% 0%, rgb(255 255 255 / .22), transparent 60%),
    linear-gradient(180deg, rgb(5 6 11 / .26), rgb(5 6 11 / .68));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .3), inset 0 0 0 1px rgb(255 255 255 / .1);
  border-radius: inherit;
  pointer-events: none;
}
.founder__photo img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder__initials {
  position: relative;
  z-index: 1;
  color: rgb(255 255 255 / .94);
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 92px);
  font-stretch: 125%;
  font-weight: 700;
  letter-spacing: -.02em;
  text-shadow: 0 6px 30px rgb(5 6 11 / .35);
}
.founder__photo:has(img) .founder__initials { display: none; }

.founder__meta { padding: 20px 14px 0; }
.founder__name {
  font-family: var(--display);
  font-size: 23px;
  font-stretch: 112%;
  font-weight: 680;
  letter-spacing: -.02em;
}
.founder__role { margin-top: 4px; color: var(--mist); font-size: 15px; }
.founder__bio { margin-top: 12px; color: var(--mist); font-size: 15px; line-height: 1.5; }
.founder__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.founder__links a {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / .07);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s;
}
.founder__links a:hover { background: rgb(255 255 255 / .12); }

/* ---------- Sponsors ---------- */

.sponsor-wall__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 18px;
}
.sponsor-wall__head p { color: var(--mist-2); font-size: 15px; }

.sponsor-wall__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sponsor-slot {
  display: grid;
  place-items: center;
  height: 104px;
  border-radius: var(--r-m);
  border: 1.5px dashed rgb(255 255 255 / .14);
  color: var(--mist-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .25s, color .25s, background-color .25s;
}
.sponsor-slot:hover {
  border-color: rgb(255 255 255 / .3);
  background: rgb(255 255 255 / .03);
  color: var(--frost);
}

.nonprofit-note {
  margin-top: 28px;
  color: var(--mist-2);
  font-size: 14px;
}

/* ---------- Call-to-action band ---------- */

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 48px;
  padding: clamp(28px, 4.4vw, 56px);
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 120% at 100% 100%, rgb(151 50 248 / .26), transparent 62%),
    radial-gradient(45% 100% at 0% 0%, rgb(10 171 250 / .14), transparent 62%);
  pointer-events: none;
}
.cta-band__title {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 46px);
  font-stretch: 116%;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.cta-band__text {
  max-width: 54ch;
  margin-top: 12px;
  color: var(--mist);
  text-wrap: pretty;
}
.cta-band__text a { color: var(--frost); }
.cta-band .actions { margin-top: 0; }

/* ---------- FAQ ---------- */

.faq-groups {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
}
.faq-group { scroll-margin-top: 110px; }
.faq-group__title {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 30px);
  font-stretch: 114%;
  font-weight: 700;
  letter-spacing: -.025em;
}

.faq__list {
  padding: 4px clamp(20px, 2.6vw, 32px);
  border-radius: var(--r-xl);
}

.faq__item + .faq__item { border-top: 1px solid var(--hairline); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.015em;
  list-style: none;
  cursor: pointer;
  border-radius: 8px;
}
.faq__item summary::-webkit-details-marker { display: none; }

.faq__icon {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgb(255 255 255 / .07);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), inset 0 0 0 1px rgb(255 255 255 / .05);
  transition: transform .5s var(--spring), background-color .25s;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  grid-area: 1 / 1;
  width: 12px;
  height: 1.75px;
  border-radius: 2px;
  background: var(--frost);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(135deg); background-color: rgb(255 255 255 / .12); }
.faq__item summary:hover .faq__icon { background-color: rgb(255 255 255 / .12); }

.faq__answer {
  padding: 0 48px 24px 0;
  color: var(--mist);
}
.faq__answer a { color: var(--frost); }

@supports (interpolate-size: allow-keywords) {
  .faq__list { interpolate-size: allow-keywords; }
  .faq__item::details-content {
    height: 0;
    overflow: clip;
    transition: height .45s var(--out), content-visibility .45s allow-discrete;
  }
  .faq__item[open]::details-content { height: auto; }
}

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.contact-item {
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
}
.contact-item:first-child { padding-top: 0; border-top: 0; }
.contact-item .label { margin-bottom: 10px; }
.contact-item p { color: var(--mist); }
.contact-item a { color: var(--frost); }
.contact-item__value {
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.join-form {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 3vw, 34px);
  border-radius: var(--r-xl);
}

.form-legend {
  margin-bottom: -8px;
  color: var(--mist);
  font-size: 14px;
  font-weight: 600;
}

.segmented {
  position: relative;
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  min-width: 0;
  margin: 0;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: rgb(0 0 0 / .3);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / .45), inset 0 0 0 1px rgb(255 255 255 / .06);
}
.segmented label {
  position: relative;
  z-index: 1;
  cursor: pointer;
}
.segmented input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.segmented span {
  display: grid;
  place-items: center;
  height: 40px;
  padding: 0 6px;
  border-radius: 999px;
  color: var(--mist);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .25s;
}
.segmented label:hover span { color: var(--frost); }
.segmented input:checked + span { color: var(--frost); }
.segmented input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 0; }

.segmented__thumb {
  position: absolute;
  top: 4px;
  left: 0;
  width: var(--w, 0);
  height: calc(100% - 8px);
  border-radius: 999px;
  background: linear-gradient(180deg, rgb(255 255 255 / .2), rgb(255 255 255 / .08));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .34),
    inset 0 0 0 1px rgb(255 255 255 / .08),
    0 6px 16px -6px rgb(0 0 0 / .7);
  transform: translateX(var(--x, 0));
  transition: transform .55s var(--spring), width .55s var(--spring);
  pointer-events: none;
}
.segmented__thumb.is-instant { transition: none; }
/* A liquid squash as the thumb travels. */
.segmented__thumb.is-moving { animation: squash .55s var(--out); }
@keyframes squash {
  40% { scale: 1.08 .86; }
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 14px;
}

.field { display: grid; gap: 8px; }
.field label {
  color: var(--mist);
  font-size: 14px;
  font-weight: 600;
}
.field__hint { color: var(--mist-2); font-weight: 400; }

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: var(--r-s);
  background: rgb(0 0 0 / .28);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / .4), inset 0 0 0 1px rgb(255 255 255 / .08);
  color: var(--frost);
  font-size: 17px;
  line-height: 1.35;
  transition: box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--mist-2); }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: rgb(0 0 0 / .36);
  box-shadow: inset 0 0 0 1.5px var(--azure), 0 0 0 4px rgb(75 114 250 / .22);
}

.form-foot { display: grid; gap: 12px; }
.form-note { color: var(--mist-2); font-size: 14px; text-align: center; text-wrap: balance; }
.form-status:empty { display: none; }
.form-status {
  padding: 14px 16px;
  border-radius: var(--r-s);
  background: rgb(10 171 250 / .1);
  box-shadow: inset 0 0 0 1px rgb(10 171 250 / .28);
  font-size: 15px;
}
.form-status[data-tone="error"] {
  background: rgb(255 92 92 / .1);
  box-shadow: inset 0 0 0 1px rgb(255 92 92 / .35);
}
.form-status a { color: var(--frost); }

/* ---------- Footer ---------- */

.footer {
  position: relative;
  margin-top: var(--section);
  padding: clamp(56px, 7vw, 88px) 0 calc(36px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgb(5 6 11 / .2), rgb(5 6 11 / .75));
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 48px;
}

.footer__logo { width: 150px; }
.footer__tagline {
  max-width: 34ch;
  margin-top: 20px;
  color: var(--mist);
  font-size: 15px;
}

.newsletter { max-width: 400px; margin-top: 32px; }
.newsletter__label {
  display: block;
  margin-bottom: 12px;
  color: var(--frost);
  font-size: 15px;
  font-weight: 600;
}
.newsletter__row {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgb(0 0 0 / .3);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / .45), inset 0 0 0 1px rgb(255 255 255 / .08);
  transition: box-shadow .2s;
}
.newsletter__row:focus-within { box-shadow: inset 0 0 0 1.5px var(--azure), 0 0 0 4px rgb(75 114 250 / .22); }
.newsletter__row input {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  background: transparent;
  font-size: 16px;
}
.newsletter__row input:focus { outline: none; }
.newsletter__row input::placeholder { color: var(--mist-2); }
.newsletter__row .btn { height: 42px; }
.newsletter__status { margin-top: 10px; color: var(--mist); font-size: 14px; }
.newsletter__status:empty { display: none; }
.newsletter__status a { color: var(--frost); }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer__cols .label { margin-bottom: 16px; }
.footer__cols ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__cols a {
  color: var(--mist);
  font-size: 15px;
  text-decoration: none;
  transition: color .2s;
}
.footer__cols a:hover,
.footer__cols a[aria-current="page"] { color: var(--frost); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  color: var(--mist-2);
  font-size: 14px;
}
.footer__base a { color: var(--mist); text-decoration: none; }
.footer__base a:hover { color: var(--frost); }

/* ---------- Document pages (Code of Conduct, FAQ) ---------- */

.doc {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.doc__toc {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.doc__toc a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--mist);
  font-size: 15px;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.doc__toc a:hover { color: var(--frost); background: rgb(255 255 255 / .05); }

.doc__body { max-width: 720px; }
.doc-meta { margin-top: 18px; color: var(--mist-2); font-size: 15px; }

.doc__summary {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-xl);
}
.doc__summary .eyebrow { margin-bottom: 12px; }
.doc__summary-text { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.45; text-wrap: pretty; }

.doc__section { padding-top: 56px; scroll-margin-top: 96px; }
.doc__section h2 {
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 32px);
  font-stretch: 114%;
  font-weight: 700;
  letter-spacing: -.025em;
}
.doc__section > p { margin-top: 14px; color: var(--mist); }
.doc__section ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.doc__section li {
  position: relative;
  padding-left: 22px;
  color: var(--mist);
}
.doc__section li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--grad);
}
.doc__section strong { color: var(--frost); font-weight: 600; }
.doc__section a { color: var(--frost); }

/* ---------- 404 ---------- */

.lost {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px var(--gutter) 64px;
  text-align: center;
}
.lost__card {
  display: grid;
  justify-items: center;
  gap: 18px;
  width: min(100%, 560px);
  padding: clamp(32px, 6vw, 56px);
  border-radius: var(--r-xl);
}
.lost__code {
  font-family: var(--display);
  font-size: clamp(72px, 14vw, 128px);
  font-stretch: 125%;
  font-weight: 750;
  line-height: .9;
  letter-spacing: -.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lost__text { max-width: 36ch; color: var(--mist); }
.lost__card .btn { margin-top: 10px; }

/* ---------- Scroll reveal ---------- */

.reveal-ready .reveal {
  transition: opacity .9s var(--out), transform .9s var(--out);
}
.reveal-ready .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(22px);
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
  .axiom { grid-template-columns: 60px minmax(0, 1fr); }
  .axiom__text { grid-column: 2; }

  .events,
  .contact,
  .split,
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature--flip .feature__media { order: 0; }
  .pass { position: static; max-width: 560px; }

  .footer__top { grid-template-columns: minmax(0, 1fr); }

  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc__toc { display: none; }
}

@media (max-width: 900px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .sponsor-wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .founders { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .founder {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
    padding: 8px;
  }
  .founder__photo { border-radius: calc(var(--r-l) - 8px); }
  .founder__initials { font-size: 34px; }
  .founder__meta { padding: 0 12px 0 18px; }
  .founder__name { font-size: 21px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .cards--4 { grid-template-columns: minmax(0, 1fr); }
  .card .card-title { margin-top: 24px; }

  .hero .actions { flex-direction: column; align-self: stretch; }
  .hero .actions .btn { width: 100%; }

  .axioms { padding-inline: 20px; }
  .axiom { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .axiom__text { grid-column: auto; }

  .row { grid-template-columns: minmax(0, 1fr); }

  .pass__fields { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pass__stub .btn { width: 100%; }
  .pass__note { max-width: none; }

  .field-row { grid-template-columns: minmax(0, 1fr); }

  /* Many options don't fit one row on a phone: show them as chips instead. */
  .segmented {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    background: none;
    box-shadow: none;
  }
  .segmented__thumb { display: none; }
  .segmented span {
    height: 40px;
    padding: 0 16px;
    background: rgb(0 0 0 / .28);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08);
    transition: color .25s, background-color .25s, box-shadow .25s;
  }
  .segmented input:checked + span {
    background: linear-gradient(180deg, rgb(255 255 255 / .2), rgb(255 255 255 / .08));
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .34), inset 0 0 0 1px rgb(255 255 255 / .1);
  }

  .faq__answer { padding-right: 0; }

  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .status-dot::after { display: none; }
}

/* Reduce Transparency: keep the glass, but frost it so less shows through. */
@media (prefers-reduced-transparency: reduce) {
  :root {
    --glass-fill: linear-gradient(180deg, rgb(255 255 255 / .075), rgb(255 255 255 / .025) 60%), rgb(16 19 30 / .7);
    --glass-blur: blur(40px) saturate(160%);
  }
  .btn--glass { background-color: rgb(16 19 30 / .55); }
  .nav.is-scrolled { background-color: rgb(16 19 30 / .8); }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass,
  .btn--glass { background: var(--graphite); }
}
