/* Home: contained landscape photo above the email signup on desktop;
   full-width 16:9 band on mobile; compact Explore.
   Desktop photo stays at native-quality width (max 36rem / 576px) so the
   1152px source is never upscaled. */

/* ---- Hero ---- */
.v10x-a .hero,
.hero{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:1.15rem;
  min-height:0;
  padding-top:2rem;
  padding-bottom:1.35rem;
}
.v10x-a .hero-actions{margin-top:1.35rem}
.hero-aside{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:.85rem;
  min-width:0;
}

/* Mobile / narrow: 16:9 full-bleed band, then signup in the frame */
.v10x-a .hero-figure,
.hero-figure{
  position:relative;
  width:100vw;
  max-width:100vw;
  margin-inline:calc(50% - 50vw);
  display:block;
}
.v10x-a .portrait-frame,
.portrait-frame{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:#10181b;
  box-shadow:none;
  overflow:hidden;
}
.v10x-a .portrait-frame::after{display:none}
.v10x-a .portrait-frame img,
.v10x-a .portrait-frame img.portrait-office,
.portrait-frame img,
.portrait-office{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  object-position:center 42%;
  border-radius:0;
}
@media (max-width:899.98px){
  .v10x-a .hero{padding-top:1.35rem;gap:1rem}
  .hero-aside{gap:.85rem}
  .hero > .hero-aside > .home-subscribe,
  .home-subscribe{
    margin-top:0;
    max-width:32rem;
  }
}
@media (max-width:599.98px){
  .hero > .hero-aside > .home-subscribe{max-width:none}
}

/* Desktop ≥900px: never full-bleed. Photo contained at native-quality
   width (max 36rem = 576px, 2x of the 1152 source). Landscape 4:3. */
@media (min-width:900px){
  .v10x-a .hero,
  .hero{
    min-height:0;
    padding-top:2.25rem;
    padding-bottom:1.25rem;
    gap:1.35rem;
    align-items:stretch;
    grid-template-columns:none;
  }
  .v10x-a .hero-figure,
  .hero-figure{
    width:100%;
    max-width:36rem;
    margin-inline:0;
  }
  .v10x-a .portrait-frame,
  .portrait-frame{
    width:100%;
    max-width:36rem;
    border-radius:12px;
    background:#10181b;
  }
  .v10x-a .portrait-frame img,
  .v10x-a .portrait-frame img.portrait-office,
  .portrait-frame img,
  .portrait-office{
    aspect-ratio:4/3;
    object-fit:cover;
    object-position:center 40%;
    border-radius:12px;
  }
  .hero > .hero-aside > .home-subscribe,
  .home-subscribe{
    margin-top:0;
    max-width:none;
    width:100%;
  }
}

/* Two-column from 980px: copy left, photo + signup stacked in the right column */
@media (min-width:980px){
  .v10x-a .hero,
  .hero{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(20rem,36rem);
    column-gap:2rem;
    row-gap:0;
    align-items:start;
    min-height:0;
    padding-top:2.25rem;
    padding-bottom:1.25rem;
  }
  .hero-copy{
    grid-column:1;
    grid-row:1;
    min-width:0;
  }
  .hero-aside{
    grid-column:2;
    grid-row:1;
    width:100%;
    max-width:36rem;
    justify-self:end;
  }
  .v10x-a .hero-figure,
  .hero-figure,
  .v10x-a .portrait-frame,
  .portrait-frame{
    width:100%;
    max-width:100%;
  }
}

/* ---- Explore: drop the tall decorative masthead; one compact row of cards ---- */
#overview.overview-compact{
  padding-block:.85rem 1.15rem;
  width:100%;
  max-width:none;
}
#overview .overview-head{
  margin:0 auto .7rem;
  display:flex;
  align-items:baseline;
}
#overview .overview-head h2{
  margin:0;
  font-family:var(--font-sans);
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--muted);
  text-shadow:none;
}
#overview .overview-grid{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:.55rem;
}
#overview .overview-card{
  gap:.2rem;
  padding:0 0 .7rem;
  border-radius:12px;
}
#overview .overview-card .overview-n{
  padding-top:.55rem;
  font-size:.62rem;
}
#overview .overview-card .overview-title{
  font-size:1.05rem;
  line-height:1.15;
}
#overview .overview-card .overview-desc{display:none}
#overview .overview-card .overview-n,
#overview .overview-card .overview-title,
#overview .overview-card .overview-meta{
  padding-inline:.7rem;
}
#overview .overview-card .overview-meta{
  margin-top:.15rem;
  font-size:.62rem;
  letter-spacing:.08em;
  min-height:0;
}
#overview .overview-visual .viz-stage::before{inset:6px;opacity:.28}
#overview .overview-visual .viz-img{
  aspect-ratio:16/9;
  object-fit:cover;
}

/* Tablet and mobile: keep a single row, contained horizontal scroll, peek the next card */
@media (max-width:1099.98px){
  #overview .overview-grid{
    display:flex;
    gap:.55rem;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    padding-bottom:.45rem;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
  }
  #overview .overview-grid > li{
    flex:0 0 11.75rem;
    min-width:11.75rem;
    scroll-snap-align:start;
  }
}
@media (max-width:599.98px){
  #overview.overview-compact{padding-block:.7rem 1rem}
  #overview .overview-grid > li{
    flex:0 0 68%;
    min-width:68%;
  }
  #overview .overview-card .overview-title{font-size:1.15rem}
  #overview .overview-card{padding-bottom:.75rem}
}
@media (hover:none){
  #overview .overview-card:hover{transform:none}
}
@media (prefers-reduced-motion:reduce){
  #overview .overview-grid{scroll-behavior:auto}
}
