/* ==========================================================================
   AD Energy design system
   Palette follows the brand: signature green, graphite, black and white.
   ========================================================================== */

:root {
  --green: #00b96f;
  --green-600: #00a060;
  --green-700: #00804d;
  --green-50: #e8faf2;
  --leaf: #4baf61;
  --ink: #070a09;
  --ink-2: #0e1312;
  --ink-3: #161d1b;
  --graphite: #444444;
  --text: #1a1f1d;
  --muted: #5b6662;
  --muted-dark: #a3aeaa;
  --line: #e4e9e7;
  --line-dark: rgba(255, 255, 255, 0.1);
  --mist: #f4f7f5;
  --white: #ffffff;

  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  font-feature-settings: 'cv11', 'ss01';
  text-rendering: optimizeLegibility;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--green); color: var(--white); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--green); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* Layout ----------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--dark { background: var(--ink); color: var(--white); }
.section--mist { background: var(--mist); }

/* Typography ------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--green);
}
.display {
  font-size: clamp(44px, 7.4vw, 112px);
  line-height: 1.02; letter-spacing: -0.045em; font-weight: 600;
}
.h1 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 600; }
.h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; }
.h3 { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--muted); max-width: 640px; }
.section--dark .lead, .hero .lead, .page-hero .lead { color: var(--muted-dark); }
.accent { color: var(--green); }
.muted { color: var(--muted); }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head--stack { grid-template-columns: 1fr; max-width: 860px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 28px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-600); }
.btn--ghost { border: 1.5px solid rgba(255, 255, 255, 0.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); }
.btn--outline { border: 1.5px solid var(--line); color: var(--text); }
.btn--outline:hover { border-color: var(--text); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--green);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--white);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .solid-header .site-header {
  background: rgba(7, 10, 9, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line-dark);
  --header-h: 72px;
}
.solid-header .site-header { background: var(--ink); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand img { height: 30px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-item:focus-within > .nav-link { color: var(--white); background: rgba(255, 255, 255, 0.07); }
.nav-link[aria-current='page'] { color: var(--white); }
.nav-link[aria-current='page']::after {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green); margin-left: 2px;
}
.nav-link .chev { width: 12px; height: 12px; opacity: 0.6; transition: transform 0.3s var(--ease); }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 340px;
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: var(--white); color: var(--text); border-radius: var(--radius-sm); padding: 10px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.dropdown::before { content: ''; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: block; padding: 14px 16px; border-radius: 8px; transition: background 0.2s; }
.dropdown a:hover { background: var(--mist); }
.dropdown strong { display: block; font-size: 15px; font-weight: 600; }
.dropdown span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); position: relative; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--white); transition: transform 0.3s var(--ease), opacity 0.3s; }
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--white);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.menu-open .mobile-nav { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-nav a { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; padding: 10px 0; border-bottom: 1px solid var(--line-dark); }
.mobile-nav a.sub { font-size: 18px; font-weight: 600; color: var(--muted-dark); padding-left: 20px; }
.mobile-nav .btn { margin-top: 28px; font-size: 16px; border: 0; }

/* Hero (home) ------------------------------------------------------------ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate;
}
.hero-media, .page-hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img, .page-hero-media video, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after, .page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 10, 9, 0.55) 0%, rgba(7, 10, 9, 0.1) 30%, rgba(7, 10, 9, 0.35) 60%, rgba(7, 10, 9, 0.95) 100%),
    linear-gradient(90deg, rgba(7, 10, 9, 0.75) 0%, rgba(7, 10, 9, 0) 65%);
}
.hero-content { padding-top: calc(var(--header-h) + 80px); padding-bottom: 56px; }
.hero .eyebrow { margin-bottom: 28px; }
.hero h1 { max-width: 1100px; }
.hero .lead { margin-top: 32px; max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.hero-bar {
  border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero-bar > div { padding: 26px 24px 30px 0; }
.hero-bar > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero-bar small { display: block; font-size: 12px; letter-spacing: 0; color: var(--muted-dark); font-weight: 600; margin-bottom: 6px; }
.hero-bar strong { font-size: 17px; font-weight: 600; }

/* Page hero (inner pages) ------------------------------------------------ */
.page-hero {
  position: relative; min-height: 78vh; display: flex; align-items: flex-end;
  color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 80px) 0 clamp(56px, 8vw, 110px);
}
.page-hero--short { min-height: 56vh; }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero .lead { margin-top: 28px; }
.breadcrumb { display: flex; gap: 10px; font-size: 14px; color: var(--muted-dark); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--white); }

