/*
Theme Name: AION Climate
Theme URI: https://aionclimate.com
Author: Tremendous Holding Ltd
Author URI: https://aionclimate.com
Description: Official WordPress theme for AION Climate - Asia Pacific Climate Consulting, Carbon Assets & Environmental Commodities.
Version: 5.2.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: aion-climate
*/

/* ==========================================================================
   AION CLIMATE CONSULTING & CARBON ASSETS - DESIGN SYSTEM
   Inspired by modern editorial sustainability design (Climate Impact Partners)
   ========================================================================== */

:root {
  /* Brand Palette */
  --primary-deep: #142017;
  --primary: #1F2D21;
  --primary-light: #2A3C2D;
  --green-soft: #445D48;
  --green-accent: #2E8B57;
  --emerald: #10B981;
  --teal-accent: #14B8A6;
  
  /* Warm Earth & Sand Accents */
  --sand-50: #FAF8F5;
  --sand-100: #F3EFEA;
  --sand-200: #E6DFD5;
  --sand-300: #D8CEBF;
  --sand-gold: #C2A264;
  
  /* Neutrals */
  --ink: #111B13;
  --ink-secondary: #3D4D40;
  --ink-muted: #657568;
  --line: #E2DBD0;
  --line-dark: #2F3E31;
  --white: #FFFFFF;
  
  /* Typography */
  --font-heading: "Jost", "ADAM", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Geometry & Shadows */
  --w-site: 1240px;
  --w-narrow: 840px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  
  --shadow-subtle: 0 4px 12px rgba(20, 32, 23, 0.05);
  --shadow-card: 0 10px 30px rgba(20, 32, 23, 0.07);
  --shadow-hover: 0 20px 40px rgba(20, 32, 23, 0.12);
  --shadow-dropdown: 0 24px 48px rgba(17, 27, 19, 0.16);
  
  --transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Base Reset & Core Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--sand-50);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.18;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

.wrap {
  width: 100%;
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap--narrow {
  max-width: var(--w-narrow);
}

/* ==========================================================================
   COLOUR ACCENT BAND (Signature Sustainability Gradient)
   ========================================================================== */
.colour-band {
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, 
    #1F2D21 0%, 
    #2E8B57 20%, 
    #10B981 40%, 
    #14B8A6 60%, 
    #0284C7 80%, 
    #D97706 100%
  );
  display: block;
}

.colour-band--subtle {
  height: 3px;
  opacity: 0.85;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn--primary:hover {
  background-color: var(--primary-deep);
  border-color: var(--primary-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 32, 23, 0.2);
  color: var(--white);
}

.btn--secondary {
  background-color: var(--sand-200);
  color: var(--primary);
  border-color: var(--sand-200);
}

.btn--secondary:hover {
  background-color: var(--sand-300);
  border-color: var(--sand-300);
  transform: translateY(-2px);
}

.btn--emerald {
  background-color: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}

.btn--emerald:hover {
  background-color: #059669;
  border-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
  color: var(--white);
}

.btn--white {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn--white:hover {
  background-color: var(--sand-50);
  border-color: var(--sand-50);
  color: var(--primary-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn--ghost-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--ghost-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--ghost-dark {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--line);
}

.btn--ghost-dark:hover {
  background-color: var(--white);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.btn:hover .btn-arrow-icon {
  transform: translateX(4px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: rgba(46, 139, 87, 0.1);
  color: var(--green-accent);
}

.badge--sand {
  background-color: var(--sand-200);
  color: var(--ink-secondary);
}

.badge--dark {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--sand-100);
}

/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */
.site-utility {
  background-color: var(--primary-deep);
  color: var(--sand-200);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-utility .wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 38px;
}

.site-utility__right {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.site-utility a {
  color: var(--sand-200);
  text-decoration: none;
}

.site-utility a:hover {
  color: var(--white);
  text-decoration: underline;
}

.lang-select {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-select select {
  background: transparent;
  color: var(--sand-200);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.78rem;
  font-family: inherit;
  cursor: pointer;
}

.lang-select select option {
  background-color: var(--primary);
  color: var(--white);
}

/* ==========================================================================
   SITE HEADER & MEGA MENU
   ========================================================================== */
.site-header {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 28px;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Main Navigation */
.nav-main {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-main > ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 28px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: var(--transition);
}

.nav-link:hover,
.nav-item:focus-within > .nav-link {
  color: var(--green-accent);
}

.nav-arrow {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-arrow,
.nav-item:focus-within .nav-arrow {
  transform: rotate(180deg);
}

/* Mega Menu Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dropdown);
  padding: 24px;
  min-width: 640px;
  max-width: min(940px, 94vw);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 110;
}

.nav-dropdown--wide {
  min-width: 920px;
}

/* Align right-hand nav items to right edge to avoid overflowing viewport */
.nav-item:nth-last-child(-n+3) .nav-dropdown {
  left: auto;
  right: 0;
}

.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown,
.nav-item.open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 22px;
}

.dropdown-grid--3col {
  grid-template-columns: 1.15fr 1.15fr 1fr;
  gap: 20px;
}

.dropdown-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.dropdown-menu-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dropdown-menu-list li {
  margin-bottom: 0;
}

.dropdown-menu-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.dropdown-menu-list a:hover {
  background-color: var(--sand-100);
  color: var(--primary);
  transform: translateX(3px);
}

.dropdown-menu-thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: block;
  transition: transform 0.25s ease;
}

.dropdown-menu-list a:hover .dropdown-menu-thumb {
  transform: scale(1.06);
}

.dropdown-menu-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dropdown-menu-title {
  font-size: 0.90rem;
  font-weight: 600;
  line-height: 1.25;
  color: inherit;
}

.dropdown-menu-list a small {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-weight: 400;
  line-height: 1.35;
  margin-top: 2px;
}

.dropdown-promo {
  background-color: var(--sand-100);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.dropdown-promo-image {
  width: 100%;
  height: 130px;
  overflow: hidden;
  position: relative;
  background-color: var(--sand-200);
}

.dropdown-promo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.dropdown-promo:hover .dropdown-promo-image img {
  transform: scale(1.05);
}

.dropdown-promo-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.dropdown-promo-body h4 {
  font-size: 1.02rem;
  color: var(--primary);
  margin-bottom: 6px;
  border-bottom: none;
  padding-bottom: 0;
  text-transform: none;
  letter-spacing: normal;
}

.dropdown-promo-body p {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-secondary);
  margin-bottom: 14px;
}

.dropdown-promo-body .btn {
  align-self: flex-start;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION (High Impact Editorial Style)
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--primary-deep);
  color: var(--white);
  padding: 100px 0 80px;
  overflow: hidden;
  background-image: 
    linear-gradient(135deg, rgba(17, 27, 19, 0.88) 0%, rgba(20, 32, 23, 0.78) 100%),
    url('assets/hero-canopy.jpg');
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 139, 87, 0.22) 0%, rgba(31, 45, 33, 0) 70%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 820px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: var(--sand-100);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--emerald);
  position: relative;
}

.hero p.lead {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.6;
  color: var(--sand-100);
  max-width: 680px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}

/* Regional Footprint Tracker */
.route-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 36px;
  margin-top: 20px;
}

.route-strip-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sand-300);
  margin-bottom: 18px;
  display: block;
}

