/* ================================================================
   GREENWIRE DESIGN SYSTEM v2, bold dark, deck-aligned
   ================================================================ */
:root {
  --ink: #0C1B12;       /* primary dark */
  --ink-2: #132219;     /* surface dark */
  --ink-3: #17291E;     /* surface 2 */
  --ink-4: #1E3528;     /* surface 3 */
  --paper: #F7F9F6;     /* primary text */
  --paper-70: rgba(247,249,246,.72);
  --paper-50: rgba(247,249,246,.52);
  --paper-30: rgba(247,249,246,.28);
  --paper-15: rgba(247,249,246,.15);
  --paper-08: rgba(247,249,246,.08);
  --green: #2DB84B;
  --green-dark: #1B8A35;

  /* Per-industry accent, swapped at runtime */
  --accent: #2DB84B;            /* fill color (buttons, swatches, bg blocks) */
  --accent-text: #5AE077;       /* higher-contrast text/line variant for dark bg */
  --accent-deep: #1B8A35;
  --accent-ink: #071912;        /* text color when accent is the bg */
  --accent-soft: rgba(45,184,75,.14);

  --max: 1400px;
  --pad: clamp(24px, 4vw, 64px);
  --radius: 2px;
  --radius-lg: 4px;

  --f-display: 'Outfit', system-ui, sans-serif;
  --f-body: 'DM Sans', system-ui, sans-serif;
  --f-italic: 'Fraunces', 'Outfit', serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

/* ===== TYPOGRAPHY ===== */
.eyebrow {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-text);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--paper);
}
h1 { font-size: clamp(3.2rem, 7.5vw, 7rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h3 { font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 400; }
.italic { font-style: italic; font-weight: 400; color: var(--accent-text); font-family: var(--f-italic); font-weight: 300; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px var(--pad);
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(12,27,18,.82);
  backdrop-filter: blur(24px);
  border-bottom-color: var(--paper-08);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.01em;
}
.brand img { height: 40px; width: auto; }
.brand .dot { color: var(--accent-text); transition: color .35s; }

.nav-links { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > button {
  background: none; border: 0; cursor: pointer; color: var(--paper-70);
  font-family: inherit; font-size: inherit; font-weight: inherit;
  padding: 10px 14px; border-radius: 99px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .18s, background .18s;
}
.nav-item > a:hover, .nav-item > button:hover, .nav-item.open > button { color: var(--paper); background: var(--paper-08); }
.nav-item .caret { width: 10px; height: 10px; transition: transform .25s; opacity: .6; }
.nav-item.open .caret { transform: rotate(180deg); }

/* Mega-menu */
.mega {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-8px);
  min-width: 640px;
  background: rgba(19,34,25,.96);
  backdrop-filter: blur(24px);
  border: 1px solid var(--paper-08);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.nav-item.open .mega { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.mega-col h5 {
  font-family: var(--f-body); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-text); font-weight: 600; margin-bottom: 16px;
}
.mega-col a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: 8px;
  font-size: 14px; color: var(--paper-70); font-weight: 400;
  transition: background .15s, color .15s;
  position: relative;
}
.mega-col a::after {
  content: "→"; opacity: 0; transform: translateX(-4px);
  transition: opacity .2s, transform .2s; color: var(--accent-text); font-family: var(--f-display);
}
.mega-col a:hover { background: var(--paper-08); color: var(--paper); }
.mega-col a:hover::after { opacity: 1; transform: translateX(0); }
.mega-col a .swatch { width: 10px; height: 10px; border-radius: 99px; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 20px;
  background: var(--accent); color: var(--accent-ink) !important;
  font-weight: 600; border-radius: 99px;
  transition: filter .2s, transform .2s;
}
.nav-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.nav-cta .arrow { font-family: var(--f-display); font-size: 18px; }

/* ===== HERO (home) ===== */
.hero {
  position: relative; min-height: 100vh;
  display: grid; align-items: end;
  padding: 140px var(--pad) 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .38; transition: background-image .6s, opacity .6s;
}
.hero-bg .grad {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 15% 80%, var(--accent-soft), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, rgba(12,27,18,.6) 40%, var(--ink) 95%);
}
.hero-bg .grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--paper-08) 1px, transparent 1px),
    linear-gradient(90deg, var(--paper-08) 1px, transparent 1px);
  background-size: 120px 120px;
  mask: linear-gradient(180deg, transparent 0%, #000 40%, transparent 100%);
  opacity: .4;
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: end;
}
.hero h1 {
  max-width: 1100px;
}
.hero h1 .line { display: block; }
.hero .lead {
  margin-top: 32px;
  font-size: clamp(1.05rem, 1.3vw, 1.35rem);
  line-height: 1.55;
  color: var(--paper-70);
  max-width: 560px;
  font-weight: 300;
}
.hero-ctas { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 28px;
  font-family: var(--f-display); font-weight: 500; font-size: 15px;
  letter-spacing: -0.005em;
  border-radius: 99px; cursor: pointer; border: 0;
  transition: transform .2s, filter .2s, background .2s, color .2s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid var(--paper-15); }
