/* ============================================================
   87 Engineering Ltd. — Design System
   Palette (per brand brief):
   Deep Navy #0D1B2A · White #FFFFFF · Energy Green #2E8B57 · Light Grey #F5F7FA
   Type: Inter. Radius: 12px. Motion: restrained.
   ============================================================ */

:root {
  --navy: #0D1B2A;
  --navy-2: #13253A;          /* raised surface on dark */
  --navy-3: #1A3049;          /* borders / hover on dark */
  --white: #FFFFFF;
  --green: #2E8B57;
  --green-dark: #226B42;
  --green-tint: #E8F4EE;
  --grey: #F5F7FA;
  --ink: #1F2B38;             /* body text on light */
  --muted: #5B6B7C;
  --line: #E4EAF1;
  --red-logo: #E8262A;
  --blue-logo: #2743C6;

  --radius: 12px;
  --shadow-soft: 0 12px 32px rgba(13, 27, 42, 0.08);
  --shadow-lift: 0 18px 44px rgba(13, 27, 42, 0.14);

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --fs-display: clamp(2.35rem, 5.2vw, 4.1rem);
  --fs-h1: clamp(2.1rem, 4.2vw, 3.2rem);
  --fs-h2: clamp(1.65rem, 3vw, 2.4rem);
  --fs-h3: clamp(1.2rem, 1.8vw, 1.45rem);
  --fs-body: 1.04rem;
  --fs-small: 0.9rem;
  --fs-eyebrow: 0.78rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--navy);
  margin: 0 0 0.6em;
  font-weight: 700;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--white);
  padding: 0.7rem 1.2rem; border-radius: 0 0 var(--radius) 0;
  z-index: 200; font-weight: 600;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Signature motif: single-line diagram ----------
   A schematic bus line with node dots — the mark of an
   electrical engineering company, used under eyebrows. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 46px; height: 10px;
  background:
    radial-gradient(circle 3px at 5px 5px, currentColor 3px, transparent 3.5px),
    radial-gradient(circle 3px at 41px 5px, currentColor 3px, transparent 3.5px),
    linear-gradient(currentColor, currentColor) 5px 4.2px / 36px 1.6px no-repeat;
  background-repeat: no-repeat;
  opacity: 0.9;
}
.on-dark .eyebrow { color: #6FCB97; }

/* ---------------------- Header / Nav ---------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  background: transparent;
}
.site-header.solid,
.site-header.always-solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(13, 27, 42, 0.06);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--white);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand .brand-87 { color: inherit; }
.brand .brand-ring { color: var(--blue-logo); }
.site-header.solid .brand,
.site-header.always-solid .brand { color: #3D4650; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.6vw, 1.6rem);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--white); text-decoration: none; border-bottom-color: var(--green); }
.site-header.solid .nav-links a,
.site-header.always-solid .nav-links a { color: var(--muted); }
.site-header.solid .nav-links a:hover,
.site-header.always-solid .nav-links a:hover { color: var(--navy); }
.nav-links a[aria-current="page"] { color: var(--white); border-bottom-color: var(--green); }
.site-header.solid .nav-links a[aria-current="page"],
.site-header.always-solid .nav-links a[aria-current="page"] { color: var(--navy); }

.nav-cta {
  display: inline-block;
  background: var(--green);
  color: var(--white) !important;
  border-bottom: none !important;
  padding: 0.62rem 1.15rem !important;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 8px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px;
  background: var(--white); position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.site-header.solid .nav-toggle span,
.site-header.solid .nav-toggle span::before,
.site-header.solid .nav-toggle span::after,
.site-header.always-solid .nav-toggle span,
.site-header.always-solid .nav-toggle span::before,
.site-header.always-solid .nav-toggle span::after { background: var(--navy); }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent !important; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); background: var(--navy); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); background: var(--navy); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    box-shadow: var(--shadow-lift);
    padding: 0.5rem 0 1rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a {
    color: var(--navy) !important;
    padding: 0.85rem var(--gutter);
    border-bottom: 1px solid var(--grey);
  }
  .nav-links a[aria-current="page"] { color: var(--green-dark) !important; }
  .nav-links .nav-cta { margin: 0.9rem var(--gutter) 0; text-align: center; border-radius: var(--radius); }
  .site-header:not(.solid):not(.always-solid).menu-open { background: rgba(255,255,255,0.96); }
  .site-header.menu-open .brand { color: #3D4650; }
  .site-header.menu-open .nav-toggle span::before,
  .site-header.menu-open .nav-toggle span::after { background: var(--navy); }
}

/* ------------------------- Buttons ------------------------ */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,0.55); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* -------------------------- Hero -------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(75deg, rgba(13,27,42,0.94) 18%, rgba(13,27,42,0.55) 55%, rgba(13,27,42,0.25) 100%),
    linear-gradient(to top, rgba(13,27,42,0.9), transparent 45%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(7rem, 14vh, 10rem) clamp(3rem, 7vh, 5rem);
  max-width: 880px;
}
.hero h1 {
  font-size: var(--fs-display);
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 0.5em;
}
.hero h1 .accent { color: #6FCB97; }
.hero .lede {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: rgba(255,255,255,0.86);
  max-width: 640px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Page hero (interior pages) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: calc(76px + clamp(3.5rem, 8vh, 6rem)) 0 clamp(3rem, 7vh, 4.5rem);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); max-width: 780px; }
