/* WIIN Canada — base styles, tokens, type, components
   Canonical palette per WIIN-Canada-Partner-Presentation_v2:
   green (primary) · amber (warm) · teal (accent) + editorial neutrals.
   Fonts: Playfair Display (display) + Inter (UI/body).
*/

/* ---------- Tokens ---------- */
:root {
  /* Primary: Green */
  --green: #2E7D32;
  --green-light: #E8F5E9;
  --green-dark: #1B5E20;

  /* Secondary: Amber (warm red-amber) */
  --amber: #D84315;
  --amber-light: #FBE9E7;
  --amber-dark: #BF360C;

  /* Tertiary: Teal */
  --teal: #00897B;
  --teal-light: #E0F2F1;
  --teal-dark: #00695C;

  /* Neutrals */
  --bg-primary: #FAFBFD;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F5F7FA;
  --bg-accent: rgba(46, 125, 50, 0.06);

  --text-primary: #1A1A2E;
  --text-secondary: #4A5568;
  --text-muted: #718096;

  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.12);

  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.10);

  /* Signature gradients */
  --gradient-hero: linear-gradient(135deg, #FAFBFD 0%, #E8F5E9 40%, #FBE9E7 100%);
  --gradient-brand: linear-gradient(135deg, #2E7D32, #D84315);
  --gradient-teal: linear-gradient(135deg, #00897B, #2E7D32);

  --glass: rgba(255, 255, 255, 0.70);
  --glass-border: rgba(0, 0, 0, 0.06);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-celebrate: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --maxw: 1280px;

  /* Back-compat aliases used by inline styles in JSX */
  --wiin-text-primary: var(--text-primary);
  --wiin-text-muted: var(--text-muted);
  --wiin-border: var(--border);
  --wiin-off-white: var(--bg-primary);
  --wiin-cream: var(--green-light);
  --wiin-radius: var(--radius);
  --wiin-radius-lg: 22px;
  --wiin-shadow-sm: var(--shadow);
  --wiin-shadow-md: var(--shadow);
  --wiin-shadow-lg: var(--shadow-lg);
  --wiin-ease: var(--ease);
  --wiin-ease-celebrate: var(--ease-celebrate);
  --wiin-maxw: var(--maxw);
  --wiin-grad: var(--gradient-brand);
  --wiin-green-deep: var(--green-dark);
  --wiin-green-mid: var(--green);
  --wiin-blue-deep: var(--teal-dark);
  --wiin-blue-mid: var(--teal);
  --wiin-blue-light: var(--teal-light);
  --wiin-red-orange: var(--amber);
  --wiin-amber: var(--amber-dark);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  color: var(--text-primary);
}
h2, h3 { font-weight: 700; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.display-h1 {
  font-size: clamp(2.75rem, 6.4vw, 5.25rem);
  line-height: 1.02;
}
.section-h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.875rem);
  line-height: 1.10;
  color: var(--text-primary);
}
.section-h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  line-height: 1.25;
  font-weight: 700;
}

.lede {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 64ch;
  text-wrap: pretty;
  font-weight: 400;
}
.muted { color: var(--text-muted); }

.tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -0.005em;
  color: var(--green-dark);
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--green-light); }
.section-warm { background: var(--amber-light); }

.grid { display: grid; gap: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.35);
}
.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-solid {
  background: var(--green);
  color: #fff;
}
.btn-solid:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--green-dark);
  border: 1.5px solid var(--green);
}
.btn-ghost:hover { background: var(--green); color: #fff; }
.btn-link {
  background: transparent;
  color: var(--green-dark);
  padding: 8px 0;
  min-height: auto;
  border-radius: 0;
  border-bottom: 1px solid transparent;
}
.btn-link:hover { border-bottom-color: currentColor; }
.btn-light {
  background: rgba(255,255,255,0.16);
  color: #fff;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.30);
}
.btn-light:hover { background: rgba(255,255,255,0.26); }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-pad { padding: 32px; }

.card-glass {
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-featured {
  background: var(--gradient-brand);
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: clamp(40px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.card-featured::after {
  content: "";
  position: absolute;
  right: -120px; bottom: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  pointer-events: none;
}
.card-featured::before {
  content: "";
  position: absolute;
  left: 30%; top: -100px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.field input,
.field select,
.field textarea {
  height: 52px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0 16px;
  font: inherit;
  color: var(--text-primary);
  transition: border 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field textarea { height: auto; padding: 14px 16px; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.18);
}

/* ---------- Image slots / placeholders ---------- */
.imgslot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(46,125,50,0.06) 0,
      rgba(46,125,50,0.06) 10px,
      rgba(46,125,50,0.10) 10px,
      rgba(46,125,50,0.10) 20px
    );
  display: flex;
  align-items: center;
  justify-content: center;
}
.imgslot .imgslot-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--green-dark);
  background: rgba(255,255,255,0.92);
  padding: 6px 10px;
  border-radius: 6px;
}

/* ---------- Misc ---------- */
hr.rule {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 0;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--green-light);
  color: var(--green-dark);
  font-family: 'Inter', sans-serif;
}
.tag-pill.green { background: var(--green-light); color: var(--green-dark); }
.tag-pill.amber { background: var(--amber-light); color: var(--amber-dark); }
.tag-pill.teal { background: var(--teal-light); color: var(--teal-dark); }
.tag-pill.neutral { background: #EEF1F5; color: var(--text-secondary); }

.sdg-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 128px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--green-dark);
  letter-spacing: -0.02em;
}

.dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.18);
}

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 253, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
header.site .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
header.site nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header.site nav a {
  font-size: 14.5px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
header.site nav a:hover { color: var(--green); }
header.site nav a.active { color: var(--green); border-bottom-color: var(--green); }

.lang-toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}
.lang-toggle button {
  border: none;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.lang-toggle button.active {
  background: var(--green);
  color: #fff;
}

/* ---------- Logo ---------- */
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}
.logo-mark img.logo-img {
  display: block;
  height: 128px;
  width: auto;
}
/* Responsive: scale down on smaller viewports so the header doesn't eat
   ~20% of mobile vertical space (Ariel consensus v16, P0 mobile UX). */
@media (max-width: 900px) {
  .logo-mark img.logo-img { height: 96px; }
}
@media (max-width: 600px) {
  .logo-mark img.logo-img { height: 72px; }
}
@media (max-width: 420px) {
  .logo-mark img.logo-img { height: 56px; }
}
/* Footer logo — sized larger than header-compact baseline per CEO QA Round 7-bis (S141 v17).
   Visibility floor 96px desktop, gracefully scales to 64px on mobile. */
.logo-mark-footer img.logo-img { height: 112px !important; }
@media (max-width: 900px) {
  .logo-mark-footer img.logo-img { height: 88px !important; }
}
@media (max-width: 600px) {
  .logo-mark-footer img.logo-img { height: 72px !important; }
}
@media (max-width: 420px) {
  .logo-mark-footer img.logo-img { height: 64px !important; }
}

/* Fallback brand mark (shows when wiin-logo.png is missing) */
.logo-fallback {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  color: #fff;
  font-size: 19px;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
}
.logo-fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.25), transparent 60%);
}

/* ---------- Footer ---------- */
footer.site {
  background: #14181B;
  color: rgba(255,255,255,0.78);
  padding: 80px 0 28px;
}
footer.site .grid-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
footer.site h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
footer.site a, footer.site li {
  font-size: 14.5px;
  color: rgba(255,255,255,0.74);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.18s var(--ease);
}
footer.site a:hover { color: #fff; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site .legal {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.50);
}
footer.site .attrib {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  header.site nav { display: none; }
  footer.site .grid-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  footer.site .grid-footer { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* =========================================================================
 * AI-era extensions (iteration 002)
 * Asymmetric bento, SDG strip with UN colors, counters, gradient-mesh hero,
 * countdown, network diagram, accessibility banner, scroll-reveal.
 * =======================================================================*/

/* Gradient-mesh hero background with subtle generative-noise */
.mesh-hero {
  position: relative;
  background:
    radial-gradient(circle at 18% 28%, rgba(46,125,50,0.22) 0%, transparent 42%),
    radial-gradient(circle at 82% 12%, rgba(0,137,123,0.18) 0%, transparent 46%),
    radial-gradient(circle at 65% 88%, rgba(216,67,21,0.20) 0%, transparent 48%),
    radial-gradient(circle at 8%  92%, rgba(255,205,160,0.30) 0%, transparent 50%),
    var(--gradient-hero);
  overflow: hidden;
}
.mesh-hero::after {
  /* generative-style noise wash, low opacity */
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.42 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.10;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ---------- Stats / counter widgets ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stats-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 6px;
  position: relative; overflow: hidden;
}
.stats-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--accent-soft, var(--green-light));
  opacity: 0.7;
}
.stats-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 4.4vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent-deep, var(--green-dark));
  position: relative; z-index: 2;
}
.stats-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-top: 8px;
  position: relative; z-index: 2;
}
.stats-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  position: relative; z-index: 2;
}

/* ---------- Asymmetric bento (6 pillars) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.bento > .pillar { grid-column: span 4; }
.bento > .pillar.feature { grid-column: span 7; }
.bento > .pillar.feature + .pillar { grid-column: span 5; }
.bento > .pillar.wide    { grid-column: span 12; }

.pillar-card {
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 2.4vw, 36px);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative; overflow: hidden;
  min-height: 240px;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pillar-card .pillar-num {
  position: absolute;
  top: 22px; right: 26px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -0.04em;
  color: var(--accent-deep, var(--green-dark));
  opacity: 0.18;
  line-height: 1;
}
.pillar-card .pillar-icon {
  font-size: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--accent-soft, var(--green-light));
  color: var(--accent-deep, var(--green-dark));
}
.pillar-card.feature {
  background: linear-gradient(135deg, rgba(255,255,255,0.78) 0%, rgba(232,245,233,0.72) 100%);
  border: 1px solid var(--green-light);
}
.pillar-card.feature .pillar-num { font-size: 56px; opacity: 0.22; }

@media (max-width: 1100px) {
  .bento > .pillar,
  .bento > .pillar.feature,
  .bento > .pillar.feature + .pillar,
  .bento > .pillar.wide { grid-column: span 6; }
}
@media (max-width: 700px) {
  .bento > .pillar,
  .bento > .pillar.feature,
  .bento > .pillar.feature + .pillar,
  .bento > .pillar.wide { grid-column: span 12; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- SDG strip (official UN palette) ---------- */