.btn-ghost:hover { background: var(--paper-08); border-color: var(--paper-30); }
.btn .arrow { font-family: var(--f-display); font-weight: 300; font-size: 20px; line-height: 1; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero side: industry switcher live preview */
.hero-aside {
  position: relative;
  padding: 28px 28px 32px;
  background: rgba(12,27,18,.4);
  backdrop-filter: blur(16px);
  border: 1px solid var(--paper-08);
  border-radius: 14px;
  margin-bottom: 8px;
}
.hero-aside::before {
  content: ""; position: absolute; top: -1px; left: -1px; width: 48px; height: 4px;
  background: var(--accent); border-radius: 14px 0 0 0;
}
.hero-aside .label {
  font-family: var(--f-body); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--paper-50); font-weight: 500; margin-bottom: 16px;
}
.hero-aside h4 {
  font-family: var(--f-display); font-weight: 400; font-size: 22px;
  letter-spacing: -0.015em; margin-bottom: 4px;
}
.hero-aside .sub { font-size: 13px; color: var(--paper-50); margin-bottom: 20px; }
.ind-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ind-chip {
  display: inline-flex; align-items: center; line-height: 1.2;
  padding: 8px 14px; font-size: 12px; font-weight: 500;
  border: 1px solid var(--paper-15); border-radius: 99px;
  color: var(--paper-70); cursor: pointer;
  transition: all .2s;
  background: transparent;
  font-family: inherit;
  text-decoration: none;
}
.ind-chip:hover { border-color: var(--paper-30); color: var(--paper); }
.ind-chip:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.ind-chip.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.hero-stat-strip {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--paper-08);
}
.hero-stat-num {
  font-family: var(--f-display); font-weight: 200; font-size: 52px;
  letter-spacing: -0.04em; color: var(--accent-text); line-height: 1; margin-bottom: 8px;
}
.hero-stat-lbl { font-size: 12px; color: var(--paper-50); max-width: 220px; line-height: 1.4; }

/* Marquee scroll cue */
.scroll-cue {
  position: absolute; left: var(--pad); bottom: 28px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--f-body); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--paper-50);
}
.scroll-cue .line {
  width: 1px; height: 56px; background: var(--paper-30);
  position: relative; overflow: hidden;
}
.scroll-cue .line::after {
  content: ""; position: absolute; left: 0; top: -30px; width: 100%; height: 30px;
  background: var(--accent-text);
  animation: scroll-drip 2.2s ease-in-out infinite;
}
@keyframes scroll-drip {
  0% { top: -30px; }
  100% { top: 56px; }
}

/* ===== SECTION PRIMITIVES ===== */
.section { padding: clamp(80px, 10vw, 140px) var(--pad); position: relative; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 64px; align-items: end; }
.section-head .right { color: var(--paper-50); font-size: 16px; line-height: 1.55; max-width: 440px; font-weight: 300; }
.section-head h2 { margin-top: 20px; }

