/*
 * ═══════════════════════════════════════════════════════════════
 *  SRPEPL — Industries Pages Global Stylesheet
 *  Link on every industry page AFTER srpepl-global.css:
 *
 *  <link rel="stylesheet" href="/assets/css/srpepl-global.css">
 *  <link rel="stylesheet" href="/assets/css/srpepl-industries.css">
 *
 *  Design intent: same brand language as solutions pages, but
 *  visually distinct — denser, more technical, credential-forward.
 *  Key differences from srpepl-solutions.css:
 *    · Amber/gold accent (--ind-gold) for live-project evidence
 *    · Taller hero with a 5-stat strip
 *    · Solution intervention cards on a process spine
 *    · Dense case-study cards with spec tables
 *    · Credentials wall (client tile grid)
 *    · Two-loop / two-column comparison blocks
 *  Page-specific overrides go in a <style> block on each page.
 * ═══════════════════════════════════════════════════════════════
 */

/* ── INDUSTRY TOKENS ─────────────────────────────────────────── */
:root {
  --ind-gold:        #c8900a;   /* Live-project / PSU evidence accent */
  --ind-gold-bg:     rgba(200,144,10,.1);
  --ind-gold-border: rgba(200,144,10,.3);
  --ind-green:       #1a7a4a;   /* Commissioned / operational badge */
  --ind-green-bg:    rgba(26,122,74,.1);
}

/* ── WIDTH NORMALISATION ─────────────────────────────────────── */
.page-hero,
.page-layout,
footer,
.site-footer {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* ── PAGE LAYOUT ─────────────────────────────────────────────── */
.page-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0;
  align-items: start;
}
.page-content {
  padding: 4rem 5vw 4rem 3vw;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

/* ── SIDE NAV ────────────────────────────────────────────────── */
.side-nav {
  position: sticky;
  top: 2rem;
  align-self: start;
  padding: 2rem 0 2rem 5vw;
}
.side-nav-title {
  font-family: var(--font-cond);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: .8rem;
}
.side-nav a {
  display: block;
  font-size: .8rem;
  color: var(--text-light);
  text-decoration: none;
  padding: .35rem 0 .35rem .9rem;
  border-left: 2px solid #dde3ef;
  margin-bottom: .1rem;
  transition: color .2s, border-color .2s;
}
.side-nav a:hover,
.side-nav a.active {
  color: var(--blue-accent);
  border-left-color: var(--blue-accent);
}
/* Gold variant for live-project links */
.side-nav a.live { border-left-color: var(--ind-gold); color: var(--ind-gold); }

/* ── SECTION DIVIDER ─────────────────────────────────────────── */
.sec-divider {
  height: 1px;
  background: linear-gradient(to right, var(--blue-accent), transparent);
/*  margin: 3.5rem 0;
*/  margin: 2.5rem 0;
  opacity: .22;
}

/* ── HERO STAT STRIP ─────────────────────────────────────────── */
/* 5-stat strip below hero lead text — wider than solutions KPI strip */
.hero-stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 2.5rem;
  border: 1px solid rgba(74,127,212,.2);
  border-radius: 10px;
  overflow: hidden;
}
.hero-stat {
  flex: 1;
  min-width: 120px;
  padding: .9rem 1.2rem;
  border-right: 1px solid rgba(74,127,212,.2);
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.hero-stat:last-child { border-right: none; }
.hero-stat-val {
  font-family: var(--font-cond);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat-lbl {
  font-size: .7rem;
  color: var(--lavender);
  line-height: 1.3;
}

/* ── ANSWER BLOCKS ───────────────────────────────────────────── */
.answer-block {
  background: var(--panel-bg);
  border-left: 4px solid var(--blue-accent);
  border-radius: 0 12px 12px 0;
  padding: 1.6rem 1.8rem;
  margin-bottom: 2rem;
}
.answer-block p { font-size: .97rem; color: var(--text-mid); line-height: 1.82; }
.answer-block strong { color: var(--navy); }
.answer-block.dark { background: var(--navy); border-left-color: var(--blue-stripe); margin-top: -1rem; }
.answer-block.dark p { color: var(--lavender); }
.answer-block.dark strong { color: var(--white); }

/* ── PULL QUOTE ──────────────────────────────────────────────── */
.pull-quote {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  border-left: 4px solid var(--blue-accent);
  padding-left: 1.3rem;
  margin: 2rem 0;
}

/* ── INLINE NOTE ─────────────────────────────────────────────── */
.inline-note {
  background: rgba(46,79,163,.06);
  border: 1px solid rgba(46,79,163,.15);
  border-radius: 8px;
  padding: .8rem 1.1rem;
  font-size: .8rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-top: 1rem;
}
.inline-note strong { color: var(--navy); }
/* Gold variant for live-project / PSU notes */
.inline-note.gold {
  background: var(--ind-gold-bg);
  border-color: var(--ind-gold-border);
}
.inline-note.gold strong { color: var(--ind-gold); }
/* Dark variant */
.inline-note.dark { background: rgba(255,255,255,.05); border-color: rgba(74,127,212,.3); color: var(--lavender); }
.inline-note.dark strong { color: var(--white); }

/* ── KPI STRIP ───────────────────────────────────────────────── */
.kpi-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2.5rem 0; }
.kpi-card {
  background: var(--white);
  border: 1px solid #dde3ef;
  border-radius: 12px;
  padding: 1.2rem 1.3rem;
  text-align: center;
  transition: transform .22s, box-shadow .22s;
}
.kpi-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(15,27,53,.1); }
.kpi-val { font-family: var(--font-cond); font-size: 2rem; font-weight: 700; color: var(--blue-accent); line-height: 1; }
.kpi-val.gold { color: var(--ind-gold); }
.kpi-lbl { font-size: .74rem; color: var(--text-light); margin-top: .3rem; line-height: 1.4; }

