:root{
  --primary:#004d39;
  --primary-2:#006b4f;
  --deep:#0a1f18;
  --accent:#caf300;
  --accent-dim:#b0d500;
  --surface:#fbfcfb;
  --surface-low:#f3f6f4;
  --surface-mid:#ecefec;
  --surface-high:#dee2df;
  --surface-variant:#e0e4e2;
  --text:#0a1f18;
  --muted:#3f4944;
  --outline:#bec9c2;
  --white:#ffffff;
  --radius:2.5rem;
  --radius-sm:1rem;
  --max:1280px;
  --shadow:0 30px 90px rgba(0,77,57,.15);
  /* Fluid spacing - calibrated for 1080p as base, scales up for 4K */
  --sp-section: clamp(64px, 5.5vw, 120px);
  --sp-section-h: clamp(32px, 3vw, 64px);
  --sp-container: clamp(24px, 4vw, 64px);
  --sp-card: clamp(24px, 2vw, 40px);
  --sp-gap: clamp(16px, 1.6vw, 28px);
}

*{
  box-sizing:border-box;
}
html{
  scroll-behavior:smooth;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

section:not(.hero):not(.hero-custom):not(.dark):not(.surface-low):not(.surface-mid):not(.cta):not(.impact-strip):not(.activities-section) {
  background: var(--surface);
  position: relative;
}

a{
  text-decoration:none;
  color:inherit;
}
img{
  max-width:100%;
  display:block;
}
p{
  margin-top:0;
}

/* ══════════════════════════════════════
   NAV
   Logo left │ links center │ button right
   ══════════════════════════════════════ */

.site-header{
  position:fixed;
  top:16px;
  left:0;
  right:0;
  z-index:1000;
  padding:0 clamp(16px,3vw,48px);
  pointer-events:none;
  transition:top .35s ease;
}

.site-header.scrolled{
  top:10px;
}

.site-header.scrolled .nav {
  background: rgba(255,255,255,.72);
  box-shadow:
    0 12px 34px rgba(10,31,24,.14),
    inset 0 1px 0 rgba(255,255,255,.75);
  backdrop-filter: blur(10px) saturate(170%);
  -webkit-backdrop-filter: blur(10px) saturate(170%);
}

.brand{
  display:flex;
  align-items:center;
  flex-shrink:0;
  height:36px;
}
.brand img{
  width:clamp(110px,8vw,148px);
  height:auto;
  display:block;
}
.nav-left{
  display:contents;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:clamp(14px,1.5vw,30px);
  font-size:clamp(12px,.85vw,13px);
  font-weight:700;
  color:#0a1f18;
  margin-left:clamp(16px,2.5vw,36px);
}
.nav-links a{
  position:relative;
  transition:.22s ease;
  font-weight:700;
  opacity:.82;
  white-space:nowrap;
}
.nav-links a::after{
  content:"";
  position:absolute;
  bottom:-3px;
  left:0;
  width:0;
  height:2px;
  background:var(--primary);
  border-radius:99px;
  transition:width .22s ease;
}
.nav-links a:hover::after,.nav-links a.active::after{
  width:100%;
}
.nav-links a:hover,.nav-links a.active{
  color:var(--primary);
  opacity:1;
}
.nav-actions{
  display:flex;
  align-items:center;
  flex-shrink:0;
  margin-left:auto;
}
.nav-actions .btn-ghost{
  display:none;
}
.nav-actions .btn-primary{
  padding:12px clamp(14px,1.5vw,22px);
  background:#0f6247;
  color:#fff;
  box-shadow:none;
  font-size:13px;
  border-radius:999px;
}
.nav-actions .btn-primary:hover{
  transform:translateY(-1px);
  background:#094d39;
}
.mobile-toggle{
  display:none;
  background:transparent;
  border:0;
  color:var(--primary);
  font-weight:900;
  font-size:22px;
  cursor:pointer;
  padding:6px 10px;
  line-height:1;
  flex-shrink:0;
}


/* DROPDOWN */

.nav {
  pointer-events:auto;
  max-width:var(--max);
  margin:0 auto;
  padding:7px 7px 7px clamp(16px,2vw,24px);
  min-height:56px;
  display:flex;
  align-items:center;
  gap:0;
  background:rgba(255,255,255,.7);
  border-radius:999px;
  box-shadow:0 14px 40px rgba(10,31,24,.11),
    inset 0 1px 0 rgba(255,255,255,.65);
  backdrop-filter:blur(10px) saturate(160%);
  -webkit-backdrop-filter:blur(10px) saturate(160%);
  transition:background .35s ease, box-shadow .35s ease;
  position:relative;
}

.nav-dropdown {
  display: flex;
  align-items: center;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
}

/* invisible hover area below full nav bar */
.dropdown-zone {
  position: absolute;
  top: calc(100% + 60px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  padding-top: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}

/* hover bridge */
.dropdown-zone::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

/* visible dropdown */
.dropdown-menu {
  position: relative;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(10,31,24,.14);
  transform: translateY(8px);
  transition: transform .18s ease;
}

.dropdown-menu a {
  display: block;
  margin: 0 10px 10px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.dropdown-menu a:first-child {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.dropdown-menu a::after {
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
}

.dropdown-menu a:hover::after,
.dropdown-menu a.active::after {
  width: calc(100% - 28px);
}

.dropdown-menu a:hover {
  color: var(--primary);
}

.nav-dropdown:hover .dropdown-zone,
.nav-dropdown:focus-within .dropdown-zone,
.dropdown-zone:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.dropdown-zone:hover .dropdown-menu {
  transform: translateY(0);
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:999px;
  padding:clamp(12px,1.2vw,15px) clamp(20px,2vw,28px);
  font-weight:900;
  font-size:clamp(13px,1vw,14px);
  letter-spacing:.02em;
  cursor:pointer;
  transition:transform .25s ease, background .25s ease, box-shadow .25s ease;
  white-space:nowrap;
}

.btn-primary{
  background:var(--primary);
  color:#fff;
}
.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(0,77,57,.28);
}

.btn-accent{
  background:var(--accent);
  color:var(--primary);
  border-radius:1rem;
  box-shadow:0 18px 50px rgba(202,243,0,.2);
  position:relative;
  overflow:hidden;
}
.btn-accent:hover{
  transform:translateY(-3px);
  box-shadow:0 26px 56px rgba(202,243,0,.34);
}

.btn-ghost{
  background:transparent;
  color:var(--primary);
  padding-inline:12px;
}
.btn-ghost:hover{
  opacity:.75;
}
.btn-white{
  background:#fff;
  color:var(--primary);
  border-radius:1rem;
}
.btn-white:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(0,0,0,.12);
}

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
/* interior pages - full height on desktop, auto on phone */
.hero.small{
  height:100dvh;
  min-height:540px;
}

.hero.blog{
  height:auto;
  min-height:540px;
}

.hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:var(--hero-img);
  background-size:cover;
  background-position:center;
  transform:scale(1.06);
  z-index:0;
  will-change:transform;
  opacity:var(--hero-opacity, 1);
  transition:opacity .6s ease;
}

/* Ensure dark overlay is always present so text is readable even before image loads */
.hero{
  position:relative;
  height:100dvh;
  min-height:540px;
  display:flex;
  align-items:center;
  overflow:hidden;
  color:#fff;
  background:var(--primary);
}

.hero:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.26) 0%,rgba(0,0,0,.16) 50%,rgba(0,30,20,.54) 100%);
  z-index:1;
}

.hero .hero-vignette{
  position:absolute;
  inset:0;
  z-index:1;
  background:radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.32) 100%);
  pointer-events:none;
}

.hero-inner{
  position:relative;
  z-index:2;
  max-width:var(--max);
  width:100%;
  margin:0 auto;
  padding:clamp(100px,9vw,150px) var(--sp-container) clamp(52px,5vw,88px);
  display:grid;
  grid-template-columns:1fr .46fr;
  gap:clamp(32px,4vw,60px);
  align-items:end;
}

.hero.small .hero-inner{
  grid-template-columns:1fr;
  padding-top:clamp(100px,9vw,148px);
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:rgba(255,255,255,.18);
  backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  padding:9px 16px;
  margin-bottom:clamp(20px,2.5vw,36px);
  font-size:11px;
  line-height:1.4;
  text-transform:uppercase;
  letter-spacing:.15em;
  font-weight:900;
  color:#fff;
  animation:fadeSlideUp .7s ease both;
}

.badge:before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 12px var(--accent);
  animation:pulse 2s ease infinite;
}

@keyframes pulse{
  0%,100%{
  box-shadow:0 0 8px var(--accent);
}
  50%{
  box-shadow:0 0 20px var(--accent), 0 0 34px rgba(202,243,0,.38);
}
}

.breadcrumb{
  color:rgba(255,255,255,.75);
  font-weight:700;
  margin-bottom:18px;
  display:none;
}

h1,h2,h3{
  margin-top:0;
}

h1{
  font-size:clamp(38px,4.4vw,76px);
  line-height:1.04;
  letter-spacing:-.054em;
  font-weight:900;
  max-width:960px;
  margin-bottom:clamp(18px,1.8vw,26px);
  animation:fadeSlideUp .8s .1s ease both;
}

h1 em{
  font-family:"Fraunces",serif;
  font-weight:400;
  letter-spacing:-.04em;
}

.hero-copy{
  font-size:clamp(16px,1.2vw,20px);
  color:rgba(255,255,255,.9);
  max-width:700px;
  margin-bottom:clamp(28px,2.5vw,40px);
  animation:fadeSlideUp .8s .2s ease both;
}

.hero-actions{
  display:flex;
  gap:clamp(12px,1.5vw,20px);
  flex-wrap:wrap;
  animation:fadeSlideUp .8s .3s ease both;
}

@keyframes fadeSlideUp{
  from{
  opacity:0;
  transform:translateY(26px);
}
  to{
  opacity:1;
  transform:translateY(0);
}
}

.glass-card{
  backdrop-filter:blur(7px);
  border:2px solid rgba(255,255,255,.26);
  border-radius:clamp(1.2rem,2vw,2rem);
  padding:clamp(20px,2.5vw,34px);
  color:#fff;
  box-shadow:0 28px 70px rgba(0,0,0,.17);
  animation:fadeSlideUp .9s .35s ease both;
  transition:transform .35s ease, box-shadow .35s ease;
}

.glass-card:hover{
  transform:translateY(-4px);
  box-shadow:0 40px 90px rgba(0,0,0,.23);
}

.glass-card .label{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:900;
  opacity:.72;
  margin-bottom:18px;
}

.metrics{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(14px,2vw,22px);
}
.metric strong{
  display:block;
  font-size:clamp(22px,1.8vw,28px);
  line-height:1.05;
  font-weight:900;
  letter-spacing:-.04em;
  transition:color .25s ease;
}
.metric:hover strong{
  color:var(--accent);
}
.metric span{
  display:block;
  font-size:12px;
  line-height:1.4;
  color:rgba(255,255,255,.74);
  margin-top:6px;
}

/* ══════════════════════════════════════
   SECTIONS - fluid spacing
   ══════════════════════════════════════ */
section{
  padding:var(--sp-section) var(--sp-container);
}
.container{
  max-width:var(--max);
  margin:0 auto;
}

.section-head{
  display:flex;
  justify-content:space-between;
  gap:clamp(28px,4vw,60px);
  align-items:flex-end;
  margin-bottom:clamp(36px,4vw,64px);
}

.section-head .copy{
  max-width:680px;
}


.kicker{
  color:var(--primary);
  font-size:11px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
  margin-bottom:14px;
}

h2{
  font-size:clamp(28px,2.8vw,52px);
  line-height:1.15;
  letter-spacing:-.04em;
  color:var(--text);
  font-weight:850;
  margin-bottom:16px;
}

h2 em{
  font-family:"Fraunces",serif;
  font-weight:400;
  color:var(--primary-2);
}
.lead{
  font-size:clamp(15px,1.1vw,18px);
  color:var(--muted);
  max-width:760px;
}
.surface-low{
  background:var(--surface-low);
}
.surface-mid{
  background:var(--surface-mid);
}
.dark{
  background:var(--primary);
  color:#fff;
}
.dark h2,.dark h3{
  color:#fff;
}
.dark .lead,.dark p{
  color:rgba(255,255,255,.72);
}

