/* Scoped to .pf-cs-aerospace only — Fabrication & Aerospace case study page */
.pf-cs-aerospace {
  --navy: #062A5E;
  --navy2: #0B1F3A;
  --teal: #00A5A8;
  --purple: #714B67;
  --orange: #F28C28;
  --blue: #2563EB;
  --red: #D94A5A;
  --ink: #172033;
  --muted: #5D6B80;
  --light: #F4F7FB;
  --border: #DDE5EF;
  --white: #fff;
  --shadow: 0 18px 50px rgba(7, 31, 65, 0.10);
  --pf-cs-font: Inter, Arial, Helvetica, sans-serif;

  margin: 0;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  font-family: var(--pf-cs-font) !important;
  font-style: normal !important;
}

.pf-cs-aerospace,
.pf-cs-aerospace *,
.pf-cs-aerospace *::before,
.pf-cs-aerospace *::after {
  box-sizing: border-box;
  font-family: var(--pf-cs-font) !important;
  font-style: normal !important;
}

.pf-cs-aerospace a {
  color: inherit;
  text-decoration: none;
}

.pf-cs-aerospace .container {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}

.pf-cs-aerospace .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--teal);
}

.pf-cs-aerospace h1,
.pf-cs-aerospace h2,
.pf-cs-aerospace h3 {
  line-height: 1.12;
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}

.pf-cs-aerospace h1 {
  font-size: clamp(1.9rem, 3.6vw, 3.25rem);
  max-width: 720px;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.pf-cs-aerospace h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.pf-cs-aerospace h3 {
  font-size: 1.28rem;
}

.pf-cs-aerospace p {
  margin: 0.75rem 0;
}

.pf-cs-aerospace .lead {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: #DCEAF7;
  max-width: 770px;
}

.pf-cs-aerospace .section {
  padding: 92px 0;
}

.pf-cs-aerospace .section.alt {
  background: var(--light);
}

.pf-cs-aerospace .section-head {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 44px;
}

.pf-cs-aerospace .section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.pf-cs-aerospace .hero {
  min-height: 720px;
  color: white;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(6, 24, 52, 0.98) 0%,
      rgba(6, 42, 94, 0.95) 42%,
      rgba(6, 42, 94, 0.55) 68%,
      rgba(6, 42, 94, 0.18) 100%
    ),
    url("/pf_custom_page_study_url/static/src/img/aerospace/hero-manufacturing.jpg")
      right center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.pf-cs-aerospace .hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(transparent, #fff);
}

.pf-cs-aerospace .hero-inner {
  position: relative;
  z-index: 1;
  padding: 90px 0 145px;
  max-width: none;
}

.pf-cs-aerospace .hero .eyebrow {
  color: #6FE1E2;
}

.pf-cs-aerospace .hero h1 {
  color: #fff;
  margin: 18px 0 24px;
  max-width: 640px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.pf-cs-aerospace .hero .lead {
  max-width: 620px;
}

.pf-cs-aerospace .hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.pf-cs-aerospace .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.pf-cs-aerospace .btn.primary {
  background: var(--teal);
  color: #062A5E;
}

.pf-cs-aerospace .btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.pf-cs-aerospace .stats {
  margin-top: -78px;
  position: relative;
  z-index: 3;
}

.pf-cs-aerospace .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pf-cs-aerospace .stat {
  padding: 30px 25px;
  border-right: 1px solid var(--border);
}

.pf-cs-aerospace .stat:last-child {
  border: 0;
}

.pf-cs-aerospace .stat strong {
  display: block;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  color: var(--navy);
  letter-spacing: -0.03em;
  word-break: break-word;
}

.pf-cs-aerospace .stat span {
  color: var(--muted);
  font-size: 0.95rem;
}

.pf-cs-aerospace .intro-grid {
  display: grid !important;
  grid-template-columns: 1.15fr 0.85fr !important;
  gap: 55px;
  align-items: start;
  direction: ltr;
}

.pf-cs-aerospace .intro-grid > .intro-copy {
  grid-column: 1 !important;
  order: 1 !important;
  min-width: 0;
}

.pf-cs-aerospace .intro-grid > .industry-card {
  grid-column: 2 !important;
  order: 2 !important;
  min-width: 0;
}

.pf-cs-aerospace .intro-copy h2 {
  font-weight: 800;
  color: var(--navy) !important;
  margin: 12px 0 18px !important;
}

.pf-cs-aerospace .intro-copy p {
  font-size: 1.08rem;
  color: var(--ink);
  margin: 0.75rem 0;
}

.pf-cs-aerospace .industry-card {
  background: var(--navy) !important;
  color: #fff !important;
  border-radius: 28px;
  padding: 35px;
  box-shadow: var(--shadow);
  float: none !important;
  width: auto !important;
  max-width: none !important;
}

.pf-cs-aerospace .industry-card .eyebrow {
  color: var(--teal) !important;
}

.pf-cs-aerospace .industry-card h3 {
  color: #fff !important;
  font-size: 1.65rem;
  margin: 9px 0 18px;
  font-weight: 800;
}

.pf-cs-aerospace .checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pf-cs-aerospace .checklist li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: #DCE7F4 !important;
}

.pf-cs-aerospace .checklist li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #66E1D9 !important;
  font-weight: 900;
}

