/* MARS 3.0.3 — viewport-aware hero sizing only. Approved colours, copy, page layouts and volume animation are untouched. */
:root { --mars-header-block:95px; --mars-toolbar-block:0px; }
body.admin-bar { --mars-toolbar-block:32px; }
.volume-hero { --hero-screen:100vh; }
@supports (height:100svh) { .volume-hero { --hero-screen:100svh; } }
.volume-hero .hero-note-space { display:none; }
.volume-hero .volume-copy { min-width:0; }
@media (min-width:761px) {
  .volume-hero .volume-grid {
    min-height:0;
    min-block-size:min(700px,calc(var(--hero-screen) - var(--mars-header-block) - var(--mars-toolbar-block)));
    padding-block:clamp(20px,4vh,40px);
    grid-template-columns:minmax(0,1.04fr) minmax(0,1.06fr);
    column-gap:clamp(20px,2.7vw,46px);
    align-items:center;
  }
  .volume-hero .volume-copy { align-self:center; }
  .volume-hero .volume-copy .eyebrow { margin-bottom:18px; }
  .volume-hero .volume-copy h1 {
    font-size:clamp(50px,min(7.4vw,12vh),112px);
    line-height:1.015; margin-bottom:24px;
  }
  .volume-hero .hero-statement {
    font-size:clamp(20px,2.8vh,24px); line-height:1.32; margin-bottom:16px;
  }
  .volume-hero .hero-description { font-size:16px; line-height:1.6; max-width:38ch; }
  .site-main .volume-hero .button-row { margin-top:24px; }
  .volume-hero .volume-stage {
    height:clamp(330px,calc(var(--hero-screen) - var(--mars-header-block) - var(--mars-toolbar-block) - 80px),620px);
    min-height:0; margin-left:0; align-self:center;
    display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr) auto; gap:10px;
    justify-content:stretch; width:100%;
  }
  .volume-hero .volume-scene {
    position:relative; inset:auto; width:100%; height:100%; min-height:0; aspect-ratio:auto; margin:0;
  }
  .volume-hero .volume-controls { margin:0; justify-content:center; align-items:center; gap:12px; flex-wrap:wrap; }
}
/* Short laptop windows: reduce whitespace and display type, not readability. */
@media (min-width:761px) and (max-height:700px) {
  .volume-hero .volume-grid { padding-block:18px; }
  .volume-hero .volume-copy .eyebrow { margin-bottom:12px; }
  .volume-hero .volume-copy h1 { font-size:clamp(48px,min(7.2vw,11.8vh),84px); margin-bottom:18px; }
  .volume-hero .hero-statement { font-size:20px; margin-bottom:12px; }
  .volume-hero .hero-description { line-height:1.5; }
  .site-main .volume-hero .button-row { margin-top:18px; }
  .volume-hero .volume-stage { height:clamp(290px,calc(var(--hero-screen) - var(--mars-header-block) - var(--mars-toolbar-block) - 36px),570px); }
}
@media (max-width:980px) { :root { --mars-header-block:85px; } }
@media (max-width:782px) { body.admin-bar { --mars-toolbar-block:46px; } }
/* Preserve readable mobile reflow and allow natural growth at high zoom. */
@media (max-width:760px) {
  :root { --mars-header-block:81px; }
  .volume-hero .volume-grid { min-height:0; padding-block:24px 18px; gap:0; }
  .volume-hero .volume-copy .eyebrow { margin-bottom:16px; }
  .volume-hero .volume-copy h1 { font-size:clamp(46px,12vw,68px); line-height:1.02; margin-bottom:20px; }
  .volume-hero .hero-statement { font-size:20px; line-height:1.3; margin-bottom:14px; }
  .volume-hero .hero-description { font-size:16px; line-height:1.5; max-width:44ch; }
  .site-main .volume-hero .button-row {
    margin-top:20px; width:100%; max-width:420px; grid-auto-flow:row; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;
  }
  .site-main .volume-hero .button-row .action-button { min-height:50px; padding:12px 14px; font-size:14px; line-height:20px; }
  .volume-hero .volume-stage { margin:8px 0 0; min-height:0; }
  .volume-hero .volume-scene { position:relative; width:100%; left:0; top:auto; height:clamp(200px,27vh,280px); min-height:0; aspect-ratio:auto; }
  .volume-hero .volume-controls { margin-top:0; gap:8px; justify-content:center; flex-wrap:wrap; }
  .volume-hero .volume-modes button { min-height:38px; padding:9px 12px; }
  .volume-hero .motion-toggle { min-height:44px; }
}
@media (max-width:380px) { .volume-hero .volume-scene { height:clamp(190px,26vh,250px); } }
@media print {
  .volume-hero .volume-grid { min-block-size:0; padding-block:24px; }
  .volume-hero .volume-stage { display:none; }
}
