/* ============================================================================
   netzero-2026.css — Net Zero Standard design system
   Ported from the CRISP/cfp-2026 design system (site-src reference project).
   Retoken --navy/--green/--blue below to the Net Zero Standard brand palette.
   Fonts (add to <head>):
   <link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap" rel="stylesheet">
   ========================================================================== */

:root {
  --dark: #04132e;          /* near-black navy (dark sections, footer) */
  --navy: #002060;          /* wordmark navy (headings) — retoken for NZS */
  --green: #3a8a1e;         /* primary accent — retoken for NZS */
  --green-deep: #2a6a14;    /* hover / pressed green */
  --mid: #4ea32f;
  --light-green: #6fbf4e;
  --blue: #3080b0;          /* secondary accent — retoken for NZS */
  --light-blue: #70c0e0;
  --mint: #e9f4e3;          /* pale green tint (chips, icons) */
  --pale: #f2f7fb;          /* pale blue tint (alt sections) */
  --white: #ffffff;
  --text: #16263c;
  --muted: #54667d;
  --border: #d4e2ec;
  --gold: #c8a84b;
  --grid-line: rgba(48,128,176,0.06);
  --maxw: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', 'DM Sans Fallback', sans-serif; background: var(--white); color: var(--text); overflow-x: hidden; }
img { max-width: 100%; }

/* ── NAV ── */
#header-slot { position: sticky; top: 0; z-index: 1000; }
.site-nav { background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--border); padding: 0 40px; display: flex; align-items: center; height: 72px; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 52px; }
.nav-links { display: flex; align-items: stretch; gap: 4px; margin-left: 36px; list-style: none; height: 72px; }
.nav-links > li { position: relative; display: flex; align-items: center; }
.nav-links > li > a { color: var(--text); text-decoration: none; font-size: 0.85rem; font-weight: 500; padding: 8px 13px; border-radius: 6px; display: block; transition: background 0.2s, color 0.2s; letter-spacing: 0.02em; }
.nav-links > li > a:hover, .nav-links > li > a[aria-current="page"] { background: var(--mint); color: var(--green); }
.nav-spacer { flex: 1; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login { color: var(--text); text-decoration: none; font-size: 0.85rem; font-weight: 500; padding: 8px 6px; white-space: nowrap; transition: color 0.2s; }
.nav-login:hover { color: var(--green); }
.nav-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--dark); cursor: pointer; position: relative; }
.nav-toggle-icon { width: 18px; height: 14px; display: inline-flex; flex-direction: column; justify-content: space-between; }
.nav-toggle-icon .nav-line { display: block; width: 100%; height: 2px; border-radius: 999px; background: currentColor; transform-origin: center; transition: transform 0.22s ease, opacity 0.22s ease; }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: 10px 22px; border-radius: 50px; font-weight: 500; font-size: 0.85rem; text-decoration: none; cursor: pointer; transition: all 0.2s; border: none; }
.btn-outline { border: 1.5px solid var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(58,138,30,0.35); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #246a96; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(48,128,176,0.35); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--navy); }
.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { background: var(--mint); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.85); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 0.95rem; }

/* ── SHARED: grid-line background + section header + tags ── */
.grid-bg { position: relative; overflow: hidden; }
.grid-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.glow::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 20%, rgba(112,192,224,0.14) 0%, transparent 70%), radial-gradient(ellipse 40% 40% at 80% 80%, rgba(58,138,30,0.07) 0%, transparent 60%); pointer-events: none; }

.section-tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.row.dark .section-tag, .dark .section-tag { color: var(--light-green); }
.section-header { text-align: center; max-width: 660px; margin: 0 auto 64px; position: relative; z-index: 1; }
.section-header h2 { font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 600; color: var(--navy); line-height: 1.15; margin-bottom: 16px; }
.section-header h2 em { color: var(--green); font-style: italic; }
.section-header p { color: var(--muted); font-size: 1rem; line-height: 1.65; font-weight: 300; }

