/* ===========================================================
   Carbon Kapture - design system
   Display: Anton (Druk-class)  ·  Body: Inter
   =========================================================== */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1.3rem + 4vw, 4.5rem);
  --text-hero: clamp(2.75rem, 1rem + 6.2vw, 6rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --fs-display: 'Anton', 'Archivo Black', 'Arial Black', Impact, sans-serif;
  --fs-body: 'Inter', 'Satoshi', system-ui, -apple-system, sans-serif;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;

  --wrap: 1240px;
  --wrap-narrow: 760px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Light (default) ---------- */
:root,
[data-theme='light'] {
  --bg: #fbfbfa;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --surface-sunk: #f1f4f3;
  --border: #e1e5e3;
  --border-strong: #c6cecc;

  --text: #04302f;
  --text-muted: #556663;
  --text-faint: #86948f;
  --text-inverse: #ffffff;

  --primary: #006f74;
  --primary-hover: #004848;
  --primary-soft: #ddf2f3;
  --bright: #00b0b8;

  --kelp: #8a6a2a;
  --kelp-soft: #f3ecd6;

  --ocean-deep: #04302f;

  --p-mint: #9ff1d5;
  --p-blue: #badee2;
  --p-cream: #ece4bf;
  --p-peach: #efcec6;

  --shadow-sm: 0 1px 2px rgba(4, 48, 47, 0.05), 0 2px 8px rgba(4, 48, 47, 0.04);
  --shadow: 0 2px 4px rgba(4, 48, 47, 0.04), 0 12px 32px rgba(4, 48, 47, 0.07);
  --shadow-lg: 0 4px 8px rgba(4, 48, 47, 0.05), 0 24px 56px rgba(4, 48, 47, 0.11);
}

/* ---------- Dark ---------- */
[data-theme='dark'] {
  --bg: #042624;
  --surface: #0a3331;
  --surface-2: #0f3e3b;
  --surface-sunk: #021f1d;
  --border: #1d4a47;
  --border-strong: #2d635f;

  --text: #e9f1ef;
  --text-muted: #9db4b1;
  --text-faint: #6d8c89;
  --text-inverse: #042624;

  --primary: #4fd4d8;
  --primary-hover: #86e6e9;
  --primary-soft: #0c3e40;
  --bright: #00b0b8;

  --kelp: #e0cf9a;
  --kelp-soft: #2e2b1c;

  --ocean-deep: #021f1d;

  --p-mint: #9ff1d5;
  --p-blue: #badee2;
  --p-cream: #ece4bf;
  --p-peach: #efcec6;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.35), 0 24px 56px rgba(0, 0, 0, 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #08191a;
    --surface: #0e2325;
    --surface-2: #143033;
    --surface-sunk: #061415;
    --border: #22474a;
    --border-strong: #336468;
    --text: #e9eae4;
    --text-muted: #9db3b0;
    --text-faint: #6b8785;
    --text-inverse: #08191a;
    --primary: #58b8ab;
    --primary-hover: #7fcdc1;
    --primary-soft: #123b39;
    --kelp: #d9a04a;
    --kelp-soft: #33271a;
    --ocean-deep: #040f10;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.35), 0 24px 56px rgba(0, 0, 0, 0.5);
  }
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  font-family: var(--fs-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Type ---------- */
h1,
h2 {
  font-family: var(--fs-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.004em;
  text-transform: uppercase;
  text-wrap: balance;
}
h3 {
  font-family: var(--fs-body);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 {
  font-size: var(--text-3xl);
}
h2 {
  font-size: var(--text-2xl);
}
h3 {
  font-size: var(--text-xl);
}
h4 {
  font-family: var(--fs-body);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
p {
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--fs-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
}
[data-theme='dark'] .eyebrow {
  color: var(--primary);
}
.lede {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--text-muted);
  font-weight: 400;
}
.muted {
  color: var(--text-muted);
}
.small {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.55;
}
.tiny {
  font-size: var(--text-xs);
  color: var(--text-faint);
  line-height: 1.5;
}

/* ---------- Layout ---------- */
.wrap {
  width: min(100% - var(--space-10), var(--wrap));
  margin-inline: auto;
}
@media (max-width: 640px) {
  .wrap {
    width: min(100% - var(--space-8), var(--wrap));
  }
}
.narrow {
  width: min(100%, var(--wrap-narrow));
  margin-inline: auto;
}
section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}
.section-sunk {
  background: var(--surface-sunk);
}
.section-surface {
  background: var(--surface);
}
.rule {
  height: 1px;
  background: var(--border);
  border: 0;
}

.section-head {
  max-width: 42rem;
  margin-bottom: var(--space-16);
}
.section-head .eyebrow {
  margin-bottom: var(--space-4);
}
.section-head p {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--text-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg {
  flex: none;
  transition: transform 0.25s var(--ease);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
[data-theme='dark'] .btn-primary {
  color: var(--ocean-deep);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-primary:hover svg {
  transform: translateX(3px);
}
.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--text);
  background: var(--surface-2);
}
.btn-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.btn-light:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
}
.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}
.textlink {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.textlink:hover {
  border-bottom-color: currentColor;
}
.textlink svg {
  transition: transform 0.2s var(--ease);
}
.textlink:hover svg {
  transform: translateX(3px);
}

/* ---------- Header ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr-inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  height: 76px;
}
.hdr.is-solid {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--border);
}
.hdr.is-over-media:not(.is-solid) {
  --hdr-fg: #fff;
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--hdr-fg, var(--text));
  flex: none;
}
.logo svg {
  width: 30px;
  height: 30px;
}
.logo-txt {
  font-family: var(--fs-body);
  font-weight: 700;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-left: auto;
}
.nav a.navlink {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--hdr-fg, var(--text-muted));
  opacity: 0.92;
  position: relative;
  padding-block: var(--space-2);
  transition: opacity 0.2s var(--ease);
}
.nav a.navlink::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width 0.25s var(--ease);
}
.nav a.navlink:hover {
  opacity: 1;
}
.nav a.navlink:hover::after {
  width: 100%;
}
.hdr .btn-primary {
  padding: var(--space-2) var(--space-5);
}
.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--hdr-fg, var(--text-muted));
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-btn:hover {
  background: color-mix(in srgb, currentColor 12%, transparent);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}
.nav-toggle {
  display: none;
}
@media (max-width: 940px) {
  .nav .navlink,
  .hdr .btn-primary {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
  .nav.is-open {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: var(--space-4) var(--space-6) var(--space-8);
  }
  .nav.is-open .navlink {
    display: block;
    color: var(--text);
    font-size: var(--text-lg);
    padding-block: var(--space-4);
    border-bottom: 1px solid var(--border);
  }
  .nav.is-open .btn-primary {
    display: inline-flex;
    justify-content: center;
    margin-top: var(--space-6);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(94svh, 900px);
  display: flex;
  align-items: flex-end;
  padding-block: 0 clamp(var(--space-16), 8vw, var(--space-24));
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 24s var(--ease) forwards;
}
@keyframes heroDrift {
  to {
    transform: scale(1);
  }
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(4, 20, 20, 0.62) 0%,
    rgba(4, 20, 20, 0.25) 38%,
    rgba(4, 20, 20, 0.72) 82%,
    rgba(4, 20, 20, 0.9) 100%
  );
}
.hero h1 {
  font-size: var(--text-hero);
  max-width: 16ch;
  margin-bottom: var(--space-6);
}
.hero h1 .accent {
  color: var(--p-mint);
}
.hero-sub {
  font-size: var(--text-lg);
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: var(--space-10);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: var(--space-8);
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.7);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 9px rgba(110, 231, 183, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(110, 231, 183, 0);
  }
}

/* ---------- Trust bar ---------- */
.trust {
  padding-block: var(--space-10);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-6), 4vw, var(--space-16));
  flex-wrap: wrap;
  justify-content: center;
}
.trust-label {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
}
.trust-item {
  font-family: var(--fs-body);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  opacity: 0.85;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-d='1'] {
  transition-delay: 0.08s;
}
.reveal[data-d='2'] {
  transition-delay: 0.16s;
}
.reveal[data-d='3'] {
  transition-delay: 0.24s;
}
.reveal[data-d='4'] {
  transition-delay: 0.32s;
}

/* ---------- Model / steps ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-24));
  align-items: center;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.steps {
  display: grid;
  gap: var(--space-8);
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  align-items: start;
}
.step-num {
  counter-increment: step;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-family: var(--fs-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  flex: none;
}
.step-num::before {
  content: '0' counter(step);
}
.step h4 {
  margin-bottom: var(--space-2);
}
.step p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* ---------- Metrics ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 860px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}
.metric {
  background: var(--surface);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
}
.metric-val {
  font-family: var(--fs-display);
  font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: var(--space-3);
  font-variant-numeric: tabular-nums;
}
.metric-val .unit {
  font-size: 0.45em;
  color: var(--text-muted);
  margin-left: 0.15em;
  letter-spacing: 0;
}
.metric-label {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.metric-note {
  font-size: var(--text-xs);
  color: var(--text-faint);
  line-height: 1.5;
}

/* ---------- Farm cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-8);
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.card-media {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
  background: var(--surface-sunk);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover .card-media img {
  transform: scale(1.05);
}
.card-flags {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  right: var(--space-4);
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.flag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px var(--space-3);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.94);
  color: #14211f;
  backdrop-filter: blur(6px);
}
.flag-live {
  background: #0b5a55;
  color: #fff;
}
.flag-new {
  background: #f0c98a;
  color: #4a3413;
}
.flag-soon {
  background: rgba(20, 33, 31, 0.78);
  color: #fff;
}
.card-score {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  display: flex;
  align-items: baseline;
  gap: 3px;
  padding: 6px var(--space-3);
  border-radius: 100px;
  background: rgba(7, 33, 31, 0.86);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 600;
}
.card-score b {
  font-family: var(--fs-body);
  font-weight: 700;
  font-size: 1rem;
  font-weight: 600;
}
.card-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-4);
}
.card-loc {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.card-loc svg {
  width: 13px;
  height: 13px;
  flex: none;
}
.card h3 {
  font-size: var(--text-lg);
  line-height: 1.15;
}
.card-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.chip {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--surface-sunk);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}
.price {
  font-family: var(--fs-display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.price small {
  font-family: var(--fs-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-faint);
  letter-spacing: 0;
  display: block;
  margin-top: 5px;
}
.price.tbc {
  font-size: var(--text-base);
  color: var(--text-muted);
  font-family: var(--fs-body);
}

/* ---------- Filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  padding-block: var(--space-6);
  border-block: 1px solid var(--border);
  margin-bottom: var(--space-12);
  position: sticky;
  top: 76px;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(12px);
  z-index: 40;
}
.filter-group {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.fbtn {
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-2) var(--space-4);
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.fbtn:hover {
  border-color: var(--border-strong);
  color: var(--text);
}
.fbtn.is-on {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
[data-theme='dark'] .fbtn.is-on {
  color: var(--ocean-deep);
}
.filter-count {
  margin-left: auto;
  font-size: var(--text-sm);
  color: var(--text-faint);
}

/* ---------- Standard pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 860px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}
.pillar {
  padding: var(--space-8);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-6);
}
.pillar-icon svg {
  width: 22px;
  height: 22px;
}
.pillar h4 {
  margin-bottom: var(--space-3);
}
.pillar p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}
.pillar ul {
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-2);
}
.pillar li {
  font-size: var(--text-xs);
  color: var(--text-faint);
  padding-left: var(--space-4);
  position: relative;
}
.pillar li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--kelp);
}

/* ---------- Detail page ---------- */
.detail-hero {
  position: relative;
  min-height: min(72svh, 660px);
  display: flex;
  align-items: flex-end;
  padding-block: var(--space-32) clamp(var(--space-12), 6vw, var(--space-20));
  color: #fff;
  overflow: hidden;
}
.detail-hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(4, 20, 20, 0.66) 0%,
    rgba(4, 20, 20, 0.2) 40%,
    rgba(4, 20, 20, 0.82) 100%
  );
}
.crumbs {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-6);
  display: flex;
  gap: var(--space-3);
  align-items: center;
}
.crumbs a:hover {
  color: #fff;
}
.detail-hero h1 {
  font-size: var(--text-2xl);
  max-width: 18ch;
  margin-bottom: var(--space-5);
}
.detail-hero .lede {
  color: rgba(255, 255, 255, 0.85);
  max-width: 52ch;
}

