/* =====================================================================
   ONLYCOACHING — OnlyProgram Builder
   Interim working face in Mason's existing brand language:
   black / white, letterspaced caps, Raleway display + Helvetica body,
   the OnlyEats product purple as the single accent, white pill CTAs.
   Full design pass happens later — keep this disciplined, not decorated.
   ===================================================================== */

:root {
  --black: #0b0b0c;
  --panel: #131315;
  --panel2: #1a1a1d;
  --line: #26262a;
  --white: #f5f5f3;
  --grey: rgba(245, 245, 243, 0.65);
  --grey-dark: rgba(245, 245, 243, 0.42);
  --purple: #7a4bdf;
  --purple-soft: rgba(122, 75, 223, 0.14);
  --radius: 14px;
  --font-wide: 'Helvetica Now', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --hair: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.07);
}

* { box-sizing: border-box; }
html { overflow-x: clip; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: 'Helvetica Now', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* layered depth so the page never reads as flat black — soft purple
   glows + fine grain, fixed behind everything */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -5%, rgba(122, 75, 223, 0.10), transparent 65%),
    radial-gradient(1100px 700px at -10% 40%, rgba(122, 75, 223, 0.05), transparent 60%),
    radial-gradient(800px 600px at 60% 110%, rgba(122, 75, 223, 0.06), transparent 65%);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.035; /* no blend mode — it forces expensive compositing on scroll */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--purple); color: var(--white); }

h1, h2, h3, .display { font-family: 'Helvetica Now', 'Helvetica Neue', Helvetica, Arial, sans-serif; letter-spacing: -0.02em; }

a { color: var(--white); }
a:hover { color: var(--purple); }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.band { width: 100%; }

/* ---------- intro loader: black screen, wordmark, hairline progress ---------- */
html.is-loading { overflow: hidden; }
#site-loader {
  position: fixed; inset: 0; z-index: 200; background: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; transition: opacity 0.55s ease, visibility 0.55s;
}
#site-loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.ldr-logo { height: 30px; width: auto; }
.ldr-bar { width: 170px; height: 3px; border-radius: 999px; background: var(--line); overflow: hidden; }
.ldr-fill { height: 100%; width: 0%; background: var(--purple); border-radius: 999px; }
/* hold the hero entrance until the loader lifts, so it plays on reveal
   instead of finishing unseen behind the black screen */
html.is-loading .hero-in { animation-play-state: paused; }

/* ---------- floating glass nav ---------- */
.glass-nav {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%);
  z-index: 50; width: min(860px, calc(100% - 24px)); height: 46px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 5px 0 20px; border-radius: 100px;
  background: rgba(18, 18, 21, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--hair);
}
.logo-btn { border: none; background: none; padding: 0; cursor: pointer; line-height: 0; display: flex; align-items: center; }
.logo-img { height: 22px; width: auto; display: block; }
.gn-links { display: flex; gap: 24px; align-items: center; }
.gn-links button {
  background: none; border: none; padding: 4px 2px; cursor: pointer; font: inherit;
  font-size: 13px; font-weight: 500; color: var(--grey); transition: color 0.2s; line-height: 1;
}
.gn-links button:hover { color: var(--white); }
.gn-cta {
  margin: 0; width: auto; height: 32px; padding: 0 16px; font-size: 13px;
  display: inline-flex; align-items: center; line-height: 1;
}
main { padding-top: 0; }
@media (max-width: 720px) {
  .gn-links { display: none; }
  .glass-nav { top: 10px; height: 44px; }

}

