/* Homepage-only namespace. Existing app.css and other product templates are unchanged. */
.pnm-home-hero { --pnm-height: calc(100vh - 86px); --pnm-u: min(1vw, calc(var(--pnm-height) * 16 / 900)); --pnm-blue: #94c8e6; color: var(--pnm-blue); background: #09141d; width: 100%; padding-top: var(--pnm-top-gap, 0px); }
.pnm-home-hero *, .pnm-home-hero *::before, .pnm-home-hero *::after { box-sizing: border-box; }
.pnm-home-hero [hidden] { display: none !important; }
.pnm-home-hero a { color: inherit; text-decoration: none; }
.pnm-home-hero a:focus-visible, .pnm-home-hero button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
/* Fill the usable first screen; fit the entire 16:9 composition inside it. */
@supports (height: 100svh) { .pnm-home-hero { --pnm-height: calc(100svh - 86px); } }
body.admin-bar .pnm-home-hero { --pnm-height: calc(100vh - 118px); }
.pnm-home-hero__stage { position: relative; height: var(--pnm-height); display: flex; align-items: center; justify-content: center; }
.pnm-home-hero__canvas { position: relative; isolation: isolate; width: calc(var(--pnm-u) * 100); aspect-ratio: 16 / 9; flex: none; }
.pnm-home-hero__media { position: absolute; inset: 0; z-index: -1; }
.pnm-home-hero__poster, .pnm-home-hero__video { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: contain; display: block; }
.pnm-home-hero__copy { position: absolute; left: 5.8%; top: 24.5%; text-shadow: 0 1px 7px #06131de6; }
.pnm-home-hero__copy::before { content: ''; position: absolute; top: calc(var(--pnm-u) * -5.5); width: calc(var(--pnm-u) * 5.2); height: 3px; background: #79c0d6; }
.pnm-home-hero__copy h1 { margin: 0; font-size: calc(var(--pnm-u) * 3.12); font-weight: 500; line-height: 1.4; letter-spacing: .05em; color: #75b4db; }
.pnm-home-hero__intro { font-size: clamp(16px,calc(var(--pnm-u) * 1.55),32px); line-height: 1.5; margin: calc(var(--pnm-u) * 4.2) 0 0; }
.pnm-home-hero__sub { font-size: clamp(14px,calc(var(--pnm-u) * 1.35),28px); line-height: 1.5; margin: calc(var(--pnm-u) * 2.6) 0 0; }
.pnm-home-hero__actions { position: absolute; bottom: 3.2%; left: 5.8%; right: 3.5%; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.pnm-home-hero__lineup { display: flex; align-items: center; gap: calc(var(--pnm-u) * 1.2); font-size: calc(var(--pnm-u) * 1.5); min-height: 44px; }
.pnm-home-hero__lineup small { display: block; font-size: max(10px, calc(var(--pnm-u) * .7)); letter-spacing: .18em; margin-bottom: calc(var(--pnm-u) * .5); }
.pnm-home-hero__circle { display: grid; place-items: center; width: calc(var(--pnm-u) * 3.8); height: calc(var(--pnm-u) * 3.8); border: 1px solid; border-radius: 50%; font-size: calc(var(--pnm-u) * 2); }
.pnm-home-hero__current { text-align: right; }
.pnm-home-hero__current p { margin: 0 0 var(--pnm-u); font-size: calc(var(--pnm-u) * 2); letter-spacing: .06em; }
.pnm-home-hero__current a { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(14px,calc(var(--pnm-u) * 1.45),30px); }
.pnm-home-hero__current a span[aria-hidden] { margin-right: .6em; }
.pnm-home-hero__toggle { position: absolute; top: 12px; left: 16px; color: #c6e4f5; background: #0c1b29e6; border: 1px solid #5d839d; border-radius: 2px; padding: 9px 14px; min-height: 44px; cursor: pointer; font: inherit; font-size: 13px; }
.pnm-home-hero__status { position: absolute; top: 12px; left: 16px; right: 16px; background: #09141ded; padding: 12px; font-size: 14px; }
.pnm-home-hero__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1023px), (max-height: 600px) {
  .pnm-home-hero__stage { height: auto; min-height: var(--pnm-height); display: block; }
  .pnm-home-hero__canvas { width: 100%; aspect-ratio: auto; display: flex; flex-direction: column; }
  .pnm-home-hero__copy { position: relative; left: auto; top: auto; padding: 74px 24px 22px; }
  .pnm-home-hero__copy::before { top: 58px; width: 50px; height: 2px; }
  .pnm-home-hero__copy h1 { font-size: clamp(26px,6.9vw,42px); }
  .pnm-home-hero__intro { font-size: 16px; margin-top: 22px; }
  .pnm-home-hero__sub { font-size: 14px; margin-top: 15px; }
  .pnm-home-hero__media { position: relative; inset: auto; aspect-ratio: 16 / 9; width: 100%; z-index: 0; }
  .pnm-home-hero__actions { position: static; padding: 18px 20px 24px; gap: 16px; align-items: center; }
  .pnm-home-hero__lineup { font-size: 13px; gap: 9px; }
  .pnm-home-hero__lineup small { font-size: 9px; margin-bottom: 5px; }
  .pnm-home-hero__circle { width: 32px; height: 32px; font-size: 20px; flex-shrink: 0; }
  .pnm-home-hero__current p { font-size: 15px; margin-bottom: 2px; }
  .pnm-home-hero__current a { font-size: 13px; }
  .pnm-home-hero__toggle { top: 10px; left: 24px; }
  .pnm-home-hero__status { position: static; order: 4; margin: 0 20px 20px; }
}
/* Measured short usable space (large headers/notices/zoom): prioritize readable flow. */

  .pnm-home-hero.is-compact .pnm-home-hero__stage { height: auto; min-height: var(--pnm-height); display: block; }
  .pnm-home-hero.is-compact .pnm-home-hero__canvas { width: 100%; aspect-ratio: auto; display: flex; flex-direction: column; }
  .pnm-home-hero.is-compact .pnm-home-hero__copy { position: relative; left: auto; top: auto; padding: 74px 24px 22px; }
  .pnm-home-hero.is-compact .pnm-home-hero__copy::before { top: 58px; width: 50px; height: 2px; }
  .pnm-home-hero.is-compact .pnm-home-hero__copy h1 { font-size: clamp(26px,6.9vw,42px); }
  .pnm-home-hero.is-compact .pnm-home-hero__intro { font-size: 16px; margin-top: 22px; }
  .pnm-home-hero.is-compact .pnm-home-hero__sub { font-size: 14px; margin-top: 15px; }
  .pnm-home-hero.is-compact .pnm-home-hero__media { position: relative; inset: auto; aspect-ratio: 16 / 9; width: 100%; z-index: 0; }
  .pnm-home-hero.is-compact .pnm-home-hero__actions { position: static; padding: 18px 20px 24px; gap: 16px; align-items: center; }
  .pnm-home-hero.is-compact .pnm-home-hero__lineup { font-size: 13px; gap: 9px; }
  .pnm-home-hero.is-compact .pnm-home-hero__lineup small { font-size: 9px; margin-bottom: 5px; }
  .pnm-home-hero.is-compact .pnm-home-hero__circle { width: 32px; height: 32px; font-size: 20px; flex-shrink: 0; }
  .pnm-home-hero.is-compact .pnm-home-hero__current p { font-size: 15px; margin-bottom: 2px; }
  .pnm-home-hero.is-compact .pnm-home-hero__current a { font-size: 13px; }
  .pnm-home-hero.is-compact .pnm-home-hero__toggle { top: 10px; left: 24px; }
  .pnm-home-hero.is-compact .pnm-home-hero__status { position: static; order: 4; margin: 0 20px 20px; }

@media (prefers-reduced-motion: reduce) {
  .pnm-home-hero *, .pnm-home-hero *::before, .pnm-home-hero *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* Existing PRODUCTS section is the lineup destination; never a new product row. */
#pnm-home-products.section-products { scroll-margin-top: 102px; }
@media (max-width: 767px) { #pnm-home-products.section-products { scroll-margin-top: 76px; } }
/* This stylesheet is enqueued only on the front page. */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }

/* Blue metallic at rest; restrained copper highlight without changing geometry. */
.pnm-home-hero__lineup, .pnm-home-hero__current a, .pnm-home-hero__circle { transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease; }
.pnm-home-hero__circle { background-image: linear-gradient(135deg, rgba(255,255,255,.07), rgba(0,0,0,.04)); }
@media (hover: hover) and (pointer: fine) {
  .pnm-home-hero__lineup:hover, .pnm-home-hero__current a:hover { color: #e8b183; }
  .pnm-home-hero__lineup:hover .pnm-home-hero__circle { color: #f1bf91; border-color: #d89a65; background-color: rgba(168,93,43,.16); }
}
.pnm-home-hero__lineup:focus-visible, .pnm-home-hero__current a:focus-visible { color: #e8b183; }
.pnm-home-hero__lineup:focus-visible .pnm-home-hero__circle { color: #f1bf91; border-color: #d89a65; background-color: rgba(168,93,43,.16); }
@media (prefers-reduced-motion: reduce) {
  .pnm-home-hero__lineup, .pnm-home-hero__current a, .pnm-home-hero__circle { transition: none; }
}