.route-nodes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 20px;
}

@media (max-width: 992px) {
  .route-nodes {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 16px;
  }
}

.route-node {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sand-50);
}

.route-node-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

.route-node--hq .route-node-dot {
  background-color: var(--sand-gold);
  box-shadow: 0 0 12px var(--sand-gold);
}

.route-node small {
  display: block;
  font-size: 0.72rem;
  color: var(--sand-300);
  font-weight: 400;
}

/* ==========================================================================
   METRICS & IMPACT STATS STRIP
   ========================================================================== */
.impact-strip {
  background-color: var(--white);
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.impact-item {
  text-align: left;
  border-left: 3px solid var(--emerald);
  padding-left: 20px;
}

.impact-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.05;
  margin-bottom: 6px;
}

.impact-label {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  font-weight: 500;
  line-height: 1.4;
}

/* ==========================================================================
   MISSION & REGULATORY FRAMEWORK SECTION (INTERACTIVE LIVING BACKGROUND)
   ========================================================================== */
.mission-framework-section {
  position: relative;
  background-color: var(--sand-50);
  padding: 85px 0 75px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mission-mesh-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.mission-mesh-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle 450px at var(--mouse-x, 50%) var(--mouse-y, 40%), rgba(30, 77, 43, 0.045) 0%, rgba(245, 243, 237, 0) 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.mission-framework-section:hover .mission-mesh-glow {
  opacity: 1;
}

.mission-intro {
  padding: 80px 0 60px;
  background-color: var(--sand-50);
  text-align: center;
}

.mission-framework-section .mission-intro {
  padding: 0 0 44px;
  background-color: transparent;
  position: relative;
  z-index: 2;
}

.mission-intro .lead-text {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.55;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  max-width: 980px;
  margin: 0 auto 20px;
}

.mission-intro .sub-text {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 760px;
  margin: 0 auto;
}

/* ==========================================================================
   CLIENT & PARTNER LOGO STRIP
   ========================================================================== */
.logo-strip {
  padding: 40px 0 70px;
  background-color: var(--sand-50);
}

.mission-framework-section .logo-strip {
  padding: 0;
  background-color: transparent;
  position: relative;
  z-index: 2;
}

.logo-strip-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 28px;
}

.logo-track {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo-pill {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-secondary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.25s, color 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: default;
}

.logo-pill::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--green-accent);
  opacity: 0.55;
  transition: transform 0.25s, opacity 0.25s, box-shadow 0.25s;
}

.logo-pill:hover {
  border-color: var(--green-accent);
  color: var(--primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(30, 77, 43, 0.08);
}

.logo-pill:hover::before {
  opacity: 1;
  transform: scale(1.4);
  box-shadow: 0 0 8px rgba(46, 125, 50, 0.5);
}

.logo-pill--interactive {
  cursor: pointer;
  background-color: var(--white);
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-secondary);
  position: relative;
  text-decoration: none;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo-pill--interactive .pill-arrow {
  opacity: 0.45;
  margin-left: 2px;
  transform: translateY(0);
  transition: opacity 0.25s, transform 0.25s, color 0.25s;
}

.logo-pill--interactive:hover .pill-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
  color: var(--emerald);
}

.logo-pill--interactive:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
}

/* ==========================================================================
   STANDARDS & FRAMEWORKS INTERACTIVE PREVIEW MODAL
   ========================================================================== */