/* ---------- hero — centered, full-bleed band ---------- */
.band-hero { padding: 150px 0 96px; }
.hero { text-align: center; max-width: 860px; margin: 0 auto; }
.hero-kicker {
  font-family: var(--font-wide); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--grey-dark); font-weight: 600; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(38px, 7.2vw, 80px); font-weight: 700; margin: 0 0 24px;
  letter-spacing: -0.04em; line-height: 1.04; color: #fff;
}
.hero h1 em { font-style: normal; color: #fff; }
.hero p { color: var(--grey); max-width: 580px; margin: 0 auto; font-size: 18px; line-height: 1.6; text-wrap: balance; }
.trust-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 54px; }
.chip {
  padding: 11px 20px; border-radius: 100px; font-size: 13px; color: var(--grey);
  background: var(--glass); border: 1px solid var(--hair);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
}
/* hero load-in: fade and rise, staggered */
.hero-in { opacity: 0; transform: translateY(26px); animation: heroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero-in:nth-child(2) { animation-delay: 0.08s; }
.hero-in:nth-child(3) { animation-delay: 0.16s; }
.hero-in:nth-child(4) { animation-delay: 0.24s; }
.hero-in:nth-child(5) { animation-delay: 0.34s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
/* scroll reveal: one slow confident rise per band */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-in { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.btn.btn-auto { width: auto; min-width: 230px; margin-top: 0; }
.hero-tag {
  display: inline-block; font-size: 12px; font-weight: 800;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--white);
  font-family: var(--font-wide);
}
.hero-tag i { font-style: italic; color: var(--purple); }

/* ---------- ticker strip ---------- */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 13px 0; background: rgba(19, 19, 21, 0.55);
}
.ticker-track {
  display: flex; gap: 0; width: max-content; white-space: nowrap;
  animation: carScroll 40s linear infinite;
}
.ticker-track span {
  font-family: var(--font-wide); font-weight: 800; font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--grey);
  padding: 0 26px; position: relative;
}
.ticker-track span::after {
  content: '·'; color: var(--purple); position: absolute; right: -5px;
}
.ticker-track span i { font-style: italic; color: var(--purple); }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- product tiles — floating visuals, text underneath ---------- */
.band-products { padding: 84px 0 90px; }
.band-head.center { text-align: center; margin-bottom: 48px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tile {
  background: none; border: none; padding: 0; cursor: pointer; text-align: center;
  color: var(--white); font: inherit; text-decoration: none; display: block;
  transition: transform 0.3s ease;
}
.tile:hover { transform: translateY(-8px); color: var(--white); }
.tile-visual {
  display: block; aspect-ratio: 1916 / 821; border-radius: 18px; overflow: hidden;
  position: relative; border: 1px solid var(--line);
  background: #060607;
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.9), 0 8px 30px -18px rgba(122, 75, 223, 0.18);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.tile:hover .tile-visual {
  border-color: rgba(122, 75, 223, 0.55);
  box-shadow: 0 28px 60px -22px rgba(0, 0, 0, 0.95), 0 10px 44px -14px rgba(122, 75, 223, 0.35);
}
.tile-img {
  background-color: #050505;
  background-image: url('/brand_assets/onlyeats-banner-v2.png');
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.tile-img-program {
  background-color: #050505;
  background-image: url('/brand_assets/onlyprogram-banner.png');
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.tile-img-coaching {
  background-color: #050505;
  background-image: url('/brand_assets/onlycoaching-11-banner.png');
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
/* typographic tile art in Mason's product-mark style (interim until
   generated/real photos land — same lockup language as the ONLYEATS banner) */
.tile-art {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 20px;
  background:
    radial-gradient(420px 300px at 78% 18%, rgba(122, 75, 223, 0.16), transparent 60%),
    radial-gradient(500px 360px at 15% 90%, rgba(122, 75, 223, 0.08), transparent 55%),
    linear-gradient(160deg, #101012, #060607 70%);
}
.tile-art::before {
  content: ''; position: absolute; left: 0; top: 8%; bottom: 8%; width: 4px;
  background: var(--purple); border-radius: 2px;
}
.ta-brand {
  font-family: var(--font-wide); font-weight: 700; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; color: rgba(245,245,243,0.8);
}
.ta-lockup {
  font-family: var(--font-wide); font-weight: 800; font-style: italic;
  font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.01em; line-height: 1;
  color: var(--white); text-transform: none;
}
.ta-lockup em { font-style: italic; color: var(--purple); }
.ta-rule { width: 130px; height: 1px; background: rgba(122, 75, 223, 0.6); }
.ta-tag {
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--grey); font-weight: 700;
}
.ta-tag i { font-style: italic; color: var(--purple); }
.tile-info { display: block; padding: 20px 10px 0; }
.tile-title {
  display: block; font-weight: 700; font-size: 17px;
  letter-spacing: -0.01em; margin-bottom: 6px; color: #fff;
}
.tile-desc { display: block; font-size: 13px; color: var(--grey); line-height: 1.6; max-width: 320px; margin: 0 auto 12px; }
.tile-cta {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--purple); transition: transform 0.25s ease;
}
.tile:hover .tile-cta { transform: translateX(5px); }

/* ---------- coaching band (his words, verbatim) ---------- */
.band-head { margin: 0 0 26px; }
.band-kicker {
  font-family: var(--font-wide); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--grey-dark); font-weight: 600; display: block; margin-bottom: 12px;
}
.band-title {
  font-weight: 700; font-size: clamp(30px, 5vw, 50px);
  letter-spacing: -0.035em; margin: 0; line-height: 1.05; color: #fff;
}
.band-why {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(19, 19, 21, 0.65), rgba(11, 11, 12, 0.2));
  padding: 110px 0 100px;
}
.why-copy p { margin: 0 0 14px; color: #cfcfca; font-size: 16px; line-height: 1.7; max-width: 560px; }
.why-copy.center { text-align: center; }
.why-copy.center p { margin-left: auto; margin-right: auto; }
.why-copy p:nth-child(2) { font-style: italic; font-weight: 700; color: var(--white); font-size: 22px; letter-spacing: -0.02em; }
.band-cta { margin-top: 32px; }
.band-cta.center { text-align: center; }

/* ---------- testimonial carousel ---------- */
.band-testimonials { padding: 76px 0 0; }
.car-viewport { overflow: hidden; margin: 10px 0 92px; padding: 4px 0; }
.car-track { display: flex; gap: 26px; width: max-content; animation: carScroll 70s linear infinite; padding: 0 28px; }
@media (hover: hover) { .car-viewport:hover .car-track { animation-play-state: paused; } }
@keyframes carScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.t-card {
  width: 400px; max-width: 82vw; flex-shrink: 0;
  border-top: 1px solid var(--line); padding: 20px 0 6px; position: relative;
}
.t-card::before { content: ''; position: absolute; top: -1px; left: 0; width: 44px; height: 1px; background: var(--purple); }
.t-card .t-name {
  font-family: var(--font-wide); font-weight: 700; font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 4px;
}
.t-card .t-sub { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--grey-dark); margin-bottom: 14px; }
.t-card p { margin: 0 0 12px; font-size: 13px; color: var(--grey); line-height: 1.7; }

/* uniform bottom edge: clamp every card's text to the same height;
   overflowing cards get a fade + Read more that expands in place */
.t-body { height: 220px; overflow: hidden; position: relative; }
.t-fade {
  position: absolute; inset: auto 0 0 0; height: 70px; display: none;
  background: linear-gradient(180deg, transparent, var(--black) 88%);
  pointer-events: none;
}
.t-card.clampable .t-fade { display: block; }
.t-card.expanded .t-body { height: auto; }
.t-card.expanded .t-fade { display: none; }
.t-more {
  display: none; background: none; border: none; padding: 8px 0 0; cursor: pointer;
  color: var(--purple); font: inherit; font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.t-more:hover { text-decoration: underline; }
.t-card.clampable .t-more { display: inline-block; }
/* image success-story carousel — natural aspect ratios, no cropping */
.img-car { margin-bottom: 30px; }
.img-car .car-track { animation-duration: 120s; align-items: center; gap: 16px; }
.img-car img {
  height: 400px; width: auto; display: block; border-radius: 12px;
  background: var(--panel);
}
@media (max-width: 720px) { .img-car img { height: 300px; } }

@media (prefers-reduced-motion: reduce) {
  .car-track { animation: none; width: auto; }
  .car-viewport { overflow-x: auto; }
}
/* swipeable carousels must never show a scrollbar - Windows renders
   permanent ones over the content otherwise */
.car-viewport { scrollbar-width: none; -ms-overflow-style: none; }
.car-viewport::-webkit-scrollbar { display: none; }

/* ---------- 8 weeks challenge ---------- */
/* homepage highlight — the headline promo band under the hero */
.band-challenge {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 340px at 12% 50%, rgba(122,75,223,0.20), transparent 70%),
    linear-gradient(90deg, rgba(122,75,223,0.07), transparent 55%);
}
.ch-highlight {
  display: flex; align-items: center; gap: 40px; padding-top: 44px; padding-bottom: 44px;
}
.chh-logo { height: 172px; width: 172px; object-fit: contain; flex-shrink: 0; }
.chh-title {
  font-weight: 700; font-size: clamp(28px, 5.4vw, 46px);
  letter-spacing: -0.035em; line-height: 1.05; margin: 10px 0 12px; color: #fff;
}
.chh-title em { font-style: italic; color: var(--purple); }
.chh-sub { color: var(--grey); font-size: 14.5px; line-height: 1.65; max-width: 560px; margin: 0; }
@media (max-width: 720px) {
  .ch-highlight { flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 34px; padding-bottom: 36px; }
  .chh-logo { height: 96px; width: 96px; }
}

/* .ch-head / .ch-logo: cookbook page + intake thank-you */
.ch-head { text-align: center; padding: 20px 0 34px; }
.ch-logo { height: 110px; width: auto; margin: 0 auto 20px; display: block; border-radius: 14px; }
.ch-head .why-copy { max-width: 560px; margin: 0 auto; }
.ch-head .why-copy p { text-align: center; }

.ch-options { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.ch-option {
  border: 1px solid var(--hair); border-radius: 18px; background: rgba(255,255,255,0.05);
  padding: 30px 28px; position: relative;
}
.ch-option.ch-upfront { border-color: var(--purple); background: var(--purple-soft); }
.ch-save {
  position: absolute; top: -13px; right: 22px; background: var(--purple); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 999px; padding: 6px 15px; font-family: var(--font-wide);
}
.ch-option h3 {
  margin: 0 0 6px; font-weight: 700; font-size: 18px;
  letter-spacing: -0.01em; color: #fff;
}
.ch-price { font-weight: 700; font-size: 40px; letter-spacing: -0.03em; margin-bottom: 10px; color: #fff; }
.ch-price i { font-style: normal; font-size: 13px; color: var(--grey); font-weight: 400; letter-spacing: 0.06em; }
.ch-option p { font-size: 13.5px; color: #cfcfca; line-height: 1.65; margin: 0 0 18px; }

/* two-tier offer inside the lock panel */
.offer-grid { text-align: left; margin: 24px auto 16px; max-width: 760px; }
.offer-was { display: block; font-size: 13px; color: var(--grey); font-weight: 400; margin-top: 2px; letter-spacing: 0.02em; }
.offer-was s { text-decoration-color: var(--purple); text-decoration-thickness: 2px; }
.tbc-line { margin-top: 12px; }
@media (max-width: 780px) {
  .ch-options { grid-template-columns: 1fr; }
}

/* ---------- cookbook page ---------- */
.cb-inner { max-width: 980px; margin: 0 auto; padding-bottom: 50px; }
.cb-hero img { width: 100%; height: auto; border-radius: 16px; display: block; }
.cb-contents { grid-template-columns: 1fr 1fr 1fr; }
.cb-pages {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px;
}
.cb-pages img { width: 100%; height: auto; border-radius: 6px; display: block; }
@media (max-width: 720px) {
  .cb-contents { grid-template-columns: 1fr; }
  .cb-pages { grid-template-columns: repeat(4, 1fr); gap: 8px; }
}

/* ---------- application form ---------- */
.apply-inner { max-width: 660px; margin: 0 auto; }
#results { max-width: 900px; margin: 0 auto; }
.apply-head { padding: 26px 0 8px; max-width: 640px; }
.apply-title {
  font-weight: 700; font-size: clamp(30px, 6vw, 50px);
  letter-spacing: -0.04em; line-height: 1.03; margin: 8px 0 20px; color: #fff;
}
.apply-service p { font-size: 14.5px; }
#apply-form { max-width: 640px; padding-bottom: 40px; }
.af-section {
  font-family: var(--font-wide); font-weight: 700; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; border-top: 1px solid var(--line);
  padding-top: 26px; margin: 38px 0 20px; color: var(--white);
}
.af-section::first-line { color: var(--white); }
.af-num { color: var(--purple); margin-right: 10px; font-style: italic; }
.af-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.af-field { margin-bottom: 18px; }
.af-field label span.req { color: var(--purple); margin-left: 3px; }
.af-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.af-chip {
  border: 1px solid var(--line); background: var(--panel); color: var(--grey);
  border-radius: 999px; padding: 10px 18px; font: inherit; font-size: 13px;
  font-weight: 600; cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.af-chip:hover { border-color: var(--grey); color: var(--white); }
.af-chip.sel { background: var(--white); color: var(--black); border-color: var(--white); font-weight: 700; }
.af-select {
  width: 100%; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--white); padding: 12px; font: inherit; font-size: 15px;
}
.af-select:focus { border-color: var(--purple); outline: none; }
.af-error { color: #e0564b; font-size: 12px; font-weight: 700; margin-top: 6px; display: none; }
.af-field.invalid .af-error { display: block; }
.af-field.invalid input, .af-field.invalid textarea, .af-field.invalid .af-select { border-color: #e0564b; }
.af-stub {
  border: 1px solid var(--purple); border-radius: var(--radius); background: var(--purple-soft);
  padding: 20px 22px; margin-top: 26px; font-size: 14px; color: var(--white); line-height: 1.65;
}
.af-stub b { display: block; font-family: var(--font-wide); letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; margin-bottom: 8px; }

/* ---------- footer — full-width slick band ---------- */
.site-footer {
  border-top: 1px solid var(--line); margin-top: 40px; padding: 70px 0 36px;
  background: linear-gradient(180deg, rgba(19, 19, 21, 0.5), rgba(6, 6, 7, 0.9));
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.foot-logo { height: 20px; }
.small-cta { min-width: 0; padding: 11px 22px; font-size: 11px; }
.foot-line { color: var(--grey-dark); font-size: 12.5px; line-height: 1.7; margin: 16px 0 0; }
.foot-h {
  display: block; font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--grey-dark); font-weight: 700; margin-bottom: 14px;
}
.foot-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-links a, .foot-links button:not(.btn) {
  background: none; border: none; padding: 0; font: inherit; font-size: 13.5px;
  color: var(--grey); text-decoration: none; cursor: pointer; transition: color 0.15s;
}
.foot-links a:hover, .foot-links button:not(.btn):hover { color: var(--purple); }
.foot-links .btn { width: auto; margin-top: 0; }
.foot-base {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px;
  color: var(--grey-dark); font-size: 11.5px; letter-spacing: 0.04em;
}
.foot-credit {
  color: var(--grey-dark); text-decoration: none; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  display: inline-flex; align-items: center; gap: 7px;
}
.foot-credit .averaks-mark { height: 10px; width: auto; opacity: 0.55; transition: opacity 0.15s; }
.foot-credit:hover { color: var(--grey); }
.foot-credit:hover .averaks-mark { opacity: 1; }

/* ---------- views ---------- */
.view { display: none; padding-top: 8px; }
.view.active { display: block; }
.back-link {
  background: none; border: none; color: var(--grey); font: inherit; font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase; cursor: pointer; padding: 18px 0 0;
}
.back-link:hover { color: var(--white); }

/* ---------- form ---------- */
.section-head { display: flex; align-items: baseline; gap: 14px; margin: 40px 0 18px; }
.section-head .num {
  font-family: var(--font-wide); font-weight: 800; font-size: 12px; color: var(--purple);
  letter-spacing: 0.1em;
}
.section-head h2 {
  margin: 0; font-size: 15px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
}
.section-head .rule { flex: 1; height: 1px; background: var(--line); }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.field { margin-bottom: 16px; }
label, .field-label {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--grey); margin-bottom: 8px;
}
input[type=text], input[type=number], input[type=email], input[type=tel], textarea {
  width: 100%; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--white); padding: 12px;
  font: inherit; font-size: 15px;
}
input:focus, textarea:focus { border-color: var(--purple); outline: none; }
textarea { resize: vertical; min-height: 64px; }
.hint { font-size: 12px; color: var(--grey-dark); margin-top: 6px; line-height: 1.5; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  border: 1px solid var(--line); background: var(--panel); color: var(--grey);
  border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 12.5px;
  font-weight: 600; letter-spacing: 0.04em; cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.pill:hover { border-color: var(--grey); color: var(--white); }
.pill.sel { background: var(--white); color: var(--black); border-color: var(--white); font-weight: 700; }
.pill small { display: block; font-size: 10px; font-weight: 400; color: inherit; opacity: 0.65; }

.btn {
  display: inline-block; width: 100%; text-align: center; background: var(--white);
  color: var(--black); border: 1px solid var(--white); border-radius: 999px;
  padding: 15px 30px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;
  font-weight: 600; letter-spacing: -0.01em; cursor: pointer;
  margin-top: 26px; text-decoration: none; transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--purple); border-color: var(--purple); color: var(--white); }
.btn.ghost { background: var(--glass); color: var(--white); border-color: var(--hair); }
.btn.ghost:hover { border-color: var(--purple); color: var(--purple); background: transparent; }
.btn.small { width: auto; padding: 10px 20px; font-size: 11px; margin-top: 0; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }

.warn { color: #e0564b; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; margin-top: 14px; text-transform: uppercase; }

/* ---------- wizard (one question per screen) ---------- */
.wizard { max-width: 620px; margin: 0 auto; padding-top: 10px; }
.wiz-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 12px; }
.wiz-count { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--grey-dark); }
.wiz-progress { height: 3px; background: var(--line); border-radius: 999px; overflow: hidden; }
.wiz-progress-fill { height: 100%; width: 0%; background: var(--purple); transition: width 0.3s ease; }

.wiz-card { padding: 46px 0 30px; min-height: 380px; }
.wiz-card.entering { animation: wizIn 0.28s ease both; }
@keyframes wizIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.wiz-kicker { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--purple); font-weight: 700; margin-bottom: 14px; }
.wiz-title { font-weight: 700; font-size: clamp(28px, 5.4vw, 40px); letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 10px; color: #fff; }
.wiz-hint { color: var(--grey); font-size: 14px; margin-bottom: 28px; max-width: 480px; }
.wiz-note { display: flex; gap: 8px; align-items: flex-start; color: var(--grey-dark); font-size: 12px; margin-top: 22px; line-height: 1.6; }
.wiz-note::before { content: 'ℹ'; color: var(--purple); font-style: normal; }

.wiz-options { display: grid; gap: 10px; }
.wiz-opt {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  width: 100%; text-align: left; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--white); padding: 16px 18px;
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.wiz-opt small { font-weight: 400; font-size: 12px; color: var(--grey); text-align: right; }
.wiz-opt:hover { border-color: var(--grey); }
.wiz-opt:active { transform: scale(0.99); }
.wiz-opt.sel { border-color: var(--purple); background: var(--purple-soft); }
.wiz-opt.sel::after { content: '✓'; color: var(--purple); font-weight: 700; }

.wiz-input-row { display: flex; gap: 10px; align-items: stretch; max-width: 420px; }
.wiz-input-row input, .wiz-input-row textarea { font-size: 18px; padding: 15px 14px; }
.wiz-card textarea { max-width: 480px; }
.wiz-unit { align-self: center; color: var(--grey-dark); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.wiz-next { margin-top: 24px; max-width: 420px; }
.wiz-skip { background: none; border: none; color: var(--grey-dark); font: inherit; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; margin-top: 16px; padding: 4px 0; display: block; }
.wiz-skip:hover { color: var(--grey); }
.wiz-error { color: #e0564b; font-size: 12.5px; font-weight: 700; margin-top: 12px; letter-spacing: 0.04em; }

.edit-answers { text-align: center; margin: 6px 0 0; }

/* teaser taste meal */
.taste-card { border-color: var(--purple) !important; }
.taste-card .day-head { border-bottom-color: var(--purple); }
.taste-kicker { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--purple); font-weight: 700; margin: 30px 0 10px; }

@media (max-width: 720px) {
  .wiz-card { padding: 34px 0 20px; min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .wiz-card.entering { animation: none; }
  .wiz-progress-fill { transition: none; }
}

/* ---------- results ---------- */
.stat-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); margin-top: 26px; overflow: hidden;
}
.stat { padding: 22px 10px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat .v { font-weight: 700; font-size: 30px; letter-spacing: -0.02em; color: #fff; }
.stat .v i { font-style: normal; font-size: 15px; color: var(--grey); }
.stat .l { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--grey); margin-top: 6px; }
.stat.hl .v { color: var(--purple); }

.macro-bar { display: flex; height: 30px; border-radius: var(--radius); overflow: hidden; margin-top: 12px; border: 1px solid var(--line); }
.macro-seg { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--black); min-width: 44px; }
.macro-seg.p { background: var(--white); }
.macro-seg.c { background: var(--purple); color: var(--white); }
.macro-seg.f { background: #3c3c42; color: var(--white); }

.coach-note {
  border-left: 3px solid var(--purple); background: var(--panel);
  border-radius: var(--radius); padding: 16px 18px; margin: 22px 0;
  font-size: 14px; color: #cfcfca; line-height: 1.65;
}
.coach-note b { color: var(--white); text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; display: block; margin-bottom: 6px; }

.program-preview {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  padding: 22px; margin-top: 14px;
}
.program-preview .pp-kicker { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--purple); font-weight: 700; }
.program-preview h3 { margin: 8px 0 4px; font-size: 22px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.program-preview .pp-sub { font-size: 12px; color: var(--grey); letter-spacing: 0.14em; text-transform: uppercase; }
.program-preview p { color: var(--grey); font-size: 13.5px; margin-bottom: 0; }

/* ---------- lock panel ---------- */
.lock-panel {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); text-align: center; padding: 46px 24px 40px;
  margin-top: 34px; overflow: hidden;
}
.lock-ghost { opacity: 0.14; filter: blur(1.5px); pointer-events: none; user-select: none; margin-bottom: -120px; }
.lock-fade { position: absolute; inset: auto 0 0 0; height: 200px; background: linear-gradient(180deg, transparent, var(--panel) 72%); }
.lock-body { position: relative; }
.lock-kicker { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--purple); font-weight: 700; }
.lock-title { font-weight: 700; font-size: clamp(26px, 5vw, 38px); letter-spacing: -0.03em; margin: 10px 0 8px; color: #fff; }
.lock-sub { color: var(--grey); font-size: 14px; max-width: 460px; margin: 0 auto 20px; }
.value-stack {
  max-width: 420px; margin: 6px auto 18px; text-align: left;
  border-top: 1px solid var(--line); padding-top: 16px;
}
.vs-row { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; font-size: 13px; color: #cfcfca; }
.vs-row .vs-label { line-height: 1.5; }
.vs-row .vs-val { color: var(--grey); white-space: nowrap; }
.vs-total {
  display: flex; justify-content: space-between; gap: 14px;
  border-top: 1px dashed var(--line); margin-top: 10px; padding-top: 10px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grey); font-weight: 700; align-items: baseline;
}
.vs-strike {
  text-decoration: line-through; text-decoration-color: var(--purple);
  text-decoration-thickness: 2px; font-weight: 700;
  font-size: 20px; color: var(--grey); letter-spacing: 0.02em;
}
.lock-note {
  font-family: var(--font-wide); font-weight: 800; font-style: italic; font-size: 14px;
  letter-spacing: 0.06em; color: var(--white); margin-top: 6px;
}
.lock-price { font-family: var(--font-wide); font-weight: 800; font-size: 42px; }
.lock-price i { font-style: normal; font-size: 14px; color: var(--grey); font-weight: 400; letter-spacing: 0.08em; }

/* ---------- private 8 Weeks Challenge intake (/challenge-intake) ----------
   strictly the questionnaire: no nav, no footer, nowhere to wander off to */
body.intake-mode .glass-nav, body.intake-mode .site-footer { display: none; }
.intake-head { text-align: center; padding: 54px 0 4px; }
.intake-head .ih-logo { height: 148px; width: 148px; object-fit: contain; margin: 0 auto 10px; display: block; }
.intake-head .ih-line { color: var(--grey); font-size: 14px; max-width: 500px; margin: 10px auto 0; line-height: 1.65; }
.intake-thanks { text-align: center; padding: 70px 0 90px; }
.intake-thanks .why-copy { max-width: 520px; margin: 0 auto; }
.intake-thanks .why-copy p { text-align: center; }
.intake-sending {
  text-align: center; padding: 100px 0; color: var(--grey);
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700;
}

/* ---------- teaser split: plan on the left, pricing rail on the right ----------
   so the price is on screen the moment the wizard finishes (Aryon's note) */
#results.results-split { max-width: none; }
.results-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 48px; align-items: start; }
.results-main { min-width: 0; }
.results-rail { position: sticky; top: 76px; scroll-margin-top: 78px; }
.rail-head { padding-top: 36px; }
.rail-title { font-size: 26px; }
.rail-head .lock-sub { margin: 0; }
.rail-offers { grid-template-columns: 1fr; gap: 24px; margin: 20px 0 14px; max-width: none; }
.rail-offers .ch-option { padding: 24px 22px; }
.rail-offers .ch-price { font-size: 32px; margin-bottom: 8px; }
.rail-offers .btn { margin-top: 10px; padding: 13px 24px; font-size: 14px; }
.results-rail .lock-note { font-size: 12.5px; }
.lock-tease { padding-bottom: 34px; }
.lock-tease .lock-sub { margin-bottom: 0; }
/* phone shortcut down to the offers — hidden while the rail sits beside the plan */
.jump-pricing { display: none; margin-top: 14px; }
@media (max-width: 1000px) {
  .results-grid { display: block; }
  .results-rail { position: static; max-width: 560px; margin: 44px auto 0; }
  .rail-head { padding-top: 0; text-align: center; }
  .results-rail .lock-note { text-align: center; }
  .jump-pricing { display: block; }
}
.lock-price .tbc { display: block; font-size: 10px; color: var(--grey-dark); letter-spacing: 0.24em; text-transform: uppercase; margin-top: 4px; }
.lock-actions { max-width: 340px; margin: 8px auto 0; }
.lock-fine { font-size: 11px; color: var(--grey-dark); margin-top: 16px; }

/* ---------- unlocked plan ---------- */
.plan-part {
  margin-top: 46px; padding-top: 8px;
}
.part-head { margin: 30px 0 6px; }
.part-head .pk { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--purple); font-weight: 700; }
.part-head h2 { margin: 8px 0 4px; font-size: clamp(20px, 4vw, 28px); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.part-head .ps { color: var(--grey); font-size: 13.5px; max-width: 620px; }

.day-card { border: 1px solid var(--hair); border-radius: var(--radius); background: rgba(255,255,255,0.04); margin: 16px 0; overflow: hidden; }
.day-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: var(--panel2); border-bottom: 1px solid var(--line); padding: 13px 18px;
}
.day-head .dh-name { font-family: var(--font-wide); font-weight: 800; font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; }
.day-head .dh-macros { font-size: 11.5px; color: var(--grey); letter-spacing: 0.04em; white-space: nowrap; }
.day-head .dh-macros b { color: var(--purple); }
.day-body { padding: 6px 18px 14px; }

.meal-row { border-bottom: 1px dashed var(--line); padding: 13px 0; }
.meal-row:last-child { border-bottom: none; }
.meal-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.meal-slot { font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--purple); font-weight: 700; }
.meal-name { font-weight: 700; font-size: 15px; }
.meal-name i { font-style: normal; color: var(--grey); font-weight: 400; font-size: 12.5px; }
.meal-macros { font-size: 11.5px; color: var(--grey); white-space: nowrap; }
.meal-ing { font-size: 12.5px; color: var(--grey-dark); margin-top: 5px; line-height: 1.7; }
.meal-ing b { color: var(--grey); font-weight: 400; }