.sdg-strip {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 10px;
}
.sdg-tile {
  aspect-ratio: 1/1;
  border-radius: 10px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-celebrate), filter 0.25s var(--ease);
  text-align: center;
  padding: 6px;
}
.sdg-tile:hover {
  transform: translateY(-3px) scale(1.04);
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.18));
}
.sdg-tile .sdg-n {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.sdg-tile .sdg-l {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.94;
  text-wrap: balance;
}
@media (max-width: 900px) {
  .sdg-strip { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 480px) {
  .sdg-strip { grid-template-columns: repeat(4, 1fr); }
  .sdg-tile .sdg-l { display: none; }
}

/* ---------- Pullquote ---------- */
.pullquote {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.pullquote .marks {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(80px, 12vw, 160px);
  line-height: 0.6;
  color: var(--amber);
  opacity: 0.32;
  display: block;
  margin-bottom: -12px;
}
.pullquote blockquote {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.25;
  color: var(--text-primary);
  text-wrap: balance;
}
.pullquote cite {
  display: block;
  margin-top: 26px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Trust / board strip ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 6px;
}
.trust-card .role {
  font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green);
}
.trust-card .name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800; font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.trust-card .note {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- CTA banner ---------- */
.cta-banner-section {
  background: var(--gradient-brand);
  color: #fff;
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner-section::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 25%, rgba(255,255,255,0.18) 0%, transparent 50%);
  pointer-events: none;
}
.cta-banner-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 48px; align-items: center;
}
@media (max-width: 800px) {
  .cta-banner-inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Countdown (JCM hero) ---------- */
.countdown {
  display: inline-flex; gap: 14px;
  margin-top: 28px;
}
.countdown .unit {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 86px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.countdown .num {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.countdown .lbl {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* ---------- Network diagram ---------- */
.network-svg { width: 100%; height: auto; max-width: 720px; display: block; margin: 0 auto; }
.network-svg .nx-line { stroke: var(--border-strong); stroke-width: 1.5; stroke-dasharray: 4 5; }
.network-svg .nx-center {
  fill: #fff;
  stroke: var(--green);
  stroke-width: 2;
}
.network-svg .nx-center-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 16px;
  fill: var(--green-dark);
  letter-spacing: -0.02em;
  text-anchor: middle;
  dominant-baseline: central;
}
.network-svg .nx-node-text {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  fill: #fff;
  text-anchor: middle;
  dominant-baseline: central;
  letter-spacing: 0.02em;
}
/* External node label — sits beyond the circle so long words never truncate. */
.network-svg .nx-node-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  fill: var(--text-primary, #1A2B33);
  letter-spacing: 0.01em;
}

/* ---------- Accessibility banner (JCM) ---------- */
.access-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.access-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow);
}
.access-card .a-icon {
  font-size: 30px;
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--teal-light);
  color: var(--teal-dark);
}
.access-card .a-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: 15px;
  color: var(--text-primary);
}
.access-card .a-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}
@media (max-width: 800px) { .access-banner { grid-template-columns: 1fr; } }

/* ---------- Partner clusters ---------- */
.cluster {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg-card);
  box-shadow: var(--shadow);
}
.cluster-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.cluster-head .cluster-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.cluster-head .cluster-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cluster-list { display: flex; flex-direction: column; gap: 10px; }
.cluster-list .partner {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card-hover);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}
.cluster-list .partner .partner-mark {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--green-light), var(--teal-light));
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 12px;
  color: var(--green-dark);
}

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-celebrate), transform 0.6s var(--ease-celebrate);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  background: #fff;
  color: var(--green-dark);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 9999;
  box-shadow: var(--shadow);
}
.skip-link:focus { left: 8px; top: 8px; }


/* =========================================================================
 * AI-era v3 (iteration 003) — anti-replica modernization
 * Cinematic hero, oversized fluid type, magnetic CTA, scroll-snap carousel,
 * mask-reveal, tilt cards, dark impact strip, portrait governance grid.
 * =======================================================================*/

