/* ============================================================
   ThermoNext Energy & Consulting — site stylesheet
   Palette: deep navy / white / light blue-grey / energy green
   Type: IBM Plex Sans (display + text) · IBM Plex Mono (labels)
   ============================================================ */

/* Self-hosted fonts (variable where available) */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-500.woff2') format('woff2');
}
:root {
  /* Core palette */
  --ink:        #0f1d33;   /* deep charcoal, green cast */
  --ink-soft:   #33455e;
  --paper:      #ffffff;   /* warm white */
  --stone:      #f2f6fa;   /* light stone */
  --stone-deep: #e3eaf3;
  --line:       #d9e2ec;   /* hairlines on paper */
  --line-dark:  #1c3a5f;   /* hairlines on dark panels */
  --steel:      #5b6b80;   /* secondary text */
  --forest:     #052d5c;   /* primary navy — bands, panels */
  --forest-2:   #0b1e35;   /* deep navy — header, hero, footer */
  --brand:      #2f7a1f;   /* green for links, eyebrows, rules on light */
  --brand-hover:#256414;
  --accent:     #5eae35;   /* ThermoNext energy green — buttons, highlights */
  --pale-green: #8cc63f;   /* green accents on navy */
  --pale-line:  #2b4a70;

  /* Status — used sparingly */
  --amber:  #a4781f;
  --red:    #9c3b2b;
  --green:  #2f7a1f;
  --blue:   #3d6a8a;

  /* Type */
  --serif: "IBM Plex Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --sans:  "IBM Plex Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:  "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --w-max: 1180px;
  --w-narrow: 780px;
  --gutter: 24px;
  --header-offset: 128px;  /* topbar + main header */
}
@media (max-width: 980px) {
  :root { --header-offset: 78px; }
}

/* ------------------------------------------------------------
   Reset
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 { margin: 0 0 0.6em; line-height: 1.15; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
::selection { background: var(--pale-green); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ------------------------------------------------------------
   Typography
   ------------------------------------------------------------ */
h1, .h-display {
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: -0.022em;
  font-size: clamp(2.2rem, 4.6vw, 3.55rem);
  line-height: 1.08;
}
h2 {
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: -0.018em;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.15;
}
h3 { font-size: 1.17rem; font-weight: 600; }
h4 { font-size: 1.02rem; font-weight: 600; }

.lede {
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 44em;
}
.small { font-size: 0.92rem; }
.muted { color: var(--steel); }

/* Mono eyebrow labels: "01 — The problem" */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  display: block;
  margin-bottom: 1.1rem;
}
.on-dark .eyebrow { color: var(--pale-green); }

/* ------------------------------------------------------------
   Layout shells
   ------------------------------------------------------------ */