/* ══════════════════════════════════════
   IMPACT STRIP
   ══════════════════════════════════════ */
.impact-strip{
  background:var(--surface-low);
  position:relative;
  z-index:3;
  padding:clamp(40px,4vw,72px) var(--sp-container) clamp(40px,4vw,72px);
}
.impact-grid{
  display:grid;
  grid-template-columns:1fr 3fr;
  gap:clamp(32px,5vw,70px);
  align-items:center;
}
.stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:clamp(20px,3vw,42px);
}

.stat-line{
  border-left:1px solid rgba(0,77,57,.14);
  padding-left:clamp(16px,2vw,32px);
  transition:border-color .25s ease;
}
.stat-line:hover{
  border-color:var(--primary);
}

.stat-line strong{
  display:block;
  font-size:clamp(34px,3vw,52px);
  line-height:1;
  font-weight:850;
  color:var(--primary);
  letter-spacing:-.055em;
}

.stat-line span{
  display:block;
  margin-top:10px;
  color:var(--muted);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:900;
}

/* ══════════════════════════════════════
   CARDS
   ══════════════════════════════════════ */
.cards-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:var(--sp-gap);
}
.cards-2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:var(--sp-gap);
}
.cards-2-third{
  display:grid;
  grid-template-columns:3fr 2fr;
  gap:var(--sp-gap);
}

.card{
  background:#fff;
  border:1px solid rgba(0,77,57,.06);
  border-radius:clamp(1rem,1.5vw,1.5rem);
  padding:var(--sp-card);
  box-shadow:0 14px 50px rgba(0,77,57,.05);
  transition:border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.cards-3 > .card{
  display:flex;
  flex-direction:column;
}

.cards-3 > .card > a[href]{
  margin-top:auto;
  align-self:flex-start;
}

.card:hover{
  border-color:rgba(0,77,57,.18);
  transform:translateY(-4px);
  box-shadow:0 28px 70px rgba(0,77,57,.1);
}

.dark .card{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.1);
}
.dark .card:hover{
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.22);
}

.card h3{
  font-size:clamp(18px,1.4vw,24px);
  line-height:1.25;
  font-weight:800;
  margin-bottom:12px;
}
.card p{
  color:var(--muted);
}
.dark .card p{
  color:rgba(255,255,255,.7);
}
.dark .card h3{
  color:#fff;
}

.icon{
  width:44px;
  height:44px;
  border-radius:.9rem;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,77,57,.06);
  color:var(--primary);
  font-weight:900;
  font-size:13px;
  margin-bottom:clamp(16px,2vw,28px);
  transition:background .25s, color .25s, transform .25s;
}

.career-offers .icon{
  font-size:0;
}

.career-offers .icon::before{
  content:"";
  width:22px;
  height:22px;
  display:block;
  background:currentColor;
  -webkit-mask:var(--icon-mask) center / contain no-repeat;
  mask:var(--icon-mask) center / contain no-repeat;
}

.career-offers .cards-3 > .card:nth-child(1) .icon{
  --icon-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21v-8'/%3E%3Cpath d='M12 13c-3.8 0-6.5-2.7-7-7 4.3.5 7 3.2 7 7Z'/%3E%3Cpath d='M12 13c0-3.8 2.7-6.5 7-7-.5 4.3-3.2 7-7 7Z'/%3E%3C/svg%3E");
}

.career-offers .cards-3 > .card:nth-child(2) .icon{
  --icon-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 11c1.7 0 3-1.3 3-3s-1.3-3-3-3'/%3E%3Cpath d='M8 11c-1.7 0-3-1.3-3-3s1.3-3 3-3'/%3E%3Cpath d='M8 14h8'/%3E%3Cpath d='M6 19c.7-2.9 2.7-5 6-5s5.3 2.1 6 5'/%3E%3C/svg%3E");
}

.career-offers .cards-3 > .card:nth-child(3) .icon{
  --icon-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M6 16l4-4 3 3 5-7'/%3E%3Cpath d='M15 8h3v3'/%3E%3C/svg%3E");
}

.career-offers .cards-3 > .card:nth-child(4) .icon{
  --icon-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M12 4c2 2.2 3 4.9 3 8s-1 5.8-3 8'/%3E%3Cpath d='M12 4c-2 2.2-3 4.9-3 8s1 5.8 3 8'/%3E%3C/svg%3E");
}

.career-offers .cards-3 > .card:nth-child(5) .icon{
  --icon-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 21h4'/%3E%3Cpath d='M8 14c-1.2-1.1-2-2.7-2-4.5a6 6 0 1 1 12 0c0 1.8-.8 3.4-2 4.5-.7.7-1 1.3-1 2H9c0-.7-.3-1.3-1-2Z'/%3E%3C/svg%3E");
}

.career-offers .cards-3 > .card:nth-child(6) .icon{
  --icon-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v17'/%3E%3Cpath d='M5 7h14'/%3E%3Cpath d='M7 7l-3 7h6L7 7Z'/%3E%3Cpath d='M17 7l-3 7h6l-3-7Z'/%3E%3Cpath d='M8 21h8'/%3E%3C/svg%3E");
}

.card:hover .icon{
  background:var(--primary);
  color:var(--accent);
  transform:scale(1.08);
}
.dark .card:hover .icon{
  background:var(--accent);
  color:var(--primary);
}

.media-card{
  padding:0;
  overflow:hidden;
}

.media-card .body{
  padding:clamp(20px,2.5vw,36px);
}

/* ══════════════════════════════════════
   FEATURE GRID
   ══════════════════════════════════════ */
.feature-grid{
  display:grid;
  grid-template-columns:8fr 4fr;
  gap:var(--sp-gap);
}

.feature-large{
  position:relative;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:1.5rem;
  box-shadow:var(--shadow);
  background-size:cover;
  background-position:center;
  transition:box-shadow .35s ease;
}

.feature-large:hover{
  box-shadow:0 48px 120px rgba(0,77,57,.22);
}

.feature-large:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(10,31,24,0) 0%,rgba(10,31,24,.82) 100%);
}

.feature-content{
  position:absolute;
  left:clamp(24px,3vw,48px);
  right:clamp(24px,3vw,48px);
  bottom:clamp(22px,3vw,42px);
  z-index:2;
  color:#fff;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
}

.tag{
  display:inline-flex;
  background:var(--accent);
  color:var(--primary);
  border-radius:.5rem;
  padding:7px 12px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
  margin-bottom:14px;
  transition:transform .2s ease;
}

.tag:hover{
  transform:scale(1.04);
}

.feature-content h3{
  font-size:clamp(26px,3vw,42px);
  color:#fff;
  margin-bottom:8px;
}
.feature-content p{
  max-width:550px;
  color:rgba(255,255,255,.78);
  margin-bottom:0;
  font-size:clamp(14px,1.1vw,16px);
}

.floating-impact{
  background:rgba(255,255,255,.35);
  backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,.3);
  border-radius:1.5rem;
  padding:clamp(16px,2vw,26px) clamp(18px,2.5vw,32px);
  min-width:180px;
  transition:background .25s,transform .25s;
}
.floating-impact:hover{
  background:rgba(255,255,255,.44);
  transform:translateY(-3px);
}
.floating-impact small{
  display:block;
  opacity:.6;
  font-weight:900;
  font-size:10px;
  letter-spacing:.08em;
}
.floating-impact strong{
  display:block;
  font-size:clamp(22px,2.2vw,30px);
  letter-spacing:-.04em;
}

.side-cards{
  display:flex;
  flex-direction:column;
  gap:var(--sp-gap);
}

.side-card{
  flex:1;
  border-radius:1.5rem;
  padding:clamp(22px,2.5vw,36px);
  background:#fff;
  border:1px solid rgba(0,77,57,.06);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition:transform .3s,box-shadow .3s;
}
.side-card:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 55px rgba(0,77,57,.1);
}
.side-card.dark-card{
  background:var(--primary);
  color:#fff;
}
.side-card.dark-card h3{
  color:#fff;
}
.side-card.dark-card p{
  color:rgba(255,255,255,.7);
}
.side-card.dark-card:hover{
  box-shadow:0 22px 55px rgba(0,77,57,.28);
}

/* ══════════════════════════════════════
   SPLIT
   ══════════════════════════════════════ */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(36px,6vw,80px);
  align-items:center;
}

/*
.image-frame{
  position:relative;
  border-radius:clamp(2rem,3vw,3rem);
  overflow:hidden;
  box-shadow:var(--shadow);
  min-height:clamp(320px,32vw,500px);
  background-size:cover;
  background-position:center;
  transition:box-shadow .4s;
}
.image-frame:hover{
  box-shadow:0 48px 120px rgba(0,77,57,.22);
}
*/

.image-frame{
  position:relative;
  border-radius:clamp(2rem,3vw,3rem);
  overflow:hidden;
  min-height:clamp(320px,32vw,500px);
}

/*
.image-frame::before{
  content:"";
  position:absolute;
  inset:0;

  background-image:var(--img);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;

  transition:transform .9s ease;
}

.image-frame:hover::before{
  transform:scale(1.06);
}
*/

.float-box{
  position:absolute;
  left:25px;
  bottom:25px;
  max-width:400px;
  background:rgba(255,255,255,.5);
  backdrop-filter:blur(7px);
  border:1px solid rgba(255,255,255,.4);
  border-radius:clamp(1.2rem,2vw,2rem);
  padding:clamp(10px,2.5vw,18px);
  box-shadow:var(--shadow);
  transition:transform .35s;
}
.float-box:hover{
  transform:translateY(-4px) !important;
}
.float-box strong{
  font-size:clamp(22px,3vw,24px);
  color:var(--primary);
  letter-spacing:-.05em;
}

.float-box{
  position:absolute;
  z-index:2;
}

/* ══════════════════════════════════════
   LIST
   ══════════════════════════════════════ */
.list{
  margin:clamp(16px,2vw,28px) 0 0;
  padding:0;
  list-style:none;
}
.list li{
  display:flex;
  gap:12px;
  padding:14px 0;
  border-top:1px solid rgba(0,77,57,.12);
  color:var(--muted);
  transition:color .2s;
}
.list li:hover{
  color:var(--primary);
}
.list li:before{
  content:"";
  width:7px;
  height:7px;
  background:var(--accent);
  border-radius:50%;
  margin-top:11px;
  flex:0 0 7px;
  transition:box-shadow .2s;
}
.list li:hover:before{
  box-shadow:0 0 10px rgba(202,243,0,.6);
}
.dark .list li{
  color:rgba(255,255,255,.72);
  border-color:rgba(255,255,255,.13);
}
.dark .list li:hover{
  color:#fff;
}

/* ══════════════════════════════════════
   TIMELINE
   ══════════════════════════════════════ */
.timeline{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid rgba(0,77,57,.08);
  border-radius:1.5rem;
  overflow:hidden;
  background:#fff;
}
.timeline-item{
  padding:clamp(20px,2.5vw,34px);
  border-right:1px solid rgba(0,77,57,.08);
  transition:background .25s;
}
.timeline-item:hover{
  background:var(--surface-low);
}
.timeline-item:last-child{
  border-right:0;
}
.timeline-item small{
  display:block;
  color:var(--primary);
  font-size:11px;
  letter-spacing:.12em;
  font-weight:900;
  text-transform:uppercase;
  margin-bottom:14px;
}
.timeline-item p{
  color:var(--muted);
  font-size:14px;
}

/* ══════════════════════════════════════
   TEAM
   ══════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: var(--sp-gap);
}

.team-card {
  background: #fff;
  border: 1px solid rgba(0,77,57,.06);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(0,77,57,.1);
}

.team-photo {
  height: clamp(180px,20vw,260px);
  background: linear-gradient(135deg,var(--surface-mid),var(--outline));
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(36px,4vw,52px);
  font-weight: 900;
  color: rgba(0,77,57,.22);
  transition: background-size .45s ease;
}

.team-card:hover .team-photo {
  background-size: 106%;
}

.team-body {
  padding: clamp(20px,2.5vw,34px);
}

.role {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

/* ══════════════════════════════════════
   CTA
   ══════════════════════════════════════ */
