/* ═══════════════════════════════════════════════════════════
   EMERALD GRID ENERGY — GLOBAL STYLESHEET
   Premium Luxury Dark Theme | Est. Dublin 2014
═══════════════════════════════════════════════════════════ */

/* ── FONT SYSTEM: Industrial Power Stack ──
   Barlow Condensed → Display headlines: raw industrial muscle
   Rajdhani         → Subheadings / nav / labels: technical precision
   Source Serif 4   → Body: authoritative, editorial warmth
*/
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,600;1,700;1,800&family=Rajdhani:wght@400;500;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,500;0,8..60,600;1,8..60,300;1,8..60,400;1,8..60,500&display=swap');

/* ── FONT ALIASES ── */
:root {
  --font-display: 'Barlow Condensed', sans-serif;
  --font-ui:      'Rajdhani', sans-serif;
  --font-body:    'Source Serif 4', Georgia, serif;
}

/* ── TOKENS ── */
:root {
  --emerald:        #00A86B;
  --emerald-dark:   #006644;
  --emerald-deep:   #003D26;
  --emerald-light:  #00D68F;
  --emerald-glow:   rgba(0,166,107,0.12);
  --gold:           #C9A84C;
  --gold-light:     #E8C96A;
  --gold-dim:       rgba(201,168,76,0.2);
  --ivory:          #F5F2EC;
  --ivory-dim:      rgba(245,242,236,0.65);
  --ivory-ghost:    rgba(245,242,236,0.08);
  --coal:           #090D0B;
  --charcoal:       #111714;
  --slate:          #181F1B;
  --slate-light:    #1E2822;
  --muted:          #7A9086;
  --border:         rgba(245,242,236,0.07);
  --border-em:      rgba(0,166,107,0.22);
  --white:          #FFFFFF;
  /* Layout */
  --band-h:         38px;
  --nav-h:          80px;
  --header-total:   calc(var(--band-h) + var(--nav-h));
  --section-pad:    130px;
  --side-pad:       80px;
  --transition:     cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════════════════════════════════════════
   TOP ANNOUNCEMENT BAND
═══════════════════════════════════════════════ */
.top-band {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  height: var(--band-h);
  background: var(--emerald-dark);
  overflow: hidden;
  border-bottom: 1px solid rgba(0,214,143,0.15);
}
.top-band-track {
  height: 100%;
  overflow: hidden;
  position: relative;
}
.top-band-inner {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: bandScroll 38s linear infinite;
  width: max-content;
}
.top-band-inner:hover { animation-play-state: paused; }
@keyframes bandScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tb-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(245,242,236,0.75);
  padding: 0 36px;
  flex-shrink: 0;
}
.tb-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald-light);
  flex-shrink: 0;
  animation: tbPulse 2s ease infinite;
}
@keyframes tbPulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.tb-sep {
  color: rgba(0,214,143,0.3);
  font-size: 8px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   SITE HEADER / NAV
═══════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: var(--band-h);
  left: 0; right: 0;
  z-index: 1100;
  height: var(--nav-h);
  background: rgba(9,13,11,0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.site-header.scrolled {
  background: rgba(9,13,11,0.97);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom-color: rgba(0,166,107,0.18);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--side-pad);
  gap: 24px;
}

/* LOGO */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img-main {
  height: 62px;
  width: auto;
  object-fit: contain;
  display: block;
  /* slight brightness boost so the gold pops on dark nav */
  filter: drop-shadow(0 0 12px rgba(201,168,76,0.25));
  transition: filter 0.3s ease, transform 0.3s ease;
}
.site-logo:hover .logo-img-main {
  filter: drop-shadow(0 0 20px rgba(0,214,143,0.4));
  transform: scale(1.03);
}
.logo-img-footer {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(201,168,76,0.2));
  margin-bottom: 20px;
}

/* NAV CLUSTER — pill container */
.nav-cluster {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(245,242,236,0.04);
  border: 1px solid rgba(245,242,236,0.08);
  padding: 0 6px;
  height: 44px;
  border-radius: 0;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.nc-link {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245,242,236,0.55);
  padding: 0 18px;
  height: 100%;
  display: flex; align-items: center;
  position: relative;
  transition: color 0.25s;
  white-space: nowrap;
}
.nc-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 18px; right: 18px;
  height: 1px;
  background: var(--emerald);
  transform: scaleX(0);
  transition: transform 0.3s var(--transition);
}
.nc-link:hover,
.nc-link.active {
  color: var(--white);
}
.nc-link:hover::after,
.nc-link.active::after {
  transform: scaleX(1);
}
.nc-div {
  width: 1px;
  height: 16px;
  background: rgba(245,242,236,0.08);
  flex-shrink: 0;
}

/* ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.ha-phone {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--muted);
  transition: color 0.3s;
  white-space: nowrap;
}
.ha-phone:hover { color: var(--ivory); }
.ha-phone svg { flex-shrink: 0; }

.ha-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--emerald);
  color: var(--coal);
  padding: 11px 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.25s, transform 0.2s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.ha-cta:hover {
  background: var(--emerald-light);
  transform: translateY(-2px);
}

/* HAMBURGER — 2-line modern style */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  background: none;
  border: 1px solid var(--border);
  padding: 10px 12px;
  width: 44px; height: 44px;
  transition: border-color 0.3s;
}
.hamburger:hover { border-color: var(--border-em); }
.hamburger span {
  display: block;
  height: 1px;
  background: var(--ivory);
  transition: all 0.35s var(--transition);
}
.hamburger span:nth-child(1) { width: 100%; }
.hamburger span:nth-child(2) { width: 65%; }
.hamburger.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); width: 100%; }
.hamburger.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); width: 100%; }

/* MOBILE OVERLAY — full-screen, solid, above everything */
.mobile-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1200;
  background: #090D0B;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 32px 48px;
  overflow-y: auto;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  pointer-events: none;
  overscroll-behavior: contain;
}
.mobile-overlay.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mo-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 48px;
}
.mo-link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(34px, 9vw, 60px);
  letter-spacing: 3px;
  color: rgba(245,242,236,0.85);
  border-bottom: 1px solid rgba(245,242,236,0.08);
  padding: 14px 0;
  transition: color 0.25s, padding-left 0.25s;
  text-decoration: none;
}
.mo-link em {
  font-style: normal;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--emerald);
  opacity: 0.8;
}
.mo-link:hover, .mo-link:active { color: var(--emerald); padding-left: 8px; }
.mo-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mo-bottom a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.25s;
  text-decoration: none;
}
.mo-bottom a:hover { color: var(--ivory); }
.mo-cta {
  display: inline-flex;
  align-items: center;
  background: var(--emerald) !important;
  color: var(--coal) !important;
  padding: 16px 32px;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 20px;
  width: fit-content;
  text-decoration: none;
}
/* Close button visible inside overlay */
.mo-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px; height: 44px;
  background: rgba(245,242,236,0.06);
  border: 1px solid rgba(245,242,236,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--ivory);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.mo-close:hover { background: rgba(0,166,107,0.15); border-color: var(--emerald); }

/* ═══════════════════════════════════════════════
   SITE FOOTER
═══════════════════════════════════════════════ */
.site-footer {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
}

/* FEATURE BAR — the premium top section with diagonal cut */
.footer-feature-bar {
  background: linear-gradient(135deg, var(--emerald-deep) 0%, #005237 50%, var(--emerald-dark) 100%);
  position: relative;
  overflow: hidden;
}
.footer-feature-bar::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(0,214,143,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.footer-feature-bar::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 40px;
  background: var(--charcoal);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.ffb-inner {
  display: flex;
  align-items: center;
  padding: 52px var(--side-pad);
  gap: 0;
  position: relative; z-index: 2;
}
.ffb-item {
  flex: 1;
  padding: 0 36px;
}
.ffb-item:first-child { padding-left: 0; }
.ffb-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--white);
  line-height: 1;
}
.ffb-num sup {
  font-size: 18px;
  color: var(--gold);
  vertical-align: super;
  letter-spacing: 1px;
}
.ffb-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(245,242,236,0.5);
  margin-top: 6px;
}
.ffb-line {
  width: 1px;
  height: 64px;
  background: rgba(245,242,236,0.1);
  flex-shrink: 0;
}
.ffb-cta-wrap {
  padding-left: 36px;
  flex-shrink: 0;
}
.ffb-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(245,242,236,0.3);
  color: var(--ivory);
  padding: 14px 30px;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.2s;
}
.ffb-cta:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--coal);
  transform: translateY(-2px);
}

