/* Phone composition; all existing assets, desktop/tablet hero CSS and JS stay intact. */
@media(max-width:600px){
#siteShell #top #filmHero {
 --phone-gutter:clamp(22px,calc(var(--hero-unit,1vw)*6),30px);
 --phone-head:clamp(68px,calc(var(--hero-unit,1vw)*19),90px);
 --phone-tag:clamp(16px,calc(var(--hero-unit,1vw)*4.65),28px);
 --phone-tag-gap:clamp(18px,calc(var(--hero-unit,1vw)*4.65),28px);
 --phone-copy-top:35svh;
 --phone-group-height:calc(var(--phone-head)*.95 + var(--phone-tag-gap) + var(--phone-tag)*1.4);
 --phone-cta-top:58.5svh;
 --phone-cta-height:clamp(54px,calc(var(--hero-unit,1vw)*13),58px);
 --phone-bottom:max(clamp(32px,4.5svh,48px),calc(env(safe-area-inset-bottom) + 16px));
 height:100svh;min-height:100svh;
}
#siteShell #top #heroNav .hero-brand {left:clamp(22px,calc(var(--hero-unit,1vw)*6),30px);top:max(30px,env(safe-area-inset-top));width:clamp(88px,calc(var(--hero-unit,1vw)*21),104px);height:auto;aspect-ratio:619/373}
#siteShell #top #heroMenuToggle {right:calc(clamp(22px,calc(var(--hero-unit,1vw)*6),30px) - 6px);top:max(32px,env(safe-area-inset-top));width:48px;height:48px;min-height:48px;padding:6px;border:0;background:transparent;font-size:0;gap:0;justify-content:center}
/* Existing MENU text stays in the accessibility tree; its visual size is zero. */
#siteShell #top #heroMenuToggle>span {display:none}
#siteShell #top #heroMenuToggle::before {content:"";display:block;flex:none;width:clamp(34px,calc(var(--hero-unit,1vw)*8.5),40px);height:3px;background:#fff;box-shadow:0 -11px 0 #fff,0 11px 0 #fff}
#siteShell #filmHero.hero-responsive #hero-h {clip-path:none;overflow:visible;width:auto;height:auto;white-space:nowrap;left:var(--phone-gutter);right:var(--phone-gutter);top:var(--phone-copy-top);margin:0;transform:none;font-size:var(--phone-head);line-height:.95;text-align:center;text-indent:6px}
#siteShell #filmHero .hero-subline {font-size:var(--phone-tag);line-height:1.4;letter-spacing:.16em;margin-top:var(--phone-tag-gap);white-space:nowrap}
#siteShell #filmHero.hero-responsive .hero-cta-canvas {inset:var(--phone-cta-top) 0 auto;width:100%;height:auto;transform:none;text-align:center}
#siteShell #filmHero #heroChallenge {position:relative;top:auto;left:auto;transform:none;display:inline-flex;width:min(calc(var(--hero-unit,1vw)*62),300px);height:var(--phone-cta-height);min-height:54px;padding:0 22px;font-size:clamp(13px,calc(var(--hero-unit,1vw)*3.7),18px);line-height:1;box-sizing:border-box}
#siteShell #filmHero .hero-down {left:50%;right:auto;bottom:auto;top:calc(var(--phone-cta-top) + var(--phone-cta-height) + clamp(80px,15svh,135px));transform:translateX(-50%);width:56px;height:56px}
#siteShell #filmHero .hero-down img {width:clamp(42px,calc(var(--hero-unit,1vw)*11),50px);height:auto}
#siteShell #filmHero .hero-bottom-left,#siteShell #filmHero .hero-bottom-right {bottom:var(--phone-bottom);font-size:clamp(12px,calc(var(--hero-unit,1vw)*3.7),18px);line-height:1.15;letter-spacing:.01em;white-space:nowrap}
#siteShell #filmHero .hero-bottom-left {left:var(--phone-gutter)}
#siteShell #filmHero .hero-bottom-right {right:var(--phone-gutter)}
#siteShell #filmHero .hero-stamp {width:clamp(88px,calc(var(--hero-unit,1vw)*23),104px);height:auto;aspect-ratio:522.48/522.13;margin:0 0 clamp(20px,calc(var(--hero-unit,1vw)*6),32px) auto}
}
/* Existing tablet boundary; no changes to approved desktop lower-page styling. */
@media(max-width:1180px){
#siteShell .lp-section {--lp-section-space:64px;--lp-card-gap:24px}
#siteShell .lp-section .ff-screening-cards>figure {min-width:0;height:auto;min-height:0;align-self:start;display:flex;flex-direction:column;gap:18px}
#siteShell .lp-section .ff-screening-cards>figure>div {flex:none;width:100%;height:auto;aspect-ratio:16/9;box-sizing:border-box;max-width:100%}
#siteShell .lp-section .ff-screening-cards figcaption {position:static;flex:none;min-width:0;gap:0}
#siteShell .lp-section .ff-screening-cards {row-gap:32px!important}
#siteShell .lp-section .lp-faq-heading {height:auto;min-height:0;flex:none}
#siteShell .lp-section .lp-faq-grid {align-content:start;grid-auto-rows:auto}
/* Override the existing inline flex declaration, reserving a square for its
   rotating arrow so neither the text nor the open-state ink overhangs. */
#siteShell .lp-section .lp-faq-question {display:grid!important;grid-template-columns:minmax(0,1fr) 44px;column-gap:16px}
#siteShell .lp-section .lp-faq-question .faq-chevron {display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;justify-self:end;grid-column:2;grid-row:1}
#siteShell .lp-section .lp-faq-question .faq-question-text {min-width:0;max-width:100%;white-space:normal;overflow-wrap:normal;grid-column:1;grid-row:1}
}
@media(max-width:767px){
#siteShell .lp-section {--lp-gutter:22px;--lp-card-pad:24px;--lp-body-size:17px;--lp-column-gap:32px;--lp-card-gap:20px}
#siteShell .lp-section .ff-track-cards,#siteShell .lp-section .ff-how-steps,#siteShell .lp-section .ff-screening-cards {grid-template-columns:minmax(0,1fr)}
#siteShell .lp-section .ff-track-cards>li {height:auto;min-height:0}
#siteShell .lp-section .lp-track-card {height:auto;min-height:0;gap:16px}
#siteShell .lp-section .ff-current-inner {row-gap:32px}
#siteShell .lp-section .lp-faq-grid {row-gap:40px}
#siteShell .lp-section .lp-flow,#siteShell .lp-section .ff-how-inner,#siteShell .lp-section .ff-about-inner {gap:32px!important}
#siteShell .lp-section.ff-join>.lp-container {grid-template-columns:minmax(0,1fr);row-gap:32px}
#siteShell .lp-section .lp-status {justify-self:start}
}
@media(min-width:768px) and (max-width:1180px){
#siteShell .lp-section .ff-screening-cards {grid-template-columns:repeat(3,minmax(0,1fr))}
#siteShell .lp-section .ff-about-cards {grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Compact short-phone landscape cases explicitly required by the brief.
   Does not match the 601px portrait boundary or normal tablet layouts. */
@media(orientation:landscape) and (max-height:500px) and (max-width:1000px){
#siteShell #filmHero.hero-responsive #hero-h {top:29%;font-size:72px;line-height:.95}
#siteShell #filmHero.hero-responsive .hero-subline {font-size:16px;line-height:1.4;margin-top:18px}
#siteShell #filmHero.hero-responsive .hero-cta-canvas {top:56%}
#siteShell #filmHero .hero-down {left:50%;right:auto;bottom:100px;transform:translateX(-50%);width:56px;height:56px}
#siteShell #filmHero .hero-down img {width:42px;height:auto}
#siteShell #filmHero .hero-bottom-left,#siteShell #filmHero .hero-bottom-right {bottom:32px;font-size:14px;line-height:1.15}
#siteShell #filmHero .hero-stamp {width:88px;height:88px;margin-bottom:18px}
}
