/* Onosoji Platform v2.9.5 — hero width refinement.
   Preserve the approved broad two-column composition while tightening the
   overall desktop canvas slightly so the hero feels composed rather than
   overextended. */

@media (min-width: 1280px) {
  .hero-v27 > .shell {
    width: min(1700px, calc(100% - 112px));
  }

  .hero-grid-v27 {
    grid-template-columns: minmax(0, 1.06fr) minmax(600px, .94fr);
    gap: clamp(54px, 3.7vw, 78px);
  }

  .hero-v27 h1 {
    max-width: 16.8ch;
  }

  .hero-portrait-v27 {
    max-width: 760px;
  }
}

@media (min-width: 1500px) {
  .hero-v27 > .shell {
    width: min(1720px, calc(100% - 128px));
  }
}
