:root {
  --tyvek: #edefea;
  --tyvek-deep: #dfe2dc;
  --carbon: #0d0f12;
  --asphalt: #1a1e23;
  --chip: #8a9199;
  --cobalt: #2a3cf5;
  --rule: rgba(13, 15, 18, 0.14);
  --rule-light: rgba(237, 239, 234, 0.16);

  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Schibsted Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(88px, 11vw, 160px);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--tyvek);
  color: var(--carbon);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--cobalt);
  color: #fff;
}

.skip:focus {
  top: 12px;
}

.eyebrow {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chip);
}

.eyebrow-light {
  color: rgba(237, 239, 234, 0.6);
}

.display-lg,
.display-md {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.01em;
  word-spacing: 0.08em;
}

.display-lg {
  font-size: clamp(56px, 9vw, 148px);
}

.display-md {
  font-size: clamp(44px, 6vw, 96px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border: 1.5px solid var(--carbon);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn::after {
  content: "→";
  transition: transform 0.25s var(--ease-out);
}

.btn:hover::after {
  transform: translateX(4px);
}

.btn-solid {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #fff;
}

.btn-solid:hover {
  background: var(--carbon);
  border-color: var(--carbon);
}

.btn-line {
  background: transparent;
  color: var(--carbon);
}

.btn-line:hover {
  background: var(--carbon);
  color: var(--tyvek);
}

/* Nav */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  transition: background 0.25s, box-shadow 0.25s, padding 0.25s;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  pointer-events: none;
}

.nav.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: var(--tyvek);
  box-shadow: 0 1px 0 var(--rule);
}

.nav > * {
  pointer-events: auto;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-mark {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a,
.nav-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.nav-cta {
  padding: 12px 18px;
  background: var(--cobalt);
  color: #fff;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--carbon);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  height: max(100svh, 680px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 100px var(--gutter) clamp(32px, 5svh, 64px);
}

.hero-title {
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(64px, min(11.5vw, 14.2svh), 216px);
  line-height: 0.82;
  letter-spacing: -0.015em;
  word-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.hero-title .line > span {
  display: block;
  animation: rise 0.9s var(--ease-out) both;
}

.hero-title .line:nth-child(2) > span {
  animation-delay: 0.12s;
}

.hero-title .accent {
  color: var(--cobalt);
}

.hero-sub {
  max-width: 34ch;
  margin: 0 0 32px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  position: relative;
  margin: 0;
  background: var(--carbon);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 30%;
  animation: fade 1.2s var(--ease-out) both;
}

.hero-caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 8px 12px;
  background: var(--carbon);
  color: var(--tyvek);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes rise {
  from {
    transform: translateY(105%);
  }
}

@keyframes fade {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
}

/* Bib */

.bib {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--tyvek);
  color: var(--carbon);
}

/* The attempt board */

.attempt {
  padding: var(--section-y) var(--gutter);
  background: var(--carbon);
  color: var(--tyvek);
}

.attempt-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
}

.attempt-head .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.attempt-intro {
  max-width: 44ch;
  margin: 0;
  color: rgba(237, 239, 234, 0.72);
}

.board-wrap {
  overflow-x: auto;
  scrollbar-width: thin;
  margin: 0 calc(var(--gutter) * -1);
  padding: 8px var(--gutter) 16px;
}

.board {
  display: grid;
  grid-template-columns: 120px repeat(9, minmax(104px, 1fr));
  gap: 10px;
  min-width: 1080px;
}

.board-round {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 12px;
  border-right: 1px solid var(--rule-light);
}

.board-round strong {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}

.board-round span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--chip);
}

.board-bib {
  height: 104px;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: calc(var(--i) * 45ms);
}

.board.is-in .board-bib {
  opacity: 1;
  transform: translateY(0);
}

.board-bib .city {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 0.92;
  text-transform: uppercase;
  text-align: center;
}

.board-bib .status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.board-bib .tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--chip);
}

.board-bib.is-todo {
  background: transparent;
  border: 1px dashed rgba(237, 239, 234, 0.28);
  color: rgba(237, 239, 234, 0.45);
}

.board-bib.is-next {
  background: transparent;
  border: 2px solid var(--cobalt);
  color: var(--tyvek);
  box-shadow: 0 0 0 0 rgba(42, 60, 245, 0.6);
  animation: beacon 2.2s 1.6s ease-out infinite;
}

.board-bib.is-next .status {
  color: #8f9bff;
}

@keyframes beacon {
  0% {
    box-shadow: 0 0 0 0 rgba(42, 60, 245, 0.55);
  }
  70%,
  100% {
    box-shadow: 0 0 0 14px rgba(42, 60, 245, 0);
  }
}

.board-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chip);
}

.board-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.swatch {
  width: 14px;
  height: 14px;
}

.swatch-done {
  background: var(--tyvek);
}

.swatch-next {
  border: 2px solid var(--cobalt);
}

.swatch-todo {
  border: 1px dashed rgba(237, 239, 234, 0.4);
}

/* Record */

.record {
  padding: var(--section-y) var(--gutter) calc(var(--section-y) * 0.7);
}

.record-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  margin: 0;
  border-top: 2px solid var(--carbon);
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 20px 0 0;
  border-right: 1px solid var(--rule);
}

.stat + .stat {
  padding-left: 20px;
}

.stat:last-child {
  border-right: 0;
}

.stat dt {
  max-width: 20ch;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555c63;
}

