/* ==========================================================================
   THE ACTIVE MISSION — Design System
   Live Life On Purpose
   ========================================================================== */

:root {
  --black: #000000;
  --surface-1: #111111;
  --surface-2: #1a1a1a;
  --line: #232323;
  --white: #ffffff;
  --grey: #9a9a9a;
  --grey-dark: #777777;
  --accent: #556b2f;
  --accent-bright: #7d9a4a;
  --accent-glow: rgba(85, 107, 47, 0.35);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --track: 0.16em;
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(5rem, 11vw, 9.5rem);
  --radius: 2px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  /* keep anchor targets (e.g. /coaching/#apply) clear of the fixed header */
  scroll-padding-top: 6.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

p a,
.prose a {
  color: var(--accent-bright);
  text-underline-offset: 3px;
}

p a:hover,
.prose a:hover {
  text-decoration: underline;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
}

.skip-link:focus {
  top: 1rem;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 7.5vw, 6rem);
}

h2 {
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
}

h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.kicker::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--accent);
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.75;
  color: var(--grey);
  max-width: 42rem;
}

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

.accent {
  color: var(--accent-bright);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

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

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

.section--tint {
  background: var(--surface-1);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-head p {
  margin-top: 1.25rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

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

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

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

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 2.2rem;
  border: 1px solid var(--white);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: var(--track);
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
    color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

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

.btn--solid:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: var(--white);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn--ghost {
  border-color: var(--grey-dark);
  color: var(--grey);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: transparent;
  color: var(--white);
}

.btn--lg {
  padding: 1.25rem 3rem;
  font-size: 0.9rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}

/* No backdrop-filter anywhere on the header: a filtered header becomes
   the containing block for the fixed nav panel and shrinks it to the
   header bar, leaving menu links floating over page content. A solid
   near-black background avoids that entire class of bug. */
.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.94);
  border-bottom-color: var(--line);
}

.site-header.is-open {
  background: var(--black);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.75rem;
  transition: height 0.35s var(--ease);
}

.site-header.is-scrolled .header-inner {
  height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0; /* allow shrinking so it never collides with the menu button */
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.brand span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand img,
.brand svg {
  height: 2rem;
  width: auto;
  flex: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1vw, 1.15rem);
}

.site-nav a:not(.btn) {
  position: relative;
  padding: 0.35rem 0;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.3s var(--ease);
}

.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav .btn {
  padding: 0.65rem 1.4rem;
  font-size: 0.74rem;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 110;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  height: 2px;
  background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 0.95rem; }
.nav-toggle span:nth-child(2) { top: 1.32rem; }
.nav-toggle span:nth-child(3) { top: 1.69rem; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.37rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.37rem) rotate(-45deg);
}