/* ---- Cinematic hero — animated gradient-mesh + bloom + grain ---- */
.hero-cinema {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(80px, 14vh, 160px) 0 clamp(60px, 10vh, 120px);
}
.hero-cinema .mesh-layer {
  position: absolute; inset: -10%;
  z-index: 0;
  background:
    radial-gradient(40% 50% at 18% 30%, rgba(46,125,50,0.32) 0%, transparent 60%),
    radial-gradient(45% 55% at 82% 18%, rgba(0,137,123,0.30) 0%, transparent 62%),
    radial-gradient(55% 60% at 70% 88%, rgba(216,67,21,0.32) 0%, transparent 60%),
    radial-gradient(40% 50% at 5% 92%, rgba(255,205,160,0.50) 0%, transparent 60%),
    var(--gradient-hero);
  filter: brightness(1.06) contrast(1.04) saturate(1.05);
  animation: mesh-drift 22s ease-in-out infinite alternate;
}
@keyframes mesh-drift {
  0%   { transform: translate3d(0,0,0) scale(1.00); }
  50%  { transform: translate3d(-2%, -1%, 0) scale(1.03); }
  100% { transform: translate3d(2%, 1.5%, 0) scale(1.02); }
}
.hero-cinema .bloom-layer {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle at 60% 40%, rgba(255,255,255,0.22) 0%, transparent 45%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-cinema .grain-layer {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  opacity: 0.10;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.hero-cinema .hero-content { position: relative; z-index: 3; }

/* ---- Oversized editorial display ---- */
.display-mega {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(3.5rem, 11vw, 11rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.display-mega .accent-amber {
  background: linear-gradient(120deg, var(--amber-dark) 0%, var(--amber) 60%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.overline {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-primary);
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--amber);
}

/* ---- Magnetic CTA ---- */
.cta-magnet {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  border-radius: 12px;
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  text-decoration: none;
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 12px 32px rgba(216, 67, 21, 0.25), 0 4px 12px rgba(46, 125, 50, 0.15);
  transition: transform 0.25s var(--ease-celebrate), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
  position: relative;
  min-height: 56px;
  will-change: transform;
}
.cta-magnet:hover {
  filter: brightness(1.06) saturate(1.08);
  box-shadow: 0 18px 48px rgba(216, 67, 21, 0.32), 0 6px 14px rgba(46, 125, 50, 0.18);
}
.cta-magnet:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}
.cta-ghost-magnet {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 28px;
  border-radius: 12px;
  border: 2px solid var(--green);
  background: transparent;
  color: var(--green-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: 15px;
  cursor: pointer;
  min-height: 56px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease-celebrate);
}
.cta-ghost-magnet:hover { background: rgba(46, 125, 50, 0.08); }

/* ---- SDG marquee (auto-scroll horizontal) ---- */
.sdg-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.sdg-marquee .track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.sdg-marquee .sdg-chip {
  flex: 0 0 auto;
  min-height: 88px;
  min-width: 200px;
  max-width: 300px;
  padding: 14px 18px;
  border-radius: 14px;
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease-celebrate), filter 0.25s var(--ease);
  filter: grayscale(0.45);
  white-space: normal;
  overflow: hidden;
}
.sdg-marquee .sdg-chip .lbl {
  /* S149: removed -webkit-line-clamp:2 + overflow:hidden — was truncating
     longer SDG labels (e.g. "SDG 09 · Industrie · innovation"). Labels now
     wrap fully; chip min-height + flex row stretch keep uniform height. */
  line-height: 1.25;
}
.sdg-marquee .sdg-chip:hover {
  filter: grayscale(0);
  transform: translateY(-3px);
}
.sdg-marquee .sdg-chip .swatch {
  position: relative;
  width: 32px; height: 32px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
}
.sdg-marquee .sdg-chip .swatch img {
  position: relative; z-index: 2;
}
.sdg-marquee .sdg-chip .swatch img + span {
  /* fallback number visible only when img fails (display:none from onError) */
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.sdg-marquee .sdg-chip .lbl {
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* ---- Horizontal scroll-snap pillar carousel ---- */
.pillar-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(360px, 42vw);
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 28px;
  padding: 8px 28px 32px;
  margin: 0 -28px;
  scrollbar-width: thin;
  scrollbar-color: var(--green) transparent;
}
.pillar-rail::-webkit-scrollbar { height: 8px; }
.pillar-rail::-webkit-scrollbar-thumb { background: var(--green); border-radius: 4px; }
.pillar-rail-card {
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 44px);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 420px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.4s var(--ease-celebrate), box-shadow 0.4s var(--ease);
}
.pillar-rail-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar-rail-card .ghost-num {
  position: absolute;
  inset: -2vw -1vw auto auto;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(180px, 18vw, 280px);
  line-height: 0.8;
  color: var(--accent-deep, var(--green-dark));
  opacity: 0.06;
  pointer-events: none;
}
.pillar-rail-card .ghost-icon {
  position: absolute;
  right: 22px; bottom: 18px;
  font-size: clamp(80px, 8vw, 130px);
  opacity: 0.10;
  pointer-events: none;
}
.pillar-rail-card .p-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  line-height: 1.1;
  color: var(--accent-deep, var(--green-dark));
  letter-spacing: -0.015em;
  margin: 0;
  position: relative; z-index: 2;
}
.pillar-rail-card .p-body {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  position: relative; z-index: 2;
  max-width: 38ch;
}
.pillar-rail-card .p-foot {
  margin-top: auto;
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 14px;
  position: relative; z-index: 2;
}
.pillar-rail-card .sdg-cluster { display: flex; gap: 6px; }
.pillar-rail-card .sdg-cluster .sdg-bubble {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 14px rgba(0,0,0,0.10);
}

.explore-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-deep, var(--green-dark));
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  letter-spacing: 0.02em;
}
.explore-link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: currentColor;
  transform: scaleX(0.25); transform-origin: left;
  transition: transform 0.3s var(--ease-celebrate);
}
.explore-link:hover::after { transform: scaleX(1); }
.explore-link .arrow { transition: transform 0.3s var(--ease-celebrate); }
.explore-link:hover .arrow { transform: translateX(4px); }

/* ---- Section: chapter mark ---- */
.chapter {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: baseline;
  margin-bottom: 40px;
}
.chapter .ix {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1;
  color: var(--amber);
  letter-spacing: -0.04em;
}
.chapter .meta {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.chapter .head {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--text-primary);
}
.chapter .head em { color: var(--green-dark); }

/* ---- Mask-reveal (clip-path wipe) ---- */
.mask-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.95s var(--ease-celebrate), opacity 0.6s ease;
  will-change: clip-path;
}
.mask-reveal[data-mask-dir="right"] { clip-path: inset(0 0 0 100%); }
.mask-reveal[data-mask-dir="up"]    { clip-path: inset(100% 0 0 0); }
.mask-reveal[data-mask-dir="down"]  { clip-path: inset(0 0 100% 0); }
.mask-reveal.visible { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .mask-reveal { clip-path: none; } }

/* ---- Split mission section ---- */
.split-mission {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.split-mission .mission-art {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-mission .mission-art .corner-tag {
  position: absolute;
  left: 18px; top: 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.92);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--green-dark);
}
.split-mission .mission-copy {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1.28;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.split-mission .mission-copy.en {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--text-secondary);
  margin-top: 22px;
  max-width: 56ch;
}
@media (max-width: 900px) { .split-mission { grid-template-columns: 1fr; } }