/* ===== DIVISIONS (two-pillar architecture) ===== */
.divisions { background: var(--ink); }
.div-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.div-card {
  position: relative; padding: 48px 44px 44px; min-height: 480px;
  background: var(--ink-2); border: 1px solid var(--paper-08);
  border-radius: var(--radius-lg);
  transition: transform .4s cubic-bezier(.22,1.36,1), border-color .4s;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.div-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 6px; height: 88px; background: var(--accent);
}
.div-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 90% 0%, var(--accent-soft), transparent 60%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.div-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.div-card:hover::after { opacity: 1; }
.div-card .num {
  font-family: var(--f-display); font-weight: 200; font-size: 14px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent-text);
  margin-bottom: 24px;
}
.div-card h3 {
  font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 400;
  letter-spacing: -0.025em; margin-bottom: 10px;
}
.div-card .sub { color: var(--paper-50); font-size: 15px; margin-bottom: 32px; }
.div-card ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--paper-08); }
.div-card li {
  padding: 14px 0; border-bottom: 1px solid var(--paper-08);
  display: flex; align-items: center; gap: 14px;
  font-size: 16px; color: var(--paper);
}
.div-card li .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--accent-text); }
.div-card .more {
  margin-top: 32px; color: var(--accent-text); font-weight: 500; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.div-card .more .arrow { transition: transform .2s; font-family: var(--f-display); font-size: 18px; }
.div-card:hover .more .arrow { transform: translateX(4px); }

/* ===== INDUSTRIES GRID ===== */
.industries-sec { background: var(--ink-2); overflow: hidden; }
.ind-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-top: 1px solid var(--paper-08); border-left: 1px solid var(--paper-08);
}
.ind-card {
  position: relative;
  padding: 36px 28px 32px;
  border-right: 1px solid var(--paper-08);
  border-bottom: 1px solid var(--paper-08);
  min-height: 240px;
  display: flex; flex-direction: column; justify-content: space-between;
  cursor: pointer;
  transition: background .3s;
  overflow: hidden;
}
.ind-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--accent-soft) 100%);
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
.ind-card:hover { background: var(--ink-3); }
.ind-card:hover::before { opacity: 1; }
.ind-card .num {
  font-family: var(--f-display); font-weight: 200; font-size: 20px;
  color: var(--paper-30); letter-spacing: -0.01em;
}
.ind-card h4 {
  font-family: var(--f-display); font-weight: 400; font-size: 26px;
  letter-spacing: -0.02em;
  margin-top: 32px;
  transition: color .3s;
  position: relative; z-index: 1;
}
.ind-card .sub {
  font-size: 13px; color: var(--paper-50);
  margin-top: 8px; line-height: 1.5;
  position: relative; z-index: 1;
}
.ind-card .arrow {
  position: absolute; top: 32px; right: 28px;
  width: 34px; height: 34px; border-radius: 99px;
  border: 1px solid var(--paper-15);
  display: grid; place-items: center;
  color: var(--paper-50);
  transition: all .3s;
  font-family: var(--f-display); font-size: 18px;
}
.ind-card:hover .arrow {
  background: var(--accent); color: var(--accent-ink); border-color: var(--accent);
  transform: rotate(-45deg);
}

/* ===== BIG STAT STRIP ===== */
.stat-strip {
  background: var(--ink);
  padding: clamp(60px, 8vw, 100px) var(--pad);
  border-top: 1px solid var(--paper-08);
  border-bottom: 1px solid var(--paper-08);
}
.stat-strip-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.stat-cell {
  padding: 24px 32px;
  border-right: 1px solid var(--paper-08);
}
.stat-cell:last-child { border-right: 0; }
.stat-cell .num {
  font-family: var(--f-display); font-weight: 200;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  letter-spacing: -0.045em; color: var(--accent-text);
  line-height: 0.95; margin-bottom: 16px;
}
.stat-cell .lbl {
  font-family: var(--f-display); font-weight: 500; font-size: 16px;
  letter-spacing: -0.01em; color: var(--paper); margin-bottom: 4px;
}
.stat-cell .sub { font-size: 13px; color: var(--paper-50); }