.cta{
  padding:var(--sp-section) var(--sp-container);
}

.cta-box{
  max-width:var(--max);
  margin:0 auto;
  border-radius:clamp(2rem,4vw,4rem);
  padding:clamp(56px,7vw,100px) clamp(28px,5vw,56px);
  text-align:center;
  color:#fff;
  position:relative;
  overflow:hidden;
  background:var(--primary);
}

.cta-box:before{
  content:"";
  position:absolute;
  inset:0;
  background:var(--hero-img);
  background-size:cover;
  background-position:center;
  opacity:.1;
  transition:opacity .5s,transform .5s;
}
.cta-box:hover:before{
  opacity:.16;
  transform:scale(1.03);
}
.cta-box > *{
  position:relative;
  z-index:2;
}
.cta-box h2{
  color:#fff;
  font-size:clamp(32px,4.2vw,66px);
}
.cta-box h2 em{
  color:var(--accent);
}
.cta-box p{
  color:rgba(255,255,255,.78);
  font-size:clamp(16px,1.5vw,21px);
  max-width:700px;
  margin:0 auto clamp(24px,3vw,34px);
}

/* ══════════════════════════════════════
   CONTACT
   ══════════════════════════════════════ */
.contact-box{
  position: relative;
  overflow: hidden;

  background: var(--primary);
  border-radius: clamp(2rem,3vw,3rem);
  padding: clamp(36px,5vw,64px);

  color: #fff;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px,4vw,54px);
}
.contact-box h2{
  color:#fff;
}
.contact-box p{
  color:rgba(255,255,255,.75);
}

.contact-box::before{
  content:"";
  position:absolute;
  inset:0;

  background-image:url('/images/contact_box.webp');
  background-size:cover;
  background-position:center;

  opacity:.03;

  pointer-events:none;
}


.contact-box > *{
  position:relative;
  z-index:1;
}


form{
  display:grid;
  gap:14px;
}
input,select,textarea{
  width:100%;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.09);
  color:#fff;
  border-radius:1rem;
  padding:15px 16px;
  font:inherit;
  outline:none;
  transition:border-color .25s,background .25s;
}
input:focus,select:focus,textarea:focus{
  border-color:rgba(202,243,0,.6);
  background:rgba(255,255,255,.13);
}
input::placeholder,textarea::placeholder{
  color:rgba(255,255,255,.55);
}
select option{
  color:#0a1f18;
}
textarea{
  min-height:130px;
  resize:vertical;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer a,.footer p{
  color:var(--muted);
}
.footer a{
  transition:color .2s;
}
.footer a:hover{
  color:var(--primary);
}

.footer .brand.footer-logo{
  width:120px;
  height:auto;
  background:transparent;
  border:0;
  border-radius:0;
  justify-content:flex-start;
}
.footer .brand.footer-logo img{
  width:clamp(80px,8vw,110px);
}

/* ══════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════ */
.reveal{
  opacity:0;
  transform:translateY(32px);
  transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.visible{
  opacity:1;
  transform:translateY(0);
}
.reveal-delay-1{
  transition-delay:.1s;
}
.reveal-delay-2{
  transition-delay:.2s;
}
.reveal-delay-3{
  transition-delay:.3s;
}
.reveal-delay-4{
  transition-delay:.4s;
}
.reveal-delay-5{
  transition-delay:.5s;
}

.cards-3 .card:nth-child(1),.cards-2 .card:nth-child(1){
  transition-delay:0s;
}
.cards-3 .card:nth-child(2),.cards-2 .card:nth-child(2){
  transition-delay:.1s;
}
.cards-3 .card:nth-child(3){
  transition-delay:.2s;
}
.cards-3 .card:nth-child(4){
  transition-delay:.3s;
}
.cards-3 .card:nth-child(5){
  transition-delay:.4s;
}
.cards-3 .card:nth-child(6){
  transition-delay:.5s;
}

section.dark .kicker{
  color:var(--accent);
}

/* ══════════════════════════════════════
   CURSOR GLOW
   ══════════════════════════════════════ */
@media(pointer:fine){
  .hero-cursor-glow{
  position:absolute;
  width:600px;
  height:600px;
  border-radius:50%;
  pointer-events:none;
  z-index:1;
  background:radial-gradient(circle,rgba(202,243,0,.07) 0%,transparent 70%);
  transform:translate(-50%,-50%);
  transition:opacity .5s;
  opacity:0;
}
  .hero:hover .hero-cursor-glow{
  opacity:1;
}
}

/* ══════════════════════════════════════
   PAGE TRANSITION
   ══════════════════════════════════════ */
body{
  margin:0;
  font-family:Manrope, Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  background:var(--surface);
  color:var(--text);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  animation:pageIn .4s ease both;
}
@keyframes pageIn{from{
  opacity:0;
}to{
  opacity:1;
}}

/* ══════════════════════════════════════
   RESPONSIVE - tablet/laptop ≤1100px
   ══════════════════════════════════════ */
/* ══════════════════════════════════════
   TABLET - nav collapses, layout stacks
   ══════════════════════════════════════ */
@media(max-width:1100px){
  .site-header{
  top:12px;
  padding:0 14px;
}

  /* Nav: logo LEFT, hamburger RIGHT via space-between */
  .nav{
  justify-content:space-between;
  padding:8px 10px 8px 18px;
  border-radius:28px;
}
  .brand img{
  width:120px;
}

  /* Hide links and CTA button - hamburger replaces them */
  .nav-links{
  display:none;
}
  .nav-actions{
  display:none;
}

  /* Show hamburger */
  .mobile-toggle{
  display:inline-flex;
}

  /* Dropdown menu */
  .nav-links.open{
  display:flex;
  position:absolute;
  top:68px;
  left:14px;
  right:14px;
  flex-direction:column;
  align-items:flex-start;
  gap:0;
  padding:18px 28px 24px;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border:1px solid rgba(0,77,57,.08);
  border-radius:20px;
  box-shadow:0 20px 60px rgba(0,77,57,.12);
  margin-left:0;
  /* undo desktop margin */
}
.nav-links.open > a{
  padding:9px 6px;
  font-size:16px;
  width:100%;
  opacity:1;
}

.nav-links.open .nav-dropdown{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.nav-links.open .nav-dropdown > a{
  padding:9px 6px;
  font-size:16px;
  width:100%;
  opacity:1;
}

.nav-links.open .dropdown-zone{
  position:static;
  transform:none;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  width:100%;
  min-width:0;
  padding-top:0;
}

.nav-links.open .dropdown-menu{
  background:transparent;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  box-shadow:none;
  border-radius:0;
  transform:none;
  width:100%;
}

.nav-links.open .dropdown-menu a{
  margin:0;
  padding:2px 6px 6px 28px;
  font-size:16px;
  width:100%;
  justify-content:flex-start;
}

.nav-links.open .dropdown-menu a:first-child{
  margin:0 !important;
  padding:2px 6px 6px 28px !important;
  justify-content:flex-start !important;
}

.nav-links.open .dropdown-menu a,
.nav-links.open .dropdown-menu a:first-child{
  margin:-2px 0 6px;
  padding:0 6px 0 28px;
}

.nav-links.open .mobile-request-btn{
  display:flex;
  align-items:center;
  justify-content:center;

  width:100%;
  margin-top:16px;
  padding:14px 24px;

  border-radius:999px;
  background:#0f6247;
  color:#fff !important;

  font-weight:900;
  text-align:center;

  box-shadow:none;
}

.nav-links.open .mobile-request-btn:hover{
  background:#094d39;
  color:#fff !important;
}

  /* Layout stacks */
  .hero-inner,.impact-grid,.feature-grid,.split,.contact-box,.footer-grid{
  grid-template-columns:1fr;
}
  .stats,.cards-3,.cards-2,.team-grid,.timeline,.cards-2-third{
  grid-template-columns:1fr 1fr;
}
  .timeline-item{
  border-right:0;
  border-bottom:1px solid rgba(0,77,57,.08);
}
  .feature-content{
  display:block;
  left:24px;
  right:24px;
  bottom:24px;
}
  .floating-impact{
  margin-top:18px;
}
  .feature-large{
  aspect-ratio:auto;
  min-height:420px;
}
  .float-box{
  margin:5px;
  left: 5px;
  bottom: 5px;
  max-width: 300px;
}
  .section-head{
  display:block;
}
}

/* ══════════════════════════════════════
   PHONE ≤600px - hero height + single col
   ══════════════════════════════════════ */
@media(max-width:600px){
  /* Hero: auto height on phone, not 100dvh */
  .hero,.hero.small,.hero.blog{
  height:auto;
  min-height:0;
  padding-top:20px;
  padding-bottom:32px;
}

  .stats,.cards-3,.cards-2,.team-grid,.cards-2-third{
  grid-template-columns:1fr;
}
  .hero-actions{
  flex-direction:column;
  width:100%;
}
  .btn{
  width:100%;
}
  .metrics{
  grid-template-columns:1fr 1fr;
}
  .contact-box,.cta-box{
  border-radius:1.5rem;
}
  .mobile-toggle{
  font-size:20px;
}
  .nav-links.open{
  top:64px;
}
  .impact-grid{
  grid-template-columns:1fr;
}
}

/* ══════════════════════════════════════
   4K / LARGE SCREENS ≥2000px
   extra breathing room
   ══════════════════════════════════════ */
@media(min-width:2000px){
  :root{
  --max:1440px;
}
}

/* ══════════════════════════════════════
   INSIGHTS / BLOG CARDS
   Used on Insights page and homepage latest posts
   ══════════════════════════════════════ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: clamp(24px, 2.5vw, 36px);
  margin-top: clamp(40px, 4vw, 64px);
}

.latest-blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.blog-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 14px 50px rgba(0, 77, 57, .06);
  transition: transform .3s ease, box-shadow .3s ease, opacity .3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0, 77, 57, .12);
}

.blog-card.hidden {
  display: none;
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.blog-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.blog-card-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}

.blog-card:hover .blog-card-photo {
  transform: scale(1.05);
}

.blog-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: .5rem;
  background: var(--accent);
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(24px, 2.5vw, 32px);
}

.blog-card h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.3;
  font-weight: 800;
  transition: color .2s ease;
}

.blog-card:hover h3 {
  color: var(--primary);
}

.blog-excerpt {
  flex: 1;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--surface-mid);
  font-size: 13px;
}

.blog-meta time {
  color: var(--muted);
  font-weight: 600;
}

.read-more {
  color: var(--primary);
  font-weight: 700;
  transition: color .2s ease;
}

.blog-card:hover .read-more {
  color: var(--accent);
}

/* Homepage insights button placement */

.insights-btn-mobile {
  display: none;
}

@media (max-width: 1100px) {
  .latest-blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .blog-grid,
  .latest-blog-grid {
    grid-template-columns: 1fr;
  }

  .insights-btn-desktop {
    display: none;
  }

  .insights-btn-mobile {
    display: flex;
    width: 70%;
    margin-top: 28px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ══════════════════════════════════════
   INSIGHTS FILTERS
   ══════════════════════════════════════ */

.insights-filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.insights-filter-btn {
  padding: 10px 20px;
  border: 2px solid var(--outline);
  background: #fff;
  border-radius: 2rem;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all .2s ease;
}

.insights-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.insights-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ══════════════════════════════════════
   INSIGHTS SHOW MORE
   ══════════════════════════════════════ */

.insights-show-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.insights-show-more-wrap.hidden {
  display: none;
}

.insights-show-more-btn {
  min-width: 180px;
}

@media (max-width: 600px) {
  .insights-filter-bar {
    justify-content: flex-start;
  }
}



/* ══════════════════════════════════════
   SIMPLE HEADER (for internal pages)
   Use this when you don't need a full hero
   ══════════════════════════════════════ */
.simple-header{
  padding:clamp(100px,10vw,140px) var(--sp-container) clamp(40px,4vw,60px);
  background:var(--surface-low);
  border-bottom:1px solid rgba(0,77,57,.08);
}
.simple-header .container{
  max-width:var(--max);
  margin:0 auto;
}
.simple-header .breadcrumb{
  display:block;
  color:var(--muted);
  font-weight:700;
  margin-bottom:12px;
  font-size:13px;
}
.simple-header h1{
  font-size:clamp(32px,4vw,56px);
  line-height:1.1;
  color:var(--text);
  margin:0 0 16px;
  font-weight:900;
  max-width:900px;
}
.simple-header .lead{
  font-size:clamp(16px,1.3vw,20px);
  color:var(--muted);
  max-width:720px;
  margin:0;
}

/* ══════════════════════════════════════
   CUSTOM HEIGHT HERO
   Same as .hero but you control the height
   ══════════════════════════════════════ */

.hero-custom:before{
  content:"";
  position:absolute;
  inset:0;
  background:var(--hero-img);
  background-size:cover;
  background-position:center;
  transform:scale(1.06);
  z-index:0;
  will-change:transform;
  opacity:var(--hero-opacity, 1);
  transition:opacity .6s ease;
}

.hero-custom:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.28) 0%,rgba(0,0,0,.18) 50%,rgba(0,30,20,.55) 100%);
  z-index:1;
}

.hero-custom{
  position:relative;
  min-height:400px;
  display:flex;
  align-items:center;
  overflow:hidden;
  color:#fff;
  background:var(--primary);
}

/* Reuse the same hero-inner styles */
.hero-custom .hero-inner{
  position:relative;
  z-index:2;
  max-width:var(--max);
  width:100%;
  margin:0 auto;
  padding:clamp(100px,9vw,150px) var(--sp-container) clamp(52px,5vw,88px);
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(32px,4vw,60px);
  align-items:center;
}

@media(max-width:600px){
  .hero-custom{
  min-height:0;
  padding-top:96px;
  padding-bottom:56px;
}
}


/* ══════════════════════════════════════
   INLINE LINK EFFECTS
   Animated underline for card and content links
   ══════════════════════════════════════ */

/* Enhanced card link styles with animated underline */
.card a[href],
.media-card .body a[href],
.lead a[href],
p a[href] {
  position: relative;
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
  background-image: linear-gradient(var(--primary), var(--primary));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s ease, color 0.2s ease;
  padding-bottom: 2px;
}

/* Hover state - underline expands from left to right */
.card a[href]:hover,
.media-card .body a[href]:hover,
.lead a[href]:hover,
p a[href]:hover {
  color: var(--primary-2);
  background-size: 100% 2px;
}

/* Arrow variant (if link contains →) */
.card a[href]:after,
.media-card .body a[href]:after {
  content: '';
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.25s ease;
}

.card a[href]:hover:after,
.media-card .body a[href]:hover:after {
  transform: translateX(3px);
}


.media-card {
  padding: 0;
  overflow: hidden;
}

.media-card .img {
  height: clamp(200px, 18vw, 300px);
  position: relative;
  overflow: hidden;
}
/*
.media-card .img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .9s ease;
}

.media-card:hover .img::before {
  transform: scale(1.06);
}
*/

/* Verification badge hover enhancement */
.verification-badge {
  padding: 16px 28px;
  background: #fff;
  border-radius: 12px;
  font-weight: 900;
  font-size: 13px;
  color: var(--primary);
  border: 1px solid rgba(0, 77, 57, .1);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.verification-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 77, 57, .12);
  border-color: rgba(0, 77, 57, .22);
}

/* Alternative: Gradient underline effect */
.card a[href].gradient-underline {
  background-image: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

/* For dark backgrounds */
.dark .card a[href],
.dark p a[href] {
  color: var(--accent);
  background-image: linear-gradient(var(--accent), var(--accent));
}

.dark .card a[href]:hover,
.dark p a[href]:hover {
  color: #fff;
}


/* ICVCM Principles Grid */
.icvcm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(0, 77, 57, .08);
  border-radius: 1.5rem;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 14px 50px rgba(0, 77, 57, .06);
}

.icvcm-principle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 77, 57, .06);
  transition: background .2s;
}