/* ── TWO-LOOP / TWO-COLUMN COMPARISON ───────────────────────── */
/* Industry-specific: process loop vs effluent loop blocks */
.two-loop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
.loop-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dde3ef;
}
.loop-head {
  background: var(--navy);
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.loop-head svg { width: 22px; height: 22px; flex-shrink: 0; }
.loop-head-title {
  font-family: var(--font-cond);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
}
.loop-chain {
  background: var(--navy-mid);
  padding: .6rem 1.3rem;
  font-size: .74rem;
  color: var(--lavender);
  line-height: 1.6;
  font-family: var(--font-cond);
  letter-spacing: .04em;
}
.loop-chain span { color: var(--blue-stripe); font-weight: 700; }
.loop-body { background: var(--white); padding: 1.2rem 1.3rem; }
.loop-fail-title {
  font-family: var(--font-cond);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #aa3322;
  margin-bottom: .6rem;
}
.loop-fail-item {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-size: .82rem;
  color: var(--text-mid);
  line-height: 1.55;
  padding: .3rem 0;
  border-bottom: 1px solid #f0f2f8;
}
.loop-fail-item:last-child { border-bottom: none; }
.loop-fail-item::before { content: '✕'; color: #cc4433; font-size: .68rem; flex-shrink: 0; margin-top: .16rem; }
.loop-strap {
  grid-column: 1 / -1;
  text-align: center;
  font-size: .86rem;
  font-weight: 700;
  color: var(--navy);
  padding: .9rem;
  background: var(--panel-bg);
  border-radius: 8px;
  border: 1px solid #dde3ef;
}

/* ── SOLUTION INTERVENTION CARDS ON A SPINE ──────────────────── */
/* Numbered cards with a horizontal connecting spine */
.sol-spine-wrap { position: relative; margin: 2.5rem 0; }
.sol-spine-bar {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--blue-stripe), var(--blue-accent));
  opacity: .35;
  z-index: 0;
}
.sol-spine-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.sol-spine-card {
  background: var(--white);
  border: 1px solid #dde3ef;
  border-radius: 12px;
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  cursor: default;
}
.sol-spine-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(15,27,53,.12);
  border-color: var(--blue-accent);
}
.sol-spine-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .8rem;
  flex-shrink: 0;
}
.sol-spine-num.gold { background: var(--ind-gold); }
.sol-spine-icon { margin-bottom: .5rem; }
.sol-spine-icon svg { width: 20px; height: 20px; color: var(--blue-accent); }
.sol-spine-label {
  font-family: var(--font-cond);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: .3rem;
}
.sol-spine-title { font-size: .88rem; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: .4rem; }
.sol-spine-desc { font-size: .75rem; color: var(--text-light); line-height: 1.5; flex: 1; }
.sol-spine-loc {
  margin-top: .7rem;
  font-size: .68rem;
  color: var(--text-light);
  font-style: italic;
  border-top: 1px solid #f0f2f8;
  padding-top: .5rem;
}