/* FOOTER BODY */
.footer-body {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  padding: 80px var(--side-pad) 64px;
  border-bottom: 1px solid var(--border);
}
.fb-brand {}
.fb-logo {
  display: block;
  text-decoration: none;
  margin-bottom: 8px;
}
.fb-tagline {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 300px;
}
.fb-socials {
  display: flex;
  gap: 8px;
}
.fbs-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 12px; font-weight: 600;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.fbs-btn:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  background: var(--emerald-glow);
}
.fb-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.fb-col-title {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--ivory);
  margin-bottom: 22px;
}
.fb-col a {
  display: block;
  font-size: 13px;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.25s, padding-left 0.25s;
  line-height: 1.5;
}
.fb-col a:hover {
  color: var(--emerald);
  padding-left: 5px;
}

/* BOTTOM BAR */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px var(--side-pad);
}
.fbb-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.fbb-dot { color: var(--border-em); }
.fbb-certs {
  display: flex;
  gap: 8px;
}
.fbb-cert {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 12px;
  transition: border-color 0.3s, color 0.3s;
}
.fbb-cert:hover {
  border-color: var(--border-em);
  color: var(--emerald);
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY SYSTEM
═══════════════════════════════════════════════════════════ */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(80px, 11vw, 160px);
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 0.88;
  color: var(--ivory);
  text-transform: uppercase;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(60px, 8vw, 120px);
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 0.9;
  color: var(--ivory);
  text-transform: uppercase;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 0.95;
  color: var(--ivory);
  text-transform: uppercase;
}
.heading-serif {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(32px, 3.5vw, 54px);
  line-height: 1.15;
  color: var(--ivory);
}
.heading-serif em {
  font-style: italic;
  color: var(--gold);
}
.eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--emerald);
  display: flex;
  align-items: center;
  gap: 16px;
}
.eyebrow::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--emerald);
  flex-shrink: 0;
}
.body-lg {
  font-size: 17px;
  line-height: 1.85;
  font-family: var(--font-body);
  color: var(--ivory-dim);
  font-weight: 300;
}
.body-md {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ivory-dim);
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 17px 42px;
  transition: all 0.3s var(--transition);
  white-space: nowrap;
  border: none;
  font-family: var(--font-ui);
}
.btn-primary {
  background: var(--emerald);
  color: var(--coal);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-primary:hover {
  background: var(--emerald-light);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0,166,107,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(245,242,236,0.25);
}
.btn-outline:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  transform: translateY(-3px);
}
.btn-gold {
  background: var(--gold);
  color: var(--coal);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
}
.btn-ghost {
  background: transparent;
  color: var(--ivory-dim);
  padding: 0;
  gap: 14px;
  letter-spacing: 2px;
  font-size: 12px;
}
.btn-ghost .arrow {
  width: 44px; height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.3s var(--transition);
}
.btn-ghost .arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn-ghost:hover { color: var(--emerald); }
.btn-ghost:hover .arrow { width: 64px; }

/* ═══════════════════════════════════════════════════════════
   LAYOUT UTILITIES
═══════════════════════════════════════════════════════════ */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--side-pad);
}
.section-pad {
  padding: var(--section-pad) var(--side-pad);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }

/* ═══════════════════════════════════════════════════════════
   DECORATIVE ELEMENTS
═══════════════════════════════════════════════════════════ */
.dot-grid {
  background-image: radial-gradient(circle, rgba(0,166,107,0.12) 1px, transparent 1px);
  background-size: 32px 32px;
}
.line-grid {
  background-image:
    linear-gradient(rgba(0,166,107,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,166,107,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.noise-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 1;
  opacity: 0.4;
}
.em-line {
  width: 60px; height: 2px;
  background: linear-gradient(to right, var(--emerald), transparent);
  margin: 24px 0;
}
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-em), transparent);
  margin: 0 var(--side-pad);
}

/* ═══════════════════════════════════════════════════════════
   PAGE TRANSITION LOADER
═══════════════════════════════════════════════════════════ */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--coal);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 8px;
  color: var(--emerald);
  animation: loaderPulse 1.2s ease infinite;
}
.loader-bar {
  width: 200px; height: 1px;
  background: var(--border);
  position: relative; overflow: hidden;
}
.loader-bar::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(to right, transparent, var(--emerald), transparent);
  animation: loaderSweep 1.2s ease infinite;
}
@keyframes loaderPulse { 0%,100%{opacity:0.4} 50%{opacity:1} }
@keyframes loaderSweep { to { left: 100%; } }

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL SYSTEM
═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s var(--transition), transform 0.9s var(--transition);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-60px); transition: opacity 0.9s var(--transition), transform 0.9s var(--transition); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px);  transition: opacity 0.9s var(--transition), transform 0.9s var(--transition); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9);        transition: opacity 0.9s var(--transition), transform 0.9s var(--transition); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.d1 { transition-delay: 0.1s !important; }
.d2 { transition-delay: 0.2s !important; }
.d3 { transition-delay: 0.3s !important; }
.d4 { transition-delay: 0.4s !important; }
.d5 { transition-delay: 0.5s !important; }
.d6 { transition-delay: 0.6s !important; }