.icvcm-principle:last-child {
  border-bottom: 0;
}

.icvcm-principle:hover {
  background: var(--surface-low);
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 8px;
}

.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform .2s;
}

.icvcm-principle:hover .check-icon {
  transform: scale(1.1);
}

.icvcm-principle strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

@media(max-width: 600px) {
  .icvcm-grid {
  padding: 20px;
}
}

/* Project Badges */
.project-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(20px, 2.5vw, 32px) 0;
}

.project-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(202, 243, 0, .12);
  border: 1px solid rgba(202, 243, 0, .3);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--primary);
  transition: background .2s, border-color .2s;
}

.project-badge:hover {
  background: rgba(202, 243, 0, .2);
  border-color: rgba(202, 243, 0, .5);
}

/* Dark hero variant */
.hero .project-badges .project-badge {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .24);
  color: #fff;
}

.hero .project-badges .project-badge:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .36);
}


/* Partnership Comparison Grid */

.partnership-comparison {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: clamp(36px, 4vw, 56px);
}

.partnership-tier {
  background: #fff;
  border: 2px solid rgba(0, 77, 57, .08);
  border-radius: clamp(1.5rem, 2vw, 2rem);
  padding: clamp(28px, 3.5vw, 42px);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
}

.partnership-tier:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0, 77, 57, .14);
  border-color: rgba(0, 77, 57, .18);
}

.partnership-tier.featured {
  border-color: var(--accent);
  border-width: 2px;
  background: linear-gradient(135deg, #fff 0%, rgba(202, 243, 0, .02) 100%);
}

.partnership-tier.featured:hover {
  border-color: var(--accent-dim);
  box-shadow: 0 32px 80px rgba(202, 243, 0, .2);
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tier-header {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.tier-number {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 77, 57, .06);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 18px;
  transition: background .3s, color .3s;
}

.partnership-tier:hover .tier-number {
  background: var(--primary);
  color: var(--accent);
}

.partnership-tier.featured .tier-number {
  background: var(--accent);
  color: var(--primary);
}

.tier-header h3 {
  font-size: clamp(22px, 2vw, 28px);
  margin: 0 0 8px;
  font-weight: 850;
}

.tier-tagline {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.tier-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 28px);
}

.tier-section {
  padding-bottom: clamp(16px, 2vw, 24px);
  border-bottom: 1px solid rgba(0, 77, 57, .08);
}

.tier-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tier-section strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.tier-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tier-section li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.tier-section li:before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.tier-section p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.tier-footer {
  margin-top: clamp(24px, 3vw, 36px);
  padding-top: clamp(20px, 2.5vw, 28px);
  border-top: 1px solid rgba(0, 77, 57, .08);
}

.tier-footer .btn {
  width: 100%;
}

/* Responsive */
@media (max-width: 1100px) {
  .partnership-comparison {
  grid-template-columns: 1fr;
}
  
  .partnership-tier.featured {
  order: -1;
}
}

@media (max-width: 600px) {
  .tier-body {
  gap: 16px;
}
  
  .tier-section {
  padding-bottom: 14px;
}
}


/* --------------------- */


/* ICVCM Card Grid - Version 2 */
.icvcm-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(36px, 4vw, 56px);
}

.icvcm-card {
  background: #fff;
  border: 1px solid rgba(0, 77, 57, .08);
  border-radius: 1.5rem;
  padding: clamp(24px, 3vw, 32px);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.icvcm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 77, 57, .1);
  border-color: rgba(0, 77, 57, .16);
}

.icvcm-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  transition: transform .3s, background .3s;
}

.icvcm-card:hover .icvcm-icon {
  transform: scale(1.08);
  background: var(--primary);
  color: var(--accent);
}

.icvcm-card h4 {
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 800;
  margin: 0;
  color: var(--text);
}

.icvcm-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .icvcm-card-grid {
  grid-template-columns: 1fr;
}
}


/* ICVCM Badge Wall - Version 3 */
.icvcm-badge-wall {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 1.5vw, 18px);
  margin-top: clamp(36px, 4vw, 56px);
  justify-content: center;
}

.icvcm-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid rgba(0, 77, 57, .1);
  border-radius: 999px;
  padding: 12px 22px;
  transition: all .3s ease;
  cursor: default;
}

.icvcm-badge:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(202, 243, 0, .24);
}

.badge-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
  transition: all .3s;
}

.icvcm-badge:hover .badge-check {
  background: var(--primary);
  color: var(--accent);
  transform: rotate(360deg);
}

.badge-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  transition: color .3s;
}

.icvcm-badge:hover .badge-text {
  color: var(--primary);
}

.icvcm-statement {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  justify-content: center;
}

.statement-box {
  max-width: 720px;
  background: var(--primary);
  border-radius: clamp(1.5rem, 2vw, 2rem);
  padding: clamp(28px, 4vw, 42px);
  text-align: center;
  color: #fff;
}

.statement-box strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.statement-box p {
  font-size: clamp(15px, 1.2vw, 17px);
  color: rgba(255, 255, 255, .88);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .icvcm-badge-wall {
  justify-content: flex-start;
}
  
  .icvcm-badge {
  font-size: 13px;
  padding: 10px 18px;
}
}


/* Timeline Visual - Version 2 */
.timeline-visual {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: clamp(40px, 5vw, 64px);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.timeline-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(24px, 3vw, 40px);
  position: relative;
}

.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(202, 243, 0, .3);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  z-index: 2;
}

.timeline-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(202, 243, 0, .4);
}

.step-line {
  width: 3px;
  flex: 1;
  background: linear-gradient(180deg, rgba(0, 77, 57, .2) 0%, rgba(0, 77, 57, .08) 100%);
  margin-top: -4px;
}

.timeline-step:last-child .step-line {
  display: none;
}

.step-content {
  padding-bottom: clamp(32px, 4vw, 56px);
  transition: transform .3s;
}

.timeline-step:hover .step-content {
  transform: translateX(4px);
}

.step-badge {
  display: inline-flex;
  background: rgba(0, 77, 57, .06);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.step-content h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 850;
  margin: 0 0 12px;
  color: var(--text);
}

.step-content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .timeline-visual {
  grid-template-columns: 60px 1fr;
}
  
  .step-number {
  width: 48px;
  height: 48px;
  font-size: 18px;
}
}


/* Timeline Cards - Version 3 */
.timeline-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(40px, 5vw, 64px);
  position: relative;
}

.timeline-card {
  background: #fff;
  border: 2px solid rgba(0, 77, 57, .08);
  padding: clamp(24px, 3vw, 32px);
  position: relative;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  border-right: 0;
}

.timeline-card:first-child {
  border-top-left-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
}

.timeline-card:last-child {
  border-top-right-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
  border-right: 2px solid rgba(0, 77, 57, .08);
}

.timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 77, 57, .12);
  border-color: rgba(0, 77, 57, .18);
  z-index: 2;
}

.timeline-card-final {
  background: linear-gradient(135deg, #fff 0%, rgba(202, 243, 0, .04) 100%);
  border-color: var(--accent);
  border-right: 2px solid var(--accent);
}

.timeline-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 77, 57, .08);
}

.timeline-phase {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
}

.timeline-duration {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(0, 77, 57, .06);
  padding: 4px 10px;
  border-radius: 999px;
}

.timeline-card-body h3 {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 850;
  margin: 0 0 16px;
  color: var(--text);
}

.timeline-tasks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-tasks li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  padding-left: 18px;
  position: relative;
}

.timeline-tasks li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

.timeline-arrow {
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: var(--accent);
  font-weight: 900;
  z-index: 3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.timeline-card:last-child .timeline-arrow {
  display: none;
}

@media (max-width: 1100px) {
  .timeline-cards {
  grid-template-columns: 1fr;
  gap: 20px;
}
  
  .timeline-card {
  border: 2px solid rgba(0, 77, 57, .08);
  border-radius: 1.5rem !important;
}
  
  .timeline-arrow {
  display: none;
}
}


/* Timeline Horizontal - Desktop / Vertical - Mobile */
.timeline-horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 5vw, 64px);
  position: relative;
}

.timeline-h-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.timeline-h-marker {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
  width: 100%;
}

.timeline-h-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 26px;
  border: 4px solid var(--surface);
  box-shadow: 0 0 0 8px rgba(202, 243, 0, .15), 0 8px 24px rgba(202, 243, 0, .3);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.timeline-h-step:hover .timeline-h-number {
  transform: scale(1.12);
  box-shadow: 0 0 0 12px rgba(202, 243, 0, .2), 0 12px 32px rgba(202, 243, 0, .4);
}

