:root {
  --pp-orange: #f97316;
  --pp-orange-dark: #c2410c;
  --pp-navy: #111827;
  --pp-navy-deep: #0f172a;
  --pp-slate: #475569;
  --pp-muted: #64748b;
  --pp-line: #e2e8f0;
  --pp-soft: #f8fafc;
  --pp-soft-orange: #fff7ed;
  --pp-white: #ffffff;
  --pp-radius: 24px;
  --pp-shadow: 0 18px 45px rgb(15 23 42 / 0.1);
  --pp-content-width: 73.75rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--pp-soft);
  color: var(--pp-navy);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

a,
button,
input,
select,
textarea {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgb(249 115 22 / 0.55);
  outline-offset: 3px;
}

.container {
  width: min(var(--pp-content-width), calc(100% - 2rem));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  background: var(--pp-navy-deep);
  color: #e2e8f0;
  font-size: 0.92rem;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.topbar a {
  flex-shrink: 0;
  color: #fed7aa;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--pp-line);
  background: var(--pp-white);
  box-shadow: 0 8px 22px rgb(15 23 42 / 0.04);
}

.header-row {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: var(--pp-navy);
  object-fit: contain;
  padding: 6px;
}

.brand-name {
  display: block;
  color: var(--pp-navy);
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.brand-sub {
  display: block;
  margin-top: 0.22rem;
  color: var(--pp-orange);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.94rem;
  font-weight: 750;
}

.desktop-nav a {
  color: #334155;
  text-decoration: none;
}

.desktop-nav a:hover {
  color: var(--pp-orange-dark);
}

.header-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.55rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pp-line);
  border-radius: 14px;
  background: var(--pp-white);
  color: var(--pp-navy);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  max-height: calc(100vh - 84px);
  overflow: auto;
  border-top: 1px solid var(--pp-line);
  background: var(--pp-white);
  box-shadow: 0 16px 28px rgb(15 23 42 / 0.08);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav .container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.9rem 0 1.1rem;
}

.mobile-nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--pp-soft);
  color: var(--pp-navy);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
}

.btn-primary {
  background: var(--pp-orange);
  color: var(--pp-white);
}

.btn-primary:hover {
  background: var(--pp-orange-dark);
}

.btn-light {
  border-color: rgb(255 255 255 / 0.65);
  background: var(--pp-white);
  color: var(--pp-navy);
}

.btn-outline {
  border-color: var(--pp-line);
  background: var(--pp-white);
  color: var(--pp-navy);
}

.btn-dark {
  background: var(--pp-navy);
  color: var(--pp-white);
}

.btn-small {
  min-height: 44px;
  padding: 0.54rem 0.82rem;
  font-size: 0.88rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.3rem 0 3.3rem;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: var(--pp-white);
}

.hero::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 15%, rgb(249 115 22 / 0.28), transparent 32rem);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 2rem;
}

.hero-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.hero-grid > * {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin-bottom: 0.65rem;
  color: #fed7aa;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 61rem;
  margin: 0.15rem 0 1rem;
  color: var(--pp-white);
  font-size: 4.75rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  overflow-wrap: break-word;
}

.lead {
  max-width: 68ch;
  margin: 0;
  color: #e2e8f0;
  font-size: 1.2rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.45rem;
}

.hero-card {
  display: flex;
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 32px;
  background: rgb(255 255 255 / 0.08);
  box-shadow: var(--pp-shadow);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  object-fit: cover;
}

.hero-card p {
  margin: 0.8rem 0.3rem 0.2rem;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.brand-strip {
  border-bottom: 1px solid var(--pp-line);
  background: var(--pp-white);
}

.brand-strip .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.9rem 0;
}

.brand-strip span {
  padding: 0.5rem 0.75rem;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: var(--pp-soft-orange);
  color: #9a3412;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.section {
  padding: 3.7rem 0;
}

.section-white {
  background: var(--pp-white);
}

.section-soft {
  background: var(--pp-soft);
}

.section-kicker {
  color: var(--pp-orange-dark);
}

.section-title,
.final-cta h2 {
  margin: 0 0 1rem;
  color: var(--pp-navy);
  font-size: 2.65rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.section-description {
  max-width: 70rem;
  margin: 0;
  color: var(--pp-slate);
  font-size: 1rem;
}

.answer-box {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--pp-line);
  border-left: 6px solid var(--pp-orange);
  border-radius: 22px;
  background: var(--pp-white);
  box-shadow: 0 12px 30px rgb(15 23 42 / 0.06);
  color: #334155;
  font-size: 1.04rem;
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
}

