/* =============================================================
   2026 Resiliency Report — layout & components
   Builds on colors_and_type.css (design-system tokens).
   ============================================================= */

:root {
  --accent: #D97706;            /* callouts / key stats — handoff "Action Orange", DS warning */
  --accent-deep: #B4540A;
  --risk: #B42318;              /* high-risk indicators only */
  --maxw: 1200px;
  --readw: 760px;               /* long-form reading column */
  --sec-pad: 120px;             /* vertical section rhythm */
  --rail-w: 232px;
  --shell-pad: 56px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }

/* ---- Density tweak ---------------------------------------- */
body.density-compact { --sec-pad: 80px; }

/* =============================================================
   ART DIRECTIONS
   ============================================================= */
/* Editorial (default): paper white, sky-tint alternation, photographic */
body.ad-editorial { --band: var(--brand-blue-tint); --band-ink: var(--ink); }

/* Boardroom: deeper, navy-dominant divider bands, brighter accent feel */
body.ad-boardroom { --band: var(--brand-blue-900); --band-ink: #fff; --readw: 760px; }
body.ad-boardroom .section--alt { background: #2B221A; color: #F0E7DA; }
body.ad-boardroom .section--alt .lead,
body.ad-boardroom .section--alt p { color: #DCCBB6; }
body.ad-boardroom .section--alt .sec-kicker { color: #fff; }
body.ad-boardroom .section--alt .card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); }
body.ad-boardroom .section--alt .card__title { color: #fff; }
body.ad-boardroom .section--alt .card__body { color: #DCCBB6; }

/* Document: restrained printed-report feel, muted, rule-driven */
body.ad-document { --band: var(--graphite-50); --band-ink: var(--ink); --accent: #9A5212; }
body.ad-document .cover { filter: saturate(0.82); }
body.ad-document .photo-figure img,
body.ad-document .case-img { filter: saturate(0.7) contrast(1.02); }
body.ad-document .display-cover { letter-spacing: 0.005em; }

/* =============================================================
   APP SHELL  (left scroll-spy rail + content)
   ============================================================= */
.app { position: relative; }

/* top progress bar */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 80;
  background: var(--accent);
  width: 0%;
  transition: width 90ms linear;
}

/* top header */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: 64px; z-index: 70;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--shell-pad);
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--graphite-100);
  transition: transform .3s var(--ease-standard), opacity .3s var(--ease-standard);
}
.topbar.hidden { transform: translateY(-100%); opacity: 0; }
.topbar__brand { display: flex; align-items: center; gap: 14px; }
.topbar__brand img { height: 30px; width: auto; }
.topbar__tag {
  font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--graphite-400); border-left: 1px solid var(--graphite-200); padding-left: 14px;
}
.topbar__cta {
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  background: var(--ink); color: #fff; border: 0; border-radius: var(--radius-sm);
  padding: 11px 18px; cursor: pointer; transition: background .15s var(--ease-standard);
}
.topbar__cta:hover { background: var(--brand-blue); }

/* left rail scroll-spy */
.rail {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--rail-w); z-index: 60;
  padding: 96px 0 40px 40px;
  display: flex; flex-direction: column; gap: 2px;
  pointer-events: none;
}
.rail__title {
  font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--graphite-300); margin-bottom: 16px; pointer-events: auto;
}
.rail.hidden { opacity: 0; pointer-events: none; transform: translateX(-12px); }
.rail { transition: opacity .3s var(--ease-standard), transform .3s var(--ease-standard); }
.rail__item {
  pointer-events: auto;
  display: flex; align-items: baseline; gap: 10px;
  padding: 5px 0; cursor: pointer; border: 0; background: none; text-align: left;
  font-family: var(--font-sans);
  color: var(--graphite-400);
  transition: color .18s var(--ease-standard);
  width: 100%;
}
.rail__num { font-size: 10px; font-weight: 600; letter-spacing: .06em; min-width: 16px; color: var(--graphite-300); transition: color .18s; }
.rail__label { font-size: 12.5px; font-weight: 500; line-height: 1.3; }
.rail__item:hover { color: var(--ink); }
.rail__item.active { color: var(--brand-blue); }
.rail__item.active .rail__num { color: var(--brand-blue); }
.rail__item.active .rail__label { font-weight: 700; }