/* ── SOLUTION DETAIL SECTIONS ────────────────────────────────── */
/* Numbered section header with gold number */
.sol-section-header { display: flex; align-items: flex-start; gap: 1.2rem; margin-bottom: 1.5rem; }
.sol-section-num {
  font-family: var(--font-cond);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--panel-bg);
  line-height: .9;
  flex-shrink: 0;
}
.sol-section-num.active { color: var(--ind-gold-bg); }
.sol-section-eyebrow {
  font-family: var(--font-cond);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ind-gold);
  margin-bottom: .3rem;
}
.sol-section-title { font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 800; color: var(--navy); line-height: 1.15; }

/* ── CASE STUDY CARDS — DENSE DATA FIRST ────────────────────── */
.cs-dense-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin: 2rem 0; }
.cs-dense-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dde3ef;
  display: flex;
  flex-direction: column;
  transition: transform .28s, box-shadow .28s;
}
.cs-dense-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(15,27,53,.12); }
.cs-dense-img { position: relative; height: 180px; overflow: hidden; background: var(--panel-bg); flex-shrink: 0; }
.cs-dense-img img { width: 100%; height: 100%; object-fit: cover; }
.cs-dense-badge {
  position: absolute;
  top: .85rem;
  right: .85rem;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .22rem .65rem;
  border-radius: 20px;
}
.cs-dense-badge.live { background: rgba(200,144,10,.9); color: #fff; }
.cs-dense-badge.commissioned { background: rgba(26,122,74,.85); color: #fff; }
.cs-dense-badge.wip { background: rgba(46,79,163,.85); color: #fff; }
.cs-dense-val {
  position: absolute;
  bottom: .85rem;
  left: 1rem;
  font-family: var(--font-cond);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.cs-dense-head {
  background: var(--navy);
  padding: .75rem 1.2rem;
}
.cs-dense-client {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-stripe);
  margin-bottom: .2rem;
}
.cs-dense-title { font-size: .93rem; font-weight: 700; color: var(--white); line-height: 1.3; }
.cs-dense-body { padding: 0; flex: 1; display: flex; flex-direction: column; background: var(--white); }
/* Spec table inside card */
.cs-spec-table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.cs-spec-table tr { border-bottom: 1px solid #f0f2f8; }
.cs-spec-table tr:last-child { border-bottom: none; }
.cs-spec-table td { padding: .45rem .9rem; vertical-align: top; line-height: 1.45; }
.cs-spec-table td:first-child { color: var(--text-light); white-space: nowrap; width: 40%; }
.cs-spec-table td:last-child { color: var(--navy); font-weight: 600; }
.cs-dense-hook {
  padding: .8rem 1rem;
  font-size: .8rem;
  color: var(--text-mid);
  line-height: 1.6;
  border-top: 1px solid #f0f2f8;
  flex: 1;
}
.cs-dense-link {
  padding: .7rem 1rem;
  border-top: 1px solid #f0f2f8;
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: gap .2s;
  background: var(--off-white);
}
.cs-dense-link:hover { gap: .5rem; }

/* ── ZLD PROCESS FLOW (7 stages) ─────────────────────────────── */
.zld-flow { display: flex; align-items: stretch; gap: 0; overflow-x: auto; padding-bottom: .5rem; margin: 2rem 0; }
.zld-stage {
  flex: 1;
  min-width: 110px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.zld-stage:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 11px solid var(--blue-accent);
  z-index: 2;
}
.zld-box {
  border-radius: 8px;
  padding: 1rem .9rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(74,127,212,.2);
  transition: background .22s;
}
.zld-stage:hover .zld-box { border-color: rgba(74,127,212,.55); }
/* Gradient: light → dark as we go membrane → thermal */
.zld-stage:nth-child(1) .zld-box { background: var(--navy-light); }
.zld-stage:nth-child(2) .zld-box { background: #1e3360; }
.zld-stage:nth-child(3) .zld-box { background: #1c3060; }
.zld-stage:nth-child(4) .zld-box { background: var(--navy-mid); }
.zld-stage:nth-child(5) .zld-box { background: #1a2d55; }
.zld-stage:nth-child(6) .zld-box { background: #192b50; }
.zld-stage:nth-child(7) .zld-box { background: var(--navy); }
.zld-num { font-family: var(--font-cond); font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-stripe); margin-bottom: .4rem; }
.zld-icon { width: 28px; height: 28px; margin: 0 auto .5rem; }
.zld-title { font-size: .8rem; font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: .25rem; }
.zld-desc { font-size: .68rem; color: var(--lavender); line-height: 1.4; }

/* ZLD benefit strip */
.zld-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: 1.5rem; }
.zld-benefit {
  background: var(--panel-bg);
  border-radius: 8px;
  padding: .9rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  border: 1px solid #dde3ef;
}
.zld-benefit svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue-accent); margin-top: .1rem; }
.zld-benefit-text { font-size: .79rem; font-weight: 700; color: var(--navy); line-height: 1.4; }

/* ── SCOPE & DELIVERY ITEMS ──────────────────────────────────── */
.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; }
.scope-item {
  background: var(--white);
  border: 1px solid #dde3ef;
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  transition: border-color .2s, transform .2s;
}
.scope-item:hover { border-color: var(--blue-accent); transform: translateY(-2px); }
.scope-icon { width: 34px; height: 34px; border-radius: 7px; background: var(--panel-bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.scope-icon svg { width: 17px; height: 17px; color: var(--blue-accent); }
.scope-title { font-size: .84rem; font-weight: 700; color: var(--navy); margin-bottom: .18rem; }
.scope-desc { font-size: .75rem; color: var(--text-light); line-height: 1.5; }

/* ── DIFF / WHY CARDS ────────────────────────────────────────── */
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.diff-card {
  background: var(--white);
  border: 1px solid #dde3ef;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  transition: transform .25s, box-shadow .25s;
}
.diff-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(15,27,53,.1); }
.diff-card.accent { border-color: var(--blue-accent); background: rgba(46,79,163,.03); }
.diff-num { font-family: var(--font-cond); font-size: 2.5rem; font-weight: 800; color: var(--panel-bg); line-height: 1; flex-shrink: 0; width: 44px; text-align: center; }
.diff-title { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; line-height: 1.3; }
.diff-title.accent { color: var(--blue-accent); }
.diff-body { font-size: .83rem; color: var(--text-mid); line-height: 1.7; }

/* ── ENGAGEMENT MODEL CARDS ──────────────────────────────────── */
.engage-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.engage-card {
  background: var(--white);
  border: 1px solid #dde3ef;
  border-top: 4px solid var(--blue-accent);
  border-radius: 0 0 12px 12px;
  padding: 1.2rem 1rem;
  transition: transform .22s, box-shadow .22s;
}
.engage-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(15,27,53,.1); }
.engage-badge {
  display: inline-block;
  padding: .15rem .55rem;
  border-radius: 4px;
  font-family: var(--font-cond);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--panel-bg);
  color: var(--blue-accent);
  margin-bottom: .65rem;
}
.engage-title { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; line-height: 1.3; }
.engage-desc { font-size: .77rem; color: var(--text-mid); line-height: 1.55; }

/* ── CREDENTIALS WALL ────────────────────────────────────────── */
/* PSU / client tile grid — wordmark tiles */
.cred-wall-title {
  font-family: var(--font-cond);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}
.cred-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .7rem;
}
.cred-tile {
  background: var(--white);
  border: 1px solid #dde3ef;
  border-radius: 8px;
  padding: .7rem .8rem;
  text-align: center;
  transition: border-color .2s, transform .18s, box-shadow .18s;
}
.cred-tile:hover { border-color: var(--blue-accent); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(15,27,53,.08); }
.cred-tile-name {
  font-family: var(--font-cond);
  font-size: .76rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .04em;
}
.cred-tile-sub { font-size: .64rem; color: var(--text-light); margin-top: .1rem; line-height: 1.3; }
.cred-wall-strap {
  margin-top: 1.2rem;
  text-align: center;
  font-size: .82rem;
  color: var(--text-mid);
  font-style: italic;
}

/* ── MEMBRANE PRODUCT LIST ───────────────────────────────────── */
.membrane-list { display: flex; flex-direction: column; gap: .5rem; margin: 1.2rem 0; }
.membrane-item {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: .75rem 1rem;
  background: var(--white);
  border: 1px solid #dde3ef;
  border-left: 4px solid var(--blue-accent);
  border-radius: 0 8px 8px 0;
  transition: border-left-color .2s, transform .18s;
}
.membrane-item:hover { border-left-color: var(--blue-bright); transform: translateX(3px); }
.membrane-name { font-size: .88rem; font-weight: 700; color: var(--navy); min-width: 160px; }
.membrane-spec { font-size: .8rem; color: var(--text-mid); line-height: 1.5; flex: 1; }

/* ── FLOW DIAGRAM (DM retrofit) ──────────────────────────────── */
.dm-flow { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; margin: 1.5rem 0; }
.dm-node {
  flex: 1;
  min-width: 110px;
  background: var(--panel-bg);
  border: 1px solid #dde3ef;
  border-radius: 8px;
  padding: .8rem .9rem;
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  transition: background .2s;
}
.dm-node.new {
  background: rgba(46,79,163,.1);
  border-color: var(--blue-accent);
  color: var(--blue-accent);
}
.dm-node.new .dm-node-tag {
  display: block;
  font-family: var(--font-cond);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: .2rem;
}
.dm-arrow {
  color: var(--text-light);
  font-size: 1.1rem;
  padding: 0 .3rem;
  flex-shrink: 0;
}

/* ── GREENSTEAM SECTION ──────────────────────────────────────── */
.gs-brand-bar {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2244 100%);
  border: 1px solid rgba(74,127,212,.3);
  border-radius: 14px;
  padding: 2rem 2.2rem;
  position: relative;
  overflow: hidden;
}
.gs-brand-bar::before {
  content: 'GREENSTEAM™';
  position: absolute;
  right: -1rem;
  top: -1.5rem;
  font-family: var(--font-cond);
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(255,255,255,.04);
  white-space: nowrap;
  pointer-events: none;
}
.gs-badge {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 4px;
  font-family: var(--font-cond);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(74,127,212,.2);
  border: 1px solid rgba(74,127,212,.35);
  color: var(--blue-stripe);
  margin-bottom: .9rem;
}
.gs-title { font-size: clamp(1.1rem, 1.8vw, 1.6rem); font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: .7rem; }
.gs-body { font-size: .88rem; color: var(--lavender); line-height: 1.72; margin-bottom: 1.4rem; }
.gs-deliver-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.gs-deliver-item {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-size: .8rem;
  color: var(--lavender);
  line-height: 1.5;
}
.gs-deliver-item::before { content: '✓'; color: var(--blue-stripe); font-weight: 700; flex-shrink: 0; margin-top: .05rem; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid #dde3ef; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  gap: 1rem;
  transition: color .2s;
}
.faq-question:hover { color: var(--blue-accent); }
.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--panel-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .3s;
}
.faq-icon svg { width: 12px; height: 12px; stroke: var(--blue-accent); }
.faq-item.open .faq-icon { background: var(--blue-accent); transform: rotate(45deg); }
.faq-item.open .faq-icon svg { stroke: var(--white); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-answer p { font-size: .9rem; color: var(--text-mid); line-height: 1.75; padding-bottom: 1.1rem; }

/* ── RELATED / EXIT LINKS ────────────────────────────────────── */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related-card {
  background: var(--white);
  border: 1px solid #dde3ef;
  border-radius: 10px;
  padding: 1.2rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(15,27,53,.09); border-color: var(--blue-accent); }
.related-label { font-family: var(--font-cond); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-accent); }
.related-title { font-size: .88rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.related-desc { font-size: .76rem; color: var(--text-light); line-height: 1.5; flex: 1; }
.related-arrow { font-size: .78rem; font-weight: 700; color: var(--blue-accent); }

/* ── BOTTOM CTA ──────────────────────────────────────────────── */
.bottom-cta {
  background: var(--navy);
  border-radius: 16px;
  padding: 3rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
}
.bottom-cta::before { content: ''; position: absolute; inset: 0; opacity: .06; background: url('https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=1200&q=40') center/cover no-repeat; }
.bottom-cta-title { font-size: clamp(1.4rem, 2.5vw, 2.2rem); font-weight: 800; color: var(--white); margin-bottom: .7rem; position: relative; }
.bottom-cta-sub { font-size: .95rem; color: var(--lavender); margin-bottom: 2rem; position: relative; max-width: 580px; margin-left: auto; margin-right: auto; }
.bottom-cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; position: relative; }

