/* Hero alignment: shared 12 equal columns, split equally between copy and Steve.
   Temporary overlay follows the same container and gutters. */
:root{--layout-gap:24px;--layout-max:1290px;--layout-width:89.5%}
.hero{
  display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--layout-gap);
  align-items:center;min-height:740px;padding:72px 0 136px;
}
.hero-copy{grid-column:1 / 8;min-width:0;max-width:none}
.hero-visual{
  grid-column:8 / 13;min-width:0;position:relative;
  aspect-ratio:1 / 1.02;
  background:transparent;
  display:grid;place-items:center;
}
.hero-steve{
  width:64%;height:auto;display:block;overflow:visible;justify-self:center;
  transform:scaleX(-1);
}
.hero-steve path{stroke:var(--color-ink)}
.hero-steve [data-source="12"],.hero-steve path[fill="#D84531"]{fill:var(--color-mascot-cheek);stroke:var(--color-mascot-cheek)}
.hero-steve [data-part]{transform-box:view-box}
.hero-steve .drawing-pencil{pointer-events:none}
html[data-heading-motion="pending"] .hero-steve{opacity:0}
.hero-steve[role="button"]{cursor:pointer;pointer-events:bounding-box}
.hero-steve[role="button"]:focus-visible{outline:2px solid var(--color-focus);outline-offset:8px;border-radius:16px}
.layout-grid{
  position:fixed;inset:0 auto 0 50%;transform:translateX(-50%);
  width:var(--layout-width);max-width:var(--layout-max);
  display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--layout-gap);
  z-index:1000;pointer-events:none;
}
.layout-grid[hidden]{display:none}
.layout-grid span{
  background:rgb(185 50 32 / .075);border-inline:1px solid rgb(185 50 32 / .18);
  color:#9d2e20;padding-top:112px;text-align:center;font:12px/1 monospace;
}
@media(min-width:801px) and (max-width:1100px){
  .hero-copy h1{font-size:64px}
  .hero{padding-top:60px;min-height:680px}
  .hero .actions{gap:10px}
}
@media(max-width:800px){
  :root{--layout-gap:8px}
  .hero{padding:44px 0 112px;min-height:0;row-gap:40px}
  .hero-copy,.hero-visual{grid-column:1 / -1}
  .hero-visual{aspect-ratio:1.1}
  .hero-steve{width:51%;justify-self:center}
  .layout-grid span{padding-top:88px;font-size:10px}
}
