/* Home alone expands beyond the shared 430px mobile app shell. */
@media (min-width:768px){
  #home.page{width:100%;max-width:1320px!important;padding:32px clamp(24px,4vw,56px) 64px!important;box-sizing:border-box}
  #home .hero{grid-template-columns:minmax(0,1fr);min-height:0;gap:32px;align-items:start}
  #home .hero>div{min-width:0}
  #home .hero .home-value-heading{font-size:clamp(42px,4.25vw,60px)}
  #home .rolegrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  #home .rolecard{min-width:0;padding:22px;min-height:210px}
  #home .rolecard p{font-size:15px;line-height:1.6}
  #home .eyebrow{font-size:11px!important}
  #home .unique-match-wrap{margin:0}
  #home .unique-match-title{font-size:26px!important;line-height:1.15!important}
  #home .hero-card .stat b{font-size:20px!important}
  #home .hero-card .stat span{font-size:12px!important}
  #home .hero-card .info p{font-size:15px;line-height:1.6}
  #home .hero-card p.small{font-size:13px;line-height:1.6}
  #home .section{margin-top:48px}
  #home .grid3{grid-template-columns:repeat(3,minmax(0,1fr))}
  #home .grid3>*,#home .verification-grid>*{min-width:0}
  #home .panel{padding:28px}
  #home .sh-footer{margin-top:40px}
}
@media (min-width:1100px){
  #home .hero{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:40px;align-items:center}
}

/* Compact desktop welcome banner, leaving the marketplace visible below. */
@media (min-width:768px){
  #home .s33-desktop-film{box-sizing:border-box;width:min(calc(100vw - 48px),1800px);height:200px;min-height:0;margin:0 0 32px; margin-left:calc((100% - min(calc(100vw - 48px),1800px))/2);border-radius:20px}
  #home .s33-desktop-film .s33-film-center{display:grid;grid-template-columns:128px auto;grid-template-rows:auto auto;column-gap:28px;align-items:center;justify-content:center;width:auto;margin-top:4px}
  #home .s33-desktop-film .s33-film-art{grid-column:1;grid-row:1 / 3;width:128px;margin:0}
  #home .s33-desktop-film .s33-film-wordmark{grid-column:2;grid-row:1;font-size:clamp(56px,5.5vw,84px);align-self:end}
  #home .s33-desktop-film .s33-film-tagline{grid-column:2;grid-row:2;font-size:10px;margin:8px 0 0;align-self:start}
  #home .s33-desktop-film .s33-film-kicker{top:18px;left:24px;font-size:8px}
  #home .s33-desktop-film .s33-film-replay{top:5px;right:14px}
  #home .s33-desktop-film .s33-film-scroll{bottom:0;min-height:38px;padding:6px 16px;font-size:10px}
  #home .s33-desktop-film .s33-film-scroll span{display:inline;margin-left:8px;font-size:14px}
  #home .s33-desktop-film .s33-film-edge{left:24px;right:24px;bottom:16px}
}

/* Touch remains available; desktop visitors also get explicit click controls. */
#home .home-carousel-desktop-hint,#home .home-match-arrow{display:none}
@media (min-width:768px){
  #home .home-carousel-touch-hint{display:none}
  #home .home-carousel-desktop-hint{display:inline}
  #home .home-match-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:16px}
  #home .home-match-controls .match-dots{margin:0}
  #home .home-match-arrow{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffd21f70;border-radius:50%;background:#ffd21f0c;color:#ffd21f;font-size:22px;cursor:pointer}
  #home .home-match-arrow:hover{background:#ffd21f20;border-color:#ffd21f}
  #home .home-match-arrow:focus-visible,#homeMatchCarousel:focus-visible{outline:2px solid #ffd21f;outline-offset:4px}
  #homeJourney .home-journey-arrow{font-size:22px;border-color:#26f5c970;background:#26f5c90c}
  #homeJourney .home-journey-arrow:not(:disabled):hover{background:#26f5c920;border-color:#26f5c9}
}

/* Let the homepage welcome artwork sit directly on its background. */
body:has(#home.active) .nav{border-bottom-color:transparent}
#home .s33-desktop-film{border-color:transparent;background:transparent;box-shadow:none}
#home .s33-desktop-film::before{background:none}
