.pcs-story {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgb(243 244 246);
  color: #102a33;
}

.pcs-story * {
  box-sizing: border-box;
}

.pcs-enhanced-modal > header span {
  font-size: 0.78rem !important;
  letter-spacing: 0.18em !important;
  line-height: 1.45;
}

.pcs-story-hero {
  margin: -0.75rem 0 6rem;
}

.pcs-story-hero__label {
  display: block;
  margin-bottom: 1.5rem;
  color: #00a388;
  font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  line-height: 1.45;
  text-transform: uppercase;
}

.pcs-story-hero__title {
  margin: 0 0 2rem;
  max-width: 15ch;
  color: #102a33;
  font-size: clamp(3.1rem, 8vw, 6.5rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.98;
}

.pcs-story-hero__subtitle {
  max-width: 46rem;
  margin: 0;
  color: #4b5563;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 650;
  line-height: 1.45;
}

.pcs-overview {
  margin: -2rem 0 7rem;
  border: 2px solid rgba(0, 163, 136, 0.75);
  border-radius: 0.75rem;
  background: #fff;
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.pcs-overview__title {
  margin: 0 0 2rem;
  color: #102a33;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.pcs-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.pcs-overview__item {
  min-width: 0;
}

.pcs-overview__item h3 {
  margin: 0 0 0.65rem;
  color: #102a33;
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.pcs-overview__item p {
  margin: 0;
  color: #4b5563;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  font-weight: 580;
  line-height: 1.65;
}

.pcs-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 7rem;
}

.pcs-section:last-child {
  margin-bottom: 0;
}

.pcs-section__meta {
  min-width: 0;
}

.pcs-eyebrow {
  display: block;
  border-left: 2px solid #00a388;
  padding-left: 1rem;
  color: #00a388;
  font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1.45;
  text-transform: uppercase;
}

.pcs-section__body {
  min-width: 0;
}

.pcs-heading {
  margin: 0 0 1.5rem;
  color: #102a33;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

.pcs-subheading {
  margin: 2.5rem 0 1rem;
  color: #102a33;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.pcs-paragraph {
  margin: 0 0 1.4rem;
  color: #4b5563;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.75;
}

.pcs-paragraph:last-child {
  margin-bottom: 0;
}

.pcs-list {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  color: #4b5563;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.65;
}

.pcs-list li::marker {
  color: #00a388;
  font-weight: 900;
}

.pcs-quote {
  margin: 2rem 0;
  border-left: 3px solid #00a388;
  padding: 0.2rem 0 0.2rem 1.5rem;
  color: #102a33;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.pcs-quote cite {
  display: block;
  margin-top: 1rem;
  color: #6b7280;
  font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pcs-callout,
.pcs-fact {
  margin: 2rem 0;
  border: 1px solid rgb(229 231 235);
  border-radius: 0.75rem;
  background: #f9fafb;
  padding: 1.5rem;
}

.pcs-callout {
  border-color: rgba(0, 163, 136, 0.28);
  background: rgba(0, 163, 136, 0.06);
}

.pcs-callout__label,
.pcs-fact__label,
.pcs-card__label,
.pcs-logic {
  display: block;
  margin-bottom: 0.65rem;
  color: #00a388;
  font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pcs-callout p,
.pcs-fact p {
  margin: 0;
  color: #4b5563;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
}

.pcs-fact__value {
  display: block;
  margin-bottom: 0.5rem;
  color: #102a33;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pcs-image {
  margin: 2rem 0;
}

.pcs-image img,
.pcs-before-after img,
.pcs-card img,
.pcs-gallery__main img {
  display: block;
  width: 100%;
}

.pcs-image img {
  border: 1px solid rgb(229 231 235);
  border-radius: 1rem;
  background: #111827;
}

.pcs-caption {
  margin-top: 0.85rem;
  color: #6b7280;
  font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.pcs-divider {
  height: 1px;
  margin: 3rem 0;
  border: 0;
  background: rgb(229 231 235);
}

.pcs-code {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 0.75rem;
  background: #0f172a;
  padding: 1.25rem;
  color: #d1fae5;
  font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  line-height: 1.65;
}

.pcs-spacer {
  height: var(--pcs-spacer-size, 3rem);
}

.pcs-legacy-hero {
  height: 40vh !important;
  min-height: 280px;
  max-height: 460px;
}

@media (min-width: 1280px) {
  .pcs-legacy-hero {
    height: 80vh !important;
    min-height: 560px;
    max-height: 920px;
  }
}

.pcs-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.pcs-decision-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.pcs-card {
  min-width: 0;
  border: 1px solid rgb(229 231 235);
  border-radius: 0.75rem;
  background: #fff;
  padding: 1.5rem;
}

.pcs-decision-grid .pcs-card {
  border: 2px solid #00a388;
  padding: 1.75rem;
}

.pcs-card h4 {
  margin: 0 0 0.75rem;
  color: #102a33;
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.pcs-card p {
  margin: 0 0 1rem;
  color: #4b5563;
  font-size: 0.98rem;
  font-weight: 550;
  line-height: 1.65;
}

.pcs-card p:last-child {
  margin-bottom: 0;
}

.pcs-before-after {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.pcs-before-after__item {
  overflow: hidden;
  border: 1px solid rgb(229 231 235);
  border-radius: 1rem;
  background: #f9fafb;
}

.pcs-before-after__item img {
  aspect-ratio: 16 / 10;
  background: #111827;
  object-fit: cover;
}

.pcs-before-after__item .pcs-caption {
  margin: 0;
  padding: 1rem;
}

.pcs-evidence {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.pcs-evidence__value {
  display: block;
  margin-bottom: 0.65rem;
  color: #102a33;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.pcs-gallery {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.pcs-gallery__main {
  overflow: hidden;
  border: 1px solid rgb(229 231 235);
  border-radius: 1rem;
  background: #111827;
}

.pcs-gallery__main img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

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

.pcs-gallery__thumb {
  cursor: pointer;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  background: #111827;
  opacity: 0.62;
  transition: border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.pcs-gallery__thumb:hover,
.pcs-gallery__thumb.is-active {
  border-color: #00a388;
  opacity: 1;
}

.pcs-gallery__thumb.is-active {
  transform: translateY(-2px);
}

.pcs-gallery__thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.pcs-hero-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 2rem;
  border: 1px solid rgb(229 231 235);
  border-radius: 0.75rem;
  background: rgb(229 231 235);
}

@media (min-width: 768px) {
  .pcs-story-hero {
    margin-top: -1.5rem;
  }

  .pcs-overview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5rem;
    row-gap: 2rem;
  }

  .pcs-section {
    grid-template-columns: minmax(160px, 4fr) minmax(0, 8fr);
    gap: 4rem;
  }

  .pcs-card-grid,
  .pcs-evidence,
  .pcs-before-after,
  .pcs-hero-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .pcs-gallery__thumbs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