/* ===== INDUSTRY PAGE TEMPLATE ===== */
.ip-hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: flex-end;
  padding: 160px var(--pad) 80px;
  overflow: hidden;
}
.ip-hero-bg { position: absolute; inset: 0; z-index: 0; }
.ip-hero-bg .img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .45;
}
.ip-hero-bg .grad {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--accent-ink) 0%, rgba(12,27,18,.9) 50%, rgba(12,27,18,.45) 100%);
}
.ip-hero-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; width: 100%; }
.ip-crumb {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--paper-50); margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.ip-crumb .sep { width: 4px; height: 4px; border-radius: 99px; background: var(--accent-text); }
.ip-hero h1 {
  font-size: clamp(3rem, 8vw, 8rem);
  max-width: 1400px;
}
.ip-hero .lead {
  margin-top: 36px; font-size: clamp(1.1rem, 1.5vw, 1.5rem); color: var(--paper-70);
  max-width: 720px; line-height: 1.5; font-weight: 300;
}
.ip-hero-meta {
  margin-top: 48px; padding-top: 28px;
  border-top: 1px solid var(--paper-15);
  display: flex; gap: 48px; flex-wrap: wrap;
}
.ip-hero-meta .cell { }
.ip-hero-meta .k { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--paper-50); margin-bottom: 8px; }
.ip-hero-meta .v { font-family: var(--f-display); font-weight: 400; font-size: 22px; letter-spacing: -0.015em; color: var(--paper); }

/* Pillars row */
.pillars {
  background: var(--ink);
  padding: clamp(80px, 10vw, 140px) var(--pad);
}
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--paper-08); margin-top: 48px; }
.pillar {
  background: var(--ink); padding: 40px 32px 44px;
  min-height: 320px; display: flex; flex-direction: column;
  transition: background .3s;
  position: relative;
  cursor: pointer;
}
.pillar:hover { background: var(--ink-2); }
.pillar .num {
  font-family: var(--f-display); font-weight: 200; font-size: 56px;
  letter-spacing: -0.04em; color: var(--accent-text); line-height: 1; margin-bottom: 40px;
}
.pillar .bar { width: 32px; height: 1px; background: var(--accent-text); opacity: .7; margin-bottom: 22px; }
.pillar h4 { font-family: var(--f-display); font-size: 22px; font-weight: 500; line-height: 1.2; margin-bottom: 14px; }
.pillar p { font-size: 14px; color: var(--paper-50); line-height: 1.55; }

/* ===== CTA ===== */
.cta-band {
  background: var(--accent);
  color: var(--accent-ink);
  padding: clamp(80px, 10vw, 140px) var(--pad);
  position: relative; overflow: hidden;
}
/*
 * Depth for the accent band.
 *
 * This used to paint var(--accent-ink), the near-black text colour, * at full opacity as a bottom-left radial, which read as a muddy blob
 * rather than a vignette, and worst of all on the lighter accents.
 *
 * Replaced with three quiet layers: a light bloom from the top right,
 * the same faint grid motif the hero uses, and a directional wash for
 * depth. All neutral black/white alphas, so every industry accent
 * gets the same treatment without tuning.
 */
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(75% 110% at 88% 0%, rgba(255,255,255,.20), transparent 60%),
    linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(205deg, transparent 45%, rgba(0,0,0,.11) 100%);
  background-size: auto, 110px 110px, 110px 110px, auto;
  pointer-events: none;
}
.cta-inner { position: relative; max-width: var(--max); margin: 0 auto; }
.cta-band .eyebrow { color: var(--accent-ink); opacity: .7; }
.cta-band h2 { color: var(--accent-ink); margin-top: 24px; max-width: 1400px; }
.cta-band .italic { color: var(--accent-ink); opacity: 1; font-weight: 500; }
.cta-band .row {
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,.2);
  display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 48px; align-items: end;
}
.cta-band .row .k { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: .6; margin-bottom: 8px; }
.cta-band .row .v { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.4rem, 2vw, 2rem); letter-spacing: -0.015em; }
.btn-ink {
  background: var(--accent-ink); color: var(--accent-text);
  padding: 22px 32px; border-radius: 99px;
  font-family: var(--f-display); font-weight: 500; font-size: 16px;
  display: inline-flex; align-items: center; gap: 12px;
  transition: transform .2s;
}
.btn-ink:hover { transform: translateY(-2px); }

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  padding: clamp(80px, 10vw, 120px) var(--pad) 40px;
  border-top: 1px solid var(--paper-08);
}
/* A container so the oversized wordmark below can size itself against
   this column rather than the viewport. */