/* ---- Dark impact strip with grain ---- */
.impact-dark {
  background: #0E1116;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.impact-dark::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 24%, rgba(46,125,50,0.20) 0%, transparent 50%),
    radial-gradient(circle at 88% 88%, rgba(216,67,21,0.18) 0%, transparent 50%);
  pointer-events: none;
}
.impact-dark::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.36 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.18; mix-blend-mode: screen; pointer-events: none;
}
.impact-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.16);
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.impact-counter {
  padding: 40px 28px;
  border-right: 1px solid rgba(255,255,255,0.16);
  display: flex; flex-direction: column; gap: 6px;
}
.impact-counter:last-child { border-right: none; }
.impact-counter .v {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.impact-counter .u {
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber);
  margin-top: 8px;
}
.impact-counter .l {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}
@media (max-width: 800px) {
  .impact-counters { grid-template-columns: repeat(2, 1fr); }
  .impact-counter { border-bottom: 1px solid rgba(255,255,255,0.16); }
  .impact-counter:nth-child(2n) { border-right: none; }
}
.impact-pullquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 1.18;
  color: #fff;
  text-wrap: balance;
  max-width: 26ch;
  letter-spacing: -0.018em;
}
.impact-pullquote .quote-mark {
  display: inline-block; font-size: 1.4em; line-height: 0;
  color: var(--amber); vertical-align: -0.18em; margin-right: 6px;
}
.impact-pullquote cite {
  display: block; margin-top: 18px;
  font-family: 'Inter', sans-serif; font-style: normal;
  font-weight: 600; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}

/* ---- Governance portrait cards ---- */
.gov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.gov-card {
  position: relative;
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  text-align: center;
  display: flex; flex-direction: column; gap: 10px; align-items: center;
  transition: transform 0.3s var(--ease-celebrate), box-shadow 0.3s var(--ease);
}
.gov-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gov-card .portrait {
  width: 110px; height: 110px;
  border-radius: 999px;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800; font-size: 36px;
  letter-spacing: -0.02em;
  border: 4px solid rgba(255,255,255,0.7);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}
.gov-card .gov-role {
  font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber-dark);
  margin-top: 6px;
}
.gov-card .gov-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800; font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.gov-card .gov-note {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px; color: var(--text-muted);
  line-height: 1.5;
}
@media (max-width: 900px) { .gov-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gov-grid { grid-template-columns: 1fr; } }