/* ═══════════════════════════════════════════════════════════
   FOOTER (SHARED)
═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
  gap: 60px;
  padding: 100px var(--side-pad) 80px;
}
.footer-brand {}
.footer-brand-logo { margin-bottom: 24px; }
.footer-tagline {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 300px;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-social-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.footer-social-btn:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  background: var(--emerald-glow);
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 3px;
  color: var(--ivory);
  margin-bottom: 28px;
}
.footer-col-links li {
  margin-bottom: 14px;
}
.footer-col-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.3s, padding-left 0.3s;
  display: inline-block;
}
.footer-col-links a:hover {
  color: var(--emerald);
  padding-left: 6px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 28px var(--side-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.footer-certs {
  display: flex;
  gap: 12px;
}
.cert {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 5px 14px;
}

/* ═══════════════════════════════════════════════════════════
   STATS TICKER
═══════════════════════════════════════════════════════════ */
.ticker-bar {
  background: var(--emerald-dark);
  height: 52px;
  overflow: hidden;
  position: relative;
}
.ticker-inner {
  display: flex;
  align-items: center;
  height: 100%;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 60px;
  flex-shrink: 0;
}
.ticker-item .num {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--gold);
}
.ticker-item .label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(245,242,236,0.7);
}
.ticker-sep {
  color: rgba(245,242,236,0.2);
  font-size: 20px;
  padding: 0 20px;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  :root { --side-pad: 48px; --section-pad: 100px; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
}
@media (max-width: 960px) {
  :root { --side-pad: 32px; --section-pad: 80px; }
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --side-pad: 20px; --section-pad: 60px; }
  .btn-nav { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — NAV & FOOTER
═══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  :root { --side-pad: 48px; }
  .nc-link { padding: 0 13px; font-size: 10px; }
  .ha-phone { display: none; }
  .ffb-item { padding: 0 24px; }
  .ffb-num { font-size: 38px; }
}
@media (max-width: 860px) {
  :root { --side-pad: 32px; }
  .nav-cluster { display: none; }
  .hamburger { display: flex; }
  .ha-cta { display: none; }
  .footer-body { grid-template-columns: 1fr; gap: 48px; }
  .fb-cols { grid-template-columns: 1fr 1fr; }
  .ffb-inner { flex-wrap: wrap; gap: 24px; padding: 36px var(--side-pad); }
  .ffb-line { display: none; }
  .ffb-item { padding: 0; min-width: 140px; }
  .ffb-cta-wrap { padding-left: 0; width: 100%; }
  .footer-bottom-bar { flex-direction: column; gap: 16px; text-align: center; }
  .fbb-left { justify-content: center; }
}
@media (max-width: 540px) {
  :root { --side-pad: 20px; }
  .fb-cols { grid-template-columns: 1fr; }
  .fbb-certs { flex-wrap: wrap; justify-content: center; }
  .top-band { display: none; }
  :root { --band-h: 0px; }
}

/* ── BODY OFFSET (band + nav) ── */
body {
  padding-top: var(--header-total);
  color: var(--ivory);
  background-color: var(--coal);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
}

/* ── PAGE LOADER ── */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--coal);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 28px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-hex {
  width: 140px; height: auto;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.loader-logo-img {
  width: 140px;
  height: auto;
  object-fit: contain;
  animation: loaderPulse 1.6s ease infinite;
  filter: drop-shadow(0 0 16px rgba(0,166,107,0.5));
}
.loader-bar {
  width: 160px; height: 1px;
  background: var(--border);
  position: relative; overflow: hidden;
}
.loader-bar::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(to right, transparent, var(--emerald), transparent);
  animation: loaderSweep 1.2s ease infinite;
}
@keyframes loaderSweep { to { left: 100%; } }