.page-hero .lede { color: rgba(255,255,255,0.82); max-width: 680px; font-size: 1.12rem; }
.page-hero::after {
  /* faint schematic grid, the engineering fingerprint */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }

/* ------------------------ Sections ------------------------ */
.section { padding-block: clamp(3.5rem, 9vh, 6.5rem); }
.section-grey { background: var(--grey); }
.section-navy { background: var(--navy); color: rgba(255,255,255,0.84); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vh, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.lede { font-size: 1.12rem; color: var(--muted); }
.section-navy .lede { color: rgba(255,255,255,0.75); }

/* ------------------------- Cards -------------------------- */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card h3 { margin-top: 0.9rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .card-link { font-weight: 600; font-size: 0.95rem; }

.icon-chip {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--green-tint);
  color: var(--green-dark);
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-chip svg { width: 24px; height: 24px; }

.section-navy .card { background: var(--navy-2); border-color: var(--navy-3); box-shadow: none; }
.section-navy .card p { color: rgba(255,255,255,0.7); }
.section-navy .icon-chip { background: rgba(46,139,87,0.18); color: #6FCB97; }

/* ---------------------- Media figures --------------------- */
.figure {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy-2), var(--navy));
  box-shadow: var(--shadow-soft);
  position: relative;
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure.ratio-43 { aspect-ratio: 4 / 3; }
.figure.ratio-11 { aspect-ratio: 1 / 1; }
.figure.ratio-169 { aspect-ratio: 16 / 9; }
.figure figcaption,
.figure .ph-label {
  position: absolute; inset: auto 0 0 0;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  background: linear-gradient(to top, rgba(13,27,42,0.85), transparent);
}
/* Placeholder styling when a photo is not yet dropped in */
.figure.placeholder {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-align: center; padding: 1.5rem;
  border: 1px dashed rgba(255,255,255,0.25);
}

/* ----------------------- Split rows ----------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ------------------------ Stat bar ------------------------ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat .num {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}
.stat .num .unit { color: #6FCB97; font-size: 0.6em; font-weight: 700; margin-left: 2px; }
.stat .label { font-size: 0.88rem; color: rgba(255,255,255,0.65); margin-top: 0.15rem; }

/* --------------------- Project stories -------------------- */
.project-story {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.project-story .figure { border-radius: 0; box-shadow: none; min-height: 320px; }
.project-story .body { padding: clamp(1.6rem, 3vw, 2.6rem); }
@media (max-width: 900px) {
  .project-story { grid-template-columns: 1fr; }
  .project-story .figure { min-height: 240px; }
}
.meta-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
  font-size: 0.86rem; color: var(--muted);
  margin-bottom: 1.1rem;
}
.meta-row strong { color: var(--navy); font-weight: 600; }
.csi { margin: 0 0 1rem; }
.csi dt {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green-dark);
  margin-top: 0.9rem;
}
.csi dd { margin: 0.25rem 0 0; color: var(--ink); }

.tag {
  display: inline-block;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--green-tint); color: var(--green-dark);
}
.tag.concept { background: #FFF4E2; color: #9A6A16; }

/* ----------------------- Value list ----------------------- */
.value-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) { .value-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value-list { grid-template-columns: 1fr; } }
.value-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
}
.value-list li strong { display: block; color: var(--navy); margin-bottom: 0.2rem; }
.value-list li span { color: var(--muted); font-size: 0.93rem; }

