/* Nine27Fit sales page. Dark hero (grid + outlined 927), rounded cards, pill controls, curved band tops.
   All color comes from tokens.css so every palette works. */

body.site { overflow-x: hidden; }

/* ---------------- nav ---------------- */
.site-nav { position: fixed; top: 10px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 8px; pointer-events: none; }
.site-nav nav {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 2px; padding: 5px; width: 100%; max-width: 560px;
  border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .12);
  background: var(--chrome, rgba(14, 15, 17, .66));
  -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.site-nav a {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 13px; border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: #D9D5CC;
  font-stretch: 110%; font-variation-settings: "wdth" 110; transition: color .2s, background .2s;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.site-nav .nav-mark { padding: 0 12px 0 6px; }
.site-nav .nav-mark svg { width: 30px; height: 36px; color: #FBF7F4; }
.site-nav .nav-mark .wordmark { font-size: 11px; color: #F4F1EA; }
.site-nav .go { background: var(--btn-dark-bg); color: var(--btn-dark-fg); margin-left: 4px; }
.site-nav .go:hover { background: #fff; color: var(--btn-dark-fg); }
.site-nav .hide-sm { display: none; }
@media (min-width: 700px) { .site-nav { top: 22px; } .site-nav nav { width: auto; } .site-nav a { padding: 0 17px; } .site-nav .go { margin-left: 64px; } }

/* ---------------- hero (always dark) ---------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark);
  padding: 132px 20px 112px; background: var(--hero-bg);
}
/* training-floor grid, fading out toward the edges */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--hero-grid) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
}
/* gold light from the upper right */
.hero::after {
  content: ""; position: absolute; z-index: -1; right: -20%; top: -30%; width: 80%; height: 130%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 26%, transparent), transparent 62%);
  filter: blur(10px); pointer-events: none;
}

.rise { animation: rise .9s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero-grid { max-width: 1120px; margin: 0 auto; display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 224px 32px 216px; } .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 80px; } }

