/* Phone layout: keep the brand and the next action visible without a long scroll. */
@media (max-width: 650px) {
  html { scroll-padding-top: 85px; }
  body { font-size: 16px; }
  body::before { position: absolute; height: 100vh; opacity: .035; }
  header {
    position: sticky; top: 0; z-index: 30;
    background: var(--cream); padding: 12px max(16px, env(safe-area-inset-left));
    gap: 10px; box-shadow: 0 2px 0 #1b1c1708;
  }
  header .wordmark { font-size: 23px; flex-shrink: 0; }
  header .wordmark > span { font-size: 11px; letter-spacing: 3.6px; }
  header > .button.small { display: inline-flex; margin-left: auto; min-height: 44px; padding: 10px 12px; font-size: 13px; gap: 8px; letter-spacing: .6px; }
  header > .button.small span { font-size: 17px; }
  .menu-toggle { min-width: 48px; min-height: 44px; padding: 8px; font-size: 10px; }
  nav { padding: 10px 20px 16px; gap: 0; max-height: calc(100svh - 90px); overflow-y: auto; }
  nav a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid #ffffff26; }
  .hero {
    display: grid; grid-template-columns: 1.08fr 1fr; column-gap: 12px; row-gap: 20px;
    padding: 25px 20px 24px;
  }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { grid-column: 1 / -1; grid-row: 1; margin: 0; font-size: 9px; line-height: 1.5; letter-spacing: 1px; }
  .hero h1 { grid-column: 1; grid-row: 2; margin: 0; font-size: clamp(34px, 10.5vw, 66px); line-height: .98; letter-spacing: -.5px; }
  .hero-art { grid-column: 2; grid-row: 2; width: 100%; align-self: center; }
  .hero-art .art-label, .hero-art .art-bottom { display: none; }
  .hero .intro { grid-column: 1 / -1; grid-row: 3; margin: 0; max-width: none; font-size: 15px; line-height: 1.65; }
  .hero .button { grid-column: 1 / -1; grid-row: 4; min-height: 52px; margin: 0; font-size: 16px; padding: 15px 18px; }
  .hero-note { grid-column: 1 / -1; grid-row: 5; margin: 0; font-size: 9px; line-height: 1.8; letter-spacing: .1px; }
  .hero-note b { margin: 0 4px; }
  .manifesto-strip { margin-top: 0; padding: 16px; gap: 12px; font-size: 16px; letter-spacing: .4px; }
  .section { padding: 46px 20px; }
  section[id], #contact { scroll-margin-top: 0; }
  h2, .start h2, .contact-copy h2, .coach-copy h2, .faq h2 { font-size: clamp(35px, 10vw, 48px); line-height: 1.02; }
  .section-heading { margin-bottom: 25px; }
  .eyebrow, .coach-copy .eyebrow { font-size: 10px; line-height: 1.6; letter-spacing: 1.1px; }
  .section-heading > p:last-child, .coach-copy > p:not(.eyebrow):not(.large-copy),
  .round-steps article > p:last-child, .everyone p, .start > div > p:last-child,
  #goal-result, .contact-copy > p:not(.eyebrow), .questions details p { font-size: 15px; line-height: 1.7; }
  .training-layout { border-top: 0; }
  .program-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-bottom: 10px; }
  .program-tabs button, .program-tabs button:last-child {
    padding: 13px 7px; display: flex; flex-direction: column; align-items: flex-start;
    justify-content: flex-start; gap: 8px; border: 1px solid var(--line); min-height: 90px;
  }
  .program-tabs button[aria-selected="true"] { background: var(--orange); color: var(--cream); border-color: var(--orange); }
  .program-tabs button[aria-selected="true"] > span { color: var(--cream); }
  .program-tabs strong { font-size: clamp(18px, 5.3vw, 25px); line-height: 1.05; overflow-wrap: normal; }
  .program-tabs strong br { display: initial; }
  .program-tabs i { display: none; }
  .program-detail { min-height: 0; padding: 28px 22px; }
  .program-detail h3 { font-size: clamp(30px, 8.7vw, 39px); line-height: 1.05; }
  .program-detail > p { font-size: 15px; line-height: 1.65; }
  .program-detail ul { font-size: 14px; margin-bottom: 20px; }
  .program-detail li { padding: 9px 0; }
  .text-link { min-height: 44px; font-size: 12px; letter-spacing: .6px; gap: 12px; }
  .coach { padding: 46px 20px; gap: 32px; }
  .coach-poster { padding: 20px; max-width: 400px; box-shadow: 4px 4px 0 #0d0e0c; }
  .coach-poster > p { margin-top: 16px; font-size: 20px; }
  .coach-poster h2 { font-size: clamp(52px, 16vw, 75px); line-height: .95; }
  .ring-art { height: 75px; }
  .ring-art span { font-size: 48px; }
  .poster-bottom { font-size: 10px; }
  .coach-copy .large-copy { font-size: 21px; }
  .credentials span { font-size: 10px; padding: 8px 10px; }
  .round-steps { gap: 0; }
  .round-steps article { padding: 25px 0 25px 50px; }
  .round-steps h3 { font-size: 27px; line-height: 1.05; }
  .round-steps .eyebrow { font-size: 10px; margin-top: 4px; }
  .round-number { font-size: 38px; top: 23px; }
  .everyone { margin-top: 24px; }
  .everyone > span { font-size: 30px; }
  .goal-picker button { padding-block: 17px; font-size: 25px; min-height: 56px; }
  .booking-note { font-size: 13px !important; }
  .contact-section { gap: 24px; }
  .contact-copy > p:not(.eyebrow) { margin: 20px 0; }
  .contact-email { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
  .contact-note { margin-top: 18px; padding-top: 18px; }
  .contact-note p { font-size: 13px; line-height: 1.6; }
  .inquiry-panel { padding: 22px 16px; }
  .form-intro { font-size: 12px; }
  .form-grid { gap: 20px; }
  .form-grid label, .preview-label { font-size: 14px; line-height: 1.5; }
  .form-grid label > span { font-size: 12px; }
  .form-grid :is(input, select, textarea) { font-size: 16px; min-height: 50px; padding: 13px 10px; scroll-margin-block: 100px; }
  .form-grid input::placeholder, .form-grid textarea::placeholder { font-size: 14px; }
  .form-privacy, #inquiry-status, #inquiry-preview > p { font-size: 13px; line-height: 1.6; }
  .inquiry-panel .button { width: 100%; min-height: 52px; font-size: 16px; padding: 15px; }
  .inquiry-actions { gap: 12px; }
  .inquiry-actions button { width: 100%; min-height: 48px; border: 1px solid var(--ink); font-size: 13px; }
  #inquiry-body { font-size: 16px; }
  #inquiry-preview-heading { scroll-margin-top: 100px; }
  .questions summary { font-size: 16px; line-height: 1.5; min-height: 64px; gap: 14px; }
  .questions details p { padding-right: 8px; }
  .closing { padding: 46px 20px; }
  .closing h2 { font-size: clamp(43px, 12.5vw, 64px); line-height: 1.02; }
  .closing .button { width: 100%; min-height: 52px; font-size: 16px; padding: 15px; }
  footer { padding: 32px 20px max(24px, env(safe-area-inset-bottom)); }
  footer > p { font-size: 10px; }
  footer > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  footer > div a { min-height: 44px; display: flex; align-items: center; font-size: 13px; }
  footer small { font-size: 11px; }
}
@media (max-width: 359px) {
  header { padding-inline: 12px; gap: 7px; }
  header .wordmark { font-size: 21px; }
  header .wordmark > span { font-size: 10px; letter-spacing: 3px; }
  header > .button.small { font-size: 12px; padding-inline: 9px; gap: 6px; }
  header > .button.small span { display: none; }
  .hero { padding-inline: 16px; gap: 16px 10px; }
  .hero h1 { font-size: 34px; }
  .hero-note { font-size: 8px; }
  .section, .coach, .closing { padding-inline: 16px; }
  .manifesto-strip { font-size: 14px; gap: 8px; }
}
@media (min-width:651px) and (max-width:1000px) {
  html{scroll-padding-top:95px}
  header{position:sticky;top:0;z-index:30;background:var(--cream);padding:16px 5%;gap:16px}
  header .wordmark{flex-shrink:0}
  header>.button.small{margin-left:auto;min-height:48px;white-space:nowrap;padding:12px 18px}
  .menu-toggle{display:block;min-width:60px;min-height:48px;border:1px solid var(--ink);background:transparent;padding:10px;font-size:11px;font-weight:700}
  nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--ink);color:var(--cream);padding:12px 5% 20px;gap:0;max-height:calc(100svh - 100px);overflow:auto}
  header.open nav{display:flex;flex-direction:column}
  nav a{display:flex;align-items:center;min-height:48px;border-bottom:1px solid #ffffff26;font-size:14px}
  .hero h1{font-size:clamp(51px,8vw,76px)}
  section[id],#contact{scroll-margin-top:0}
}
/* Vector arrows stay on-brand instead of becoming colored emoji on iOS. */
.arrow-icon{display:inline-block;width:1em;height:1em;min-width:1em;flex-shrink:0;vertical-align:-.12em;color:var(--orange)}
.button .arrow-icon{color:inherit}
.goal-picker .arrow-icon{width:22px;height:22px;min-width:22px}
.program-detail .arrow-icon,.coach-copy .arrow-icon{color:#d8815a}
.contact-email{gap:7px}
.menu-toggle{color:var(--ink);-webkit-appearance:none;appearance:none}
/* Keep the supplied logo stationary while all page sections scroll below it. */
body{padding-top:105px}
html{scroll-padding-top:125px}
header{position:fixed;inset:0 0 auto;z-index:30;min-height:105px;padding:12px 5%;background:var(--cream);box-shadow:0 2px 0 #1b1c170d}
.header-brand{display:flex;align-items:center;gap:14px;flex-shrink:0}
.pinned-logo{display:block;width:80px;height:80px;object-fit:contain;mix-blend-mode:multiply;flex-shrink:0}
.header-brand .wordmark>span{display:block}
@media(max-width:1000px){header{padding:10px 5%}.header-brand .wordmark{font-size:25px}.header-brand .wordmark>span{font-size:12px;letter-spacing:3px}}
@media(max-width:650px){body{padding-top:91px}html{scroll-padding-top:111px}header{min-height:91px;padding:10px max(16px,env(safe-area-inset-left));gap:12px}.pinned-logo{width:70px;height:70px}.header-brand .wordmark{display:none}header>.button.small{margin-left:auto}.hero{padding-top:22px}nav{max-height:calc(100svh - 91px)}#inquiry-preview-heading{scroll-margin-top:115px}}
@media(max-width:359px){header{padding-inline:12px;gap:9px}}
/* The large opening logo is fixed; the opaque page scrolls over it. */
body{padding-top:96px}
header{min-height:96px;padding:20px 5%}
.topline{position:relative;z-index:2}
.logo-backdrop{position:fixed;top:145px;left:0;right:0;z-index:0;display:flex;justify-content:center;pointer-events:none}
.logo-backdrop img{display:block;width:min(76vw,480px);height:auto;mix-blend-mode:multiply}
.logo-stage{position:relative;z-index:1;height:600px;display:flex;align-items:flex-end;justify-content:center;padding:24px 20px 30px}
.logo-scroll{text-align:center;font-family:var(--heading);font-size:18px;font-weight:600;letter-spacing:2px;min-height:48px;color:var(--ink)}
.logo-scroll span{display:block;font-family:var(--body);font-size:10px;letter-spacing:2px;margin-top:8px;color:var(--orange)}
main{position:relative;z-index:2;background:var(--cream);border-top:1px solid var(--line)}
footer{position:relative;z-index:2}
.hero{display:block;padding:60px 6% 28px;max-width:1200px}
.hero-copy{display:block;max-width:900px}
.hero h1{font-size:clamp(55px,6.8vw,92px);line-height:1;margin-bottom:25px}
.hero .intro{max-width:620px}
.hero .scroll-label{display:none}
@media(max-width:1000px){header{padding:16px 5%}}
@media(max-width:650px){body{padding-top:76px}header{min-height:76px;padding:14px 16px;gap:10px}header>.wordmark{font-size:23px;flex-shrink:0}header>.wordmark>span{font-size:11px;letter-spacing:3.6px}.logo-backdrop{top:120px}.logo-backdrop img{width:calc(100vw - 40px);max-width:430px}.logo-stage{height:calc(min(100vw - 40px,430px) + 100px);padding-bottom:20px}.logo-scroll{font-size:16px}.hero{display:block;padding:32px 20px}.hero-copy{display:block}.hero-copy .eyebrow{margin-bottom:20px}.hero h1{font-size:clamp(42px,11.7vw,65px);line-height:1.02;margin-bottom:22px}.hero .intro{margin-bottom:23px}.hero .button{display:flex;width:100%}.hero .hero-note{margin-top:19px}nav{max-height:calc(100svh - 76px)}html{scroll-padding-top:96px}}
@media(max-width:359px){header{padding-inline:12px;gap:7px}header>.wordmark{font-size:21px}header>.wordmark>span{font-size:10px;letter-spacing:3px}.hero{padding-inline:16px}}
@media(max-height:600px) and (min-width:651px){.logo-backdrop{top:120px}.logo-backdrop img{width:300px}.logo-stage{height:400px}}
.logo-backdrop{flex-direction:column;align-items:center}
.logo-scroll{margin-top:14px;pointer-events:auto}
