/* Mobile chapters use the same completed-before-release scroll sequences as desktop. */
@media(max-width:900px){
  .location.location-scroll-sequence{padding-bottom:0;background:#f4f6f3;overflow:clip}
  .location-scroll-sequence:after{display:none}
  .location-scroll-sequence .location-sticky{height:calc(100svh - var(--header));min-height:0;padding:22px 0 15px;overflow:hidden;background:#f4f6f3}
  .location-scroll-sequence .location-heading{flex-shrink:0;padding:0 20px}
  .location-scroll-sequence .location-heading h2{font-size:clamp(27px,6.9vw,38px);line-height:1.32;margin-top:17px}
  .location-scroll-sequence .location-heading p:last-child{font-size:10px;line-height:1.8;margin-top:12px}
  .location-scroll-sequence .location-stage{flex:1;width:100%;min-height:0;margin:12px 0 0}
  .location-scroll-sequence .device{position:absolute;width:241px;height:490px;left:50%;top:50%;margin-left:-120.5px;margin-top:-245px}
  .location-scroll-sequence .floating-detail{display:none}
  .location-scroll-sequence .radar-ring{top:50%}
  .location-scroll-sequence .location-footnote{font-size:7px;flex-shrink:0;margin-top:8px;padding-bottom:0}
  .location-scroll-sequence .location-map-wash{display:block}
  .location-scroll-sequence .location-next-copy{display:flex}
  .location-scroll-sequence .location-next-copy .eyebrow{font-size:6px;letter-spacing:.11em}
  .location-scroll-sequence .location-next-copy h2{font-size:clamp(30px,8.5vw,46px);line-height:1.4;margin-top:22px}
  .location-scroll-sequence .next-copy-line{height:55px;margin-top:27px}
  .location-scroll-sequence .wash-orbit{width:90vw;height:90vw;top:50%}

  .family.family-scroll-sequence{background:#f4f6f3;overflow:clip}
  .family-scroll-sequence .family-sticky{height:calc(100svh - var(--header));min-height:0;padding:20px 0 16px;justify-content:flex-start;background:#f4f6f3;overflow:hidden}
  .family-scroll-sequence .family-heading{width:calc(100% - 44px);margin:0 auto 18px;flex-shrink:0}
  .family-scroll-sequence .family-heading .eyebrow{font-size:8px}
  .family-scroll-sequence .family-heading h2{font-size:clamp(24px,7vw,35px);line-height:1.3;margin:14px 0 8px;white-space:nowrap}
  .family-scroll-sequence .family-heading h2 span{display:inline}
  .family-scroll-sequence .family-heading>p:last-child{font-size:10px;line-height:1.7;max-width:none}
  .family-scroll-sequence .family-track{width:max-content;padding:0 22px;gap:17px;overflow:visible;scroll-snap-type:none;flex-shrink:0}
  .family-scroll-sequence .family-card{width:calc(100vw - 44px);height:calc(100svh - var(--header) - 178px);min-height:0;grid-template-columns:1fr;grid-template-rows:minmax(180px,.85fr) minmax(170px,1fr);border-radius:14px;scroll-snap-align:none}
  .family-scroll-sequence .family-card-copy{padding:18px 24px}
  .family-scroll-sequence .chapter-tag{font-size:8px}
  .family-scroll-sequence .family-card h3{font-size:24px;line-height:1.32;margin:10px 0 9px}
  .family-scroll-sequence .family-card-copy p{font-size:10px;line-height:1.8;max-width:none}
  .family-scroll-sequence .card-foot{font-size:6px;margin-top:12px}
  .family-scroll-sequence .family-card-visual{min-height:0}
  .family-scroll-sequence .family-controls{width:calc(100% - 48px);margin:18px auto 0;flex-shrink:0;font-size:8px}
  .family-scroll-sequence .family-scroll-hint{display:inline;font-size:7px;margin-left:12px}
  .family-scroll-sequence .family-controls>span{font-size:8px}
  .family-scroll-sequence .permission-window{max-height:calc(100% - 22px);width:88%;padding:15px 18px}
  .family-scroll-sequence .permission-title{font-size:10px;margin-bottom:8px}
  .family-scroll-sequence .permission-owner,.family-scroll-sequence .permission-row{padding:9px 0;font-size:9px;gap:8px}
  .family-scroll-sequence .permission-window small{font-size:7px}
  .family-scroll-sequence .privacy-note{font-size:7px;margin-top:10px}
  .family-scroll-sequence .stack-card{padding:15px 20px}
  .family-scroll-sequence .stack-card strong{font-size:12px}
  .family-scroll-sequence .stack-card small{font-size:8px}
  .family-scroll-sequence .service-stack>p{font-size:8px;margin-top:17px}

  .safety.safety-scroll-sequence{background:transparent;padding:0}
  .safety-scroll-sequence .safety-sticky{height:calc(100svh - var(--header));min-height:0;padding:20px 0;display:flex;flex-direction:column;justify-content:center;overflow:hidden}
  .safety-scroll-sequence .section-shell{width:calc(100% - 44px);flex-shrink:0}
  .safety-scroll-sequence .safety-top{display:block;margin-bottom:18px}
  .safety-scroll-sequence .safety-top>p{display:none}
  .safety-scroll-sequence .safety-top .eyebrow{font-size:8px}
  .safety-scroll-sequence h2{font-size:clamp(27px,7.2vw,37px);line-height:1.25;margin-top:14px}
  .safety-scroll-sequence .fence-demo{display:flex;flex-direction:column;min-height:0;border-radius:14px}
  .safety-scroll-sequence .fence-map{height:clamp(180px,32svh,270px);min-height:0;flex:none}
  .safety-scroll-sequence .demo-tag{font-size:7px;top:12px;left:13px}
  .safety-scroll-sequence .fence-map-toolbar{font-size:8px;bottom:12px;left:12px;right:12px;padding:10px 12px}
  .safety-scroll-sequence .fence-panel{padding:16px 18px}
  .safety-scroll-sequence .fence-panel .panel-kicker,.safety-scroll-sequence .fence-panel h3,.safety-scroll-sequence .fence-panel>p:not(.scroll-instruction){display:none}
  .safety-scroll-sequence .scenario-switch{margin-top:0;padding:3px}
  .safety-scroll-sequence .scenario-switch button{font-size:10px;padding:8px 4px}
  .safety-scroll-sequence .notification{margin-top:11px;padding:11px 12px;min-height:83px}
  .safety-scroll-sequence .notification-top strong{font-size:10px}
  .safety-scroll-sequence .notification>p{font-size:9px;line-height:1.7;margin-top:7px}
  .safety-scroll-sequence .panel-caption{display:none}
  .safety-scroll-sequence .scroll-instruction{display:block;font-size:7px;margin-top:9px!important;line-height:1.7}
}
@media(max-width:900px) and (max-height:730px){
  .location-scroll-sequence .location-sticky{padding-top:17px;padding-bottom:11px}
  .location-scroll-sequence .location-heading h2{font-size:27px;margin-top:13px}
  .location-scroll-sequence .location-heading p:last-child{font-size:9px;margin-top:9px}
  .family-scroll-sequence .family-sticky{padding-top:16px;padding-bottom:12px}
  .family-scroll-sequence .family-card h3{font-size:22px}
  .family-scroll-sequence .family-card-copy{padding:16px 22px}
  .family-scroll-sequence .family-card-copy p{font-size:10px;line-height:1.7}
  .family-scroll-sequence .card-foot{margin-top:9px}
  .family-scroll-sequence .family-card{height:calc(100svh - var(--header) - 169px);grid-template-rows:minmax(178px,.85fr) minmax(168px,1fr)}
  .family-scroll-sequence .family-controls{margin-top:14px}
  .safety-scroll-sequence .safety-sticky{padding:16px 0}
  .safety-scroll-sequence h2{font-size:27px;margin-top:12px}
  .safety-scroll-sequence .safety-top{margin-bottom:15px}
  .safety-scroll-sequence .fence-map{height:clamp(165px,31svh,215px)}
}
@media(max-width:900px) and (max-height:479px){
  .location-scroll-sequence .location-sticky{display:grid;grid-template-columns:44% 56%;padding:12px 0}
  .location-scroll-sequence .location-heading{padding:0 12px 0 22px;align-self:center;z-index:3}
  .location-scroll-sequence .location-heading h2{font-size:24px}
  .location-scroll-sequence .location-heading p:last-child{font-size:9px}
  .location-scroll-sequence .location-heading .eyebrow{font-size:7px}
  .location-scroll-sequence .location-stage{height:100%;margin:0}
  .location-scroll-sequence .location-footnote,.location-scroll-sequence .radar-ring{display:none}
  .location-scroll-sequence .location-next-copy{padding:10px}
  .location-scroll-sequence .location-next-copy h2{font-size:30px;margin-top:12px}
  .location-scroll-sequence .next-copy-line{height:30px;margin-top:15px}
  .family-scroll-sequence .family-sticky{padding:10px 0}
  .family-scroll-sequence .family-heading{margin-bottom:12px;display:flex;gap:18px;align-items:center}
  .family-scroll-sequence .family-heading h2{font-size:24px;margin:0}
  .family-scroll-sequence .family-heading>p:last-child{display:none}
  .family-scroll-sequence .family-heading .eyebrow{font-size:7px;white-space:nowrap}
  .family-scroll-sequence .family-card{height:calc(100svh - var(--header) - 80px);grid-template-columns:1fr 1.1fr;grid-template-rows:1fr;min-height:0}
  .family-scroll-sequence .family-card-copy{padding:14px 22px}
  .family-scroll-sequence .family-card h3{font-size:19px;margin:6px 0 7px}
  .family-scroll-sequence .family-card-copy p{font-size:9px;line-height:1.6}
  .family-scroll-sequence .chapter-tag{font-size:7px}
  .family-scroll-sequence .card-foot{font-size:6px;margin-top:8px}
  .family-scroll-sequence .family-controls{margin-top:9px}
  .family-scroll-sequence .permission-window{max-height:calc(100% - 16px)}
  .safety-scroll-sequence .safety-sticky{padding:10px 0}
  .safety-scroll-sequence .safety-top{display:flex;gap:18px;align-items:center;margin-bottom:10px}
  .safety-scroll-sequence .safety-top .eyebrow{font-size:7px;white-space:nowrap}
  .safety-scroll-sequence h2{font-size:23px;margin:0}
  .safety-scroll-sequence h2 br{display:none}
  .safety-scroll-sequence .fence-demo{display:grid;grid-template-columns:1.4fr 1fr}
  .safety-scroll-sequence .fence-map{height:calc(100svh - var(--header) - 70px);min-height:0}
  .safety-scroll-sequence .fence-panel{padding:13px 15px}
  .safety-scroll-sequence .notification{padding:9px;margin-top:8px;min-height:78px}
  .safety-scroll-sequence .notification>p{font-size:8px}
  .safety-scroll-sequence .scenario-switch button{font-size:9px;padding:7px 3px}
  .safety-scroll-sequence .scroll-instruction{font-size:6px}
}
@media(max-width:900px){.family-scroll-sequence + .blueprint{background-image:none;background-color:#0b0e0d}}
@media(max-width:900px) and (max-height:479px){.header:before{bottom:-18px;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}}
