.test-hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 77% 36%, rgba(169,119,232,.22), transparent 28%),
    radial-gradient(circle at 7% 92%, rgba(101,61,152,.23), transparent 31%),
    var(--ink);
}

.test-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .55;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000);
}

.test-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, .72fr);
  align-items: center;
  gap: clamp(52px, 8vw, 124px);
  min-height: 790px;
  padding-top: 154px;
  padding-bottom: 76px;
}

.test-hero-copy { animation: rise-in 850ms var(--ease) both; }
.test-hero-copy h1,
.test-heading-row h2,
.test-route-copy h2,
.before-layout h2,
.test-final h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  letter-spacing: -.065em;
}

.test-hero-copy h1 {
  max-width: 800px;
  margin-top: 28px;
  font-size: clamp(56px, 5.6vw, 91px);
  line-height: .98;
}

.test-hero-copy h1 em { display: block; color: var(--yellow); }
.test-hero-copy > p:not(.eyebrow) { max-width: 600px; margin-top: 32px; color: #d8d2e2; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.72; }
.test-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 30px; margin-top: 40px; }

.access-map {
  position: relative;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(216,192,255,.35);
  border-radius: 8px;
  background: rgba(62,38,91,.46);
  box-shadow: 20px 22px 0 rgba(169,119,232,.07), 0 40px 100px rgba(0,0,0,.22);
  animation: rise-in 850ms 120ms var(--ease) both;
  transform: rotate(1deg);
}

.access-map-top,
.access-map-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--purple-light);
  font-family: "Space Grotesk", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
}

.access-map-top { padding: 2px 3px 15px; }
.access-map-bottom { padding: 15px 3px 2px; color: #aaa0ba; }
.access-map-top > span:first-child { display: inline-flex; align-items: center; gap: 9px; color: var(--yellow); }
.access-map-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(248,204,85,.12); }