.standards-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 18, 14, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.standards-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.standards-modal-card {
  background: linear-gradient(145deg, #16241b 0%, #0e1913 100%);
  border: 1px solid rgba(180, 225, 195, 0.25);
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
  max-width: 660px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  color: var(--sand-50);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 32px;
  position: relative;
}

.standards-modal-overlay.active .standards-modal-card {
  transform: translateY(0) scale(1);
}

.standards-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.standards-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(46, 125, 50, 0.22);
  color: var(--green-accent);
  border: 1px solid rgba(46, 125, 50, 0.45);
}

.standards-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--sand-100);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.standards-modal-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  transform: scale(1.08);
}

.standards-modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--sand-50);
  margin: 0 0 10px 0;
  font-weight: 700;
}

.standards-modal-governance {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #9cb8a5;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(180, 225, 195, 0.14);
}

.standards-modal-governance svg {
  flex-shrink: 0;
  color: var(--emerald);
}

.standards-modal-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #d1dfd5;
  margin: 0 0 24px 0;
}

.standards-modal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 14px;
  margin-bottom: 24px;
  font-size: 0.82rem;
  color: #8da495;
}

.standards-nav-btn {
  background: transparent;
  border: none;
  color: var(--sand-100);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.standards-nav-btn:hover {
  color: var(--emerald);
  background: rgba(255, 255, 255, 0.06);
}

.standards-modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.standards-btn-official {
  background: var(--emerald);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.standards-btn-official:hover {
  background: #1f5630;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(30, 77, 43, 0.4);
}

.standards-btn-internal {
  background: rgba(255, 255, 255, 0.08);
  color: var(--sand-50);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.standards-btn-internal:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(180, 225, 195, 0.4);
  color: var(--white);
}

@media (max-width: 600px) {
  .standards-modal-card {
    padding: 24px 18px;
  }
  .standards-modal-title {
    font-size: 1.3rem;
  }
  .standards-modal-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .standards-btn-official,
  .standards-btn-internal {
    justify-content: center;
  }
}

/* ==========================================================================
   TWO-COLUMN EDITORIAL SHOWCASE (Text With Image)
   ========================================================================== */
.editorial-row {
  padding: 90px 0;
  background-color: var(--white);
}

.editorial-row--sand {
  background-color: var(--sand-100);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.editorial-grid--reverse .editorial-media {
  order: 2;
}

.editorial-grid--reverse .editorial-content {
  order: 1;
}

.editorial-media {
  position: relative;
}

.editorial-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.editorial-badge-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background-color: rgba(20, 32, 23, 0.92);
  color: var(--sand-100);
  backdrop-filter: blur(8px);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 280px;
}

.editorial-badge-overlay strong {
  display: block;
  font-size: 0.92rem;
  color: var(--white);
  margin-bottom: 4px;
}

.editorial-badge-overlay span {
  font-size: 0.78rem;
  color: var(--sand-200);
}

.editorial-content h2 {
  margin-bottom: 20px;
  color: var(--primary);
}

.editorial-content p {
  color: var(--ink-secondary);
  font-size: 1.05rem;
  line-height: 1.68;
  margin-bottom: 24px;
}

.feature-list {
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--ink);
}

.feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   SOLUTIONS & CAPABILITIES GRID (Page Cards)
   ========================================================================== */
.solutions-section {
  padding: 96px 0;
  background-color: var(--sand-50);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  margin-bottom: 14px;
  color: var(--primary);
}

.section-head p {
  font-size: 1.1rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sol-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.sol-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--green-accent);
}

.sol-card-media {
  height: 190px;
  overflow: hidden;
  position: relative;
  background-color: var(--primary);
}

.sol-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sol-card:hover .sol-card-media img {
  transform: scale(1.05);
}

.sol-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(20, 32, 23, 0.85);
  color: var(--sand-100);
  backdrop-filter: blur(6px);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sol-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sol-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.sol-card-body p {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 22px;
}

.sol-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-accent);
}

.sol-card-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.sol-card:hover .sol-card-cta svg {
  transform: translateX(6px);
}

/* ==========================================================================
   CASE STUDIES & RESULTS
   ========================================================================== */