/* --------------------- Checklist rows --------------------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--ink); }
.check-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 20px; height: 20px; margin-top: 3px;
  border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 46%, var(--white) 46%) center / 60% 60% no-repeat,
    var(--green);
  -webkit-mask: none;
  background:
    var(--green)
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>')
    center / 62% no-repeat;
}
.section-navy .check-list li { color: rgba(255,255,255,0.82); }

/* --------------------- Process steps ---------------------- */
.process { counter-reset: step; display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 1.35rem; }
.process .step { position: relative; padding: 0 0 2rem 2.1rem; counter-increment: step; }
.process .step:last-child { padding-bottom: 0.4rem; }
.process .step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: -1.4rem; top: -0.1rem;
  width: 2.7rem; height: 2.7rem;
  background: var(--white);
  border: 2px solid var(--green);
  color: var(--green-dark);
  font-weight: 700; font-size: 0.85rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.process .step h3 { margin-bottom: 0.3rem; }
.process .step p { color: var(--muted); max-width: 60ch; }

/* ----------------------- Quote band ----------------------- */
.quote-band {
  border-left: 4px solid var(--green);
  padding: 0.4rem 0 0.4rem 1.6rem;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--navy);
  max-width: 820px;
  margin: 0;
}
.section-navy .quote-band { color: var(--white); }
.quote-band cite { display: block; font-style: normal; font-weight: 500; font-size: 0.95rem; color: var(--muted); margin-top: 0.8rem; }
.section-navy .quote-band cite { color: rgba(255,255,255,0.6); }

/* ---------------------- Insights cards -------------------- */
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card .figure { border-radius: 0; box-shadow: none; aspect-ratio: 16/9; }
.post-card .body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.post-card .kicker { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-dark); }
.post-card h3 { margin: 0; }
.post-card .byline { margin-top: auto; font-size: 0.85rem; color: var(--muted); padding-top: 0.6rem; }

/* ------------------------- Forms -------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,139,87,0.18);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-status { font-weight: 600; color: var(--green-dark); min-height: 1.4em; }

/* ------------------------ CTA band ------------------------ */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #10314A 60%, #17513A 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.cta-band h2 { color: var(--white); margin: 0 0 0.3rem; }
.cta-band p { color: rgba(255,255,255,0.78); margin: 0; max-width: 52ch; }

/* ------------------------- Footer ------------------------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.72);
  padding: clamp(3rem, 7vh, 4.5rem) 0 2rem;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--navy-3);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: var(--white); font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; color: var(--white); font-weight: 700; margin-bottom: 0.9rem; }
.footer-tag { max-width: 34ch; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  justify-content: space-between;
  padding-top: 1.6rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* --------------------- Scroll reveals --------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .btn:hover, .nav-cta:hover { transform: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ---------------------- Utility bits ---------------------- */
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.max-60 { max-width: 60ch; }
.text-muted { color: var(--muted); }
.impact-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .impact-areas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .impact-areas { grid-template-columns: 1fr; } }
.impact-areas .area {
  display: flex; align-items: center; gap: 0.85rem;
  background: var(--navy-2);
  border: 1px solid var(--navy-3);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  color: rgba(255,255,255,0.88);
  font-weight: 600; font-size: 0.96rem;
}
.impact-areas .area .icon-chip { flex: 0 0 auto; }