/* ── IMAGE PLACEHOLDERS ──────────────────────────────────────── */
.img-placeholder {
  width: 100%;
  background: var(--panel-bg);
  border: 2px dashed #c8d0e8;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  color: var(--text-light);
  font-family: var(--font-cond);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
/*  padding: 1rem;
*/}
.img-placeholder svg { width: 32px; height: 32px; opacity: .4; }
.img-placeholder-sm  { height: 200px; }
.img-placeholder-md  { height: 260px; }
.img-placeholder-lg  { height: 340px; }

/* ── REVEAL ANIMATION ────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */

/* ── ≤1024px — hide side-nav, stack layout ── */
@media (max-width: 1024px) {
  .side-nav { display: none !important; }
  .page-hero-breadcrumb { display: none !important; }
  .page-layout { grid-template-columns: 1fr; }
  .page-content { padding: 2rem 4vw; }
  .full-bleed-dark,
  .full-bleed-off,
  .full-bleed-panel {
    margin-left: -4vw !important;
    margin-right: -4vw !important;
    padding-left: 4vw !important;
    padding-right: 4vw !important;
  }
  .sol-spine-cards { grid-template-columns: repeat(3, 1fr); }
  .two-loop-grid { grid-template-columns: 1fr; }
  .engage-grid { grid-template-columns: repeat(3, 1fr); }
  .cred-wall { grid-template-columns: repeat(4, 1fr); }
  .cs-dense-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .zld-flow { overflow-x: auto; }
  .zld-stage { min-width: 110px; }
}

