/* ==========================================================================
   Solutions / sector pages (R13): Discrete, Optics, Aerospace, Machinery,
   Instrumentation. Shared components live in src/components/solutions/.
   ========================================================================== */

/* Hero (SectorHero) ------------------------------------------------------ */

.sol-hero { padding-top: 72px; }
.sol-hero .hero__eyebrow { margin-top: 28px; }
.sol-hero__title {
  margin-top: 20px; max-width: 1080px;
  font-size: clamp(42px, 6vw, 72px); line-height: 1; font-weight: 700; letter-spacing: -0.04em;
  color: var(--navy);
}
.sol-hero .hero__row { margin-top: 28px; }
.sol-hero__lede { flex: 1 1 780px; max-width: 780px; font-size: 20px; line-height: 1.55; }
.sol-hero__lede--narrow { flex-basis: 420px; max-width: 660px; }
.sol-hero .container--wide { padding-bottom: 88px; }

.sol-photo { position: relative; height: 440px; border-radius: 32px 32px 0 0; overflow: hidden; }
.sol-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.sol-photo--shade::after { content: ""; position: absolute; inset: 0; background: rgba(15,23,41,.18); }
.sol-float {
  position: absolute; z-index: 1;
  background: var(--white); border-radius: 16px; padding: 14px 18px;
  box-shadow: 0 16px 36px rgba(15,23,41,.3);
  animation: piq-float 6s ease-in-out infinite;
}
.sol-float--a { left: 5%; top: 14%; }
.sol-float--b { right: 6%; bottom: 18%; background: var(--orange); animation-duration: 7s; animation-delay: 1s; }
.sol-float__label { font-size: 12px; font-weight: 600; color: var(--petrol); }
.sol-float--b .sol-float__label { color: var(--navy); }
.sol-float__value { margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--navy); }
.sol-illus {
  position: absolute; right: 16px; bottom: 12px; z-index: 1;
  font-size: 11px; color: var(--white); background: rgba(15,23,41,.55); padding: 3px 7px; border-radius: 4px;
}

/* Sector cross-links (SectorNav) ----------------------------------------- */

.sol-nav {
  display: flex; flex-wrap: wrap;
  background: var(--white); border-radius: 0 0 32px 32px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(15,23,41,.18);
}
.sol-nav__label {
  flex: 1 1 150px; padding: 20px 22px; background: var(--navy);
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; color: var(--white);
}
.sol-nav__label::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 999px; background: var(--teal-bright);
}
.sol-nav__link {
  flex: 1 1 160px; padding: 20px 18px; border-left: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  text-decoration: none; font-size: 14px; line-height: 1.35; font-weight: 600; color: var(--navy);
  transition: background-color .15s ease;
}
.sol-nav__link span { color: var(--petrol); }
.sol-nav__link:hover { background: var(--bg); color: var(--navy); }
.sol-nav__link[aria-current="page"] {
  font-weight: 700; color: var(--petrol); background: var(--bg);
  box-shadow: inset 0 -3px 0 var(--teal);
}

/* Section shell (SectorSection) ------------------------------------------ */

.sol-pt-24 > .container--threaded { padding-top: 24px; }
.sol-pt-72 > .container--threaded { padding-top: 72px; }
.sol-node-top .thread__node { top: 8px; }
.sol-node-mid .thread__node { top: 80px; }

.sol-navy { background: var(--navy); color: var(--white); }
.sol-navy .eyebrow, .sol-navy .h3-lg { color: var(--white); }
.sol-navy .section-intro { color: var(--mist); }

.sol-h2-xl { font-size: clamp(34px, 4.4vw, 52px); }
.sol-h2-lead { max-width: 1000px; }
.sol-lede { margin-top: 24px; max-width: 780px; font-size: 19px; line-height: 1.6; }
.sol-navy .sol-lede, .section--slate .sol-lede { color: var(--mist); }

/* Marks ------------------------------------------------------------------ */