/* ---- JCM hero (dark gradient + grain) ---- */
.jcm-hero {
  position: relative;
  min-height: 92vh;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(80px, 14vh, 160px) 0 clamp(60px, 10vh, 120px);
  background: linear-gradient(135deg, #0E1116 0%, #2B100A 35%, #4A1808 70%, #6B210C 100%);
}
.jcm-hero .jcm-glow {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(50% 50% at 75% 25%, rgba(216,67,21,0.42) 0%, transparent 60%),
    radial-gradient(40% 40% at 10% 80%, rgba(255,180,90,0.32) 0%, transparent 60%),
    radial-gradient(40% 40% at 50% 50%, rgba(46,125,50,0.18) 0%, transparent 70%);
  animation: mesh-drift 28s ease-in-out infinite alternate;
}
.jcm-hero .jcm-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.22; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.jcm-hero .jcm-content { position: relative; z-index: 2; }
.jcm-hero h1.display-mega {
  background: linear-gradient(120deg, #FFE0B2 0%, #FFFFFF 50%, #FFB48A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.jcm-countdown { display: flex; gap: clamp(8px, 1.5vw, 22px); margin-top: 32px; }
.jcm-countdown .unit {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;
  padding: 18px clamp(14px, 1.4vw, 24px);
  min-width: clamp(86px, 9vw, 130px);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center;
}
.jcm-countdown .unit .num {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.jcm-countdown .unit .lbl {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}

/* ---- Tilt glass dimension card ---- */
.tilt-card {
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: clamp(28px, 2.6vw, 40px);
  display: flex; flex-direction: column; gap: 16px;
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
  transition: box-shadow 0.3s var(--ease);
  box-shadow: var(--shadow);
  min-height: 280px;
  will-change: transform;
}
.tilt-card:hover { box-shadow: var(--shadow-lg); }
.tilt-card .t-glow {
  position: absolute; inset: -20% -10% auto auto;
  width: 60%; height: 60%;
  background: radial-gradient(circle, var(--accent-soft, var(--green-light)) 0%, transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}
.tilt-card .t-icon {
  font-size: 38px;
  display: inline-flex; width: 62px; height: 62px;
  align-items: center; justify-content: center;
  border-radius: 16px;
  background: var(--accent-soft, var(--green-light));
  color: var(--accent-deep, var(--green-dark));
}
.tilt-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800; font-style: italic;
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  letter-spacing: -0.01em;
  color: var(--accent-deep, var(--green-dark));
  margin: 0;
}
.tilt-card p {
  margin: 0; font-size: 14.5px; line-height: 1.6;
  color: var(--text-secondary);
}

/* ---- Horizontal partner cluster bands ---- */
.partner-band {
  position: relative;
  overflow: hidden;
  background: rgba(46, 125, 50, 0.05);
  border-radius: 18px;
  padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.partner-band .band-track {
  display: flex; gap: 18px;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.partner-band[data-dir="reverse"] .band-track { animation-direction: reverse; }
.partner-band .band-head {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-primary);
  flex: 0 0 auto;
}
.partner-band .band-head .band-dot { width: 10px; height: 10px; border-radius: 50%; }
.partner-band .band-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 14px;
  color: var(--text-primary);
  flex: 0 0 auto;
}
.partner-band .band-chip .chip-mark {
  width: 26px; height: 26px; border-radius: 6px;
  background: linear-gradient(135deg, var(--green-light), var(--teal-light));
  color: var(--green-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800; font-size: 11px;
}

/* ---- Mission carousel — S141 v19 D2/D22 (CEO directive)
   Auto-advance 5s, pause on hover, swipe on mobile, lazy-load all but first.
   Used in Mission home split + Mission tab hero slot. ---- */
.mission-carousel {
  position: relative;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(46,125,50,0.06) 0%, rgba(216,67,21,0.04) 50%, rgba(0,137,123,0.06) 100%);
  box-shadow: 0 12px 32px rgba(0,36,32,0.10);
}
.mission-carousel-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #14181B;
}
.mission-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.mission-carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.mission-carousel-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mission-carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 24px 22px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.78) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mission-carousel-caption-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.mission-carousel-caption-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.0rem, 1.5vw, 1.25rem);
  line-height: 1.3;
}
.mission-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 18px 16px;
  background: rgba(255,255,255,0.96);
}
.mission-carousel-arrow {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(46,125,50,0.20);
  background: #fff;
  font-size: 22px; line-height: 1;
  color: var(--green-dark, #1B5E20);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.mission-carousel-arrow:hover {
  background: var(--green-dark, #1B5E20);
  color: #fff;
  border-color: var(--green-dark, #1B5E20);
  transform: scale(1.06);
}
.mission-carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.mission-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(46,125,50,0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, width 0.25s ease;
}
.mission-carousel-dot.is-active {
  background: var(--green-dark, #1B5E20);
  width: 26px;
}

/* ---- Partner logo strip — S141 v19 D18 (CEO directive)
   Replaces the old chip render for CONFIRMED partners. Conference-style sponsor strip
   with prominent ≥80px logos via Brandfetch CDN + typographic fallback. ---- */
.partner-logo-strip-wrap {
  padding: 32px 28px;
  background: linear-gradient(135deg, rgba(46,125,50,0.05) 0%, rgba(255,255,255,0.0) 100%);
  border-radius: 18px;
  border: 1px solid rgba(46,125,50,0.12);
}
.partner-logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  align-items: stretch;
  margin-top: 8px;
}
.partner-logo-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 14px 16px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0,36,32,0.06);
  box-shadow: 0 2px 8px rgba(0,36,32,0.04);
  transition: transform 0.3s var(--ease-celebrate), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.partner-logo-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(46,125,50,0.14);
  border-color: rgba(46,125,50,0.30);
}
.partner-logo-frame {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
}
.partner-logo-img {
  max-width: 90%;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(0.35);
  transition: filter 0.3s var(--ease);
}
.partner-logo-cell:hover .partner-logo-img { filter: grayscale(0); }
.partner-logo-typotype {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--green-dark, #1B5E20);
  text-align: center;
  line-height: 1.2;
  padding: 0 8px;
}
.partner-logo-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text-primary, #1A2B33);
  line-height: 1.3;
  margin-bottom: 4px;
}
.partner-logo-role {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--text-muted, #6B7C85);
  line-height: 1.4;
}
@media (max-width: 600px) {
  .partner-logo-strip { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .partner-logo-frame { height: 56px; }
  .partner-logo-img { max-height: 52px; }
}

/* ---- Chef Katia spotlight ---- */
.chef-spotlight {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.chef-spotlight .chef-portrait {
  position: relative; aspect-ratio: 4/5;
  border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--ease-celebrate), box-shadow 0.4s var(--ease);
}
.chef-spotlight .chef-portrait:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 64px rgba(216,67,21,0.28), 0 12px 24px rgba(0,0,0,0.08);
}
.chef-spotlight blockquote.chef-quote {
  margin: 0; padding: 22px 26px;
  background: var(--bg-card);
  border-left: 3px solid var(--amber);
  border-radius: 12px;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic; font-weight: 700;
  font-size: clamp(1.3rem, 1.9vw, 1.5rem);
  line-height: 1.4;
  color: var(--green-dark);
}
@media (max-width: 900px) { .chef-spotlight { grid-template-columns: 1fr; } }

/* ---- Network diagram interactive ---- */
.network-svg circle { transition: transform 0.3s var(--ease-celebrate), filter 0.3s var(--ease); transform-origin: center; transform-box: fill-box; }
.network-svg g.node:hover circle { transform: scale(1.10); filter: drop-shadow(0 8px 20px rgba(0,0,0,0.18)); }

/* ---- Full-bleed teal CTA strip ---- */
.cta-strip-teal {
  background: var(--gradient-teal);
  color: #fff;
  padding: clamp(64px, 10vw, 112px) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-strip-teal::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18) 0%, transparent 50%),
    radial-gradient(circle at 15% 85%, rgba(255,255,255,0.10) 0%, transparent 50%);
  pointer-events: none;
}
.cta-strip-teal .inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; padding: 0 28px; }

.section-tight  { padding: clamp(48px, 7vw, 88px) 0; }
.section-loose  { padding: clamp(80px, 11vw, 140px) 0; }

.rail-hint {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}
@media (pointer: coarse) { .rail-hint { display: none; } }


/* =========================================================================
 * Iteration 007 — production photography injection (Nano Banana Pro 8K)
 * Photo-backed cinematic heroes with gradient overlay + Ken Burns animation.
 * =======================================================================*/