@media (max-width: 1023px) {
  .nav-toggle {
    display: block;
  }

  .header-inner {
    gap: 0.85rem;
  }

  /* Compact lockup so brand and menu button never collide */
  .brand {
    gap: 0.55rem;
    font-size: 0.8rem;
    letter-spacing: 0.13em;
  }

  .brand img,
  .brand svg {
    height: 1.6rem;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 105;
    flex-direction: column;
    justify-content: center;
    justify-content: safe center;
    gap: 1.6rem;
    padding: 5.5rem 1.5rem 2.5rem;
    overflow-y: auto;
    background: var(--black);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }

  .site-header.is-open .site-nav {
    visibility: visible;
    opacity: 1;
  }

  .site-nav a:not(.btn) {
    font-size: 1.05rem;
  }

  .site-nav .btn {
    margin-top: 0.75rem;
    padding: 0.95rem 2.4rem;
    font-size: 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   Topographic atmosphere
   -------------------------------------------------------------------------- */

.topo-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.topo-layer svg {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
}

.topo-layer .contour {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.1;
  opacity: 0.16;
}

/* Faint static topo texture for inner pages */
.topo-faint {
  background-image: url("/assets/topo.svg");
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

/* Animated "current" topo: dashes drift along the contours while each
   line breathes on a staggered cycle, like charge moving through terrain. */
.topo-live .contour {
  stroke-dasharray: 10 26;
  animation: contour-flow 40s linear infinite, contour-pulse 9s ease-in-out infinite;
}

.topo-live .contour:nth-child(2n) { animation-duration: 52s, 11s; animation-delay: 0s, -2s; }
.topo-live .contour:nth-child(3n) { animation-duration: 64s, 13s; animation-delay: 0s, -4s; }
.topo-live .contour:nth-child(4n) { animation-direction: reverse, normal; animation-delay: 0s, -6s; }
.topo-live .contour:nth-child(5n) { animation-duration: 76s, 10s; animation-delay: 0s, -8s; }

@keyframes contour-flow {
  to {
    stroke-dashoffset: -720;
  }
}

@keyframes contour-pulse {
  0%, 100% {
    opacity: 0.10;
    stroke: var(--accent);
  }
  50% {
    opacity: 0.42;
    stroke: var(--accent-bright);
  }
}

/* --------------------------------------------------------------------------
   Loading experience
   -------------------------------------------------------------------------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  transition: opacity 1s var(--ease), visibility 1s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.loader .topo-layer .contour {
  stroke-width: 1.3;
}

.loader-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter);
  text-align: center;
  animation: loader-rise 1.4s var(--ease) both;
}

.loader-logo {
  width: min(340px, 58vw);
  height: auto;
  margin-inline: auto;
}

/* Always-available exit once the intro is armed. Stays up during video
   playback so nobody is held inside the loading screen. */
.loader-skip {
  position: absolute;
  top: calc(1.25rem + env(safe-area-inset-top, 0px));
  right: 1.25rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--grey-dark);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.55);
  color: var(--grey);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s, color 0.3s var(--ease),
    border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.loader-skip::after {
  content: "\2192";
  font-size: 0.85em;
}

.loader.is-armed .loader-skip {
  opacity: 1;
  visibility: visible;
}

.loader.is-playing .loader-skip {
  border-color: var(--grey);
  background: rgba(0, 0, 0, 0.75);
  color: var(--white);
}

.loader-skip:hover {
  color: var(--white);
  border-color: var(--white);
}

/* Cinematic intro video element. Dimmed while the loading sequence runs,
   then armed (lit and clickable) when the sequence completes. */
.loader-video {
  position: relative;
  width: min(680px, 88vw);
  aspect-ratio: 16 / 9;
  margin: 2.4rem auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--black);
  overflow: hidden;
  opacity: 0.5;
  transition: opacity 0.7s var(--ease), border-color 0.7s var(--ease), box-shadow 0.7s var(--ease);
}

.loader.is-armed .loader-video {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 70px rgba(85, 107, 47, 0.3);
}

.loader-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loader-video-cta {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.6));
  color: var(--white);
  font-family: var(--font-display);
  cursor: pointer;
  transition: opacity 0.45s var(--ease);
}

.loader-video-cta:disabled {
  cursor: default;
}

.loader-video.is-playing .loader-video-cta {
  opacity: 0;
  pointer-events: none;
}

.loader-video .play-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.5rem, 9vw, 4.5rem);
  height: clamp(3.5rem, 9vw, 4.5rem);
  border: 1px solid var(--accent-bright);
  border-radius: 50%;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}

.loader-video .play-badge svg {
  width: 1rem;
  margin-left: 0.2rem;
}

.loader.is-armed .loader-video-cta:hover .play-badge {
  transform: scale(1.08);
  background: var(--accent-glow);
}

.loader-video-title {
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.loader-video-sub {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--grey);
}

/* Fills during the loading sequence; the video arms when it completes. */
.loader-progress {
  width: min(220px, 50vw);
  height: 2px;
  margin: 1.6rem auto 0;
  background: var(--line);
  overflow: hidden;
  transition: opacity 0.5s var(--ease);
}

.loader.is-armed .loader-progress {
  opacity: 0;
}

.loader-progress::after {
  content: "";
  display: block;
  height: 100%;
  background: var(--accent-bright);
  animation: loader-fill 2.6s ease-out forwards;
  transform-origin: left;
}

