/* Heroes */
.pr-hero {
  position: relative;
  overflow: hidden;
  padding-block: 120px;
  border-bottom: 1px solid var(--pr-context-border, var(--pr-color-border));
  background:
    radial-gradient(circle at 84% 18%, rgba(0, 229, 255, 0.09), transparent 28%),
    linear-gradient(135deg, #121214 0%, #0e1012 100%);
}

.pr-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(rgba(0, 0, 0, 0.7), transparent);
  pointer-events: none;
}

.pr-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 40fr) minmax(460px, 60fr);
  gap: var(--pr-space-8);
  align-items: center;
}

.pr-hero--context .pr-hero__grid {
  grid-template-columns: minmax(0, 46fr) minmax(440px, 54fr);
}

.pr-hero__content {
  max-width: 620px;
}

.pr-hero--context .pr-hero__content {
  max-width: 660px;
}

.pr-hero__title {
  margin-bottom: var(--pr-space-5);
  font-size: var(--pr-fs-h1);
  font-weight: var(--pr-weight-heading);
  line-height: 1.05;
}

.home .pr-hero__title {
  font-size: 56px;
}

.pr-hero__description {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--pr-context-body, var(--pr-color-body));
  font-size: 18px;
}

.pr-hero__media {
  width: 100%;
  height: clamp(450px, 38vw, 520px);
  margin-top: 0;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.pr-hero--context .pr-hero__media {
  height: clamp(430px, 35vw, 500px);
}

.pr-hero__media img {
  min-height: 100%;
  filter: contrast(1.06) saturate(0.95);
}

/* Product range hero gallery */
.pr-product-range-gallery {
  display: grid !important;
  overflow: hidden;
  width: 100%;
  height: clamp(450px, 38vw, 520px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) 120px;
  gap: 6px !important;
  margin: 0 !important;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--pr-radius);
  background: #0c0d0f;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.pr-product-range-gallery > .wp-block-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  margin: 0 !important;
}

.pr-product-range-gallery__item--main { grid-area: 1 / 1 / auto / -1; }
.pr-product-range-gallery__item--neon { grid-area: 2 / 1; }
.pr-product-range-gallery__item--lightbox { grid-area: 2 / 2; }
.pr-product-range-gallery__item--specialty { grid-area: 2 / 3; }

.pr-product-range-gallery .wp-block-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  border-radius: 0;
  object-fit: cover;
  filter: contrast(1.06) saturate(0.95);
  transition: none;
  transform: none;
}

/* Cover hero */
.pr-hero--cover {
  min-height: clamp(700px, 78vh, 820px);
  padding-block: 0;
  border-bottom: 0;
  background: var(--pr-context-bg-deep, var(--pr-color-bg-deep));
}

.pr-hero--cover::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.96) 0%, rgba(5, 8, 11, 0.9) 34%, rgba(5, 8, 11, 0.64) 55%, rgba(5, 8, 11, 0.25) 76%, rgba(5, 8, 11, 0.4) 100%),
    linear-gradient(rgba(5, 8, 11, 0.28) 0%, rgba(5, 8, 11, 0.04) 54%, rgba(5, 8, 11, 0.66) 100%);
  mask-image: none;
}

.pr-hero--cover::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  pointer-events: none;
}

.pr-hero--cover > .wp-block-group__inner-container {
  position: relative;
  min-height: inherit;
}

.pr-hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.pr-hero__background img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  filter: contrast(1.08) saturate(0.88);
}

.pr-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: clamp(700px, 78vh, 820px);
  align-items: center;
  padding-block: 108px;
}

.pr-hero--cover .pr-hero__content {
  max-width: 690px;
}

.home .pr-hero--cover .pr-hero__title {
  max-width: 680px;
  font-size: 60px;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.34);
}

.pr-hero--cover :is(.pr-hero__description, .pr-list li) {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.48);
}

.pr-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--pr-space-6);
}

/* Home trust strip */
.home .single-content > .pr-trust-strip {
  position: relative;
  z-index: 4;
  margin-top: -60px;
  padding-block: 0 10px;
  border: 0;
  background: transparent;
}

.home .pr-trust-strip__grid {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--pr-context-border, var(--pr-color-border));
  border-top-color: rgba(0, 229, 255, 0.28);
  border-radius: var(--pr-radius);
  background: linear-gradient(#141a22f5, #0e131afa);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.home .pr-trust-strip .pr-stat {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 160px;
  margin: 0;
  padding: 32px 24px;
  flex-direction: column;
  justify-content: flex-start;
  border-left: 0;
}

.home .pr-trust-strip .pr-stat::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 96px;
  background: rgba(255, 255, 255, 0.1);
  content: "";
  transform: translateY(-50%);
}