.footer-inner { max-width: var(--max); margin: 0 auto; container-type: inline-size; }
.footer-top {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--paper-08);
}
.footer-brand { }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand .brand img { height: 48px; }
.footer-brand p { color: var(--paper-50); font-size: 15px; line-height: 1.6; max-width: 320px; }
.footer-col h5 {
  font-family: var(--f-body); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-text); font-weight: 600; margin-bottom: 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: var(--paper-70); transition: color .15s; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--paper-50); flex-wrap: wrap; gap: 16px;
}
/*
 * The oversized wordmark.
 *
 * It was sized in vw but sits inside a max-width:1400px column, so on
 * any viewport wider than that it outgrew its box and got clipped
 * mid-word ("Southwest Floric").
 *
 * Now sized in cqw, a share of the FOOTER COLUMN, not the viewport, * so it fits at every width. The vw line above is the fallback for
 * browsers without container query units; it is deliberately
 * conservative so it never clips there either.
 *
 * --gw-huge is set per-site from the actual string length (see
 * footer.php), so a longer phrase shrinks to fit rather than spilling.
 */
.footer-huge {
  font-family: var(--f-display); font-weight: 200;
  letter-spacing: -0.05em;
  font-size: clamp(2.5rem, 9vw, 9rem);
  font-size: clamp(2.5rem, var(--gw-huge, 11cqw), 11rem);
  line-height: 0.9; color: var(--paper-08);
  margin: 32px 0 40px;
  user-select: none;
  overflow: hidden;
  white-space: nowrap;
}

/* ===== REDUCE MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}

/* ===== INDUSTRY PAGE, ENRICHED SECTIONS ===== */

/* Insight / challenge */
.ip-insight {
  background: var(--ink);
  padding: clamp(80px, 10vw, 140px) var(--pad);
  border-bottom: 1px solid var(--paper-08);
}
.ip-insight-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 100px; align-items: start;
}
.ip-insight-left .big {
  font-family: var(--f-display); font-weight: 200;
  font-size: clamp(7rem, 16vw, 16rem);
  letter-spacing: -0.05em; line-height: 0.86;
  color: var(--accent-text);
  display: block;
}
/* Word-shaped stats ("2 stages", "ABA 477R") need far less room than
   a short number does, so they step down a size. */
.ip-insight-left .big.is-long { font-size: clamp(3.2rem, 7vw, 7rem); line-height: 0.95; }
.ip-insight-left .big-sub {
  font-family: var(--f-display); font-weight: 400; font-size: 22px;
  color: var(--paper); margin-top: 20px; max-width: 420px; letter-spacing: -0.015em;
}
.ip-insight-right h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 300; margin-bottom: 28px; }
.ip-insight-right p { font-size: 19px; color: var(--paper-70); line-height: 1.55; max-width: 560px; font-weight: 300; margin-bottom: 32px; }
.ip-insight-right ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--paper-15); }
.ip-insight-right li {
  padding: 18px 0;
  border-bottom: 1px solid var(--paper-08);
  display: flex; gap: 18px; align-items: flex-start;
  font-size: 16px; color: var(--paper);
}
.ip-insight-right li::before {
  content: ""; width: 8px; height: 8px; border-radius: 99px;
  background: var(--accent-text); margin-top: 10px; flex-shrink: 0;
}

