:root {
  --night: #11130f;
  --deep: #182118;
  --turf: #0e6b3c;
  --acid: #d9ff3f;
  --chalk: #f4f0df;
  --paper: #ebe5d1;
  --orange: #ff5e1f;
  --blue: #28a8ff;
  --ink-soft: rgba(244, 240, 223, 0.72);
  --line-dark: rgba(244, 240, 223, 0.18);
  --line-light: rgba(17, 19, 15, 0.16);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--night);
  background: var(--paper);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

svg {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: fixed;
  top: 16px;
  right: 16px;
  left: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  max-width: 1320px;
  min-height: 58px;
  margin: 0 auto;
  padding: 8px;
  color: var(--chalk);
  background: rgba(17, 19, 15, 0.74);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding-right: 12px;
  font-weight: 950;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--night);
  background: var(--acid);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 950;
}

.brand-lockup span:last-child {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a,
.nav-toggle {
  min-height: 42px;
  border-radius: 6px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 850;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--night);
  background: var(--acid);
  outline: none;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  margin-left: auto;
  color: var(--chalk);
  background: transparent;
  border: 1px solid var(--line-dark);
  cursor: pointer;
}

.lab-hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  color: var(--chalk);
  background:
    linear-gradient(90deg, rgba(17, 19, 15, 0.98), rgba(17, 19, 15, 0.88)),
    repeating-linear-gradient(90deg, transparent 0 74px, rgba(244, 240, 223, 0.05) 74px 75px),
    repeating-linear-gradient(0deg, transparent 0 74px, rgba(244, 240, 223, 0.05) 74px 75px),
    var(--night);
}

.lab-hero::before {
  position: absolute;
  top: -20%;
  right: -8%;
  width: 56vw;
  height: 120vh;
  content: "";
  background: var(--turf);
  clip-path: polygon(24% 0, 100% 0, 78% 100%, 0 100%);
  opacity: 0.7;
}

.scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 45%, rgba(217, 255, 63, 0.08) 45% 46%, transparent 46%),
    linear-gradient(0deg, transparent 0 97%, rgba(244, 240, 223, 0.05) 97% 100%);
  background-size: auto, 100% 9px;
  mix-blend-mode: screen;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 86px minmax(310px, 0.82fr) minmax(410px, 1.1fr) minmax(260px, 0.56fr);
  gap: 20px;
  align-items: end;
  width: min(1340px, calc(100% - 32px));
  min-height: 92svh;
  margin: 0 auto;
  padding: 112px 0 54px;
}

.hero-index {
  display: grid;
  align-self: stretch;
  align-content: end;
  gap: 14px;
  padding-bottom: 8px;
  color: rgba(244, 240, 223, 0.52);
  font-size: 0.77rem;
  font-weight: 900;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-index span {
  padding: 12px 0;
  border-right: 2px solid var(--line-dark);
}

.hero-copy {
  max-width: 620px;
  padding-bottom: 8px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--acid);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--turf);
}

.eyebrow.light {
  color: var(--acid);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: 4.35rem;
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.45rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.track-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(460px, 100%);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  overflow: hidden;
}

.track-button {
  min-height: 52px;
  color: var(--chalk);
  background: rgba(244, 240, 223, 0.05);
  border: 0;
  border-right: 1px solid var(--line-dark);
  cursor: pointer;
  font-weight: 950;
}

.track-button:last-child {
  border-right: 0;
}

.track-button:hover,
.track-button:focus-visible,
.track-button.is-active {
  color: var(--night);
  background: var(--acid);
  outline: none;
}

.field-frame {
  position: relative;
  align-self: center;
  min-width: 0;
  margin: 0;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.42));
}