.sol-check {
  flex: none; width: 24px; height: 24px;
  fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.sol-check--lg { width: 28px; height: 28px; }

/* Industry insight (SectorInsight) --------------------------------------- */

.sol-statement {
  margin-top: 20px; max-width: 1000px;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em;
  color: var(--navy);
}
.sol-body { margin-top: 24px; max-width: 840px; font-size: 19px; line-height: 1.65; }

.sol-points { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 48px; }
.sol-point { flex: 1 1 280px; padding-top: 22px; border-top: 2px solid var(--navy); }
.sol-point h3 { font-size: 21px; line-height: 1.3; font-weight: 700; color: var(--navy); }
.sol-point p { margin-top: 10px; font-size: 16px; line-height: 1.6; }
.sol-points--4 { gap: 32px; }
.sol-points--4 .sol-point { flex-basis: 240px; }
.sol-points--4 .sol-point h3 { font-size: 20px; }
.sol-points--4 .sol-point p { font-size: 15px; }
.sol-points--lg .sol-point h3 { font-size: 22px; line-height: 1.25; }

.sol-summary { margin-top: 48px; max-width: 880px; display: flex; gap: 16px; align-items: flex-start; }
.sol-summary p { font-size: 18px; line-height: 1.6; font-weight: 600; color: var(--navy); }
.sol-sources { margin-top: 28px; font-size: 13px; color: var(--slate); }

/* Challenges (SectorChallenges) ------------------------------------------ */

.sol-compare { margin-top: 40px; }
.sol-compare .compare__head { padding-bottom: 12px; }
.sol-compare .compare__row { padding: 24px 0; }

/* Capabilities (SectorCaps) ---------------------------------------------- */

.sol-caps { display: flex; flex-wrap: wrap; gap: 48px 40px; margin-top: 56px; }
.sol-cap {
  flex: 1 1 300px; padding-top: 24px; border-top: 2px solid var(--teal-bright);
  display: flex; flex-direction: column; align-items: flex-start;
}
.sol-cap svg {
  flex: none; width: 32px; height: 32px; fill: none; stroke: var(--teal-bright);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.sol-cap h3 { margin-top: 16px; font-size: 22px; line-height: 1.25; font-weight: 700; color: var(--white); }
.sol-cap p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--mist); }
.sol-cap__link { margin-top: 12px; padding: 4px 0; font-size: 15px; font-weight: 600; color: var(--white); }
.sol-cap__link:hover { color: var(--teal-bright); }

.sol-tag {
  display: inline-block; margin-top: 12px;
  font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--navy);
  background: var(--teal-bright); padding: 4px 10px; border-radius: 999px;
}
.sol-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sol-tags .sol-tag { margin-top: 0; }

/* Customer story (SectorStory) ------------------------------------------- */