/* ---- Photo backdrop layer (shared) ---- */
.hero-photo,
.jcm-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  animation: ken-burns 32s ease-in-out infinite alternate;
}
@keyframes ken-burns {
  0%   { transform: scale(1.06) translate3d(0, 0, 0); }
  100% { transform: scale(1.00) translate3d(-1.5%, -1%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo,
  .jcm-photo { animation: none; transform: none; }
}

/* ---- Homepage hero with photo (cassava field portrait) ---- */
.hero-cinema-photo {
  background: var(--bg-primary);
}
/* When using a real photo, the mesh-layer becomes a subtle accent rather
   than the primary backdrop — fade it down so the photograph dominates. */
.hero-cinema-photo .mesh-layer { opacity: 0.55; mix-blend-mode: soft-light; z-index: 1; }
.hero-cinema-photo .bloom-layer { z-index: 2; }
.hero-cinema-photo .grain-layer { z-index: 4; opacity: 0.08; }
.hero-cinema-photo .hero-photo {
  object-position: 70% center; /* keep the woman's portrait visible on the right */
}
.hero-cinema-photo .hero-overlay {
  position: absolute; inset: 0; z-index: 3;
  background:
    linear-gradient(110deg,
      rgba(250, 251, 253, 0.96) 0%,
      rgba(232, 245, 233, 0.92) 30%,
      rgba(232, 245, 233, 0.55) 50%,
      rgba(251, 233, 231, 0.18) 72%,
      transparent 100%);
  pointer-events: none;
}
.hero-cinema-photo .hero-content { z-index: 5; }
/* Mobile: tighten the overlay so type stays legible over the centred crop */
@media (max-width: 800px) {
  .hero-cinema-photo .hero-photo { object-position: 60% center; }
  .hero-cinema-photo .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(250, 251, 253, 0.94) 0%,
        rgba(232, 245, 233, 0.88) 35%,
        rgba(251, 233, 231, 0.55) 70%,
        rgba(20, 15, 10, 0.45) 100%);
  }
}

/* ---- JCM hero with photo (Montréal festival night) ---- */
.jcm-hero-photo {
  background: #14181B;
}
.jcm-hero-photo .jcm-glow  { z-index: 2; opacity: 0.85; mix-blend-mode: screen; }
.jcm-hero-photo .jcm-grain { z-index: 4; opacity: 0.18; }
.jcm-hero-photo .jcm-photo {
  object-position: center 55%;
}
.jcm-hero-photo .jcm-overlay {
  position: absolute; inset: 0; z-index: 3;
  background:
    linear-gradient(180deg,
      rgba(20, 15, 10, 0.55) 0%,
      rgba(40, 25, 15, 0.78) 60%,
      rgba(40, 25, 15, 0.92) 100%);
  pointer-events: none;
}
.jcm-hero-photo .jcm-content { z-index: 5; }
@media (max-width: 800px) {
  .jcm-hero-photo .jcm-overlay {
    background:
      linear-gradient(180deg,
        rgba(20, 15, 10, 0.65) 0%,
        rgba(40, 25, 15, 0.88) 60%,
        rgba(40, 25, 15, 0.95) 100%);
  }
}

/* ---- Hero video loops (Veo 3 fast generated) — Entity Design Pipeline S141 v14 ---- */
.hero-photo.hero-video,
.hero-photo.jcm-hero-video,
.jcm-photo.jcm-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-photo-fallback,
.jcm-photo-fallback {
  display: none;
}
/* Reduced-motion: hide video, show fallback static image */
@media (prefers-reduced-motion: reduce) {
  .hero-photo.hero-video,
  .jcm-photo.jcm-hero-video {
    display: none;
  }
  .hero-photo-fallback,
  .jcm-photo-fallback {
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* ---- Pillar tilt-cards with Veo video backgrounds (S141 v15+) ---- */
.tilt-card-video {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 280px;
}
.tilt-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.55) saturate(1.1);
}
.tilt-card-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(20,15,10,0.45) 60%, rgba(40,25,15,0.78) 100%);
  z-index: 1;
  pointer-events: none;
}
.tilt-card-video > * { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .tilt-card-bg { display: none; }
  .tilt-card-video { background: linear-gradient(135deg, var(--accent-deep), var(--accent-mid)); }
}

/* === Photo placeholder cards (S141 v16 — restored per CEO QA round 6) ===
   Visible drop-zones for future hero/portrait/carousel imagery. Branded so
   the page reads as "intentionally pending" rather than broken-empty. */