.topup-row { padding: 10px 0 2px; font-size: 13px; color: #cfcfca; }
.topup-row .tu { color: var(--purple); font-weight: 700; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; margin-right: 8px; }

.plan-meta { font-size: 12px; color: var(--grey-dark); margin: 14px 0; line-height: 1.7; }

table.oc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table-scroll { overflow-x: auto; }
.oc-table th {
  text-align: left; font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--grey); font-weight: 700; padding: 10px 10px 8px 0; border-bottom: 1px solid var(--line);
}
.oc-table td { padding: 11px 10px 11px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.oc-table tr:last-child td { border-bottom: none; }
.oc-table .ex-name { font-weight: 700; color: var(--white); min-width: 150px; }
.oc-table .ex-cue { color: var(--grey); font-size: 12.5px; line-height: 1.55; }
.oc-table .ex-alt { color: var(--purple); font-size: 12px; margin-top: 4px; }
.oc-table .num-col { white-space: nowrap; color: #cfcfca; }

.block-label { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--purple); font-weight: 700; margin: 16px 0 2px; }

.sched-day { color: var(--grey); }
.sched-rest td { color: var(--grey-dark); font-style: italic; }

.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.principle { border: 1px solid var(--hair); border-radius: var(--radius); background: rgba(255,255,255,0.04); padding: 18px 20px; }
.principle b { display: block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 6px; }
.principle p { margin: 0; font-size: 12.5px; color: var(--grey); line-height: 1.6; }

.swaps-list { font-size: 12.5px; color: var(--grey); line-height: 1.9; }
.swaps-list b { color: var(--white); font-weight: 700; }

.disclaimer { font-size: 11px; color: var(--grey-dark); border-top: 1px solid var(--line); margin-top: 40px; padding-top: 18px; line-height: 1.7; }

.final-cta { text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 40px 24px; margin-top: 40px; }
.final-cta h3 { font-size: 18px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 8px; }
.final-cta p { color: var(--grey); font-size: 13.5px; max-width: 480px; margin: 0 auto 4px; }
.final-cta .btn { max-width: 340px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .tiles { grid-template-columns: 1fr; gap: 40px; max-width: 520px; margin: 0 auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .grid3, .principles { grid-template-columns: 1fr; }
  .grid2, .af-row { grid-template-columns: 1fr; }
  .band-hero { padding: 58px 0 52px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-auto { min-width: 0; width: 100%; }
  .band-products { padding: 56px 0 60px; }
  /* phones: builder tile full width, cookbook + coaching half-size beneath it */
  .tiles { grid-template-columns: 1fr 1fr; gap: 26px 14px; max-width: none; }
  .tiles .tile:first-child { grid-column: 1 / -1; }
  /* builder tile keeps only its purple CTA - the banner already says the rest */
  .tiles .tile:first-child .tile-title,
  .tiles .tile:first-child .tile-desc { display: none; }
  .tiles .tile:first-child .tile-info { padding: 14px 4px 0; }
  .tiles .tile:first-child .tile-cta { font-size: 12px; }
  .tiles .tile:not(:first-child) .tile-info { padding: 11px 4px 0; }
  .tiles .tile:not(:first-child) .tile-desc { display: none; }
  .tiles .tile:not(:first-child) .tile-title { font-size: 14px; margin-bottom: 3px; }
  .tiles .tile:not(:first-child) .tile-cta { font-size: 10px; letter-spacing: 0.16em; }
  .band-head.center { margin-bottom: 34px; }
  .masthead-tag { display: none; }
  .stat-bar { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .day-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .band-why { padding: 52px 0 50px; }
  .band-testimonials { padding-top: 50px; }
  .car-viewport { margin-bottom: 60px; }
  .car-track { padding: 0 18px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-base { flex-direction: column; }
}

/* Session tables become stacked exercise cards on phones — the wide
   5-column table clips the coaching cues into a sideways scroll there. */
@media (max-width: 640px) {
  .ex-table thead { display: none; }
  .ex-table, .ex-table tbody, .ex-table tr, .ex-table td { display: block; }
  .ex-table tr { padding: 13px 0; border-bottom: 1px dashed var(--line); }
  .ex-table tr:last-child { border-bottom: none; }
  .ex-table td { padding: 0; border: none; }
  .ex-table .ex-name { min-width: 0; margin-bottom: 6px; }
  .ex-table .num-col { display: inline-block; margin: 0 16px 6px 0; }
  .ex-table .num-col::before {
    content: attr(data-l); display: inline-block; margin-right: 6px;
    color: var(--grey-dark); font-size: 9px; font-weight: 700;
    letter-spacing: 0.2em; text-transform: uppercase;
  }
  .ex-table .ex-cue { display: block; margin-top: 2px; }
}

/* ---------- motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
@media print {
  body { background: #fff; color: #111; }
  body::before, body::after { display: none; }
  .glass-nav, .masthead, .band-hero, .band-challenge, .tiles, .ticker, .back-link, .btn, .lock-panel, footer, .no-print,
  .band-why, .band-testimonials, .car-viewport, .results-rail { display: none !important; }
  .view { display: block !important; }
  .day-card, .principle, .program-preview, .coach-note, .stat-bar { background: #fff; border-color: #ccc; }
  .day-head { background: #f2f2f2; }
  .meal-name, .oc-table .ex-name, .day-head .dh-name, .stat .v, .part-head h2, .principle b { color: #111; }
}

/* ---------- about-Mason band: video left, words right ---------- */
.why-grid { display: flex; gap: 60px; align-items: center; }
.why-media { flex: 0 0 400px; }
.why-media video {
  width: 100%; height: auto; max-height: 620px; display: block;
  border-radius: 18px; border: 1px solid var(--hair); background: #060607;
  object-fit: cover;
}
.why-text { flex: 1; min-width: 0; }
.why-text .why-copy p { text-align: left; margin-left: 0; }
.band-why.no-video .why-media { display: none; }
.band-why.no-video .why-grid { display: block; max-width: 640px; margin: 0 auto; text-align: center; }
.band-why.no-video .why-text .why-copy p { text-align: center; }
@media (max-width: 860px) {
  /* iPhone-first: video capped so the page never becomes a monster scroll */
  .why-grid { flex-direction: column; gap: 30px; align-items: stretch; }
  .why-media { flex: none; }
  .why-media video { max-height: 62vh; width: auto; max-width: 100%; margin: 0 auto; }
}

/* ---------- full-bleed hero video (desktop; iPhone version to come) ---------- */
.band-hero { position: relative; overflow: hidden; }
.band-hero .wrap.hero { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0; display: none; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,11,12,0.88), rgba(11,11,12,0.5) 55%, rgba(11,11,12,0.64));
}
@media (max-width: 860px) {
  .hero-scrim { background: linear-gradient(to top, rgba(11,11,12,0.9), rgba(11,11,12,0.58) 55%, rgba(11,11,12,0.68)); }
}
.band-hero.has-video { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.band-hero.has-video .hero-bg { display: block; }
@media (max-width: 860px) {
  .band-hero.has-video { min-height: 100svh; }
}
.glass-nav .btn {
  width: auto; margin: 0; height: 32px; padding: 0 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; line-height: 1;
}

#view-build, #view-cookbook, #view-apply { padding-top: 92px; }
@media (max-width: 720px) {
  #view-build, #view-cookbook, #view-apply { padding-top: 78px; }
  .band-hero { padding: 118px 0 72px; }
}

/* ---------- compressing island: scroll away → just the wordmark,
   hover → expands, back at top → fully open ---------- */
@media (min-width: 721px) {
  .glass-nav { transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1), padding 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
  .gn-links, .gn-cta { transition: opacity 0.2s ease 0.15s; }
  .glass-nav.compact:not(:hover) { width: 220px; padding: 0; justify-content: center; }
  .glass-nav.compact:not(:hover) .gn-links,
  .glass-nav.compact:not(:hover) .gn-cta {
    position: absolute; opacity: 0; pointer-events: none; transition: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .glass-nav, .gn-links, .gn-cta { transition: none !important; }
}

/* challenge countdown */
.chh-timer { margin-left: auto; text-align: center; flex-shrink: 0; }
.ct-label {
  display: block; font-family: var(--font-wide); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-dark); margin-bottom: 10px;
}
.ct-units { display: flex; align-items: baseline; gap: 10px; }
.ct-unit { display: inline-flex; flex-direction: column; align-items: center; min-width: 58px; }
.ct-unit b { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.ct-unit i { font-style: normal; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-dark); margin-top: 8px; }
.ct-sep { font-size: 34px; color: var(--grey-dark); font-weight: 300; align-self: flex-start; }
/* live status: word + pulsing dot (transform/opacity only), one-line note */
.ct-live {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 54px; font-weight: 700; letter-spacing: -0.01em; color: #fff; line-height: 1;
  text-transform: uppercase; /* LIVE (Harris 2026-09-11); Complete follows suit */
}
.ct-dot { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--purple); flex-shrink: 0; }
.ct-dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--purple); opacity: 0.55;
  animation: ctPulse 2.2s ease-out infinite;
}
@keyframes ctPulse { to { transform: scale(2.6); opacity: 0; } }
.ct-note {
  display: block; margin-top: 12px; font-family: var(--font-wide);
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-dark);
}
@media (prefers-reduced-motion: reduce) { .ct-dot::after { animation: none; opacity: 0; } }
@media (max-width: 860px) {
  .chh-timer { margin: 26px auto 0; }
  .ch-highlight { flex-wrap: wrap; }
  .ct-unit b { font-size: 36px; }
  .ct-live { font-size: 44px; }
}