@keyframes loader-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes loader-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-block: 8rem 5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(120% 90% at 50% 10%, var(--surface-2) 0%, var(--black) 70%);
  /* slow cinematic push-in on the footage/poster */
  animation: hero-zoom 30s var(--ease) forwards;
  transform-origin: 50% 38%;
  will-change: transform;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.34) 42%, rgba(0, 0, 0, 0.6) 78%, var(--black) 100%);
}

.hero .topo-layer {
  z-index: 2;
}

.hero .topo-layer .contour {
  opacity: 0.08;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.6);
}

/* Staggered entrance once the loader hands off (body.hero-go set by JS) */
.hero-content > * {
  opacity: 0;
}

.hero-go .hero-content > * {
  animation: hero-rise 1s var(--ease) forwards;
}

.hero-go .hero-content > :nth-child(2) { animation-delay: 0.18s; }
.hero-go .hero-content > :nth-child(3) { animation-delay: 0.36s; }
.hero-go .hero-content > :nth-child(4) { animation-delay: 0.54s; }

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-tag {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.8vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: var(--grey);
}

.hero-support {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 2;
}

.hero-support span {
  display: block;
}

.hero-support .accent {
  color: var(--accent-bright);
}

.hero .btn-row {
  margin-top: 3rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  z-index: 3;
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(var(--accent-bright), transparent);
  animation: scroll-hint 2.4s var(--ease) infinite;
}

@keyframes scroll-hint {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding-block: clamp(10rem, 20vh, 13rem) clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}

.page-hero .lead {
  margin-top: 1.75rem;
}

/* Cinematic scene variant — set the image per page via --scene */
.page-hero--img {
  display: flex;
  align-items: flex-end;
  min-height: min(62vh, 36rem);
  background-color: var(--black);
  background-image: var(--scene);
  background-size: cover;
  background-position: center 30%;
}

.page-hero--img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.36) 45%, var(--black) 100%);
}

.page-hero--img .container {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}

/* --------------------------------------------------------------------------
   Manifesto
   -------------------------------------------------------------------------- */

.manifesto {
  text-align: left;
}

.manifesto-line {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--grey-dark);
  transition: color 0.6s var(--ease);
}

.manifesto-line + .manifesto-line {
  margin-top: clamp(1rem, 2.5vw, 1.75rem);
}

.manifesto-line.in {
  color: var(--white);
}

.manifesto-line--accent.in {
  color: var(--accent-bright);
}

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease),
    background-color 0.45s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5);
}

.card-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--accent-bright);
}

.card h3 {
  letter-spacing: 0.08em;
  overflow-wrap: break-word;
  hyphens: auto;
}

.card p {
  font-size: 0.95rem;
  color: var(--grey);
}

.card-link {
  margin-top: auto;
  padding-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--white);
}

.card-link::after {
  content: " \2192";
  color: var(--accent-bright);
  transition: margin-left 0.3s var(--ease);
}

.card:hover .card-link::after {
  margin-left: 0.4rem;
}

.card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.card ul li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  font-size: 0.92rem;
  color: var(--grey);
}

.card ul li::before {
  content: "";
  flex: none;
  width: 0.45rem;
  height: 1px;
  background: var(--accent-bright);
  transform: translateY(-0.25rem);
}

/* Value strip */
.values-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 3.5rem);
  padding-block: 2.25rem;
  border-block: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--grey);
}

.values-strip span {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3.5rem);
}

.values-strip span::after {
  content: "\25AA";
  font-size: 0.45rem;
  color: var(--accent-bright);
}

.values-strip span:last-child::after {
  content: none;
}

/* Stats / feature rows */
.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-row > div {
  padding: 2rem 1.75rem;
  background: var(--black);
}

.feature-row h4 {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.feature-row p {
  font-size: 0.88rem;
  color: var(--grey);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  padding-block: var(--section);
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.cta-band--img {
  background-color: var(--black);
  background-image: var(--scene);
  background-size: cover;
  background-position: center;
}

.cta-band--img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--black) 0%, rgba(0, 0, 0, 0.58) 35%, rgba(0, 0, 0, 0.58) 65%, var(--black) 100%);
}

.cta-band--img .container {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}

.cta-band h2 {
  max-width: 52rem;
  margin-inline: auto;
}