/* ── IMAGE LOAD FALLBACKS ── */
.hero-parallax,
.impact-bg,
.ph-bg,
.ac-bg,
.cta-left {
  background-color: var(--emerald-deep);
}
[style*="--img:url"] {
  background-color: var(--slate);
}
img[src=""] {
  display: none;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE — COMPREHENSIVE FIXES (max-width: 480px phones)
═══════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  /* Hamburger always visible */
  .hamburger { display: flex !important; }
  .nav-cluster { display: none !important; }
  .ha-cta { display: none !important; }
  .ha-phone { display: none !important; }

  /* Header inner compact */
  .header-inner { padding: 0 20px; }

  /* Footer feature bar stacked */
  .ffb-inner { flex-wrap: wrap; gap: 20px; padding: 32px 20px 48px; }
  .ffb-line { display: none; }
  .ffb-item { padding: 0; min-width: 130px; flex: 1 1 40%; }
  .ffb-num { font-size: 32px; }
  .ffb-cta-wrap { padding-left: 0; width: 100%; }

  /* Footer body */
  .footer-body { grid-template-columns: 1fr; gap: 40px; }
  .fb-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom-bar { flex-direction: column; gap: 16px; text-align: center; }
  .fbb-left { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  :root {
    --side-pad: 18px;
    --section-pad: 56px;
    --nav-h: 64px;
  }

  /* ── LOGO smaller ── */
  .logo-img-main { height: 46px; }

  /* ── TYPOGRAPHY — prevent overflow ── */
  .display-xl { font-size: clamp(48px, 13vw, 80px); }
  .display-lg { font-size: clamp(38px, 10vw, 64px); }
  .display-md { font-size: clamp(28px, 8vw, 48px); }
  .heading-serif { font-size: clamp(24px, 6vw, 38px); }
  .body-lg { font-size: 15px; line-height: 1.75; }

  /* ── BUTTONS full-width on small screens ── */
  .btn { padding: 15px 28px; font-size: 11px; width: 100%; justify-content: center; }
  .btn-outline { width: auto; }

  /* ── GRID OVERRIDES ── */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; }

  /* ── FOOTER ── */
  .fb-cols { grid-template-columns: 1fr; gap: 28px; }
  .fbb-certs { flex-wrap: wrap; justify-content: center; }
  .footer-bottom-bar { padding: 20px var(--side-pad); }
  .logo-img-footer { height: 60px; }
  .fb-tagline { max-width: 100%; }

  /* ── TOP BAND hidden on very small ── */
  .top-band { display: none; }
  :root { --band-h: 0px; }

  /* ── TICKER ── */
  .ticker-bar { height: 44px; }
  .ticker-item .num { font-size: 16px; }
  .ticker-item .label { font-size: 10px; letter-spacing: 2px; }

  /* ── MOBILE OVERLAY padding ── */
  .mobile-overlay { padding: 90px 24px 40px; }

  /* ── SECTION padding ── */
  .section-pad { padding: var(--section-pad) var(--side-pad); }
  [class*="section"] { padding-left: var(--side-pad) !important; padding-right: var(--side-pad) !important; }
}