.keytable {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.keytable th,
.keytable td {
  text-align: left;
  padding: var(--space-4) var(--space-4);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.keytable th {
  font-weight: 600;
  color: var(--text-muted);
  width: 40%;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.keytable tr:last-child th,
.keytable tr:last-child td {
  border-bottom: 0;
}

.buybox {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: var(--space-8);
  box-shadow: var(--shadow);
  position: sticky;
  top: 104px;
}
.buybox .price {
  font-size: 2.25rem;
}
.qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
  width: fit-content;
}
.qty button {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: background 0.2s var(--ease);
}
.qty button:hover {
  background: var(--surface-sunk);
  color: var(--text);
}
.qty input {
  width: 68px;
  text-align: center;
  border: 0;
  background: transparent;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.impact-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
  border-bottom: 1px dashed var(--border);
  font-size: var(--text-sm);
}
.impact-row:last-of-type {
  border-bottom: 0;
}
.impact-row b {
  font-variant-numeric: tabular-nums;
}

.scorebar {
  display: grid;
  gap: var(--space-5);
}
.scoreline-head {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.scoreline-head span:last-child {
  font-variant-numeric: tabular-nums;
  color: var(--primary);
}
.track {
  height: 7px;
  border-radius: 100px;
  background: var(--surface-sunk);
  overflow: hidden;
  border: 1px solid var(--border);
}
.track i {
  display: block;
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--primary), var(--kelp));
  width: 0;
  transition: width 1.4s var(--ease);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-sunk);
}
.gallery img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery figure:hover img {
  transform: scale(1.04);
}
.gallery figcaption {
  font-size: var(--text-xs);
  color: var(--text-faint);
  padding: var(--space-3);
}