.home .pr-trust-strip .pr-stat:first-child::before {
  background: rgba(0, 229, 255, 0.62);
}

.home .pr-trust-strip .pr-stat__value {
  margin: 0 0 14px;
  color: var(--pr-context-accent, var(--pr-color-primary));
  font-size: clamp(36px, 2.4vw, 42px);
  font-weight: var(--pr-weight-bold);
  letter-spacing: -0.035em;
  line-height: 1;
}

.home .pr-trust-strip .pr-stat__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.home .pr-trust-strip + .pr-section {
  padding-top: 56px;
}

/* Card content modules */
:is(.pr-product-card, .pr-application-card, .pr-resource-card) .pr-media {
  aspect-ratio: 16 / 9;
  border: 0;
  border-bottom: 1px solid var(--pr-context-border, var(--pr-color-border));
  border-radius: 0;
}

.pr-project-card .pr-media {
  aspect-ratio: 4 / 3;
  border: 0;
  border-bottom: 1px solid var(--pr-context-border, var(--pr-color-border));
  border-radius: 0;
}

.pr-product-card__spec,
.pr-resource-card__scope,
.pr-application-card__constraint {
  margin: var(--pr-space-5) 0 0;
  padding-top: var(--pr-space-4);
  border-top: 1px solid var(--pr-context-border, var(--pr-color-border));
  color: var(--pr-context-muted, var(--pr-color-muted));
  font-size: 15px;
  line-height: 1.6;
}

.pr-project-card__data {
  display: grid;
  gap: 9px;
  margin-top: var(--pr-space-5);
  padding-top: var(--pr-space-4);
  border-top: 1px solid var(--pr-context-border, var(--pr-color-border));
}

.pr-project-card__data p {
  margin: 0;
  color: var(--pr-context-muted, var(--pr-color-muted));
  font-size: 14px;
  line-height: 1.55;
}

.pr-project-card__data strong {
  color: var(--pr-context-text, var(--pr-color-text));
}

/* Process timeline */
.pr-process-grid {
  position: relative;
  display: grid;
  overflow: visible;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: var(--pr-space-6);
  counter-reset: pr-process;
}

.pr-process-grid::before {
  position: absolute;
  top: 14px;
  right: 4px;
  left: 4px;
  z-index: 0;
  height: 1px;
  background: rgba(0, 229, 255, 0.38);
  content: "";
}

