:root {
  --bg: #f5f5f2;
  --paper: #fffefa;
  --ink: #151719;
  --muted: #6a6f73;
  --line: rgba(21, 23, 25, 0.12);
  --soft: #e5e3de;
  --accent: #5f666b;
  --signal: #355cff;
  --signal-soft: rgba(53, 92, 255, 0.12);
  --wash: #ececea;
  --shadow: 0 18px 55px rgba(21, 23, 25, 0.09);
  --heavy-shadow: 0 34px 100px rgba(21, 23, 25, 0.16);
  --font-display: "Montserrat", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --progress: 0%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fbfaf7 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: var(--font-body);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background:
    radial-gradient(circle at 50% 0%, rgba(95, 102, 107, 0.11), transparent 34rem),
    repeating-linear-gradient(0deg, rgba(21, 23, 25, 0.016) 0 1px, transparent 1px 5px);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 30;
  width: var(--progress);
  height: 3px;
  background: var(--accent);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(251, 250, 247, 0.84);
  padding: 10px;
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 35px rgba(21, 23, 25, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 0.86rem;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  border-radius: 999px;
  color: var(--muted);
  padding: 9px 13px;
  font-size: 0.92rem;
}

.nav-links a:hover {
  background: var(--wash);
  color: var(--ink);
}

.hero,
.intro,
.coach-section,
.fit-section,
.deliverables,
.social-proof,
.proof,
.application {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-content: center;
  padding: clamp(52px, 8vw, 110px) 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  width: min(220px, 32vw);
  height: 1px;
  margin-top: clamp(54px, 8vw, 90px);
  background: var(--ink);
  opacity: 0.24;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
blockquote {
  font-family: var(--font-display);
  font-weight: 680;
  letter-spacing: 0;
}

h1 {
  max-width: 1060px;
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 9vw, 8.7rem);
  line-height: 0.9;
  text-wrap: balance;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.92;
  text-wrap: balance;
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.65;
}

.accent-word,
.accent-quote {
  color: var(--signal);
}

.accent-word {
  position: relative;
  display: inline-block;
}

.accent-word::after {
  content: "";
  position: absolute;
  inset: auto 0 0.05em 0;
  z-index: -1;
  height: 0.22em;
  border-radius: 999px;
  background: var(--signal-soft);
}

.accent-text {
  color: var(--ink);
  font-weight: 760;
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 760;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
  box-shadow: inset 0 -3px 0 var(--signal);
}

.secondary {
  background: rgba(255, 253, 248, 0.52);
  color: var(--ink);
}

.calendly-link {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
  box-shadow: inset 0 -3px 0 var(--signal);
}

.hero-actions .calendly-link {
  min-width: 170px;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(21, 23, 25, 0.14), inset 0 -3px 0 var(--signal);
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 32, 24, 0.11);
  box-shadow: var(--shadow);
}

.intro div {
  min-height: 260px;
  background: var(--paper);
  padding: 26px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.intro div:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-6px);
  box-shadow: var(--heavy-shadow);
}

.intro div:nth-child(1) {
  background: var(--paper);
}

.intro div:nth-child(2) {
  background: #f5f0e7;
}

.intro div:nth-child(3) {
  background: var(--wash);
}

.intro span,
.intro strong {
  display: block;
}

.intro span {
  margin-bottom: 72px;
  color: var(--muted);
  font-size: 0.82rem;
}

.intro strong {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 680;
}

.intro p,
.sticky-copy p,
.coach-text p,
.proof p,
.application p,
.form-note {
  color: var(--muted);
  line-height: 1.68;
}

.scroll-story {
  margin-top: clamp(56px, 10vw, 120px);
  counter-reset: story;
}

.story-panel {
  position: relative;
  min-height: 120vh;
  border-top: 1px solid var(--line);
  counter-increment: story;
  overflow: clip;
}

.story-panel::before {
  content: "0" counter(story);
  position: sticky;
  top: 120px;
  float: right;
  margin-right: max(16px, calc((100vw - 1180px) / 2));
  color: rgba(21, 23, 25, 0.055);
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 19rem);
  line-height: 0.8;
  pointer-events: none;
}

.story-panel:nth-child(1) {
  background: linear-gradient(180deg, transparent, rgba(236, 236, 234, 0.58));
}

.story-panel:nth-child(2) {
  background: linear-gradient(180deg, rgba(236, 236, 234, 0.58), rgba(245, 245, 242, 0.84));
}

.story-panel:nth-child(3) {
  background: linear-gradient(180deg, rgba(245, 245, 242, 0.84), rgba(236, 236, 234, 0.52));
}

.story-panel:nth-child(4) {
  background: linear-gradient(180deg, rgba(236, 236, 234, 0.52), transparent);
}

.sticky-copy {
  position: sticky;
  top: 98px;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 120px);
  display: grid;
  margin: 0 auto;
  align-content: center;
  padding: 44px 0;
  opacity: var(--story-opacity, 1);
  transform: translateY(var(--story-y, 0px)) scale(var(--story-scale, 1));
  transform-origin: left center;
  transition: opacity 0.12s linear, transform 0.12s linear;
}