.cta-band .lead {
  margin: 1.5rem auto 0;
}

.cta-band .btn-row {
  justify-content: center;
  margin-top: 2.75rem;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-shell {
  max-width: 46rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 1.25rem;
}

.form-grid .field--full {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.field label {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
}

.field label .req {
  color: var(--accent-bright);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--grey-dark);
}

.field--check {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.field--check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--accent);
  flex: none;
}

.field--check label {
  margin: 0;
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--grey);
}

form .btn {
  margin-top: 2rem;
}

.form-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--grey-dark);
}

/* Honeypot — hidden from humans, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Podcast / media placeholders
   -------------------------------------------------------------------------- */

.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-1) url("/assets/topo.svg") center / cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.media-frame .play-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid var(--accent-bright);
  border-radius: 50%;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}

.media-frame:hover .play-badge {
  transform: scale(1.08);
  background: var(--accent-glow);
}

.play-badge svg {
  width: 1.1rem;
  margin-left: 0.2rem;
}

.platform-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.platform-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.platform-card svg {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  color: var(--accent-bright);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tag {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

/* --------------------------------------------------------------------------
   Journal
   -------------------------------------------------------------------------- */

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5);
}

.post-card-media {
  aspect-ratio: 16 / 9;
  background: var(--surface-2) url("/assets/topo.svg") center / cover;
  border-bottom: 1px solid var(--line);
  transition: transform 0.7s var(--ease);
}

.post-card:hover .post-card-media {
  transform: scale(1.045);
}

.post-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.75rem;
  flex: 1;
}

.post-meta {
  display: flex;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.post-meta time {
  color: var(--grey-dark);
}

.post-card h3 {
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

.post-card p {
  font-size: 0.92rem;
  color: var(--grey);
}

/* Article */
.prose {
  max-width: 44rem;
}

.prose p + p {
  margin-top: 1.4rem;
}

.prose h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 3rem 0 1.25rem;
}

.prose blockquote {
  margin: 2.5rem 0;
  padding-left: 1.75rem;
  border-left: 2px solid var(--accent);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--white);
}

.prose ul {
  margin: 1.4rem 0;
  padding-left: 1.25rem;
  color: var(--grey);
}

.prose li + li {
  margin-top: 0.5rem;
}

.prose p {
  color: #c9c9c9;
}

/* --------------------------------------------------------------------------
   Teams (community)
   -------------------------------------------------------------------------- */

.team-card {
  position: relative;
  padding: clamp(2rem, 4vw, 2.75rem);
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.team-card:hover::before {
  opacity: 1;
}

.team-card h3 {
  letter-spacing: 0.14em;
}

.team-card .team-sub {
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.team-card p {
  margin-top: 1.1rem;
  font-size: 0.93rem;
  color: var(--grey);
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--black);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 2.25rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  margin-top: 1.25rem;
  max-width: 22rem;
  font-size: 0.9rem;
  color: var(--grey);
}

.footer-col h4 {
  margin-bottom: 1.25rem;
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  color: var(--grey-dark);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--grey);
  transition: color 0.3s var(--ease);
}

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

.footer-values {
  margin-bottom: 2.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--grey-dark);
  text-align: center;
}

.footer-values .accent {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--grey-dark);
}

.footer-bottom a {
  color: var(--grey-dark);
}

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

/* --------------------------------------------------------------------------
   Scroll reveals
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* --------------------------------------------------------------------------
   Utility / misc
   -------------------------------------------------------------------------- */

.center {
  text-align: center;
}

.center .lead,
.center .kicker {
  margin-inline: auto;
}

.center .kicker::before {
  display: none;
}

.divider {
  width: 4rem;
  height: 2px;
  margin: 2rem auto;
  background: var(--accent);
}

.big-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.6vw, 2.6rem);
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  max-width: 56rem;
}

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