.hero h1 {
  margin: 0; font-size: clamp(38px, 11.4vw, 80px); line-height: .96; font-weight: 800; color: #F6F3EC;
  text-transform: uppercase; letter-spacing: .005em; font-stretch: 115%; font-variation-settings: "wdth" 115; animation-delay: .2s;
}
.hero h1 span, .hero h1 em { display: block; white-space: nowrap; }
@media (min-width: 900px) { .hero h1 { font-size: clamp(56px, 5.4vw, 76px); } }
.hero h1 em { font-style: normal; color: var(--accent-on-dark); }
.hero .foil-rule { width: 72px; margin: 28px 0 22px; animation-delay: .3s; }
.hero .tagline { margin: 28px 0 0; font-family: var(--font-serif); font-size: clamp(21px, 2.6vw, 27px); line-height: 1.3; color: #EDE8DD; max-width: 28ch; animation-delay: .38s; }
.hero .sub { margin: 18px 0 0; max-width: 44ch; font-size: 16.5px; color: #A7A39A; animation-delay: .44s; }
.hero .ph { background: rgba(215, 201, 184, .2); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; animation-delay: .52s; }
.hero .ctas .btn { min-height: 54px; padding: 0 28px; }


.hero-photo { position: relative; animation-delay: .35s; max-width: 430px; width: 100%; justify-self: center; }
.hero-photo .photo { aspect-ratio: 4 / 5; border-radius: 36px; background-color: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); color: #8C877D; }
.hero-photo .photo .ph-in svg { color: #4A4740; }
.hero-badge {
  position: absolute; left: -16px; bottom: 28px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  background: rgba(20, 21, 24, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: var(--r); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); border: 1px solid rgba(255,255,255,.1);
}
.hero-badge svg { width: 40px; height: 40px; }
.hero-badge div { font-size: 13px; line-height: 1.3; color: #A7A39A; }
.hero-badge strong { display: block; font-size: 15px; color: #F4F1EA; }
@media (max-width: 640px) { .hero-badge { left: 10px; } }

/* photo placeholder: drop an <img> inside, it fills the frame */
.photo {
  position: relative; overflow: hidden; border-radius: var(--r-lg); background-color: var(--bg-2);
  background-image: repeating-linear-gradient(135deg, color-mix(in srgb, var(--accent) 9%, transparent) 0 14px, transparent 14px 28px);
  border: 1px solid var(--line); display: grid; place-items: center; text-align: center; color: var(--faint);
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo .ph-in { display: grid; gap: 8px; justify-items: center; padding: 20px; font-size: 13px; }
.photo .ph-in svg { width: 34px; height: 34px; color: var(--line-strong); }
.photo .ph-in b { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* ---------------- sections ---------------- */
.band { position: relative; padding: 100px 20px; background: var(--bg); }
.band.alt { background: var(--bg-2); }
.band.dark { background: var(--dark); color: var(--on-dark); }
.band.curve { border-radius: 48px 48px 0 0; margin-top: -48px; }
@media (max-width: 640px) { .band { padding: 80px 18px; } .band.curve { border-radius: 32px 32px 0 0; margin-top: -32px; } }
@media (min-width: 900px) {
  .band { padding: 152px 32px 168px; }
  .band.curve { border-radius: 64px 64px 0 0; margin-top: -64px; }
  .band-head { margin-bottom: 64px; }
  .card { padding: 36px 32px; }
  .who, .train, .prices, .story, .results { gap: 24px; }
  .steps { gap: 20px; }
  .steps li { padding: 32px 28px; }
  .faq { gap: 12px; }
  .faq summary { padding: 22px 24px; }
  .intake { padding: 48px 48px 44px; }
}
.wrap { max-width: 1080px; margin: 0 auto; }
.band-head { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.band-head h2 {
  margin: 0 0 12px; font-size: clamp(30px, 5vw, 48px); line-height: 1.02; font-weight: 800; color: var(--text-strong);
  text-transform: uppercase; letter-spacing: .01em; font-stretch: 112%; font-variation-settings: "wdth" 112;
}
.band-head p { margin: 0; color: var(--muted); font-size: 17px; }
.band.dark .band-head h2 { color: var(--on-dark); }
.band.dark .band-head p { color: var(--on-dark-muted); }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft); padding: 28px 24px;
}
.ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-wash); color: var(--accent-deep); flex: none; }
.ico svg { width: 24px; height: 24px; }
.card h3 { margin: 18px 0 8px; font-size: 19px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--text-strong); font-stretch: 110%; font-variation-settings: "wdth" 110; }
.card p { margin: 0; color: var(--text); font-size: 15.5px; }

/* who: three tiles + one wide performance tile */
.who { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .who { grid-template-columns: repeat(3, 1fr); } }
.perf {
  grid-column: 1 / -1; display: grid; gap: 22px; align-items: center; padding: 32px 28px;
  background: var(--dark); border-color: var(--dark-line); color: var(--on-dark); overflow: hidden;
}
@media (min-width: 860px) { .perf { grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 36px 40px; } }
.perf .ico { background: var(--accent); color: #111214; }
.perf h3 { color: var(--on-dark); font-size: 24px; margin-top: 16px; }
.perf p { color: var(--on-dark-muted); font-size: 16px; }
.perf .ph { background: rgba(215, 201, 184, .2); }
.perf .tags { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.perf .tags span { padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--dark-line); background: rgba(255,255,255,.04); color: var(--on-dark); font-size: 14px; font-weight: 600; }

/* story: before / after */
.story { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .story { grid-template-columns: 1fr 1fr; } }
.chapter { background: var(--surface); border: 1px solid var(--line); border-radius: 36px; padding: 14px; box-shadow: var(--shadow-soft); }
.chapter .photo { aspect-ratio: 4 / 5; border-radius: 26px; }
@media (min-width: 820px) { .chapter .photo { aspect-ratio: 5 / 6; } }
.chapter .photo img { object-position: 50% 0; }
.chapter .photo img[src*="then"] { object-position: 50% 70%; }
.chapter .txt { padding: 22px 14px 14px; }
.step-tag { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--bg-2); color: var(--muted); }
.step-tag.now { background: var(--accent-wash); color: var(--accent-deep); }
.chapter h3 { margin: 14px 0 10px; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.05; font-weight: 800; text-transform: uppercase; color: var(--text-strong); font-stretch: 112%; font-variation-settings: "wdth" 112; }
.chapter p { margin: 0 0 12px; font-size: 16px; color: var(--text); }
.chapter p:last-child { margin-bottom: 0; }
.stance {
  grid-column: 1 / -1; display: grid; gap: 14px; align-items: center; padding: 22px 24px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
@media (min-width: 820px) { .stance { grid-template-columns: auto 1fr; gap: 20px; } }
.stance p { margin: 0; color: var(--text); font-size: 15.5px; }
.stance strong { color: var(--text-strong); }

/* training options */
.train { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .train { grid-template-columns: 1fr 1fr; } }
.train .photo { aspect-ratio: 16 / 9; border-radius: 20px; margin: -12px -8px 6px; }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--text); }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-wash); }
.ticks li::after {
  content: ""; position: absolute; left: 3px; top: 5px; width: 12px; height: 12px; background: var(--accent-deep);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nutrition-strip {
  margin-top: 16px; display: grid; gap: 16px; align-items: center; padding: 22px 24px; border-radius: var(--r-lg);
  background: var(--accent-wash); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
@media (min-width: 820px) { .nutrition-strip { grid-template-columns: auto 1fr; gap: 20px; } }
.nutrition-strip .ico { background: var(--surface); }
.nutrition-strip h3 { margin: 0 0 4px; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--text-strong); }
.nutrition-strip p { margin: 0; color: var(--text); font-size: 15px; }

/* how it works */
.steps { display: grid; gap: 14px; grid-template-columns: 1fr; padding: 0; margin: 0; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; box-shadow: var(--shadow-soft); }
.steps .n { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #FBF7F4; font-weight: 800; }
.steps h3 { margin: 18px 0 8px; font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--text-strong); font-stretch: 110%; font-variation-settings: "wdth" 110; }
.steps p { margin: 0; color: var(--text); font-size: 15.5px; }
.session-note { margin: 18px auto 0; max-width: 760px; text-align: center; color: var(--muted); font-size: 15.5px; }
.session-note b { color: var(--text-strong); }
/* goal cards: how we train for each goal */
.goal-how { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--text); }
.goal-how b { display: block; margin-bottom: 3px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); }
.perf .goal-how { border-color: var(--dark-line); color: var(--on-dark-muted); }
.perf .goal-how b { color: var(--accent); }