/* Index strip ------------------------------------------------------------ */
.index-strip { background: var(--ink); color: var(--white); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.index-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.index-cell {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 28px;
  border-left: 1px solid var(--line-dark); transition: background 0.3s var(--ease);
}
.index-cell:last-child { border-right: 1px solid var(--line-dark); }
.index-cell::after {
  content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
a.index-cell:hover { background: rgba(255, 255, 255, 0.04); }
a.index-cell:hover::after { transform: scaleX(1); }
.index-num { display: inline-flex; align-items: center; }
.index-num::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(0, 185, 111, 0.2); }
.index-label { font-size: 16px; font-weight: 500; letter-spacing: -0.015em; color: rgba(255, 255, 255, 0.92); }

/* Split hero (case study) ------------------------------------------------ */
.split-hero { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; min-height: 100svh; background: var(--ink); color: var(--white); }
.split-hero-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 80px) clamp(24px, 6vw, 96px) clamp(56px, 8vw, 110px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.split-hero-copy .eyebrow { margin-bottom: 24px; }
.split-hero-copy .h1 { font-size: clamp(38px, 4.4vw, 66px); }
.split-hero-copy .lead { margin-top: 28px; color: var(--muted-dark); }
.split-hero-media { position: relative; background: var(--white); overflow: hidden; border-bottom-left-radius: 56px; }
.split-hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Stats ------------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.section--dark .stats { border-color: var(--line-dark); }
.stat { padding: 40px 32px 8px 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.section--dark .stat + .stat { border-color: var(--line-dark); }
.stat-value { font-size: clamp(48px, 6vw, 88px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 16px; font-size: 15px; color: var(--muted); max-width: 240px; }
.section--dark .stat-label { color: var(--muted-dark); }

/* Intro split ------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--top { align-items: start; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-3); }
.split-media img, .split-media video { width: 100%; height: 100%; object-fit: cover; }
.split-media--wide { aspect-ratio: 4 / 3; }
.split-media--contain { background: var(--white); border: 1px solid var(--line); }
.split-media--contain video, .split-media--contain img { object-fit: cover; transform: scale(1.35); }
.split-copy .eyebrow { margin-bottom: 24px; }
.split-copy .lead { margin-top: 28px; }
.split-copy .btn, .split-copy .link-arrow { margin-top: 40px; }
.media-badge {
  position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 320px;
  background: rgba(7, 10, 9, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--white); border-radius: var(--radius-sm); padding: 20px 22px;
}
.media-badge strong { display: block; font-size: 32px; font-weight: 600; color: var(--green); letter-spacing: -0.02em; line-height: 1.1; }
.media-badge span { font-size: 14px; color: var(--muted-dark); }

.checklist { margin-top: 36px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.checklist li::before {
  content: ''; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b96f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Capability cards ------------------------------------------------------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.section--dark .cap-grid { background: var(--line-dark); border-color: var(--line-dark); }
.cap {
  position: relative; background: var(--white); padding: clamp(32px, 3.4vw, 48px); min-height: 340px;
  display: flex; flex-direction: column; transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.section--dark .cap { background: var(--ink); }
.cap-num { font-size: 14px; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }
.cap-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--green-50); color: var(--green); margin: 28px 0 28px; transition: background 0.4s, color 0.4s; }
.section--dark .cap-icon { background: rgba(0, 185, 111, 0.12); }
.cap-icon svg { width: 26px; height: 26px; }
.cap h3 { margin-bottom: 12px; }
.cap p { color: var(--muted); font-size: 16px; }
.section--dark .cap p { color: var(--muted-dark); }
.cap .link-arrow { margin-top: auto; padding-top: 28px; }
.cap:hover { background: var(--ink); color: var(--white); }
.cap:hover p { color: var(--muted-dark); }
.cap:hover .cap-icon { background: var(--green); color: var(--white); }
.section--dark .cap:hover { background: var(--ink-3); }

/* Feature (case study) --------------------------------------------------- */
.feature { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); color: var(--white); display: grid; grid-template-columns: 1.05fr 1fr; }
.feature-copy { padding: clamp(40px, 5vw, 80px); display: flex; flex-direction: column; }
.feature-copy .eyebrow { margin-bottom: 24px; }
.feature-copy .lead { margin-top: 24px; }
.feature-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.feature-kpis strong { display: block; font-size: clamp(32px, 3.4vw, 48px); font-weight: 600; color: var(--green); letter-spacing: -0.03em; line-height: 1; }
.feature-kpis span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted-dark); }
.feature-copy .btn { margin-top: auto; align-self: flex-start; }
.feature-media { position: relative; background: var(--white); min-height: 560px; overflow: hidden; }
.feature-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Image cards ------------------------------------------------------------ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.img-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; color: var(--white); background: var(--ink-3); isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; }
.img-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.img-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 10, 9, 0) 35%, rgba(7, 10, 9, 0.92) 100%); }
.img-card:hover img { transform: scale(1.06); }
.img-card small { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.72); margin-bottom: 8px; }
.img-card p { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, 0.78); }