.event-feature {
  display: grid;
  grid-template-columns: 5fr 7fr;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.event-feature-media {
  position: relative;
  min-height: 16rem;
  background: var(--surface-2) url("/assets/scene-summit.jpg") center / cover;
  border-right: 1px solid var(--line);
}

.event-feature-media .topo-layer {
  opacity: 0.6;
}

.event-feature-body {
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.event-feature-body .muted {
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .event-feature {
    grid-template-columns: 1fr;
  }

  .event-feature-media {
    min-height: 11rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* Two-column dashed list, usable anywhere (events, articles) */
.dash-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.5rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.dash-list li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  font-size: 0.92rem;
  color: var(--grey);
}

.dash-list li::before {
  content: "";
  flex: none;
  width: 0.45rem;
  height: 1px;
  background: var(--accent-bright);
  transform: translateY(-0.25rem);
}

@media (max-width: 480px) {
  .dash-list {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Conversion system: proof strip, pricing, comparison, FAQ, founder
   -------------------------------------------------------------------------- */

.price-line {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.hero-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--grey);
  max-width: 34rem;
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: var(--surface-1);
}

.proof-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.proof-strip-inner > div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.15rem 1.25rem;
  background: var(--surface-1);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

.proof-strip-inner > div::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--accent-bright);
  border-bottom: 2px solid var(--accent-bright);
  transform: rotate(45deg) translateY(-1px);
}

@media (max-width: 900px) {
  .proof-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .proof-strip-inner {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 34rem;
    margin-inline: auto;
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.75rem, 3vw, 2.4rem);
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.plan--featured {
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(85, 107, 47, 0.12);
}

.plan-badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 1rem;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan h3 {
  letter-spacing: 0.1em;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
}

.plan-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--grey);
  letter-spacing: 0.05em;
}

.plan-for {
  font-size: 0.92rem;
  color: var(--grey);
  min-height: 3.2em;
}

.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.plan ul li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  font-size: 0.9rem;
  color: var(--grey);
}

.plan ul li::before {
  content: "";
  flex: none;
  width: 0.45rem;
  height: 1px;
  background: var(--accent-bright);
  transform: translateY(-0.25rem);
}

.plan ul li strong {
  color: #cfcfcf;
  font-weight: 600;
}

.plan-terms {
  font-size: 0.8rem;
  color: var(--grey-dark);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.plan .btn {
  width: 100%;
  margin-top: 0.25rem;
}

/* Comparison table */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}

.compare {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare th,
.compare td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
  color: var(--grey);
}

.compare th {
  background: var(--surface-1);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}

.compare th:first-child,
.compare td:first-child {
  text-align: left;
  color: #cfcfcf;
}

.compare td .yes {
  color: var(--accent-bright);
  font-weight: 600;
}

.compare td .no {
  color: var(--grey-dark);
}

.compare .col-featured {
  background: rgba(85, 107, 47, 0.08);
}

.compare tr:last-child td {
  border-bottom: 0;
}

/* FAQ accordion (native details/summary for accessibility) */
.faq {
  max-width: 48rem;
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease);
}

.faq details[open] {
  border-color: var(--accent);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.3rem;
  color: var(--accent-bright);
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 1.4rem 1.25rem;
  font-size: 0.93rem;
  color: var(--grey);
}

/* Founder */
.founder {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 860px) {
  .founder {
    grid-template-columns: 1fr;
  }
}

.founder-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--surface-2) url("/assets/scene-about.jpg") center / cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.founder-media .topo-layer {
  opacity: 0.55;
}

.founder-sign {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.founder-sign span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

/* Checkout / enrollment summary */
.order-box {
  max-width: 30rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--surface-1);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
}

.order-box h3 {
  letter-spacing: 0.1em;
}

.order-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--grey);
}

.order-row strong {
  color: var(--white);
}

.order-row:last-of-type {
  border-bottom: 0;
}

/* Billing option radios */
.bill-options {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.bill-option {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.3s var(--ease);
}

.bill-option:has(input:checked) {
  border-color: var(--accent-bright);
}

.bill-option input {
  margin-top: 0.25rem;
  accent-color: var(--accent);
  flex: none;
}

.bill-option .bo-label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.bill-option .bo-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: var(--grey);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
}

/* Kickstart plan checklist */
.checklist {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  color: var(--grey);
  font-size: 0.95rem;
}

