/* A single atmosphere spans both sections, with no colour boundary. */
.ph-intro { position: relative; isolation: isolate; background: #fff; }
.ph-home .pc-section { position: relative; padding: 0; background: transparent; color: #151b26; scroll-margin-top: 76px; }
.pc-shell { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.pc-layout { padding: 64px 0 72px; }
.pc-heading { text-align: center; margin-bottom: 32px; }
.ph-home .pc-heading h2 { font: 700 clamp(34px, 3.8vw, 52px)/1.08 'Instrument Sans', 'Manrope', sans-serif; letter-spacing: -.045em; color: #151b26; margin: 0; }
.ph-home .pc-heading p { font: 400 15px/1.55 'Manrope', sans-serif; color: #64676b; margin: 14px auto 0; max-width: 590px; }
.pc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; position: relative; }
.pc-card { display: block; position: relative; min-height: 300px; overflow: hidden; border-radius: 16px; background: #272a28; color: #fff !important; box-shadow: 0 5px 20px #141a2410; isolation: isolate; }
.pc-card:nth-child(2) { background: #343630; }
.pc-card:nth-child(3) { background: #3a3834; }
.pc-card:nth-child(4) { background: #222725; }
.pc-card:nth-child(5) { background: #303331; }
.pc-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #171c19f5 0%, #171c19c4 22%, #171c1900 72%); pointer-events: none; }
.pc-device { position: absolute; right: 4%; top: 4%; width: 78%; height: 70%; object-fit: contain; filter: drop-shadow(0 12px 14px #0005); transition: filter 220ms, width 300ms, height 300ms, right 300ms, opacity 300ms; }
.pc-card:hover .pc-device { filter: drop-shadow(0 16px 18px #0007) brightness(1.08); }
.pc-card-copy { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; transition: right 300ms; }
.ph-home .pc-card h3 { font: 600 clamp(19px, 1.65vw, 23px)/1.15 'Manrope', sans-serif; letter-spacing: -.035em; color: #fff; margin: 0; max-width: 20ch; }
.ph-home .pc-card p { font: 400 12px/1.5 'Manrope', sans-serif; color: #d1d2cf; margin: 12px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 38ch; }
.pc-card-arrow { position: absolute; top: 16px; right: 18px; z-index: 1; font-size: 24px; color: #ff946e; opacity: .8; transition: transform 220ms, opacity 220ms; }
.pc-card:hover .pc-card-arrow { transform: translate(2px, -2px); opacity: 1; }
.ph-home .pc-card:focus-visible { outline: 3px solid #ff5722; outline-offset: 5px; }
.pc-all-products { display: flex; justify-content: center; align-items: center; gap: 24px; width: fit-content; min-height: 44px; margin: 22px auto 0; font: 600 14px/1.4 'Manrope', sans-serif; color: #151b26 !important; }
.pc-all-products span { font-size: 24px; }
.is-morphing .pc-heading { margin-bottom: 24px; }
.is-morphing .pc-grid { display: block; height: clamp(360px, calc(100svh - 300px), 650px); }
.is-morphing .pc-card { position: absolute; top: 0; left: 0; min-height: 0; contain: layout style; }
.pc-card.is-wide .pc-device { width: 49%; height: 92%; top: 4%; right: 2%; }
.pc-card.is-wide .pc-card-copy { right: 47%; }
.pc-card.is-wide::after { background: linear-gradient(90deg, #171c19d9, #171c1940 54%, transparent 80%); }
.pc-card.is-compact .pc-card-copy { left: 20px; right: 30px; bottom: 20px; }
.pc-card.is-compact .pc-device { opacity: .7; }
.pc-card.is-compact p { display: none; }

.pc-card.is-wide.is-compact .pc-card-copy { right: 45%; }
.pc-empty { grid-column: 1 / -1; padding-block: 60px; }
@media (max-width: 800px) {
  .pc-shell { width: calc(100% - 40px); }
  .pc-layout { padding-block: 54px 60px; }
  .ph-home .pc-heading h2 { font-size: 34px; }
  .pc-heading p { max-width: 33ch; }
  .pc-grid { grid-template-columns: 1fr; gap: 18px; }
  .pc-card { min-height: 310px; }
  .pc-card-copy { left: 24px; right: 24px; bottom: 24px; }
  .ph-home .pc-card h3 { font-size: 26px; }
  .pc-device { height: 73%; width: 76%; }
  .ph-home .pc-card p { font-size: 13px; }
}
@media (max-height: 680px) and (min-width: 801px) {
  .ph-home .pc-heading h2 { font-size: 34px; }
  .ph-home .pc-heading p { margin-top: 8px; font-size: 13px; }
  .is-morphing .pc-heading { margin-bottom: 16px; }
  .is-morphing .pc-grid { height: max(360px, calc(100svh - 230px)); }
  .pc-all-products { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .pc-device, .pc-card-arrow, .pc-card-copy { transition: none; }
}

.pc-card.is-active { box-shadow: 0 8px 28px #141a2426, inset 0 0 0 1px #ff946e80; }