/* pricing */
.prices { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .prices { grid-template-columns: repeat(3, 1fr); } }
.price { display: flex; flex-direction: column; }
.price .amt { margin: 16px 0 2px; display: flex; align-items: baseline; gap: 6px; color: var(--text-strong); }
.price .amt small { font-size: 14px; color: var(--muted); }
.price .amt b { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.01em; }
.price .btn { margin-top: auto; }
.price .ticks { margin: 16px 0 24px; }
.price.feature { background: var(--dark); border-color: var(--dark-line); box-shadow: var(--shadow-lift); }
.price.feature h3, .price.feature .amt { color: var(--on-dark); }
.price.feature p, .price.feature .ticks, .price.feature .amt small { color: var(--on-dark-muted); }
.price.feature .ticks li::before { background: rgba(215, 201, 184, .18); }
.price.feature .ticks li::after { background: var(--accent-on-dark); }
.price.feature .ph { background: rgba(215, 201, 184, .2); }
.price .tag { position: absolute; top: 20px; right: 20px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--accent-on-dark); color: #1F1F1F; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.price-foot { margin: 18px auto 0; max-width: 820px; display: grid; gap: 10px; }
.price-foot div { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; padding: 14px 22px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 15px; text-align: center; }
.price-foot div.free { background: var(--accent-wash); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.price-foot b { color: var(--text-strong); }
@media (max-width: 640px) { .price-foot div { border-radius: var(--r-lg); } }

/* faq */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-soft); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-size: 16.5px; font-weight: 700; color: var(--text-strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font-size: 18px; line-height: 1; color: var(--accent); font-weight: 500; }
.faq details[open] summary::after { content: "−"; background: var(--accent-wash); }
.faq details p { margin: -4px 20px 20px; color: var(--text); font-size: 15.5px; max-width: 62ch; }