.checklist li::before {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--accent-bright);
  transform: translateY(0.05rem);
}

/* Step list on legal / plan pages */
.prose ol {
  margin: 1.4rem 0;
  padding-left: 1.4rem;
  color: var(--grey);
}

.prose ol li + li {
  margin-top: 0.5rem;
}

.prose h3 {
  font-size: 1.05rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: 0.08em;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.5rem 0;
}

.prose table th,
.prose table td {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  text-align: left;
  color: var(--grey);
}

.prose table th {
  color: var(--white);
  background: var(--surface-1);
}

/* --------------------------------------------------------------------------
   Kickoff Weekend modal
   -------------------------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.modal-card {
  position: relative;
  width: min(34rem, 100%);
  max-height: min(88vh, 88dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
  animation: modal-rise 0.5s var(--ease) both;
}

@keyframes modal-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.modal-close:hover {
  border-color: var(--accent-bright);
  background: var(--black);
}

.modal-close svg {
  width: 0.8rem;
  height: 0.8rem;
}

.modal-media {
  position: relative;
  height: clamp(7.5rem, 22vw, 10rem);
  background: var(--surface-2) url("/assets/scene-summit.jpg") center / cover;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.modal-media .topo-layer {
  opacity: 0.6;
}

.modal-badge {
  position: absolute;
  left: 1.5rem;
  bottom: 1.1rem;
  padding: 0.4rem 0.9rem;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.modal-body {
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.modal-body h2 {
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  letter-spacing: 0.05em;
}

.modal-sub {
  margin-top: 0.7rem;
  color: var(--grey);
  font-size: 0.95rem;
}

.modal-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 1.4rem 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.modal-facts > div {
  padding: 0.9rem 1.1rem;
  background: var(--black);
}

.modal-facts h4 {
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  color: var(--grey-dark);
}

.modal-facts p {
  margin-top: 0.3rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--grey);
}

.modal-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.25rem;
  margin: 1.25rem 0 1.6rem;
  padding: 0;
  list-style: none;
}

.modal-list li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  font-size: 0.86rem;
  color: var(--grey);
}

.modal-list li::before {
  content: "";
  flex: none;
  width: 0.45rem;
  height: 1px;
  background: var(--accent-bright);
  transform: translateY(-0.22rem);
}

.modal-form .form-grid {
  gap: 1rem;
}

.modal-form .btn {
  margin-top: 1.5rem;
  width: 100%;
}

.modal-form .field--check {
  margin-top: 1.1rem;
}

.modal-success {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.modal-success h3 {
  font-size: 1.3rem;
}

.modal-success p {
  margin: 0.8rem 0 1.6rem;
  color: var(--grey);
}

@media (max-width: 480px) {
  .modal-list,
  .modal-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 359px) {
  .brand {
    gap: 0.45rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .brand img,
  .brand svg {
    height: 1.35rem;
  }
}

/* --------------------------------------------------------------------------
   Small-screen refinements: designed for the phone, not shrunk to it
   -------------------------------------------------------------------------- */

@media (max-width: 540px) {
  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row .btn {
    width: 100%;
  }

  form button.btn {
    width: 100%;
  }

  .form-shell {
    padding: 1.5rem 1.15rem;
  }

  .feature-row > div {
    padding: 1.6rem 1.25rem;
  }

  .values-strip {
    gap: 1rem 1.75rem;
    padding-block: 1.75rem;
    font-size: 0.72rem;
  }

  .values-strip span {
    gap: 1.75rem;
  }

  .hero {
    padding-block: 7.5rem 4.5rem;
  }

  .hero-support {
    line-height: 1.85;
  }

  .section-head {
    margin-bottom: 2.25rem;
  }

  .post-card-body {
    padding: 1.4rem 1.25rem;
  }

  .prose blockquote {
    padding-left: 1.25rem;
    font-size: 1.1rem;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion & print
   -------------------------------------------------------------------------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .manifesto-line,
  .hero-content > * {
    opacity: 1;
    transform: none;
  }

  .hero-media {
    animation: none;
    transform: none;
  }

  .hero-scroll {
    display: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .loader,
  .hero-scroll,
  .topo-layer {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