.pr-process-card {
  position: relative;
  overflow: visible;
  min-height: 250px;
  padding: 104px 18px 0 0;
  counter-increment: pr-process;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pr-process-card::before {
  position: absolute;
  top: 8px;
  left: 0;
  z-index: 2;
  width: 13px;
  height: 13px;
  border: 2px solid var(--pr-context-accent, var(--pr-color-primary));
  border-radius: 50%;
  background: var(--pr-color-bg);
  box-shadow: 0 0 0 5px rgba(0, 229, 255, 0.08);
  content: "";
  transition: background var(--pr-transition), box-shadow var(--pr-transition);
}

.pr-process-card::after {
  position: absolute;
  top: 48px;
  left: 0;
  color: var(--pr-context-accent, var(--pr-color-primary));
  content: counter(pr-process, decimal-leading-zero);
  font-family: var(--pr-font-mono);
  font-size: 31px;
  font-weight: var(--pr-weight-bold);
  line-height: 1;
}

.pr-process-card:hover,
.pr-process-card:focus-within {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.pr-process-card:hover::before,
.pr-process-card:focus-within::before {
  background: var(--pr-context-accent, var(--pr-color-primary));
  box-shadow: 0 0 0 7px rgba(0, 229, 255, 0.13);
}

.pr-process-card__label {
  margin: 0 0 var(--pr-space-3);
  color: #9fb8dc;
  font-size: 12px;
  font-weight: var(--pr-weight-bold);
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pr-process-card h3 {
  margin-bottom: var(--pr-space-3);
  font-size: 22px;
  line-height: 1.2;
}

.pr-process-card p:not(.pr-process-card__label) {
  margin-bottom: 0;
  color: #aeb9c8;
  font-size: 15px;
  line-height: 1.6;
}

.pr-process-grid--manufacturing {
  gap: var(--pr-space-5);
}

.pr-section--light .pr-process-grid::before {
  background: rgba(0, 109, 120, 0.34);
}

.pr-section--light .pr-process-card,
.pr-section--light .pr-process-card:is(:hover, :focus-within) {
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.pr-section--light .pr-process-card::before {
  border-color: var(--pr-color-light-accent-ink);
  background: var(--pr-color-light-bg);
  box-shadow: 0 0 0 5px rgba(0, 109, 120, 0.08);
}

.pr-section--light .pr-process-card:is(:hover, :focus-within)::before {
  background: var(--pr-context-accent, var(--pr-color-primary));
  box-shadow: 0 0 0 7px rgba(0, 109, 120, 0.11);
}

.pr-section--light .pr-process-card::after {
  color: var(--pr-color-light-accent-ink);
}

.pr-section--light .pr-process-card__label {
  color: var(--pr-color-light-muted);
}

.pr-section--light .pr-process-card p:not(.pr-process-card__label) {
  color: var(--pr-color-light-body);
}

/* Featured project */
.pr-featured-project {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  border: 1px solid var(--pr-context-border, var(--pr-color-border));
  border-radius: var(--pr-radius);
  background: var(--pr-context-card, var(--pr-color-card));
}

.pr-featured-project__media {
  height: 100%;
  min-height: 520px;
  border: 0;
  border-right: 1px solid var(--pr-context-border, var(--pr-color-border));
  border-radius: 0;
}

.pr-featured-project__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 40px 40px 0;
}

.pr-featured-project__content > .wp-block-group__inner-container {
  display: flex;
  width: 100%;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.pr-featured-project__content .pr-eyebrow {
  margin-bottom: var(--pr-space-4);
}

.pr-featured-project__title {
  margin-bottom: 20px;
  font-size: 34px;
}

.pr-featured-project__content > .wp-block-group__inner-container > p:not(.pr-eyebrow, .pr-card__link) {
  margin-bottom: 0;
}

.pr-featured-project__meta {
  margin: var(--pr-space-5) 0 0;
  border-top: 1px solid var(--pr-context-border, var(--pr-color-border));
}

.pr-featured-project__summary > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr) minmax(0, 0.9fr);
  gap: var(--pr-space-4);
  padding-block: 12px 14px;
  border-bottom: 1px solid var(--pr-context-border, var(--pr-color-border));
}

:is(.pr-featured-project__summary, .pr-featured-project__details, .pr-featured-project__detail-row),
:is(.pr-featured-project__summary, .pr-featured-project__details, .pr-featured-project__detail-row) > .wp-block-group__inner-container {
  min-height: 0;
  margin: 0 !important;
}

.pr-featured-project__summary-item,
.pr-featured-project__summary-item > .wp-block-group__inner-container {
  min-width: 0;
  min-height: 0;
  margin: 0 !important;
}

.pr-featured-project__label {
  margin: 0 0 6px !important;
  color: var(--pr-context-accent, var(--pr-color-primary));
  font-size: 11px;
  font-weight: var(--pr-weight-bold);
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.pr-featured-project__value {
  margin: 0 !important;
  color: var(--pr-context-text, var(--pr-color-text));
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.pr-featured-project__detail-row > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: var(--pr-space-4);
  padding-block: 11px;
  border-bottom: 1px solid var(--pr-context-border, var(--pr-color-border));
}

.pr-featured-project__detail-value {
  margin: 0 !important;
  color: var(--pr-context-body, var(--pr-color-body));
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.pr-featured-project__content .pr-card__link {
  display: flex;
  height: 64px;
  min-height: 64px;
  flex: 0 0 64px;
  align-items: center;
  align-self: stretch;
  margin: 0 !important;
  padding: 0;
}

/* Split links and interface review */
.pr-split__content .pr-list {
  margin-bottom: 0;
}

.pr-split__link {
  display: inline-flex;
  margin: 0;
  padding-top: var(--pr-space-4);
  font-size: 15px;
  font-weight: var(--pr-weight-bold);
  line-height: 1.4;
}

.pr-split__link a {
  color: var(--pr-context-accent, var(--pr-color-primary));
  text-decoration: none;
}

.pr-interface-review {
  display: grid;
  gap: var(--pr-space-4);
}

.pr-interface-review__head {
  width: 100%;
  max-width: none;
  margin-bottom: 0;
}

.pr-interface-review__head > .wp-block-group__inner-container {
  position: relative;
  width: 100%;
}

.pr-interface-review__link {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto !important;
  margin: 0 !important;
  padding: 0;
  text-align: right;
}

.pr-interface-review__media {
  aspect-ratio: 16 / 7;
  border-color: rgba(255, 255, 255, 0.14);
}

.pr-interface-review__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pr-interface-review__outputs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  border-block: 1px solid var(--pr-context-border-soft, var(--pr-color-border-soft));
}

.pr-interface-review__outputs::before,
.pr-interface-review__outputs::after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--pr-context-border-soft, var(--pr-color-border-soft));
  content: "";
}

.pr-interface-review__outputs::before { left: 33.3333%; }
.pr-interface-review__outputs::after { left: 66.6667%; }

.pr-interface-review__item {
  min-width: 0;
  margin: 0 !important;
  padding: 12px var(--pr-space-6);
}

.pr-interface-review__item:first-child { padding-left: 0; }
.pr-interface-review__item:last-child { padding-right: 0; }

.pr-interface-review__item > .wp-block-group__inner-container {
  display: block;
  width: 100%;
  margin: 0;
}

.pr-interface-review__item .pr-card__meta {
  margin: 0 0 8px !important;
}

.pr-interface-review__item > p:last-child,
.pr-interface-review__item > .wp-block-group__inner-container > p:last-child {
  margin: 0 !important;
  color: var(--pr-context-body, var(--pr-color-body));
  font-size: 16px;
  line-height: 1.55;
}

.pr-interface-review > .pr-split__link {
  margin-top: -8px;
  padding-top: 0;
}

/* Factory evidence */
.pr-factory-panel {
  padding: var(--pr-space-7);
  border: 1px solid var(--pr-context-border, var(--pr-color-border));
  border-radius: var(--pr-radius);
  background: linear-gradient(145deg, var(--pr-context-card, var(--pr-color-card)), #151719);
}

.pr-factory-panel__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--pr-space-5);
  margin-top: var(--pr-space-6);
}