.sdg {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.sdg-chip {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: var(--text-xs);
  font-weight: 600;
  max-width: 260px;
}
.sdg-num {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--fs-body);
  font-weight: 700;
  font-size: 0.9rem;
  flex: none;
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--border);
}
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--fs-body);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.015em;
  transition: color 0.2s var(--ease);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--primary);
}
.faq summary .pm {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq summary .pm::before,
.faq summary .pm::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.faq summary .pm::before {
  width: 11px;
  height: 1.5px;
}
.faq summary .pm::after {
  width: 1.5px;
  height: 11px;
  transition: opacity 0.25s var(--ease);
}
.faq details[open] summary .pm {
  transform: rotate(180deg);
  border-color: var(--primary);
}
.faq details[open] summary .pm::after {
  opacity: 0;
}
.faq-body {
  padding-bottom: var(--space-8);
  max-width: 62ch;
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}
.faq-body p + p {
  margin-top: var(--space-4);
}

/* ---------- Quote ---------- */
.quote {
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
}
.quote blockquote {
  font-family: var(--fs-body);
  font-weight: 400;
  font-size: clamp(1.375rem, 1rem + 1.6vw, 2.125rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-8);
}
.quote cite {
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.quote cite b {
  display: block;
  color: var(--text);
  font-size: var(--text-base);
  margin-bottom: 2px;
}

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.cta img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 26, 25, 0.78);
}
.cta h2 {
  max-width: 20ch;
  margin: 0 auto var(--space-6);
}
.cta p {
  max-width: 50ch;
  margin: 0 auto var(--space-10);
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-lg);
}
.cta .hero-actions {
  justify-content: center;
}