.timeline-h-line {
  flex: 1;
  height: 3px;
  background: linear-gradient(90deg, rgba(0, 77, 57, .2) 0%, rgba(0, 77, 57, .08) 100%);
  margin-left: -4px;
}

.timeline-h-step:last-child .timeline-h-line {
  display: none;
}

.timeline-h-content {
  transition: transform .3s;
}

.timeline-h-step:hover .timeline-h-content {
  transform: translateY(-4px);
}

.timeline-h-badge {
  display: inline-flex;
  background: rgba(0, 77, 57, .08);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.timeline-h-content h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 850;
  margin: 0 0 12px;
  color: var(--text);
}

.timeline-h-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* MOBILE: Stack vertically */
@media (max-width: 768px) {
  .timeline-horizontal {
  grid-template-columns: 1fr;
  gap: 0;
}
  
  .timeline-h-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  text-align: left;
}
  
  .timeline-h-marker {
  flex-direction: column;
  width: auto;
  margin-bottom: 0;
  height: 100%;
}
  
  .timeline-h-number {
  width: 56px;
  height: 56px;
  font-size: 22px;
}
  
  .timeline-h-line {
  width: 3px;
  height: 100%;
  flex: 1;
  margin-left: 0;
  margin-top: -4px;
  background: linear-gradient(180deg, rgba(0, 77, 57, .2) 0%, rgba(0, 77, 57, .08) 100%);
}
  
  .timeline-h-content {
  padding-bottom: 32px;
}
  
  .timeline-h-step:last-child .timeline-h-content {
  padding-bottom: 0;
}
  
  .timeline-h-step:last-child .timeline-h-line {
  display: none;
}
  
  .timeline-h-badge {
  display: inline-flex;
}
  
  .timeline-h-content h3 {
  text-align: left;
}
  
  .timeline-h-content p {
  text-align: left;
}
}


/* Timeline Refined - Horizontal Desktop / Vertical Mobile */
.timeline-refined {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(48px, 6vw, 80px);
  position: relative;
}

/* Each column */
.timeline-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Marker wrapper - contains number + connector line */
.timeline-marker-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 28px;
  position: relative;
}

/* Number circle */
.timeline-number {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 28px;
  border: 4px solid var(--surface);
  box-shadow: 
    0 0 0 8px rgba(202, 243, 0, .12),
    0 8px 24px rgba(202, 243, 0, .28);
  transition: all .35s ease;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.timeline-col:hover .timeline-number {
  transform: scale(1.12);
  box-shadow: 
    0 0 0 14px rgba(202, 243, 0, .18),
    0 14px 36px rgba(202, 243, 0, .38);
}

/* Final step number - highlighted */
.timeline-number-final {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 
    0 0 0 8px rgba(0, 77, 57, .08),
    0 8px 24px rgba(0, 77, 57, .22);
  border-color: var(--surface);
}

.timeline-col-final:hover .timeline-number-final {
  box-shadow: 
    0 0 0 14px rgba(0, 77, 57, .12),
    0 14px 36px rgba(0, 77, 57, .32);
}

/* Connecting line between numbers */
.timeline-connector {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg, 
    rgba(0, 77, 57, .24) 0%, 
    rgba(0, 77, 57, .12) 100%
  );
  z-index: 1;
}

/* Hide connector on last column */
.timeline-col:last-child .timeline-connector {
  display: none;
}

/* Content area */
.timeline-content {
  transition: transform .3s ease;
  max-width: 280px;
}

.timeline-col:hover .timeline-content {
  transform: translateY(-4px);
}

/* Month badge */
.timeline-badge {
  display: inline-flex;
  background: rgba(0, 77, 57, .08);
  color: var(--primary);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  transition: all .25s;
}

/* Final badge - highlighted */
.timeline-badge-final {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 77, 57, .18);
}

.timeline-col:hover .timeline-badge {
  background: rgba(0, 77, 57, .14);
}

.timeline-col-final:hover .timeline-badge-final {
  background: var(--primary-2);
  box-shadow: 0 6px 16px rgba(0, 77, 57, .26);
}

/* Heading */
.timeline-content h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 850;
  margin: 0 0 14px;
  color: var(--text);
  line-height: 1.2;
}

/* Description */
.timeline-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ═══════════════════════════════════
   MOBILE: Vertical Timeline
   ═══════════════════════════════════ */
@media (max-width: 900px) {
  .timeline-refined {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
  
  .timeline-col {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  align-items: start;
  text-align: left;
}
  
  /* Marker wrapper becomes vertical - FULL HEIGHT */
  .timeline-marker-wrapper {
  flex-direction: column;
  align-self: stretch;
  /* KEY FIX: Makes wrapper fill full height */
  width: auto;
  margin-bottom: 0;
  justify-content: flex-start;
  min-height: 100%;
  /* Ensures it extends through entire step */
}
  
  .timeline-number {
  width: 60px;
  height: 60px;
  font-size: 24px;
  flex-shrink: 0;
}
  
  /* Connector becomes vertical line - EXTENDS FULLY */
  .timeline-connector {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: 3px;
  flex: 1;
  /* KEY FIX: Takes all available vertical space */
  min-height: 60px;
  /* Minimum connector length */
  margin-top: 8px;
  /* Space below number */
  margin-bottom: 8px;
  /* Space before next number */
  background: linear-gradient(
      180deg,
      rgba(0, 77, 57, .24) 0%,
      rgba(0, 77, 57, .08) 100%
    );
}
  
  /* Hide last connector */
  .timeline-col:last-child .timeline-connector {
  display: none;
}
  
  /* Content needs bottom padding to space from next step */
  .timeline-content {
  max-width: none;
  text-align: left;
  padding-bottom: 48px;
  /* KEY FIX: Adds space, line will extend through this */
}
  
  /* Remove padding from last item */
  .timeline-col:last-child .timeline-content {
  padding-bottom: 0;
}
  
  .timeline-badge {
  display: inline-flex;
}
}

/* Smaller phones */
@media (max-width: 600px) {
  .timeline-col {
  grid-template-columns: 70px 1fr;
  gap: 20px;
}
  
  .timeline-number {
  width: 52px;
  height: 52px;
  font-size: 20px;
}
  
  .timeline-content {
  padding-bottom: 40px;
}
  
  .timeline-col:last-child .timeline-content {
  padding-bottom: 0;
}
}


/* ICVCM Categories Section */
.icvcm-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(40px, 5vw, 64px);
}

.icvcm-category {
  background: #fff;
  border: 1px solid rgba(0, 77, 57, .08);
  border-radius: clamp(1.5rem, 2vw, 2rem);
  padding: clamp(28px, 3.5vw, 40px);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex;
  flex-direction: column;
}

.icvcm-category:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 77, 57, .12);
  border-color: rgba(0, 77, 57, .16);
}

/* Category header */
.category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(0, 77, 57, .08);
}

.category-label {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  flex-shrink: 0;
  transition: transform .3s, background .3s;
}

.icvcm-category:hover .category-label {
  transform: rotate(-5deg) scale(1.08);
  background: var(--primary);
  color: var(--accent);
}

.category-header h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 850;
  margin: 0;
  color: var(--text);
  line-height: 1.2;
}

/* Principle list */
.principle-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.principle-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  transition: color .2s;
  padding: 8px 0;
}

.principle-list li:hover {
  color: var(--primary);
}

.principle-number {
  font-weight: 900;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 14px;
  opacity: 0.7;
  transition: opacity .2s;
}

.principle-list li:hover .principle-number {
  opacity: 1;
}

.principle-list li span:last-child {
  flex: 1;
}

/* Footer section */
.icvcm-footer {
  margin-top:clamp(48px, 6vw, 80px);
  text-align:center;
  max-width:800px;
  margin-left:auto;
  margin-right:auto;
  background:var(--primary);
  border-radius:clamp(1.5rem, 2vw, 2rem);
  padding:clamp(36px, 5vw, 56px);
  color:#fff;
}

.icvcm-footer p {
  font-size:clamp(16px, 1.3vw, 18px);
  color:rgba(255, 255, 255, .88);
  font-weight:600;
  margin:0 0 28px;
  line-height:1.6;
}

.icvcm-footer .btn {
  background: var(--accent);
  color: var(--primary);
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(202, 243, 0, .24);
}

.icvcm-footer .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(202, 243, 0, .36);
  background: var(--accent-dim);
}

/* Responsive */
@media (max-width: 900px) {
  .icvcm-categories {
  grid-template-columns: 1fr;
}
  
  .category-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
}
  
  .principle-list {
  gap: 12px;
}
}

@media (max-width: 600px) {
  .category-label {
  width: 42px;
  height: 42px;
  font-size: 18px;
}
  
  .principle-list li {
  font-size: 14px;
}
}

/* ICVCM Split Layout - Version 2 */
.icvcm-split-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-top: clamp(40px, 5vw, 64px);
}

/* Left intro panel */
.icvcm-intro {
  position: sticky;
  top: 120px;
}

.icvcm-intro h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.15;
  margin-bottom: 20px;
}

.icvcm-intro .lead {
  margin-bottom: 32px;
}

.icvcm-badge-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.icvcm-stat {
  background: rgba(0, 77, 57, .04);
  border: 1px solid rgba(0, 77, 57, .08);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: all .3s;
}

.icvcm-stat:hover {
  background: rgba(202, 243, 0, .12);
  border-color: rgba(202, 243, 0, .3);
  transform: translateY(-2px);
}

.icvcm-stat strong {
  display: block;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}

.icvcm-stat span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Right principles panel */
.icvcm-principles-panel {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 40px);
}

.principle-group {
  background: #fff;
  border: 1px solid rgba(0, 77, 57, .08);
  border-radius: clamp(1.5rem, 2vw, 2rem);
  padding: clamp(24px, 3vw, 36px);
  transition: box-shadow .3s;
}

.principle-group:hover {
  box-shadow: 0 20px 50px rgba(0, 77, 57, .1);
}

.group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.group-letter {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
}

.group-title h3 {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 850;
  margin: 0;
  color: var(--text);
}

.principle-grid {
  display: grid;
  gap: 10px;
}

.principle-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-low);
  border: 1px solid rgba(0, 77, 57, .06);
  border-radius: 999px;
  padding: 10px 18px;
  transition: all .25s;
}

.principle-pill:hover {
  background: rgba(202, 243, 0, .08);
  border-color: rgba(202, 243, 0, .2);
  transform: translateX(4px);
}

.pill-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  flex-shrink: 0;
}

.pill-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 900px) {
  .icvcm-split-layout {
  grid-template-columns: 1fr;
}
  
  .icvcm-intro {
  position: relative;
  top: 0;
}
  
  .icvcm-badge-stack {
  grid-template-columns: 1fr;
}
}

/* ICVCM Accordion - Version 3 */
.icvcm-accordion {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(40px, 5vw, 64px);
}

.accordion-item {
  background: #fff;
  border: 2px solid rgba(0, 77, 57, .08);
  border-radius: clamp(1.5rem, 2vw, 2rem);
  overflow: hidden;
  transition: all .3s;
}

.accordion-item:hover {
  border-color: rgba(0, 77, 57, .16);
  box-shadow: 0 16px 40px rgba(0, 77, 57, .08);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(24px, 3vw, 36px);
  cursor: pointer;
  transition: background .25s;
}

.accordion-header:hover {
  background: var(--surface-low);
}

.accordion-left {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 24px);
  flex: 1;
}

.accordion-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 24px;
  flex-shrink: 0;
  transition: all .3s;
}

.accordion-item:hover .accordion-badge {
  transform: scale(1.05);
  background: var(--primary);
  color: var(--accent);
}

.accordion-title h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 850;
  margin: 0 0 4px;
  color: var(--text);
}

.accordion-title p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  font-weight: 600;
}