/* Expanded pillars (with bullets) */
.ip-pillars-deep {
  background: var(--ink);
  padding: clamp(80px, 10vw, 140px) var(--pad);
}
.ip-pillar-deep {
  display: grid; grid-template-columns: 160px 1.2fr 1fr;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--paper-08);
  align-items: start;
}
.ip-pillar-deep:last-child { border-bottom: 1px solid var(--paper-08); }
.ip-pillar-deep .idx {
  font-family: var(--f-display); font-weight: 200;
  font-size: 72px; letter-spacing: -0.04em;
  color: var(--accent-text); line-height: 0.9;
}
.ip-pillar-deep .idx .lbl {
  display: block; font-size: 11px; letter-spacing: .22em;
  color: var(--paper-50); text-transform: uppercase;
  margin-top: 16px; font-weight: 500;
}
.ip-pillar-deep h3 {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  letter-spacing: -0.02em; margin-bottom: 14px;
}
.ip-pillar-deep .desc {
  color: var(--paper-70); font-size: 16px; line-height: 1.55; font-weight: 300;
  max-width: 520px;
}
.ip-pillar-deep .items {
  list-style: none; padding: 0; margin: 0;
}
.ip-pillar-deep .items li {
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--paper-08);
  font-size: 15px; color: var(--paper);
  position: relative;
  line-height: 1.45;
}
.ip-pillar-deep .items li:first-child { border-top: 1px solid var(--paper-08); }
.ip-pillar-deep .items li::before {
  content: ""; position: absolute; left: 0; top: 22px;
  width: 14px; height: 1px; background: var(--accent-text);
}

/* Capability tags */
.ip-tags {
  background: var(--ink-2);
  padding: clamp(60px, 8vw, 100px) var(--pad);
  border-top: 1px solid var(--paper-08);
}
.ip-tags-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: center;
}
.ip-tags h3 { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.8rem, 2.8vw, 2.6rem); letter-spacing: -0.02em; }
.ip-tags .note { color: var(--paper-50); font-size: 15px; margin-top: 16px; max-width: 360px; font-weight: 300; }
.ip-tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.ip-tag {
  padding: 12px 18px;
  border: 1px solid var(--paper-15);
  border-radius: 99px;
  font-size: 14px;
  color: var(--paper-70);
  background: rgba(12,27,18,.3);
  transition: all .2s;
  font-family: var(--f-body); font-weight: 500;
}
.ip-tag:hover { border-color: var(--accent-text); color: var(--accent-text); background: var(--accent-soft); }

/* Process */
.ip-process {
  background: var(--ink);
  padding: clamp(80px, 10vw, 140px) var(--pad);
}
.ip-process-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px;
  background: var(--paper-08);
  margin-top: 48px;
}
.ip-step {
  background: var(--ink); padding: 36px 28px 40px;
  min-height: 280px;
  display: flex; flex-direction: column;
  position: relative;
  transition: background .3s;
}
.ip-step:hover { background: var(--ink-2); }
.ip-step .n {
  font-family: var(--f-display); font-weight: 200;
  font-size: 14px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 22px;
}
.ip-step .rule {
  height: 2px; width: 28px; background: var(--accent-text); margin-bottom: 24px;
}
.ip-step h4 {
  font-family: var(--f-display); font-weight: 500;
  font-size: 20px; letter-spacing: -0.015em;
  margin-bottom: 12px; line-height: 1.2;
}
.ip-step p { color: var(--paper-50); font-size: 14px; line-height: 1.55; }

