/* ============================================================
   CONTENT BLOCKS — shared building blocks for the company pages
   (Approach, Solutions, Industries, Technology, Innovation,
   Careers, Leadership). Load after page-hero.css.

   Blocks:
     .intro-row   heading left, text right
     .split       text + image
     .cells       joined bordered grid of cells (icons, numbers, lists)
     .tiles       joined bordered grid of image cards
     .steps       numbered rows with image (process)
     .rows        numbered rows (areas, products)
     .facts       dark gradient number strip
     .quote-band  full-width image quote
     .page-cta    closing band above the footer
============================================================ */

/* ── Intro row ── */
.intro-row {
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: clamp(40px, 7vw, 120px); align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.intro-row__text { max-width: 520px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.75; color: var(--muted); }
.section--dark .intro-row__text { color: rgba(var(--white-rgb), .68); }
.h2-spaced { margin-bottom: 56px; }

/* ── Split (text + image) ── */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.split__text { display: flex; flex-direction: column; gap: 22px; }
.split__text p { max-width: 580px; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.85; color: var(--muted); }
.split__text .split__lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.65; font-weight: 500; letter-spacing: -.01em; color: var(--text); }
.split__media { position: relative; margin: 0; aspect-ratio: 5 / 4; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-dark); }
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split__media:hover img { transform: scale(1.03); }
.split__badge {
  position: absolute; left: 0; bottom: 0; max-width: 260px;
  padding: 22px 28px; background: var(--ink); color: var(--white);
  border-top: 3px solid var(--accent-blue);
}
.split__badge strong { display: block; margin-bottom: 8px; font-size: 34px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.split__badge span { font: 500 10px/1.5 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-soft); }

/* ── Cells ── */
.cells { display: grid; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.cells--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cells--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cells--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.cell {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(28px, 3vw, 44px);
  background: var(--white); color: var(--text);
  border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.cell::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.cell__no { margin-bottom: 40px; font: 500 12px var(--font-mono); letter-spacing: .2em; color: var(--accent); transition: color .3s; }
.cell__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 30px;
  font: 600 15px var(--font-mono); letter-spacing: .06em;
  color: var(--accent); background: rgba(var(--accent-rgb), .06); border: 1px solid rgba(var(--accent-rgb), .35);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.cell__icon .material-icons-round { font-size: 28px; }
.cell h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.cell p { font-size: 14.5px; line-height: 1.75; color: var(--muted); transition: color .3s; }
.cell__role { font: 500 11px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); transition: color .3s; }
.cell__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
.cell__list {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-dark);
  transition: border-color .3s;
}
.cell__list li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.55; color: var(--muted); transition: color .3s; }
.cell__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--accent); }

.cell:hover, .cell:focus-within { background: var(--ink); color: var(--white); }
.cell:hover::before, .cell:focus-within::before { transform: scaleX(1); }
.cell:hover .cell__no, .cell:focus-within .cell__no,
.cell:hover .cell__role, .cell:focus-within .cell__role { color: var(--accent-soft); }
.cell:hover p, .cell:focus-within p,
.cell:hover .cell__list li, .cell:focus-within .cell__list li { color: rgba(var(--white-rgb), .7); }
.cell:hover .cell__list, .cell:focus-within .cell__list { border-top-color: var(--line-light); }
.cell:hover .cell__icon, .cell:focus-within .cell__icon { color: var(--accent-soft); background: rgba(var(--accent-soft-rgb), .08); border-color: rgba(var(--accent-soft-rgb), .4); }
.cell:hover .tag--dark, .cell:focus-within .tag--dark { color: var(--accent-soft); border-color: rgba(var(--accent-soft-rgb), .4); background: rgba(var(--accent-soft-rgb), .08); }
.cell:hover .link-arrow, .cell:focus-within .link-arrow { color: var(--white); border-color: rgba(var(--white-rgb), .5); }

/* Cells on dark sections */
.section--dark .cells { border-color: var(--line-light); }
.section--dark .cell { background: transparent; color: var(--white); border-color: var(--line-light); }
.section--dark .cell__no, .section--dark .cell__role { color: var(--accent-soft); }
.section--dark .cell p, .section--dark .cell__list li { color: rgba(var(--white-rgb), .64); }
.section--dark .cell__list { border-top-color: var(--line-light); }
.section--dark .cell__list li::before { background: var(--accent-soft); }
.section--dark .cell__icon { color: var(--accent-soft); background: rgba(var(--accent-soft-rgb), .08); border-color: rgba(var(--accent-soft-rgb), .4); }
.section--dark .cell:hover, .section--dark .cell:focus-within { background: rgba(var(--white-rgb), .05); }