.accordion-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.principle-count {
  background: rgba(0, 77, 57, .06);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

/* Accordion content - always visible in this design */
.accordion-content {
  padding: 0 clamp(24px, 3vw, 36px) clamp(28px, 3.5vw, 40px);
  border-top: 1px solid rgba(0, 77, 57, .06);
}

.accordion-principles {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  padding-top: clamp(24px, 3vw, 32px);
}

.acc-principle {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  padding: clamp(16px, 2vw, 20px);
  background: var(--surface-low);
  border-radius: 12px;
  transition: all .25s;
}

.acc-principle:hover {
  background: rgba(202, 243, 0, .08);
  transform: translateX(4px);
}

.acc-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

.acc-text strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.acc-text p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Footer */
.icvcm-footer-v3 {
  margin-top: clamp(48px, 6vw, 80px);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  border-radius: clamp(1.5rem, 2vw, 2rem);
  padding: clamp(40px, 5vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.icvcm-footer-v3:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(202, 243, 0, .08) 0%, transparent 60%);
  pointer-events: none;
}

.footer-content {
  position: relative;
  z-index: 2;
}

.icvcm-footer-v3 p {
  font-size: clamp(16px, 1.3vw, 19px);
  color: rgba(255, 255, 255, .9);
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .accordion-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
  
  .accordion-meta {
  width: 100%;
  justify-content: flex-end;
}
  
  .acc-principle {
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 14px;
}
  
  .acc-num {
  width: 32px;
  height: 32px;
  font-size: 14px;
}
}

/* ICVCM Horizontal 3-Column Layout - Version 2 */

/* Stats Row */
.icvcm-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(36px, 4vw, 56px);
  margin-bottom: clamp(36px, 4vw, 56px);
}

.icvcm-stat-card {
  background: #fff;
  border: 1px solid rgba(0, 77, 57, .08);
  border-radius: 1.5rem;
  padding: clamp(20px, 2.5vw, 28px);
  text-align: center;
  transition: all .3s;
}

.icvcm-stat-card:hover {
  background: rgba(202, 243, 0, .06);
  border-color: rgba(202, 243, 0, .2);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 77, 57, .08);
}

.icvcm-stat-card strong {
  display: block;
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}

.icvcm-stat-card span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* 3 Column Grid */
.icvcm-grid-horizontal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
  margin-bottom: clamp(48px, 6vw, 80px);
}

/* Each Column */
.icvcm-column {
  background: #fff;
  border: 2px solid rgba(0, 77, 57, .08);
  border-radius: clamp(1.5rem, 2vw, 2rem);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: all .3s;
  overflow: hidden;
}

.icvcm-column:hover {
  border-color: rgba(0, 77, 57, .16);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 77, 57, .12);
}

/* Column Header */
.column-header {
  background: linear-gradient(135deg, var(--surface-low) 0%, var(--surface) 100%);
  padding: clamp(24px, 3vw, 32px);
  border-bottom: 2px solid rgba(0, 77, 57, .08);
  display: flex;
  align-items: center;
  gap: 16px;
}

.column-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 24px;
  flex-shrink: 0;
  transition: all .3s;
}

.icvcm-column:hover .column-badge {
  transform: rotate(-8deg) scale(1.08);
  background: var(--primary);
  color: var(--accent);
}

.column-title h3 {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 850;
  margin: 0 0 4px;
  color: var(--text);
  line-height: 1.2;
}

.column-title p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Principles List */
.column-principles {
  padding: clamp(20px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.principle-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface-low);
  border: 1px solid rgba(0, 77, 57, .04);
  border-radius: 10px;
  transition: all .25s;
}

.principle-item:hover {
  background: rgba(202, 243, 0, .08);
  border-color: rgba(202, 243, 0, .2);
  transform: translateX(3px);
}

.principle-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
  transition: transform .25s;
}

.principle-item:hover .principle-num {
  transform: scale(1.1);
}

.principle-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  flex: 1;
}

/* Footer CTA */
.icvcm-footer-cta {
  margin-top: clamp(48px, 6vw, 80px);
}

.footer-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  border-radius: clamp(1.5rem, 2vw, 2rem);
  padding: clamp(40px, 5vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-box:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right, 
    rgba(202, 243, 0, .1) 0%, 
    transparent 60%
  );
  pointer-events: none;
}

.footer-box p {
  position: relative;
  z-index: 2;
  font-size: clamp(16px, 1.3vw, 19px);
  color: rgba(255, 255, 255, .92);
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.footer-box .btn {
  position: relative;
  z-index: 2;
}

/* Responsive - Tablet */
@media (max-width: 1100px) {
  .icvcm-grid-horizontal {
  grid-template-columns: 1fr;
}
  
  .icvcm-stats-row {
  grid-template-columns: repeat(3, 1fr);
}
}

/* Responsive - Mobile */
@media (max-width: 600px) {
  .icvcm-stats-row {
  grid-template-columns: 1fr;
}
  
  .column-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
  
  .column-badge {
  width: 44px;
  height: 44px;
  font-size: 20px;
}
  
  .principle-item {
  padding: 10px 12px;
}
  
  .principle-num {
  width: 26px;
  height: 26px;
  font-size: 12px;
}
  
  .principle-text {
  font-size: 13px;
}
}

/* ICVCM Compact Version */
.icvcm-compact {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
  margin-top: clamp(40px, 5vw, 64px);
}

/* Category Section */
.compact-category {
  background: #fff;
  border: 1px solid rgba(0, 77, 57, .08);
  border-radius: 1.5rem;
  padding: clamp(24px, 3vw, 36px);
  transition: box-shadow .3s;
}

.compact-category:hover {
  box-shadow: 0 16px 40px rgba(0, 77, 57, .08);
}

.category-title {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 850;
  color: var(--primary);
  margin: 0 0 clamp(20px, 2.5vw, 28px);
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(0, 77, 57, .08);
}

/* Compact Grid - 4 columns on desktop, 2 on tablet, 1 on mobile */
.compact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 20px);
}

/* Individual Principle */
.compact-principle {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(14px, 1.8vw, 18px);
  background: var(--surface-low);
  border: 1px solid rgba(0, 77, 57, .04);
  border-radius: 10px;
  transition: all .25s;
}

.compact-principle:hover {
  background: rgba(202, 243, 0, .06);
  border-color: rgba(202, 243, 0, .15);
  transform: translateY(-2px);
}

/* Icon */
.principle-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s;
}

.compact-principle:hover .principle-icon {
  transform: scale(1.08);
}

/* Text Content */
.principle-info strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 6px;
}

.principle-info p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

/* Footer */
.icvcm-compact-footer {
  margin-top: clamp(40px, 5vw, 64px);
  text-align: center;
  background: var(--primary);
  border-radius: 1.5rem;
  padding: clamp(32px, 4vw, 48px);
}

.icvcm-compact-footer p {
  font-size: clamp(15px, 1.2vw, 17px);
  color: rgba(255, 255, 255, .9);
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.icvcm-compact-footer .btn {
  background: var(--accent);
  color: var(--primary);
}

.icvcm-compact-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(202, 243, 0, .3);
}

/* Responsive - Large Tablet */
@media (max-width: 1100px) {
  .compact-grid {
  grid-template-columns: repeat(2, 1fr);
}
}

/* Responsive - Mobile */
@media (max-width: 600px) {
  .compact-grid {
  grid-template-columns: 1fr;
}
  
  .compact-principle {
  flex-direction: row;
  gap: 14px;
  align-items: flex-start;
}
  
  .principle-icon {
  width: 36px;
  height: 36px;
}
  
  .principle-info strong {
  font-size: 14px;
}
  
  .principle-info p {
  font-size: 13px;
}
}


/* ICVCM Clean Layout */
.icvcm-clean {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 72px);
  margin-top: clamp(48px, 6vw, 80px);
}

/* Section (A, B, C) */
.principle-section {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 32px);
}

.section-title {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 850;
  color: var(--primary);
  margin: 0;
  letter-spacing: -.02em;
}

/* Principles Row - 4 columns */
.principles-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

/* Individual Principle Card */
.principle-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s;
}

.principle-card:hover {
  transform: translateY(-3px);
}

/* Icon */
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 4px;
  transition: all .3s;
}

.principle-card:hover .card-icon {
  transform: scale(1.08);
  background: var(--primary-2);
}

/* Title */
.principle-card h4 {
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin: 0;
}

/* Description */
.principle-card p {
  font-size: clamp(12px, 1vw, 14px);
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Footer */
.icvcm-clean-footer {
  margin-top: clamp(56px, 7vw, 96px);
  text-align: center;
  background: var(--primary);
  border-radius: clamp(1.5rem, 2vw, 2rem);
  padding: clamp(40px, 5vw, 64px);
}

.icvcm-clean-footer p {
  font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(255, 255, 255, .92);
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.icvcm-clean-footer .btn {
  background: var(--accent);
  color: var(--primary);
}

.icvcm-clean-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(202, 243, 0, .32);
}

/* Responsive - Large Tablet */
@media (max-width: 1100px) {
  .principles-row {
  grid-template-columns: repeat(2, 1fr);
}
}

/* Responsive - Mobile */
@media (max-width: 600px) {
  .principles-row {
  grid-template-columns: 1fr;
}
  
  .icvcm-clean {
  gap: 40px;
}
  
  .principle-section {
  gap: 20px;
}
}


/* ══════════════════════════════════════
   GALLERY PAGE
   ══════════════════════════════════════ */

/* Button-style filters */

.filter-btn.active:hover {
  background: var(--primary-2);
  border-color: var(--primary-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 77, 57, .24);
}

/* ══════════════════════════════════════
   GALLERY PAGE
   ══════════════════════════════════════ */

.gallery-section {
  background:var(--surface);
}

.gallery-toolbar {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:clamp(24px, 4vw, 56px);
  margin-bottom:clamp(32px, 4vw, 56px);
}

.gallery-filters {
  display:flex;
  flex-direction:column;
  gap:16px;
}

.filter-group {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.filter-btn {
  appearance:none;
  border:2px solid rgba(0, 77, 57, .12);
  background:#fff;
  color:var(--text);
  border-radius:999px;
  padding:11px 22px;
  font-weight:800;
  font-size:13px;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(0, 77, 57, .04);
  transition:all .25s ease;
  white-space:nowrap;
}

.filter-btn:hover {
  border-color:rgba(0, 77, 57, .24);
  background:var(--surface-low);
  transform:translateY(-1px);
  box-shadow:0 12px 28px rgba(0, 77, 57, .08);
}

.filter-btn.active {
  background:var(--primary);
  color:#fff;
  border-color:var(--primary);
  box-shadow:0 12px 32px rgba(0, 77, 57, .18);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-gap);
}

.gallery-item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  outline: none;
  overflow: hidden;
  cursor: pointer;
  border-radius: 1.5rem;
  background: var(--surface-low);
  box-shadow: 0 14px 50px rgba(0, 77, 57, .06);
  aspect-ratio: 4 / 3;
  transition: transform .3s ease, box-shadow .3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 70px rgba(0, 77, 57, .13);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
  display: block;
  border: none;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

#galleryEmpty {
  margin-top: 28px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  padding: 40px;
}

/* LIGHTBOX */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(10, 31, 24, .7);
  backdrop-filter: blur(7px);
}

.gallery-lightbox.is-open {
  display: flex;
}

html.lightbox-open,
body.lightbox-open {
  overflow: hidden;
}

.gallery-close,
.gallery-arrow {
  position: fixed;
  z-index: 1000000;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .82);
  transition: opacity .25s ease, transform .25s ease, color .25s ease;
}

.gallery-close:hover,
.gallery-arrow:hover {
  color: #fff;
  transform: scale(1.08);
}

.gallery-close svg,
.gallery-arrow svg {
  width: 34px;
  height: 34px;
  display: block;
}

.gallery-close {
  top: 28px;
  right: 28px;
}

.gallery-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.gallery-arrow-left {
  left: 28px;
}

.gallery-arrow-right {
  right: 28px;
}

.gallery-arrow:hover {
  transform: translateY(-50%) scale(1.08);
}

.gallery-loader {
  position: fixed;
  bottom: 32px;
  left: 50%;
  z-index: 1000000;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(8px);
  padding: 12px 24px;
  border-radius: 999px;
}

@media(max-width:1100px) {
  .gallery-toolbar {
  flex-direction: column;
  align-items: flex-start;
}

  .gallery-filters {
  width: 100%;
}

  .gallery-grid {
  grid-template-columns: repeat(2, 1fr);
}
}