/* ── HERO (homepage, centered) ── */
.hero { min-height: 82vh; background: var(--pale); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 90px 40px 80px; overflow: hidden; }
.hero-badge { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; position: relative; z-index: 1; }
.hero h1 { font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif; font-size: clamp(2.9rem, 6vw, 5.2rem); font-weight: 600; line-height: 1.05; color: var(--navy); max-width: 900px; position: relative; z-index: 1; margin-bottom: 26px; }
.hero h1 em { color: var(--green); font-style: italic; }
.hero-sub { font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 640px; line-height: 1.65; position: relative; z-index: 1; margin-bottom: 40px; font-weight: 300; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; margin-bottom: 64px; }
.hero-stats { display: flex; gap: 0; position: relative; z-index: 1; width: 100%; max-width: 880px; margin: 0 auto; background: rgba(255,255,255,0.7); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%); border: 1px solid rgba(255,255,255,0.95); border-radius: 20px; overflow: hidden; box-shadow: 0 18px 60px rgba(4,19,46,0.12), inset 0 2px 1px rgba(255,255,255,1); flex-wrap: wrap; }
.stat-item { padding: 22px 30px; text-align: center; border-right: 1px solid rgba(4,19,46,0.08); flex: 1 1 auto; color: inherit; text-decoration: none; transition: background 0.2s; }
.stat-item:last-child { border-right: none; }
a.stat-item:hover { background: rgba(255,255,255,0.6); }
.stat-num { font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif; font-size: 2.4rem; font-weight: 600; color: var(--green); line-height: 1; }
.stat-label { font-size: 0.75rem; color: var(--muted); margin-top: 4px; font-weight: 400; }

/* ── PAGE HERO (inner pages, split text + visual) ── */
.page-hero { background: var(--pale); position: relative; padding: 72px 40px; overflow: hidden; }
.page-hero-inner { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; justify-items: center; text-align: center; position: relative; z-index: 1; }
.page-hero-inner.solo { grid-template-columns: 1fr; max-width: 820px; text-align: center; }
.page-hero-inner.solo .hero-sub { margin-left: auto; margin-right: auto; }
.page-hero-inner.solo .hero-actions { justify-content: center; }
.page-hero h1 { font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif; font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 600; line-height: 1.05; color: var(--navy); margin-bottom: 22px; }
.page-hero h1 em { color: var(--green); font-style: italic; }
.page-hero .hero-sub { text-align: inherit; margin: 0 auto 32px; max-width: 760px; }
.page-hero .hero-actions { justify-content: center; margin-bottom: 0; }
.page-hero .hero-badge { color: var(--blue); }

/* Support page header overrides */
.support-header .section-header { max-width: 760px; margin-bottom: 0; }
.support-header .section-header h1 { font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif; font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 600; line-height: 1.05; color: var(--navy); margin-bottom: 22px; }
.support-header .section-header h1 em { color: var(--green); font-style: italic; }
.support-header-actions { margin-bottom: 0; justify-content: center; }
.cadi-cta { margin-top: 12px; }

/* Embedded contact form inside the support page */
.support-contact-form .contact-form-section { padding: 0; border-bottom: none; background: transparent; }
.support-contact-form .contact-form-inner { grid-template-columns: 1fr; gap: 0; align-items: start; }
.support-contact-form .contact-form-copy { display: none; }
.support-contact-form .contact-form { order: initial; }

/* ── IMAGE FRAME ── */
.img-frame { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--mint) 0%, #d8eaf3 100%); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 40px rgba(4,19,46,0.08); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-frame > a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.img-frame.contain { background: var(--pale); }
.img-frame.contain img { object-fit: contain; padding: 28px; }
.img-frame.solid { background: #fff; }
.img-frame.solid img { padding: 0; }
.img-frame.tall { aspect-ratio: 3 / 4; }
.img-frame.wide { aspect-ratio: 16 / 10; }
.img-frame.natural { aspect-ratio: auto; background: var(--pale); }
.img-frame.natural img { height: auto; object-fit: contain; }
.img-caption { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 0.8rem; font-weight: 500; color: var(--muted); letter-spacing: 0.01em; }
.img-caption::before { content: ''; width: 6px; height: 6px; background: var(--light-green); border-radius: 50%; flex-shrink: 0; }

/* ── PROJECT CAROUSEL ── */
/* track: clips the right card at 50% so both cards are same intrinsic size */
.pc-carousel { position: relative; display: flex; flex-direction: column; gap: 14px; }
.pc-track { position: relative; overflow: hidden; border-radius: 16px; }
.pc-track-inner { display: flex; gap: 14px; transition: transform 0.22s cubic-bezier(0.35,0,0.2,1); }

/* both cards same intrinsic flex width — scale handles the visual size difference so translateX works */
.pc-card { flex: 0 0 calc(58% - 7px); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); box-shadow: 0 12px 34px rgba(4,19,46,0.1); transition: opacity 0.20s ease, filter 0.20s ease, transform 0.20s ease; }
.pc-card--active { opacity: 1; filter: none; transform: scale(1); transform-origin: left center; }
.pc-card--preview { opacity: 0.6; filter: blur(2.5px); transform: scale(0.76); transform-origin: left center; }

