:root {
  --navy: #002944;
  --deep-navy: #00243e;
  --ink: #071f3d;
  --gold: #ffce63;
  --gold-deep: #b76d09;
  --cream: #fff7ee;
  --hero-paragraph-gap: 8px;
  --hero-button-gap: 17px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #00223b; color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
button, input, a { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.site-shell { max-width: 1024px; min-width: 320px; margin: 0 auto; overflow: hidden; background: var(--cream); box-shadow: 0 0 50px rgba(0,0,0,.16); }
.navy-section { color: white; background: radial-gradient(ellipse at center, #073b5c 0%, #002b4a 65%, #00253f 100%); }
.cream-section { background: radial-gradient(ellipse at center, #fffaf5 0%, #fff8f0 65%, #f9efe3 100%); }

/* First panel: all headings, copy and buttons are independent, editable HTML. */
.hero { position: relative; isolation: isolate; height: 468px; color: #fff; background: radial-gradient(ellipse at 54% 51%, #34506b 0%, #0c3652 44%, #002743 77%); }
.hero-photograph { position: absolute; z-index: -2; width: 58%; height: 398px; top: 62px; right: 0; background: url('./assets/hero-final.webp') right center / auto 100% no-repeat; }
.hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(0,37,65,1) 0%, rgba(0,37,65,.99) 26%, rgba(0,37,65,.85) 39%, rgba(0,37,65,.33) 51%, rgba(0,37,65,0) 63%), linear-gradient(180deg, rgba(0,34,59,.9) 0%, rgba(0,35,58,.17) 22%, transparent 50%); pointer-events: none; }
.site-header { position: relative; z-index: 2; height: 99px; display: flex; justify-content: space-between; align-items: flex-start; padding: 6px 3.7% 0 5.55%; }
.brand { text-decoration: none; width: 285px; flex: 0 0 285px; text-align: center; color: #f5f6f6; }
.brand-name { font-size: 33px; line-height: 36px; font-weight: 300; letter-spacing: -.65px; white-space: nowrap; }
.brand-name strong { font-weight: 780; }
.brand-mark { width: 278px; height: 25px; display: flex; align-items: center; gap: 8px; margin: 0 auto 3px; color: var(--gold); }
.brand-mark span { flex: 1; height: 2px; background: linear-gradient(90deg, transparent, #d8a637 65%, #ffd372); border-radius: 5px; }
.brand-mark span:last-child { background: linear-gradient(90deg, #ffd372, #d8a637 35%, transparent); }
.brand-mark svg { width: 48px; height: 27px; }
.brand-tagline { font-size: 14.4px; font-weight: 700; letter-spacing: -.3px; line-height: 19px; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3.5vw, 38px); margin-top: 19px; white-space: nowrap; font-size: 15px; font-weight: 700; }
.main-nav a { color: #f8f9fa; text-decoration: none; padding-bottom: 7px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a.active { color: var(--gold); border-bottom-color: var(--gold); }
.hero-copy { position: relative; z-index: 1; margin-left: 5.8%; width: 50%; }
.hero h1 { font-family: Georgia, 'Times New Roman', serif; font-size: 40px; font-weight: 700; line-height: 1.05; letter-spacing: -.8px; margin: 7px 0 0; white-space: nowrap; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-description { font-size: 17.7px; line-height: 23px; font-weight: 400; letter-spacing: -.48px; margin: var(--hero-paragraph-gap) 0 0; white-space: nowrap; }
.cta-button { display: flex; justify-content: space-between; align-items: center; gap: 13px; background: linear-gradient(120deg, #ffd263, #ffe4a2 74%, #ffcf69); border: none; border-radius: 32px; height: 48px; padding: 0 21px 0 24px; color: #082746; box-shadow: none; text-decoration: none; font-size: 19px; font-weight: 800; letter-spacing: -.75px; white-space: nowrap; }
.cta-button:hover, .cta-button:focus-visible { filter: brightness(1.06); outline: 2px solid #fff1b8; outline-offset: 3px; }
.hero-button { width: 432px; margin-top: var(--hero-button-gap); }
.cta-button .button-phone { width: 28px; height: 28px; flex: 0 0 auto; }
.cta-button .button-arrow { width: 25px; height: 25px; flex: 0 0 auto; }
.appointment-note { display: flex; align-items: center; gap: 10px; margin-left: 35px; margin-top: 10px; font-size: 15.9px; line-height: 22px; white-space: nowrap; color: white; }
.appointment-note svg { width: 27px; height: 27px; color: var(--gold); flex: 0 0 auto; }

/* Services */
.services { position: relative; z-index: 1; height: 302px; padding: 0 5.25%; }
.section-curve { position: absolute; z-index: -1; height: 58px; width: 100%; bottom: 100%; left: 0; fill: #fff8f0; }
.flourish { position: absolute; top: -34px; left: 41%; width: 18%; display: flex; gap: 9px; align-items: center; justify-content: center; color: var(--gold); }
.flourish span { height: 4px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold)); border-radius: 8px; }
.flourish span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.flourish svg { width: 40px; height: 20px; }
.services h2, .steps h2, .coaches h2, .closing h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; }
.services h2 { font-size: 35px; line-height: 43px; text-align: center; letter-spacing: -1px; margin: 9px 0 31px; white-space: nowrap; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 23px; row-gap: 27px; }
.service-item { position: relative; display: flex; align-items: flex-start; gap: 18px; min-height: 77px; min-width: 0; }
.service-item:nth-child(3n + 2)::before, .service-item:nth-child(3n + 3)::before { content: ''; position: absolute; left: -20px; top: 2px; height: 74px; border-left: 1px solid #f7dcac; }
.service-item > img { width: 74px; height: 74px; flex: 0 0 74px; border-radius: 50%; object-fit: cover; }
.service-item h3 { font-size: 18px; font-weight: 800; line-height: 24px; margin: 2px 0 3px; white-space: nowrap; letter-spacing: -.9px; }
.service-item p { font-family: 'Nimbus Sans Narrow', 'Arial Narrow', Arial, sans-serif; font-size: 14.7px; line-height: 20px; margin: 0; letter-spacing: -.4px; white-space: nowrap; }
.service-item:nth-child(5) p, .service-item:nth-child(6) p { letter-spacing: -.95px; }

/* How it works */
.steps { height: auto; padding: 18px 4.4% 25px; }
.steps-title { display: flex; justify-content: center; align-items: center; gap: 21px; }
.steps-title span { width: 104px; height: 3px; background: linear-gradient(90deg, transparent, var(--gold)); border-radius: 4px; }
.steps-title span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.steps h2 { font-size: 34px; line-height: 42px; letter-spacing: -.7px; margin: 0; }
.steps-intro { font-size: 16px; text-align: center; margin: 2px 0 22px; }
.step-list { display: grid; grid-template-columns: minmax(0, 1fr) 19px minmax(0, 1fr) 19px minmax(0, 1fr); align-items: center; gap: 13px; }
.step { display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; min-height: 136px; padding: 12px 10px 15px; border: 1px solid rgba(255,206,99,.28); border-radius: 14px; background: rgba(255,255,255,.045); text-align: center; }
.step-symbols { display: flex; justify-content: center; align-items: center; gap: 11px; margin-bottom: 9px; }
.step-number { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 17px; }
.step-icon { color: #fff; width: 32px; height: 32px; margin: 0; }
.step-copy { width: 100%; }
.step h3 { font-size: 15.3px; font-weight: 800; letter-spacing: -.5px; line-height: 20px; margin: 0 0 4px; white-space: normal; }
.step p { font-size: 13.5px; line-height: 19px; margin: 0; letter-spacing: -.25px; white-space: normal; }
.step-arrow { width: 19px; height: 20px; color: var(--gold); opacity: .8; }

/* Coach previews */
.coaches { min-height: 224px; display: flex; align-items: center; padding: 29px 5.55% 34px; gap: 22px; }
.coaches-copy { width: 346px; flex: 0 0 346px; }
.coaches h2 { margin: 0 0 13px; font-size: 34px; line-height: 35px; letter-spacing: -.7px; }
.coaches h2 em { font-style: normal; color: var(--gold-deep); }
.coaches-copy p { font-size: 16px; letter-spacing: -.42px; line-height: 23px; margin: 0; }
.coaches-gallery { flex: 1; min-width: 0; }
.coach-portraits { display: flex; gap: 10px; align-items: center; }
.coach-portraits img, .other-coaches { width: 96px; height: 96px; flex: 0 0 96px; border-radius: 50%; object-fit: cover; }
.other-coaches { display: flex; flex-direction: column; justify-content: center; align-items: center; background: #002947; color: #fff; line-height: 17px; text-align: center; font-size: 15px; }
.other-coaches strong { color: var(--gold); font-size: 43px; font-weight: 400; line-height: 37px; }
.outline-button { display: flex; gap: 15px; justify-content: center; align-items: center; border: 2px solid #082a49; height: 43px; width: 340px; margin: 15px auto 0; border-radius: 30px; text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -.8px; }
.outline-button svg { width: 24px; height: 24px; margin-left: 9px; }
.outline-button:hover, .outline-button:focus-visible { background: #fff0d9; }

/* Promise ribbon */
.advantages { height: 91px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding: 0 5.5%; }
.advantage { display: flex; align-items: center; gap: 25px; min-height: 49px; padding-left: 9px; }
.advantage:not(:last-child) { border-right: 2px solid var(--gold); }
.advantage:nth-child(2) { padding-left: 43px; }
.advantage:nth-child(3) { padding-left: 39px; }
.advantage svg { width: 55px; height: 55px; flex: 0 0 55px; color: var(--gold); }
.advantage p { margin: 0; font-size: 16.5px; font-weight: 800; line-height: 24px; letter-spacing: -.6px; white-space: nowrap; }

/* Final consultation section: the mountain background is an editable SVG. */
.closing { height: 293px; position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #002a49; text-align: center; }
.closing-sky { position: absolute; z-index: -2; inset: 0; background: radial-gradient(ellipse 25% 40% at 3% 55%, #ffb178 0%, rgba(255,176,118,.5) 25%, transparent 100%), radial-gradient(ellipse 28% 40% at 94% 50%, #ffc580 0%, rgba(255,177,113,.45) 28%, transparent 100%), linear-gradient(180deg,#29537e 0%, #53688b 28%, #8b738c 47%, #083755 79%, #002b4a 100%); }
.mountain-landscape { position: absolute; z-index: -1; width: 100%; height: 100%; left: 0; top: 0; }
.closing-content { position: relative; z-index: 1; }
.closing h2 { font-size: 38px; letter-spacing: -.8px; line-height: 46px; margin: 12px 0 10px; }
.closing-content > p { font-size: 19px; line-height: 26px; letter-spacing: -.36px; margin: 0; }
.closing-button { width: 494px; height: 51px; margin: 18px auto 0; font-size: 20px; padding-left: 29px; padding-right: 28px; }
.closing .appointment-note { margin: 7px auto 0; justify-content: center; font-size: 17px; }

/* Only appears when the prototype button is used. */
.contact-dialog { border: 0; border-radius: 18px; max-width: min(480px, calc(100% - 28px)); padding: 30px; background: #fff8f0; color: var(--ink); box-shadow: 0 30px 100px #001d36aa; }
.contact-dialog::backdrop { background: #001d36aa; }
.contact-dialog h2 { font-family: Georgia, serif; margin: 0 20px 12px 0; font-size: 26px; }
.contact-dialog p { line-height: 1.55; }
.dialog-close { position: absolute; right: 15px; top: 10px; border: 0; background: none; font-size: 30px; color: var(--ink); }
.dialog-action { border: 0; border-radius: 20px; color: var(--ink); background: var(--gold); font-weight: 700; padding: 12px 27px; }

@media (min-width: 1201px) {
  .hero-photograph { width: 60%; background-size: cover; }
  .hero-copy { margin-left: 5.8%; }
  .coaches-gallery { display: flex; flex-direction: column; align-items: center; }
  .service-grid { column-gap: 5%; }
}

@media (max-width: 1000px) and (min-width: 741px) {
  .main-nav { gap: 16px; font-size: 14px; }
  .site-header { padding-right: 3%; }
  .service-grid { column-gap: 15px; }
  .service-item { gap: 10px; }
  .service-item h3 { font-size: 16px; }
  .service-item p { font-size: 13px; }
  .coaches { gap: 10px; }
  .coaches-copy { width: 34%; flex-basis: 34%; }
  .coaches h2 { font-size: 30px; }
  .coaches-copy p { font-size: 14px; }
  .coach-portraits { gap: 6px; }
  .coach-portraits img, .other-coaches { width: min(10vw, 104px); height: min(10vw, 104px); flex-basis: min(10vw, 104px); }
  .step-symbols { gap: 8px; }
  .step-list { gap: 8px; }
  .step h3 { font-size: 13.5px; }
  .step p { font-size: 12px; }
  .advantage { gap: 13px; padding-left: 0; }
  .advantage:nth-child(2), .advantage:nth-child(3) { padding-left: 14px; }
  .advantage p { font-size: 14px; }
}

@media (max-width: 740px) {
  .site-shell { overflow: hidden; }
  .hero { height: auto; min-height: 580px; padding-bottom: 72px; }
  .hero-photograph { top: 66px; right: -12%; width: 95%; height: 360px; background-position: right center; opacity: .9; }
  .hero-shade { background: linear-gradient(90deg, rgba(0,37,65,.98) 0%, rgba(0,37,65,.84) 53%, rgba(0,37,65,.2) 100%), linear-gradient(0deg, #002743 8%, transparent 42%); }
  .site-header { height: auto; min-height: 112px; flex-direction: column; padding: 10px 22px 0; gap: 13px; align-items: center; }
  .brand { width: 270px; flex-basis: auto; }
  .brand-name { font-size: 31px; }
  .brand-mark { width: 258px; }
  .brand-tagline { font-size: 13.8px; }
  .main-nav { margin: 0; gap: 18px; flex-wrap: wrap; justify-content: center; font-size: 12px; }
  .hero-copy { margin: 28px 7% 0; width: 86%; }
  .hero h1 { font-size: clamp(30px, 5.8vw, 42px); white-space: normal; }
  .hero h1 br { display: none; }
  .hero-description { font-size: 16px; line-height: 23px; letter-spacing: -.3px; white-space: normal; margin-top: 0; }
  .hero-description br { display: none; }
  .hero-button { margin-top: 8px; }
  .cta-button { max-width: 100%; width: fit-content; gap: 9px; min-height: 48px; font-size: clamp(13px, 3.4vw, 18px); padding-inline: 14px; }
  .cta-button .button-phone { width: 23px; height: 23px; }
  .cta-button .button-arrow { width: 20px; height: 20px; }
  .appointment-note { margin-left: 8px; font-size: clamp(12px, 3.1vw, 16px); }
  .services { height: auto; padding: 0 7% 32px; }
  .services h2 { font-size: clamp(25px, 5vw, 34px); white-space: normal; line-height: 1.1; padding-top: 8px; margin-bottom: 25px; }
  .flourish { top: -34px; left: 35%; width: 30%; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .service-item { gap: 9px; }
  .service-item > img { width: 58px; height: 58px; flex-basis: 58px; }
  .service-item h3 { white-space: normal; font-size: 15px; line-height: 18px; }
  .service-item p { white-space: normal; font-size: 13px; line-height: 17px; }
  .service-item p br { display: none; }
  .service-item:nth-child(n)::before { display: none; }
  .steps { height: auto; padding: 22px 7% 30px; }
  .steps h2 { font-size: 29px; text-align: center; line-height: 1.13; }
  .steps-title { gap: 9px; }
  .steps-title span { width: 28px; }
  .steps-intro { font-size: 14px; line-height: 20px; margin: 10px 0 22px; }
  .step-list { display: flex; flex-direction: column; align-items: stretch; gap: 18px; max-width: 370px; margin: 0 auto; }
  .step-arrow { display: none; }
  .step { flex-direction: row; justify-content: flex-start; align-items: center; gap: 14px; min-height: 90px; padding: 13px 15px; text-align: left; }
  .step-symbols { flex: 0 0 78px; gap: 10px; margin: 0; }
  .step-copy { flex: 1; min-width: 0; }
  .step h3 { font-size: 16px; }
  .step p { font-size: 14px; }
  .coaches { height: auto; padding: 30px 7% 32px; flex-direction: column; gap: 20px; }
  .coaches-copy { width: 100%; flex-basis: auto; }
  .coaches h2 { font-size: 33px; }
  .coaches-copy p { font-size: 15px; }
  .coaches-gallery { width: 100%; }
  .coach-portraits { justify-content: center; gap: 7px; }
  .coach-portraits img, .other-coaches { width: clamp(58px, 16.8vw, 102px); height: clamp(58px, 16.8vw, 102px); flex-basis: clamp(58px, 16.8vw, 102px); }
  .other-coaches strong { font-size: 29px; line-height: 28px; }
  .other-coaches span { font-size: 11px; line-height: 13px; }
  .outline-button { width: min(100%, 340px); }
  .advantages { height: auto; grid-template-columns: 1fr; gap: 0; padding: 15px 12%; }
  .advantage { min-height: 72px; gap: 25px; padding: 5px !important; border-right: none !important; }
  .advantage:not(:last-child) { border-bottom: 1px solid var(--gold); }
  .advantage svg { width: 46px; height: 46px; flex-basis: 46px; }
  .closing { height: 305px; }
  .closing h2 { padding: 0 12px; font-size: clamp(27px, 5.7vw, 38px); line-height: 1.15; margin: 21px 0 13px; }
  .closing-content > p { padding: 0 12px; font-size: 15px; line-height: 22px; }
  .closing-content > p br { display: none; }
  .closing-button { margin-top: 25px; width: fit-content; }
  .closing .appointment-note { font-size: 13px; }
}

@media (max-width: 390px) {
  .main-nav { gap: 11px; font-size: 11px; }
  .hero { min-height: 615px; }
  .service-grid { grid-template-columns: 1fr; gap: 22px; }
  .service-item > img { width: 68px; height: 68px; flex-basis: 68px; }
  .service-item h3 { font-size: 17px; }
  .service-item p { font-size: 14px; }
  .coaches h2 { font-size: 29px; }
  .coach-portraits { gap: 4px; }
  .outline-button { font-size: 17px; }
}

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