.cases-section {
  padding: 96px 0;
  background-color: var(--white);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.case-card {
  background-color: var(--sand-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.case-card-img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.case-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.case-card-body p {
  color: var(--ink-secondary);
  font-size: 0.92rem;
  flex: 1;
  margin-bottom: 20px;
}

/* ==========================================================================
   TESTIMONIALS & TRUST QUOTES (LIVING TOPOGRAPHIC DRIFT)
   ========================================================================== */
.testimonial-section {
  padding: 84px 0;
  background-color: var(--primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonial-topo-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.testimonial-topo-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 65%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(30, 77, 43, 0.45) 0%, rgba(13, 31, 23, 0) 70%);
  pointer-events: none;
  z-index: 0;
  animation: topoGlowPulse 14s ease-in-out infinite alternate;
}

.testimonial-section .wrap,
.testimonial-card {
  position: relative;
  z-index: 2;
}

.testimonial-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 24px;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.6;
  color: var(--sand-100);
  font-weight: 500;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.testimonial-author strong {
  font-size: 1.05rem;
  color: var(--white);
}

.testimonial-author span {
  font-size: 0.88rem;
  color: var(--sand-300);
}

/* ==========================================================================
   CLIMATE BRIEFS & INSIGHTS
   ========================================================================== */
.insights-section {
  padding: 96px 0;
  background-color: var(--sand-100);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.insight-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--green-accent);
}

.insight-type {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-accent);
  margin-bottom: 14px;
}

.insight-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.insight-card p {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  flex: 1;
  margin-bottom: 22px;
}

/* ==========================================================================
   INTEGRITY & COMPLIANCE BANNER
   ========================================================================== */
.integrity-banner {
  padding: 84px 0;
  background-color: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.integrity-box {
  background-color: var(--primary-deep);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.integrity-topo-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.integrity-topo-glow {
  position: absolute;
  top: -25%;
  right: -15%;
  width: 65%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(30, 77, 43, 0.40) 0%, rgba(13, 31, 23, 0) 70%);
  pointer-events: none;
  z-index: 0;
  animation: topoGlowPulse 14s ease-in-out infinite alternate;
}

@keyframes topoGlowPulse {
  0% {
    transform: scale(0.92) translate(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.12) translate(-3%, 3%);
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .integrity-topo-glow {
    animation: none;
  }
}

.integrity-mark {
  position: relative;
  z-index: 2;
  border: 2px solid var(--sand-300);
  border-radius: 50%;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--sand-100);
  letter-spacing: 0.06em;
}

.integrity-info {
  position: relative;
  z-index: 2;
}

.integrity-info h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.integrity-info p {
  color: var(--sand-200);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 660px;
}

/* ==========================================================================
   FEATURED BOTTOM CTA STRIP (LIVING TOPOGRAPHIC DRIFT)
   ========================================================================== */
.featured-cta {
  background-color: var(--primary);
  color: var(--white);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.featured-cta-topo-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.featured-cta-topo-glow {
  position: absolute;
  top: -25%;
  right: -10%;
  width: 65%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(30, 77, 43, 0.45) 0%, rgba(13, 31, 23, 0) 70%);
  pointer-events: none;
  z-index: 0;
  animation: topoGlowPulse 14s ease-in-out infinite alternate;
}

.featured-cta .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.featured-cta-text {
  max-width: 680px;
}

.featured-cta h2 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.featured-cta p {
  color: var(--sand-200);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* ==========================================================================
   SITE FOOTER (Complete Multi-Column Structure)
   ========================================================================== */
.site-footer {
  background-color: #0F1711;
  color: var(--sand-200);
  padding: 80px 0 32px;
  font-size: 0.92rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 64px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--sand-300);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sand-200);
  transition: var(--transition);
}

.footer-socials a:hover {
  border-color: var(--emerald);
  color: var(--white);
  background-color: rgba(16, 185, 129, 0.15);
}

.footer-col h4 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--sand-300);
}

.footer-col a:hover {
  color: var(--emerald);
  padding-left: 3px;
}

.footer-newsletter p {
  font-size: 0.88rem;
  color: var(--sand-300);
  margin-bottom: 14px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: inherit;
  font-size: 0.85rem;
}

.footer-newsletter-form input:focus {
  outline: none;
  border-color: var(--emerald);
}