/* ---------------- intake ---------------- */
.intake { max-width: 760px; margin: 0 auto; padding: 30px 22px; border-radius: 36px; }
@media (min-width: 700px) { .intake { padding: 40px 40px 36px; } }
.intake form { display: grid; gap: 22px; }
.row { display: grid; gap: 12px; }
@media (min-width: 640px) { .row.two { grid-template-columns: 1fr 1fr; } .row.three { grid-template-columns: 1fr 1fr 1fr; } }
.fld { display: grid; gap: 7px; }
.fld > span, fieldset legend { font-size: 13px; font-weight: 700; color: var(--text-strong); letter-spacing: .02em; }
fieldset legend { padding: 0; margin-bottom: 9px; }
fieldset legend em, .fld > span em { font-style: normal; font-weight: 500; color: var(--faint); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fld input, .fld select, .fld textarea {
  width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 14px;
  background-color: var(--field); font-size: 16px; color: var(--text-strong); transition: border-color .2s, box-shadow .2s;
}
.fld textarea { height: auto; min-height: 96px; padding: 14px 16px; resize: vertical; line-height: 1.45; }
.fld select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B705C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-position: right 14px center; background-size: 18px; background-repeat: no-repeat; padding-right: 40px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: var(--field); font-size: 14.5px; color: var(--text); transition: all .15s var(--ease);
}
.chips label:hover span { border-color: var(--accent); }
.chips input:checked + span { background: var(--btn-bg); border-color: transparent; color: var(--btn-fg); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.check { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--text); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.submit-row { display: grid; gap: 12px; }
.step { display: grid; gap: 22px; }
.step[hidden] { display: none; }
.step-nav { display: flex; gap: 10px; }
.step-nav .btn { min-height: 56px; font-size: 14px; }
.step-nav .next { flex: 1; }
.step-nav .back { padding: 0 26px; }
.step-nav .back[hidden] { display: none; }
.progress { display: grid; gap: 10px; }
.progress[hidden] { display: none; }
.progress-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.progress-label b { color: var(--text-strong); }
.progress-bar { height: 6px; border-radius: 6px; background: var(--bg-2); overflow: hidden; }
.progress-bar i { display: block; height: 100%; width: 50%; border-radius: inherit; background: var(--accent); transition: width .4s var(--ease); }
.submit-row .fine { margin: 0; text-align: center; font-size: 12.5px; color: var(--faint); }
.err { margin: 0; color: #D0694F; font-size: 14px; min-height: 1.2em; text-align: center; }
.done { text-align: center; padding: 20px 6px; }
.done .ok { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: #FBF7F4; }
.done .ok svg { width: 28px; height: 28px; }
.done h3 { margin: 0 0 8px; font-size: 24px; font-weight: 800; text-transform: uppercase; color: var(--text-strong); font-stretch: 112%; font-variation-settings: "wdth" 112; }
.done p { margin: 0 auto; max-width: 40ch; color: var(--muted); }
.or-text { margin: 18px 0 0; text-align: center; font-size: 15px; color: var(--muted); }
.or-text a { color: var(--text-strong); font-weight: 700; }

/* ---------------- footer ---------------- */
.site-foot { padding: 44px 20px calc(110px + env(safe-area-inset-bottom)); background: var(--hero-bg); color: #8F8B82; border-top: 1px solid rgba(255,255,255,.06); }
@media (min-width: 900px) { .site-foot { padding-bottom: 44px; } }
.site-foot .wrap { display: grid; gap: 22px; font-size: 13.5px; }
@media (min-width: 820px) { .site-foot .wrap { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-foot .brandline { display: flex; align-items: center; gap: 10px; color: #F4F1EA; }
.site-foot .brandline svg { width: 34px; height: 40px; color: #FBF7F4; }
.site-foot .brandline .wordmark { font-size: 12px; }
.site-foot h4 { margin: 0 0 8px; color: var(--accent-on-dark); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.site-foot p { margin: 0; }
.site-foot .ph { background: rgba(215, 201, 184, .16); color: #E6E1D6; }
.site-foot .legal { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 12px; color: #6F6B63; }

/* ---------------- sticky mobile CTA ---------------- */
.dock {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
  display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 6px; border-radius: var(--r-pill);
  background: rgba(250, 250, 251, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(15, 27, 51, .1); box-shadow: 0 14px 36px -14px rgba(10, 20, 38, .45);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
}
.dock.show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dock .btn { min-height: 48px; }
.dock .cta { background: var(--dark); color: var(--on-dark); }
.dock .txt { padding: 0 18px; border-color: rgba(15, 27, 51, .22); background: transparent; color: var(--dark); }
@media (min-width: 900px) { .dock { display: none; } }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }


/* client results: before / after pairs */
.results { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .results { grid-template-columns: 1fr 1fr; } }
.result { background: var(--surface); border: 1px solid var(--line); border-radius: 36px; padding: 14px; box-shadow: var(--shadow-soft); }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba .photo { aspect-ratio: 3 / 4; border-radius: 24px; }
.ba-tag { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 12px; border-radius: var(--r-pill); background: rgba(14, 22, 38, .78); color: #F2EEE4; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ba-tag.after { background: var(--accent); color: #FBF7F4; }
.result-txt { padding: 20px 12px 10px; }
.result-txt h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--text-strong); font-stretch: 110%; font-variation-settings: "wdth" 110; }
.result-txt p { margin: 0; color: var(--text); font-size: 15.5px; }

/* footer tagline + 6061 Labs credit */
.foot-tag { margin-top: 12px !important; font-family: var(--font-serif); font-size: 16px; color: #CFCAC0; }
.labs-credit { grid-column: 1 / -1; justify-self: center; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 26px; text-decoration: none; opacity: .85; transition: opacity .2s; }
.labs-credit:hover { opacity: 1; }
.labs-credit .lc-top { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #8F8B82; }
.labs-credit .lc-mark { display: inline-flex; align-items: center; gap: 8px; }
.labs-credit .lc-mark span { font-weight: 700; font-size: 16px; letter-spacing: -.02em; color: #F2EEE4; }
.site-foot .legal { text-align: center; }

/* ---------------- VSL hero: headline, video, one line, CTA ---------------- */
.hero.vsl-hero { padding: 104px 16px 120px; text-align: center; }
@media (min-width: 900px) { .hero.vsl-hero { padding: 128px 32px 200px; } }
.vsl-hero::after { right: -10%; left: -10%; width: auto; top: -40%; }
.vsl-col { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
/* the promise: a sentence, not a slogan, so sentence case and a bit smaller than the old two-word h1 */
.vsl-hero h1 {
  max-width: none; font-size: clamp(27px, 4.1vw, 60px); font-family: var(--font-display); line-height: 1.04; text-transform: none; letter-spacing: -.005em;
  font-stretch: 112%; font-variation-settings: "wdth" 112; text-wrap: balance;
}
.vsl-hero h1 em { display: inline; white-space: normal; color: var(--accent-on-dark); }
.vsl-hero .sub { margin: 18px auto 0; max-width: 60ch; text-wrap: balance; font-size: clamp(16.5px, 2vw, 19px); color: #CFCBC4; }
.vsl-hero .ctas { justify-content: center; margin-top: 32px; }
.vsl-hero .trust { margin: 18px 0 0; font-size: 13.5px; color: #8E8A80; animation-delay: .6s; }

.vsl {
  position: relative; width: 100%; margin-top: 32px; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 24px; background: #0F0F0F; border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); animation-delay: .32s;
}
@media (min-width: 900px) { .vsl { margin-top: 36px; border-radius: 32px; max-width: min(900px, calc((100vh - 430px) * 16 / 9)); } }
.vsl video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.vsl.ready video { display: block; }
.vsl.ready .vsl-ph { display: none; }
.vsl-ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 20px;
  color: #8C877D; font-size: 13px;
  background-image: repeating-linear-gradient(135deg, rgba(215,201,184,.06) 0 14px, transparent 14px 28px);
}
.vsl-ph .play {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--on-dark); color: var(--dark);
}
.vsl-ph .play svg { width: 26px; height: 26px; margin-left: 4px; }
.vsl-ph b { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-on-dark); }

/* a CTA under a section, centered */
.band-cta { margin-top: 48px; text-align: center; }
.band-cta .btn { min-height: 54px; padding: 0 28px; }

/* virtual: what you get list */
.gets { display: grid; gap: 14px; }
@media (min-width: 720px) { .gets { grid-template-columns: 1fr 1fr; } }
.gets .card h3 { margin-top: 0; }
.fit { max-width: 720px; margin: 0 auto; }
.fit .ticks { font-size: 17px; gap: 14px; }
.foot-switch { margin-top: 8px; font-size: 13px; }
.foot-switch a { color: inherit; opacity: .8; }
.prices.single { max-width: 440px; margin: 0 auto; grid-template-columns: 1fr; }

/* ---------------- Coach Brad P ---------------- */
/* top bar: brand only (PDF: minimal branding, no menu) */
.site-nav nav { justify-content: center; max-width: max-content; }
.site-nav .nav-mark { height: 46px; padding: 0 24px; }
.site-nav .nav-mark .lockup { font-size: 17px; color: #FBF7F4; }
@media (min-width: 700px) { .site-nav .nav-mark { height: 50px; padding: 0 30px; } .site-nav .nav-mark .lockup { font-size: 20px; } }
.site-nav .nav-mark:hover { background: transparent; }
.site-foot .brandline .lockup { font-size: 15px; color: #FBF7F4; justify-items: start; }
.site-foot .brandline .lockup small { padding-left: 0; }
.vsl-hero .vsl { margin-top: 30px; }
.hero::after { background: radial-gradient(ellipse at center, rgba(215, 201, 184, .12), transparent 62%); }

/* guarantee: sits above the pricing cards */
.guarantee {
  max-width: 760px; margin: 22px auto 0; display: grid; gap: 14px; align-items: center; padding: 20px 24px; border-radius: var(--r-lg);
  background: var(--accent-wash); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
}
@media (min-width: 700px) { .guarantee { grid-template-columns: auto 1fr; gap: 20px; } }
.guarantee .seal { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #FBF7F4; font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: .9; text-align: center; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.guarantee .seal small { display: block; font-size: 8px; letter-spacing: .14em; font-weight: 700; }
.guarantee h3 { margin: 0 0 3px; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--text-strong); font-family: var(--font-display); }
.guarantee p { margin: 0; color: var(--text); font-size: 15px; }
.contact-line { margin: 16px 0 0; text-align: center; font-size: 14.5px; color: var(--muted); }
.contact-line a { color: var(--text-strong); font-weight: 600; }
.checkout-err { margin: 10px 0 0; font-size: 13.5px; color: #D0694F; text-align: center; min-height: 1em; }
.price.feature .checkout-err { color: #F0A58F; }
.welcome-head .ok { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: #FBF7F4; }
.welcome-head .ok svg { width: 28px; height: 28px; }
h1, h2, h3, h4 { font-family: var(--font-display); }
@media (min-width: 900px) {
  .hero.vsl-hero { padding-top: 112px; }
  .vsl-hero .vsl { margin-top: 26px; }
  .vsl-hero .ctas { margin-top: 26px; }
}
.site-foot .foot-tag { font-family: var(--font-body); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: #A7A7A1; margin-top: 14px; }
/* wordmarks: outlined from tools/brand/gen.py (same drawing as /brand), height sets the size */
.wm { display: block; fill: currentColor; }
/* header logo: the dash lockup on its own, no pill; a soft shadow keeps it off the hero */
.site-nav { position: absolute; }   /* scrolls away with the hero: a bare ivory logo can't sit over the light sections */
.site-nav nav { border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; padding: 0; }
.site-nav .nav-mark, .site-nav .nav-mark:hover { height: auto; padding: 0; background: none; color: #FBF7F4; }
.site-nav .nav-mark svg.wm-dash { width: auto; height: 44px; aspect-ratio: 2.941;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .55)) drop-shadow(0 4px 14px rgba(0, 0, 0, .5)); }
.site-foot .brandline svg.wm-stack { width: auto; height: 34px; aspect-ratio: 4.384; color: #FBF7F4; margin-left: 4px; }
@media (min-width: 700px) { .site-nav .nav-mark svg.wm-dash { height: 54px; } }

/* guarantee above the cards: shield-check seal instead of a day count */
.band-head + .guarantee { margin: 0 auto 26px; }
.guarantee .seal svg { width: 28px; height: 28px; }

/* hero: the email link under the main button */
.hero-link { margin: 16px 0 0; font-size: 14.5px; animation-delay: .56s; }
.hero-link a { color: #D9D5CC; text-decoration: underline; text-decoration-color: rgba(217, 213, 204, .4); text-underline-offset: 4px; }
.hero-link a:hover { color: #fff; text-decoration-color: currentColor; }
.vsl-hero .hero-link + .trust { margin-top: 10px; }

/* pricing tick that opens an explainer */
.tick-more { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline dotted; text-decoration-color: currentColor; text-underline-offset: 4px; }
.price.feature .tick-more { color: var(--on-dark); }
.tick-more::after { content: "i"; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 7px; vertical-align: 1px;
  border: 1px solid currentColor; border-radius: 50%; font: 700 10px/1 var(--font-body); font-style: normal; opacity: .75; }

dialog.modal { width: min(420px, calc(100vw - 32px)); padding: 28px 26px 24px; border: 0; border-radius: var(--r-lg);
  background: var(--surface, #FBF7F4); color: var(--text); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); text-align: center; }
dialog.modal::backdrop { background: rgba(10, 10, 10, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
dialog.modal h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--text-strong); }
dialog.modal p { margin: 0 0 20px; font-size: 16px; line-height: 1.5; }
dialog.modal .btn { min-width: 140px; }

/* footer: one centered column */
.site-foot .wrap.foot-center { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0; }
.site-foot .foot-more { margin-bottom: 34px; }
.site-foot .foot-center .brandline svg.wm-stack { margin: 0; height: 40px; }
.site-foot .foot-center .foot-tag { margin: 14px 0 28px !important; }
.site-foot .foot-center .legal { width: 100%; }
.site-foot .foot-center .labs-credit { padding-top: 22px; }

/* questions page: short dark top, then the list */
.q-hero { padding-bottom: 80px !important; }
.q-hero .sub a { color: inherit; text-underline-offset: 4px; }
@media (max-width: 699px) { .guarantee { grid-template-columns: auto 1fr; gap: 14px; padding: 18px; } .guarantee .seal { width: 44px; height: 44px; } .guarantee .seal svg { width: 22px; height: 22px; } }

/* pricing round 2026-10-28: two in-person cards, guarantee under the cards */
@media (min-width: 900px) { .prices.pair { max-width: 800px; margin: 0 auto; grid-template-columns: repeat(2, 1fr); } }
.prices + .guarantee { margin: 26px auto 0; }
/* hero fills the screen; only the top of pricing peeks above the fold */
.hero.vsl-hero { min-height: calc(100svh - 48px); display: flex; flex-direction: column; justify-content: center; }

/* footer: two buttons side by side; Nine27Fit explainer modal */
.site-foot .foot-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.site-foot .foot-btns .foot-more { margin-bottom: 0; }
dialog.modal .ticks { margin: 0 0 18px; text-align: left; }
/* link under the pack card's main button */
.price .card-more { margin: 14px 0 0; text-align: center; font-size: 14.5px; }

/* how it works (coachbradp.com): three steps, then app screens in phone frames */
@media (min-width: 1000px) { .steps.how-steps { grid-template-columns: repeat(3, 1fr); } }
.app-shots { display: grid; grid-auto-flow: column; grid-auto-columns: min(62vw, 240px); gap: 16px; margin: 36px -16px 0; padding: 4px 16px 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.app-shots::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .app-shots { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; margin: 44px 0 0; padding: 0; overflow: visible; } }
.app-shots figure { margin: 0; scroll-snap-align: center; }
.app-shots .phone { border-radius: 30px; padding: 7px; background: #111214; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 18px 40px rgba(17, 18, 20, .22); }
.app-shots img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 2; border-radius: 24px; background: #ECEDEF; }
.app-shots figcaption { margin-top: 12px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
/* honeypot field: off-screen for people, still in the form for bots */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* online coaching: billing picker on the price card, auto-renew note under the button */
.bill { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 18px 0 0; padding: 4px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .06); border: 1px solid var(--dark-line); }
.bill label { position: relative; cursor: pointer; }
.bill input { position: absolute; opacity: 0; pointer-events: none; }
.bill span { display: grid; place-items: center; min-height: 38px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 600; color: var(--on-dark-muted); transition: all .15s var(--ease); }
.bill input:checked + span { background: var(--on-dark); color: #17150F; }
.bill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.bill-note { margin: 12px 0 0 !important; font-size: 13px; text-align: center; color: var(--on-dark-muted); }
.bill-note a { color: inherit; }
.site-foot .legal a { color: inherit; }

/* checkout: Stripe's embedded form in a light sheet; full screen on phones */
dialog.checkout-modal { width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; overflow: auto; background: #fff; color: #1F1F1F; text-align: left; }
dialog.checkout-modal #checkout-mount { padding: 48px 8px 16px; min-height: 320px; }
.checkout-loading { margin: 80px 0 !important; text-align: center; color: #777; }
.modal-x { position: absolute; top: 8px; right: 8px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #F1F1F1; color: #1F1F1F;
  font-size: 24px; line-height: 1; cursor: pointer; }
@media (max-width: 600px) {
  dialog.checkout-modal { width: 100vw; max-width: 100vw; height: 100svh; max-height: 100svh; margin: 0; border-radius: 0; }
}

/* /welcome intro-call booker */
#book[hidden] { display: none; }
.booker { padding: 24px; }
.book-days { display: flex; gap: 8px; overflow-x: auto; margin: 0 -24px; padding: 2px 24px 14px; scrollbar-width: none; }
.book-days::-webkit-scrollbar { display: none; }
.book-days button { flex: 0 0 64px; display: grid; justify-items: center; gap: 2px; padding: 10px 0; border-radius: var(--r-md, 14px); cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--field); color: var(--text); font: inherit; transition: all .15s var(--ease); }
.book-days button small { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.book-days button b { font-size: 22px; line-height: 1.1; color: var(--text-strong); }
.book-days button[aria-selected="true"] { background: var(--btn-bg); border-color: transparent; }
.book-days button[aria-selected="true"] small, .book-days button[aria-selected="true"] b { color: var(--btn-fg); }
.book-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 8px; }
.book-time { min-height: 44px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--field); color: var(--text); font: inherit; font-size: 14.5px; cursor: pointer; }
.book-time:hover { border-color: var(--accent); }
.book-time[aria-pressed="true"] { background: var(--btn-bg); border-color: transparent; color: var(--btn-fg); }
.book-msg { grid-column: 1 / -1; margin: 8px 0; color: var(--muted); }
.book-go { margin-top: 20px; }
.book-go .btn { width: 100%; min-height: 54px; }
.book-go[hidden], .book-pick[hidden], .book-done[hidden] { display: none; }
.booker .err { margin: 12px 0 0; color: #D0694F; font-size: 14px; min-height: 1em; }
.book-done { text-align: center; }
.book-done h3 { margin: 0 0 6px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; color: var(--text-strong); }
.book-done .book-when { font-size: 19px; font-weight: 700; color: var(--text-strong); }
.book-done .btn { margin-top: 12px; }

/* /terms */
.terms { max-width: 720px; margin: 0 auto; }
.terms h2 { margin: 36px 0 10px; font-size: 20px; text-transform: none; letter-spacing: 0; color: var(--text-strong); }
.terms h2:first-child { margin-top: 0; }
.terms p { margin: 0 0 14px; font-size: 16px; line-height: 1.6; color: var(--text); }
.terms a { color: var(--accent-deep); }
.terms .terms-date { margin-top: 32px; font-size: 14px; color: var(--muted); }
/* footer: PED stance, under the tagline */
.site-foot .foot-ped { display: flex; gap: 10px; align-items: flex-start; max-width: 460px; margin: -8px auto 28px; text-align: left; font-size: 13px; line-height: 1.55; color: #8F8B82; }
.site-foot .foot-ped svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--accent-on-dark); }
.site-foot .foot-ped strong { color: #E6E1D6; font-weight: 600; }
.contact-line.phone-line { margin-top: 28px; font-size: 16px; }
.contact-line.phone-line a { font-size: 18px; font-weight: 700; white-space: nowrap; }

/* VSL plays muted on load (browsers only allow autoplay without sound); one tap restarts it from the top with sound */
.vsl-sound { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px 12px 14px; border: 0; border-radius: 999px; background: #FBF7F4; color: #171717; cursor: pointer;
  font: 700 13px/1 var(--font-body, inherit); letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  animation: vsl-pulse 2.4s ease-in-out infinite; }
.vsl-sound[hidden] { display: none; }
.vsl-sound-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #171717; color: #FBF7F4; }
.vsl-sound-ico svg { width: 18px; height: 18px; }
@keyframes vsl-pulse { 50% { box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 8px rgba(251, 247, 244, .28); } }
@media (prefers-reduced-motion: reduce) { .vsl-sound { animation: none; } }

/* Free session: action shot above the four steps (portrait crop on phones) */
.session-photo { margin: 0 0 18px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--line); background: var(--surface); }
.session-photo img { display: block; width: 100%; height: auto; aspect-ratio: 800 / 848; object-fit: cover; }
@media (min-width: 700px) { .session-photo { margin-bottom: 20px; border-radius: 36px; } .session-photo img { aspect-ratio: 2 / 1; object-position: 50% 35%; } }
/* keep the sound pill on one line and out of the speaker's face on phones */
.vsl-sound { white-space: nowrap; }
@media (max-width: 600px) { .vsl-sound { bottom: 10px; gap: 7px; padding: 5px 13px 5px 6px; font-size: 11px; } .vsl-sound-ico { width: 24px; height: 24px; } .vsl-sound-ico svg { width: 15px; height: 15px; } }
/* price card: small line under the big number (10-pack total) */
.price .amt-note { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.price.feature .amt-note { color: var(--on-dark-muted); }