:is(
  .pr-factory-evidence__content,
  .pr-factory-evidence__list,
  .pr-factory-evidence__item,
  .pr-factory-evidence__proof
) > .wp-block-group__inner-container {
  display: contents;
}

.pr-factory-evidence {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: var(--pr-space-8);
  align-items: stretch;
}

.pr-factory-evidence > .wp-block-group__inner-container > .wp-block-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  align-self: stretch;
  aspect-ratio: auto;
}

.pr-factory-evidence > .wp-block-group__inner-container > .wp-block-image img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.pr-factory-evidence__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.pr-factory-evidence__intro {
  max-width: 620px;
  margin: 0 0 var(--pr-space-6) !important;
  font-size: 17px;
  line-height: 1.65;
}

.pr-factory-evidence__list {
  display: grid;
  width: 100%;
  border-top: 1px solid var(--pr-context-border, var(--pr-color-border));
}

.pr-factory-evidence__item {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: var(--pr-space-5);
  align-items: center;
  margin: 0 !important;
  padding: 16px 0;
  border-bottom: 1px solid var(--pr-context-border, var(--pr-color-border));
}

.pr-factory-evidence__label {
  margin: 0 !important;
  color: var(--pr-context-accent, var(--pr-color-primary));
  font-size: 12px;
  font-weight: var(--pr-weight-bold);
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pr-factory-evidence__detail {
  margin: 0 !important;
  color: var(--pr-context-body, var(--pr-color-body));
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

/* RFQ and stage path */
.pr-specifications {
  position: relative;
}

.pr-rfq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: var(--pr-space-8);
  align-items: start;
}

.pr-rfq-copy {
  position: sticky;
  top: 112px;
}

.pr-contact-card {
  padding: var(--pr-space-6);
  border: 1px solid var(--pr-context-border, var(--pr-color-border));
  border-radius: var(--pr-radius);
  background: var(--pr-context-card, var(--pr-color-card));
}

.pr-contact-card a {
  display: block;
  margin-top: var(--pr-space-3);
  overflow-wrap: anywhere;
}

.pr-stage-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--pr-context-border, var(--pr-color-border));
}

.pr-stage-path > .wp-block-group__inner-container {
  display: contents;
}

.pr-stage-path__item {
  position: relative;
  min-height: 360px;
  padding: var(--pr-space-7) var(--pr-space-6);
  border-right: 1px solid var(--pr-context-border, var(--pr-color-border));
}

.pr-stage-path__item:last-child { border-right: 0; }

.pr-stage-path__item::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 72px;
  height: 2px;
  background: var(--pr-context-accent, var(--pr-color-primary));
  content: "";
}

.pr-stage-path__number {
  margin-bottom: var(--pr-space-6);
  color: var(--pr-context-accent, var(--pr-color-primary));
  font-family: var(--pr-font-mono);
  font-size: 30px;
  font-weight: var(--pr-weight-bold);
  line-height: 1;
}

.pr-stage-path__label {
  margin-bottom: var(--pr-space-3);
  color: #9fb8dc;
  font-size: 12px;
  font-weight: var(--pr-weight-bold);
  letter-spacing: 0.1em;
}

.pr-stage-path__title {
  margin-bottom: var(--pr-space-5);
  font-size: 24px;
}