/* ── Tiles (image cards) ── */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); color: var(--text);
  border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  transition:
    opacity .9s var(--ease) var(--reveal-delay, 0s),
    transform .9s var(--ease) var(--reveal-delay, 0s),
    background .4s var(--ease), color .4s var(--ease);
}
.tile::before {
  content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: -1px; height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.tile__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); border-bottom: 1px solid var(--line-dark); transition: border-color .3s; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile__body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 36px); }
.tile__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tile__no { font: 500 12px var(--font-mono); letter-spacing: .2em; color: var(--accent); transition: color .3s; }
.tile h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.tile p { flex: 1; font-size: 14.5px; line-height: 1.75; color: var(--muted); transition: color .3s; }
.tile__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tile__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line-dark); transition: border-color .3s; }
.tile__status { font: 500 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--subtle); transition: color .3s; }

/* Title link: plain text until hovered, then the underline fades in */
.tile__title-link { color: inherit; }
.tile__link { display: inline-flex; align-items: center; gap: 8px; font: 600 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); transition: color .3s; }
.tile__link-label {
  text-decoration: underline; text-decoration-color: transparent;
  text-decoration-thickness: 1px; text-underline-offset: 5px;
  transition: text-decoration-color .25s;
}
.tile__title-link:hover .tile__link-label, .tile__title-link:focus-visible .tile__link-label,
.tile__link:hover .tile__link-label, .tile__link:focus-visible .tile__link-label { text-decoration-color: currentColor; }
.tile__link .material-icons-round { font-size: 16px; }
.tile__title-link:focus-visible, .tile__link:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 4px; }

.tile:hover, .tile:focus-within { background: var(--ink); color: var(--white); }
.tile:hover::before, .tile:focus-within::before { transform: scaleX(1); }
.tile:hover .tile__media, .tile:focus-within .tile__media { border-bottom-color: var(--line-light); }
.tile:hover .tile__media img, .tile:focus-within .tile__media img { transform: scale(1.04); }
.tile:hover .tile__no, .tile:focus-within .tile__no, .tile:hover .tile__link, .tile:focus-within .tile__link { color: var(--accent-soft); }
.tile:hover p, .tile:focus-within p { color: rgba(var(--white-rgb), .7); }
.tile:hover .tile__foot, .tile:focus-within .tile__foot { border-top-color: var(--line-light); }
.tile:hover .tile__status, .tile:focus-within .tile__status { color: rgba(var(--white-rgb), .5); }
.tile:hover .tag--dark, .tile:focus-within .tag--dark { color: var(--accent-soft); border-color: rgba(var(--accent-soft-rgb), .4); background: rgba(var(--accent-soft-rgb), .08); }

/* ── Steps (process rows with image) ── */
.steps { border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark); }
.step {
  position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(24px, 4vw, 72px);
  padding: clamp(36px, 4.5vw, 68px) clamp(24px, 3.4vw, 52px);
  background: var(--white); color: var(--text); border-bottom: 1px solid var(--line-dark);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.step::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.step__no { padding-top: 6px; font: 500 12px var(--font-mono); letter-spacing: .2em; color: var(--accent); transition: color .3s; }
.step__head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.step__media { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); }
.step__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.step__body { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.step__body h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; }
.step__body p { max-width: 560px; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.8; color: var(--muted); transition: color .3s; }
.step__pills { display: flex; flex-wrap: wrap; gap: 8px; }

.step:hover, .step:focus-within { background: var(--ink); color: var(--white); }
.step:hover::before, .step:focus-within::before { transform: scaleX(1); }
.step:hover .step__no, .step:focus-within .step__no { color: var(--accent-soft); }
.step:hover .step__body p, .step:focus-within .step__body p { color: rgba(var(--white-rgb), .7); }
.step:hover .step__media img, .step:focus-within .step__media img { transform: scale(1.04); }
.step:hover .tag--dark, .step:focus-within .tag--dark { color: var(--accent-soft); border-color: rgba(var(--accent-soft-rgb), .4); background: rgba(var(--accent-soft-rgb), .08); }

/* ── Rows (products, areas) ── */
.rows { border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark); }
.row {
  position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.5fr) auto;
  gap: clamp(20px, 3vw, 56px); align-items: start;
  padding: clamp(28px, 3.4vw, 48px) clamp(24px, 3.4vw, 52px);
  background: var(--white); color: var(--text); border-bottom: 1px solid var(--line-dark);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.row::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.row__no { padding-top: 4px; font: 500 12px var(--font-mono); letter-spacing: .2em; color: var(--accent); transition: color .3s; }