.wrap { max-width: var(--w-max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: var(--w-narrow); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: clamp(3.4rem, 7vw, 5.8rem) 0; }
.section-tight { padding: clamp(2.2rem, 4.5vw, 3.4rem) 0; }
.section + .section { border-top: 1px solid var(--line); }

.band-stone  { background: var(--stone); }
.band-dark   { background: var(--forest-2); color: var(--paper); }
.band-dark h1, .band-dark h2, .band-dark h3 { color: #ffffff; }
.band-dark p { color: #d6dfea; }
.band-dark a { color: var(--pale-green); }
.on-dark { color: var(--paper); }

.section-head { max-width: 46em; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Simple grid utilities */
.grid { display: grid; gap: clamp(1.4rem, 3vw, 2.6rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split.reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }

@media (max-width: 900px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split.reverse { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.topbar {
  background: #061426;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: #8fa1b8;
}
.topbar-inner {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 36px;
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.topbar a { color: #c2cedd; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar .topbar-right { margin-left: auto; }
@media (max-width: 980px) {
  .topbar { display: none; }
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.solid {
  box-shadow: 0 2px 16px rgba(8, 20, 38, 0.08);
}
.header-inner {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.8rem;
  height: 92px;
}
@media (max-width: 980px) {
  .header-inner { height: 76px; }
}
.brand {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 0.6rem;
  align-items: center;
  font-family: var(--sans);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1;
  color: var(--forest);
  white-space: nowrap;
}
.brand:hover { text-decoration: none; color: var(--forest); }
.brand .brand-word { text-transform: uppercase; grid-column: 2; }
.brand .brand-word em { font-style: normal; color: var(--accent); }
.brand .brand-mark { grid-row: 1 / span 2; grid-column: 1; width: 34px; min-width: 34px; max-width: none; height: 34px; flex-shrink: 0; }
.brand .brand-sub {
  grid-column: 2;
  grid-row: 2;
  margin-top: 0.3rem;
  font-family: var(--mono);
  font-size: 0.53rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--forest);
  opacity: 0.85;
}
.site-footer .brand, .site-footer .brand:hover { color: #ffffff; }
.site-footer .brand .brand-sub { color: var(--pale-green); opacity: 1; }
.brand-logo { display: block; }
.site-footer .brand-logo {
  display: inline-block;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 2px;
}
.site-footer .brand-img { height: 44px; width: auto; max-width: none; }
.brand-img { display: block; height: 48px; width: auto; max-width: none; }
@media (max-width: 980px) {
  .brand-img { height: 40px; }
}
@media (max-width: 400px) {
  .brand-img { height: 36px; }
}

.site-nav { margin-left: auto; }
.site-nav > ul {
  display: flex; align-items: center; gap: 0.2rem;
  list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  display: block;
  padding: 0.55rem 0.62rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}
.site-nav a:hover { color: var(--forest); text-decoration: none; }
.site-nav a[aria-current="page"],
.site-nav li.current > a { color: var(--forest); box-shadow: inset 0 -2px 0 var(--accent); }

/* Dropdown */
.has-sub { position: relative; }
.has-sub > a::after {
  content: "";
  display: inline-block;
  margin-left: 0.42em;
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.sub-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 300px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--brand);
  box-shadow: 0 14px 34px rgba(8, 20, 38, 0.16);
  list-style: none;
  margin: 0; padding: 0.45rem 0;
  display: none;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu,
.has-sub.open .sub-menu { display: block; }
.sub-menu a {
  color: var(--ink);
  font-weight: 500;
  padding: 0.5rem 1.1rem;
}
.sub-menu a:hover { background: var(--stone); color: var(--ink); }
.sub-menu a[aria-current="page"] { color: var(--brand); box-shadow: none; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-cta.btn { padding: 0.82rem 1.1rem; font-size: 0.92rem; }
.header-phone {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--forest);
  white-space: nowrap;
}
.header-phone:hover { color: var(--brand); text-decoration: none; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 0.6rem 0.2rem;
  margin-left: auto;
}
.nav-toggle .bar {
  display: block;
  width: 24px; height: 2px;
  background: var(--forest);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .header-phone { display: none; }
}
@media (max-width: 980px) {
  .site-header .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: fixed;
    top: 76px; left: 0; right: 0; bottom: 0;
    background: #ffffff;
    overflow-y: auto;
    padding: 1rem var(--gutter) 3rem;
    margin: 0;
  }
  body.nav-open .site-nav { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: 0.85rem 0.2rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .site-nav li.current > a, .site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
  .sub-menu {
    position: static;
    display: block;
    background: transparent;
    border: 0; box-shadow: none;
    padding: 0 0 0 1rem;
  }
  .sub-menu a { color: var(--steel); font-size: 0.97rem; border-bottom: 0; padding: 0.55rem 0.2rem; }
  .sub-menu a:hover { background: transparent; color: var(--forest); }
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #071527; }
.btn-primary:hover { background: #6ec24a; color: #071527; }
.band-dark .btn-primary, .hero .btn-primary, .cta-band .btn-primary { background: var(--accent); color: #071527; }
.band-dark .btn-primary:hover, .hero .btn-primary:hover, .cta-band .btn-primary:hover { background: #6ec24a; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink-soft); }
.btn-outline:hover { border-color: var(--ink); background: rgba(15, 29, 51, 0.04); }
.band-dark .btn-outline, .btn-outline.on-dark { color: #ffffff; border-color: var(--pale-line); }
.band-dark .btn-outline:hover, .btn-outline.on-dark:hover { border-color: var(--pale-green); background: rgba(140, 198, 63, 0.10); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

.text-link {
  font-weight: 600;
  color: var(--brand);
}
.text-link::after { white-space: nowrap; }
.text-link::after { content: "\2192"; margin-left: 0.4em; }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  background-color: #f5f8fb;
  background-image: linear-gradient(rgba(247, 250, 253, 0.94), rgba(243, 247, 251, 0.86)), url('../img/toronto-skyline.jpg');
  background-size: cover;
  background-position: center 30%;
  color: var(--ink);
  padding: calc(var(--header-offset) + clamp(3.2rem, 8vw, 6.5rem)) 0 clamp(3.2rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.hero h1 { color: var(--forest-2); max-width: 15em; }
.hero .lede { color: var(--ink-soft); }
.hero-copy { max-width: 46em; }
.hero-trust {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid #c8d4e0;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
@media (max-width: 980px) {
  .hero .btn-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero .btn-row .btn {
    width: min(100%, 250px);
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
  }
}


/* Frameless photo figures (no captions) */
.photo-figure { margin: 0; }
.photo-match { align-items: stretch; }
.photo-match .photo-figure { height: 100%; min-height: 100%; display: flex; }
.photo-match .photo-figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .photo-match .photo-figure { height: auto; }
  .photo-match .photo-figure img { height: auto; }
}
.photo-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

/* Lead photo under interior heroes — contained to the content column */
.page-lead-photo {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.page-lead-photo img {
  width: 100%;
  height: clamp(220px, 28vw, 390px);
  object-fit: cover;
  object-position: center 30%;
  display: block;
  border: 1px solid var(--line);
}

/* Interior page hero (shorter) */
.page-hero {
  background: var(--stone);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: calc(var(--header-offset) + clamp(2.6rem, 6vw, 4.6rem)) 0 clamp(2.6rem, 5vw, 4rem);
}
.page-hero h1 { color: var(--forest-2); max-width: 18em; }
.page-hero .lede { color: var(--ink-soft); }
.breadcrumb {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1.6rem;
}
.breadcrumb a { color: var(--steel); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 0.55em; }

/* ------------------------------------------------------------
   Credibility bar
   ------------------------------------------------------------ */
.cred-bar { background: var(--forest); border-top: 1px solid var(--pale-line); }
.cred-bar ul {
  list-style: none;
  margin: 0; padding: 1.15rem 0;
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2.6rem;
  align-items: center;
}
.cred-bar li {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--pale-green);
  white-space: nowrap;
}
@media (max-width: 700px) {
  .cred-bar ul { gap: 0.5rem 1.5rem; }
}

/* ------------------------------------------------------------
   Icons — single fine-line system (24px grid, stroke 1.6)
   ------------------------------------------------------------ */
.icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  max-width: 28px;
  color: var(--forest);
  stroke-width: 1.6;
}
.icon.green { color: var(--brand); }
.band-dark .icon { color: var(--pale-green); }
.ed-item .icon { margin-bottom: 0.85rem; }
.ruled .icon { margin-top: 0.1rem; }
.ruled > li.has-icon { grid-template-columns: 44px minmax(0, 1fr); align-items: start; }
.icon-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.6rem; }
.icon-head .icon { margin: 0; }
.icon-head h2, .icon-head h3 { margin-bottom: 0; }
@media (max-width: 600px) {
  .ruled > li.has-icon { grid-template-columns: 40px minmax(0, 1fr); gap: 0.9rem; }
}

/* ------------------------------------------------------------
   Editorial list blocks (replaces icon cards)
   ------------------------------------------------------------ */
.ed-item { border-top: 2px solid var(--ink); padding-top: 1.15rem; }
.band-dark .ed-item { border-top-color: var(--pale-green); }
.ed-item .num {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--steel);
  display: block;
  margin-bottom: 0.55rem;
}
.band-dark .ed-item .num { color: var(--pale-green); }
.ed-item h3 { margin-bottom: 0.45rem; }
.ed-item p { margin-bottom: 0.4rem; color: var(--ink-soft); }
.band-dark .ed-item p { color: #c2cedd; }
.ed-item p:last-child { margin-bottom: 0; }

/* Ruled row list — for services, findings, deliverables */
.ruled { list-style: none; margin: 0; padding: 0; }
.ruled > li {
  border-top: 1px solid var(--line);
  padding: 1.35rem 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: baseline;
}
.ruled > li:last-child { border-bottom: 1px solid var(--line); }
.ruled .num {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--steel);
}
.ruled h3 { margin-bottom: 0.35rem; }
.ruled p { margin-bottom: 0.35rem; color: var(--ink-soft); }
.ruled p:last-child { margin-bottom: 0; }
.band-dark .ruled > li { border-color: var(--line-dark); }
@media (max-width: 600px) {
  .ruled > li { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* Definition columns — heading + tight list, technical matrix feel */
.matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); background: var(--line); grid-gap: 1px; }
.matrix > div { background: var(--paper); padding: 1.5rem 1.4rem; }
.band-stone .matrix > div { background: var(--stone); }
.matrix h3 {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.85rem;
}
.matrix ul { list-style: none; margin: 0; padding: 0; }
.matrix li {
  font-size: 0.94rem;
  color: var(--ink-soft);
  padding: 0.3rem 0;
  border-bottom: 1px dotted var(--line);
}
.matrix li:last-child { border-bottom: 0; }
@media (max-width: 900px) { .matrix { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .matrix { grid-template-columns: 1fr; } }

/* Plain two-column checklist */
.check-list { list-style: none; margin: 0 0 1em; padding: 0; columns: 2; column-gap: 2.6rem; }
.check-list li {
  break-inside: avoid;
  padding: 0.34rem 0 0.34rem 1.35rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 0.95em; height: 0.95em;
  background: var(--brand);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M2.5 8.5l3.6 3.6L13.5 4.5"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M2.5 8.5l3.6 3.6L13.5 4.5"/></svg>') center / contain no-repeat;
}
.band-dark .check-list li { color: #c2cedd; }
.band-dark .check-list li::before { background: var(--pale-green); }
.check-list li { padding-left: 1.55rem; }
@media (max-width: 640px) { .check-list { columns: 1; } }

/* ------------------------------------------------------------
   Process steps
   ------------------------------------------------------------ */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); counter-reset: step; }
.process .step {
  border-right: 1px solid var(--line);
  padding: 1.6rem 1.4rem 1.6rem 0;
  margin-right: 1.4rem;
  display: flex;
  flex-direction: column;
}
.process .step:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.process .step-no {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--brand);
  display: block;
  margin-bottom: 0.8rem;
}
.process h3 { font-size: 1.17rem; margin-bottom: 0.5rem; }
.process p { font-size: 1.0625rem; color: var(--ink-soft); margin-bottom: 0.5rem; }
.process .deliverable {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--steel);
  border-top: 1px dotted var(--line);
  padding-top: 0.6rem;
  margin-top: auto;
  margin-bottom: 0;
}
.process h3, .process p { margin-bottom: 0.5rem; }
.process .step p:last-of-type { margin-bottom: 0.8rem; }
@media (max-width: 1000px) {
  .process { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .process .step {
    border-right: 0;
    border-top: 1px solid var(--line);
    margin-right: 0;
    padding: 1.4rem 0;
  }
}

/* Numbered vertical steps (interior pages) */
.steps-v { list-style: none; margin: 0; padding: 0; counter-reset: sv; }
.steps-v > li {
  counter-increment: sv;
  position: relative;
  padding: 0 0 1.6rem 3.4rem;
}
.steps-v > li::before {
  content: counter(sv, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0.1rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--brand);
}
.steps-v > li::after {
  content: "";
  position: absolute;
  left: 0.62rem;
  top: 1.7rem;
  bottom: 0.3rem;
  width: 1px;
  background: var(--line);
}
.steps-v > li:last-child { padding-bottom: 0; }
.steps-v > li:last-child::after { display: none; }
.steps-v h3 { font-size: 1.17rem; margin-bottom: 0.3rem; }
.steps-v p { color: var(--ink-soft); margin-bottom: 0; }

/* ------------------------------------------------------------
   Figures, diagrams, charts
   ------------------------------------------------------------ */
.figure {
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 1.6rem;
}
.band-dark .figure, .figure.on-dark {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--pale-line);
}
.figure figcaption, .fig-caption {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--steel);
  margin-top: 1.1rem;
  padding-top: 0.8rem;
  border-top: 1px dotted var(--line);
}
.band-dark .figure figcaption { color: #8fa1b8; border-top-color: var(--pale-line); }
.diagram-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; }

/* Report-style excerpt block */
.report-excerpt {
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  padding: 1.7rem 1.9rem;
  font-size: 0.95rem;
  overflow-x: auto;
}
.report-excerpt .report-head {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.85rem;
  margin-bottom: 1.1rem;
}
.report-excerpt table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.report-excerpt th {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  color: var(--steel);
  font-weight: 500;
  padding: 0.45rem 0.9rem 0.45rem 0;
  border-bottom: 1px solid var(--ink);
}
.report-excerpt td {
  padding: 0.55rem 0.9rem 0.55rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-soft);
}
@media (max-width: 480px) {
  .report-excerpt { padding: 1.2rem 1.1rem; }
  .report-excerpt table { font-size: 0.82rem; }
  .report-excerpt th, .report-excerpt td { padding-right: 0.55rem; }
}

.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 0.5em;
  vertical-align: baseline;
}
.status-dot.amber { background: var(--amber); }
.status-dot.red { background: var(--red); }
.status-dot.green { background: var(--green); }
.status-dot.blue { background: var(--blue); }

/* ------------------------------------------------------------
   Tables (generic technical)
   ------------------------------------------------------------ */
.table-plain { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.table-plain th {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: left;
  color: var(--steel);
  border-bottom: 1px solid var(--ink);
  padding: 0.6rem 1rem 0.6rem 0;
}
.table-plain td {
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 1rem 0.8rem 0;
  vertical-align: top;
  color: var(--ink-soft);
}
.table-scroll { overflow-x: auto; }

/* ------------------------------------------------------------
   FAQ / details
   ------------------------------------------------------------ */
details.faq {
  border-top: 1px solid var(--line);
  padding: 0;
}
details.faq:last-of-type { border-bottom: 1px solid var(--line); }
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 2.4rem 1.2rem 0;
  font-weight: 600;
  font-size: 1.02rem;
  position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.15rem;
  color: var(--brand);
}
details.faq[open] summary::after { content: "\2013"; }
details.faq .faq-body { padding: 0 0 1.4rem; color: var(--ink-soft); max-width: 46em; }

/* ------------------------------------------------------------
   Forms
   ------------------------------------------------------------ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.8rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.55rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  background-color: #ffffff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.78rem 0.9rem;
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 8" fill="none" stroke="%235b6b80" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M1.5 1.8 6 6.2l4.5-4.4"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 12px 8px;
  padding-right: 2.5rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand);
  outline: 1px solid var(--brand);
  outline-offset: 0;
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.88rem; color: var(--steel); }
.form-error { font-size: 0.95rem; color: #b3261e; margin: 0.9rem 0 0; }
.form-error a { color: inherit; font-weight: 600; }

/* ------------------------------------------------------------
   CTA band
   ------------------------------------------------------------ */
.cta-band { background: var(--forest); color: var(--paper); }
.cta-band h2 { color: #ffffff; }
.cta-band p { color: #cbd5e2; }
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 820px) { .cta-inner { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--ink);
  color: #aebbcc;
  font-size: 0.93rem;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.2rem;
}
.site-footer a { color: #d6dfea; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr));
  gap: 2.4rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid #223850;
}
.footer-brand .brand { color: #ffffff; font-size: 1.25rem; }
.footer-brand p { margin-top: 0.9rem; max-width: 30em; color: #8e9db0; }
.footer-tagline { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--pale-green) !important; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8494a9;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 0.26rem 0; }
.footer-col address { font-style: normal; color: #aebbcc; line-height: 1.7; }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 0.6rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.6rem;
  font-size: 0.84rem;
  color: #8494a9;
}
.footer-legal ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.footer-legal a { color: #8494a9; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   Motion — restrained reveal
   ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------
   Stat band (About)
   ------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--pale-line); border-bottom: 1px solid var(--pale-line); }
.stats > div { padding: 2rem 1.6rem 2rem 0; border-right: 1px solid var(--pale-line); margin-right: 1.6rem; }
.stats > div:last-child { border-right: 0; margin-right: 0; }
.stats .stat-value {
  font-family: var(--sans);
  font-weight: 650;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--pale-green);
  display: block;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.stats .stat-label {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c2cedd;
}
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2) { border-right: 0; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .stats > div { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--pale-line); padding-left: 0; }
  .stats > div:last-child { border-bottom: 0; }
}

/* ------------------------------------------------------------
   Dark-band refinements (contrast on navy backgrounds)
   ------------------------------------------------------------ */
.band-dark .eyebrow, .cta-band .eyebrow { color: var(--pale-green); }
.band-dark .ruled p, .band-dark .steps-v p { color: #c2cedd; }
.band-dark .ruled .num, .band-dark .steps-v > li::before { color: var(--pale-green); }
.band-dark .steps-v > li::after { background: var(--pale-line); }
.band-dark .muted, .cta-band .muted { color: #8fa1b8; }
.band-dark .process .step { border-color: var(--line-dark); }
.band-dark .process .step-no { color: var(--pale-green); }
.band-dark .process p { color: #c2cedd; }
.band-dark .process .deliverable { color: #8fa1b8; border-top-color: var(--pale-line); }
.band-dark .table-plain th { color: #8fa1b8; border-bottom-color: var(--pale-green); }
.band-dark .table-plain td { color: #c2cedd; border-bottom-color: var(--line-dark); }
.band-dark details.faq { border-color: var(--line-dark); }
.band-dark details.faq .faq-body { color: #c2cedd; }
.band-dark details.faq summary::after { color: var(--pale-green); }

/* ------------------------------------------------------------
   Utilities
   ------------------------------------------------------------ */
.mobile-only { display: none; }
@media (max-width: 980px) {
  .mobile-only { display: inline-block; }
}
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.divider { border: 0; border-top: 1px solid var(--line); margin: clamp(2rem, 4vw, 3rem) 0; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 0.8rem 1.2rem;
}
.skip-link:focus { left: 0; }
