.home-wide { width: min(1280px, calc(100% - 2 * var(--pp-gutter))); }
.polprom-home h1, .polprom-home h2 { font-weight: 700; }
.polprom-home .eyebrow { color: #be510c; font-size: 13px; letter-spacing: .12em; }
.pp-icon { width: 36px; height: 36px; flex-shrink: 0; color: var(--pp-orange); }
.home-hero { color: white; background: var(--pp-navy); }
.hero-mobile-intro { display: none; }
.home-store .eyebrow { color: var(--pp-orange); }
.polprom-home .button--light-outline { color: var(--pp-navy); background: white; border-color: white; }
.polprom-home .button--light-outline:hover { background: #edf2f5; border-color: #edf2f5; }
.home-hero :focus-visible, .home-store :focus-visible { outline-color: white; }
/* Match the reference picture area: trim only the MP4 letterbox bands, not the scene. */
.hero-media { position: relative; width: 100%; aspect-ratio: 1280 / 556; background: #000; }
.hero-poster, .hero-video-frame, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster img { width: 100%; height: 100%; object-fit: contain; }
.hero-poster picture { display: block; width: 100%; height: 100%; }
.hero-video-frame { opacity: 0; overflow: hidden; transition: opacity .3s ease; }
.hero-video { top: 50%; bottom: auto; height: auto; aspect-ratio: 16 / 9; object-fit: contain; transform: translateY(-50%); }
.home-hero.has-mobile-video .hero-video { top: 0; bottom: 0; height: 100%; aspect-ratio: auto; transform: none; }
.home-hero.has-video .hero-video-frame { opacity: 1; }
.hero-controls { display: none; position: absolute; top: 12px; right: 16px; gap: 8px; z-index: 2; align-items: center; }
.js .hero-controls { display: flex; }
.hero-control { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 1px solid rgb(255 255 255 / 50%); border-radius: 6px; color: white; background: rgb(0 0 0 / 70%); font-size: 0; transition: background-color .15s ease; }
.hero-control::before { content: ""; width: 20px; height: 20px; background: currentColor; mask: var(--control-icon) center / contain no-repeat; }
.hero-control[data-video-toggle] { --control-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4v16l13-8Z'/%3E%3C/svg%3E"); }
.is-playing .hero-control[data-video-toggle] { --control-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4h4v16H6zm8 0h4v16h-4z'/%3E%3C/svg%3E"); }
.hero-control[data-video-sound] { --control-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 4V5L7 9Z'/%3E%3Cpath d='m16 9 6 6m0-6-6 6' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); }
.hero-control[data-video-sound][aria-pressed="true"] { --control-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 4V5L7 9Z'/%3E%3Cpath d='M16 8q4 4 0 8m3-11q7 7 0 14' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); }
.hero-control:hover:not(:disabled) { background: #000; }
.hero-control:disabled { opacity: .65; cursor: default; }
.video-nojs { position: relative; width: 100%; margin: 0 auto; }
.video-nojs video { display: block; width: 100%; }
.no-js .hero-media { display: none; }

/* HOME V2 only. This stylesheet is not enqueued on service/contact pages. */
.home .container { width: min(1180px, calc(100% - 2 * var(--pp-gutter))); }
.home .container.home-wide { width: min(1280px, calc(100% - 2 * var(--pp-gutter))); }
.polprom-home { --home-accent: #e96312; background: #061d2c; }
.polprom-home section:not(.home-hero) { position: relative; isolation: isolate; }
.home-services, .home-store, .home-why, .home-benefits, .home-reviews, .home-contact { overflow: clip; }
.home-services::before, .home-services::after, .home-store::before, .home-store::after,
.home-why::before, .home-why::after, .home-benefits::before, .home-benefits::after,
.home-reviews::before, .home-reviews::after, .home-contact::before, .home-contact::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
.home-offer { position: relative; isolation: isolate; margin-top: -28px; overflow: clip; background: linear-gradient(180deg, transparent 28px, #061d2c 130px); }
.offer-ribbon { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: url('../images/home-offer-flow.svg') center top / 100% 100% no-repeat; }
.polprom-home section.home-services, .polprom-home section.home-store { isolation: auto; overflow: visible; }
.home-services { padding-block: 0; background: transparent; scroll-margin-top: 24px; }
.home-services::before { display: none; }
.home-services::after { inset: 45% 12px 4% auto; width: 64px; z-index: 2; opacity: .8; background: radial-gradient(circle, #ff9b48 1.3px, transparent 1.8px) 0 0/18px 18px; mask-image: linear-gradient(transparent, #000 20%, #000 75%, transparent); }
.services-grid { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 10px; border-radius: 9px; background: #fffffff0; box-shadow: 0 8px 28px #020e1a35, 0 1px 2px #fff8 inset; }
.service-card { min-width: 0; display: flex; flex-direction: column; padding: 10px 10px 0; border: 1px solid #e8ecee; border-radius: 7px; background: linear-gradient(145deg, #fff 65%, #f9fafb); box-shadow: 0 4px 12px #061c2910; transition: box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { border-color: #ffb780; box-shadow: 0 8px 20px #061c2926; }
.service-card__image { aspect-ratio: 1.6; overflow: hidden; border-radius: 4px; background: #f4f5f5; }
.service-card__image img { width: 100%; height: 100%; object-fit: cover; }
.service-card--shop img { object-position: center 60%; }
.service-card--refurbished img { object-fit: contain; background: white; }
.service-card--service img { object-position: 45% 48%; }
.service-card__content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 0 16px 16px; }
.service-card__content > .pp-icon { position: relative; width: 64px; height: 64px; margin-top: -32px; margin-left: -8px; padding: 15px; border: 1px solid #f1eeeb; border-radius: 50%; background: white; color: var(--home-accent); box-shadow: 0 4px 10px #061c2912; }
.service-card h2 { max-width: 16ch; margin-block: 8px 8px; font-size: 25px; letter-spacing: -.035em; line-height: 1.12; }
.service-card--shop h2 { max-width: 12ch; }
.service-card--refurbished h2 { max-width: 12ch; }
.service-card p { margin-bottom: 12px; font-size: 16px; line-height: 1.4; color: var(--pp-muted); }
.card-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; min-height: 36px; font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--home-accent); text-decoration-thickness: 1px; text-underline-offset: 8px; }
.card-cta > span { color: var(--home-accent); font: 400 25px/1 Arial, sans-serif; }
.service-card:hover .card-cta { color: #a8490b; }

.home-store { color: white; background: transparent; }
.store-photo, .store-overlay { position: absolute; inset: -150px 0 0; z-index: -2; }
.store-photo { mask-image: linear-gradient(180deg, transparent, #000 210px); }
.store-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 53%; }
.store-overlay { z-index: -1; background: linear-gradient(90deg, #061d2cf5, #061d2ce8 22%, #061d2caa 39%, #061d2c25 64%, transparent 82%), linear-gradient(180deg, #061d2c, transparent 210px); }
.home-store::before { z-index: 0; inset: -70px 0 0; background: radial-gradient(ellipse at 100% 8%, #ff701c60, transparent 23%), radial-gradient(ellipse at 0 100%, #ff751b48, transparent 19%); }
.home-store::after { z-index: 0; top: 42px; bottom: 90px; left: 12px; width: 58px; opacity: .6; background: radial-gradient(circle, #ff873c 1.5px, transparent 2px) 0 0/20px 20px; }
.store-content { position: relative; z-index: 2; min-height: 420px; padding-block: 52px 40px; }
.store-content h2 { max-width: 12ch; margin-block: 12px 16px; color: white; font-size: clamp(46px, 4.1vw, 60px); line-height: 1.04; letter-spacing: -.04em; }
.store-content h2 span { display: block; color: var(--pp-orange); }
.store-content > p:not(.eyebrow) { max-width: 430px; font-size: 18px; line-height: 1.35; }
.store-content .button { margin-top: 20px; box-shadow: 0 0 8px #ffad5d95, 0 0 26px #ff873c65; }
.store-highlights { display: flex; align-items: center; gap: 22px; position: absolute; bottom: 35px; right: 0; padding: 10px 16px; border-radius: 4px; background: #061c2970; }
.store-highlights li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.store-highlights li + li { padding-left: 20px; border-left: 1px solid #ff873c70; }
.store-highlights .pp-icon { width: 26px; height: 26px; }

.home-why { padding-block: 38px; background: #fff; }
.home-why::before { width: 95%; height: 65%; left: -8%; top: 4%; background: #f6f5f4; transform: rotate(43deg); }
.home-why::after { left: -38px; bottom: -8px; width: 230px; height: 230px; border: 45px solid #ff873c1c; border-radius: 50%; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.why-photo { position: relative; aspect-ratio: 1.9; min-width: 0; padding: 0 7px; }
.why-photo::before { content: ""; position: absolute; inset: 4px 0 -5px; z-index: -1; background: var(--pp-orange); border-radius: 12px; transform: skewX(-6deg); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 57% center; border-radius: 12px 6px 22px 6px; }
.why-copy h2 { margin-block: 12px 18px; font-size: clamp(30px, 2.9vw, 42px); letter-spacing: -.04em; }
.why-copy h2 span { display: block; color: var(--home-accent); }
.why-copy > p:not(.eyebrow) { color: var(--pp-muted); font-size: 16px; line-height: 1.45; }
.why-points { display: grid; grid-template-columns: 1.1fr 1fr 1.15fr; gap: 18px; margin-top: 28px; }
.why-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.35; }
.why-points strong { display: block; }
.why-points [data-polprom-years] { display: block; margin-top: 3px; }
.why-points .pp-icon { width: 34px; height: 34px; color: var(--home-accent); }

.home-benefits { padding-block: 38px; background: #f8f6f3; }
.home-benefits::before { width: 290px; height: 330px; left: -230px; top: 20px; border: 40px solid #ff873c0e; border-radius: 50%; transform: rotate(-30deg); }
.home-benefits::after { width: 240px; height: 280px; right: -140px; top: 10px; border: 45px solid #ff873c12; border-radius: 50%; transform: rotate(35deg); }
.benefits-grid { display: grid; grid-template-columns: 1.8fr repeat(4, 1fr); align-items: start; gap: 28px; }
.benefits-heading { align-self: center; }
.benefits-heading h2 { margin-top: 14px; font-size: 38px; letter-spacing: -.04em; }
.benefit { text-align: center; }
.benefit .pp-icon { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--home-accent); }
.benefit h3 { min-height: 38px; margin-bottom: 10px; font-size: 16px; line-height: 1.2; }
.benefit p { color: var(--pp-muted); font-size: 15px; line-height: 1.4; }

.home-reviews { min-height: max(250px, 17vw); padding-block: 30px; display: flex; align-items: center; color: white; background: #071c2d; }
.reviews-photo { position: absolute; inset: 0; z-index: -2; }
/* Fade the artwork's hard horizontal edges into the section, at every crop ratio. */
.reviews-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; -webkit-mask-image: linear-gradient(180deg, transparent 25%, #000 42%, #000 58%, transparent 75%); mask-image: linear-gradient(180deg, transparent 25%, #000 42%, #000 58%, transparent 75%); }
.home-reviews::before { inset: 0; background: linear-gradient(90deg, #051b2a30, transparent 72%); }
.home-reviews::after { display: none; }
.home-reviews .eyebrow { color: var(--pp-orange); }
.home-reviews h2 { margin-top: 7px; color: white; font-size: 40px; }
.reviews-pending { display: flex; align-items: center; gap: 28px; width: min(690px, 100%); min-height: 108px; margin-top: 16px; padding: 24px 28px; border: 1px solid #dce3e9; border-radius: 7px; background: #fff; box-shadow: 0 0 3px #fff8, 0 5px 18px #0002; color: var(--pp-muted); font-size: 16px; }
.reviews-wordmark { flex: 0 0 auto; width: 90px; height: auto; }
.reviews-placeholder { min-width: 0; }
.reviews-stars { display: block; margin-bottom: 4px; color: #f9ad00; font: 26px/1.1 Arial, sans-serif; letter-spacing: 1px; }
.reviews-placeholder p { line-height: 1.4; }
/* Trustindex chooses its own card count from the full content-container width. */
.reviews-live { width: 100%; margin-top: 16px; padding: 12px 16px; border: 1px solid #dce3e9; border-radius: 7px; background: #fff; box-shadow: 0 0 3px #fff8, 0 5px 18px #0002; color: var(--pp-navy); }
.reviews-live .ti-widget { margin: 0 !important; }
.reviews-live button:focus-visible, .reviews-live [tabindex]:focus-visible { outline: 3px solid var(--pp-orange); outline-offset: 3px; }
/* Keep the provider's existing slider controls available on touch/keyboard widths. */
@media (max-width: 1023px) {
  .reviews-live .ti-widget.ti-goog .ti-controls { display: block; }
}

.home-contact { padding-block: 34px 38px; background: #fff; scroll-margin-top: 24px; }
.home-contact::before { width: 500px; height: 270px; left: -290px; bottom: 90px; border: 44px solid #ff873c12; border-radius: 50%; transform: rotate(34deg); }
.home-contact::after { width: 380px; height: 220px; right: -160px; bottom: -80px; border: 44px solid #ff873c16; border-radius: 50%; transform: rotate(-30deg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-copy h2 { margin-block: 8px 10px; font-size: 40px; }
.contact-lead { max-width: 510px; margin-bottom: 16px; color: var(--pp-muted); font-size: 16px; line-height: 1.4; }
.contact-photo { position: relative; aspect-ratio: 1.85; padding: 0 6px; }
.contact-photo::before { content: ""; position: absolute; inset: 5px 0 -5px; z-index: -1; border-radius: 8px; background: var(--pp-orange); transform: skewX(-5deg); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; border-radius: 8px; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; margin-top: 26px; font-size: 14px; color: var(--pp-muted); line-height: 1.4; }
.contact-details > div { display: flex; gap: 14px; min-width: 0; }
.contact-details h3 { margin: 2px 0 6px; font-size: 17px; letter-spacing: 0; }
.contact-details .pp-icon { width: 28px; height: 28px; color: var(--home-accent); }
.contact-details a, .contact-details address { overflow-wrap: anywhere; }
.contact-details a:hover { text-decoration: underline; }


@media (max-width: 76rem) and (min-width: 66.001rem) {
  .service-card__content { padding-inline: 10px; }
  .service-card h2 { font-size: 22px; }
  .service-card p { font-size: 15px; }
  .card-cta { gap: 5px; font-size: 13px; }
  .store-highlights { gap: 10px; }
  .store-highlights li + li { padding-left: 10px; }
  .why-grid { gap: 32px; }
  .why-points { gap: 12px; }
  .why-points li { gap: 8px; font-size: 13px; }
  .why-points .pp-icon { width: 28px; height: 28px; }
  .benefits-grid { gap: 20px; }
  .benefits-heading h2 { font-size: 32px; }
}
@media (max-width: 66rem) {
  .home-offer { margin-top: -20px; background: linear-gradient(180deg, transparent 20px, #061d2c 110px); }
  .offer-ribbon { background-size: 100% 700px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .service-card__image { aspect-ratio: 1.8; }
  .store-highlights { position: static; width: fit-content; margin-top: 28px; flex-wrap: wrap; }
  .store-content { padding-block: 40px; }
  .why-grid { gap: 32px; }
  .why-photo { aspect-ratio: 1.3; }
  .why-points { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .why-points li { align-items: center; }
  .why-points br { display: none; }
  .benefits-grid { grid-template-columns: repeat(4, 1fr); gap: 30px 24px; }
  .benefits-heading { grid-column: 1 / -1; max-width: 600px; }
  .contact-grid { gap: 32px; }
  .contact-details { grid-template-columns: 1fr; gap: 18px; }
  .contact-photo { aspect-ratio: 1.25; }
}
@media (max-width: 48rem) {
  .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .why-photo { aspect-ratio: 1.9; }
  .why-points { grid-template-columns: repeat(3, 1fr); margin-top: 26px; }
  .why-points li { align-items: flex-start; }
  .why-points br { display: initial; }
  .contact-details { grid-template-columns: 1fr 1fr; }
  .contact-photo { aspect-ratio: 1.85; }
  .home-contact { padding-block: 38px; }
}
@media (max-width: 40rem) {
  .hero-controls { top: 6px; right: 8px; gap: 6px; }
  .home-offer { margin-top: -10px; background: linear-gradient(180deg, transparent 10px, #061d2c 100px); }
  .home-services { padding-block: 0; }
  .offer-ribbon { background-size: 100% 650px; }
  .home-services::after { width: 20px; right: 0; }
  .services-grid { grid-template-columns: 1fr; gap: 18px; padding: 7px; }
  .service-card__image { aspect-ratio: 1.65; }
  .service-card__content { padding: 0 16px 18px; }
  .service-card h2 { max-width: 18ch; font-size: 26px; }
  .service-card p { font-size: 17px; }
  .card-cta { min-height: 44px; font-size: 15px; }
  .store-content { padding-block: 36px; }
  .store-content h2 { font-size: 46px; }
  .store-content > p:not(.eyebrow) { font-size: 17px; }
  .store-overlay { background: linear-gradient(90deg, #061d2cee, #061d2cb0), linear-gradient(180deg, #061d2c, transparent 210px); }
  .store-photo img { object-position: 63% center; }
  .home-store::after { display: none; }
  .store-highlights { display: grid; gap: 14px; padding: 0; background: none; }
  .store-highlights li + li { padding: 0; border: 0; }
  .home-why { padding-block: 30px 36px; }
  .why-grid { gap: 30px; }
  .why-copy h2 { font-size: 32px; }
  .why-copy > p:not(.eyebrow) { font-size: 17px; }
  .why-points { grid-template-columns: 1fr; gap: 18px; }
  .why-points li { align-items: center; font-size: 15px; }
  .why-points br { display: none; }
  .home-benefits { padding-block: 34px; }
  .benefits-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .benefits-heading h2 { font-size: 34px; max-width: 16ch; }
  .benefit h3 { font-size: 16px; }
  .benefits-grid > .benefit:last-child h3 { min-height: 0; }
  .benefit p { font-size: 14px; }
  .home-reviews { min-height: 0; padding-block: 32px; }
  .home-reviews h2 { font-size: 34px; }
  .reviews-photo { left: 0; opacity: .8; }
  .reviews-photo img { object-position: 64% center; }
  .reviews-pending { min-height: 120px; gap: 18px; padding: 20px; font-size: 16px; }
  .reviews-wordmark { width: 64px; }
  .reviews-stars { font-size: 23px; letter-spacing: 0; }
  .contact-copy h2 { font-size: 36px; }
  .contact-grid { gap: 34px; }
  .contact-details { grid-template-columns: 1fr; gap: 22px; font-size: 15px; }
}

/* Phones: cover the first screen with the existing panoramic MP4.
   Its 1080px source contains 832px of picture; clip only those baked-in top/bottom
   letterbox bands, then let cover crop the sides without stretching the scene. */
@media (max-width: 768px) {
  .hero-media { height: 50vh; height: 50svh; aspect-ratio: auto; overflow: hidden; }
  .home-hero .hero-video,
  .home-hero.has-mobile-video .hero-video {
    top: 50%; bottom: auto; height: calc(100% * 1080 / 832); aspect-ratio: auto;
    transform: translateY(-50%); object-fit: cover; object-position: center;
  }
  /* The existing mobile poster already excludes the source letterbox bands. */
  .hero-poster img { object-fit: cover; object-position: center; }
  .home-hero + .home-offer { margin-top: 0; }
}

/* Approved phone composition, limited to the hero intro and four service cards.
   Keep the tablet/desktop layout, video behavior and editable media intact. */
@media (max-width: 40rem) {
  .hero-mobile-intro { display: flex; position: relative; z-index: 3; flex-direction: column; align-items: center; gap: 20px; padding: 64px 18px 24px; text-align: center; }
  .hero-mobile-wave { position: absolute; left: 0; top: 0; width: 100%; height: 47px; pointer-events: none; }
  .hero-mobile-intro h2 { position: relative; max-width: 36ch; color: white; font-size: clamp(21px, 5.6vw, 25px); line-height: 1.2; letter-spacing: -.025em; }
  .polprom-home .hero-mobile-intro .button { min-height: 48px; padding: 12px 22px; gap: 12px; border-radius: 10px; font-size: clamp(16px, 4.4vw, 19px); }
  .hero-mobile-intro .button > span { font: 400 26px/1 Arial, sans-serif; }
  .home-hero + .home-offer { margin-top: -46px; background: transparent; }
  .home-offer > .offer-ribbon { display: none; }
  .home-services { padding-block: 0 28px; background: linear-gradient(transparent 46px, #061d2c 46px); }
  .home-services::before { display: block; z-index: 0; inset: 46px 0 0; background: url('../images/home-mobile-glow.svg') center / 100% 100% no-repeat; }
  .home-services::after { inset: 55% 3px 5% auto; width: 10px; background-size: 10px 18px; }
  .home .home-services .services-grid { width: calc(100% - 36px); grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .home-services .service-card { padding: 14px 12px 12px; border-radius: 12px; box-shadow: 0 5px 16px #0002; }
  .home-services .service-card__image { display: none; }
  .home-services .service-card__content { padding: 0; }
  .home-services .service-card__content > .pp-icon { width: 30px; height: 30px; margin: 0 0 7px; padding: 0; border: 0; border-radius: 0; color: var(--pp-orange); background: none; box-shadow: none; }
  .home-services .service-card h2 { max-width: none; margin-block: 0 8px; font-size: clamp(17px, 4.5vw, 20px); line-height: 1.1; letter-spacing: -.035em; }
  .home-services .service-card p { margin-bottom: 10px; font-size: clamp(13px, 3.4vw, 15px); line-height: 1.3; }
  .home-services .card-cta { gap: 5px; min-height: 26px; font-size: clamp(12px, 3.1vw, 13.5px); line-height: 1.25; letter-spacing: -.025em; text-underline-offset: 5px; }
  .home-services .card-cta > span { flex-shrink: 0; font-size: 18px; }
}