@media(max-width:600px) {
  .filter-btn {
  font-size: 12px;
  padding: 10px 18px;
}

  .gallery-lightbox {
  padding: 16px;
}

  .gallery-lightbox-img {
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 88px);
}

  .gallery-close {
  top: 18px;
  right: 18px;
}

  .gallery-arrow-left {
  left: 10px;
}

  .gallery-arrow-right {
  right: 10px;
}

  .gallery-close svg,
  .gallery-arrow svg {
  width: 28px;
  height: 28px;
}
}

.gallery-caption-thumb {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;
  transform: translateX(-50%);
  width: 90%;
  padding: 10px 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
}

.gallery-lightbox-caption[hidden] {
  display: none;
}


  .gallery-lightbox-caption {
  position:fixed;
  left:50%;
  bottom:20px;
  z-index:1000000;
  transform:translateX(-50%);
  max-width:calc(100vw - 32px);
  padding:10px 16px;
  border-radius:14px;
  background:rgba(255, 255, 255, 0.2);
  backdrop-filter:blur(10px);
  color:rgba(255,255,255,.92);
  font-size:12px;
  font-weight:800;
  text-align:center;
}


.gallery-lightbox-img {
  display:block;
  width:auto;
  height:auto;
  max-width:80vw;
  max-height:80vh;
  object-fit:contain;
  border:none;
  border-radius:30px;
  box-shadow:0 40px 120px rgba(0, 0, 0, .5);
  touch-action:pan-y;
  will-change:transform;
}

.gallery-lightbox-preview {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* ══════════════════════════════════════
   ACTIVITIES SLIDER
   Adapted to Forestbase design system
   ══════════════════════════════════════ */

.activities-section {
  background: var(--surface-low);
}

/* Header */
.activities-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: flex-end;
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* Tab bar row */
.tabs-row {
  display: flex;
  align-items: stretch;
  margin-bottom: 0;
  border-radius: clamp(1.5rem, 2vw, 2rem) clamp(1.5rem, 2vw, 2rem) 0 0;
  overflow: hidden;
  border: 1px solid rgba(0, 77, 57, .08);
  border-bottom: none;
}

/* Page navigation arrows */
.tab-page-btn {
  flex-shrink: 0;
  width: 52px;
  background: var(--surface-low);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all .25s ease;
  position: relative;
}

.tab-page-btn.prev-page {
  border-right: 1px solid rgba(0, 77, 57, .08);
}

.tab-page-btn.next-page {
  border-left: 1px solid rgba(0, 77, 57, .08);
}

.tab-page-btn:hover:not(:disabled) {
  background: var(--accent);
  color: var(--primary);
}

.tab-page-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.tab-page-btn svg {
  width: 16px;
  height: 16px;
}

/* Tooltip */
.tab-page-btn[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--deep);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
  z-index: 10;
}

.tab-page-btn:not(:disabled)[data-tip]:hover::after {
  opacity: 1;
}

/* Tabs container */
.slider-tabs {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.slider-tab {
  flex: 1;
  min-width: 0;
  padding: clamp(14px, 1.5vw, 18px) clamp(12px, 1.5vw, 20px);
  background: #fff;
  border: none;
  border-right: 1px solid rgba(0, 77, 57, .08);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all .25s ease;
  position: relative;
}

.slider-tab.tab-visible {
  display: flex;
}

.slider-tab:last-of-type {
  border-right: none;
}

.slider-tab .tab-num {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 900;
  color: var(--outline);
  transition: color .25s;
  letter-spacing: -.02em;
}

.slider-tab:hover:not(.tab-soon):not(:disabled) {
  background: var(--surface-low);
  color: var(--primary);
}

.slider-tab:hover:not(.tab-soon):not(:disabled) .tab-num {
  color: var(--primary);
}

.slider-tab.active {
  background: var(--primary);
  color: #fff;
}

.slider-tab.active .tab-num {
  color: var(--accent);
}

.slider-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.slider-tab.tab-soon {
  opacity: 0.5;
  cursor: default;
}

/* Viewport & track */
.slider-viewport {
  overflow: hidden;
  border-radius: 0 0 clamp(1.5rem, 2vw, 2rem) clamp(1.5rem, 2vw, 2rem);
  border: 1px solid rgba(0, 77, 57, .08);
  background: #fff;
}

.slider-track {
  display: flex;
  transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Normal slides */
.slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

.slide-body {
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 1.5vw, 18px);
}

.activity-tag {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
}

.activity-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 850;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -.03em;
  margin: 0;
}

.activity-title em {
  font-family: "Fauces", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--primary-2);
}

.activity-body {
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--muted);
  line-height: 1.7;
}

.activity-body p + p {
  margin-top: 14px;
}

.activity-stats {
  display: flex;
  gap: clamp(28px, 3.5vw, 48px);
  margin-top: clamp(12px, 1.5vw, 20px);
  padding-top: clamp(20px, 2.5vw, 32px);
  border-top: 1px solid rgba(0, 77, 57, .08);
  justify-content: center;
}

.activity-stats > div {
  text-align: center;
}

.activity-stat-num {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -.03em;
}

.activity-stat-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* "Coming Soon" slide */
.slide-soon {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  background: linear-gradient(135deg, var(--deep) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}

.slide-soon::before,
.slide-soon::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .04);
}

.slide-soon::before {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -160px;
}

.slide-soon::after {
  width: 400px;
  height: 400px;
  bottom: -180px;
  left: -120px;
}

.soon-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(40px, 5vw, 64px);
  max-width: 600px;
}

.soon-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto clamp(24px, 3vw, 36px);
}

.soon-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.soon-eyebrow {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.soon-title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 850;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin: 0 0 clamp(18px, 2vw, 28px);
}

.soon-title em {
  font-family: "Fauces", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.soon-body {
  font-size: clamp(15px, 1.2vw, 17px);
  color: rgba(255, 255, 255, .8);
  line-height: 1.7;
  margin-bottom: clamp(28px, 3.5vw, 40px);
}

.soon-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.soon-pill {
  display: inline-block;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, .9);
  transition: all .25s;
}

.soon-pill:hover {
  background: rgba(202, 243, 0, .12);
  border-color: rgba(202, 243, 0, .3);
  color: var(--accent);
}

/* Navigation row */
.slider-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: clamp(24px, 3vw, 36px) 0 0;
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(0, 77, 57, .2);
  background: transparent;
  cursor: pointer;
  transition: all .25s ease;
  padding: 0;
}

.slider-dot:hover {
  border-color: var(--primary);
  transform: scale(1.2);
}

.slider-dot.active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.3);
}

.slide-counter {
  font-size: 13px;
  font-weight: 900;
  color: var(--muted);
  letter-spacing: .05em;
}

.slide-counter span {
  color: var(--primary);
  font-size: 15px;
}

/* Responsive - Tablet */
@media (max-width: 1100px) {
  .activities-header {
  grid-template-columns: 1fr;
  gap: 24px;
}

  .slide {
  grid-template-columns: 1fr;
}

  .slide-img {
  aspect-ratio: 16 / 9;
}

  .slide-body {
  padding: clamp(28px, 4vw, 40px);
}

  .activity-stats {
  gap: 20px;
}
}

/* Responsive - Mobile */
@media (max-width: 600px) {
  .tabs-row {
  border-radius: 1.2rem 1.2rem 0 0;
}

  .slider-viewport {
  border-radius: 0 0 1.2rem 1.2rem;
}

  .tab-page-btn {
  width: 44px;
}

  .slider-tab {
  font-size: 10px;
  padding: 12px 8px;
}

  /* Hide text labels on mobile, show only numbers */
  .slider-tab > span:not(.tab-num) {
  display: none;
}

  .slider-tab .tab-num {
  font-size: 14px;
}

  .slide-body {
  padding: 24px;
}

  .activity-stats {
  /* flex-direction: column; */
  gap: 40px;
}

  .activity-stats > div {
  text-align: center;
}

  .soon-content {
  padding: 32px 24px;
}

  .soon-pills {
  flex-direction: column;
}

  .soon-pill {
  width: 100%;
  text-align: center;
}
}

.project-copy .kicker {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #d8ff00;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-copy h3 {
  margin-bottom: 1rem;
  font-size: 2.4rem;
  line-height: 1.1;
}

.project-copy p {
  margin-bottom: 2rem;
  max-width: 60ch;
  color: #4d4d4d;
  line-height: 1.7;
}



.evidence-grid {
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap: var(--sp-gap);
}

.evidence-card {
  background:#fff;
  border-radius: 24px;
  overflow:hidden;
  border:1px solid rgba(0,77,57,.08);
  box-shadow: 0 18px 60px rgba(0,77,57,.06);
}

.evidence-img {
  height: 190px;
  background-size:cover;
  background-position:center;
  position:relative;
}

.evidence-img:after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent, rgba(0,30,20,.45));
}

.evidence-tag {
  position:absolute;
  left:14px;
  bottom:14px;
  z-index:2;
  background: var(--accent);
  color:var(--primary);
  font-size:11px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
  padding:6px 10px;
  border-radius:999px;
}

.evidence-body {
  padding:20px;
}

.evidence-body h3 {
  font-size:17px;
  margin-bottom:8px;
}

.evidence-body p {
  color:var(--muted);
  font-size:14px;
  margin:0;
}


@media (max-width: 1100px) {
      .preview-hero-inner, .waterfall {
  grid-template-columns:1fr;
}
      .governance-grid, .integrity-grid, .risk-grid, .download-grid {
  grid-template-columns: repeat(2,1fr);
}
      .flow-line, .arr-grid, .evidence-grid {
  grid-template-columns: repeat(2,1fr);
}
      .ecosystem-row {
  grid-template-columns: repeat(2,1fr);
}
    }
@media (max-width: 700px) {
      .governance-grid, .integrity-grid, .risk-grid, .download-grid, .flow-line, .arr-grid, .evidence-grid, .ecosystem-row, .placement-grid, .wf-split {
  grid-template-columns: 1fr;
}
      .preview-index {
  display:none;
}
    }


.evidence-body a[href]{
  position:relative;
  display:inline-block;
  color:var(--primary);
  font-weight:800;
  text-decoration:none;
  background-image:linear-gradient(var(--primary), var(--primary));
  background-size:0% 2px;
  background-repeat:no-repeat;
  background-position:left bottom;
  transition:
    background-size .3s ease,
    color .2s ease;
  padding-bottom:2px;
}

.evidence-body a[href]::after{
  content:'';
  display:inline-block;
  margin-left:4px;
  transition:transform .25s ease;
}

.evidence-body a[href]:hover{
  color:var(--primary-2);
  background-size:100% 2px;
}

.evidence-body a[href]:hover::after{
  transform:translateX(3px);
}

.project-highlight {
  margin-top:clamp(48px, 5vw, 72px);
  padding:clamp(32px, 4vw, 56px);
  border-radius:clamp(2rem, 3vw, 3rem);
  background:var(--surface-low);
  transition:transform .35s ease,
    box-shadow .35s ease;
}

.project-highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(0,77,57,.10);
}

.project-highlight-content {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(32px, 4vw, 56px);
  align-items:center;
  background:transparent;
  border-radius:0;
  padding:0;
  box-shadow:none;
}

.project-highlight-content:hover {
  transform: none;
  box-shadow: none;
}

.project-image {
  overflow: hidden;
  border-radius: 2rem;
}

.project-image img {
  width:100%;
  border-radius:24px;
  object-fit:cover;
  display:block;
  height:100%;
  transition:transform .9s ease;
}

.project-image:hover img {
  transform: scale(1.06);
}


@media (max-width: 900px) {
  .project-highlight-content {
  grid-template-columns: 1fr;
}

  .project-copy h3 {
  font-size: 2rem;
}
}


/* ══════════════════════════════════════
   BENEFIT SHARING WATERFALL
   ══════════════════════════════════════ */

.placement-note {
  display: none;
}

.section-intro {
  max-width: 760px;
  margin-bottom: clamp(44px, 5vw, 76px);
}

.section-intro p {
  color: var(--muted);
  font-size: clamp(15px, 1.1vw, 18px);
  max-width: 720px;
}

.waterfall {
  display: grid;
  grid-template-columns: 1.15fr .95fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: stretch;
}