.insight { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.insight:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(7, 10, 9, 0.35); }
.insight-media { aspect-ratio: 16 / 10; background: var(--mist); overflow: hidden; }
.insight-media img { width: 100%; height: 100%; object-fit: cover; }
.insight-body { padding: 28px; }
.insight-body small { font-size: 12px; letter-spacing: 0; font-weight: 600; color: var(--green); }
.insight-body h3 { margin: 10px 0 10px; }
.insight-body p { color: var(--muted); font-size: 16px; }

/* Process ---------------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step { padding: 40px 32px 0 0; border-top: 1px solid var(--line-dark); position: relative; }
.step + .step { padding-left: 32px; }
.step::after { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.step + .step::after { left: 32px; }
.step h3 { margin-bottom: 14px; }
.step p { color: var(--muted-dark); font-size: 16px; }
.section:not(.section--dark) .step { border-color: var(--line); }
.section:not(.section--dark) .step p { color: var(--muted); }

/* Leadership ------------------------------------------------------------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.person-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #eef1f0; }
.person-media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform 1.2s var(--ease); }
.person:hover .person-media img { transform: scale(1.025); }
.person-info { padding: 26px 2px 0; border-top: 0; }
.person-info .role { font-size: 14px; font-weight: 500; color: var(--green); }
.person-info h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.025em; margin-top: 6px; }
.person-info p { color: var(--muted); font-size: 15px; margin-top: 10px; line-height: 1.55; }

.lead-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: end; padding-bottom: clamp(48px, 6vw, 80px); margin-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.lead-intro .h1 { margin-top: 20px; }

/* Values ----------------------------------------------------------------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { padding: 36px 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.section--dark .value { background: var(--ink-2); border-color: var(--line-dark); }
.value .cap-icon { margin: 0 0 32px; }
.value h3 { font-size: 21px; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 16px; }
.section--dark .value p { color: var(--muted-dark); }

/* Timeline / quote ------------------------------------------------------- */
.quote { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; max-width: 1100px; }
.quote::before { content: '\201C'; display: block; font-size: 1.8em; line-height: 0.6; color: var(--green); margin-bottom: 24px; }
.quote-by { margin-top: 32px; display: flex; align-items: center; gap: 16px; color: var(--muted-dark); font-size: 16px; }
.quote-by strong { color: var(--white); }