.footer-newsletter-form button {
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background-color: var(--emerald);
  color: var(--white);
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.footer-newsletter-form button:hover {
  background-color: #059669;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--sand-300);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--sand-300);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ==========================================================================
   INNER PAGE HEADERS & COMMON SECTIONS
   ========================================================================== */
.page-hero {
  background-color: var(--primary-deep);
  color: var(--white);
  padding: 80px 0 70px;
  background-image: 
    linear-gradient(135deg, rgba(17, 27, 19, 0.92) 0%, rgba(20, 32, 23, 0.85) 100%),
    url('https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center;
}

.page-hero .crumb {
  font-size: 0.85rem;
  color: var(--sand-200);
  margin-bottom: 16px;
}

.page-hero .crumb a {
  color: var(--sand-200);
  text-decoration: underline;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 14px;
}

.page-hero .lead {
  font-size: 1.2rem;
  color: var(--sand-100);
  max-width: 640px;
}

.content-section {
  padding: 80px 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.pillar-item {
  border-top: 4px solid var(--primary);
  padding-top: 24px;
}

.pillar-item h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.pillar-item p {
  color: var(--ink-secondary);
  font-size: 0.95rem;
}

/* Simple Forms */
.form-card {
  max-width: 640px;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  gap: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  background-color: var(--sand-50);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-accent);
  background-color: var(--white);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .site-header .wrap {
    min-height: 72px;
  }
  
  .nav-main {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .editorial-grid--reverse .editorial-media {
    order: 1;
  }
  
  .editorial-grid--reverse .editorial-content {
    order: 2;
  }
  
  .solutions-grid,
  .cases-grid,
  .insights-grid,
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .integrity-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .integrity-info p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-utility {
    display: none;
  }
  
  .hero {
    padding: 70px 0 60px;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .route-nodes {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .impact-grid,
  .solutions-grid,
  .cases-grid,
  .insights-grid,
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .featured-cta .wrap {
    flex-direction: column;
    text-align: center;
  }
  
  .featured-cta .btn {
    width: 100%;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 27, 19, 0.7);
  backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  display: none;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.mobile-nav-drawer.open {
  opacity: 1;
  visibility: visible;
  display: block;
  pointer-events: auto;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 380px;
  height: 100%;
  background: var(--white);
  padding: 32px 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin-bottom: 24px;
}

.mobile-nav-list li {
  margin-bottom: 14px;
}

.mobile-nav-list a {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   PROJECT CARDS & PORTFOLIO STYLES
   ========================================================================== */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-btn {
  background-color: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--green-accent);
  color: var(--primary);
  transform: translateY(-1px);
}

.filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(20, 32, 23, 0.2);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.project-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--green-accent);
}

.project-card-image {
  height: 220px;
  position: relative;
  overflow: hidden;
  background-color: var(--primary);
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-card-image img {
  transform: scale(1.06);
}

.project-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(20, 32, 23, 0.88);
  color: var(--sand-100);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-badge-registry {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background-color: var(--white);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.project-card-content {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--green-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.project-card-content h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.project-card-content p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 20px;
}

.project-impact-box {
  background-color: var(--sand-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.project-impact-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1.1;
}

.project-impact-item small {
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.sdg-badges-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.sdg-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.sdg-13 { background-color: #3F7E44; } /* Climate Action */
.sdg-15 { background-color: #56C02B; } /* Life on Land */
.sdg-8  { background-color: #A21942; } /* Decent Work */
.sdg-6  { background-color: #26BDE2; } /* Clean Water */
.sdg-7  { background-color: #FCC30B; color: #111; } /* Clean Energy */
.sdg-14 { background-color: #0A97D9; } /* Life Below Water */

/* ==========================================================================
   PROCESS / STEP-BY-STEP METHODOLOGY
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.process-step {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--green-accent);
  box-shadow: var(--shadow-card);
}

.process-step-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--emerald);
  line-height: 1;
  margin-bottom: 14px;
}

.process-step h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==========================================================================
   LEADERSHIP TEAM CARDS
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.team-card {
  position: relative;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(20, 32, 23, 0.12);
  border-color: var(--emerald);
}

.team-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--primary-deep);
}

.team-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-card-media img {
  transform: scale(1.08);
}

/* Accent colour band across card image like Climate Impact */
.team-card-band {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #9E227D 0%, #D82662 25%, #E36430 50%, #2E8B57 75%, #10B981 100%);
  z-index: 2;
}

.team-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background-color: var(--white);
  position: relative;
  z-index: 1;
}

.team-card-body h3 {
  font-size: 1.18rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: block;
}

.team-card-body p {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}

.team-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--sand-100);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-secondary);
  align-self: flex-start;
}

/* Ergonomic slide-up overlay on hover like Climate Impact Partners */
.team-card-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(17, 27, 19, 0.88) 0%, rgba(20, 32, 23, 0.96) 100%);
  color: var(--white);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.team-card:hover .team-card-hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.team-card-hover h3 {
  font-size: 1.22rem;
  color: var(--white);
  margin-bottom: 4px;
}

.team-card-hover .team-role {
  color: #34D399;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.team-card-hover p {
  font-size: 0.86rem;
  color: var(--sand-200);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.team-card-hover .team-location-pill {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* ==========================================================================
   OFFICE LOCATION CARDS
   ========================================================================== */
.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.office-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.office-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--green-accent);
}

.office-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.office-entity-type {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sand-gold);
  background-color: rgba(194, 162, 100, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.office-card h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.office-lead {
  font-size: 0.92rem;
  color: var(--green-accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.office-address {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.office-contacts {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 0.85rem;
}

.office-contacts div {
  margin-bottom: 6px;
}

/* ==========================================================================
   ACCORDION & FAQ (South Pole Architecture)
   ========================================================================== */
.faq-container {
  max-width: 940px;
  margin: 0 auto;
}

/* Category Filter Tabs */
.faq-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 40px;
  max-width: 960px;
}

.faq-filter-btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-secondary);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.faq-filter-btn:hover {
  border-color: var(--emerald);
  color: var(--primary);
  background-color: var(--sand-50);
}

.faq-filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(20, 32, 23, 0.15);
}

/* Category Sections */
.faq-category-block {
  margin-bottom: 44px;
  transition: opacity 0.3s ease;
}

.faq-category-block:last-child {
  margin-bottom: 0;
}

.faq-category-header {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sand-200);
  display: flex;
  align-items: center;
  gap: 14px;
}

.faq-category-header h3 {
  font-size: 1.32rem;
  color: var(--primary);
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
}

/* Accordion Item Card */
.faq-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  box-shadow: var(--shadow-subtle);
}

.faq-item:hover {
  border-color: var(--emerald);
  box-shadow: 0 4px 16px rgba(20, 32, 23, 0.08);
}

.faq-item.active {
  border-color: var(--emerald);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.12);
}

/* Complete Reset for Button Elements to Prevent Grey User-Agent Styling */
button.faq-question {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  all: unset;
  box-sizing: border-box !important;
  width: 100% !important;
  background: var(--white) !important;
  border: 0 !important;
  outline: none !important;
  font: inherit !important;
  cursor: pointer !important;
  padding: 20px 26px !important;
  text-align: left !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  color: var(--primary) !important;
  font-family: var(--font-heading) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

button.faq-question:hover {
  color: var(--emerald) !important;
}

.faq-item.active button.faq-question {
  color: var(--primary-deep) !important;
  background-color: rgba(46, 139, 87, 0.04) !important;
}

.faq-q-text {
  flex: 1;
  margin: 0;
}

.faq-arrow {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  border-radius: 50% !important;
  background-color: var(--sand-200) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease !important;
  color: var(--primary) !important;
}

.faq-arrow svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  stroke: currentColor !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg) !important;
  background-color: var(--emerald) !important;
  color: var(--white) !important;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.3s ease;
  padding: 0 26px;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 1200px;
  padding: 18px 26px 24px;
  opacity: 1;
  border-top: 1px solid var(--line);
}

.faq-answer p {
  font-size: 0.98rem;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 10px 0 14px 20px;
  padding: 0;
  color: var(--ink-secondary);
}

.faq-answer ul li {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 6px;
}

.faq-answer strong {
  color: var(--primary);
}

/* ==========================================================================
   STEP & STAGE COLLAPSIBLE ACCORDION
   ========================================================================== */
.step-accordion {
  max-width: 920px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-subtle);
}

.step-item:hover {
  border-color: var(--emerald);
  box-shadow: 0 4px 16px rgba(20, 32, 23, 0.08);
}

.step-item.active {
  border-color: var(--emerald);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.12);
}

button.step-header {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  all: unset;
  box-sizing: border-box !important;
  width: 100% !important;
  background: var(--white) !important;
  border: 0 !important;
  outline: none !important;
  font: inherit !important;
  padding: 20px 26px !important;
  text-align: left !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
}

button.step-header:hover {
  background-color: rgba(46, 139, 87, 0.02) !important;
}

.step-item.active button.step-header {
  background-color: rgba(46, 139, 87, 0.04) !important;
}

.step-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  flex-wrap: wrap;
}

.step-badge {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--emerald);
  background-color: rgba(16, 185, 129, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.step-item.active .step-badge {
  background-color: var(--emerald);
  color: var(--white);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: 1.35;
}

.step-arrow {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  border-radius: 50% !important;
  background-color: var(--sand-200) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease !important;
  color: var(--primary) !important;
}

.step-arrow svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  stroke: currentColor !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.step-item.active .step-arrow {
  transform: rotate(180deg) !important;
  background-color: var(--emerald) !important;
  color: var(--white) !important;
}

.step-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.3s ease;
  padding: 0 26px;
  opacity: 0;
}

.step-item.active .step-content {
  max-height: 600px;
  padding: 20px 26px 24px;
  opacity: 1;
  border-top: 1px solid var(--line);
}

.step-content p {
  font-size: 0.98rem;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.step-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary);
  background-color: var(--sand-200);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* Responsive tweaks for new elements */
@media (max-width: 1024px) {
  .project-grid,
  .team-grid,
  .office-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .project-grid,
  .team-grid,
  .office-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MULTI-ASSET ENVIRONMENTAL COMMODITIES (XPANSIV INSPIRATION)
   ========================================================================== */
.commodities-section {
  padding: 90px 0;
  background-color: var(--sand-50);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.commodities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.commodity-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.commodity-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--emerald);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.commodity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(46, 139, 87, 0.4);
}

.commodity-card:hover::before {
  opacity: 1;
}

.commodity-type-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background-color: rgba(46, 139, 87, 0.12);
  color: var(--green-accent);
  margin-bottom: 14px;
}

.commodity-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.commodity-card p {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.commodity-meta {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--ink-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.commodity-meta strong {
  color: var(--ink);
}

.commodity-cta-btn {
  margin-top: 16px;
  padding: 9px 14px;
  background-color: var(--sand-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  width: 100%;
  font-family: inherit;
}

.commodity-cta-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.commodity-cta-btn svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.commodity-cta-btn:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   5-STAGE DECARBONISATION ROADMAP (SOUTH POLE INSPIRATION)
   ========================================================================== */
.roadmap-section {
  padding: 100px 0;
  background-color: var(--white);
}

.roadmap-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
  position: relative;
}

.roadmap-card {
  background-color: var(--sand-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.roadmap-card:hover {
  background-color: var(--white);
  border-color: var(--emerald);
  transform: translateY(-3px);
  box-shadow: var(--shadow-subtle);
}

.roadmap-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.roadmap-card:hover .roadmap-num {
  background-color: var(--emerald);
}

.roadmap-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.roadmap-card p {
  font-size: 0.86rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
}

.roadmap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--green-accent);
  font-weight: 600;
}

/* ==========================================================================
   TRIPLE IMPACT & ARTICLE 6 (ALLCOT INSPIRATION)
   ========================================================================== */
.triple-impact-section {
  padding: 96px 0;
  background-color: var(--primary-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.triple-impact-section .section-head h2,
.triple-impact-section .section-head p {
  color: var(--white);
}

.triple-impact-section .section-head p {
  color: var(--sand-200);
}

.triple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 48px;
}

.triple-card {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.triple-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-4px);
}

.triple-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: rgba(16, 185, 129, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--emerald);
}

.triple-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--white);
}

.triple-card p {
  font-size: 0.92rem;
  color: var(--sand-200);
  line-height: 1.6;
  margin-bottom: 20px;
}

.triple-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.triple-card li {
  font-size: 0.85rem;
  color: var(--sand-100);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.triple-card li::before {
  content: "\2022";
  color: var(--emerald);
  font-size: 1.2rem;
  line-height: 1;
}

/* ==========================================================================
   QUALITY ASSURANCE MATRIX (CLIMATE IMPACT PARTNERS INSPIRATION)
   ========================================================================== */
.quality-section {
  padding: 96px 0;
  background-color: var(--white);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.quality-card {
  background-color: var(--sand-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.quality-card:hover {
  background-color: var(--white);
  border-color: var(--green-accent);
  box-shadow: var(--shadow-subtle);
  transform: translateY(-3px);
}

.quality-step-num {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-accent);
  margin-bottom: 12px;
}

.quality-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.quality-card p {
  font-size: 0.86rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
}

.quality-badge-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary);
  background-color: var(--sand-200);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* Responsive updates for new sections */
@media (max-width: 1024px) {
  .roadmap-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .triple-grid {
    grid-template-columns: 1fr;
  }
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .roadmap-flow {
    grid-template-columns: 1fr;
  }
  .quality-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   COOKIE WHEEL TRIGGER & PREFERENCES MODAL
   ========================================================================== */

/* Footer Cookie Settings Wheel Button */
.footer-cookie-btn {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 5px 13px;
  margin: 0;
  color: var(--sand-200);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.footer-cookie-btn:hover {
  background-color: var(--primary-light);
  border-color: var(--emerald);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
}

.footer-cookie-btn svg {
  color: var(--emerald);
  transition: transform 0.4s ease;
  flex-shrink: 0;
}

.footer-cookie-btn:hover svg {
  transform: rotate(45deg);
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 18, 12, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal-card {
  background-color: var(--white);
  color: var(--ink);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid var(--line);
}

.cookie-modal-overlay.active .cookie-modal-card {
  transform: translateY(0) scale(1);
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background-color: var(--sand-50);
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease;
}

.cookie-modal-close:hover {
  color: var(--ink);
}

.cookie-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.cookie-category-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 14px;
  background-color: var(--white);
  transition: border-color 0.2s ease;
}

.cookie-category-item:hover {
  border-color: var(--sand-300);
}

.cookie-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.cookie-category-head strong {
  font-size: 0.95rem;
  color: var(--primary);
}

.cookie-status-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background-color: var(--sand-200);
  color: var(--primary);
  margin-left: 8px;
}

.cookie-category-item p {
  font-size: 0.83rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Modern Toggle Switch */
.cookie-toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--sand-300);
  border-radius: 24px;
  transition: background-color 0.25s ease;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.cookie-toggle-switch input:checked + .cookie-toggle-slider {
  background-color: var(--emerald);
}

.cookie-toggle-switch input:checked + .cookie-toggle-slider:before {
  transform: translateX(20px);
}

.cookie-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background-color: var(--sand-50);
  flex-wrap: wrap;
}

@media (max-width: 540px) {
  .cookie-modal-footer {
    flex-direction: column;
  }
  .cookie-modal-footer button {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   LEGAL & EXPLAINER PAGE LAYOUT
   ========================================================================== */
.legal-page-wrap {
  padding: 60px 0 90px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 100px;
  background-color: var(--sand-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.legal-sidebar h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-nav-list li {
  margin-bottom: 10px;
}

.legal-nav-list a {
  display: block;
  font-size: 0.86rem;
  color: var(--ink-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  line-height: 1.4;
}

.legal-nav-list a:hover {
  background-color: var(--sand-200);
  color: var(--primary);
  padding-left: 14px;
}

.legal-nav-list a.active {
  background-color: var(--primary);
  color: var(--white);
  font-weight: 600;
}

.legal-content {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
}

.legal-meta-box {
  background-color: var(--sand-50);
  border-left: 3px solid var(--emerald);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 32px;
  font-size: 0.86rem;
  color: var(--ink-secondary);
}

.legal-meta-box strong {
  color: var(--primary);
}

.legal-section {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 16px;
  scroll-margin-top: 110px;
}

.legal-section h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin: 24px 0 10px;
}

.legal-section p {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-section ul, .legal-section ol {
  margin: 0 0 20px 24px;
  color: var(--ink-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  text-align: left;
}

.legal-table th {
  background-color: var(--sand-100);
  color: var(--primary);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.legal-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-secondary);
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-callout {
  background-color: var(--sand-50);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 24px 0;
}

.legal-callout h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.legal-callout p {
  margin-bottom: 0;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .legal-sidebar {
    position: static;
    margin-bottom: 24px;
  }
  .legal-content {
    padding: 28px 20px;
  }
}

/* ==========================================================================
   CAREERS PAGE STYLES (Inspired by Xpansiv & High-Integrity Environmental Standards)
   ========================================================================== */

.careers-hero {
  position: relative;
  background-color: var(--primary-deep);
  color: var(--white);
  padding: 100px 0 80px;
  background-image: 
    linear-gradient(135deg, rgba(20, 32, 23, 0.94) 0%, rgba(17, 27, 19, 0.88) 100%),
    url('assets/hero-canopy.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.careers-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.careers-hero-badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.careers-hero-content {
  max-width: 780px;
}

.careers-hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.careers-hero p.lead {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--sand-100);
  margin-bottom: 32px;
}

.careers-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* 50/50 Intro Section */
.careers-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.careers-split-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}

.careers-split-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.careers-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.careers-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.careers-stat-label {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

/* Values Grid */
.careers-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.career-value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.career-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--sand-300);
}

.career-value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--sand-100);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--line);
}

.career-value-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.career-value-card p {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Benefits Grid */
.careers-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.career-benefit-card {
  background: var(--sand-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.career-benefit-card.featured-benefit {
  background: var(--white);
  border-color: var(--emerald);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.08);
}

.career-benefit-header {
  margin-bottom: 24px;
}

.career-benefit-badge {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--emerald);
  margin-bottom: 8px;
  display: block;
}

.career-benefit-header h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.career-benefit-header p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.45;
  margin: 0;
}

.career-benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.career-benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.career-benefit-check {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--green-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* Job Board Section */
.careers-board-wrap {
  margin-top: 44px;
}

.careers-filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 28px;
}

.careers-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.career-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-secondary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.career-tab-btn:hover {
  background-color: var(--sand-100);
  color: var(--primary);
}

.career-tab-btn.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  font-weight: 600;
}

.careers-filter-selects {
  display: flex;
  align-items: center;
  gap: 12px;
}

.careers-select-wrap select {
  font-family: var(--font-body);
  font-size: 0.86rem;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--ink);
  cursor: pointer;
  outline: none;
}

.careers-select-wrap select:focus {
  border-color: var(--emerald);
}

.careers-count-text {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* Job Cards Grid */
.job-cards-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.job-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--sand-300);
}

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.job-badge {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.job-badge--dept {
  background: var(--sand-100);
  color: var(--primary);
  border: 1px solid var(--sand-200);
}

.job-badge--loc {
  background: rgba(16, 185, 129, 0.1);
  color: #0b7a54;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.job-badge--type {
  background: #f4f4f5;
  color: #52525b;
}

.job-card-title {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.job-card-desc {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 820px;
}

.job-card-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-card-highlights li {
  font-size: 0.84rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-card-highlights li svg {
  color: var(--emerald);
}

.job-card-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 140px;
}

.job-empty-state {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink-muted);
}

/* Talent Pool Box */
.talent-pool-box {
  background: linear-gradient(135deg, var(--sand-100) 0%, var(--sand-50) 100%);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.talent-pool-text h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.talent-pool-text p {
  color: var(--ink-secondary);
  font-size: 0.95rem;
  margin: 0;
  max-width: 600px;
}

/* Job Application Modal */
.job-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 27, 19, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.job-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.job-modal-card {
  background-color: var(--white);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dropdown);
  border: 1px solid var(--line);
  padding: 36px;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}

.job-modal-overlay.active .job-modal-card {
  transform: translateY(0) scale(1);
}

.job-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.job-modal-header h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.job-modal-header p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin: 0;
}

.job-modal-close {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.job-modal-close:hover {
  color: var(--primary);
}

.job-form-group {
  margin-bottom: 18px;
}

.job-form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.job-form-group input[type="text"],
.job-form-group input[type="email"],
.job-form-group input[type="tel"],
.job-form-group input[type="url"],
.job-form-group select,
.job-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
  background-color: var(--sand-50);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.job-form-group input:focus,
.job-form-group select:focus,
.job-form-group textarea:focus {
  border-color: var(--emerald);
  background-color: var(--white);
}

.job-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.job-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 22px;
  line-height: 1.45;
}

.job-form-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--emerald);
}