.image-placeholder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px);
  border-radius: 22px;
  border: 2px dashed var(--green, #2E7D32);
  background:
    linear-gradient(135deg, rgba(46,125,50,0.04) 0%, rgba(216,67,21,0.03) 50%, rgba(0,137,123,0.04) 100%),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(46,125,50,0.025) 14px 28px);
  color: var(--text-secondary, #455A64);
  min-height: 240px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
}
.image-placeholder-card:hover { border-color: var(--amber, #D84315); transform: translateY(-2px); }
.image-placeholder-card .iph-icon {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  filter: grayscale(.2) opacity(.85);
}
.image-placeholder-card .iph-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 1.2vw, 15px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-dark, #1B5E20);
}
.image-placeholder-card .iph-hint {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.45;
  max-width: 52ch;
  color: var(--text-primary, #1A2B33);
}
.image-placeholder-card .iph-meta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-muted, #6B7C85);
  margin-top: 4px;
  opacity: 0.8;
}
.image-placeholder-portrait { aspect-ratio: 3/4; min-height: 360px; }
.image-placeholder-hero { aspect-ratio: 16/9; min-height: 320px; }

/* === SDG cards (S141 v16 — UN-color, label, link to sdgs.un.org) === */
.sdg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}
.sdg-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 14px 16px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  min-height: 140px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 36, 32, 0.10);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
  outline-offset: 4px;
}
.sdg-card::after {
  content: "↗";
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 16px;
  opacity: 0.55;
  font-weight: 700;
}
.sdg-card:hover, .sdg-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 36, 32, 0.22);
  filter: brightness(1.05);
}
.sdg-card:focus-visible {
  outline: 3px solid var(--amber, #D84315);
}
.sdg-card-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.sdg-card-tag {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}
.sdg-card-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

/* Clickable SDG bubble inside pillar cards */
.sdg-bubble-link {
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.sdg-bubble-link:hover, .sdg-bubble-link:focus-visible {
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(0, 36, 32, 0.28);
  filter: brightness(1.08);
}
.sdg-bubble-link:focus-visible {
  outline: 2px solid var(--amber, #D84315);
  outline-offset: 2px;
}


/* =============================================================================
 * S141 v23-lite — WCAG AA accessibility surface (F3, F4, F5)
 * Adds visible focus rings, caption contrast guard, and deferred-banner spacing.
 * =========================================================================== */

/* F3 — Mission carousel keyboard focus ring */
.mission-carousel:focus-visible {
  outline: 3px solid var(--amber, #D84315);
  outline-offset: 4px;
  border-radius: 12px;
}

/* F4 — Partner cell keyboard focus ring */
.partner-logo-cell:focus-visible {
  outline: 3px solid var(--amber, #D84315);
  outline-offset: 3px;
  border-radius: 12px;
}

/* F5 — Caption contrast guard. Applied to all mission-carousel-caption nodes
 * to ensure ≥4.5:1 contrast on photographic backgrounds (WCAG 1.4.3). */
.mission-carousel-caption {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0) 100%);
  padding-top: 32px !important;
}
.mission-carousel-caption-eyebrow,
.mission-carousel-caption-text {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* F1 — Deferred banner: keep CTAs visually dominant over the deferral badge */
.deferred-banner-ctas .cta-magnet:focus-visible,
.deferred-banner-ctas .cta-ghost-magnet:focus-visible {
  outline: 3px solid #FFE0B2;
  outline-offset: 3px;
}

.loi25-consent-line a:focus-visible {
  outline: 2px solid #FFE0B2;
  outline-offset: 3px;
  border-radius: 3px;
}

/* =============================================================================
 * S150 — Blog spotlight components (Cheffe Katia port from _wireframe_katia.html).
 * ADDITIVE ONLY — no existing selector touched. Consumed by renderBody node types
 * motto / chip / callout / carousel(+craft variant) / logos in wiin-blog.jsx.
 * Warm WIIN palette (green-dark/green-mid/amber); falls back if vars undefined.
 * ===========================================================================*/
.blog-motto {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--green-dark, #1B5E20);
  margin: 4px 0 18px;
}
.blog-chip {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green-mid, #3FA847);
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0 0 12px;
}
.blog-callout {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  background: linear-gradient(135deg, var(--green-dark, #1B5E20), var(--green-mid, #3FA847));
  color: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  margin: 18px 0 22px;
}
.blog-callout .t {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.2;
  flex: 1 1 240px;
}
.blog-callout .b {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 4px 13px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
}
/* Dish gallery — faithful 8-up grid (QG fallback from carousel, S150): shows the full
 * variety at once, mirroring the approved _wireframe_katia.html .gallery (4-up / 2-up). */
.blog-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0 14px;
}
.blog-gallery figure { margin: 0; }
.blog-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.blog-gallery figcaption {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: var(--text-muted, #718096);
  margin-top: 6px;
  text-align: center;
}
/* Craft pair (griddle + kassaves) — static 2-up, not a carousel */
.blog-craft {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 14px 0 8px;
}
.blog-craft figure { margin: 0; }
.blog-craft img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.blog-craft figcaption {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: var(--text-muted, #718096);
  margin-top: 7px;
  text-align: center;
}
/* Credits + 3 clickable logos */
.blog-logos {
  border-top: 1px solid #e7e3d8;
  margin-top: 36px;
  padding-top: 20px;
}
.blog-logos .creditrow {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.blog-logos .logo-item { text-align: center; }
.blog-logos .lbox {
  width: 200px;
  height: 120px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.blog-logos .lbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.blog-logos .lcap {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: var(--text-muted, #718096);
  text-align: center;
  margin-top: 7px;
}
.blog-logos .credits-text {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-muted, #718096);
}
.blog-logos .credits-text a {
  color: var(--green-dark, #1B5E20);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-logos .credits-text a:hover { color: var(--green-mid, #3FA847); }
.blog-logos .badge {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 11px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  background: #FFEAD1;
  color: #9A5B12;
  border: 1px solid var(--amber, #E89A3C);
}
/* Click-to-magnify (lightbox) for gallery + craft photos */
.blog-gallery img, .blog-craft img { cursor: zoom-in; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.blog-gallery img:hover, .blog-craft img:hover { transform: scale(1.015); box-shadow: 0 8px 22px rgba(0, 36, 32, 0.16); }
.blog-gallery img:focus-visible, .blog-craft img:focus-visible { outline: 3px solid var(--green-mid, #3FA847); outline-offset: 2px; }
.blog-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 12, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  cursor: zoom-out;
  animation: blogLightboxIn 0.18s ease;
}
@keyframes blogLightboxIn { from { opacity: 0; } to { opacity: 1; } }
.blog-lightbox-fig {
  margin: 0;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
}
.blog-lightbox-fig img {
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.blog-lightbox-fig figcaption {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  margin-top: 14px;
  text-align: center;
}
.blog-lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-lightbox-close:hover { background: rgba(255, 255, 255, 0.3); }

@media (max-width: 680px) {
  .blog-gallery { grid-template-columns: repeat(2, 1fr); }
  .blog-craft { grid-template-columns: 1fr; }
  .blog-logos .lbox { width: 160px; height: 100px; }
  .blog-callout .t { flex-basis: 100%; }
}