.field-frame::before,
.field-frame::after {
  position: absolute;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.field-frame::before {
  inset: -12px;
  border: 1px solid rgba(244, 240, 223, 0.3);
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
}

.field-frame::after {
  top: 18px;
  left: -18px;
  width: 70px;
  height: 70px;
  background:
    linear-gradient(90deg, var(--orange) 0 10px, transparent 10px),
    linear-gradient(0deg, var(--orange) 0 10px, transparent 10px);
}

.field-frame img {
  width: 100%;
  aspect-ratio: 1 / 1.14;
  object-fit: cover;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.field-frame figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  padding: 11px 12px;
  color: var(--chalk);
  background: rgba(17, 19, 15, 0.76);
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  backdrop-filter: blur(12px);
}

.field-frame figcaption span {
  color: rgba(244, 240, 223, 0.62);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.field-frame figcaption strong {
  text-align: right;
  font-size: 0.88rem;
}

.live-panel {
  align-self: stretch;
  display: grid;
  align-content: end;
  gap: 22px;
  min-width: 0;
  padding: 20px;
  background: rgba(244, 240, 223, 0.08);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
}

.panel-tag {
  margin: 0;
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.live-panel h2 {
  margin-bottom: 0;
  font-size: 1.9rem;
}

.live-panel p:not(.panel-tag) {
  margin: 0;
  color: var(--ink-soft);
}

.live-panel dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  overflow: hidden;
}

.live-panel dl div {
  min-width: 0;
  padding: 13px 10px;
  background: rgba(17, 19, 15, 0.62);
}

.live-panel dt {
  font-size: 1.25rem;
  font-weight: 950;
}

.live-panel dd {
  margin: 4px 0 0;
  color: rgba(244, 240, 223, 0.58);
  font-size: 0.72rem;
}

.action-link,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border-radius: 8px;
  font-weight: 950;
}

.action-link {
  color: var(--night);
  background: var(--acid);
}

.action-link:hover,
.action-link:focus-visible,
.submit-button:hover,
.submit-button:focus-visible {
  background: var(--chalk);
  outline: none;
}

.section-inner {
  width: min(1160px, calc(100% - 34px));
  margin: 0 auto;
}

.quick-book {
  position: relative;
  z-index: 2;
  padding: 34px 0;
  color: var(--night);
  background: var(--acid);
}

.booking-grid {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 26px;
  align-items: start;
}

.quick-book h2 {
  margin-bottom: 0;
  font-size: 2.2rem;
}

.trial-form {
  display: grid;
  grid-template-columns: 1fr 150px 180px 160px;
  gap: 10px;
  align-items: end;
}

.trial-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.trial-form input,
.trial-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  color: var(--night);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 19, 15, 0.25);
  border-radius: 6px;
}

.trial-form input:focus,
.trial-form select:focus {
  border-color: var(--night);
  outline: 3px solid rgba(17, 19, 15, 0.16);
}

.submit-button {
  width: 100%;
  color: var(--chalk);
  background: var(--night);
  border: 0;
  cursor: pointer;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  font-weight: 850;
}

.section {
  padding: 96px 0;
}

.section-title {
  max-width: 620px;
  margin-bottom: 34px;
}

.programs {
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(17, 19, 15, 0.12) 49% 50%, transparent 50%),
    var(--paper);
  background-size: 48px 48px, auto;
}

.program-stack {
  display: grid;
  gap: 10px;
}

.program-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 112px;
  gap: 22px;
  align-items: center;
  min-height: 138px;
  padding: 20px;
  background: rgba(244, 240, 223, 0.68);
  border: 1px solid var(--line-light);
  border-radius: 8px;
}

.program-row span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--chalk);
  background: var(--turf);
  border-radius: 8px;
  font-weight: 950;
}

.program-row p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(17, 19, 15, 0.68);
}

.program-row strong {
  justify-self: end;
  padding: 10px 12px;
  color: var(--night);
  background: var(--acid);
  border-radius: 6px;
}

.weekly {
  color: var(--chalk);
  background:
    linear-gradient(135deg, rgba(255, 94, 31, 0.2) 0 22%, transparent 22% 100%),
    var(--turf);
}

.weekly-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 52px;
  align-items: start;
}

.weekly .section-title {
  margin-bottom: 0;
}

