/* The initial desktop hero shares one viewport with the real site header.
 * Open configuration and stock panels may grow naturally; nothing is clipped. */
@media (min-width: 961px) {
  body.home #main .chipak-premium-hero {
    --chipak-home-hero-pad: clamp(12px, 2svh, 24px);
    --chipak-home-hero-room: calc(100svh - var(--chipak-home-chrome-height, 203px) - var(--chipak-home-hero-pad) - var(--chipak-home-hero-pad));
    height: auto !important;
    min-height: 0 !important;
    padding-block: var(--chipak-home-hero-pad) !important;
  }
  body.home #main .chipak-premium-hero .hero-grid {
    height: auto !important;
    min-height: 0 !important;
    gap: clamp(24px, 3vw, 54px) !important;
    align-items: center !important;
  }
  body.home #main .chipak-premium-hero .hero-copy {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    align-self: center !important;
    justify-content: center !important;
    gap: clamp(14px, 2svh, 24px) !important;
  }
  body.home #main .chipak-premium-hero .hero-copy h1 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(32px, min(4vw, 6svh), 56px) !important;
    line-height: 1.4 !important;
  }
  body.home #main .chipak-premium-hero .hero-copy h1 em {
    margin-top: 12px !important;
    font-size: .74em !important;
  }
  body.home #main .chipak-premium-hero .hero-copy > p {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(16px, 2.4svh, 20px) !important;
    line-height: 1.8 !important;
  }
  body.home #main .chipak-premium-hero .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin: clamp(4px, 1svh, 12px) 0 0 !important;
    gap: 12px !important;
  }
  body.home #main .chipak-premium-hero .hero-actions .btn {
    min-height: 54px !important;
    padding: 10px 12px !important;
    font-size: clamp(14px, 1.8svh, 17px) !important;
    line-height: 1.6 !important;
  }
  body.home #main .chipak-premium-hero .hero-side {
    height: auto !important;
    min-height: 0 !important;
    align-self: center !important;
    padding-bottom: 0 !important;
    gap: 10px !important;
  }
  body.home #main .chipak-premium-hero .cp-model-tabs {
    margin-bottom: 0 !important;
    --cp-model-tab-padding: 8px;
  }
  body.home #main .chipak-premium-hero .cp-model-tabs [role="tab"] {
    padding-block: 6px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  body.home #main .chipak-premium-hero .cp-model-tabs .cp-model-more {
    padding-block: 6px !important;
  }
  body.home #main .chipak-premium-hero .cp-size-preview--hero {
    margin-block: 0 !important;
    padding: 0 !important;
  }
  body.home #main .chipak-premium-hero .hero-side [role="tabpanel"] .cp-size-model {
    padding: 0 !important;
  }
  body.home #main .chipak-premium-hero .hero-side [role="tabpanel"] .cp-scene {
    height: clamp(140px, calc(var(--chipak-home-hero-room) - 144px), 460px) !important;
    min-height: 0 !important;
  }
  body.home #main .chipak-premium-hero .cp-hero-configure {
    min-height: 48px !important;
    margin-top: 8px !important;
    padding: 8px 12px !important;
  }
}
