/* Denver's SEO — 24 Nov 2026 mobile chapter fitting, no desktop changes.
 * The footer and first hero chapter retain their approved appearance.
 */
@media(max-width:767px){
  /* Only the Console changes chapters. The outer site must never become
     a normal swipe/scroll page on phones. Long content stays within its
     own bounded chapter so no copy gets clipped on short displays. */
  .seo-site .seo-scroll{
    overflow-x:hidden!important;
    overflow-y:hidden!important;
    scroll-snap-type:none!important;
    touch-action:pan-x!important;
    overscroll-behavior:contain!important;
    scrollbar-width:none!important;
  }
  .seo-site .seo-scroll::-webkit-scrollbar{display:none!important}
  .seo-site :is(#inspection,#intelligence,#report,#boundaries).seo-stage,
  .seo-site #about-seo-studio.dd-home-about{
    box-sizing:border-box!important;
    width:100%!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none!important;
    scroll-snap-align:none!important;
  }
  .seo-site :is(#inspection,#intelligence,#report,#boundaries).seo-stage::-webkit-scrollbar,
  .seo-site #about-seo-studio.dd-home-about::-webkit-scrollbar{
    display:none!important;
  }
  .seo-site :is(#inspection,#intelligence,#report,#boundaries).seo-stage{
    padding:clamp(1.2rem,3svh,2rem) 1.1rem clamp(1.7rem,4svh,2.75rem)!important;
  }
  .seo-site :is(#inspection,#intelligence,#report,#boundaries) :is(
    .inspection-lab,.seo-intelligence-grid,.seo-report-grid,.seo-feature-content
  ){
    height:auto!important;max-height:none!important;min-height:0!important;
  }
  /* A single Console button is sufficient on touch devices; the backtick
     shortcut is discoverable on desktop only. */
  .seo-site .seo-command-hint{
    top:8px!important;right:8px!important;gap:0!important;
  }
  .seo-site .seo-command-hint>.seo-command-pill{
    display:none!important;
  }
  .seo-site .seo-command-hint>button{
    min-height:42px!important;height:42px!important;
    padding:.5rem .78rem!important;font-size:.72rem!important;
  }
  /* INSPECTION / REPORT: keep content readable instead of silently
     cropping panels at the bottom of a fixed-height chapter. */
  .seo-site #inspection .inspection-heading,
  .seo-site #report .seo-report-grid{
    padding:.5rem 0!important;
    margin:0!important;
  }
  .seo-site #inspection .inspection-heading h2,
  .seo-site #report .seo-report-copy h2{
    font-size:clamp(1.95rem,8.1vw,3rem)!important;
    line-height:1.04!important;
    margin:.45rem 0 .8rem!important;
  }
  .seo-site #intelligence .seo-intelligence-grid,
  .seo-site #report .seo-report-grid{
    gap:.9rem!important;
    padding:0!important;
  }
  .seo-site #intelligence .seo-intelligence-copy h2{
    font-size:clamp(1.9rem,7.9vw,2.8rem)!important;
    line-height:1.05!important;
    margin:.35rem 0 .7rem!important;
  }
  .seo-site #intelligence .seo-intelligence-copy>p,
  .seo-site #report .seo-report-copy>p{
    font-size:.81rem!important;
    line-height:1.53!important;
    margin:.3rem 0 .7rem!important;
  }
  .seo-site #report .seo-report-board{
    min-height:0!important;
    max-width:100%!important;
  }
  /* Feature chapter: move heading before the small subtitle; the now-single
     Console button leaves a quiet gap above the heading. */
  .seo-site #boundaries .seo-feature-content{
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    padding:0!important;
    gap:0!important;
  }
  .seo-site #boundaries .seo-feature-content h2{
    order:0;
    font-size:clamp(1.85rem,8vw,2.7rem)!important;
    line-height:1.02!important;
    margin:0 0 .55rem!important;
    letter-spacing:-.063em!important;
    text-wrap:balance;
  }
  .seo-site #boundaries .seo-feature-content>.signal-label{
    order:1;display:block!important;
    font-size:.59rem!important;letter-spacing:.1em!important;
    margin:0 0 .9rem!important;
  }
  .seo-site #boundaries .seo-feature-intro{
    order:2;
    font-size:.83rem!important;line-height:1.54!important;
    margin:0 0 .55rem!important;
  }
  .seo-site #boundaries .seo-mobile-carousel-nav{order:3}
  .seo-site #boundaries .seo-feature-grid{order:4}
  .seo-site #boundaries .outro-actions{
    order:5;gap:.5rem!important;margin:1rem 0 0!important;
  }
  /* Use an actual single-row flex track. Android Chrome was still
     laying out three narrow grid columns despite the old auto-flow rules. */
  .seo-site #boundaries .seo-feature-grid{
    box-sizing:border-box;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    grid-template-columns:none!important;
    gap:.65rem!important;
    width:calc(100% + 2.2rem)!important;max-width:none!important;
    margin:.15rem -1.1rem 0!important;padding:0 1.1rem .7rem!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    touch-action:pan-x pan-y!important;
    overscroll-behavior-x:contain!important;
    scroll-snap-type:x mandatory!important;
    scroll-padding-inline:1.1rem!important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none!important;
  }
  .seo-site #boundaries .seo-feature-grid::-webkit-scrollbar{display:none!important}
  .seo-site #boundaries .seo-feature-grid article{
    box-sizing:border-box!important;
    flex:0 0 min(85%,320px)!important;
    width:min(85%,320px)!important;
    min-width:min(85%,320px)!important;
    max-width:min(85%,320px)!important;
    height:auto!important;max-height:none!important;min-height:0!important;
    display:flex!important;flex-direction:column!important;
    scroll-snap-align:start!important;
    padding:.95rem!important;
  }
  .seo-site #boundaries .seo-feature-grid h3{
    margin:.65rem 0 .35rem!important;
    font-size:1rem!important;line-height:1.23!important;
  }
  .seo-site #boundaries .seo-feature-grid p{
    font-size:.77rem!important;line-height:1.51!important;
    margin:.35rem 0 .7rem!important;
  }
  .seo-site #boundaries .seo-feature-capabilities{
    margin-top:auto!important;padding-top:.65rem!important;
    flex-wrap:wrap!important;gap:.35rem!important;
  }
  .seo-site #boundaries .seo-feature-capabilities span{
    font-size:.55rem!important;padding:.34rem .4rem!important;
  }
  /* Google / first-party data cards get the same compact sideways peek. */
  .seo-site #intelligence .seo-data-areas{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    grid-template-columns:none!important;
    width:calc(100% + 2.2rem)!important;max-width:none!important;
    margin:.4rem -1.1rem 0!important;padding:.1rem 1.1rem .7rem!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    gap:.6rem!important;scroll-snap-type:x mandatory!important;
    touch-action:pan-x pan-y!important;scroll-padding-inline:1.1rem!important;
    scrollbar-width:none!important;
  }
  .seo-site #intelligence .seo-data-areas::-webkit-scrollbar{display:none!important}
  .seo-site #intelligence .seo-data-areas article{
    box-sizing:border-box!important;
    display:flex!important;flex-direction:column!important;
    flex:0 0 min(85%,320px)!important;
    width:min(85%,320px)!important;
    min-width:min(85%,320px)!important;
    max-width:min(85%,320px)!important;
    gap:.45rem!important;scroll-snap-align:start!important;
    min-height:0!important;
    border:1px solid #6c77c274!important;
    border-radius:10px!important;background:#14224a9c!important;
    padding:.85rem!important;
  }
  .seo-site #intelligence .seo-data-areas article p{
    grid-column:auto!important;margin:0!important;
    font-size:.77rem!important;line-height:1.5!important;
  }
  .seo-site #intelligence .seo-mobile-carousel-nav{margin:.4rem 0 0!important}
  /* Both swipe decks have visible Prev/Next and current-card controls. */
  .seo-site .seo-mobile-carousel-nav{
    display:flex;align-items:center;justify-content:space-between;
    gap:.65rem;width:100%;margin:0 0 .42rem!important;
  }
  .seo-site .seo-mobile-carousel-nav span{
    color:#d6c8f1;font:800 .65rem 'DM Sans',sans-serif;
    letter-spacing:.08em;white-space:nowrap;
  }
  .seo-site .seo-mobile-carousel-nav button{
    min-width:43px;min-height:42px;padding:.4rem .6rem;
    border:1px solid #b4a0e3b3;border-radius:9px;
    background:#312557cc;color:#ebe3ff;
    font:800 1.12rem 'DM Sans',sans-serif;
  }
  .seo-site .seo-mobile-carousel-nav button:disabled{opacity:.35}
  .seo-site .seo-mobile-carousel-nav button:focus-visible{
    outline:2px solid #dcbaff;outline-offset:3px;
  }
  /* ABOUT: the huge orbital logo was consuming a full phone screen. */
  .seo-site #about-seo-studio.dd-home-about{
    padding:1rem 1.1rem 2.4rem!important;
  }
  .seo-site #about-seo-studio .dd-home-about-grid{
    width:100%!important;max-width:none!important;
    display:grid!important;grid-template-columns:1fr!important;
    gap:.6rem!important;align-items:start!important;
  }
  .seo-site #about-seo-studio .dd-home-about-visual{
    min-height:0!important;height:clamp(135px,23dvh,182px)!important;
    max-height:182px!important;order:0!important;
    display:grid!important;place-items:center!important;
  }
  .seo-site #about-seo-studio .dd-home-about-art{
    width:min(47vw,176px)!important;max-width:176px!important;
    height:auto!important;aspect-ratio:1/1!important;
  }
  .seo-site #about-seo-studio .dd-home-about-art img{
    width:clamp(68px,22vw,98px)!important;
    max-width:98px!important;
  }
  .seo-site #about-seo-studio .dd-home-about-copy{
    gap:.3rem!important;order:1!important;
  }
  .seo-site #about-seo-studio .dd-home-about-copy h2{
    font-size:clamp(1.72rem,7.5vw,2.45rem)!important;
    line-height:1.07!important;
    margin:0 0 .4rem!important;
  }
  .seo-site #about-seo-studio .dd-home-about-copy>p{
    font-size:.8rem!important;line-height:1.55!important;
    margin:0 0 .6rem!important;
  }
  .seo-site #about-seo-studio .dd-home-about-aside{
    margin-top:0!important;padding-left:10px!important;
  }
  .seo-site #about-seo-studio .dd-home-about-links{
    gap:.4rem!important;margin-top:.2rem!important;
  }
  .seo-site #about-seo-studio .dd-home-about-links a{
    font-size:.66rem!important;min-height:39px!important;
    padding:.55rem .75rem!important;
  }
}
@media(max-width:767px) and (prefers-reduced-motion:reduce){
  .seo-site #boundaries .seo-feature-grid,
  .seo-site #intelligence .seo-data-areas{
    scroll-behavior:auto!important;
  }
}