.item-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  background: var(--pp-white);
  box-shadow: 0 1px 0 rgb(15 23 42 / 0.03);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.item-card:hover {
  border-color: #fdba74;
  box-shadow: 0 16px 36px rgb(15 23 42 / 0.1);
  transform: translateY(-2px);
}

.item-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--pp-line);
  object-fit: cover;
}

.item-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem;
}

.item-card h3 {
  margin: 0;
  color: var(--pp-navy);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.item-card p {
  margin: 0;
  color: var(--pp-slate);
  font-size: 0.94rem;
}

.catalog-controls {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(14rem, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  background: var(--pp-soft);
}

.catalog-control {
  min-width: 0;
}

.catalog-control-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  color: var(--pp-navy);
  font-size: 0.84rem;
  font-weight: 850;
}

.catalog-control input,
.catalog-control select {
  width: 100%;
  min-height: 46px;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--pp-line);
  border-radius: 12px;
  background: var(--pp-white);
  color: var(--pp-navy);
  font: inherit;
}

.catalog-results-count {
  margin: 1rem 0 0;
  color: var(--pp-muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.catalog-card-link {
  margin-top: auto;
  color: var(--pp-orange-dark);
  font-size: 0.88rem;
  font-weight: 900;
}

.catalog-empty {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  background: var(--pp-soft);
  color: var(--pp-slate);
  text-align: center;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.content-card {
  min-width: 0;
  padding: 1.4rem;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  background: var(--pp-white);
  box-shadow: 0 1px 0 rgb(15 23 42 / 0.03);
}

.content-card h2,
.content-card h3 {
  margin: 0 0 0.75rem;
  color: var(--pp-navy);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0;
}

.content-card p {
  margin: 0;
  color: var(--pp-slate);
}

.link-grid-section {
  border-top: 1px solid var(--pp-line);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.related-grid a {
  display: block;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid var(--pp-line);
  border-radius: 18px;
  background: var(--pp-white);
  color: #334155;
  font-weight: 850;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.related-grid a:hover {
  border-color: #fdba74;
  color: #9a3412;
}

.final-cta {
  padding: 3.2rem 0;
  background: var(--pp-navy);
  color: var(--pp-white);
  text-align: center;
}

.final-cta h2 {
  color: var(--pp-white);
}

.final-cta p {
  max-width: 42.5rem;
  margin-inline: auto;
  color: #cbd5e1;
}

.final-cta .hero-actions {
  justify-content: center;
}

.contact-section {
  padding: 3.7rem 0;
  background: var(--pp-soft);
}

.contact-layout {
  align-items: start;
}

.contact-info-title,
.site-contact-form-heading h2 {
  margin: 0 0 0.75rem;
  color: var(--pp-navy);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0;
}

.contact-info-subtitle,
.site-contact-form-heading p {
  margin: 0 0 1rem;
  color: var(--pp-slate);
}

.contact-info-item {
  display: grid;
  grid-template-columns: minmax(7rem, auto) minmax(0, 1fr);
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.contact-info-label {
  color: var(--pp-navy);
  font-size: 0.9rem;
  font-weight: 900;
}

.contact-info-value {
  color: var(--pp-slate);
  overflow-wrap: anywhere;
}

.form-card {
  padding: 1.3rem;
  border: 1px solid var(--pp-line);
  border-radius: 26px;
  background: var(--pp-white);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}

.site-contact-form-heading,
.site-form-field--full,
.contact-submit,
.contact-form > input[type="hidden"],
.contact-form > .pk-contact__status {
  grid-column: 1 / -1;
}

.site-form-field--half {
  grid-column: span 3;
}

.site-form-field--third {
  grid-column: span 2;
}

.site-form-field--two-thirds {
  grid-column: span 4;
}

.form-label {
  display: block;
  margin-bottom: 0.25rem;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 750;
}

.form-input,
.form-textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--pp-line);
  border-radius: 16px;
  background: var(--pp-white);
  color: var(--pp-navy);
  font: inherit;
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-submit {
  width: 100%;
  border: 0;
}

.site-consent-field {
  grid-column: 1 / -1;
}

.site-consent-control {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem;
  border: 1px solid var(--pp-line);
  border-radius: 14px;
  background: var(--pp-soft);
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.site-consent-control input {
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  flex: 0 0 auto;
  accent-color: var(--pp-orange-dark);
}

.pk-contact__field-help,
.pk-contact__status {
  margin: 0.4rem 0 0;
  color: var(--pp-muted);
  font-size: 0.82rem;
}

.pk-contact__status--error {
  color: #9f1239;
}

.pk-contact__status--success {
  color: #166534;
}

.footer {
  padding: 3rem 0 1.5rem;
  background: #020617;
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-grid > * {
  min-width: 0;
}

.footer h2,
.footer h3 {
  margin: 0 0 0.75rem;
  color: var(--pp-white);
  font-weight: 900;
  letter-spacing: 0;
}

.footer h2 {
  font-size: 1.5rem;
}

.footer h3 {
  font-size: 1rem;
}

.footer p {
  margin: 0.65rem 0;
}

.footer a {
  display: block;
  padding: 0.12rem 0;
  color: #cbd5e1;
  line-height: 1.35;
  text-decoration: none;
}

.footer a:hover {
  color: var(--pp-white);
}

.footer .small {
  color: var(--pp-muted);
  font-size: 0.88rem;
}

.footer-copyright {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  color: var(--pp-muted);
  font-size: 0.8rem;
}

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    width: 100%;
    max-width: 42.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topbar .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .hero {
    padding: 3.4rem 0 2.75rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .section {
    padding: 3rem 0;
  }

  .item-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-strip .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-controls {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 1.5rem);
  }

  .topbar {
    font-size: 0.8rem;
  }

  .header-row {
    min-height: 64px;
    gap: 0.55rem;
    padding: 0.45rem 0;
  }

  .brand {
    max-width: calc(100vw - 6.5rem);
    gap: 0.55rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    padding: 5px;
  }

  .brand-name {
    font-size: 0.94rem;
    overflow-wrap: anywhere;
  }

  .brand-sub {
    font-size: 0.55rem;
    letter-spacing: 0.06em;
    white-space: normal;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .mobile-nav .container {
    grid-template-columns: 1fr;
    padding: 0.65rem 0 0.85rem;
  }

  .mobile-nav a {
    justify-content: flex-start;
    padding: 0.72rem 0.85rem;
    text-align: left;
  }

  .hero {
    padding: 2.55rem 0 2.15rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.08;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.56;
  }

  .eyebrow {
    font-size: 0.69rem;
  }

  .hero-actions {
    gap: 0.65rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 46px;
    white-space: normal;
    text-align: center;
  }

  .hero-card {
    padding: 0.75rem;
    border-radius: 22px;
  }

  .hero-card img {
    border-radius: 17px;
  }

  .brand-strip .container,
  .item-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2.35rem 0;
  }

  .section-title,
  .final-cta h2 {
    font-size: 2rem;
  }

  .content-card,
  .form-card {
    padding: 1rem;
    border-radius: 20px;
  }

  .item-card {
    border-radius: 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .site-form-field--half,
  .site-form-field--third,
  .site-form-field--two-thirds {
    grid-column: 1 / -1;
  }

  .contact-info-item {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 1.25rem);
  }

  .brand {
    max-width: calc(100vw - 5.9rem);
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 0.86rem;
  }

  .brand-sub {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

/* OSJ catalog detail, blog, and client-only quote cart parity. */
.catalog-card-main {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.catalog-card-main > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.quote-cart-card-action {
  padding: 0 1rem 1rem;
}

.quote-cart-add {
  width: 100%;
  border: 0;
  background: var(--pp-orange);
  color: var(--pp-white);
}

.quote-cart-add:hover:not(:disabled) {
  background: var(--pp-orange-dark);
}

.quote-cart-add.is-added {
  background: #047857;
  color: var(--pp-white);
}

.item-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.item-featured-image {
  width: 100%;
  max-height: 560px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  object-fit: cover;
}

.item-featured-copy {
  min-width: 0;
}

.section-title-item {
  margin: 0 0 0.85rem;
  color: var(--pp-navy);
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.item-featured-copy > p,
.item-planning-section p {
  color: var(--pp-slate);
}

.item-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.item-stats span {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--pp-line);
  border-radius: 999px;
  background: var(--pp-soft);
  color: #334155;
  font-size: 0.84rem;
  font-weight: 800;
}

.item-use-cases {
  margin: 1rem 0 1.15rem;
  padding: 1rem;
  border-left: 4px solid var(--pp-orange);
  background: #fff7ed;
}

.item-use-cases ul,
.blog-article-main ul {
  margin: 0.65rem 0 0;
  padding-left: 1.2rem;
}

.item-use-cases li,
.blog-article-main li {
  margin: 0.35rem 0;
}

.item-planning-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.85fr);
  gap: 2rem;
}

.item-planning-layout h2 {
  margin-top: 0;
  color: var(--pp-navy);
  font-size: 1.55rem;
}

.item-detail-related-grid .item-card-body {
  min-height: 0;
}

.faq-list,
.blog-faq {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  padding: 1rem 1.1rem;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  background: var(--pp-white);
}

.faq-item h3 {
  margin: 0 0 0.35rem;
  color: var(--pp-navy);
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  color: var(--pp-slate);
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
}

.blog-post-card .section-kicker {
  margin-bottom: 0;
}

.blog-post-card .catalog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
  gap: 2.25rem;
  align-items: start;
}

.blog-article-main,
.blog-sidebar {
  min-width: 0;
}

.blog-answer-box {
  margin-bottom: 2rem;
}

.blog-article-section + .blog-article-section {
  margin-top: 2.4rem;
}

.blog-article-main h2 {
  margin: 0 0 0.8rem;
  color: var(--pp-navy);
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.blog-article-main p {
  color: #334155;
  font-size: 1.02rem;
}

.blog-image-band {
  margin: 1.25rem 0 1.5rem;
}

.blog-image-band img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  object-fit: cover;
}

.blog-image-band figcaption {
  margin-top: 0.5rem;
  color: var(--pp-muted);
  font-size: 0.88rem;
}

.blog-sidebar {
  position: sticky;
  top: 6rem;
}

.blog-sidebar .related-grid {
  grid-template-columns: 1fr;
}

.quote-cart-spacer {
  height: 6.5rem;
}

.quote-cart-tray {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: min(34rem, calc(100vw - 2rem));
  color: var(--pp-navy);
}

.quote-cart-tray-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem;
  border: 1px solid #475569;
  border-radius: var(--pp-radius);
  background: var(--pp-navy);
  box-shadow: var(--pp-shadow);
}

.quote-cart-summary {
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  background: transparent;
  color: var(--pp-white);
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.quote-cart-summary > span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-cart-count {
  display: inline-flex;
  min-width: 1.7rem;
  height: 1.7rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--pp-orange);
  color: var(--pp-white);
  font-size: 0.78rem;
}

.quote-cart-request {
  min-width: 8.5rem;
}

.quote-cart-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.6rem);
  width: 100%;
  max-height: min(32rem, 70vh);
  overflow: hidden;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  background: var(--pp-white);
  box-shadow: var(--pp-shadow);
}

.quote-cart-panel-head,
.quote-cart-panel-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  background: var(--pp-soft);
}

.quote-cart-panel-head {
  border-bottom: 1px solid var(--pp-line);
}

.quote-cart-panel-actions {
  border-top: 1px solid var(--pp-line);
}

.quote-cart-items {
  max-height: min(22rem, 48vh);
  overflow-y: auto;
  padding: 0 1rem;
}

.quote-cart-row {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr) 2.4rem;
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--pp-line);
}