.pr-stage-path__list {
  display: grid;
  gap: var(--pr-space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pr-stage-path__list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
}

.pr-stage-path__list li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--pr-context-accent, var(--pr-color-primary));
  content: "";
}

.pr-section--light .pr-stage-path {
  border-color: var(--pr-color-light-border);
  background: rgba(255, 255, 255, 0.24);
}

.pr-section--light .pr-stage-path__item {
  border-color: var(--pr-color-light-border);
  transition: background var(--pr-transition);
}

.pr-section--light .pr-stage-path__item:hover {
  background: rgba(255, 255, 255, 0.62);
}

.pr-section--light .pr-stage-path__number {
  color: var(--pr-color-light-accent-ink);
}

.pr-section--light .pr-stage-path__label {
  color: var(--pr-color-light-muted);
}

.pr-section--light .pr-stage-path__title {
  color: var(--pr-color-light-text);
}

.pr-section--light .pr-stage-path__list li {
  color: var(--pr-color-light-body);
}

/* Final CTA */
.pr-cta {
  position: relative;
  overflow: hidden;
  padding-block: 80px;
  border-block: 1px solid rgba(0, 229, 255, 0.26);
  background:
    radial-gradient(circle at 50% 10%, rgba(0, 229, 255, 0.16), transparent 42%),
    linear-gradient(180deg, var(--pr-context-card, var(--pr-color-card)), var(--pr-context-bg-soft, var(--pr-color-bg-soft)));
}

.pr-cta::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  pointer-events: none;
}

.pr-cta__content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.pr-cta__title { margin-bottom: var(--pr-space-5); }

.pr-cta__description {
  max-width: 720px;
  margin: 0 auto;
}

.pr-cta :is(.pr-actions, .wp-block-buttons.pr-actions) {
  justify-content: center;
}

/* Resource guide content */
.pr-guide-content {
  max-width: var(--pr-narrow);
  margin-inline: auto;
}

.pr-guide-content h2 {
  margin-top: var(--pr-space-8);
  margin-bottom: var(--pr-space-5);
  font-size: 36px;
}

.pr-guide-content h3 {
  margin-top: var(--pr-space-6);
  margin-bottom: var(--pr-space-4);
  font-size: 26px;
}

/* Capability overview */
.pr-capability-hero__visual {
  min-width: 0;
}

.pr-capability-proof {
  display: block;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 209, 209, 0.32);
}