.job-modal-success {
  text-align: center;
  padding: 30px 10px;
}

.job-modal-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--green-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

@media (max-width: 992px) {
  .careers-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .careers-split-image img {
    height: 320px;
  }
  .careers-values-grid,
  .careers-benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .job-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .job-card-action {
    align-items: flex-start;
  }
  .talent-pool-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .careers-filters-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .careers-filter-tabs {
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .careers-filter-selects {
    width: 100%;
  }
  .careers-select-wrap {
    width: 100%;
  }
  .careers-select-wrap select {
    width: 100%;
  }
  .job-form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .job-modal-card {
    padding: 24px 18px;
  }
}

/* --- 404 Not Found & Error Page Styles --- */
.error-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0 80px;
  text-align: center;
  background: radial-gradient(circle at 50% 30%, rgba(16, 44, 34, 0.45) 0%, rgba(8, 14, 18, 0.95) 70%);
}

.error-hero-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 36px;
  background: rgba(18, 30, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.error-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sand-gold, #cfa86e);
  background: rgba(207, 168, 110, 0.12);
  border: 1px solid rgba(207, 168, 110, 0.28);
  margin-bottom: 24px;
}

.error-code {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(4.5rem, 10vw, 7.5rem);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 16px;
  background: linear-gradient(135deg, #4ade80 0%, #cfa86e 60%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.error-title {
  font-family: var(--font-heading, 'Jost', sans-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.25;
}

.error-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--sand-200, #d4d0c8);
  max-width: 640px;
  margin: 0 auto 36px;
}

.error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.error-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 36px;
  margin-top: 16px;
}

.error-quick-card {
  display: block;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

.error-quick-card:hover {
  transform: translateY(-2px);
  background: rgba(46, 204, 113, 0.08);
  border-color: rgba(46, 204, 113, 0.35);
}

.error-quick-card strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.error-quick-card small {
  font-size: 0.82rem;
  color: var(--sand-300, #a8a29e);
  line-height: 1.4;
  display: block;
}

.error-security-note {
  margin-top: 32px;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--sand-400, #9ca3af);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 860px) {
  .error-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .error-hero-card {
    padding: 32px 20px;
  }
  .error-quick-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .error-actions {
    flex-direction: column;
    width: 100%;
  }
  .error-actions .btn {
    width: 100%;
  }
}



