/* Content hierarchy, photo-ready slots, compact mobile browsing. */
.journey-context { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px 24px; margin-bottom:28px; background:#f0f5fb; border:1px solid #d2e0f0; border-radius:16px; }
.journey-context .mini-label { color:#405e7d; font-size:11px; }
.journey-context p { display:flex; flex-wrap:wrap; gap:7px; margin:9px 0; }
.journey-context p span { display:inline-block; background:white; color:#244e83; padding:5px 10px; border:1px solid #d7e3f1; border-radius:6px; font-size:13px; font-weight:650; }
.journey-context small { color:#52677f; font-size:12px; line-height:1.8; }
.journey-context>a { font-size:12px; text-decoration:underline; text-underline-offset:4px; flex-shrink:0; padding:12px 4px; }
.lesson-team-link { display:inline-flex; align-items:center; gap:12px; margin-top:18px; padding:10px 0; font-size:13px; font-weight:650; color:var(--blue); text-decoration:underline; text-underline-offset:5px; }
.tab-button[aria-selected=true] { background:var(--navy); border-color:var(--navy); color:white; }
.journey-empty { padding:28px; background:var(--ice); border:1px solid var(--line); border-radius:16px; margin-bottom:25px; }
.journey-empty h2 { font-size:22px; }
.journey-empty p { margin:15px 0 20px; color:var(--muted); font-size:14px; }
.journey-empty .gentle-link { display:inline-flex; padding:15px 0; margin-left:15px; }
.review-summary dl>div { grid-template-columns:100px minmax(0,1fr); }
.review-summary dd { min-width:0; overflow-wrap:anywhere; white-space:pre-wrap; }
.field,.field input,.field select,.field textarea { min-width:0; }
main:focus { outline:none; }
@media(max-width:640px) {
  .nav.open { max-height:calc(100dvh - 80px); overflow-y:auto; overscroll-behavior:contain; }
  .journey-context { display:block; padding:19px 20px 12px; margin-bottom:24px; }
  .journey-context p span { font-size:12px; }
  .journey-context small { display:block; font-size:12px; }
  .journey-context>a { display:inline-flex; margin-top:4px; min-height:44px; }
  .review-summary dl>div { grid-template-columns:75px minmax(0,1fr); }
  .journey-empty { padding:22px; }
  .journey-empty .gentle-link { display:flex; margin-left:0; }
  .field input,.field select,.field textarea { font-size:16px; }
}
.welcome-story { grid-template-columns:1fr 1.1fr; min-height:460px; }
.welcome-copy { padding:40px; }
.welcome h1 { font-size:clamp(32px,3.1vw,43px); line-height:1.4; }
.welcome-copy>p { font-size:15px; line-height:1.9; margin:20px 0 28px; }
.hero-actions { display:flex; align-items:center; flex-wrap:wrap; gap:15px 20px; }
.hero-consult { color:var(--navy); font-size:13px; font-weight:650; text-decoration:underline; text-underline-offset:5px; }
.welcome-tags { font-size:11px; }
.section-title { font-size:32px; }
.section-description { font-size:15px; max-width:560px; }
#programs .eyebrow:before,#team .eyebrow:before,#winter-notes .eyebrow:before {
  display:inline-grid; place-items:center; width:24px; height:24px; border:1px solid #d0dce8; border-radius:50%; margin-right:9px; font-size:10px; background:white;
}
#programs .eyebrow:before { content:'01'; }
#team .eyebrow:before { content:'02'; }
#winter-notes .eyebrow:before { content:'03'; }
.discover-hint { display:flex; gap:10px; }
.discovery { padding:28px 30px 22px; }
.experience-art { height:168px; }
.experience-info h3 { font-size:23px; }
.experience-info>p { font-size:14px; line-height:1.85; }
.program-facts { margin:18px 0 0; display:grid; gap:8px; font-size:12px; }
.program-facts>div { display:grid; grid-template-columns:30px minmax(0,1fr); gap:9px; }
.program-facts dt { color:var(--muted); }
.program-facts dd { margin:0; color:var(--ink); word-break:keep-all; }
.experience-bottom { font-size:13px; }
.experience-bottom .circle-arrow { height:34px; width:34px; }
.meet-avatar { width:82px; height:106px; }
.meet-card p { font-size:12px; }
.meet-card .gentle-link { font-size:12px; min-height:32px; }
.note-open { min-height:28px; }
.faq-list summary { min-height:64px; }
.detail-jump { display:flex; gap:28px; padding-top:22px; padding-bottom:18px; border-bottom:1px solid var(--line); font-size:13px; font-weight:650; }
.detail-jump a { padding:8px 0; min-height:40px; color:#3b5673; }
.detail-jump a:hover { color:var(--blue); }
#lesson-guide { padding-top:32px; }
.tab-button { min-height:44px; }
.cost-grid { display:none; }
.has-portrait { padding:0; overflow:hidden; }
.has-portrait img { width:100%; height:100%; object-fit:cover; }
.coach-monogram.has-portrait { width:90px; height:112px; border-radius:14px; flex-shrink:0; }
.program-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.experience-card.has-photo .experience-art { height:210px; padding:20px 24px; justify-content:flex-end; }
.experience-card.has-photo .art-orbit { display:none; }
.experience-card.has-photo .experience-art:after { inset:0; width:100%; height:100%; border-radius:0; background:linear-gradient(transparent 15%,#13263fd9); z-index:0; }
.experience-card.has-photo .experience-art>span:first-of-type { position:relative; color:white; z-index:1; }
.experience-card.has-photo .experience-art>b { color:white; margin-top:7px; }
.mobile-links { display:flex; align-items:center; gap:6px; }
.mobile-cta .mobile-links a { background:transparent; border:0; box-shadow:none; padding:10px 12px; font-size:12px; color:#52647b; min-height:44px; }
.mobile-cta .mobile-links a[aria-current=page] { color:var(--blue); font-weight:750; background:var(--adult-soft); }
.mobile-cta .mobile-links a:hover { color:var(--blue); }
.consultation-path { list-style:none; padding:0; margin:0 0 26px; display:flex; gap:26px; color:#4d637b; font-size:12px; }
.consultation-path li { display:flex; align-items:center; gap:9px; }
.consultation-path b { display:grid; place-items:center; width:24px; height:24px; border:1px solid #c2d2e4; border-radius:50%; font-size:11px; color:var(--blue); }
.form-privacy { padding:15px 34px 0; color:#55687f; font-size:12px; line-height:1.8; }
.form-error { margin:20px 30px 0; padding:18px 20px; border:1px solid #d5978d; background:#fff5f2; border-radius:12px; color:#882f22; font-size:13px; scroll-margin-top:115px; }
.form-error ul { margin:10px 0 0; padding:0; list-style:none; display:grid; gap:6px; }
.error-link { display:block; padding:4px 0; border:0; background:transparent; text-align:left; color:#882f22; text-decoration:underline; text-underline-offset:3px; line-height:1.6; font-size:12px; }
.field-error { margin:7px 0 0; color:#a53327; font-size:12px; line-height:1.7; }
.field [aria-invalid=true],.consent [aria-invalid=true] { border-color:#b84334; outline:1px solid #b84334; }
.field-status { margin-top:7px; color:#3d647e; font-size:12px; line-height:1.7; }
.field-status:empty { display:none; }
.summary-card>summary { display:flex; gap:10px; align-items:center; justify-content:space-between; cursor:pointer; list-style:none; min-height:32px; }
.summary-card>summary::-webkit-details-marker { display:none; }
.summary-card>summary h2 { margin:0; font-size:20px; }
.summary-card>summary>span { color:var(--blue); font-size:22px; }
.summary-card[open]>summary { margin-bottom:20px; }
.summary-card[open]>summary>span { transform:rotate(180deg); }
.draft-badge { display:inline-block; background:#fff; border:1px solid #bcd8ca; color:var(--advanced); border-radius:6px; font-size:12px; padding:5px 10px; margin-bottom:15px; }
.coach-card:target { outline:3px solid #9ab9e7; outline-offset:5px; scroll-margin-top:120px; }
@media(max-width:1050px) {
  .welcome-story { min-height:430px; }
  .welcome-copy { padding:30px; }
  .welcome h1 { font-size:34px; }
  .hero-actions { gap:14px; }
  .experience-info h3 { font-size:21px; }
  .program-facts { font-size:11px; }
}
@media(max-width:850px) {
  .booking-aside { grid-row:1; position:static; }
  .booking-aside .contact-card { display:none; }
  .booking-layout { gap:20px; }
  .welcome h1 { font-size:30px; }
  .welcome-copy { padding:27px; }
  .welcome-copy>p { font-size:14px; }
  .discover-hint { display:none; }
  .experience-art { height:160px; }
  .experience-art:after { width:102px; height:102px; right:8px; }
  .art-orbit { width:100px; height:100px; right:8px; }
  .experience-art>b { font-size:13px; }
  .experience-info h3 { font-size:20px; }
  .experience-info>p { font-size:13px; }
  .program-facts { font-size:12px; }
}
@media(max-width:640px) {
  .consultation-path { gap:14px; justify-content:space-between; font-size:10px; margin-bottom:20px; }
  .consultation-path li { flex:1; align-items:flex-start; gap:7px; line-height:1.6; }
  .consultation-path b { flex:none; width:20px; height:20px; font-size:10px; }
  .form-privacy { padding:16px 21px 0; font-size:11px; }
  .form-error { margin:20px 17px 0; padding:16px; }
  .form-error strong { font-size:13px; }
  .error-link { padding:7px 0; min-height:44px; }
  .summary-card { padding:20px; }
  .summary-card>summary h2 { font-size:18px; }
  .welcome-story { grid-template-columns:1fr; }
  .welcome-copy { padding:25px 25px 24px; }
  .welcome h1 { font-size:29px; margin-top:12px; }
  .welcome-copy>p { font-size:14px; margin:15px 0 20px; }
  .hero-actions { gap:16px; }
  .hero-consult { font-size:12px; }
  .welcome-photo { height:200px; }
  .welcome-tags { font-size:10px; margin-top:19px; }
  .section-title { font-size:26px; }
  .section-description { font-size:13px; max-width:none; }
  .section-head { gap:16px; }
  .category-nav { margin:24px 0 30px; }
  .discovery { padding:22px 18px 19px; }
  .discover-heading h2 { font-size:20px; }
  .experience-grid { gap:18px; }
  .experience-art { height:112px; padding:16px 20px; }
  .experience-art:after { width:94px; height:94px; right:13px; top:7px; }
  .art-orbit { width:92px; height:92px; top:6px; right:14px; }
  .experience-art>span:first-child { font-size:11px; }
  .experience-art>b { font-size:14px; padding-right:80px; }
  .experience-info { padding:19px 20px; }
  .experience-info h3 { font-size:23px; margin-top:9px; }
  .experience-info>p { font-size:14px; margin-bottom:0; }
  .program-facts { font-size:12px; gap:6px; margin-top:15px; }
  .experience-bottom { margin-top:16px; padding-top:12px; }
  .experience-card.has-photo .experience-art { height:190px; }
  .experience-card.has-photo .experience-art>b { padding-right:0; }
  .meet-card { gap:20px; }
  .meet-avatar { width:80px; height:104px; }
  .meet-card p { font-size:13px; }
  .notes-grid { gap:12px; }
  .note-card summary { display:grid; grid-template-columns:66px minmax(0,1fr); gap:4px 16px; padding:20px 18px; }
  .note-visual { grid-column:1; grid-row:1/4; width:66px; height:100%; margin:0; padding:0; border:0; display:flex; align-items:center; }
  .note-visual img { width:66px; height:66px; }
  .note-visual>span { display:none; }
  .note-card summary>.mini-label,.note-card h3,.note-open { grid-column:2; margin:0; }
  .note-card h3 { font-size:17px; line-height:1.55; margin:3px 0; }
  .note-open { font-size:11px; }
  .note-body { padding:0 22px 22px; }
  .detail-jump { gap:0; justify-content:space-between; font-size:12px; padding-top:12px; padding-bottom:10px; }
  .cost-table { display:none; }
  .cost-grid { display:grid; grid-template-columns:1fr; gap:12px; }
  .cost-item { border:1px solid var(--line); padding:20px; border-radius:14px; }
  .cost-item h3 { font-size:16px; }
  .cost-item p { font-size:13px; color:var(--muted); margin:8px 0 12px; line-height:1.8; }
  .cost-item>span { display:inline-block; padding:4px 9px; border-radius:6px; color:#395d85; background:var(--ice); font-size:11px; }
  .lesson-content dl>div { font-size:13px; }
  .source-caption { font-size:11px; }
  .mobile-cta { gap:8px; padding:9px 14px max(9px,env(safe-area-inset-bottom)); }
}
@media(max-width:360px) {
  .welcome-copy { padding:24px 21px; }
  .welcome h1 { font-size:26px; }
  .hero-actions { gap:12px; }
  .hero-actions .button { gap:8px; padding-inline:13px; }
  .hero-consult { font-size:11px; }
  .experience-art>b { font-size:12px; padding-right:80px; }
  .mobile-cta .mobile-links a { padding-inline:8px; }
}

@media(max-width:640px){html{scroll-padding-bottom:100px}a,button,input,select,textarea,summary{scroll-margin-bottom:100px}}