/* content offset for rail */
.content { position: relative; }
@media (min-width: 1160px) {
  .content { padding-left: var(--rail-w); }
}

/* =============================================================
   SECTION PRIMITIVES
   ============================================================= */
.section {
  padding: var(--sec-pad) var(--shell-pad);
  position: relative;
  scroll-margin-top: 64px;
}
.section--alt { background: var(--band); }
.section--tint { background: var(--brand-blue-tint); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.wrap--read { max-width: var(--readw); margin: 0 auto; }

.sec-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-blue); margin-bottom: 22px;
}
.sec-kicker__n { color: var(--accent); font-weight: 700; }
.sec-kicker::before { content: ''; width: 28px; height: 2px; background: var(--accent); display: inline-block; }

.sec-title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 4vw, 52px); line-height: 1.04; letter-spacing: .01em;
  margin: 0 0 8px; color: var(--ink); text-wrap: balance;
}
.section--alt .sec-title { color: var(--band-ink); }
.lead {
  font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--graphite-500);
  font-weight: 400; max-width: 720px; margin: 18px 0 0;
}
.prose p { font-size: 17px; line-height: 1.7; color: var(--graphite-600); margin: 0 0 1.15em; max-width: var(--readw); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 700; }

/* eyebrow stat highlight inside prose */
.hl { color: var(--accent-deep); font-weight: 700; font-variant-numeric: tabular-nums; }

/* =============================================================
   COVER
   ============================================================= */
.cover {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.cover__bg { position: absolute; inset: 0; }
.cover__bg img { width: 100%; height: 100%; object-fit: cover; }
.cover__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(33,28,21,.78) 0%, rgba(33,28,21,.18) 32%, rgba(33,28,21,.40) 70%, rgba(33,28,21,.94) 100%),
    linear-gradient(90deg, rgba(33,28,21,.72) 0%, rgba(74,29,12,.30) 60%, rgba(74,29,12,.05) 100%);
}
.cover__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 0 var(--shell-pad) 72px; }
.cover__top {
  position: absolute; top: 36px; left: var(--shell-pad); right: var(--shell-pad); z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
}
.cover__top img { height: 34px; }
.cover__editbadge {
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius-pill);
  padding: 8px 18px; color: #fff; backdrop-filter: blur(4px);
}
.cover__eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: #E9C3AE; margin-bottom: 26px;
}
.cover h1.display-cover {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(44px, 7.2vw, 104px); line-height: .96; letter-spacing: .005em;
  margin: 0; max-width: 16ch; text-wrap: balance; color: #fff;
}
.cover__sub { font-size: clamp(18px, 2vw, 24px); line-height: 1.4; color: #F0E7DA; margin: 26px 0 0; max-width: 40ch; font-weight: 400; }
.cover__meta {
  margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.22);
  display: flex; gap: 48px; flex-wrap: wrap; align-items: baseline;
}
.cover__meta div { display: flex; flex-direction: column; gap: 5px; }
.cover__meta .k { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #E0926F; }
.cover__meta .v { font-size: 15px; color: #fff; font-weight: 500; }
.cover__scroll {
  position: absolute; bottom: 26px; right: var(--shell-pad); z-index: 2;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #E9C3AE;
  display: flex; align-items: center; gap: 8px;
}

/* =============================================================
   STAT STRIP
   ============================================================= */
.statstrip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--graphite-200);
  margin-top: 56px;
}
.statcell {
  padding: 30px 26px 28px; border-left: 1px solid var(--graphite-200);
  display: flex; flex-direction: column; gap: 10px;
}
.statcell:first-child { border-left: 0; padding-left: 0; }
.statcell__num {
  font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: .9;
  color: var(--brand-blue); letter-spacing: .005em; font-variant-numeric: tabular-nums;
}
.statcell--accent .statcell__num { color: var(--accent-deep); }
.statcell__lbl { font-size: 13.5px; line-height: 1.45; color: var(--graphite-500); }
.statcell__src { font-size: 11px; font-style: italic; color: var(--graphite-400); margin-top: auto; padding-top: 6px; }