/* ---------- Footer ---------- */
.ftr {
  background: var(--ocean-deep);
  color: rgba(255, 255, 255, 0.72);
  padding-block: var(--space-20) var(--space-10);
  font-size: var(--text-sm);
}
.ftr-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: var(--space-10);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
@media (max-width: 860px) {
  .ftr-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .ftr-grid {
    grid-template-columns: 1fr;
  }
}
.ftr .logo {
  color: #fff;
  margin-bottom: var(--space-5);
}
.ftr h5 {
  font-family: var(--fs-body);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-5);
  font-weight: 600;
}
.ftr ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}
.ftr a:hover {
  color: #fff;
}
.ftr-base {
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Notice ---------- */
.demo-note {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--kelp-soft);
  border-top: 1px solid var(--border);
  padding: var(--space-3) 0;
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
  line-height: 1.45;
}
body {
  padding-bottom: 52px;
}
@media (max-width: 560px) {
  body {
    padding-bottom: 68px;
  }
}
.demo-note b {
  color: var(--text);
}

.stack-4 > * + * {
  margin-top: var(--space-4);
}
.stack-6 > * + * {
  margin-top: var(--space-6);
}
.stack-8 > * + * {
  margin-top: var(--space-8);
}
.prose p {
  color: var(--text-muted);
  line-height: 1.75;
}
.prose p + p {
  margin-top: var(--space-5);
}
.prose h3 {
  margin-bottom: var(--space-4);
}

