/* Scale the complete hero proportionally on larger displays.
   Height also limits growth so ultrawide screens keep a balanced composition. */
@media (min-width: 1440px) {
  .cinematic-hero {
    --hero-unit: clamp(1px, min(.069444444vw, .12345679svh), 2.666667px);
    --hero-curve: calc(26 * var(--hero-unit));
    padding: calc(16 * var(--hero-unit)) calc(16 * var(--hero-unit)) calc(14 * var(--hero-unit));
  }
  .hero-frame {
    min-height: max(calc(100svh - 64 * var(--hero-unit)), calc(650 * var(--hero-unit)));
  }
  .hero-scene { border-radius: var(--hero-curve); }
  .site-header.hero-navigation {
    height: calc(88 * var(--hero-unit));
    padding: 0 calc(32 * var(--hero-unit)) 0 calc(58 * var(--hero-unit));
    gap: calc(25 * var(--hero-unit));
  }
  .site-header.hero-navigation .brand img { width: calc(140 * var(--hero-unit)); }
  .site-header.hero-navigation nav { gap: calc(32 * var(--hero-unit)); }
  .site-header.hero-navigation nav>a,
  .site-header.hero-navigation nav .nav-contact {
    font-size: calc(15 * var(--hero-unit));
    letter-spacing: calc(.1 * var(--hero-unit));
  }
  .site-header.hero-navigation nav .nav-contact {
    height: calc(89 * var(--hero-unit));
    margin-right: calc(-32 * var(--hero-unit) - 1px);
    padding: calc(18 * var(--hero-unit));
    border-bottom-left-radius: var(--hero-curve);
  }
  .site-header.hero-navigation nav .nav-contact::before,
  .site-header.hero-navigation nav .nav-contact::after {
    width: var(--hero-curve);
    height: var(--hero-curve);
    border-radius: 0 var(--hero-curve) 0 0;
    box-shadow: calc(13 * var(--hero-unit)) calc(-13 * var(--hero-unit)) 0 calc(13 * var(--hero-unit)) white;
  }
  .site-header.hero-navigation nav .nav-contact::before { left: calc(-26 * var(--hero-unit)); }
  .site-header.hero-navigation nav .nav-contact::after { bottom: calc(-26 * var(--hero-unit)); }
  .site-header.hero-navigation nav .nav-contact .contact-pill {
    height: calc(46 * var(--hero-unit));
    padding-inline: calc(21 * var(--hero-unit));
    gap: calc(18 * var(--hero-unit));
    font-size: calc(14 * var(--hero-unit));
  }
  .contact-pill .ui-icon { width: calc(17 * var(--hero-unit)); height: calc(17 * var(--hero-unit)); }
  .cinematic-copy { padding: calc(75 * var(--hero-unit)) calc(58 * var(--hero-unit)) calc(175 * var(--hero-unit)); }
  .cinematic-copy h1 {
    font-size: calc(86 * var(--hero-unit));
    max-width: calc(850 * var(--hero-unit));
    letter-spacing: calc(-3 * var(--hero-unit));
    margin-bottom: calc(32 * var(--hero-unit));
  }
  .cinematic-copy .eyebrow {
    font-size: calc(9 * var(--hero-unit));
    letter-spacing: calc(2.5 * var(--hero-unit));
    margin-bottom: calc(25 * var(--hero-unit));
  }
  .hero-explore { font-size: calc(10 * var(--hero-unit)); gap: calc(15 * var(--hero-unit)); letter-spacing: calc(1.2 * var(--hero-unit)); }
  .hero-explore>span { width: calc(39 * var(--hero-unit)); height: calc(39 * var(--hero-unit)); }
  .hero-explore>span .ui-icon { width: calc(19 * var(--hero-unit)); height: calc(19 * var(--hero-unit)); }
  .hero-index { right: calc(30 * var(--hero-unit)); top: calc(157 * var(--hero-unit)); bottom: calc(220 * var(--hero-unit)); font-size: calc(10 * var(--hero-unit)); gap: calc(14 * var(--hero-unit)); }
  .frame-bottom { padding: calc(18 * var(--hero-unit)) calc(24 * var(--hero-unit)); border-top-right-radius: var(--hero-curve); }
  .frame-bottom::before,
  .frame-bottom::after {
    width: var(--hero-curve); height: var(--hero-curve);
    border-radius: 0 0 0 var(--hero-curve);
    box-shadow: calc(-13 * var(--hero-unit)) calc(13 * var(--hero-unit)) 0 calc(13 * var(--hero-unit)) white;
  }
  .frame-bottom::before { top: calc(-26 * var(--hero-unit)); }
  .frame-bottom::after { right: calc(-26 * var(--hero-unit)); }
  .frame-bottom .hero-service-names { gap: calc(8 * var(--hero-unit)); }
  .hero-service-names>a { font-size: calc(11 * var(--hero-unit)); padding: calc(11 * var(--hero-unit)) calc(16 * var(--hero-unit)); }
  .hero-project-panel {
    width: calc(255 * var(--hero-unit)); right: calc(28 * var(--hero-unit)); bottom: calc(27 * var(--hero-unit));
    padding: calc(12 * var(--hero-unit)); border-radius: calc(15 * var(--hero-unit));
  }
  .hero-panel-image { height: calc(110 * var(--hero-unit)); margin-bottom: calc(12 * var(--hero-unit)); border-radius: calc(9 * var(--hero-unit)); }
  .hero-project-panel .eyebrow { font-size: calc(10 * var(--hero-unit)); letter-spacing: var(--hero-unit); }
  .hero-project-panel>p:not(.eyebrow) { font-size: calc(12 * var(--hero-unit)); margin: calc(9 * var(--hero-unit)) 0 calc(12 * var(--hero-unit)); }
  .hero-project-panel>a { font-size: calc(11 * var(--hero-unit)); padding: calc(9 * var(--hero-unit)) calc(12 * var(--hero-unit)); }
  .cinematic-footer { padding: calc(16 * var(--hero-unit)) calc(2 * var(--hero-unit)) 0; font-size: calc(9 * var(--hero-unit)); letter-spacing: calc(1.3 * var(--hero-unit)); }
  .cinematic-footer a { gap: calc(15 * var(--hero-unit)); }
  .cinematic-footer a span { font-size: calc(14 * var(--hero-unit)); }
}
