@font-face {
  font-family: DM Sans;
  src: url("assets/dm-sans-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: DM Sans;
  src: url("assets/dm-sans-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #0a0b0f;
  --muted: #535961;
  --paper: #f3f5f8;
  --white: #fff;
  --blue: #185bf0;
  --ice: #80bfff;
  --body: "DM Sans", Arial, sans-serif;
  --display: Impact, "Arial Narrow", "Roboto Condensed", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ink); font: 1rem/1.55 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
em { font-style: normal; }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 4px; }
.wrap { width: min(100% - 6rem, 76rem); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 10; padding: .6rem 1rem; transform: translateY(-150%); background: white; }
.skip:focus { transform: translateY(0); }

.header { position: relative; z-index: 2; background: var(--ink); color: var(--white); border-bottom: 1px solid #ffffff22; }
.header-inner { min-height: 5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; }
.brand img { object-fit: cover; border: 1px solid #679df85e; border-radius: 50%; }
.brand > span { font-size: 1rem; font-weight: 600; letter-spacing: .085em; line-height: 1; }
.brand > span > span { display: block; margin-top: .25rem; color: var(--ice); font-size: .72rem; letter-spacing: .2em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.4rem, 3.2vw, 3rem); font-size: .95rem; color: #e3e7ef; }
.desktop-nav a:hover, .social:hover { color: var(--ice); }
.mobile-nav { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: .15rem;
  font-weight: 600;
  text-align: center;
  transition: background-color .18s ease, border-color .18s ease;
}
.header-button { min-height: 2.55rem; border-color: #ffffff54; font-size: .9rem; }
.primary { background: var(--blue); color: white; }
.primary:hover { background: #114bd0; }
.outline { border-color: #ffffff60; background: #0a0b0f3b; color: white; }
.outline:hover, .header-button:hover { background: #ffffff17; border-color: white; }
.black { background: var(--ink); color: white; }
.black:hover { background: #263445; }
.light { background: white; color: #0e307d; }
.light:hover { background: #e6efff; }
.eyebrow { color: var(--ice); letter-spacing: .115em; font-size: .82rem; font-weight: 600; line-height: 1.4; }
.eyebrow span { display: inline-block; width: .32rem; height: .32rem; margin: 0 .25rem .13rem; transform: rotate(45deg); background: currentColor; }

.hero { position: relative; overflow: hidden; display: grid; align-items: center; min-height: clamp(32rem, 51vw, 43rem); color: white; isolation: isolate; }
.hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 57% 49%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #080910 0%, #080910e6 25%, #08091035 64%, #08091008), linear-gradient(0deg, #090b10a0, transparent 30%); }
.hero-inner { padding-block: 3rem 3.8rem; }
.hero h1 { max-width: 10ch; margin: .8rem 0 1rem; font: 400 clamp(4.4rem, 9vw, 9rem)/.9 var(--display); letter-spacing: -.018em; text-transform: uppercase; }
.hero h1 em { color: var(--ice); }
.hero-copy { max-width: 28rem; color: #e2e6ed; font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.9rem; }

.focus-bar { background: var(--blue); color: white; }
.focus-inner { display: flex; justify-content: center; align-items: center; gap: clamp(1rem, 4vw, 3.5rem); min-height: 3.45rem; font-size: .875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.focus-inner i { width: .33rem; height: .33rem; transform: rotate(45deg); background: #b5d4ff; flex: none; }

.programmes { padding-block: clamp(3rem, 6.5vw, 6rem); background: var(--paper); }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 1.4rem 2.5rem; margin-bottom: 1.8rem; }
.section-title p { max-width: 25rem; color: var(--muted); }
.section-title .eyebrow, .training-card .eyebrow { color: #164ab9; }
h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1; text-transform: uppercase; }
.section-title h2, .shop h2 { margin-top: .45rem; font-size: clamp(2.6rem, 5vw, 4.3rem); }
.cards { display: grid; grid-template-columns: 1fr 1.17fr; gap: 1rem; }
.cards article { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: .2rem; }
.cards h3 { margin-top: .65rem; margin-bottom: .8rem; font-size: clamp(2.1rem, 3.3vw, 3.2rem); }
.cards p:not(.eyebrow) { max-width: 24rem; margin-bottom: 1.35rem; }
.training-card { border: 1px solid #dbe0e8; background: white; }
.training-card p:not(.eyebrow) { color: var(--muted); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.3rem; }
.price strong { font-size: 2.4rem; line-height: 1; letter-spacing: -.065em; }
.price span { color: var(--muted); font-size: .92rem; }
.challenge-card { position: relative; display: grid; align-items: center; overflow: hidden; isolation: isolate; color: white; background: linear-gradient(115deg, #0d2975, #1551d7); }
.challenge-card .eyebrow { color: #c2dcff; }
.challenge-copy { max-width: 23rem; }
.challenge-card p:not(.eyebrow) { color: #edf3ff; }
.challenge-figure { position: absolute; z-index: -1; right: -.07em; bottom: -.24em; color: #b4d3ff37; font: 400 clamp(13rem, 28vw, 26rem)/1 var(--display); letter-spacing: -.08em; }

.shop { padding-block: clamp(2.5rem, 6vw, 5rem); border-bottom: 1px solid #ffffff28; color: white; background: linear-gradient(125deg, #151d31, #0a0b0f 75%); }
.shop-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; }
footer { color: white; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-block: 1.4rem; }
.social { font-size: .95rem; }
footer p { font-size: .85rem; color: #abb4c3; }

dialog { width: min(calc(100% - 2rem), 29rem); padding: 2rem; border: 1px solid #5b8ffa75; border-radius: .3rem; color: white; background: #101622; }
dialog::backdrop { background: #060810b8; }
dialog h2 { margin: .75rem 0; font-size: clamp(2rem, 7vw, 2.75rem); }
dialog p:not(.eyebrow) { color: #dce4f2; margin-bottom: 1.4rem; }
.close { position: absolute; top: .5rem; right: .5rem; width: 2.4rem; height: 2.4rem; border: 0; border-radius: .15rem; background: transparent; color: white; font-size: 1.6rem; line-height: 1; }
.close:hover { background: #ffffff16; }

@media (max-width: 54rem) {
  .wrap { width: calc(100% - 3rem); }
  .section-title { align-items: start; }
}

@media (max-width: 43rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.3rem; }
  .header .brand img { width: 2.45rem; height: 2.45rem; }
  .desktop-nav, .header-button { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: grid; place-content: center; gap: .33rem; width: 2.8rem; height: 2.8rem; border: 1px solid #ffffff4c; border-radius: .15rem; cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { display: block; width: 1.05rem; height: 2px; background: white; }
  .mobile-nav nav { position: absolute; top: 100%; inset-inline: 0; display: grid; padding: .45rem 1rem; background: var(--ink); border-top: 1px solid #ffffff22; border-bottom: 1px solid #ffffff46; }
  .mobile-nav nav a { padding: .7rem .4rem; }
  .mobile-nav nav a:hover { color: var(--ice); }
  .hero { align-items: end; min-height: 34rem; }
  .hero-image { object-position: 68% center; }
  .hero::after { background: linear-gradient(0deg, #080910 1%, #080910de 36%, #08091018 84%), linear-gradient(90deg, #08091065, transparent); }
  .hero-inner { padding-block: 8rem 2.1rem; }
  .hero h1 { font-size: clamp(3.65rem, 13vw, 6rem); }
  .actions { gap: .5rem; margin-top: 1.25rem; }
  .actions .button { padding-inline: .7rem; }
  .focus-inner { gap: clamp(.55rem, 3vw, 1rem); font-size: .78rem; letter-spacing: .075em; }
  .section-title, .shop-inner { display: grid; }
  .shop-inner .button { justify-self: start; }
  .cards { grid-template-columns: 1fr; }
  .challenge-card { min-height: 17rem; }
  .footer-inner { justify-content: start; }
  footer p { width: 100%; }
}

@media (max-width: 23rem) {
  .hero .eyebrow { font-size: .73rem; letter-spacing: .07em; }
  .hero h1 { font-size: clamp(3.1rem, 12vw, 3.65rem); }
  .actions { display: grid; justify-items: start; }
}

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