.pr-capability-proof > .wp-block-group__inner-container {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pr-capability-proof > .wp-block-group__inner-container::before,
.pr-capability-proof > .wp-block-group__inner-container::after {
  position: absolute;
  top: 0;
  width: 1px;
  height: 48px;
  background: var(--pr-context-border, var(--pr-color-border));
  content: "";
}

.pr-capability-proof > .wp-block-group__inner-container::before { left: 33.333%; }
.pr-capability-proof > .wp-block-group__inner-container::after { left: 66.666%; }

.pr-capability-proof__item {
  min-width: 0;
  margin: 0;
  padding: 0 20px;
}

.pr-capability-proof__item:first-child { padding-left: 0; }
.pr-capability-proof__item:last-child { padding-right: 0; }

.pr-capability-proof__value {
  margin: 0 0 6px !important;
  color: var(--pr-context-accent, var(--pr-color-primary));
  font-size: 24px;
  font-weight: var(--pr-weight-bold);
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.pr-capability-proof__label {
  margin: 0 !important;
  color: var(--pr-context-muted, var(--pr-color-muted));
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.pr-capability-area-grid .pr-card__body {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.pr-capability-area-grid .pr-card__meta {
  min-height: 1.4em;
  white-space: nowrap;
}

.pr-capability-area-grid .pr-card__title { min-height: 2.5em; }

.pr-capability-area-grid .pr-card__body > p:not(.pr-card__meta, .pr-card__link) {
  min-height: 7.75em;
}

.pr-capability-area-grid .pr-card__link {
  margin-top: auto !important;
}

/* Project record hero */
:is(.pr-project-hero__grid, .pr-project-hero__visual, .pr-project-hero__meta, .pr-project-hero__meta-item) > .wp-block-group__inner-container {
  display: contents;
}

.pr-project-hero .pr-project-hero__grid {
  grid-template-columns: minmax(0, 56fr) minmax(420px, 44fr);
  gap: var(--pr-space-8);
  align-items: center;
}

.pr-project-hero__visual {
  position: relative;
  display: grid;
  min-width: 0;
}

.pr-project-hero__media {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0 !important;
}

.pr-project-hero__media img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.pr-project-hero__index {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  margin: 0 !important;
  padding: 8px 11px 8px 10px;
  border-left: 2px solid var(--pr-context-accent, var(--pr-color-primary));
  background: rgba(10, 12, 14, 0.88);
  color: var(--pr-context-text, var(--pr-color-text));
  font-size: 11px;
  font-weight: var(--pr-weight-bold);
  letter-spacing: 0.08em;
  line-height: 1;
}

.pr-project-hero__meta {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 24px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--pr-context-border, var(--pr-color-border));
}

.pr-project-hero__meta::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 52px;
  height: 1px;
  background: var(--pr-context-accent, var(--pr-color-primary));
  content: "";
}

.pr-project-hero__meta-item {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.pr-project-hero__meta-label {
  margin: 0 0 6px !important;
  color: var(--pr-context-accent, var(--pr-color-primary));
  font-size: 12px;
  font-weight: var(--pr-weight-bold);
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.pr-project-hero__meta-value {
  margin: 0 !important;
  color: var(--pr-context-body, var(--pr-color-body));
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.pr-project-hero__content {
  min-width: 0;
  max-width: 560px;
}

.pr-project-hero__content .pr-hero__title {
  max-width: 560px;
}

/* Resources: editorial document system */
:where(.pr-page-resources) .pr-grid:has(:is(.pr-resource-card, .pr-document-card)) {
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 0;
  border-top: 1px solid var(--pr-context-border, var(--pr-color-border));
}

:where(.pr-page-resources) :is(.pr-resource-card, .pr-document-card) {
  min-height: 0;
  border: 0;
  border-bottom: 1px solid var(--pr-context-border, var(--pr-color-border));
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

:where(.pr-page-resources) :is(.pr-resource-card, .pr-document-card)::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 72px;
  height: 1px;
  background: var(--pr-context-accent, var(--pr-color-primary));
  opacity: 0.45;
  content: "";
  transition: width var(--pr-transition), opacity var(--pr-transition);
}

:where(.pr-page-resources) .pr-resource-card > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
}

:where(.pr-page-resources) :is(
  .pr-resource-card:not(:has(.pr-media)),
  .pr-document-card
) > .wp-block-group__inner-container {
  display: block;
}

:where(.pr-page-resources) .pr-resource-card .pr-media {
  height: 100%;
  min-height: 220px;
  aspect-ratio: auto;
  border: 0;
  border-right: 1px solid var(--pr-context-border, var(--pr-color-border));
}

:where(.pr-page-resources) .pr-resource-card .pr-media img {
  filter: saturate(0.84) contrast(1.04);
  transform: none;
}

:where(.pr-page-resources) :is(.pr-resource-card, .pr-document-card) .pr-card__body {
  min-height: 0;
  padding: 30px 34px;
}

:where(.pr-page-resources) :is(.pr-resource-card, .pr-document-card) :is(.pr-card__title, .pr-card__link a) {
  transition: color var(--pr-transition), transform var(--pr-transition);
}

:where(.pr-page-resources) :is(.pr-resource-card, .pr-document-card):is(:hover, :focus-within) {
  border-color: var(--pr-context-border, var(--pr-color-border));
  background: var(--pr-context-hover-bg, rgba(255, 255, 255, 0.02));
  box-shadow: none;
  transform: none;
}

:where(.pr-page-resources) :is(.pr-resource-card, .pr-document-card):is(:hover, :focus-within)::before {
  width: 128px;
  opacity: 0.85;
}

:where(.pr-page-resources) :is(.pr-resource-card, .pr-document-card):is(:hover, :focus-within) :is(.pr-card__title, .pr-card__link a) {
  color: var(--pr-context-accent, var(--pr-color-primary));
  transform: translateX(3px);
}

:where(.pr-resource-detail) .pr-guide-content h2 {
  padding-top: var(--pr-space-7);
  border-top: 1px solid var(--pr-context-border, var(--pr-color-border));
}

:where(.pr-resource-detail) .pr-guide-content h2:first-child {
  padding-top: 0;
  border-top: 0;
}

/* Product detail families */
:where(.pr-product-detail) .pr-grid:has(.pr-icon-card__number) {
  grid-auto-rows: auto;
}

:where(.pr-product-detail) .pr-grid:has(.pr-icon-card__number) .pr-icon-card {
  min-height: 0;
  box-shadow: none;
  transform: none;
}

:where(.pr-product-detail) .pr-grid:has(.pr-icon-card__number) .pr-icon-card:is(:hover, :focus-within) {
  border-color: var(--pr-context-border, var(--pr-color-border));
  box-shadow: none;
  transform: none;
}

:where(.pr-product-family--construction) .pr-grid--4:has(.pr-icon-card__number) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--pr-context-border, var(--pr-color-border));
}

:where(.pr-product-family--construction) .pr-grid--4:has(.pr-icon-card__number) .pr-icon-card {
  border: 0;
  border-radius: 0;
  background: var(--pr-context-card, var(--pr-color-card));
}

:where(.pr-product-family--light-form) .pr-grid--4:has(.pr-icon-card__number) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--pr-context-border, var(--pr-color-border));
}