.access-map-board {
  position: relative;
  aspect-ratio: 1.18;
  overflow: hidden;
  border: 1px solid rgba(216,192,255,.28);
  background: radial-gradient(circle at 50% 50%, #472469, #211734 74%);
}

.access-map-board::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.07), transparent 39%); pointer-events: none; }
.access-map-board img { position: absolute; width: 116%; max-width: none; left: -8%; top: -25%; opacity: .25; filter: drop-shadow(0 0 12px rgba(169,119,232,.35)); }
.route-node { position: absolute; z-index: 2; display: grid; place-items: center; min-width: 58px; height: 32px; padding-inline: 9px; border: 1px solid var(--purple-light); border-radius: 2px; color: var(--cream); background: #2c1d42; font-family: "Space Grotesk", sans-serif; font-size: 8px; font-weight: 700; letter-spacing: .1em; box-shadow: 0 0 0 5px rgba(44,29,66,.8); }
.route-node-start { left: 9%; bottom: 12%; }
.route-node-play { left: 48%; top: 44%; transform: translate(-50%, -50%); }
.route-node-exit { right: 9%; top: 11%; color: var(--ink); border-color: var(--yellow); background: var(--yellow); }
.route-trace { position: absolute; z-index: 1; left: 18%; bottom: 23%; width: 64%; height: 53%; border-top: 2px dashed var(--yellow); border-right: 2px dashed var(--yellow); transform: skewY(-24deg); opacity: .85; }

.access-map-stats { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid rgba(216,192,255,.22); }
.access-map-stats div { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 19px 8px; }
.access-map-stats div + div { padding-left: 21px; border-left: 1px solid rgba(216,192,255,.22); }
.access-map-stats strong { color: var(--yellow); font-family: "Space Grotesk", sans-serif; font-size: 37px; font-weight: 600; letter-spacing: -.07em; line-height: 1; }
.access-map-stats span { color: #c9bed7; font-size: 9px; font-weight: 700; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; }

.test-hero-bottom { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; padding-bottom: 27px; color: #9187a6; font-family: "Space Grotesk", sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.test-hero-bottom > span:nth-child(2) { flex: 1; height: 1px; background: var(--light-line); }

.test-status { color: var(--ink); background: var(--yellow); }
.test-status-inner { min-height: 86px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 25px; }
.test-status-mark { font-size: 24px; }
.test-status p { font-size: 13px; line-height: 1.55; }
.test-status-label { padding: 9px 12px; border: 1px solid rgba(23,17,39,.35); font-family: "Space Grotesk", sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .13em; white-space: nowrap; }

.join-section { background: var(--cream); }
.test-heading-row { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: clamp(50px, 9vw, 130px); }
.test-heading-row h2,
.test-route-copy h2,
.before-layout h2 { margin-top: 22px; font-size: clamp(47px, 5.1vw, 74px); line-height: 1.04; }
.test-heading-row h2 em,
.before-layout h2 em { color: #8e5dba; }
.test-heading-row > p { max-width: 470px; padding-bottom: 7px; color: #625b6e; font-size: 15px; line-height: 1.7; }

.join-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 64px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.join-card { display: flex; min-width: 0; min-height: 500px; flex-direction: column; padding: 27px 29px 31px; border-right: 1px solid var(--line); }
.join-card:last-child { border-right: 0; }
.join-card-featured { position: relative; color: var(--cream); background: #2b1c41; box-shadow: inset 0 4px 0 var(--purple); }
.join-card-featured::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; background: radial-gradient(circle at 100% 0, rgba(169,119,232,.24), transparent 32%); }
.join-card-featured > * { position: relative; }
.join-card-meta { display: flex; justify-content: space-between; color: #755b9c; font-family: "Space Grotesk", sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.join-card-featured .join-card-meta { color: var(--purple-light); }
.join-card-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-top: 50px; border: 1px solid #bea7d8; border-radius: 50%; color: #8e5dba; font-family: "Space Grotesk", sans-serif; font-size: 29px; }
.join-card-featured .join-card-icon { color: var(--yellow); border-color: var(--yellow); }
.join-card h3 { margin-top: 25px; font-family: "Space Grotesk", sans-serif; font-size: 25px; font-weight: 600; letter-spacing: -.045em; }
.join-card p { margin: 13px 0 29px; color: #625b6e; font-size: 14px; line-height: 1.68; }
.join-card-featured p { color: #c9bed7; }
.join-card .button { width: 100%; gap: 18px; margin-top: auto; padding-inline: 17px; text-align: center; }
.test-button-dark { color: var(--cream); background: var(--ink); box-shadow: 7px 7px 0 rgba(23,17,39,.11); }
.test-button-dark:hover { color: var(--ink); background: var(--yellow); box-shadow: 9px 9px 0 rgba(23,17,39,.13); }

.access-note { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; margin-top: 25px; padding: 19px 24px; border: 1px solid #c9b8d9; background: #eee8f2; }
.access-note-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--cream); background: #7a50a3; font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.access-note p { color: #53475d; font-size: 13px; line-height: 1.65; }

.test-route { position: relative; overflow: hidden; color: var(--cream); background: #271a3b; }
.test-route::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 8% 90%, rgba(169,119,232,.19), transparent 34%), repeating-linear-gradient(0deg, transparent 0 70px, rgba(255,255,255,.014) 71px 72px); }
.test-route-layout { position: relative; display: grid; grid-template-columns: .78fr 1.22fr; align-items: start; gap: clamp(70px, 10vw, 150px); }
.test-route-copy { position: sticky; top: 35px; }
.test-route .section-kicker { color: var(--purple-light); }
.test-route-copy h2 em { color: var(--yellow); }
.test-route-copy > p:not(.section-kicker) { max-width: 430px; margin-top: 25px; color: #c9bed7; font-size: 16px; line-height: 1.72; }
.test-route-copy .text-link { margin-top: 33px; }
.test-checklist { border-top: 1px solid var(--light-line); }
.test-checklist article { display: grid; grid-template-columns: 32px 1fr 44px; align-items: center; gap: 23px; min-height: 145px; padding: 24px 0; border-bottom: 1px solid var(--light-line); }
.test-checklist article > span { align-self: start; padding-top: 7px; color: var(--purple-light); font-family: "Space Grotesk", sans-serif; font-size: 11px; }
.test-checklist h3 { font-family: "Space Grotesk", sans-serif; font-size: 24px; font-weight: 500; letter-spacing: -.04em; }
.test-checklist p { max-width: 510px; margin-top: 8px; color: #c6bcd1; font-size: 14px; line-height: 1.6; }
.test-checklist i { justify-self: end; color: var(--yellow); font-family: "Space Grotesk", sans-serif; font-size: 32px; font-style: normal; }

.before-section { background: var(--cream-deep); }
.before-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(65px, 9vw, 130px); align-items: start; }
.before-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.before-grid article { min-height: 285px; padding: 24px 23px 28px 0; border-bottom: 1px solid var(--line); }
.before-grid article + article { padding-left: 23px; border-left: 1px solid var(--line); }
.before-grid strong { color: #684287; font-family: "Space Grotesk", sans-serif; font-size: 11px; letter-spacing: .1em; }
.before-grid h3 { margin-top: 62px; font-family: "Space Grotesk", sans-serif; font-size: 21px; font-weight: 600; letter-spacing: -.04em; }
.before-grid p { margin-top: 12px; color: #625b6e; font-size: 14px; line-height: 1.65; }

.test-final { position: relative; overflow: hidden; padding-block: clamp(90px, 10vw, 145px); background: var(--yellow); }
.test-final::before,
.test-final::after { content: ""; position: absolute; width: 410px; height: 410px; border: 1px solid rgba(23,17,39,.15); border-radius: 50%; pointer-events: none; }
.test-final::before { left: -240px; top: -245px; box-shadow: 0 0 0 55px rgba(23,17,39,.035), 0 0 0 110px rgba(23,17,39,.025); }
.test-final::after { right: -250px; bottom: -270px; box-shadow: 0 0 0 65px rgba(23,17,39,.035), 0 0 0 125px rgba(23,17,39,.025); }
.test-final-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 60px; }
.test-final .section-kicker { color: #594326; }
.test-final h2 { margin-top: 19px; font-size: clamp(49px, 6vw, 84px); line-height: 1.01; }
.test-final h2 em { color: #67428c; }
.test-final p:not(.section-kicker) { margin-top: 20px; font-size: 16px; }
.test-final .button { min-width: 235px; }

@media (max-width: 1100px) {
  .test-hero-layout { grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr); gap: 43px; }
  .test-hero-copy h1 { font-size: clamp(52px, 5.6vw, 72px); }
  .join-card { padding-inline: 22px; }
  .join-card h3 { font-size: 22px; }
  .before-layout { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 820px) {
  .test-hero-layout { grid-template-columns: 1fr; min-height: auto; padding-top: 78px; gap: 55px; }
  .test-hero-copy h1 { max-width: 730px; font-size: clamp(58px, 10vw, 84px); }
  .access-map { width: min(100%, 580px); justify-self: center; }
  .test-heading-row { grid-template-columns: 1fr; gap: 25px; }
  .join-grid { grid-template-columns: 1fr; }
  .join-card { min-height: auto; padding: 28px 29px 31px; border-right: 0; border-bottom: 1px solid var(--line); }
  .join-card:last-child { border-bottom: 0; }
  .join-card-icon { margin-top: 30px; }
  .join-card .button { width: auto; align-self: flex-start; margin-top: 5px; }
  .test-route-layout { grid-template-columns: 1fr; gap: 60px; }
  .test-route-copy { position: static; }
  .test-final-inner { grid-template-columns: 1fr; align-items: start; gap: 38px; }
  .test-final .button { justify-self: start; }
}

@media (max-width: 600px) {
  .test-hero-layout { padding-top: 60px; padding-bottom: 58px; }
  .test-hero-copy h1 { font-size: clamp(42px, 11.5vw, 64px); }
  .test-hero-copy > p:not(.eyebrow) { margin-top: 24px; font-size: 16px; }
  .access-map { padding: 11px; transform: none; box-shadow: 11px 13px 0 rgba(169,119,232,.07); }
  .access-map-board { aspect-ratio: 1.05; }
  .access-map-top, .access-map-bottom { font-size: 7px; }
  .access-map-stats div { display: block; padding-block: 15px; }
  .access-map-stats strong, .access-map-stats span { display: block; }
  .access-map-stats span { margin-top: 5px; }
  .route-node { min-width: 49px; height: 29px; font-size: 7px; }
  .test-status-inner { grid-template-columns: auto 1fr; padding-block: 17px; }
  .test-status-label { grid-column: 2; justify-self: start; }
  .test-heading-row h2, .test-route-copy h2, .before-layout h2 { font-size: clamp(41px, 10.5vw, 59px); }
  .join-grid { margin-top: 43px; }
  .join-card { padding-inline: 20px; }
  .join-card .button { width: 100%; }
  .access-note { grid-template-columns: 1fr; }
  .test-checklist article { grid-template-columns: 25px 1fr 26px; gap: 13px; }
  .test-checklist h3 { font-size: 21px; }
  .test-checklist i { font-size: 25px; }
  .before-grid { grid-template-columns: 1fr; }
  .before-grid article, .before-grid article + article { min-height: auto; padding: 23px 0 28px; border-left: 0; }
  .before-grid h3 { margin-top: 27px; }
  .test-final h2 { font-size: clamp(43px, 11vw, 65px); }
  .test-final .button { width: 100%; }
}