@media (max-width: 480px) {
  /* ── HOME: Hero ── */
  .hero-content { padding: 0 var(--side-pad) 100px; }
  .hero-title .line1 { font-size: clamp(44px, 14vw, 70px); }
  .hero-title .line2 { font-size: clamp(34px, 10vw, 56px); }
  .hero-title .line3 { font-size: clamp(44px, 14vw, 70px); }
  .hero-sub { font-size: 14px; max-width: 100%; }
  .hero-badge { font-size: 9px; padding: 7px 14px; margin-bottom: 22px; }
  .hero-actions { flex-direction: column; gap: 14px; align-items: flex-start; }
  .hero-actions .btn { display: inline-flex; width: auto; }
  .hero-bottom-strip { flex-wrap: wrap; height: auto; padding: 16px var(--side-pad); gap: 12px; }
  .strip-item { flex: 1 1 40%; min-width: 120px; padding: 8px 0; }
  .strip-divider { display: none; }
  .strip-num { font-size: 22px; }
  .strip-label { font-size: 9px; letter-spacing: 1.5px; }
  .hero-scroll-indicator { display: none; }

  /* ── HOME: Intro split ── */
  .intro-split { grid-template-columns: 1fr; }
  .intro-image-col { height: 280px; }
  .intro-img-float { display: none; }
  .intro-text-col { padding: 44px var(--side-pad); }
  .intro-pillars { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* ── HOME: Services ── */
  .services-grid { grid-template-columns: 1fr !important; }
  .service-card { aspect-ratio: 4/3 !important; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* ── HOME: Impact ── */
  .impact-inner { grid-template-columns: 1fr !important; gap: 40px; }
  .impact-stats { grid-template-columns: 1fr 1fr; gap: 2px; }
  .is-item { padding: 24px 16px; }
  .is-num { font-size: 32px; }

  /* ── HOME: Featured projects ── */
  .fp-card { width: calc(100vw - 40px) !important; }
  .fp-scroll { padding: 0 var(--side-pad) 32px; }

  /* ── HOME: Testimonials ── */
  .test-grid { grid-template-columns: 1fr !important; }

  /* ── HOME: CTA ── */
  .home-cta { grid-template-columns: 1fr !important; }
  .cta-left { height: 220px; }
  .cta-right { padding: 44px var(--side-pad); }

  /* ── SOLUTIONS page ── */
  .solution-block { grid-template-columns: 1fr !important; min-height: auto; }
  .solution-block > div:first-child { min-height: 260px; }
  .sb-text { padding: 40px var(--side-pad) !important; }
  .sb-specs { grid-template-columns: 1fr !important; }
  .tech-grid { grid-template-columns: 1fr 1fr !important; }
  .tech-card { padding: 28px 20px; }
  .why-grid { grid-template-columns: 1fr !important; gap: 0; }
  .why-image { margin-bottom: 0; height: 280px; }

  /* ── CONTACT page ── */
  .contact-main { grid-template-columns: 1fr !important; }
  .contact-sidebar { padding: 44px var(--side-pad) !important; }
  .contact-form-area { padding: 44px var(--side-pad) !important; }
  .form-row { grid-template-columns: 1fr !important; }
  .offices-grid { grid-template-columns: 1fr !important; }
  .faq-grid { grid-template-columns: 1fr !important; gap: 0; }

  /* ── PROJECTS page ── */
  .featured-project { grid-template-columns: 1fr !important; min-height: auto; }
  .fp-hero-img { height: 260px; }
  .fp-hero-details { padding: 36px var(--side-pad) !important; }
  .fp-hero-meta { flex-wrap: wrap; gap: 16px; }
  .projects-masonry { grid-template-columns: 1fr !important; }
  .filter-bar { padding: 24px var(--side-pad); gap: 8px; }
  .filter-btn { padding: 9px 18px; font-size: 10px; }
  .map-grid { grid-template-columns: 1fr !important; gap: 32px; }
  .map-visual { padding: 24px; }

  /* ── SUSTAINABILITY page ── */
  .pledge-section { grid-template-columns: 1fr !important; min-height: auto; }
  .pledge-text { padding: 44px var(--side-pad) !important; }
  .pledge-img { height: 280px; }
  .pledge-badge { position: static !important; margin-top: 20px; display: inline-block; }
  .goals-grid { grid-template-columns: 1fr 1fr !important; }
  .goal-card { padding: 32px 20px; }
  .progress-grid { grid-template-columns: 1fr !important; }
  .co2-inner { grid-template-columns: 1fr !important; gap: 40px; }
  .co2-context { grid-template-columns: 1fr 1fr; }
  .certs-grid { grid-template-columns: 1fr 1fr !important; }
  .init-grid { grid-template-columns: 1fr !important; }

  /* ── ABOUT page ── */
  .mission-section { grid-template-columns: 1fr !important; }
  .mission-text { padding: 44px var(--side-pad) !important; }
  .mv-main { height: 280px; }
  .team-grid { grid-template-columns: 1fr 1fr !important; }
  .values-grid { grid-template-columns: 1fr !important; }
  .awards-row { grid-template-columns: 1fr 1fr !important; }
  .tl-item { grid-template-columns: 36px 1fr !important; }
  .tl-item.left .tl-content,
  .tl-item.right .tl-content { grid-column: 2; text-align: left; padding: 0 0 0 16px !important; }
  .tl-item.left .tl-node,
  .tl-item.right .tl-node { grid-column: 1; grid-row: 1; }
  .tl-spine { left: 18px !important; }

  /* ── PAGE HERO (inner pages) ── */
  .page-hero { height: 60vh; min-height: 380px; }
  .ph-content { padding: 0 var(--side-pad) 60px !important; }

  /* ── GENERAL: prevent horizontal scroll ── */
  section, .section-pad { overflow-x: hidden; max-width: 100vw; }

  /* ── EYEBROW text ── */
  .eyebrow { font-size: 10px; letter-spacing: 3px; }
  .eyebrow::before { width: 24px; }

  /* ── Footer feature bar ── */
  .ffb-item { flex: 1 1 40%; }
  .ffb-num { font-size: 28px; }
}