/* Service detail rows ---------------------------------------------------- */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 56px 0; border-top: 1px solid var(--line); align-items: start; scroll-margin-top: 100px; }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row .cap-num { font-size: 15px; padding-top: 10px; }
.service-row p { color: var(--muted); }
.service-row ul { display: grid; gap: 10px; margin-top: 20px; }
.service-row li { display: flex; gap: 12px; font-size: 15.5px; font-weight: 600; }
.service-row li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-top: 10px; }

/* Measurement & Verification ------------------------------------------- */
.equation {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: clamp(12px, 2vw, 28px);
  font-size: clamp(22px, 3vw, 44px); font-weight: 600; letter-spacing: -0.035em; text-align: center;
}
.equation .term { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.equation .term small { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; color: var(--muted-dark); }
.equation .op { align-self: flex-start; color: var(--muted-dark); font-weight: 400; }
.equation .result { color: var(--green); }
.eq-wrap { color: var(--white); padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 64px); border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); }
.eq-note { text-align: center; margin: 32px auto 0; max-width: 720px; color: var(--muted-dark); font-size: 16px; }

.chart-card { border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); padding: clamp(24px, 3.4vw, 48px); }
.chart-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.chart-top .h3 { color: var(--white); }
.chart-top p { color: var(--muted-dark); font-size: 15px; margin-top: 6px; }
.chart-kpis { display: flex; gap: 40px; flex-wrap: wrap; }
.chart-kpis div { min-width: 120px; }
.chart-kpis small { display: block; font-size: 13px; color: var(--muted-dark); }
.chart-kpis strong { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.035em; color: var(--white); font-variant-numeric: tabular-nums; line-height: 1.15; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; color: var(--muted-dark); margin-bottom: 16px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 10px; }
.chart-legend i { display: inline-block; width: 24px; height: 0; border-top: 2px solid; }
.chart-legend .lg-base i { border-color: #6f7d78; border-top-style: dashed; }
.chart-legend .lg-actual i { border-color: #00ab68; }
.chart-legend .lg-save i { height: 12px; border: 0; border-radius: 3px; background: rgba(0, 171, 104, 0.22); }
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: rgba(255, 255, 255, 0.07); }
.chart .axis text { fill: var(--muted-dark); font-size: 12px; font-family: var(--font); }
.chart .crosshair { stroke: rgba(255, 255, 255, 0.35); stroke-width: 1; }
.chart-tip {
  position: absolute; top: 0; left: 0; pointer-events: none; z-index: 2; min-width: 190px;
  background: rgba(255, 255, 255, 0.98); color: var(--text); border-radius: 12px; padding: 12px 14px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5); font-size: 13.5px; opacity: 0; transition: opacity 0.15s;
}
.chart-tip.is-on { opacity: 1; }
.chart-tip strong { display: block; font-size: 14px; margin-bottom: 6px; }
.chart-tip div { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.chart-tip div span:first-child { color: var(--muted); }
.chart-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 20px; font-size: 13px; color: var(--muted-dark); }
.chart-foot details { color: var(--muted-dark); }
.chart-foot summary { cursor: pointer; color: var(--white); font-weight: 500; }
.chart-table { margin-top: 12px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.chart-table th, .chart-table td { padding: 6px 14px 6px 0; text-align: right; border-bottom: 1px solid var(--line-dark); }
.chart-table th:first-child, .chart-table td:first-child { text-align: left; }

.tabs { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.tab-list { display: grid; gap: 8px; }
.tab {
  text-align: left; padding: 20px 22px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--white); transition: background 0.3s var(--ease), border-color 0.3s, color 0.3s;
}
.tab small { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.tab strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-top: 2px; }
.tab:hover { border-color: #c9d2ce; }
.tab[aria-selected='true'] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tab[aria-selected='true'] small { color: var(--green); }
.tab-panel { border-radius: var(--radius); background: var(--mist); padding: clamp(28px, 4vw, 56px); min-height: 100%; }
.tab-panel[hidden] { display: none; }
.tab-panel .big-letter { font-size: clamp(80px, 10vw, 140px); font-weight: 600; letter-spacing: -0.06em; line-height: 0.9; color: var(--green); }
.tab-panel h3 { margin: 20px 0 14px; }
.tab-panel p { color: var(--muted); max-width: 640px; }
.tab-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.tab-meta small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.tab-meta p { color: var(--text); font-weight: 500; font-size: 16px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.metric { background: var(--ink); padding: 32px 28px 36px; transition: background 0.3s; }
.metric:hover { background: var(--ink-3); }
.metric .unit { font-size: clamp(30px, 3vw, 42px); font-weight: 600; letter-spacing: -0.04em; color: var(--green); line-height: 1; }
.metric h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin: 24px 0 8px; }
.metric p { font-size: 15px; color: var(--muted-dark); }

.standards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.standard { padding: 28px 0 0; border-top: 2px solid var(--ink); }
.standard strong { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.025em; }
.standard p { color: var(--muted); font-size: 15px; margin-top: 10px; }

.deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.deliverables li { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.deliverables li span { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-top: 10px; }


/* Pillars (what we do) ---------------------------------------------------- */
.pillars { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.pillar {
  position: relative; display: flex; flex-direction: column; min-height: 360px; padding: 36px 32px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(7, 10, 9, 0.35); border-color: #cfd8d4; }
.pillar .cap-icon { margin: 0 0 auto; }
.pillar h3 { margin-top: 48px; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.03em; font-weight: 600; line-height: 1.15; }
.pillar p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.pillar .link-arrow { margin-top: 24px; }
.pillar--feature { background: var(--ink); color: var(--white); border-color: var(--ink); overflow: hidden; isolation: isolate; }
.pillar--feature::before {
  content: ''; position: absolute; z-index: -1; right: -30%; top: -40%; width: 90%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(0, 185, 111, 0.35), rgba(0, 185, 111, 0));
}
.pillar--feature p { color: var(--muted-dark); }
.pillar--feature .cap-icon { background: var(--green); color: var(--white); }
.pillar-tag { position: absolute; top: 32px; right: 28px; font-size: 13px; font-weight: 500; color: var(--green); }

/* Why M&V (big reasons) ---------------------------------------------------- */
.why-head { max-width: 980px; }
.why-head .display { font-size: clamp(40px, 6vw, 88px); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(48px, 6vw, 80px); background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.why { background: var(--ink); padding: clamp(28px, 3vw, 44px); }
.why h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
.why p { margin-top: 12px; color: var(--muted-dark); font-size: 16px; }
.why .cap-icon { margin: 0 0 36px; background: rgba(0, 185, 111, 0.12); }
.why-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; }
.why-foot .trust-line { margin: 0; background: transparent; border-color: var(--line-dark); color: var(--white); }

/* With / without comparison ---------------------------------------------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { border-radius: var(--radius); padding: clamp(28px, 3.4vw, 48px); border: 1px solid var(--line); background: var(--white); }
.compare-col h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; display: flex; align-items: center; gap: 12px; }
.compare-col h3 svg { flex: none; width: 24px; height: 24px; }
.compare-col ul { margin-top: 24px; }
.compare-col li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 17px; }
.compare-col li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; }
.compare-col--bad h3 svg, .compare-col--bad li svg { color: #c2410c; }
.compare-col--good { background: var(--ink); color: var(--white); border-color: var(--ink); }
.compare-col--good li { border-color: var(--line-dark); }
.compare-col--good h3 svg, .compare-col--good li svg { color: var(--green); }

/* Low delta-T animation ----------------------------------------------------- */
.ldt { --supply: #3b8cff; --ret: #f59e0b; --speed: 3.2s; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); padding: clamp(20px, 3vw, 40px); color: var(--white); }
.ldt[data-mode='low'] { --ret: #67d4f0; --speed: 1.25s; }
.ldt-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.ldt-top p { color: var(--muted-dark); font-size: 15px; max-width: 520px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); }
.seg button { height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted-dark); transition: background 0.3s, color 0.3s; }
.seg button[aria-pressed='true'] { background: var(--white); color: var(--ink); }
.ldt svg { display: block; width: 100%; height: auto; }
.ldt .pipe-base { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.ldt .flow { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 17; animation: ldt-flow var(--speed) linear infinite; transition: stroke 0.8s var(--ease); }
.ldt .flow--supply { stroke: var(--supply); }
.ldt .flow--return { stroke: var(--ret); }
.ldt .coil { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ldt .coil-flow { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 13; animation: ldt-flow var(--speed) linear infinite; }
.ldt .stop-ret { stop-color: var(--ret); transition: stop-color 0.8s var(--ease); }
.ldt .stop-sup { stop-color: var(--supply); }
@keyframes ldt-flow { to { stroke-dashoffset: -180; } }
.ldt .box { fill: rgba(255, 255, 255, 0.03); stroke: rgba(255, 255, 255, 0.12); }
.ldt .lbl { fill: var(--muted-dark); font-family: var(--font); font-size: 14px; }
.ldt .lbl-strong { fill: var(--white); font-family: var(--font); font-size: 15px; font-weight: 600; }
.ldt .chiller rect { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.14); transition: fill 0.6s, stroke 0.6s; }
.ldt .chiller text { fill: var(--muted-dark); font-family: var(--font); font-size: 13px; transition: fill 0.6s; }
.ldt .chiller.is-on rect { fill: rgba(0, 185, 111, 0.16); stroke: var(--green); }
.ldt .chiller.is-on text { fill: var(--white); }
.ldt .chiller .fan { transform-box: fill-box; transform-origin: center; }
.ldt .chiller.is-on .fan { animation: ldt-spin 1.4s linear infinite; }
.ldt .chiller .fan path { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 2; stroke-linecap: round; }
.ldt .chiller.is-on .fan path { stroke: var(--green); }
.ldt .pump-rotor { transform-box: fill-box; transform-origin: center; animation: ldt-spin calc(var(--speed) / 3) linear infinite; }
@keyframes ldt-spin { to { transform: rotate(360deg); } }
.ldt .temp { font-family: var(--font); font-size: 22px; font-weight: 600; }
.ldt .temp--s { fill: var(--supply); }
.ldt .temp--r { fill: var(--ret); transition: fill 0.8s; }
.ldt .dt-val { font-family: var(--font); font-size: 52px; font-weight: 600; letter-spacing: -0.04em; fill: var(--white); }
.ldt .dt-tag { font-family: var(--font); font-size: 14px; font-weight: 600; }
.ldt[data-mode='design'] .dt-tag { fill: var(--green); }
.ldt[data-mode='low'] .dt-tag { fill: #fb7185; }
.ldt .floor { stroke: rgba(255, 255, 255, 0.08); }
.ldt-read { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 24px; background: var(--line-dark); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line-dark); }
.ldt-read > div { background: var(--ink-2); padding: 18px 20px; }
.ldt-read small { display: block; font-size: 13px; color: var(--muted-dark); }
.ldt-read strong { display: block; margin-top: 4px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ldt-bar { height: 4px; margin-top: 12px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.ldt-bar i { display: block; height: 100%; width: 40%; border-radius: 4px; background: var(--green); transition: width 0.9s var(--ease), background 0.6s; }
.ldt[data-mode='low'] .ldt-bar i { background: #fb7185; }
.ldt-note { margin-top: 14px; font-size: 13px; color: var(--muted-dark); }
@media (prefers-reduced-motion: reduce) { .ldt .flow, .ldt .coil-flow { stroke-dasharray: none; } }
.ldt-svg--tall { display: none !important; }
@media (max-width: 640px) {
  .ldt-svg--wide { display: none !important; }
  .ldt-svg--tall { display: block !important; max-width: 420px; margin: 0 auto; }
  .ldt-top { flex-direction: column; align-items: stretch; }
  .seg { width: 100%; }
  .seg button { flex: 1; }
}

.cause-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.cause-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.cause-list strong { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.cause-list span { display: block; margin-top: 6px; color: var(--muted); font-size: 16px; }

/* Confidential case ----------------------------------------------------- */
.case { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); color: var(--white); border: 1px solid var(--line-dark); }
.case-media { position: relative; min-height: 460px; }
.case-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 19, 18, 0) 55%, rgba(14, 19, 18, 0.9) 100%); }
.case-tag {
  position: absolute; z-index: 1; left: 24px; top: 24px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 999px;
  background: rgba(7, 10, 9, 0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--white);
}
.case-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0, 185, 111, 0.25); }
.case-copy { padding: clamp(32px, 4.4vw, 72px); display: flex; flex-direction: column; }
.case-copy .eyebrow { margin-bottom: 20px; }
.case-copy .lead { margin-top: 22px; color: var(--muted-dark); }
.case-scope { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 36px; border-top: 1px solid var(--line-dark); }
.case-scope li { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 15.5px; font-weight: 500; }
.case-scope li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-top: 9px; }
.case-note { margin-top: auto; padding-top: 28px; font-size: 13px; color: var(--muted-dark); }
.trust-line { display: flex; gap: 14px; align-items: flex-start; margin-top: 32px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.trust-line svg { flex: none; width: 22px; height: 22px; color: var(--green); margin-top: 1px; }

/* CTA band --------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius); background: var(--green); color: var(--white); padding: clamp(48px, 7vw, 110px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.cta-band::before {
  content: ''; position: absolute; z-index: -1; right: -10%; top: -40%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
}
.cta-band::after {
  content: ''; position: absolute; z-index: -1; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
}
.cta-band p { font-size: 19px; color: rgba(255, 255, 255, 0.88); margin-top: 20px; max-width: 520px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-band .btn--dark:hover { background: #000; }
.cta-band .btn--ghost { border-color: rgba(255, 255, 255, 0.5); }

/* Contact ---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-list { display: grid; gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.contact-list > div { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 140px 1fr; gap: 20px; }
.contact-list small { font-size: 12px; letter-spacing: 0; font-weight: 600; color: var(--muted); padding-top: 3px; }
.contact-list a, .contact-list p { font-weight: 600; font-size: 17px; }
.contact-list a:hover { color: var(--green); }

.form { background: var(--mist); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); }
.form h2 { margin-bottom: 8px; }
.form > p { color: var(--muted); margin-bottom: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--text); background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 15px 16px; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 185, 111, 0.15); }
.form .btn { margin-top: 28px; border: 0; }
.form-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.form-status { display: none; margin-bottom: 24px; padding: 16px 18px; border-radius: var(--radius-sm); font-weight: 600; }
.form-status.is-ok { display: block; background: var(--green-50); color: var(--green-700); }
.form-status.is-error { display: block; background: #fdecec; color: #a12222; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.map { margin-top: 24px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7; background: var(--mist); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--white); padding: clamp(80px, 9vw, 130px) 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; padding-bottom: 72px; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { height: 32px; width: auto; margin-bottom: 28px; }
.footer-brand p { color: var(--muted-dark); max-width: 360px; font-size: 16px; }
.footer-brand .btn { margin-top: 32px; }
.footer-col h4 { font-size: 12px; letter-spacing: 0; color: var(--muted-dark); font-weight: 600; margin-bottom: 22px; }
.footer-col li + li { margin-top: 12px; }
.footer-col a, .footer-col p { color: rgba(255, 255, 255, 0.86); font-size: 15.5px; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted-dark); padding-top: 28px; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background 0.3s, border-color 0.3s; }
.social a:hover { background: var(--green); border-color: var(--green); }
.social svg { width: 17px; height: 17px; fill: currentColor; }

/* Reveal animation ------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay='1'] { transition-delay: 0.1s; }
.js .reveal[data-delay='2'] { transition-delay: 0.2s; }
.js .reveal[data-delay='3'] { transition-delay: 0.3s; }

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

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .cap-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid--4, .values { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .feature { grid-template-columns: 1fr; }
  .metric-grid, .standards { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar--feature { grid-column: 1 / -1; min-height: 300px; }
  .why-grid { grid-template-columns: 1fr; }
  .tabs { grid-template-columns: 1fr; }
  .tab-list { grid-template-columns: repeat(2, 1fr); }
  .index-grid { grid-template-columns: repeat(3, 1fr); }
  .index-cell:nth-child(3) { border-right: 1px solid var(--line-dark); }
  .index-cell:nth-child(n + 4) { border-top: 1px solid var(--line-dark); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .step:nth-child(3) { padding-left: 0; }
  .step:nth-child(3)::after { left: 0; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .section-head, .split, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .cta-band .actions { justify-content: flex-start; }
  .split-media { aspect-ratio: 4 / 3; }
  .hero-bar, .stats { grid-template-columns: 1fr 1fr; }
  .hero-bar > div:nth-child(3), .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-bar > div:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 32px; }
  .section--dark .stat:nth-child(n + 3) { border-color: var(--line-dark); }
  .people { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 16px; padding: 44px 0; }
  .feature-kpis { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
  .lead-intro, .deliverables, .case, .split-hero, .compare, .cause-list { grid-template-columns: 1fr; }
  .ldt-read { grid-template-columns: 1fr 1fr; }
  .split-hero-copy { padding: calc(var(--header-h) + 48px) var(--gutter) 48px; }
  .split-hero-media { min-height: 92vw; border-radius: 0; }
  .case-media { min-height: 280px; }
  .case-media::after { background: linear-gradient(180deg, rgba(14, 19, 18, 0) 55%, rgba(14, 19, 18, 0.9) 100%); }
}

@media (max-width: 600px) {
  .cap-grid, .card-grid, .card-grid--4, .values, .people, .process, .footer-top, .form-grid { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; }
  .step::after, .step + .step::after { left: 0; }
  .cap { min-height: 0; }
  .hero-actions .btn { width: 100%; }
  .hero-bar > div { padding: 18px 12px 20px 0; }
  .hero-bar > div + div { padding-left: 12px; }
  .hero-bar > div:nth-child(3) { padding-left: 0; }
  .hero-bar strong { font-size: 15px; }
  .stat { padding: 32px 12px 0 0; }
  .stat + .stat { padding-left: 12px; }
  .stat:nth-child(3) { padding-left: 0; }
  .feature-kpis { grid-template-columns: 1fr; }
  .metric-grid, .standards, .tab-meta, .case-scope, .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 0; }
  .pillar h3 { margin-top: 32px; }
  .index-grid { grid-template-columns: 1fr; padding: 0; }
  .index-cell, .index-cell:nth-child(n) { flex-direction: row; align-items: center; gap: 16px; padding: 18px var(--gutter); border: 0; border-top: 1px solid var(--line-dark); }
  .index-cell:first-child { border-top: 0; }
  .index-label { font-size: 15px; }
  .feature-media { min-height: 420px; }
  .equation { flex-direction: column; align-items: center; gap: 6px; font-size: 30px; }
  .equation .op { align-self: center; }
  .chart-kpis { gap: 24px; }
  .tab { padding: 16px; }
  .tab strong { font-size: 16px; }
  .contact-list > div { grid-template-columns: 1fr; gap: 6px; }
  .img-card { aspect-ratio: 4 / 5; }
}