/* =============================================================
   CARDS / GRIDS
   ============================================================= */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--graphite-200); border-radius: var(--radius-md);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s var(--ease-standard), transform .2s var(--ease-standard);
}
.card__icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-blue-tint); color: var(--brand-blue); margin-bottom: 18px;
}
.card__icon svg { width: 22px; height: 22px; }
.card__title { font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.25; margin: 0 0 10px; }
.card__body { font-size: 14.5px; line-height: 1.6; color: var(--graphite-500); margin: 0; }

/* numbered shift cards */
.shift { display: flex; flex-direction: column; gap: 14px; padding: 30px; border-top: 3px solid var(--brand-blue); background: #fff; box-shadow: var(--shadow-sm); border-radius: 0 0 var(--radius-md) var(--radius-md); }
.shift__k { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--brand-blue-200); line-height: 1; }
.shift__t { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.shift__d { font-size: 14.5px; line-height: 1.6; color: var(--graphite-500); }

/* backbone list */
.backbone { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--graphite-200); border-radius: var(--radius-md); overflow: hidden; }
.backbone__row { display: flex; gap: 18px; padding: 22px 26px; border-bottom: 1px solid var(--graphite-100); border-right: 1px solid var(--graphite-100); }
.backbone__row .b-t { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.backbone__row .b-d { font-size: 13.5px; color: var(--graphite-500); line-height: 1.5; }
.backbone__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 7px; flex: none; }

/* =============================================================
   NEW-flag / expandable deep dives
   ============================================================= */
.flag-new {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-deep); background: rgba(217,119,6,.12); border-radius: var(--radius-sm);
  padding: 3px 9px; margin-left: 12px; vertical-align: middle;
}
.challenge {
  border-top: 1px solid var(--graphite-200);
}
.challenge__head {
  display: grid; grid-template-columns: 64px 1fr 40px; align-items: center; gap: 24px;
  padding: 26px 4px; cursor: pointer; background: none; border: 0; width: 100%; text-align: left;
  font-family: var(--font-sans);
}
.challenge__n { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--brand-blue-200); }
.challenge__t { font-size: clamp(19px, 2vw, 24px); font-weight: 700; color: var(--ink); line-height: 1.2; }
.challenge__chev { color: var(--graphite-400); transition: transform .25s var(--ease-standard); display: flex; justify-content: flex-end; }
.challenge[data-open="true"] .challenge__chev { transform: rotate(180deg); color: var(--brand-blue); }
.challenge[data-open="true"] .challenge__n { color: var(--brand-blue); }
.challenge__body {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease-standard);
}
.challenge[data-open="true"] .challenge__body { grid-template-rows: 1fr; }
.challenge__bodyinner { overflow: hidden; }
.challenge__bodypad { padding: 0 4px 32px 88px; }
.challenge__d { font-size: 16px; line-height: 1.65; color: var(--graphite-600); margin: 0; max-width: 760px; }
.challenge__stat {
  margin-top: 18px; padding: 16px 20px; border-left: 3px solid var(--accent);
  background: rgba(217,119,6,.06); font-size: 14.5px; line-height: 1.55; color: var(--graphite-600); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.challenge__hint { font-size: 12px; color: var(--graphite-400); font-style: italic; }

/* compliance map */
.compliance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.compcard { border: 1px solid var(--graphite-200); border-radius: var(--radius-md); padding: 22px; background: #fff; }
.compcard__tag { font-size: 15px; font-weight: 700; color: var(--brand-blue); }
.compcard__date { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); margin: 4px 0 12px; }
.compcard__d { font-size: 13.5px; line-height: 1.55; color: var(--graphite-500); }

/* =============================================================
   CASE STUDY PANELS
   ============================================================= */
.case {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--graphite-200);
}
.case--flip { grid-template-columns: 1fr 1.05fr; }
.case__media { position: relative; min-height: 400px; }
.case__media img.case-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.case__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(74,29,12,.28), rgba(74,29,12,0)); }
.case__body { background: var(--brand-blue-tint); padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.case--flip .case__media { order: 2; }
.case__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 16px; }
.case__title { font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1.2; margin: 0 0 18px; }
.case__text { font-size: 15.5px; line-height: 1.65; color: var(--graphite-600); margin: 0 0 18px; }
.case__stat { font-size: 14px; line-height: 1.6; color: var(--graphite-600); padding-top: 18px; border-top: 1px solid var(--graphite-200); }
.case__stat strong, .case__text strong { color: var(--ink); }