.sol-story {
  margin-top: 24px; display: flex; flex-wrap: wrap; text-decoration: none; color: var(--ink);
  background: var(--white); border-radius: 32px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(15,23,41,.12);
  transition: box-shadow .2s ease;
}
.sol-story:hover { color: var(--ink); box-shadow: 0 36px 72px rgba(15,23,41,.18); }
.sol-story__media { flex: 1 1 380px; min-height: 340px; position: relative; }
.sol-story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.sol-story__body { flex: 1 1 460px; padding: 44px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.sol-story__who { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sol-story__company { font-size: 18px; font-weight: 700; color: var(--navy); }
.sol-story__stat { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); }
.sol-story__stat-text { font-size: 16px; color: var(--ink); }
.sol-story__mark { height: 30px; font-size: 64px; line-height: 1; font-weight: 700; color: var(--teal-bright); }
.sol-story__quote { font-size: 22px; line-height: 1.4; font-weight: 600; color: var(--navy); }
.sol-story__cite { font-size: 14px; color: var(--slate); }
.sol-story__more { font-size: 16px; font-weight: 600; color: var(--petrol); }
.sol-story:hover .sol-story__more { text-decoration: underline; }

/* Editions table (SectorEditions) ---------------------------------------- */

.sol-head-link { padding: 8px 0; font-size: 16px; font-weight: 600; }
.sol-table-wrap {
  margin-top: 28px; overflow-x: auto;
  background: var(--white); border-radius: 24px; box-shadow: 0 20px 48px rgba(15,23,41,.08);
}
.sol-table { width: 100%; min-width: 520px; border-collapse: collapse; }
.sol-table th, .sol-table td { padding: 13px 8px; text-align: center; vertical-align: middle; }
.sol-table th:first-child, .sol-table td:first-child { width: 40%; padding-left: 28px; text-align: left; }
.sol-table tr > :last-child { padding-right: 28px; }
.sol-table thead th { padding-top: 18px; padding-bottom: 18px; background: var(--navy); color: var(--white); font-size: 15px; font-weight: 700; }
.sol-table thead th:first-child { font-size: 13px; font-weight: 600; color: #DDF3EF; }
.sol-table thead th:last-child { color: var(--teal-bright); }
.sol-table tbody tr { border-top: 1px solid #EEF2F4; }
.sol-table tbody th { font-size: 15px; font-weight: 400; color: var(--ink); }
.sol-table .sol-check { width: 22px; height: 22px; display: block; }
.sol-yes { display: inline-flex; vertical-align: middle; }
.sol-no { display: inline-block; width: 14px; height: 2px; background: #C9D3D9; vertical-align: middle; }
.sol-addon { font-size: 12px; font-weight: 600; color: var(--navy); background: var(--line); padding: 3px 9px; border-radius: 999px; }

/* Discrete: the sector (split head) -------------------------------------- */

.sol-split { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; }
.sol-split__main { flex: 1 1 520px; }
.sol-split__aside { flex: 1 1 380px; font-size: 18px; line-height: 1.6; }

/* Discrete: the game is changing (navy) ---------------------------------- */

.sol-trends { display: flex; flex-wrap: wrap; gap: 44px 36px; margin-top: 56px; }
.sol-trend {
  flex: 1 1 260px; padding-top: 24px; border-top: 2px solid var(--teal-bright);
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.sol-trend svg {
  flex: none; width: 32px; height: 32px; fill: none; stroke: var(--teal-bright);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.sol-trend h3 { margin-top: 6px; font-size: 22px; font-weight: 700; color: var(--white); }
.sol-trend__lead { font-size: 16px; line-height: 1.5; font-weight: 600; color: #DDF3EF; }
.sol-trend__text { font-size: 15px; line-height: 1.6; color: var(--mist); }
.sol-trend a { margin-top: 4px; padding: 4px 0; font-size: 15px; font-weight: 600; color: var(--white); }
.sol-trend a:hover { color: var(--teal-bright); }
.sol-note { margin-top: 48px; font-size: 15px; color: var(--mist); }
.sol-note a { color: var(--teal-bright); font-weight: 600; }
.sol-note a:hover { color: var(--white); }

/* Discrete: find your industry ------------------------------------------- */

.sol-sectors { display: flex; flex-wrap: wrap; gap: 0 48px; margin-top: 40px; }
.sol-sector {
  flex: 1 1 340px; min-width: 0; display: flex; gap: 20px; align-items: center;
  padding: 20px 0; border-top: 1px solid var(--line-strong); text-decoration: none; color: var(--ink);
}
.sol-sector--half { flex: 0 1 calc(50% - 24px); }
.sol-sector:hover { color: var(--ink); }
.sol-sector__img { flex: none; width: 120px; height: 90px; border-radius: 16px; overflow: hidden; }
.sol-sector__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform .3s ease; }
.sol-sector:hover .sol-sector__img img { transform: scale(1.06); }
.sol-sector__body { flex: 1; min-width: 0; }
.sol-sector__name, .sol-sector__text { display: block; }
.sol-sector__name { font-size: 20px; font-weight: 700; color: var(--navy); }
.sol-sector__text { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.sol-sector__arrow { font-size: 22px; color: var(--petrol); transition: transform .2s ease; }
.sol-sector:hover .sol-sector__arrow { transform: translateX(4px); }

/* Discrete: proof strip --------------------------------------------------- */

.sol-list-head h2 { font-size: 40px; }
.sol-proof {
  margin-top: 32px; display: flex; flex-wrap: wrap;
  background: var(--white); border-radius: 28px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(15,23,41,.08);
}
.sol-proof .stat { padding: 28px 24px; }
.sol-proof .stat:first-child { border-left: 0; }
.sol-proof .stat__value { font-size: 38px; }
.sol-proof .stat__source { margin-top: 0; padding-top: 0; }

/* Optics: ALCOA ------------------------------------------------------------ */

.sol-alcoa { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 44px; }
.sol-alcoa__item { flex: 1 1 180px; padding-top: 20px; border-top: 2px solid var(--navy); }
.sol-alcoa { margin-bottom: 0; }
.sol-alcoa__letter, .sol-alcoa__name { display: block; }
.sol-alcoa__letter { font-size: 44px; line-height: 1; font-weight: 700; color: var(--teal); }
.sol-alcoa__name { margin-top: 10px; font-size: 18px; font-weight: 700; color: var(--navy); }
.sol-alcoa__text { margin: 6px 0 0; font-size: 15px; line-height: 1.5; }

/* Aerospace: air-gapped card ---------------------------------------------- */

.sol-airgap { padding: 56px; border-radius: 32px; background: var(--navy); color: var(--white); }
.sol-airgap h2 {
  max-width: 900px;
  font-size: clamp(30px, 3.8vw, 48px); line-height: 1.06; font-weight: 700; letter-spacing: -0.03em; color: var(--white);
}
.sol-airgap .section-intro { color: var(--mist); }
.sol-airgap__grid { display: flex; flex-wrap: wrap; gap: 40px 36px; margin-top: 48px; }
.sol-airgap__item { flex: 1 1 240px; display: flex; flex-direction: column; gap: 10px; }
.sol-airgap__item svg {
  flex: none; width: 32px; height: 32px; fill: none; stroke: var(--teal-bright);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.sol-airgap__item h3 { margin-top: 6px; font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--white); }
.sol-airgap__item p { font-size: 15px; line-height: 1.6; color: var(--mist); }
.sol-airgap .btn-group { margin-top: 44px; }

/* Aerospace: trusted ------------------------------------------------------- */

.sol-trusted h2 {
  margin-top: 20px;
  font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; color: var(--navy);
}
.sol-trusted h2 + p { margin-top: 18px; font-size: 17px; line-height: 1.6; }

/* Responsive --------------------------------------------------------------- */

@media (max-width: 960px) {
  .sol-sector--half { flex: 1 1 340px; }
}

@media (max-width: 720px) {
  .sol-hero { padding-top: 56px; }
  .sol-hero__lede { font-size: 18px; flex-basis: 100%; }
  .sol-hero .container--wide { padding-bottom: 64px; }
  .sol-photo { height: 300px; }
  .sol-float { padding: 10px 14px; }
  .sol-float--a { left: 16px; top: 16px; }
  .sol-float--b { right: 16px; bottom: 40px; }
  .sol-float__value { font-size: 14px; }

  .sol-nav__label, .sol-nav__link { flex-basis: 100%; }
  .sol-nav__link { border-left: 0; border-top: 1px solid var(--line); }

  .sol-body { font-size: 17px; }
  .sol-split__main, .sol-split__aside, .sol-point, .sol-cap, .sol-trend { flex-basis: 100%; }
  .sol-split__aside { font-size: 17px; }

  .sol-story__media { flex-basis: 100%; min-height: 240px; }
  .sol-story__body { flex-basis: 100%; padding: 32px 24px; }
  .sol-story__stat { font-size: 36px; }
  .sol-story__quote { font-size: 20px; }

  .sol-table th:first-child, .sol-table td:first-child { padding-left: 20px; }
  .sol-table tr > :last-child { padding-right: 20px; }

  .sol-sector { flex-basis: 100%; gap: 14px; }
  .sol-sector__img { width: 88px; height: 66px; border-radius: 12px; }
  .sol-sector__name { font-size: 18px; }
  .sol-list-head h2 { font-size: 32px; }
  .sol-proof .stat { border-left: 0; border-top: 1px solid var(--line); }
  .sol-proof .stat:first-child { border-top: 0; }

  .sol-airgap { padding: 32px 24px; }
}