.row__head h3 { margin-bottom: 8px; font-size: clamp(20px, 2vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.row__area { font: 400 12px var(--font-mono); letter-spacing: .08em; color: var(--subtle); transition: color .3s; }
.row p { max-width: 620px; font-size: 15px; line-height: 1.8; color: var(--muted); transition: color .3s; }
.row__action { align-self: center; }
.row:hover, .row:focus-within { background: var(--ink); color: var(--white); }
.row:hover::before, .row:focus-within::before { transform: scaleX(1); }
.row:hover .row__no, .row:focus-within .row__no { color: var(--accent-soft); }
.row:hover .row__area, .row:focus-within .row__area { color: rgba(var(--white-rgb), .5); }
.row:hover p, .row:focus-within p { color: rgba(var(--white-rgb), .7); }
.row:hover .tag--dark, .row:focus-within .tag--dark { color: var(--accent-soft); border-color: rgba(var(--accent-soft-rgb), .4); background: rgba(var(--accent-soft-rgb), .08); }
.row:hover .link-arrow, .row:focus-within .link-arrow { color: var(--white); border-color: rgba(var(--white-rgb), .5); }
.row:hover .link-arrow:hover, .row:focus-within .link-arrow:hover { color: var(--accent-soft); border-color: var(--accent-soft); }

/* ── Facts strip ── */
.facts { background: var(--gradient-metrics); color: var(--white); --grad-a: var(--grad-metrics-a); --grad-b: var(--grad-metrics-b); border-block: 1px solid var(--line-light); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__item { padding: clamp(40px, 5vw, 72px) 32px; border-left: 1px solid var(--line-light); }
.facts__item:first-child { padding-left: 0; border-left: 0; }
.facts__item strong { display: block; margin-bottom: 22px; font-size: clamp(44px, 5vw, 76px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.facts__item h3 { margin-bottom: 10px; font: 500 12px var(--font-mono); letter-spacing: .22em; text-transform: uppercase; }
.facts__item p { max-width: 240px; font-size: 14px; line-height: 1.7; color: rgba(var(--white-rgb), .55); }

/* ── Quote band ── */
.quote-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(72px, 9vw, 140px) 0; color: var(--white); background: var(--ink); --grad-a: var(--grad-dark-a); --grad-b: var(--grad-dark-b); }
.quote-band__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--ink); }
.quote-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.04); }
.quote-band__media::after { content: ""; position: absolute; inset: 0; background: var(--overlay-band); }
.quote-band blockquote { max-width: 22em; font-size: clamp(26px, 3.4vw, 52px); font-weight: 500; line-height: 1.2; letter-spacing: -.03em; text-shadow: 0 2px 30px rgba(var(--ink-rgb), .4); }
.quote-band cite { display: block; margin-top: 28px; font: 500 11px var(--font-mono); font-style: normal; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-soft); }

/* ── Closing band ── */
.page-cta { position: relative; isolation: isolate; overflow: hidden; padding: var(--band-y) 0; border-top: 1px solid var(--line-light); }
.page-cta__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--ink); }
.page-cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.04); }
.page-cta__media::after { content: ""; position: absolute; inset: 0; background: var(--overlay-band); }
.page-cta::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -45%; right: -8%; width: 55vw; height: 55vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .32), transparent 62%);
  filter: blur(40px);
}
.page-cta::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: -1px; height: 3px; background: var(--gradient-brand-fade); }
.page-cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.page-cta .eyebrow { margin-bottom: 20px; }
.page-cta .h2 { max-width: 16ch; font-size: clamp(30px, 3.8vw, 54px); text-shadow: 0 2px 30px rgba(var(--ink-rgb), .4); }
.page-cta__text { max-width: 520px; margin-top: 22px; font-size: 16px; line-height: 1.8; color: rgba(var(--white-rgb), .72); }
.page-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .cells--4, .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cells--3, .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .row { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.3fr); }
  .row__action { grid-column: 2 / -1; }
}
@media (max-width: 900px) {
  .intro-row, .split { grid-template-columns: 1fr; gap: 28px; }
  .intro-row { align-items: start; }
  .cells--2, .tiles--2 { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 20px; }
  .step__no { padding-top: 0; }
  .page-cta__media::after { background: var(--overlay-band-mobile); }
}
@media (max-width: 640px) {
  .cells--3, .cells--4, .tiles, .facts__grid { grid-template-columns: 1fr; }
  .facts__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .facts__item:first-child { border-top: 0; }
  .row { grid-template-columns: 1fr; gap: 14px; }
  .row__action { grid-column: auto; }
  .page-cta__actions, .page-cta__actions .btn { width: 100%; }
  .page-cta__actions .btn { justify-content: space-between; }
}