/* caption always same fixed height so cards never differ in total height */
.pc-card-img { aspect-ratio: 4 / 3; overflow: hidden; flex-shrink: 0; }
.pc-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-card-info { padding: 14px 16px 16px; height: 100px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.pc-card-meta { display: flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0; }
.pc-country, .pc-standard { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; background: var(--mint); color: var(--green); border-radius: 20px; padding: 2px 10px; }
.pc-standard { background: #e6f2f9; color: var(--blue); }
.pc-card-title { font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif; font-size: 1rem; font-weight: 600; color: var(--navy); line-height: 1.25; overflow: hidden; display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pc-rating { display: flex; align-items: center; gap: 8px; margin-top: auto; flex-shrink: 0; }
.pc-rating-num { font-size: 1rem; font-weight: 700; color: var(--green); font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif; }
.pc-stars { display: flex; gap: 1px; }
.pc-star { font-size: 0.8rem; color: var(--border); }
.pc-star--on { color: var(--gold); }

/* next arrow sits over the right (preview) half */
.pc-prev, .pc-next { position: absolute; top: calc(50% - 40px); width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; border: none; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; z-index: 10; transition: background 0.2s; box-shadow: 0 4px 14px rgba(4,19,46,0.25); }
.pc-prev:hover, .pc-next:hover { background: var(--green); }
.pc-prev { left: -18px; }
.pc-next { right: -18px; }

.pc-dots { display: flex; gap: 6px; justify-content: center; }
.pc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; padding: 0; transition: background 0.2s, transform 0.2s; }
.pc-dot--active { background: var(--green); transform: scale(1.3); }

@media (prefers-reduced-motion: reduce) { .pc-track-inner { transition: none; } .pc-card { transition: none; } }

/* ── SPLIT ROWS (alternating text + visual) ── */
section.row { padding: 100px 40px; position: relative; }
.row-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.row.alt { background: var(--pale); }
.row.dark { background: var(--dark); color: #fff; }
.row.reverse .row-inner > .row-text { order: 2; }
.row.reverse .row-inner > .row-visual { order: 1; }
.row-text h2 { font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 600; color: var(--navy); line-height: 1.15; margin-bottom: 18px; }
.row.dark .row-text h2 { color: #fff; }
.row-text h2 em { color: var(--green); font-style: italic; }
.row.dark .row-text h2 em { color: var(--light-green); }
.row-text p { color: var(--muted); font-size: 1rem; line-height: 1.7; font-weight: 300; margin-bottom: 16px; }
.row.dark .row-text p { color: rgba(255,255,255,0.7); }

/* Net Zero vs Carbon Neutral: FAQ split layout (falls back to 1 column at <=960px via .row-inner media rule) */
.responsibility-faq-layout { align-items: start; gap: 48px; grid-template-columns: 0.9fr 1.1fr; }
.responsibility-faq-layout .accordion { max-width: none; margin: 0; }

.feature-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.feature-list li { display: flex; gap: 12px; font-size: 0.92rem; color: var(--text); line-height: 1.55; position: relative; }
.row.dark .feature-list li { color: rgba(255,255,255,0.85); }
.feature-list li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--mint); flex-shrink: 0; margin-top: 3px; }
.row.dark .feature-list li::before { background: rgba(111,191,78,0.2); }
.feature-list li::after { content: '✓'; position: absolute; transform: translate(4px, 2px); color: var(--green); font-size: 0.7rem; font-weight: 700; }
.feature-list li strong { color: var(--navy); font-weight: 600; }
.row.dark .feature-list li strong { color: #fff; }

/* Align description starts in long "title: explanation" bullets */
.feature-list-aligned li strong { display: inline-block; min-width: 240px; }

/* ── CARD GRID ── */
.card-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; position: relative; z-index: 1; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feature-card { border: 1px solid var(--border); border-radius: 20px; padding: 38px; transition: all 0.3s; text-decoration: none; color: inherit; display: block; position: relative; overflow: hidden; background: #fff; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--card-accent, linear-gradient(90deg, var(--green), var(--light-blue))); transform: scaleX(0); transition: transform 0.3s; }
.feature-card:hover { border-color: var(--light-green); box-shadow: 0 12px 40px rgba(58,138,30,0.12); transform: translateY(-3px); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card .card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--mint); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--green); margin-bottom: 22px; }
.feature-card .card-icon.blue { background: #e6f2f9; color: var(--blue); }
.feature-card h3 { font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif; font-size: 1.6rem; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.feature-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; font-weight: 300; margin-bottom: 22px; }
.tag { display: inline-block; background: var(--mint); color: var(--green); font-size: 0.72rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-right: 6px; margin-bottom: 6px; }
.tag.blue { background: #e6f2f9; color: var(--blue); }
.card-link { margin-top: 22px; display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 0.85rem; font-weight: 500; text-decoration: none; }
.card-link::after { content: '→'; transition: transform 0.2s; }
.feature-card:hover .card-link::after { transform: translateX(4px); }

/* ── ABOUT US: WHY IT MATTERS FOOTPRINT BULLETS ── */
.about-footprint-list {
  max-width: var(--maxw);
  margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 28px;
  position: relative;
  z-index: 1;
}

.about-footprint-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
}

.about-footprint-bullet {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-top: 2px;
}

.about-footprint-list h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.34rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 8px;
}

.about-footprint-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
  font-weight: 300;
}

.about-footprint-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

section[aria-labelledby="credibility-title"] {
  background: #fff;
}
/* ── WHY PODIUM (Net Zero vs Carbon Neutral) ── */
.rosette-feature-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.rosette-feature {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rosette-feature-svg {
  width: min(100%, 340px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 22px rgba(4,19,46,0.12));
  transition: transform 0.3s, filter 0.3s;
}

.rosette-feature:hover .rosette-feature-svg {
  transform: translateY(-3px);
  filter: drop-shadow(0 12px 40px rgba(58,138,30,0.12));
}

.rosette-feature-copy {
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translate(-50%, -50%);
  width: 50%;
  max-width: 176px;
  text-align: center;
  pointer-events: none;
}

.rosette-feature-copy h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 8px;
}

.rosette-feature-copy p {
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 300;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 900px) {
  .rosette-feature-grid { grid-template-columns: 1fr; gap: 10px; }
  .rosette-feature { min-height: 330px; }
  .about-footprint-list { grid-template-columns: 1fr; gap: 18px; }
  .rosette-feature-copy {
    top: 35%;
    width: 46%;
  }
}

/* ── PATHWAY (numbered step cards) ── */
.pathway-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 1; }
.pathway-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pathway-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.path-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px; transition: all 0.3s; position: relative; display: block; text-decoration: none; color: inherit; }
.path-card:hover { border-color: var(--light-green); box-shadow: 0 8px 28px rgba(58,138,30,0.1); transform: translateY(-2px); }
.path-num { font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif; font-size: 0.9rem; color: var(--green); font-weight: 600; margin-bottom: 8px; letter-spacing: 0.1em; }
.path-card h4 { font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif; font-size: 1.25rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; line-height: 1.2; }
.path-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.55; font-weight: 300; }