/* racing LED border around the challenge section */
@property --led-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.led-box {
  position: relative; border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 44px 48px !important; margin-top: 26px; margin-bottom: 26px;
}
.led-box::before {
  content: ''; position: absolute; inset: -2px; border-radius: 24px;
  padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--led-angle),
    transparent 0deg, transparent 288deg,
    rgba(122, 75, 223, 0.25) 315deg, rgba(154, 116, 240, 0.85) 345deg, #b79bff 358deg, transparent 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: ledRace 3.4s linear infinite;
}
@keyframes ledRace { to { --led-angle: 360deg; } }
@media (max-width: 720px) { .led-box { padding: 30px 22px !important; } }
@media (prefers-reduced-motion: reduce) { .led-box::before { animation: none; } }
/* mobile hero: smaller type + buttons so the video breathes */
@media (max-width: 720px) {
  .hero h1 { font-size: clamp(32px, 9vw, 40px); margin-bottom: 18px; }
  .hero p { font-size: 15px; max-width: 320px; }
  .hero-ctas { margin-top: 26px; gap: 10px; }
  .hero-ctas .btn.btn-auto { min-width: 0; width: auto; padding: 11px 22px; font-size: 14px; }
}
/* subtle white glow around the about-Mason video (all screens) */
.why-media video {
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.22), 0 0 8px rgba(255, 255, 255, 0.14);
}