:where(.pr-product-family--light-form) .pr-grid--4:has(.pr-icon-card__number) .pr-icon-card {
  border: 0;
  border-right: 1px solid var(--pr-context-border, var(--pr-color-border));
  border-radius: 0;
  background: transparent;
}

:where(.pr-product-family--light-form) .pr-grid--4:has(.pr-icon-card__number) .pr-icon-card:last-child {
  border-right: 0;
}

:where(.pr-product-family--material) .pr-grid--4:has(.pr-icon-card__number) {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--pr-context-border, var(--pr-color-border));
}

:where(.pr-product-family--material) .pr-grid--4:has(.pr-icon-card__number) .pr-icon-card {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--pr-context-border, var(--pr-color-border));
  border-radius: 0;
  background: transparent;
}

:where(.pr-product-family--material) .pr-grid--4:has(.pr-icon-card__number) .pr-icon-card > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 90px minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: var(--pr-space-5);
  align-items: start;
  padding: 24px 0;
}

:where(.pr-product-family--material) .pr-icon-card :is(.pr-icon-card__number, .pr-card__title, p:last-child) {
  margin: 0;
}

/* Application detail families */
:where(.pr-application-detail) .pr-grid--3:has(.pr-icon-card__number) {
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 0;
  border-top: 1px solid var(--pr-context-border, var(--pr-color-border));
}

:where(.pr-application-detail) .pr-grid--3:has(.pr-icon-card__number) .pr-icon-card {
  min-height: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--pr-context-border, var(--pr-color-border));
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

:where(.pr-application-detail) .pr-grid--3:has(.pr-icon-card__number) .pr-icon-card > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 120px minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: var(--pr-space-5);
  align-items: start;
  padding: 24px 0;
}

:where(.pr-application-detail) .pr-grid--3:has(.pr-icon-card__number) .pr-icon-card :is(.pr-icon-card__number, .pr-card__title, p:last-child) {
  margin: 0;
}

:where(.pr-application-detail) .pr-grid--3:has(.pr-card__meta) .pr-card {
  box-shadow: none;
  transform: none;
}

:where(.pr-application-detail) .pr-grid--3:has(.pr-card__meta) .pr-card:is(:hover, :focus-within) {
  border-color: rgba(0, 229, 255, 0.36);
  box-shadow: inset 2px 0 0 rgba(0, 229, 255, 0.36);
  transform: none;
}

:where(.pr-application-family--rollout) .pr-grid--3:has(.pr-icon-card__number) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--pr-context-border, var(--pr-color-border));
}

:where(.pr-application-family--rollout) .pr-grid--3:has(.pr-icon-card__number) .pr-icon-card {
  padding: var(--pr-space-6);
  border-right: 1px solid var(--pr-context-border, var(--pr-color-border));
  border-bottom: 0;
}

:where(.pr-application-family--rollout) .pr-grid--3:has(.pr-icon-card__number) .pr-icon-card:last-child {
  border-right: 0;
}

:where(.pr-application-family--rollout) .pr-grid--3:has(.pr-icon-card__number) .pr-icon-card > .wp-block-group__inner-container {
  display: block;
  padding: 0;
}

/* Capability detail modes */
:where(.pr-capability-detail) .pr-grid--3:has(.pr-decision-card) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--pr-context-border, var(--pr-color-border));
}

:where(.pr-capability-detail) .pr-grid--3:has(.pr-decision-card) .pr-decision-card {
  min-height: 230px;
  border: 0;
  border-right: 1px solid var(--pr-context-border, var(--pr-color-border));
  border-radius: 0;
  background: transparent;
}

:where(.pr-capability-detail) .pr-grid--3:has(.pr-decision-card) .pr-decision-card:last-child {
  border-right: 0;
}

:where(.pr-capability-detail) .pr-grid:has(.pr-icon-card__number) {
  grid-auto-rows: auto;
}

:where(.pr-capability-detail) .pr-grid:has(.pr-icon-card__number) .pr-icon-card {
  min-height: 0;
  box-shadow: none;
  transform: none;
}

:where(.pr-capability-detail) .pr-grid:has(.pr-icon-card__number) .pr-icon-card:is(:hover, :focus-within) {
  border-color: inherit;
  box-shadow: inherit;
  transform: none;
}