.pf-cs-aerospace .challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pf-cs-aerospace .card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 27px;
  box-shadow: 0 8px 24px rgba(7, 31, 65, 0.05);
}

.pf-cs-aerospace .card .num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: var(--red);
  margin-bottom: 18px;
}

.pf-cs-aerospace .card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.pf-cs-aerospace .solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.pf-cs-aerospace .solution {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  background: #fff;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
}

.pf-cs-aerospace .solution-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.15rem;
}

.pf-cs-aerospace .solution:nth-child(4n + 1) .solution-icon {
  background: var(--purple);
}

.pf-cs-aerospace .solution:nth-child(4n + 2) .solution-icon {
  background: var(--teal);
}

.pf-cs-aerospace .solution:nth-child(4n + 3) .solution-icon {
  background: var(--orange);
}

.pf-cs-aerospace .solution:nth-child(4n + 4) .solution-icon {
  background: var(--blue);
}

.pf-cs-aerospace .solution p {
  color: var(--muted);
  margin-bottom: 0;
}

.pf-cs-aerospace .feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
  margin: 75px 0;
}

.pf-cs-aerospace .feature.reverse .visual {
  order: -1;
}

.pf-cs-aerospace .feature .copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.pf-cs-aerospace .feature ul {
  padding-left: 20px;
}

.pf-cs-aerospace .visual img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: block;
}

.pf-cs-aerospace .quote {
  border-left: 5px solid var(--teal);
  background: #EAF8F8;
  border-radius: 0 18px 18px 0;
  padding: 22px 25px;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 700;
}

.pf-cs-aerospace .flow-strip {
  background: var(--navy2);
  color: #fff;
  border-radius: 30px;
  padding: 44px;
}

.pf-cs-aerospace .flow-strip h2 {
  color: #fff;
}

.pf-cs-aerospace .flow {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 26px;
}

.pf-cs-aerospace .flow span {
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}

.pf-cs-aerospace .flow b {
  color: #59D8D8;
}

.pf-cs-aerospace .results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pf-cs-aerospace .result {
  border-top: 4px solid var(--teal);
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pf-cs-aerospace .result:nth-child(3n + 2) {
  border-top-color: var(--purple);
}

.pf-cs-aerospace .result:nth-child(3n + 3) {
  border-top-color: var(--orange);
}

.pf-cs-aerospace .result h3 {
  font-size: 1.1rem;
}

.pf-cs-aerospace .result p {
  color: var(--muted);
  font-size: 0.94rem;
}

.pf-cs-aerospace .outcomes-block {
  margin-top: 55px;
}

.pf-cs-aerospace .outcomes-block > h2 {
  margin-bottom: 10px;
}

.pf-cs-aerospace .outcomes-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 820px;
  margin: 0 0 28px;
}