/* Farm card location: reserve two lines so titles align across the grid */
.cards .card-loc {
  min-height: 2.2em;
  align-items: flex-start;
}
.cards .card-loc svg {
  margin-top: 2px;
}

/* Keep the theme and menu buttons in the header bar while the mobile panel is open */
@media (max-width: 940px) {
  .nav.is-open [data-theme-toggle],
  .nav.is-open .nav-toggle {
    position: fixed;
    top: 19px;
    z-index: 101;
  }
  .nav.is-open [data-theme-toggle] {
    right: 62px;
  }
  .nav.is-open .nav-toggle {
    right: 16px;
  }
  .nav.is-open {
    max-height: calc(100svh - 76px);
    overflow-y: auto;
  }
}

/* ===========================================================
   Earthly-class refinements - real logo, Druk-class display
   =========================================================== */

.logo-img {
  height: 46px;
  margin-left: -6px;
  width: auto;
  display: block;
}
.logo .logo-img.on-dark { display: none; }
.hdr.is-over-media:not(.is-solid) .logo .logo-img.on-dark,
[data-theme='dark'] .logo .logo-img.on-dark,
.ftr .logo .logo-img.on-dark { display: block; }
.hdr.is-over-media:not(.is-solid) .logo .logo-img.on-light,
[data-theme='dark'] .logo .logo-img.on-light,
.ftr .logo .logo-img.on-light { display: none; }
@media (max-width: 720px) { .logo-img { height: 38px; } }

/* Anton sits optically large - nudge the scale and open the tracking a hair */
h1, h2 { font-feature-settings: 'kern' 1; }
.hero h1 { letter-spacing: 0.002em; line-height: 0.88; max-width: 18ch; }
.sec-head h2, .cta h2 { max-width: 24ch; }

/* Earthly-style eyebrow: dark, not coloured */
.eyebrow {
  color: var(--text);
  opacity: 0.55;
  letter-spacing: 0.16em;
}
.hero .eyebrow, .on-dark .eyebrow { color: var(--p-mint); opacity: 1; }

/* Pastel category cards, the Earthly buy-now device */
.pastels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--space-4);
}
.pastel {
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  color: #04302f;
}
.pastel h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.pastel p { font-size: var(--text-sm); line-height: 1.55; opacity: 0.78; }
.pastel .num {
  font-family: var(--fs-display);
  font-size: 2.5rem;
  line-height: 1;
  margin-top: auto;
  padding-top: var(--space-6);
}
.pastel.mint { background: var(--p-mint); }
.pastel.blue { background: var(--p-blue); }
.pastel.cream { background: var(--p-cream); }
.pastel.peach { background: var(--p-peach); }

/* Bright brand cyan reserved for dark surfaces */
.on-dark .btn-primary, .hero .btn-primary { background: var(--bright); color: #02201e; }
.on-dark .btn-primary:hover, .hero .btn-primary:hover { background: #2ec8cf; }

/* unit glyphs sit on the baseline, not below it */
.metric-val .unit {
  font-family: var(--fs-body);
  font-weight: 600;
  font-size: 0.34em;
  vertical-align: 0.62em;
  margin-left: 0.12em;
}
.logo-img { height: 50px; }
@media (max-width: 720px) { .logo-img { height: 40px; } }

/* ============================================================
   Network map, certificate, corporate dashboard
   ============================================================ */

/* --- Video media --- */
.hero-media video,
.media-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-media video {
  transform: scale(1.04);
  animation: heroDrift 30s var(--ease) forwards;
}
.media-video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-sunk);
  aspect-ratio: 16 / 10;
}
.media-video figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-8) var(--space-5) var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(180deg, rgba(4,32,31,0) 0%, rgba(4,32,31,0.78) 70%);
}

