/* Viewport sizing: desktop reading blocks and independent phone focus handling. */
@media (width > 700px) {
 .site-header .main-site-nav{height:72px;min-height:72px;padding-block:0}
 .site-header .brand img{width:42px;height:42px}
 .site-header .brand>span{font-size:28px}
 .site-header .brand small{font-size:8px}
 .site-header .nav-book{min-height:44px;padding:10px 18px;font-size:15px}
 .form-shell .funnel{--frame-height:clamp(440px,calc(100svh - 140px),600px)}
 .reference-hero{display:flex;flex-direction:column;height:calc(100svh - 73px);min-height:0}
 .reference-hero .hero-layout{display:grid;flex:1;min-height:0;width:min(1240px,calc(100% - 64px));grid-template-columns:minmax(0,1fr) 500px;gap:40px;padding:12px 0;align-items:center}
 .reference-hero .hero-story{top:auto;padding-left:0;align-self:center}
 .reference-hero .hero-form{align-self:center;width:100%;max-width:none;min-width:0;margin:0}
 .reference-hero .eyebrow{font-size:10px;line-height:1.5;margin-bottom:18px}
 .reference-hero h1{font-size:clamp(32px,3.5vw,48px);line-height:1.08;letter-spacing:-.035em}
 .reference-hero .hero-subtitle{font-size:17px;line-height:1.55;margin-top:20px}
 .reference-hero .hero-service-note{font-size:13px;line-height:1.5;margin-top:18px;padding-top:16px}
 .reference-hero .hero-book{min-height:44px;margin-top:18px;padding:10px 18px;font-size:14px}
 .reference-hero .hero-location{flex:none;width:min(1240px,calc(100% - 64px));margin:0 auto;padding:6px 0 16px;font-size:8px;line-height:1.5}
 .reference-hero>.section-curve{height:24px}
 .section,.experience,.how,.education,.faq{padding-block:clamp(28px,4.5svh,48px)}
 .starter,.team{padding-block:clamp(28px,4.5svh,48px)}
 #offer-title,.included-heading h2,#how-title,#starter-title,#education-title,#team-title,#faq-title{font-size:clamp(30px,3.2vw,40px);line-height:1.15;font-weight:550}
 .section .eyebrow{font-size:10px;margin-bottom:18px}
 .experience .intro-text,.starter-copy>p,.education-heading>p:last-child,.team p{font-size:16px;line-height:1.55}
 .story-pair,.story-pair.reverse{gap:40px;margin-top:32px;align-items:center}
 .experience .preparation-photo,.story-photo,.story-pair.reverse .story-photo{height:clamp(300px,calc(100svh - 190px),500px)}
 .story-chapters h3{font-size:clamp(22px,2.3vw,28px);line-height:1.2}
 .story-chapters .chapter{font-size:10px;margin-bottom:12px}
 .story-chapters p{font-size:16px;line-height:1.55}
 .story-chapters article+article{margin-top:22px;padding-top:22px}
 .payoff{padding:32px 0}
 .payoff p{font-size:clamp(24px,2.5vw,32px);line-height:1.35}
 .experience .included{padding:28px 0 0}
 .included-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 40px;align-items:end;margin-bottom:16px}
 .included-heading .eyebrow{grid-column:1/-1;margin:0}
 .included .inclusion-grid{margin-top:16px}
 .included-heading>p:last-child{max-width:none;font-size:16px;line-height:1.5;margin:0}
 .included .inclusion-column{padding:20px}
 .included .inclusion-column h3{font-size:23px;line-height:1.25;min-height:0;margin-bottom:16px}
 .included .inclusion-column li{font-size:14px;line-height:1.5;margin-block:6px}
 .included-note{font-size:13px;line-height:1.5;margin-top:20px}
 .scope-note{margin-top:16px;padding-top:16px;font-size:13px;line-height:1.5}
 .steps{gap:18px;margin-top:28px}
 .steps article{padding:20px}
 .steps h3{font-size:22px;line-height:1.25}
 .steps p{font-size:15px;line-height:1.5;margin-top:12px}
 .inline-cta{margin-top:28px}
 .starter-layout{gap:40px;align-items:center}
 .starter-copy>p{margin-top:18px}
 .guide-cover{min-height:360px}
 .guide>p{font-size:14px;line-height:1.5;margin-top:16px}
 .education-heading{margin-bottom:28px}
 .education-story-step{margin-top:24px;padding:24px}
 .education-step-heading h3{font-size:26px;line-height:1.25}
 .education-step-body p,.document-list li{font-size:16px;line-height:1.55}
 .education-diy-conclusion.diy-narrative{margin-top:28px}
 .diy-narrative .diy-cover{padding-block:20px}
 .diy-narrative h3{font-size:30px;line-height:1.2}
 .diy-narrative .diy-reading-surface{padding:22px clamp(24px,7vw,96px)}
 .diy-narrative .diy-prose p{font-size:16px;line-height:1.55}
 .diy-narrative .diy-prose p+p{margin-top:16px}
 .diy-narrative .diy-actions{margin-top:22px}
 .team-layout{gap:40px;align-items:center}
 .team figure>img{height:clamp(280px,calc(100svh - 240px),430px);width:100%;aspect-ratio:auto;object-fit:cover;object-position:50% 25%}
 .team .team-promise{font-size:22px;line-height:1.4;margin-top:20px}
 .faq-layout{gap:40px}
 .faq-list{margin-top:20px}
 .faq-list details{padding:5px 0}
 .faq-list summary{min-height:44px;font-size:15px;line-height:1.4}
 .faq-list details p{font-size:15px;line-height:1.55;margin-block:8px 12px}
 .bottom-booking.form-shell{top:88px}
 .section-curve{height:40px}
}
/* Short desktop windows get a compact two-column question grid, not clipped fields. */
@media (width > 700px) and (max-height:739px) {
 .reference-hero h1{font-size:clamp(30px,5.5svh,40px)}
 .reference-hero .hero-subtitle{font-size:16px;line-height:1.45;margin-top:16px}
 .reference-hero .hero-service-note{font-size:12px;margin-top:14px;padding-top:12px}
 .reference-hero .eyebrow{margin-bottom:14px}
 .form-shell .funnel{padding:14px}
 .form-shell .funnel .qualification-grid,.form-shell .funnel.is-expanded .qualification-grid{gap:6px 12px}
 .form-shell .funnel .funnel-banner{padding-bottom:6px}
 .form-shell .funnel .name-fields{margin-top:6px!important}
 .form-shell .funnel [id$='qualification'] .field>label{font-size:12px;line-height:1.3}
 .form-shell .funnel .field-help{font-size:10px;line-height:1.35}
 .form-shell .funnel .form-action{margin-top:6px}
 .form-shell .funnel>[id$='calendar-view']{padding:0;margin-top:8px}
 .form-shell .funnel .calendar-workspace>.calendar-layout{padding:8px}
 .form-shell .funnel .calendar-days{grid-template-rows:repeat(3,28px);grid-auto-rows:28px;gap:4px}
 .form-shell .funnel .calendar-days button{height:28px;min-height:28px}
 .form-shell .funnel .month-header{min-height:22px;margin-bottom:3px}
 .form-shell .funnel .month-header h3{font-size:16px}
 .form-shell .funnel .availability-label{margin-bottom:6px}
 .form-shell .funnel .weekdays{margin-bottom:5px}
 .form-shell .funnel .more-availability{height:34px;min-height:34px;max-height:34px;margin-top:8px}
 .form-shell .funnel .calendar-slot-pane{padding:7px}
 .form-shell .funnel .sample-times{height:78px;max-height:78px}
 .form-shell .funnel .contact-summary{padding-bottom:6px;margin-bottom:6px}
 .form-shell .funnel .contact-summary button{min-height:28px}
 .form-shell .funnel .booking-actions{margin-top:8px}
 .form-shell .funnel .booking-actions button{height:40px;min-height:40px;font-size:11px;line-height:1.3;padding:4px}
 .form-shell .funnel .timezone-summary{margin-top:6px;padding-top:4px}
 .form-shell .funnel .timezone-summary button{min-height:28px}
 .form-shell .funnel .calendar-callback-help{margin-top:6px;padding:5px 7px;font-size:10px}
 .faq-list summary{font-size:14px;min-height:40px}
 .faq-list{margin-top:16px}
 .story-chapters h3{font-size:24px}
 .story-chapters p{font-size:15px;line-height:1.5}
 .story-chapters article+article{margin-top:18px;padding-top:18px}
}
@media (width > 700px) and (max-height:659px) {
 .form-shell .funnel .qualification-grid,.form-shell .funnel.is-expanded .qualification-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (700px < width <= 1100px) {
 .reference-hero .hero-layout{width:calc(100% - 40px);grid-template-columns:minmax(0,1fr) 460px;gap:24px}
 .reference-hero h1{font-size:clamp(28px,3.4vw,36px)}
 .story-pair,.story-pair.reverse{gap:28px}
 .story-chapters h3{font-size:23px}
 .story-chapters p{font-size:15px}
}
@media (700px < width <= 900px) {
 .reference-hero .hero-layout{grid-template-columns:minmax(0,1fr) 380px;gap:20px}
 .reference-hero h1{font-size:28px}
 .reference-hero .hero-subtitle{font-size:15px;line-height:1.45}
 .reference-hero .hero-service-note{font-size:12px}
 .reference-hero .hero-book{padding:9px 12px;font-size:13px;gap:10px}
 .included-heading{grid-template-columns:1fr;gap:12px}
}
/* Very short landscape windows must keep content in the page flow. */
@media (width > 700px) and (max-height:579px) {
 .form-shell .funnel{--frame-height:480px}
 .reference-hero{height:auto;min-height:calc(100svh - 73px)}
 .reference-hero .hero-layout{padding-block:16px}
}
/* iOS focus zoom: keep editable text >=16px in portrait AND landscape.
   The viewport still permits the visitor's own pinch zoom. No scale transforms. */
@media (max-width:1100px), (any-pointer:coarse) {
 .form-shell .funnel input,.form-shell .funnel select,.country-sheet input,
 .starter-signup input,textarea{font-size:16px!important}
}

/* Calendar preview fills the space left under the form instead of a fixed 328px, so the consent note cannot push it past the bottom of the form. */
@media (width > 700px) {
  .form-shell .funnel .calendar-teaser{flex:1 1 0;display:flex;flex-direction:column;height:auto;max-height:none;min-height:0}
  .form-shell .funnel .calendar-teaser .teaser-dates{flex:1 1 0;height:auto;min-height:0}
}

/* Country-code picker: match the dark form fields and the question dropdowns (select.js), in the inline menu and the mobile sheet. */
.form-shell .funnel .country-menu,.country-menu.country-sheet:not([hidden]){background:#17394c;color:#f3f8fc;border-color:#abc7d470;box-shadow:0 16px 45px #020d18a6}
.form-shell .funnel .country-menu .country-menu-heading label,.country-menu.country-sheet .country-menu-heading label{color:#f3f8fc}
.form-shell .funnel .country-menu .country-close,.country-menu.country-sheet .country-close{background:transparent;color:#e1edf4;border-color:#abc7d466}
.form-shell .funnel .country-menu .country-close:hover,.country-menu.country-sheet .country-close:hover{background:#ffffff1f}
.form-shell .funnel .country-menu input,.country-menu.country-sheet input{background:#10303f;color:#f3f8fc;border-color:#abc7d466}
.form-shell .funnel .country-menu input::placeholder,.country-menu.country-sheet input::placeholder{color:#c3d9e6}
.form-shell .funnel .country-menu input:focus,.country-menu.country-sheet input:focus{outline:1px solid #add7ca;outline-offset:0;border-color:#add7ca}
.form-shell .funnel .country-menu .country-status,.form-shell .funnel .country-menu .country-empty,.country-menu.country-sheet .country-status,.country-menu.country-sheet .country-empty{color:#c3d9e6}
.form-shell .funnel .country-menu .country-results,.country-menu.country-sheet .country-results{scrollbar-color:#82a6c0 transparent}
.form-shell .funnel .country-menu .country-option,.country-menu.country-sheet .country-option{background:transparent;color:#f3f8fc;outline:0;font-weight:400}
.form-shell .funnel .country-menu .country-option>span:last-child,.country-menu.country-sheet .country-option>span:last-child{color:#c3d9e6;font-weight:500}
.form-shell .funnel .country-menu .country-option:hover,.form-shell .funnel .country-menu .country-option:focus-visible,.country-menu.country-sheet .country-option:hover,.country-menu.country-sheet .country-option:focus-visible{background:#ffffff1f;color:#fff}
.form-shell .funnel .country-menu .country-option[aria-pressed='true'],.country-menu.country-sheet .country-option[aria-pressed='true']{background:#ffffff0f;color:#fff;font-weight:600}
.form-shell .funnel .country-menu .country-option[aria-pressed='true']:hover,.country-menu.country-sheet .country-option[aria-pressed='true']:hover{background:#ffffff1f}
.form-shell .funnel .country-trigger:hover{background:#ffffff14}
/* Country picker close button: draw the X so it is centred exactly (the × glyph sits off-centre in this font). */
.form-shell .funnel .country-menu .country-close,.country-menu.country-sheet .country-close{position:relative;font-size:0;line-height:0;color:transparent;padding:0}
.form-shell .funnel .country-menu .country-close::before,.form-shell .funnel .country-menu .country-close::after,.country-menu.country-sheet .country-close::before,.country-menu.country-sheet .country-close::after{content:'';position:absolute;top:50%;left:50%;width:14px;height:1.5px;border-radius:1px;background:#e1edf4;transform:translate(-50%,-50%) rotate(45deg)}
.form-shell .funnel .country-menu .country-close::after,.country-menu.country-sheet .country-close::after{transform:translate(-50%,-50%) rotate(-45deg)}