/* Why Greenwire (industry) */
.ip-why {
  background: var(--ink-2);
  padding: clamp(80px, 10vw, 120px) var(--pad);
  border-top: 1px solid var(--paper-08);
  border-bottom: 1px solid var(--paper-08);
}
.ip-why-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 2px;
  background: var(--paper-08);
}
.ip-why-cell {
  background: var(--ink-2);
  padding: 36px 28px 40px;
}
.ip-why-cell .metric {
  font-family: var(--f-display); font-weight: 200;
  font-size: clamp(2.4rem, 4vw, 3.5rem); letter-spacing: -0.04em;
  color: var(--accent-text); line-height: 1; margin-bottom: 18px;
}
.ip-why-cell .lbl {
  font-family: var(--f-display); font-weight: 500; font-size: 16px;
  letter-spacing: -0.01em; color: var(--paper); margin-bottom: 6px;
}
.ip-why-cell .sub { font-size: 13px; color: var(--paper-50); line-height: 1.5; }

/* Service areas */
.ip-areas {
  background: var(--ink);
  padding: clamp(80px, 10vw, 140px) var(--pad);
}
.ip-areas-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  margin-top: 48px;
}
.ip-areas-col h4 {
  font-family: var(--f-body); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent-text); font-weight: 600;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid var(--paper-15);
}
.ip-areas-col ul { list-style: none; padding: 0; margin: 0; }
.ip-areas-col li {
  padding: 12px 0;
  border-bottom: 1px solid var(--paper-08);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--f-display); font-weight: 400; font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--paper);
}
.ip-areas-col li::after {
  content: "→"; color: var(--accent-text); opacity: .5;
  font-family: var(--f-display); font-size: 16px;
  transition: opacity .2s, transform .2s;
}
.ip-areas-col li:hover { color: var(--accent-text); }
.ip-areas-col li:hover::after { opacity: 1; transform: translateX(4px); }

/* Articles */
.ip-articles {
  background: var(--ink-2);
  padding: clamp(80px, 10vw, 140px) var(--pad);
  border-top: 1px solid var(--paper-08);
}
.ip-articles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--paper-08);
  margin-top: 48px;
}
.ip-article {
  background: var(--ink-2);
  padding: 40px 32px 44px;
  min-height: 320px;
  display: flex; flex-direction: column;
  transition: background .3s;
  cursor: pointer;
  position: relative;
}
.ip-article:hover { background: var(--ink-3); }
.ip-article .meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--paper-50); margin-bottom: 32px;
}
.ip-article .meta .cat { color: var(--accent-text); font-weight: 500; }
.ip-article h4 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.3rem, 1.7vw, 1.6rem); letter-spacing: -0.015em;
  line-height: 1.25; margin-bottom: auto;
}
.ip-article .more {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-text); font-weight: 500;
  transition: gap .2s;
}
.ip-article:hover .more { gap: 14px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .ip-insight-inner { grid-template-columns: 1fr; gap: 56px; }
  .ip-pillar-deep { grid-template-columns: 60px 1fr; gap: 24px; }
  .ip-pillar-deep .items { grid-column: 2; }
  .ip-pillar-deep .idx { font-size: 48px; }
  .ip-tags-inner { grid-template-columns: 1fr; gap: 40px; }
  .ip-process-grid { grid-template-columns: repeat(2, 1fr); }
  .ip-why-inner { grid-template-columns: repeat(2, 1fr); }
  .ip-areas-grid { grid-template-columns: 1fr; gap: 32px; }
  .ip-articles-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .div-cards { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: 0; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-band .row { grid-template-columns: 1fr; gap: 20px; }
  .nav-links .hide-md { display: none; }
  .page-switcher { right: 8px; }
  .page-switcher button { padding: 8px 10px; font-size: 10px; }
}
@media (max-width: 640px) {
  .ind-grid { grid-template-columns: 1fr; }
  .stat-strip-inner { grid-template-columns: 1fr; }
  .stat-cell { border-right: 0; border-bottom: 1px solid var(--paper-08); }
  .pillars-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
}