.quote-cart-row:last-child {
  border-bottom: 0;
}

.quote-cart-row img,
.quote-cart-image-fallback {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 6px;
  object-fit: cover;
}

.quote-cart-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pp-soft);
  color: var(--pp-muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.quote-cart-row-copy {
  display: grid;
  min-width: 0;
  gap: 0.2rem;
}

.quote-cart-row-copy a,
.quote-cart-row-copy strong {
  overflow-wrap: anywhere;
  color: var(--pp-navy);
  font-weight: 850;
  text-decoration: none;
}

.quote-cart-row-copy span {
  color: var(--pp-muted);
  font-size: 0.8rem;
}

.quote-cart-icon-button {
  display: inline-flex;
  width: 2.3rem;
  height: 2.3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pp-line);
  border-radius: 6px;
  background: var(--pp-white);
  color: var(--pp-navy);
  cursor: pointer;
}

@media (max-width: 1120px) {
  .blog-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .item-featured,
  .item-planning-layout,
  .blog-article-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .blog-card-grid {
    grid-template-columns: 1fr;
  }

  .quote-cart-tray {
    right: 0.65rem;
    bottom: calc(0.65rem + env(safe-area-inset-bottom));
    width: calc(100vw - 1.3rem);
  }

  .quote-cart-tray-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .quote-cart-request {
    min-width: 0;
    padding-inline: 0.8rem;
  }

  .quote-cart-panel-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .quote-cart-panel-actions .btn {
    width: 100%;
  }

  .item-featured {
    gap: 1.25rem;
  }

  .item-featured-image {
    max-height: 390px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