:where(.pr-capability-mode--engineering) .pr-grid--3:has(.pr-icon-card__number) {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--pr-context-border, var(--pr-color-border));
}

:where(.pr-capability-mode--engineering) .pr-grid--3:has(.pr-icon-card__number) .pr-icon-card {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--pr-context-border, var(--pr-color-border));
  border-radius: 0;
  background: transparent;
}

:where(.pr-capability-mode--engineering) .pr-grid--3:has(.pr-icon-card__number) .pr-icon-card > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 130px minmax(220px, 0.68fr) minmax(0, 1fr);
  gap: var(--pr-space-5);
  align-items: start;
  padding: 22px 0;
}

:where(.pr-capability-mode--manufacturing, .pr-capability-mode--inspection) .pr-grid--3:has(.pr-icon-card__number) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--pr-context-border, var(--pr-color-border));
}

:where(.pr-capability-mode--manufacturing, .pr-capability-mode--inspection) .pr-grid--3:has(.pr-icon-card__number) .pr-icon-card {
  border: 0;
  border-radius: 0;
  background: var(--pr-context-card, var(--pr-color-card));
}

:where(.pr-capability-mode--inspection) .pr-grid--3:has(.pr-icon-card__number) .pr-icon-card {
  box-shadow: inset 2px 0 0 rgba(0, 229, 255, 0.32);
}

:where(.pr-capability-mode--logistics) .pr-grid--3:has(.pr-icon-card__number) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--pr-context-border, var(--pr-color-border));
}

:where(.pr-capability-mode--logistics) .pr-grid--3:has(.pr-icon-card__number) .pr-icon-card {
  border: 0;
  border-right: 1px solid var(--pr-context-border, var(--pr-color-border));
  border-radius: 0;
  background: transparent;
}

:where(.pr-capability-mode--logistics) .pr-grid--3:has(.pr-icon-card__number) .pr-icon-card:nth-child(3n) {
  border-right: 0;
}

/* About record rows */
:where(.pr-about-page) .pr-grid--4:has(.pr-evidence-card--summary) {
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 0;
  border-top: 1px solid var(--pr-context-border, var(--pr-color-border));
}

:where(.pr-about-page) .pr-evidence-card--summary {
  min-height: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--pr-context-border, var(--pr-color-border));
  border-radius: 0;
  background: transparent;
}

:where(.pr-about-page) .pr-evidence-card--summary > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 150px minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: var(--pr-space-5);
  align-items: start;
  padding: 24px 0;
}

:where(.pr-about-page) .pr-evidence-card--summary::after {
  display: none;
}

:where(.pr-about-page) :is(.pr-evidence-card--summary, .pr-cert-card):is(:hover, :focus-within) {
  border-color: var(--pr-context-border, var(--pr-color-border));
  box-shadow: none;
  transform: none;
}

:where(.pr-about-page) .pr-spec-table tbody tr:hover,
:where(.pr-about-page) .pr-spec-table tbody tr:hover th {
  background: transparent;
}

/* Partner production path */
:where(.pr-partners-page) .pr-hero__grid {
  align-items: start;
}

:where(.pr-partners-page) .pr-hero__title {
  max-width: 650px;
  font-size: 52px;
}

:where(.pr-partners-page) .pr-hero__media {
  height: 520px;
}

:where(.pr-partners-page) .pr-grid--4:has(.pr-partner-card) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--pr-context-border, var(--pr-color-border));
}

:where(.pr-partners-page) .pr-partner-card {
  min-height: 280px;
  border: 0;
  border-right: 1px solid var(--pr-context-border, var(--pr-color-border));
  border-radius: 0;
  background: transparent;
}

:where(.pr-partners-page) .pr-partner-card:last-child {
  border-right: 0;
}

:where(.pr-partners-page) .pr-partner-card:is(:hover, :focus-within) {
  border-color: var(--pr-context-border, var(--pr-color-border));
  background: var(--pr-context-hover-bg, rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 2px 0 rgba(0, 229, 255, 0.34);
  transform: none;
}

.pr-partner-evidence .pr-media {
  background: var(--pr-context-card, var(--pr-color-card));
}

/* RFQ page */
:where(.pr-rfq-page) .pr-hero {
  background:
    radial-gradient(circle at 82% 16%, rgba(0, 229, 255, 0.055), transparent 30%),
    linear-gradient(135deg, #111316 0%, #0e1012 100%);
}

:where(.pr-rfq-page) .pr-hero::before {
  opacity: 0.42;
}

:where(.pr-rfq-page) :is(.pr-form-shell, .pr-contact-card) {
  box-shadow: none;
}

:where(.pr-rfq-page) .pr-contact-card {
  background: rgba(20, 26, 34, 0.58);
}