/* --- Map --- */
.mapwrap {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}
.mapbox {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #eef2f1;
  min-height: 520px;
}
#ckmap { position: absolute; inset: 0; }
.leaflet-container { font: inherit; background: #eef2f1; }
.leaflet-control-attribution { font-size: 10px; background: rgba(255,255,255,0.82); }
.leaflet-bar a {
  color: var(--text);
  border-bottom-color: var(--border);
}
.ckpin {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--pin, #006f74);
  color: #fff;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: -0.01em;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(4, 48, 47, 0.3);
  transition: transform 0.2s var(--ease);
}
.ckpin:hover { transform: scale(1.14); }
.ckpin-soon {
  background: #fff;
  color: var(--pin, #b08829);
  border-color: var(--pin, #b08829);
  font-size: 18px;
  line-height: 1;
}

.mapside {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
}
.mappanel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.mp-eyebrow {
  display: inline-block;
  font-size: var(--text-2xs, 0.6875rem);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-3);
}
.mappanel h3 { font-size: var(--text-lg); line-height: 1.15; }
.mp-loc { color: var(--text-muted); font-size: var(--text-sm); margin-top: var(--space-1); }
.mp-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin: var(--space-5) 0 var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mp-stats b {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.mp-stats span {
  display: block;
  font-size: var(--text-2xs, 0.6875rem);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.mp-land {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}
.mp-land svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--kelp); }
.mp-land b { color: var(--text); font-weight: 600; }
.mp-note { font-size: var(--text-sm); color: var(--text-faint); }

.maplist {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  max-height: 300px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: var(--space-2);
}
.mrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  text-align: left;
  padding: var(--space-3);
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: background 0.15s var(--ease);
}
.mrow:hover, .mrow.is-hot { background: var(--surface-sunk); }
.mrow.is-on { background: var(--primary-soft); }
.mrow-dot {
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--pin, #006f74); flex: none;
}
.mrow-txt { min-width: 0; flex: 1; }
.mrow-txt b { display: block; font-size: var(--text-sm); font-weight: 600; }
.mrow-txt i {
  display: block; font-style: normal;
  font-size: var(--text-xs); color: var(--text-faint);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mrow-sc {
  font-size: var(--text-sm); font-weight: 700;
  color: var(--primary); font-variant-numeric: tabular-nums;
}
.mapscope { display: flex; gap: var(--space-2); }
.mapscope button {
  font: inherit; font-size: var(--text-sm); font-weight: 500;
  padding: 0.45rem 1rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-muted); cursor: pointer;
  transition: all 0.15s var(--ease);
}
.mapscope button.is-on {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
@media (max-width: 900px) {
  .mapwrap { grid-template-columns: minmax(0, 1fr); }
  .mapbox { min-height: 480px; }
  .maplist { max-height: 260px; }
}

/* --- Certificate --- */
.cert {
  --cert-ink: #04302f;
  position: relative;
  background: #fffdf7;
  border: 1px solid #e6e0cd;
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 3.25rem);
  color: var(--cert-ink);
  box-shadow: 0 24px 60px -30px rgba(4, 48, 47, 0.35);
  overflow: hidden;
}
.cert::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid #ded7c0;
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}
.cert::after {
  content: '';
  position: absolute;
  right: -90px; top: -90px;
  width: 280px; height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(159, 241, 213, 0.5), rgba(159, 241, 213, 0) 68%);
  pointer-events: none;
}
.cert-inner { position: relative; }
.cert-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: var(--space-6); margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.cert-head img { width: 118px; height: auto; }
.cert-serial {
  text-align: right; font-size: var(--text-xs);
  color: #7d7a68; letter-spacing: 0.06em; line-height: 1.7;
}
.cert-eyebrow {
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: #8a6a2a;
}
.cert h3 {
  font-family: var(--fs-display);
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 0.95;
  text-transform: uppercase;
  margin: var(--space-3) 0 var(--space-5);
  max-width: 20ch;
}
.cert-name {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 600;
  padding-bottom: var(--space-3);
  border-bottom: 2px solid #ded7c0;
  margin-bottom: var(--space-6);
  max-width: 26rem;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-5);
  padding: var(--space-6) 0;
  border-top: 1px solid #e6e0cd;
  border-bottom: 1px solid #e6e0cd;
}
.cert-grid b {
  display: block; font-family: var(--fs-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1;
}
.cert-grid span {
  display: block; font-size: var(--text-2xs, 0.6875rem);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #7d7a68; margin-top: var(--space-2);
}
.cert-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: var(--space-6); flex-wrap: wrap; margin-top: var(--space-6);
}
.cert-sig { font-size: var(--text-sm); color: #55534a; line-height: 1.6; max-width: 34ch; }
.cert-sig b { display: block; color: var(--cert-ink); }
.cert-seal {
  display: grid; place-items: center; text-align: center;
  width: 96px; height: 96px; border-radius: 999px; flex: none;
  border: 2px solid #006f74; color: #006f74;
  font-size: 9px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; line-height: 1.35; padding: 8px;
}
.cert-tilt { perspective: 1400px; }
.cert-tilt .cert {
  transform: rotateX(4deg) rotateY(-4deg);
  transition: transform 0.6s var(--ease);
}
.cert-tilt:hover .cert { transform: rotateX(0) rotateY(0); }

/* --- Corporate dashboard --- */
.dash {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.dash-bar {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--border);
  background: var(--surface-sunk);
}
.dash-bar .dot { width: 9px; height: 9px; border-radius: 999px; background: var(--bright); }
.dash-bar b { font-size: var(--text-sm); font-weight: 600; }
.dash-bar span { margin-left: auto; font-size: var(--text-xs); color: var(--text-faint); }
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.dash-kpi {
  padding: var(--space-6);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.dash-kpi:last-child { border-right: 0; }
.dash-kpi b {
  display: block; font-family: var(--fs-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; color: var(--text);
}
.dash-kpi b span { display: inline; font-size: inherit; letter-spacing: 0; text-transform: none; color: inherit; margin: 0; }
.dash-kpi b .unit { font-size: 0.5em; margin-left: 2px; color: var(--text-muted); }
.dash-kpi > span {
  display: block; margin-top: var(--space-2);
  font-size: var(--text-2xs, 0.6875rem); letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--text-faint);
}
.dash-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--space-6);
  padding: var(--space-6);
}
.sat {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--surface-sunk);
}
.sat img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sat-tag {
  position: absolute; left: var(--space-3); top: var(--space-3);
  background: rgba(4, 32, 31, 0.82); color: #fff;
  font-size: var(--text-2xs, 0.6875rem); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.6rem; border-radius: 999px;
}
.sat-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--space-8) var(--space-4) var(--space-3);
  color: #fff; font-size: var(--text-xs);
  background: linear-gradient(180deg, rgba(4,32,31,0) 0%, rgba(4,32,31,0.8) 72%);
}
.satgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}
.lb { display: flex; flex-direction: column; gap: var(--space-1); }
.lb-row {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr) auto;
  gap: var(--space-3); align-items: center;
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
}
.lb-row:last-child { border-bottom: 0; }
.lb-rank { color: var(--text-faint); font-variant-numeric: tabular-nums; font-size: var(--text-xs); }
.lb-bar { position: relative; }
.lb-bar b { display: block; font-weight: 500; margin-bottom: 4px; }
.lb-bar i {
  display: block; height: 5px; border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--bright));
  width: 0; transition: width 1s var(--ease);
}
.lb-val { font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .dash-body { grid-template-columns: minmax(0, 1fr); }
}

/* --- Journey strip --- */
.journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  counter-reset: j;
}
.journey figure {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--surface-sunk);
}
.journey video, .journey img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
}
.journey figcaption {
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 0;
}
.journey figcaption b {
  display: block; font-size: var(--text-base); margin-bottom: var(--space-2);
}
.journey figcaption p { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.65; }
@media (max-width: 860px) { .journey { grid-template-columns: minmax(0, 1fr); } }

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
}