/* Framework page: level card images above titles */
.framework-level-card {
  display: flex;
  flex-direction: column;
}

.framework-level-image {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 14px;
  border-radius: 12px;
  object-fit: contain;
}

/* ── FOOTPRINT PATHWAY (Taking Responsibility page) ── */
.footprint-walk { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.footprint-step { position: relative; min-height: 300px; display: flex; align-items: center; justify-content: center; }
.footprint-component {
  --footprint-rotate: 90deg;
  --footprint-scale: 1;
  --footprint-hover-scale: 1.02;
  --label-x: 50%;
  --label-y: 50%;
  --label-w: 52%;
}
.footprint-svg {
  width: min(100%, 360px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  transform: rotate(var(--footprint-rotate)) scale(var(--footprint-scale));
  filter: drop-shadow(0 8px 18px rgba(58,138,30,0.12));
  transition: transform 0.25s ease, filter 0.25s ease;
}
.footprint-hover-shadow:hover .footprint-svg {
  transform: rotate(var(--footprint-rotate)) scale(var(--footprint-hover-scale));
  filter: drop-shadow(0 14px 24px rgba(58,138,30,0.22));
}
.footprint-step.step-1 { transform: translateY(36px); }
.footprint-step.step-2 { transform: translateY(6px); }
.footprint-step.step-3 { transform: translateY(-24px); }
.footprint-overlay { position: absolute; inset: 0; pointer-events: none; }
.footprint-overlay h4 {
  position: absolute;
  left: var(--label-x, 50%);
  top: var(--label-y, 50%);
  transform: translate(-50%, -50%);
  width: var(--label-w, 52%);
  max-width: 240px;
  margin: 0;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

/* ── PILLS ── */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; position: relative; z-index: 1; }
.pill { background: #fff; border: 1.5px solid var(--border); border-radius: 50px; padding: 10px 24px; font-size: 0.85rem; font-weight: 500; color: var(--text); text-decoration: none; transition: all 0.2s; }
a.pill:hover { border-color: var(--green); background: var(--mint); color: var(--green); }
.pill.static { background: transparent; border: none; padding: 4px 2px; color: var(--muted); font-weight: 500; }

/* ── TWO-UP CARDS ── */
.duo { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; position: relative; z-index: 1; }
.duo-card { border-radius: 20px; padding: 44px; }
.duo-card.dark { background: var(--dark); color: #fff; }
.duo-card.light { background: var(--mint); border: 1px solid var(--border); }
.duo-card h3 { font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif; font-size: 1.6rem; font-weight: 600; margin-bottom: 8px; }
.duo-card.dark h3 { color: #fff; } .duo-card.light h3 { color: var(--navy); }
.duo-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.duo-card.dark .duo-label { color: var(--light-blue); } .duo-card.light .duo-label { color: var(--green); }
.duo-card p { font-size: 0.9rem; line-height: 1.65; font-weight: 300; margin-bottom: 22px; }
.duo-card.dark p { color: rgba(255,255,255,0.65); } .duo-card.light p { color: var(--muted); }
.check-list { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; }
.duo-card.dark .check-list li { color: rgba(255,255,255,0.8); } .duo-card.light .check-list li { color: var(--text); }
.check-list li::before { content: '✦'; color: var(--green); font-size: 0.75rem; flex-shrink: 0; margin-top: 3px; }
.duo-card.dark .check-list li::before { color: var(--light-green); }

/* ── SECTION SHELLS ── */
.section { padding: 110px 40px; position: relative; }
.section.pale { background: var(--pale); }
.section.dark { background: var(--dark); }
.section.dark .section-header h2 { color: #fff; } .section.dark .section-header h2 em { color: var(--light-green); }
.section.dark .section-header p { color: rgba(255,255,255,0.65); }

/* ── FINAL CTA ── */
.final-cta { padding: 110px 40px; background: var(--dark); text-align: center; position: relative; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(112,192,224,0.12) 0%, transparent 70%); pointer-events: none; }
.final-cta h2 { font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif; font-size: clamp(2.2rem, 4.5vw, 4rem); font-weight: 600; color: #fff; max-width: 760px; margin: 0 auto 18px; line-height: 1.12; position: relative; z-index: 1; }
.final-cta h2 em { color: var(--light-green); font-style: italic; }
.final-cta p { color: rgba(255,255,255,0.6); font-size: 1rem; max-width: 540px; margin: 0 auto 40px; line-height: 1.65; font-weight: 300; position: relative; z-index: 1; }
.final-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── FOOTER ── */
.site-footer { background: #020c1f; color: rgba(255,255,255,0.6); padding: 72px 40px 40px; font-size: 1rem; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 64px; margin-bottom: 16px; background: #fff; border-radius: 12px; padding: 8px 12px; }
.footer-brand p { font-size: 0.83rem; line-height: 1.65; color: rgba(255,255,255,0.5); margin-bottom: 8px; font-weight: 300; }
.footer-brand a { color: #7fc4e8; text-decoration: none; }
.footer-brand a:hover { color: #fff; }
.footer-col h5 { color: rgba(255,255,255,0.85); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; color: #8ecf75; text-decoration: none; font-size: 0.82rem; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 14px; margin-top: 6px; }
.footer-social a { display: inline-flex; margin-bottom: 0; color: rgba(255,255,255,0.6); }
.footer-social a:hover { color: var(--light-blue); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ── LEGAL / PROSE ── */
.legal { max-width: 820px; margin: 0 auto; color: var(--text); font-size: 1rem; line-height: 1.75; }
.legal h2 { font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif; font-size: 1.9rem; font-weight: 600; color: var(--navy); margin: 36px 0 14px; }
.legal h3 { font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif; font-size: 1.35rem; font-weight: 600; color: var(--navy); margin: 28px 0 10px; }
.legal h2:first-child, .legal h3:first-child { margin-top: 0; }
.legal p { margin: 0 0 16px; color: var(--muted); }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; color: var(--muted); }
.legal li { margin: 0 0 8px; }
.legal a { color: var(--green); text-decoration: underline; }
.legal a:hover { color: var(--green-deep); }
.legal strong { color: var(--navy); }

/* Inline prose links inside sections/rows */
.section a:not(.btn):not(.card-link):not(.feature-card):not(.path-card):not(.pill),
.row a:not(.btn):not(.card-link):not(.feature-card):not(.path-card):not(.pill) { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.section a:not(.btn):not(.card-link):not(.feature-card):not(.path-card):not(.pill):hover,
.row a:not(.btn):not(.card-link):not(.feature-card):not(.path-card):not(.pill):hover { color: var(--green-deep); }
.section.dark a:not(.btn), .row.dark a:not(.btn) { color: var(--light-green); }
.section.dark a:not(.btn):hover, .row.dark a:not(.btn):hover { color: #fff; }

/* Long-form content inside .section */
.section > p, .section > ul, .section > ol, .section > h3, .section > h4 { max-width: 760px; margin-left: auto; margin-right: auto; }
.section > p { font-size: 1rem; line-height: 1.7; color: var(--text); margin-bottom: 16px; }

/* ── ACCORDION (restyled for 2026; same classes as accordion.js) ── */
.accordion { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.accordion__item { background: #fff; border: 1px solid var(--border); border-radius: 16px; margin-bottom: 14px; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.accordion__item:has(.accordion__trigger[aria-expanded="true"]) { border-color: var(--light-green); box-shadow: 0 8px 28px rgba(58,138,30,0.08); }
.accordion__item h2 { margin: 0; }
.accordion__trigger { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 24px; background: none; border: none; cursor: pointer; text-align: left; font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif; font-size: 1.3rem; font-weight: 600; color: var(--navy); transition: color 0.2s; }
.accordion__trigger:hover { color: var(--green); }
.accordion__trigger[aria-expanded="true"] { color: var(--green); }
.accordion__trigger .accordion__chevron { margin-left: auto; }
.accordion__chevron { flex-shrink: 0; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.25s; margin-top: -4px; }
.accordion__trigger[aria-expanded="true"] .accordion__chevron { transform: rotate(225deg); margin-top: 4px; }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.28s ease; font-size: 0.95rem; line-height: 1.7; color: var(--muted); }
.accordion__panel-inner { overflow: hidden; min-height: 0; }
.accordion__panel-content { padding: 0 24px 22px; opacity: 0; transition: opacity 0.22s ease; }
.accordion__panel.is-open { grid-template-rows: 1fr; }
.accordion__panel.is-open .accordion__panel-content { opacity: 1; }
.accordion__panel p { margin-bottom: 14px; }
.accordion__panel p:last-child { margin-bottom: 0; }
.accordion__panel ol, .accordion__panel ul { padding-left: 22px; margin-bottom: 14px; }
.accordion__panel li { margin-bottom: 8px; }
.accordion__panel strong { color: var(--navy); }
.accordion__trigger:focus-visible { outline: 3px solid rgba(48,128,176,0.35); outline-offset: 2px; border-radius: 8px; }

/* ── BREADCRUMB ── */
.breadcrumb { background: var(--pale); padding: 14px 40px; font-size: 0.8rem; color: var(--muted); border-bottom: 1px solid var(--border); }
.breadcrumb-inner { max-width: var(--maxw); margin: 0 auto; }
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { margin: 0 8px; color: var(--border); }
.breadcrumb .current { color: var(--green); font-weight: 500; }

/* ── DOWNLOAD FORM ── */
.download-form-section { background: var(--pale); padding: 80px 40px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.download-form-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.download-form-copy h2 { font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 600; color: var(--navy); line-height: 1.15; margin-bottom: 16px; }
.download-form-copy h2 em { color: var(--green); font-style: italic; }
.download-form-copy p { color: var(--muted); font-size: 1rem; line-height: 1.7; font-weight: 300; }
.download-form-fields { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.82rem; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; }
.form-field input { height: 48px; padding: 0 16px; border: 1.5px solid var(--border); border-radius: 10px; font-family: 'DM Sans', 'DM Sans Fallback', sans-serif; font-size: 0.9rem; color: var(--text); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; outline: none; }
.form-field input::placeholder { color: #a0b0bf; font-weight: 300; }
.form-field input:hover { border-color: #b0c6d6; }
.form-field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(58,138,30,0.12); }
.download-form-submit { width: 100%; justify-content: center; text-align: center; }

@media (max-width: 960px) {
  .download-form-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .download-form-section { padding: 60px 22px; }
}

/* ── CONTACT FORM ── */
.contact-form-section { background: #fff; padding: 80px 40px; border-bottom: 1px solid var(--border); }
.contact-form-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.contact-form-copy h2 { font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 600; color: var(--navy); line-height: 1.15; margin-bottom: 16px; }
.contact-form-copy h2 em { color: var(--green); font-style: italic; }
.contact-form-copy p { color: var(--muted); font-size: 1rem; line-height: 1.7; font-weight: 300; }
.contact-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.contact-form-copy { order: 2; }
.contact-form { order: 1; }
.contact-form .form-field-full { grid-column: 1 / -1; }
.contact-form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-field textarea { padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 10px; font-family: 'DM Sans', 'DM Sans Fallback', sans-serif; font-size: 0.9rem; color: var(--text); background: #fff; resize: vertical; min-height: 140px; transition: border-color 0.2s, box-shadow 0.2s; outline: none; }
.form-field textarea::placeholder { color: #a0b0bf; font-weight: 300; }
.form-field textarea:hover { border-color: #b0c6d6; }
.form-field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(58,138,30,0.12); }
.contact-form-status { min-height: 1.4em; margin: 0 0 14px; font-size: 0.85rem; color: var(--muted); }
.contact-form-status.is-success { color: var(--green-deep); }
.contact-form-status.is-error { color: #b42318; }
.contact-form-submit { width: 100%; justify-content: center; text-align: center; }
.contact-form.is-submitting .contact-form-submit { opacity: 0.8; cursor: wait; transform: none; box-shadow: none; }

@media (max-width: 960px) {
  .contact-form-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-copy { order: initial; }
  .contact-form { order: initial; }
}
@media (max-width: 700px) {
  .contact-form-fields { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact-form-section { padding: 60px 22px; }
}

/* ── KNACK EMBED (projects database) ── */
.knack-wrap { max-width: 1400px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; position: relative; z-index: 1; min-height: 400px; }
.knack-wrap .kn-content, .knack-wrap #knack-dist_12 { font-family: 'DM Sans', 'DM Sans Fallback', sans-serif; }

/* Projects page loading skeleton for Knack embed */
.knack-loading { max-width: 1400px; margin: 0 auto 38px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; position: relative; overflow: hidden; }
.knack-loading[hidden] { display: none !important; }
.knack-loading__line,
.knack-loading__chip,
.knack-loading__cell,
.knack-loading__thumb,
.knack-loading__btn { background: linear-gradient(90deg, #edf3f8 0%, #f8fbfd 50%, #edf3f8 100%); background-size: 240% 100%; animation: knackShimmer 1.2s linear infinite; border-radius: 10px; }
.knack-loading__title { width: min(520px, 75%); height: 32px; margin-bottom: 12px; }
.knack-loading__subtitle { width: min(760px, 94%); height: 16px; margin-bottom: 24px; }
.knack-loading__filters { display: grid; grid-template-columns: repeat(5, minmax(130px, 1fr)); gap: 12px; margin-bottom: 14px; }
.knack-loading__chip { height: 42px; }
.knack-loading__actions { display: flex; gap: 10px; margin-bottom: 20px; }
.knack-loading__btn { height: 40px; width: 110px; }
.knack-loading__table { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.knack-loading__head,
.knack-loading__row { display: grid; grid-template-columns: 80px 90px 2fr 130px 130px 150px 170px 120px; gap: 10px; align-items: center; padding: 12px; }
.knack-loading__head { background: #f8fbfd; border-bottom: 1px solid var(--border); }
.knack-loading__row { border-bottom: 1px solid #edf3f8; }
.knack-loading__row:last-child { border-bottom: none; }
.knack-loading__cell { height: 14px; }
.knack-loading__thumb { width: 56px; height: 56px; }
.knack-loading__cell.is-wide { width: 95%; }
.knack-loading__cell.is-mid { width: 76%; }
.knack-loading__cell.is-short { width: 58%; }

@keyframes knackShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@media (max-width: 960px) {
  .knack-loading__filters { grid-template-columns: repeat(2, minmax(130px, 1fr)); }
  .knack-loading__head,
  .knack-loading__row { grid-template-columns: 58px 80px 1.4fr 110px 110px; }
  .knack-loading__head .knack-loading__cell:nth-child(n + 6),
  .knack-loading__row .knack-loading__cell:nth-child(n + 6),
  .knack-loading__row .knack-loading__thumb:nth-child(n + 6) { display: none; }
}

@media (max-width: 560px) {
  .knack-loading { padding: 16px; }
  .knack-loading__filters { grid-template-columns: 1fr; }
  .knack-loading__head,
  .knack-loading__row { grid-template-columns: 52px 72px 1fr; gap: 8px; }
  .knack-loading__head .knack-loading__cell:nth-child(n + 4),
  .knack-loading__row .knack-loading__cell:nth-child(n + 4),
  .knack-loading__row .knack-loading__thumb:nth-child(n + 4) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .knack-loading__line,
  .knack-loading__chip,
  .knack-loading__cell,
  .knack-loading__thumb,
  .knack-loading__btn { animation: none; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.25s; opacity: 0; }
.delay-3 { animation-delay: 0.4s; opacity: 0; }
.delay-4 { animation-delay: 0.55s; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .fade-up, .delay-1, .delay-2, .delay-3, .delay-4 { animation: none; opacity: 1; } }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .site-nav { position: relative; padding: 14px 20px; flex-wrap: wrap; align-items: flex-start; row-gap: 12px; height: auto; min-height: 72px; }
  .site-nav.open { padding-bottom: 14px; }
  .nav-logo { order: 1; min-height: 44px; display: flex; align-items: center; padding-right: 56px; }
  .site-nav.open .nav-toggle-icon .nav-line-1 { transform: translateY(6px) rotate(45deg); }
  .site-nav.open .nav-toggle-icon .nav-line-2 { opacity: 0; }
  .site-nav.open .nav-toggle-icon .nav-line-3 { transform: translateY(-6px) rotate(-45deg); }
  .nav-links { display: none; order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; height: auto; margin-left: 0; gap: 0; }
  .site-nav.open .nav-links { display: flex; }
  .nav-links > li { display: block; }
  .nav-toggle { display: inline-flex; position: absolute; top: 14px; right: 20px; margin-left: 0; order: 2; }
  .nav-spacer { display: none; }
  .nav-actions { display: none; order: 4; flex-basis: 100%; gap: 10px; }
  .site-nav.open .nav-actions { display: flex; }
  .page-hero-inner, .row-inner { grid-template-columns: 1fr; gap: 40px; }
  .row.reverse .row-inner > .row-text { order: 1; } .row.reverse .row-inner > .row-visual { order: 2; }
  .card-grid, .card-grid.cols-3, .duo { grid-template-columns: 1fr; }
  .card-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .pathway-grid, .pathway-grid.cols-5 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  .feature-list-aligned li strong { min-width: 0; }

  .footprint-walk { grid-template-columns: 1fr; gap: 10px; }
  .footprint-step { min-height: 280px; transform: none !important; }
  .footprint-overlay h4 { left: 50%; top: 50%; transform: translate(-50%, -50%) !important; width: 72%; }
}
@media (max-width: 560px) {
  .pc-card--preview { opacity: 0.5; filter: blur(3px); }
  .pc-next { right: 4px; }
  .pc-prev { left: calc(50% - 62px); }
}
@media (max-width: 560px) {
  .pathway-grid, .pathway-grid.cols-3, .pathway-grid.cols-5, .footer-inner, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .hero, .page-hero, section.row, .section, .final-cta { padding-left: 22px; padding-right: 22px; }
  .hero-stats { flex-direction: column; } .stat-item { border-right: none; border-bottom: 1px solid rgba(4,19,46,0.08); }
  .stat-item:last-child { border-bottom: none; }

  .footprint-step { min-height: 250px; }
  .footprint-overlay { padding: 42px 24px; }
  .footprint-overlay h4 { font-size: 1.2rem; }
}
