/* Mobile type and spacing only. Desktop rules and the approved hero stay intact. */
@media(max-width:700px),(max-width:1000px) and (max-height:500px) and (pointer:coarse){
  :root{--mobile-gutter:20px;--mobile-heading:clamp(29px,8.2vw,35px);--mobile-body:15.5px}
  .reality-container,.projects-container,.curriculum-container,.end-container{width:calc(100% - 40px)}
  .reality-section{padding-top:48px;padding-bottom:48px}
  .reality-heading h2,.projects-heading h2,.curriculum-intro h2,.mentor-intro .end-title,.format-panel .format-header .end-title,.faq-heading .end-title{font-size:var(--mobile-heading);line-height:1.12;letter-spacing:-.04em}
  .reality-conclusion{margin-top:30px;padding-top:24px}
  .reality-conclusion>p{font-size:17px;line-height:1.6;letter-spacing:-.01em}
  .reality-conclusion strong{font-weight:500}
  .unfinished-strip{margin-top:20px}
  .reality-answer{padding-top:24px}
  .answer-label{font-size:13px;margin-bottom:12px}
  .reality-answer>p{font-size:17px;line-height:1.6;letter-spacing:-.01em}
  .reality-answer strong,.curriculum-outcome-lead strong{font-weight:500}
  .mobile-reality-panel h3{font-size:clamp(24px,6.7vw,29px);line-height:1.2}
  .mobile-reality-summary{font-size:15.5px;line-height:1.6;margin-top:16px}
  .mobile-reality-panel{min-height:290px;padding:20px}
  .mobile-reality-tabs{margin-bottom:14px}
  .mobile-reality-details-inner p{font-size:15px;line-height:1.65}

  .projects-section.projects-cinematic{--rail-padding:20px;padding:48px 0}
  .projects-heading{display:block;margin-bottom:20px}
  .projects-heading-main{display:block}
  .projects-heading h2{margin:0 0 18px}
  .projects-heading>p{font-size:var(--mobile-body);line-height:1.65;padding:0}
  .projects-heading-main .projects-controls{display:none}
  .projects-controls button{font-size:14px;min-height:44px}
  .projects-cinematic .project-track{padding-top:18px;padding-bottom:24px;gap:16px}
  .projects-cinematic .project-card{flex-basis:82vw;max-width:350px;height:420px}
  .projects-cinematic .project-card h3{font-size:23px;line-height:1.15;letter-spacing:-.035em;margin-bottom:10px}
  .projects-cinematic .project-card p{font-size:14px;line-height:1.5}
  .projects-cinematic .project-card-copy{padding:0 20px 18px;min-height:200px}
  .project-read-more{font-size:13px;min-height:44px;margin-top:8px;padding:10px 0}
  .projects-cinematic .project-media-tag{font-size:10px;left:20px;top:18px;padding:5px 8px}
  .projects-progress{margin:0 0 24px}
  .projects-closing{gap:0;padding-top:24px}
  .projects-closing>p:only-child{font-size:17px;line-height:1.6;letter-spacing:-.01em;margin:0}
  .projects-closing strong{font-weight:500}

  .curriculum-intro{display:block;padding:48px 0 28px}
  .curriculum-intro h2{margin-bottom:18px}
  .curriculum-intro-copy{padding:0}
  .curriculum-intro-copy>p{font-size:var(--mobile-body);line-height:1.65}
  .curriculum-section{padding-bottom:48px}
  .pw-workshop{display:block;width:calc(100% - 40px);margin-left:auto;margin-right:auto}
  .curriculum-section>.pw-week{margin-top:44px}
  .pw-open-content .pw-poster{position:relative;top:auto;height:auto;min-height:0;border-radius:14px}
  .pw-open-content .pw-poster-inner{position:relative;inset:auto;height:auto;display:grid;grid-template-rows:auto auto auto;padding:20px 0 0;gap:12px}
  .pw-open-content .pw-poster-eyebrow,.pw-open-content .pw-title{margin-left:20px;margin-right:20px}
  .pw-open-content .pw-poster-eyebrow{font-size:12px;line-height:1.5;max-width:calc(100% - 40px)}
  .pw-open-content .pw-poster-eyebrow:before{width:20px;margin-right:10px}
  .pw-open-content .pw-title{font-size:clamp(32px,10cqw,40px);line-height:1.06;letter-spacing:-.035em;margin-top:0;margin-bottom:0}
  .pw-open-content .pw-city-visual,.pw-week.pw-open-content .pw-city-visual{position:relative;inset:auto;height:66.6667cqw;min-height:0;aspect-ratio:auto;align-self:auto}
  .pw-seed-preparation.pw-open-content .pw-city-visual{height:45cqw;min-height:0}
  .pw-open-content .pw-city-visual img{aspect-ratio:3/2;width:100%;height:auto;object-fit:contain;object-position:center bottom}
  .pw-open-content .pw-syllabus,.pw-art-right .pw-syllabus{padding:22px 0 0}
  .pw-open-content .pw-stage-lead{font-size:18px;line-height:1.5;letter-spacing:-.02em;margin-bottom:18px}
  .pw-stage-lead strong{font-weight:500}
  .pw-open-content .pw-topic-list{gap:10px}
  .pw-open-content .pw-topic{font-size:var(--mobile-body);line-height:1.6;padding-left:17px}
  .pw-open-content .pw-result{padding:17px 18px 18px;margin-top:20px;border-radius:12px}
  .pw-open-content .pw-result>.pw-section-label{font-size:17px;line-height:1.3;letter-spacing:-.015em}
  .pw-open-content .pw-result>p{font-size:var(--mobile-body);line-height:1.6;margin-top:8px}
  .curriculum-outcome{display:block;margin-top:44px;padding-top:28px}
  .curriculum-outcome h3{font-size:26px;line-height:1.2;letter-spacing:-.035em;margin-bottom:18px}
  .curriculum-outcome-copy .curriculum-outcome-lead{font-size:18px;line-height:1.5;margin-bottom:16px}
  .curriculum-outcome-copy p{font-size:var(--mobile-body);line-height:1.65;margin-bottom:14px}

  .mentor-section{padding-top:44px;padding-bottom:44px}
  .mentor-layout{display:flex;flex-direction:column;gap:22px;margin:0 auto}
  .mentor-intro{order:-2}
  .mentor-intro .end-title{margin:0}
  .mentor-portrait{position:relative;top:auto;width:100%;height:auto;max-width:360px;aspect-ratio:4/5;align-self:center;order:-1}
  .mentor-story{max-width:none}
  .mentor-story h3{font-size:clamp(22px,6.2vw,27px);line-height:1.2;letter-spacing:-.035em;white-space:normal;margin-bottom:9px}
  .mentor-story .mentor-role{font-size:13px;line-height:1.5;margin-bottom:20px}
  .mentor-story p{font-size:var(--mobile-body);line-height:1.65;margin-bottom:14px}
  .mentor-story blockquote{font-size:18px;line-height:1.5;letter-spacing:-.02em;margin:20px 0;padding-left:14px}
  .mentor-socials{margin-top:12px;gap:12px}

  .format-section{padding-top:44px;padding-bottom:44px}
  .format-panel{padding:22px 20px 24px;border-radius:14px}
  .format-panel-intro{display:block;padding-bottom:24px}
  .format-panel .end-kicker{font-size:12px;line-height:1.4;gap:10px}
  .format-panel .format-header .end-title{margin-top:14px}
  .format-panel .format-header .end-title em{font-size:inherit;margin-top:5px}
  .format-description{font-size:var(--mobile-body);line-height:1.65;margin-top:16px}
  .format-practice{font-size:21px;line-height:1.3;letter-spacing:-.025em;margin-top:24px}
  .format-features{grid-template-columns:1fr;gap:24px;padding-top:24px}
  .format-feature h4{font-size:18px;line-height:1.35;letter-spacing:-.015em;margin-bottom:8px}
  .format-feature p{font-size:15px;line-height:1.65}
  .format-feature p+p{margin-top:12px}
  .format-mobile-cards .format-features{display:none}
  .mobile-format-list{display:grid;gap:10px;margin-top:20px}
  .mobile-format-card{overflow:hidden;border:1px solid #ffffff1c;border-radius:12px;background:#1a1a1c;transition:border-color .25s,background .25s}
  .mobile-format-card.is-open{border-color:#ff5a1f45;background:linear-gradient(130deg,#ff5a1f07,transparent 65%),#1a1a1c}
  .mobile-format-card h4{margin:0;font:500 16px/1.4 var(--body);letter-spacing:-.015em}
  .mobile-format-card button{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:64px;width:100%;padding:15px 16px;border:0;background:transparent;color:var(--paper);font:inherit;text-align:left}
  .mobile-format-card button>span{min-width:0}
  .mobile-format-card button>i{position:relative;width:24px;height:24px;flex:0 0 24px;border:1px solid #ffffff30;border-radius:50%;transition:transform .3s,border-color .3s}
  .mobile-format-card button>i:before,.mobile-format-card button>i:after{content:'';position:absolute;top:10px;left:6px;width:10px;height:1px;background:var(--orange)}
  .mobile-format-card button>i:after{transform:rotate(90deg)}
  .mobile-format-card.is-open button>i{transform:rotate(45deg);border-color:#ff5a1f65}
  .mobile-format-detail{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .35s ease,opacity .25s ease}
  .mobile-format-detail-inner{min-height:0;overflow:hidden}
  .mobile-format-copy{padding:0 16px 18px}
  .mobile-format-copy p{margin:0;font-size:15px;line-height:1.65;color:#aaa69f;text-wrap:pretty}
  .mobile-format-copy p+p{margin-top:12px}
  .mobile-format-card.is-open .mobile-format-detail{grid-template-rows:1fr;opacity:1}
  .price-alternative{display:block;margin-top:24px;padding:22px 20px;border-radius:14px}
  .price-alternative:before{left:20px}
  .price-duration{font-size:14px;line-height:1.5;margin-bottom:14px}
  .price-total{font-size:clamp(48px,15vw,64px);line-height:1.12;letter-spacing:-.06em;margin-bottom:16px}
  .price-installment{font-size:14px;line-height:1.5}
  .price-installment strong{font-size:23px;line-height:1.4}
  .price-installment strong span{font-size:15px}
  .price-alternative-action{padding:0;border:0;margin-top:22px;gap:22px}
  .price-facts>div{gap:12px;padding-bottom:18px;flex-wrap:wrap}
  .price-facts dt{font-size:14px;line-height:1.5}
  .price-facts dd{font-size:15px;line-height:1.5;text-align:right}
  .price-facts .price-places{padding-top:16px;flex-wrap:nowrap}
  .price-facts .price-places dd{font-size:38px;line-height:1}
  .price-alternative .seat-button{min-height:52px;font-size:16px;padding:14px 18px}
  .format-notes{margin-top:18px}
  .format-notes p{font-size:13px;line-height:1.65}

  .faq-section{display:block;padding:44px 0 48px}
  .faq-heading{position:static;margin-bottom:24px}
  .faq-heading .end-title{margin-top:0}
  .faq-heading>p{font-size:15px;line-height:1.6;margin-top:16px}
  .faq-item summary{font-size:17px;line-height:1.4;letter-spacing:-.015em;padding:19px 0;gap:16px;min-height:56px}
  .faq-answer{padding:0 0 20px}
  .faq-answer p{font-size:15px;line-height:1.65}
  .faq-contact{font-size:15px;line-height:1.65;margin-top:24px}
  .faq-contact a{white-space:normal;overflow-wrap:anywhere}
  .site-footer{padding:36px 0 24px}
  .footer-brand{font-size:clamp(29px,8.5vw,38px);line-height:1.1;letter-spacing:-.045em}
  .footer-middle{margin-top:22px;padding-bottom:24px;gap:20px}
  .footer-middle nav{gap:2px 22px}
  .footer-middle nav a{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
  .footer-socials{margin-top:16px}
  .footer-bottom{display:flex;flex-direction:column;padding-top:22px;gap:20px}
  .footer-bottom nav{display:grid;gap:0}
  .footer-bottom nav a{display:flex;align-items:center;min-height:44px;font-size:12px;line-height:1.5}
  .footer-identity>p,.footer-identity dl,.footer-identity>span{font-size:12px;line-height:1.6}

  #info-dialog:has(.enrollment-form){width:calc(100% - 24px);max-height:calc(100svh - 24px);padding:12px 16px 16px;overflow-y:auto}
  #info-dialog:has(.enrollment-form) .dialog-top{font-size:10px;margin-bottom:2px}
  .dialog-close{width:44px;height:44px;flex-shrink:0}
  /* Initial dialog focus announces the heading without highlighting an action. */
  #info-dialog h2[tabindex="-1"]:focus,.project-lightbox h2[tabindex="-1"]:focus{outline:none}
  #info-dialog:has(.enrollment-form) h2{font-size:24px;line-height:1.15;letter-spacing:-.035em;margin:0 0 10px}
  #info-dialog:has(.enrollment-form) .checkout-summary{padding:8px 0;margin-bottom:12px;gap:10px}
  .checkout-summary strong{font-size:23px}
  .enrollment-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 12px}
  .enrollment-form>label{font-size:12px;gap:4px;min-width:0;grid-column:1/-1}
  .enrollment-form>label:has(input[name="phone"]){grid-column:1}
  .enrollment-form>label:has(input[name="telegram"]){grid-column:2}
  .enrollment-form input:not([type=checkbox]){font-size:16px;min-height:44px;height:44px;padding:10px 12px}
  .enrollment-form .checkout-consent{gap:9px;min-height:40px;margin:0;align-items:center}
  .enrollment-form .checkout-consent>span{font-size:12.5px;line-height:1.6}
  .checkout-consent input{width:18px;height:18px;flex-basis:18px}
  .enrollment-form .seat-button{grid-column:1/-1;min-height:48px;padding:12px 18px;font-size:16px}
  .enrollment-form .checkout-status{grid-column:1/-1}
  .enrollment-form .checkout-status:empty,.enrollment-form .promo-status:empty{display:none}
  .project-lightbox[open]{display:block;width:calc(100% - 24px);height:fit-content;max-height:92svh;overflow-y:auto;padding:12px}
  .project-lightbox-header{font-size:11px;line-height:1.5;padding:0 0 12px;gap:16px}
  .project-lightbox-close{width:44px;height:44px}
  .project-lightbox .lightbox-placeholder{height:auto;min-height:0;max-height:46svh;aspect-ratio:auto;display:block}
  .project-lightbox [id^="project-lightbox-media"]>img{display:block;height:auto;max-height:46svh;width:100%;object-fit:contain}
  .project-lightbox-copy{padding:18px 4px 6px}
  .project-lightbox-copy h2{font-size:23px;line-height:1.2;letter-spacing:-.025em;margin-bottom:12px}
  .project-lightbox-copy p{font-size:15px;line-height:1.65}
}
@media(max-width:700px) and (max-height:700px){
  #info-dialog:has(.enrollment-form){padding:10px 12px 12px}
  #info-dialog:has(.enrollment-form) .checkout-summary{margin-bottom:10px;padding:6px 0}
  .enrollment-form{gap:8px 10px}
  .enrollment-form>label:not(.checkout-consent){font-size:0;gap:0}
  .enrollment-form .checkout-promo .promo-status{font-size:12px}
}