/* ── 641–1024px tablet ── */
@media (min-width: 641px) and (max-width: 1024px) {
  .page-content { padding: 2.5rem 4vw; }
  .kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .zld-benefits { grid-template-columns: 1fr 1fr; }
  .gs-deliver-grid { grid-template-columns: 1fr; }
  .hero-stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(74,127,212,.2); }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

/* ── ≤640px mobile ── */
@media (max-width: 640px) {
  .page-content { padding: 1.5rem 4vw; }
  section[id] { padding-bottom: 2rem !important; }
  .sec-divider { margin: 1.8rem 0; }
  .page-hero { min-height: auto !important; padding: 2.8rem 4vw 2.2rem; }
  .page-hero-title { font-size: 1.9rem !important; }
  .page-hero-sub { font-size: .9rem !important; }
  .page-hero-lead { font-size: .86rem; line-height: 1.7; }
  .hero-stat-strip { grid-template-columns: 1fr 1fr; }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(74,127,212,.2); }
  .section-title { font-size: 1.45rem !important; }
  .section-lead { font-size: .88rem; margin-bottom: 1.4rem; }
  .kpi-strip { grid-template-columns: 1fr 1fr; gap: .65rem; margin: 1.4rem 0; }
  .kpi-val { font-size: 1.55rem; }
  .kpi-lbl { font-size: .66rem; }
  .two-loop-grid { grid-template-columns: 1fr; }
  .sol-spine-cards { grid-template-columns: 1fr; }
  .sol-spine-bar { display: none; }
  .cs-dense-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .engage-grid { grid-template-columns: 1fr 1fr; }
  .cred-wall { grid-template-columns: 1fr 1fr; }
  .scope-grid { grid-template-columns: 1fr; }
  .zld-flow { flex-direction: column; gap: .6rem; overflow-x: visible; }
  .zld-stage::after { display: none !important; }
  .zld-stage { min-width: unset; }
  .zld-box { flex-direction: row; align-items: flex-start; text-align: left; gap: .6rem; padding: .7rem .8rem; }
  .zld-icon { width: 22px; height: 22px; flex-shrink: 0; margin: 0; }
  .zld-num { display: none; }
  .zld-title { font-size: .78rem; margin-bottom: .12rem; }
  .zld-desc { font-size: .66rem; }
  .zld-benefits { grid-template-columns: 1fr 1fr; }
  .dm-flow { flex-direction: column; gap: .5rem; }
  .dm-arrow { transform: rotate(90deg); align-self: center; }
  .gs-deliver-grid { grid-template-columns: 1fr; }
  .gs-brand-bar { padding: 1.5rem 1.2rem; }
  .membrane-item { flex-direction: column; gap: .3rem; }
  .membrane-name { min-width: unset; }
  .answer-block { padding: 1rem 1.1rem; margin-bottom: 1.2rem; }
  .answer-block p { font-size: .86rem; line-height: 1.75; }
  .img-placeholder-lg { height: 200px; }
  .img-placeholder-md { height: 180px; }
  .img-placeholder-sm { height: 150px; }
  .bottom-cta { padding: 1.8rem 1.2rem !important; border-radius: 10px; }
  .bottom-cta-title { font-size: 1.25rem !important; }
  .bottom-cta-btns { flex-direction: column; align-items: stretch; gap: .75rem; }
  .bottom-cta-btns .btn-pill { text-align: center; }
  .related-grid { grid-template-columns: 1fr; }
  .faq-question { font-size: .86rem; padding: .85rem 0; }
  .faq-answer p { font-size: .82rem; }
  .sol-section-num { font-size: 2.5rem; }
}

@media (max-width: 400px) {
  .engage-grid { grid-template-columns: 1fr; }
  .cred-wall { grid-template-columns: 1fr 1fr; }
  .zld-benefits { grid-template-columns: 1fr; }
}