/* =============================================================
   THREE PILLARS (brand-blue immersive panel)
   ============================================================= */
.pillars-band { background: var(--brand-blue); color: #fff; }
.pillars-band .sec-title, .pillars-band .sec-kicker { color: #fff; }
.pillars-band .sec-kicker { color: #E9C3AE; }
.pillars-band .sec-kicker::before { background: #fff; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.pillar { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-md); padding: 30px; }
.pillar__icon { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.pillar__icon svg { width: 26px; height: 26px; color: #fff; }
.pillar__n { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #E0926F; margin-bottom: 8px; }
.pillar__t { font-size: 20px; font-weight: 700; line-height: 1.25; margin-bottom: 18px; }
.pillar__items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pillar__items li { font-size: 14px; line-height: 1.5; color: #EADCCB; padding-left: 20px; position: relative; }
.pillar__items li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }

/* =============================================================
   TABLES (interactive matrices)
   ============================================================= */
.tableblock { margin-top: 36px; }
.tabletools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.tabletools__search {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--graphite-200);
  border-radius: var(--radius-sm); padding: 9px 14px; background: #fff; min-width: 240px;
}
.tabletools__search svg { width: 16px; height: 16px; color: var(--graphite-400); }
.tabletools__search input { border: 0; outline: 0; font-family: var(--font-sans); font-size: 14px; color: var(--ink); width: 100%; background: none; }
.tabletools__hint { font-size: 12px; color: var(--graphite-400); margin-left: auto; }
.tabletools__chip {
  font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 7px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--graphite-200); background: #fff; color: var(--graphite-500); cursor: pointer;
  transition: all .15s var(--ease-standard);
}
.tabletools__chip:hover { border-color: var(--brand-blue-300); color: var(--brand-blue); }
.tabletools__chip.active { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); }

.dtable { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border: 1px solid var(--graphite-200); border-radius: var(--radius-md); overflow: hidden; }
.dtable thead th {
  background: var(--brand-blue); color: #fff; text-align: left; padding: 15px 18px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  user-select: none; white-space: nowrap; position: relative;
}
.dtable thead th:hover { background: var(--brand-blue-deep); }
.dtable thead th .sortarrow { opacity: .5; margin-left: 6px; font-size: 10px; }
.dtable thead th.sorted .sortarrow { opacity: 1; }
.dtable tbody td { padding: 16px 18px; border-top: 1px solid var(--graphite-100); color: var(--graphite-600); line-height: 1.5; vertical-align: top; }
.dtable tbody tr:nth-child(even) { background: var(--graphite-50); }
.dtable tbody tr:hover { background: var(--brand-blue-tint); }
.dtable tbody td:first-child { font-weight: 700; color: var(--ink); }
.dtable .owner-pill { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 4px 11px; border-radius: var(--radius-pill); background: var(--brand-blue-tint); color: var(--brand-blue-deep); white-space: nowrap; }

/* cost-impact / risk color coding */
.cost-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; }
.cost-pill::before { content: ''; width: 9px; height: 9px; border-radius: 50%; }
.cost-high::before { background: var(--risk); } .cost-high { color: var(--risk); }
.cost-medhigh::before { background: var(--accent); } .cost-medhigh { color: var(--accent-deep); }
.cost-medium::before { background: #C5A300; } .cost-medium { color: #997f00; }
.cost-low::before { background: var(--success); } .cost-low { color: var(--success); }
.cost-essential::before { background: var(--risk); } .cost-essential { color: var(--risk); }

.tableempty { padding: 28px; text-align: center; color: var(--graphite-400); font-size: 14px; }

/* =============================================================
   ZERO TRUST  +  sidebar callout
   ============================================================= */
.zt-rings { display: flex; align-items: center; justify-content: center; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.checklist li { display: flex; gap: 14px; font-size: 15px; line-height: 1.5; color: var(--graphite-600); }
.checklist li svg { width: 20px; height: 20px; color: var(--brand-blue); flex: none; margin-top: 2px; }
.section--alt .checklist li { color: var(--band-ink); }

.sidebar-callout {
  margin-top: 40px; border: 1px solid var(--brand-blue-200); border-radius: var(--radius-md);
  background: #fff; padding: 30px 34px; position: relative; box-shadow: var(--shadow-sm);
}
.sidebar-callout__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-blue); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sidebar-callout__eyebrow svg { width: 16px; height: 16px; }
.sidebar-callout__big { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--ink); margin-bottom: 10px; line-height: 1.2; }
.sidebar-callout__body { font-size: 15px; line-height: 1.6; color: var(--graphite-600); margin: 0; }

/* =============================================================
   INSURER CALLOUT (orange-bordered)
   ============================================================= */
.insurer {
  border: 2px solid var(--accent); border-radius: var(--radius-md); padding: 36px;
  background: rgba(217,119,6,.04); margin-top: 8px;
}
.insurer__label { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 16px; }
.insurer__label svg { width: 17px; height: 17px; }
.insurer__body { font-size: 16px; line-height: 1.65; color: var(--graphite-600); margin: 0 0 16px; }
.insurer__kicker { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.4; margin: 0 0 20px; }
.insurer__reqs { display: flex; flex-wrap: wrap; gap: 10px; }
.insurer__req { font-size: 12.5px; font-weight: 600; color: var(--accent-deep); border: 1px solid rgba(217,119,6,.4); border-radius: var(--radius-pill); padding: 7px 14px; background: #fff; }

/* =============================================================
   ROADMAP
   ============================================================= */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.phase { background: #fff; border: 1px solid var(--graphite-200); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.phase__head { background: var(--brand-blue); color: #fff; padding: 24px 26px; }
.phase:nth-child(2) .phase__head { background: var(--brand-blue-deep); }
.phase:nth-child(3) .phase__head { background: var(--brand-blue-800); }
.phase__n { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #E9C3AE; }
.phase__t { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 24px; margin: 6px 0 4px; line-height: 1.05; }
.phase__when { font-size: 13px; color: #EADCCB; }
.phase__items { list-style: none; padding: 24px 26px; margin: 0; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.phase__items li { font-size: 14px; line-height: 1.5; color: var(--graphite-600); padding-left: 20px; position: relative; }
.phase__items li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-blue-300); }
.phase__foot { padding: 18px 26px; border-top: 1px solid var(--graphite-100); background: var(--graphite-50); }
.phase__invest { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--accent-deep); line-height: 1; }
.phase__investnote { font-size: 12px; color: var(--graphite-500); margin-top: 5px; }

.roi {
  margin-top: 36px; background: var(--brand-blue-900); color: #fff; border-radius: var(--radius-lg); padding: 44px;
  display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center;
}
.roi__big { font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: .92; color: #fff; }
.roi__biglbl { font-size: 13px; color: #E0926F; margin-top: 10px; line-height: 1.4; }
.roi__body { font-size: 16px; line-height: 1.65; color: #DCCBB6; margin: 0; }
.roi__body strong { color: #fff; }

/* =============================================================
   RECOMMENDATIONS (4-col matrix)
   ============================================================= */
.recos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--graphite-200); border-radius: var(--radius-md); overflow: hidden; margin-top: 40px; }
.reco { padding: 30px 26px; border-left: 1px solid var(--graphite-100); background: #fff; }
.reco:first-child { border-left: 0; }
.reco__icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--brand-blue-tint); color: var(--brand-blue); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.reco__icon svg { width: 20px; height: 20px; }
.reco--new { background: var(--brand-blue-tint); }
.reco--new .reco__icon { background: var(--brand-blue); color: #fff; }
.reco__role { font-size: 15px; font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.reco__items { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 14px; }
.reco__items li { font-size: 13.5px; line-height: 1.55; color: var(--graphite-600); padding-top: 14px; border-top: 1px solid var(--graphite-100); }
.reco__items li:first-child { border-top: 0; padding-top: 0; }

/* =============================================================
   CONCLUSION / ABOUT
   ============================================================= */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 56px; align-items: start; }
.about__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.about__list li { font-size: 15px; line-height: 1.55; color: var(--graphite-600); padding-left: 26px; position: relative; }
.about__list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 12px; height: 2px; background: var(--accent); }
.signature { margin-top: 28px; padding: 22px 26px; border-left: 3px solid var(--brand-blue); background: var(--brand-blue-tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.signature__name { font-size: 16px; font-weight: 700; color: var(--ink); }
.signature__role { font-size: 13px; color: var(--graphite-500); margin-top: 3px; }

/* =============================================================
   ASSESSMENT CTA + TOOL
   ============================================================= */
.assess-cta {
  background: var(--brand-blue); color: #fff; border-radius: var(--radius-lg);
  padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; margin-top: 12px;
}
.assess-cta__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #E9C3AE; margin-bottom: 16px; }
.assess-cta__h { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px,3.4vw,46px); line-height: 1.02; margin: 0 0 18px; }
.assess-cta__p { font-size: 17px; line-height: 1.6; color: #EADCCB; margin: 0; }
.assess-cta__panel { background: #fff; color: var(--ink); border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-lg); }
.assess-cta__stat { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--brand-blue); line-height: 1; }
.assess-cta__statlbl { font-size: 13px; color: var(--graphite-500); margin: 8px 0 22px; line-height: 1.4; }
.btn-primary {
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  background: var(--ink); color: #fff; border: 0; border-radius: var(--radius-sm); padding: 15px 24px; cursor: pointer;
  transition: background .15s var(--ease-standard); width: 100%;
}
.btn-primary:hover { background: var(--brand-blue); }

.assessment { max-width: 920px; margin: 0 auto; }
.assess-progressbar { position: sticky; top: 64px; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); padding: 16px 0; border-bottom: 1px solid var(--graphite-100); margin-bottom: 40px; }
.assess-progressrow { display: flex; align-items: center; gap: 16px; }
.assess-track { flex: 1; height: 8px; border-radius: var(--radius-pill); background: var(--graphite-100); overflow: hidden; }
.assess-fill { height: 100%; border-radius: var(--radius-pill); background: var(--brand-blue); transition: width .3s var(--ease-standard), background .3s; }
.assess-livescore { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.assess-livescore span { color: var(--graphite-400); font-size: 15px; }

.afn { margin-bottom: 12px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--graphite-200); }
.afn__band { padding: 22px 28px; color: #fff; display: flex; align-items: center; gap: 18px; }
.afn__bandicon { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; flex: none; }
.afn__bandicon svg { width: 22px; height: 22px; color: #fff; }
.afn__fn { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 24px; letter-spacing: .04em; line-height: 1; }
.afn__def { font-size: 13.5px; color: rgba(255,255,255,.85); margin-top: 5px; line-height: 1.4; }
.afn__subtotal { margin-left: auto; text-align: right; flex: none; }
.afn__subtotal .v { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1; }
.afn__subtotal .l { font-size: 11px; opacity: .85; letter-spacing: .08em; text-transform: uppercase; }

.aq { padding: 22px 28px; border-top: 1px solid var(--graphite-100); display: grid; grid-template-columns: 1fr 250px; gap: 24px; align-items: center; background: #fff; }
.aq:first-of-type { border-top: 0; }
.aq__q { font-size: 15px; line-height: 1.5; color: var(--graphite-700); }
.aq__qn { font-weight: 700; color: var(--brand-blue); margin-right: 8px; }
.aq__opts { display: flex; gap: 8px; }
.aq__opt {
  flex: 1; border: 1px solid var(--graphite-200); background: #fff; border-radius: var(--radius-sm);
  padding: 10px 6px; cursor: pointer; text-align: center; transition: all .15s var(--ease-standard);
}
.aq__opt:hover { border-color: var(--brand-blue-300); }
.aq__optnum { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1; color: var(--graphite-400); }
.aq__optlbl { font-size: 9.5px; line-height: 1.2; color: var(--graphite-400); margin-top: 5px; letter-spacing: .02em; }
.aq__opt.sel { border-color: var(--brand-blue); background: var(--brand-blue); }
.aq__opt.sel .aq__optnum, .aq__opt.sel .aq__optlbl { color: #fff; }

/* score result */
.scorecard { background: var(--brand-blue-900); color: #fff; border-radius: var(--radius-lg); padding: 48px; margin-top: 40px; text-align: center; }
.scorecard__total { font-family: var(--font-display); font-weight: 800; font-size: 96px; line-height: .9; }
.scorecard__total span { font-size: 40px; color: #E0926F; }
.scorecard__tier { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 10px 24px; border-radius: var(--radius-pill); margin: 22px 0 18px; }
.scorecard__blurb { font-size: 16px; line-height: 1.6; color: #DCCBB6; max-width: 620px; margin: 0 auto 16px; }
.scorecard__next { font-size: 15px; font-weight: 600; color: #fff; }
.tierband { display: flex; border-radius: var(--radius-sm); overflow: hidden; margin: 28px auto 0; max-width: 640px; height: 44px; }
.tierband__seg { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; opacity: .42; transition: opacity .3s; position: relative; }
.tierband__seg.on { opacity: 1; }
.tierband__seg.on::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #fff; }

.assess-actions { display: flex; gap: 14px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.btn-ghost { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius-sm); padding: 14px 24px; cursor: pointer; transition: background .15s; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-white { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: #fff; color: var(--brand-blue-deep); border: 0; border-radius: var(--radius-sm); padding: 15px 26px; cursor: pointer; }

/* =============================================================
   FOOTER
   ============================================================= */
.foot { background: var(--brand-blue-900); color: #fff; padding: 72px var(--shell-pad) 48px; }
.foot__inner { max-width: var(--maxw); margin: 0 auto; }
.foot__top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.16); }
.foot__logo { height: 34px; }
.foot__tag { font-size: 14px; letter-spacing: .18em; text-transform: lowercase; color: #E0926F; margin-top: 16px; }
.foot__contact { text-align: right; }
.foot__contact a { color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
.foot__contact .k { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #E0926F; display: block; margin-bottom: 4px; }
.refs { columns: 2; column-gap: 48px; margin-top: 40px; }
.refs__title { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #E0926F; column-span: all; margin-bottom: 18px; }
.refs li { font-size: 12px; line-height: 1.5; color: #C6B49E; margin-bottom: 12px; break-inside: avoid; padding-left: 0; }
.refs ol { padding-left: 18px; margin: 0; }
.foot__legal { margin-top: 40px; font-size: 12px; color: #8E8069; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* =============================================================
   reveal-on-scroll
   ============================================================= */
/* =============================================================
   reveal-on-scroll — content is VISIBLE BY DEFAULT; the entrance
   is a one-shot animation that can never leave content hidden,
   even if IntersectionObserver never fires.
   ============================================================= */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal.in { animation: revealUp .6s var(--ease-standard) both; }
}
@keyframes revealUp {
  from { transform: translateY(14px); }
  to   { transform: none; }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1159px) { .rail { display: none; } }
@media (max-width: 980px) {
  :root { --shell-pad: 28px; }
  .grid-3, .grid-4, .pillars, .compliance, .roadmap, .recos { grid-template-columns: 1fr; }
  .statstrip { grid-template-columns: repeat(2, 1fr); }
  .statcell:nth-child(odd) { border-left: 0; padding-left: 0; }
  .case, .case--flip { grid-template-columns: 1fr; }
  .case--flip .case__media { order: 0; }
  .case__media { min-height: 240px; }
  .backbone, .about, .roi, .assess-cta, .aq { grid-template-columns: 1fr; }
  .roi__big { font-size: 48px; }
  .checklist { grid-template-columns: 1fr; }
  .aq__opts { max-width: 280px; }
  .refs { columns: 1; }
  .recos .reco { border-left: 0; border-top: 1px solid var(--graphite-100); }
  .recos .reco:first-child { border-top: 0; }
}
@media (max-width: 600px) {
  .statstrip { grid-template-columns: 1fr; }
  .statcell { border-left: 0; padding-left: 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .cover__meta { gap: 24px; }
  .dtable { font-size: 12.5px; }
  .dtable thead th, .dtable tbody td { padding: 11px 12px; }
}


/* ===== Counsel reskin overrides ===== */
img:not([src$=".svg"]){ filter: sepia(.32) saturate(.85) contrast(1.04) brightness(1.03); }
.foot__logo{ filter:none !important; }