.waterfall-panel {
  background: #fff;
  border: 1px solid rgba(0, 77, 57, .05);
  border-radius: 28px;
  padding: clamp(32px, 3.6vw, 48px);
  box-shadow: 0 34px 90px rgba(0, 77, 57, .10);
}

.waterfall-panel h3 {
  font-size: clamp(20px, 1.5vw, 26px);
  line-height: 1.25;
  letter-spacing: -.03em;
  margin-bottom: 24px;
  color: var(--text);
}

.waterfall-flow {
  display: grid;
  gap: 18px;
}

.wf-box {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 24px;
  background: rgba(10, 31, 24, .035);
  border: 1px solid rgba(0, 77, 57, .07);
  border-radius: 16px;
  padding: 14px 22px;
}

.wf-box strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.wf-box span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.wf-arrow {
  text-align: center;
  color: var(--primary);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  margin: 0;
}

.wf-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.split-box {
  border-radius: 18px;
  padding: 26px 28px;
  min-height: 180px;
  background: var(--primary);
  color: #fff;
}

.split-box.accent {
  background: var(--accent);
  color: var(--primary);
}

.split-box b {
  display: block;
  font-size: clamp(42px, 4vw, 58px);
  line-height: .95;
  letter-spacing: -.06em;
  color: #fff;
  margin-bottom: 18px;
}

.split-box.accent b {
  color: var(--primary);
}

.split-box p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.6;
}

.split-box.accent p {
  color: rgba(10, 31, 24, .78);
}

.permanence-grid {
  display: grid;
  gap: 14px;
}

.permanence-item {
  background: rgba(10, 31, 24, .035);
  border-radius: 16px;
  padding: 20px 22px;
}

.permanence-item strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 8px;
}

.permanence-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .waterfall {
  grid-template-columns: 1fr;
}
}

@media (max-width: 700px) {
  .wf-box {
  grid-template-columns: 1fr;
  gap: 6px;
}

  .wf-split {
  grid-template-columns: 1fr;
}

  .waterfall-panel {
  padding: 24px;
}
}

.thankyou-popup.active .thankyou-card {
  transform: translateY(0) scale(1);
}

.thankyou-badge {
  display: inline-flex;
  align-items: center;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--accent);
}

/* 404 page */

.not-found-content {
  max-width: 760px;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.not-found-actions .btn-ghost {
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

.not-found-actions .btn-ghost:hover {
  background: rgba(255,255,255,.16);
}

.footer-socials a:hover {
  transform: translateY(-2px);
  background: rgba(0, 77, 57, .06);
  border-color: rgba(0, 77, 57, .24);
}


.footer {
  background:var(--surface-mid);
  border-top:1px solid rgba(0,77,57,.06);
  padding:clamp(42px,5vw,68px) var(--sp-container) clamp(24px,3vw,36px);
}

.footer-grid {
  max-width:var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr 1fr;
  gap:clamp(24px,4vw,56px);
  align-items:start;
}

.footer h4 {
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:var(--primary);
  font-weight:900;
  margin:0 0 18px;
}

.footer-link-column-no-title {
  padding-top: 34px;
}

.footer a,
.footer p {
  color: var(--muted);
  font-size: clamp(12px,1vw,14px);
  line-height: 1.55;
}

.footer p {
  margin-top: 18px !important;
  max-width: 320px !important;
}

.footer ul {
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:2px;
}

.footer-socials {
  display:flex;
  gap:12px;
  margin-top:18px;
}

.footer-socials a {
  width:34px;
  height:34px;
  border:1px solid rgba(0, 77, 57, .14);
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--text, #111);
  transition:transform .2s ease, background .2s ease, border-color .2s ease;
}

.footer-socials svg {
  width:16px;
  height:16px;
  fill:currentColor;
}

.footer-bottom {
  max-width:var(--max);
  margin:clamp(32px,4vw,52px) auto 0;
  padding-top:20px;
  border-top:1px solid rgba(0,77,57,.07);
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:var(--muted);
  font-size:12px;
}


/* FOOTER */

/* ══════════════════════════════════════
   FOOTER MOBILE
   ══════════════════════════════════════ */

@media (max-width: 720px) {

  .footer {
  padding-top: 48px;
  padding-bottom: 28px;
}

  .footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 20px;
  align-items: start;
}

  /* Logo block full width */
  .footer-grid > div:first-child {
  grid-column: 1 / -1;
}

  /* Bigger logo */
  .footer .brand.footer-logo img {
  width: 140px;
}

  /* Smaller overall footer typography */
  .footer p,
  .footer a,
  .footer li {
  font-size: 14px;
  line-height: 1.55;
}

  .footer h4 {
  font-size: 10px;
  margin-bottom: 12px;
  letter-spacing: 0.18em;
}

  /* COMPANY + "." side by side */
  .footer-grid > div:nth-child(2),
  .footer-grid > div:nth-child(3) {
  grid-column: auto;
}

  /* RESOURCES full width underneath */
  .footer-grid > div:nth-child(4) {
  grid-column: 1 / -1;
}

  /* Resources links horizontal */
  .footer-grid > div:nth-child(4) ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

  .footer-grid > div:nth-child(4) li {
  margin: 0;
}

  .footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  font-size: 11px;
}

  .footer-bottom div {
  width: 100%;
  text-align: left;
}
}






/* ══════════════════════════════════════
   CAREERS PAGE
   ══════════════════════════════════════ */

.careers-intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.careers-intro p {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.careers-intro p:last-child {
  margin-bottom: 0;
}

/* Form Container */
.form-container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: clamp(1.5rem, 2vw, 2rem);
  padding: clamp(36px, 5vw, 56px);
  box-shadow: 0 20px 60px rgba(0, 77, 57, .08);
  border: 1px solid rgba(0, 77, 57, .06);
}

.form-header {
  text-align: center;
  margin-bottom: clamp(36px, 4vw, 48px);
  padding-bottom: clamp(28px, 3vw, 36px);
  border-bottom: 2px solid rgba(0, 77, 57, .08);
  position: relative;
}

.form-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--primary);
}

.form-header h2 {
  font-size: clamp(28px, 3vw, 38px);
  color: var(--text);
  margin: 0;
}

/* Form Styles */
.careers-form {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 32px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 28px);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: .02em;
}

.form-group .required {
  color: #e74c3c;
  font-weight: 900;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(0, 77, 57, .12);
  border-radius: 1rem;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  transition: all .25s ease;
  outline: none;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 77, 57, .08);
}

.form-group input.input-error {
  border-color: #e74c3c;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--outline);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-error {
  display:none;
  margin-top:6px;
  margin-bottom:.8rem;
  font-size:12px;
  line-height:1.4;
  color:#e74c3c;
  font-weight:700;
}

.form-error.active {
  display:block;
}

.input-wrap {
  position: relative;
}

.input-wrap input {
  padding-right: 260px;
}

.inline-error {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .78rem;
  font-weight: 700;
  color: #d93025;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
}

.inline-error.active {
  opacity: 1;
  visibility: visible;
}

.input-error {
  border-color:#d93025 !important;
  box-shadow:0 0 0 3px rgba(217, 48, 37, .12) !important;
}

/* File Upload */
.career-file-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-upload-box {
  min-height: 56px;
  padding: 10px 12px;
  border: 2px dashed rgba(0, 77, 57, .22);
  border-radius: 1rem;
  background: #fff;
  display: flex;
  align-items: center;
}

.file-upload-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all .25s ease;
}

.file-upload-btn:hover,
.file-upload-btn:focus {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(0, 77, 57, .08);
}

.selected-files {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.selected-file {
  display: grid;
  grid-template-columns: 1fr 26px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: .9rem;
  background: rgba(0, 77, 57, .04);
  border: 1px solid rgba(0, 77, 57, .1);
  font-size: .82rem;
  color: var(--text);
}

.selected-file-info {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-file button {
  appearance: none;
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 77, 57, .08);
  color: var(--primary);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.selected-file button:hover {
  background: var(--primary);
  color: #fff;
}

.file-hint {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* Hidden honeypot field */
.hidden-field {
  display:none !important;
  position:absolute;
  left:-9999px;
  opacity:0;
  pointer-events:none;
}

/* Turnstile */
.cf-turnstile {
  margin-top: -4px;
}

/* Form Actions */
.form-actions {
  margin-top: clamp(12px, 2vw, 20px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid rgba(0, 77, 57, .08);
}

.form-actions .btn {
  width: auto;
  min-width: 200px;
  padding: 15px 32px;
  font-size: 14px;
}

.form-actions .btn:disabled {
  opacity: .65;
  cursor: not-allowed;
}

/* Thank You Popup */
.thankyou-popup {
  position:fixed;
  inset:0;
  background:rgba(0, 32, 24, .58);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(12px);
  display:none;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transition:opacity .35s ease, visibility .35s ease;
  z-index:9999;
  padding:24px;
}

.thankyou-popup.active {
  opacity:1;
  visibility:visible;
  display:flex;
}

.thankyou-card {
  width:min(100%, 460px);
  background:#fff;
  border:1px solid rgba(0, 77, 57, .08);
  border-radius:1.5rem;
  padding:clamp(28px, 4vw, 40px);
  box-shadow:0 30px 90px rgba(0, 32, 24, .22);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  transform:translateY(18px) scale(.96);
  transition:transform .35s ease;
  text-align:center;
}

.thankyou-card h3 {
  margin-bottom:.7rem;
  margin:0 0 12px;
  color:var(--text);
  font-size:clamp(26px, 3vw, 34px);
}

.thankyou-card p {
  margin-bottom:1.5rem;
  opacity:.82;
  line-height:1.7;
  margin:0 0 24px;
  color:var(--muted);
}

/* Responsive - Tablet */
@media (max-width: 900px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Responsive - Mobile */
@media (max-width: 600px) {
  .form-container {
    padding: 28px 20px;
    border-radius: 1.2rem;
  }

  .form-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
  }

  .careers-form {
    gap: 20px;
  }

  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  .form-group textarea,
  .form-group select {
    padding: 12px 16px;
  }

  .file-upload-btn {
    width: 100%;
    padding: 13px 18px;
  }

  .file-upload-box {
    width: 100%;
  }

  .form-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .thankyou-card {
    border-radius: 1.2rem;
  }
}


/* Remove ComplyDog branding */
.cdog-root hr,
.cdog-root a[href="https://complydog.com"],
.cdog-root a[href*="complydog.com"],
.cdog-root .cdog-powered {
  display: none !important;
}

/* Flat Forestbase button */
.cdog-root .cdog-btn {
  background: #caf300 !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 1px solid #caf300 !important;
}

.cards-impact {
  margin-top: var(--sp-gap);
}

.cards-impact .card {
  background: var(--primary);
  padding: 2rem;
  border-radius: clamp(1rem, 1.5vw, 1.5rem);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cards-impact .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.cards-impact h3 {
  color: #fff;
  margin: 0 0 0.85rem;
  line-height: 1.2;
}

.cards-impact h3 span {
  color: var(--accent);
  font-style: italic;
  font-weight: inherit;
}

.cards-impact p {
  color: #fff;
  margin: 0;
  opacity: 0.95;
  line-height: 1.7;
}


/* NEW - for pictures on page as img*/
.media-card .img,
.image-frame {
  position: relative;
  overflow: hidden;
}

.media-card .img img,
.image-frame > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Lazy-loaded image frames */
.media-card .img,
.image-frame {
  position: relative;
  overflow: hidden;
}

.media-card .img {
  height: clamp(200px, 18vw, 300px);
}

.image-frame {
  border-radius: clamp(2rem,3vw,3rem);
  min-height: clamp(320px,32vw,500px);
  box-shadow: var(--shadow);
}

.media-card .img img,
.image-frame > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .9s ease;
}

.media-card:hover .img img,
.image-frame:hover > img {
  transform: scale(1.06);
}

.float-box {
  position: absolute;
  z-index: 2;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: clamp(2rem,3vw,3rem);
  height: clamp(320px,32vw,500px);
  min-height: 0;
  box-shadow: var(--shadow);
  background: transparent;
}

.image-frame > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .9s ease;
}

.image-frame:hover > img {
  transform: scale(1.06);
}

.float-box {
  position: absolute;
  left: 25px;
  bottom: 25px;
  z-index: 2;
}