.stat dd {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(88px, 10vw, 168px);
  line-height: 0.8;
}

.stat-wide dd {
  font-size: clamp(140px, 22vw, 360px);
  color: var(--cobalt);
}

.stat .unit {
  font-size: 0.45em;
  vertical-align: 0.9em;
  color: var(--chip);
}

.record-note {
  max-width: 60ch;
  margin: 48px 0 0 auto;
  font-size: 19px;
}

/* Full-bleed photo */

.bleed {
  position: relative;
  margin: 0;
  height: min(92svh, 900px);
  overflow: hidden;
  background: var(--carbon);
}

.bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.bleed figcaption {
  position: absolute;
  inset: auto var(--gutter) var(--gutter) auto;
  max-width: 520px;
  padding: 28px 32px;
  background: var(--tyvek);
}

.bleed blockquote {
  margin: 0;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.4;
}

/* About */

.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
  padding: var(--section-y) var(--gutter);
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-copy .display-md {
  margin-bottom: 36px;
}

.about-copy p:not(.eyebrow) {
  max-width: 52ch;
  margin: 0 0 18px;
}

.about-copy p.about-motto {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 2px solid var(--carbon);
  font-weight: 600;
  font-size: 20px;
}

/* Coaching */

.coaching {
  padding: var(--section-y) var(--gutter);
  background: var(--tyvek-deep);
}

.coaching-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}

.coaching-head .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.coaching-intro {
  margin: 0;
}

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

.pillar img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
  transition: filter 0.4s;
}

.pillar:hover img {
  filter: none;
}

.pillar h3 {
  margin: 20px 0 8px;
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  text-transform: uppercase;
}

.pillar p {
  max-width: 32ch;
  margin: 0;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 24px;
  align-items: end;
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 24px;
  border-top: 2px solid var(--carbon);
}

.price {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555c63;
}

.price-value {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  text-transform: uppercase;
}

/* Places */

.places {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px clamp(40px, 6vw, 96px);
  padding: var(--section-y) var(--gutter);
}

.places-head .num {
  color: var(--cobalt);
}

.places-list {
  columns: 3 200px;
  column-gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.places-list li {
  display: grid;
  grid-template-columns: 1fr;
  break-inside: avoid;
  padding: 12px 0 14px;
  border-top: 1px solid var(--rule);
}

.places-list .country {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555c63;
}

.places-list .cities {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
}

/* Testimonial */

.voice {
  padding: 0 var(--gutter) var(--section-y);
}

.voice figure {
  max-width: 1100px;
  margin: 0;
  padding-top: 40px;
  border-top: 2px solid var(--carbon);
}

.voice blockquote {
  margin: 0 0 36px;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-indent: -0.4em;
}

.voice figcaption {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555c63;
}

.voice figcaption img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(1);
}

.voice figcaption strong {
  display: block;
  color: var(--carbon);
  font-weight: 500;
}

/* Partners */

.partners {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--carbon);
  color: var(--tyvek);
}

.partners-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.partners-copy {
  padding: var(--section-y) var(--gutter);
}

.partners-copy .display-lg {
  margin-bottom: 32px;
}

.partners-copy > p:not(.eyebrow) {
  max-width: 46ch;
  margin: 0 0 40px;
  color: rgba(237, 239, 234, 0.75);
}

.partner-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-types li {
  padding: 14px 0;
  border-top: 1px solid var(--rule-light);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 7vw, 120px);
  padding: var(--section-y) var(--gutter);
}

.contact-copy .display-md {
  margin-bottom: 48px;
}

.contact-direct {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-direct li {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}

.contact-direct .label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555c63;
  padding-top: 3px;
}

.contact-direct a {
  font-weight: 600;
  text-decoration: none;
}

.contact-direct a:hover {
  color: var(--cobalt);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.topic {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}

.topic legend {
  width: 100%;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555c63;
}

.topic input {
  position: absolute;
  opacity: 0;
}

.topic span {
  display: inline-block;
  padding: 10px 18px;
  border: 1.5px solid var(--carbon);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.topic input:checked + span {
  background: var(--carbon);
  color: var(--tyvek);
}

.topic input:focus-visible + span {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555c63;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1.5px solid var(--carbon);
  border-radius: 0;
  background: transparent;
  color: var(--carbon);
  font: inherit;
  font-size: 18px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--cobalt);
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* Footer */

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px var(--gutter);
  background: var(--carbon);
  color: var(--chip);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-mark {
  color: var(--tyvek);
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--tyvek);
}

/* Responsive */

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    height: auto;
  }

  .hero-copy {
    padding-top: 120px;
  }

  .hero-media {
    height: 78svh;
  }

  .hero-media img {
    object-position: 60% 55%;
  }

  .attempt-head,
  .coaching-head,
  .about,
  .places,
  .partners,
  .contact {
    grid-template-columns: 1fr;
  }

  .record-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-wide {
    grid-column: 1 / -1;
    border-right: 0;
    padding-bottom: 24px;
  }

  .stat,
  .stat + .stat {
    padding: 20px 16px 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pillar img {
    aspect-ratio: 4 / 3;
  }

  .pricing {
    grid-template-columns: 1fr 1fr;
  }

  .pricing .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .partners-media img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .bleed figcaption {
    left: var(--gutter);
  }
}

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

  .field-row,
  .partner-types {
    grid-template-columns: 1fr;
  }

  .pricing {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .board-bib {
    opacity: 1;
    transform: none;
  }
}