.week-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(244, 240, 223, 0.2);
  border: 1px solid rgba(244, 240, 223, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.day-block {
  display: grid;
  align-content: space-between;
  min-height: 260px;
  padding: 18px;
  background: rgba(17, 19, 15, 0.22);
}

.day-block span {
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.day-block strong {
  font-size: 1.25rem;
  line-height: 1.1;
}

.day-block time {
  color: rgba(244, 240, 223, 0.7);
  font-weight: 850;
}

.method {
  background: var(--chalk);
}

.method-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
}

.method-copy p:not(.eyebrow) {
  color: rgba(17, 19, 15, 0.68);
  font-size: 1.06rem;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.method-steps article {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line-light);
  border-radius: 8px;
}

.method-steps article:nth-child(1) {
  background: #ffffff;
}

.method-steps article:nth-child(2) {
  background: #d8ecdf;
}

.method-steps article:nth-child(3) {
  color: var(--chalk);
  background: var(--night);
}

.method-steps span {
  display: block;
  margin-bottom: 72px;
  color: var(--orange);
  font-size: 0.84rem;
  font-weight: 950;
  text-transform: uppercase;
}

.method-steps p {
  margin-bottom: 0;
}

.facility {
  color: var(--chalk);
  background: var(--night);
}

.facility-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 44px;
  align-items: center;
}

.facility-photo {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 8%, 92% 100%, 0 92%);
}

.facility-photo img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
}

.facility-copy ul {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.facility-copy li {
  padding: 15px 0 15px 24px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line-dark);
}

.facility-copy li::marker {
  color: var(--orange);
}

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-lines a {
  min-height: 44px;
  padding: 10px 13px;
  color: var(--night);
  background: var(--acid);
  border-radius: 6px;
  font-weight: 950;
}

.site-footer {
  color: rgba(244, 240, 223, 0.66);
  background: #090a08;
  border-top: 1px solid var(--line-dark);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.footer-grid p {
  margin: 0;
}

.footer-grid a {
  color: var(--acid);
  font-weight: 900;
}

@media (max-width: 1180px) {
  .hero-shell {
    grid-template-columns: 58px minmax(300px, 0.9fr) minmax(330px, 1fr);
  }

  .live-panel {
    grid-column: 2 / -1;
    align-self: auto;
    grid-template-columns: 1fr auto;
  }

  .live-panel dl,
  .live-panel .action-link {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    padding: 8px;
    background: rgba(17, 19, 15, 0.96);
    border: 1px solid var(--line-dark);
    border-radius: 8px;
  }

  .site-header.menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 104px 0 42px;
  }

  .hero-index {
    display: none;
  }

  .field-frame {
    order: -1;
  }

  .field-frame img {
    aspect-ratio: 1.5 / 1;
  }

  .booking-grid,
  .weekly-layout,
  .method-grid,
  .facility-layout {
    grid-template-columns: 1fr;
  }

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

  .submit-button {
    grid-column: 1 / -1;
  }

  .week-board,
  .method-steps {
    grid-template-columns: 1fr;
  }

  .day-block,
  .method-steps article {
    min-height: 160px;
  }

  .method-steps span {
    margin-bottom: 34px;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    right: 10px;
    left: 10px;
    min-height: 54px;
  }

  .brand-lockup span:last-child {
    max-width: 170px;
    white-space: normal;
    line-height: 1.05;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 0.72rem;
  }

  .lab-hero::before {
    right: -46%;
    width: 92vw;
  }

  .hero-shell,
  .section-inner {
    width: min(100% - 24px, 1160px);
  }

  .hero-shell {
    gap: 18px;
    padding-top: 78px;
    padding-bottom: 24px;
  }

  h1 {
    font-size: 2.62rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .track-picker {
    width: 100%;
  }

  .field-frame img {
    aspect-ratio: 1.72 / 1;
  }

  .field-frame figcaption {
    position: static;
    margin-top: 8px;
  }

  .live-panel {
    display: none;
  }

  .quick-book {
    padding: 28px 0;
  }

  .trial-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .program-row {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: auto;
  }

  .program-row strong {
    justify-self: start;
  }

  .facility-photo img {
    min-height: 280px;
  }

  .contact-lines {
    flex-direction: column;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