.sticky-copy p {
  max-width: 620px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.sticky-copy h2 {
  max-width: 980px;
}

.coach-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 0.95fr) minmax(300px, 0.68fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding: clamp(48px, 8vw, 104px) 0 clamp(70px, 10vw, 130px);
}

.coach-name {
  position: sticky;
  top: 110px;
}

.coach-text {
  display: grid;
  gap: 18px;
  max-width: 640px;
  grid-column: 2;
}

.coach-text p {
  font-size: 1.14rem;
}

.about-story p:first-child {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 640;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1.18;
}

.about-story p {
  margin-bottom: 0;
}

.photo-slot {
  position: sticky;
  top: 110px;
  grid-column: 3;
  display: grid;
  gap: 14px;
  min-height: 0;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--paper), var(--wash));
  color: var(--muted);
  padding: 14px;
  box-shadow: var(--shadow);
  transform: translateY(var(--portrait-y, 0px));
  transition: transform 0.12s linear;
}

.portrait-frame {
  display: grid;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 7px;
  background:
    linear-gradient(145deg, rgba(229, 227, 222, 0.96), rgba(255, 254, 250, 0.9)),
    var(--soft);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 42%;
}

.photo-slot p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.fit-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 6vw, 72px);
  border-top: 1px solid var(--line);
  padding: clamp(70px, 10vw, 130px) 0;
}

.fit-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.fit-list article {
  background: var(--paper);
  padding: 24px;
}

.fit-list article:nth-child(1) {
  background: var(--paper);
}

.fit-list article:nth-child(2) {
  background: #f5f0e7;
}

.fit-list article:nth-child(3) {
  background: var(--wash);
}

.fit-list span {
  display: block;
  margin-bottom: 8px;
  font-weight: 850;
}

.fit-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.deliverables {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 6vw, 72px);
  border-top: 1px solid var(--line);
  padding: clamp(70px, 10vw, 130px) 0;
}

.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.deliverable-grid article {
  min-height: 240px;
  background: rgba(255, 254, 250, 0.78);
  padding: 24px;
}

.deliverable-grid span,
.deliverable-grid strong {
  display: block;
}

.deliverable-grid span {
  margin-bottom: 52px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 760;
}

.deliverable-grid strong {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 680;
}

.deliverable-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: white;
  min-height: 94vh;
  display: grid;
  align-content: center;
  padding: clamp(70px, 10vw, 130px) 0;
  border-radius: 8px;
  box-shadow: 0 0 0 100vmax var(--ink);
  clip-path: inset(0 -100vmax);
}

blockquote {
  max-width: 980px;
  margin: 0 0 22px;
  font-size: clamp(2.8rem, 7vw, 7.8rem);
  line-height: 0.92;
}

.proof p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.16rem;
}

.social-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  margin-top: clamp(42px, 7vw, 86px);
}

.social-proof article {
  display: grid;
  min-height: 260px;
  align-content: space-between;
  background: var(--paper);
  padding: 26px;
}

.social-proof p {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.22;
}

.social-proof span {
  color: var(--muted);
  font-size: 0.9rem;
}

.application {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 6vw, 76px);
  padding: clamp(70px, 10vw, 130px) 0;
  position: relative;
}

.application::before {
  content: "APPLY";
  position: absolute;
  right: 0;
  top: 20px;
  color: rgba(21, 23, 25, 0.045);
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 12rem);
  line-height: 0.8;
  pointer-events: none;
}

.application h2 {
  font-size: clamp(3rem, 6vw, 6rem);
}

.application-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: clamp(18px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.booking-preview {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(229, 227, 222, 0.82), rgba(255, 254, 250, 0.96)),
    var(--paper);
  padding: clamp(18px, 4vw, 34px);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.booking-preview:hover {
  transform: translateY(-8px);
  box-shadow: var(--heavy-shadow);
}

.booking-preview span {
  color: var(--muted);
  font-size: 0.92rem;
}

.booking-preview strong {
  display: block;
  border-bottom: 1px solid rgba(21, 23, 25, 0.09);
  padding-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 680;
}

.booking-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.booking-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.booking-note {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 680;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(95, 102, 107, 0.13);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

  .sticky-copy,
  .photo-slot {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

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

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2.7rem, 13vw, 4.8rem);
  }

  .intro,
  .coach-section,
  .fit-section,
  .deliverables,
  .deliverable-grid,
  .social-proof,
  .application,
  .booking-layout {
    grid-template-columns: 1fr;
  }

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

  .booking-actions {
    grid-template-columns: 1fr;
  }

  .coach-name {
    position: static;
  }

  .coach-text {
    grid-column: auto;
  }

  .photo-slot {
    grid-column: auto;
    position: sticky;
    top: 78px;
    grid-template-columns: 1fr;
    z-index: 5;
  }

  .portrait-frame {
    min-height: 0;
  }

  .portrait-frame img {
    min-height: 0;
  }

  .story-panel {
    min-height: 112vh;
  }

  .story-panel::before {
    top: 96px;
    margin-right: 16px;
    font-size: clamp(5.6rem, 26vw, 10rem);
  }

  .sticky-copy {
    position: sticky;
    top: 78px;
    min-height: calc(100vh - 92px);
    padding: 38px 0;
  }
}