.pf-cs-aerospace .outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pf-cs-aerospace .outcome-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 18px 24px;
  border-top: 4px solid var(--teal);
  min-width: 0;
  overflow: hidden;
}

.pf-cs-aerospace .outcome-card:nth-child(2) {
  border-top-color: var(--purple);
}

.pf-cs-aerospace .outcome-card:nth-child(3) {
  border-top-color: var(--blue);
}

.pf-cs-aerospace .outcome-card:nth-child(4) {
  border-top-color: var(--orange);
}

.pf-cs-aerospace .outcome-card .outcome-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 8px;
}

.pf-cs-aerospace .outcome-card:nth-child(2) .outcome-label {
  color: var(--purple);
}

.pf-cs-aerospace .outcome-card:nth-child(3) .outcome-label {
  color: var(--blue);
}

.pf-cs-aerospace .outcome-card:nth-child(4) .outcome-label {
  color: var(--orange);
}

.pf-cs-aerospace .outcome-card .outcome-value {
  display: block;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.pf-cs-aerospace .outcome-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.pf-cs-aerospace .apps {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.pf-cs-aerospace .apps span {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
}

.pf-cs-aerospace .cta {
  background: linear-gradient(120deg, var(--navy2), var(--navy));
  color: #fff;
  border-radius: 32px;
  padding: 55px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.pf-cs-aerospace .cta h2 {
  color: #fff;
}

.pf-cs-aerospace .cta p {
  color: #DCE7F4;
}

@media (max-width: 850px) {
  .pf-cs-aerospace .section {
    padding: 68px 0;
  }

  .pf-cs-aerospace .section-head,
  .pf-cs-aerospace .intro-grid,
  .pf-cs-aerospace .feature,
  .pf-cs-aerospace .cta {
    grid-template-columns: 1fr !important;
  }

  .pf-cs-aerospace .intro-grid > .intro-copy,
  .pf-cs-aerospace .intro-grid > .industry-card {
    grid-column: 1 !important;
  }

  .pf-cs-aerospace .feature.reverse .visual {
    order: 0;
  }

  .pf-cs-aerospace .stats-grid,
  .pf-cs-aerospace .challenge-grid,
  .pf-cs-aerospace .solution-grid,
  .pf-cs-aerospace .results-grid,
  .pf-cs-aerospace .outcomes-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pf-cs-aerospace .stat:nth-child(2) {
    border-right: 0;
  }

  .pf-cs-aerospace .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .pf-cs-aerospace .hero {
    min-height: 680px;
    background-position: 65% center;
  }

  .pf-cs-aerospace .hero-inner {
    padding-top: 70px;
  }

  .pf-cs-aerospace .cta {
    padding: 38px;
  }

  .pf-cs-aerospace .section-head {
    gap: 15px;
  }
}

@media (max-width: 560px) {
  .pf-cs-aerospace .container {
    width: min(100% - 26px, 1160px);
  }

  .pf-cs-aerospace .stats-grid,
  .pf-cs-aerospace .challenge-grid,
  .pf-cs-aerospace .solution-grid,
  .pf-cs-aerospace .results-grid,
  .pf-cs-aerospace .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .pf-cs-aerospace .stat {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .pf-cs-aerospace .hero {
    min-height: 720px;
    background-position: 72% center;
  }

  .pf-cs-aerospace .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .pf-cs-aerospace .flow-strip {
    padding: 30px 22px;
  }

  .pf-cs-aerospace .solution {
    grid-template-columns: 1fr;
  }

  .pf-cs-aerospace .cta {
    padding: 30px 24px;
  }
}
