
/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #F7F5F0;
  color: #1A1A18;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --green-deep:   #164A34;  /* = platform --sw-green-800 */
  --green-mid:    #1E5C41;  /* = platform --sw-green-700 / --am, exact match */
  --green-bright: #2E7A5A;  /* = platform --sw-green-600 */
  --green-light:  #F0F7F4;  /* = platform --sw-green-50 */
  --green-border: #A8D5C2;  /* = platform --sw-green-200 */
  --cream:        #F8F6F1;  /* = platform --bg0, exact match */
  --cream-dark:   #EDE9E1;  /* = platform --bg1, exact match */
  --ink:          #1A1A18;  /* = platform --t0 / --sw-text, exact match */
  --ink-mid:      #4A4842;  /* = platform --t1 */
  --ink-light:    #6B6860;  /* = platform --t2 / --sw-text-muted */
  --ink-ghost:    #9E9B94;  /* = platform --t3 / --sw-text-light */
  --amber:        #B87A1A;  /* = platform --sw-amber / --ex, Exercise journey color */
  --amber-light:  #FDF6E3;  /* = platform --sw-amber-bg */
  --border:       #D9D4C9;  /* = platform --sw-cream-border */
  --border-mid:   rgba(26,26,24,.07);
  --shadow-sm:    0 1px 3px rgba(14,61,43,.06), 0 1px 2px rgba(14,61,43,.04);
  --shadow-md:    0 4px 16px rgba(14,61,43,.08), 0 1px 4px rgba(14,61,43,.05);
  --shadow-lg:    0 12px 40px rgba(14,61,43,.12), 0 2px 8px rgba(14,61,43,.06);
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
}

/* ─── Typography ────────────────────────────────────────── */
.serif { font-family: 'DM Serif Display', Georgia, serif; }
.mono  { font-family: 'DM Mono', monospace; }

/* ─── Nav ───────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(247,245,240,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 20px; font-weight: 500;
  color: var(--ink); letter-spacing: -.02em;
  text-decoration: none;
}
.nav-logo span { color: var(--green-mid); font-style: italic; }

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px; color: var(--ink-mid); text-decoration: none;
  letter-spacing: .01em; transition: color .2s;
}
.nav-links a:hover { color: var(--green-mid); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.btn-ghost {
  font-size: 13px; color: var(--ink-mid); background: none;
  border: none; cursor: pointer; font-family: 'DM Sans', sans-serif;
  letter-spacing: .01em; transition: color .2s;
}
.btn-ghost:hover { color: var(--green-mid); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: 40px;
  background: var(--green-deep); color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 500;
  border: none; cursor: pointer; text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(14,61,43,.25);
}
.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(14,61,43,.3);
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 60px;
  position: relative; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(26,26,24,.025) 0, rgba(26,26,24,.025) 2px, transparent 2px, transparent 10px),
    #fff;
}
.hero-bg video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.hero-bg-overlay {
  display: none;
}

.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 64px;
  max-width: 720px;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px; border-radius: 40px;
  background: var(--green-light); border: 1px solid var(--green-border);
  font-size: 11px; font-weight: 500; color: #085041;
  letter-spacing: .06em; text-transform: uppercase;
  width: fit-content; margin-bottom: 28px;
  animation: fadeUp .6s ease both;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-bright);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.8); }
}

.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 400; line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink); margin-bottom: 22px;
  animation: fadeUp .6s .1s ease both;
}
.hero-headline em {
  font-style: italic; color: var(--green-mid);
  display: block;
}

.hero-sub {
  font-size: 16px; line-height: 1.7;
  color: var(--ink-mid); max-width: 420px;
  margin-bottom: 12px;
  animation: fadeUp .6s .2s ease both;
}

.hero-disc {
  font-size: 11px; line-height: 1.6; color: var(--ink-ghost);
  max-width: 420px; margin-bottom: 32px;
  padding-left: 12px;
  border-left: 2px solid var(--border);
  animation: fadeUp .6s .25s ease both;
}

.hero-ctas {
  display: flex; gap: 14px; align-items: center;
  animation: fadeUp .6s .3s ease both;
}
.btn-outline {
  font-size: 14px; color: var(--ink-mid); background: none;
  border: none; cursor: pointer; font-family: 'DM Sans', sans-serif;
  text-decoration: underline; text-underline-offset: 3px;
  transition: color .2s;
}
.btn-outline:hover { color: var(--green-mid); }
.hero-left .btn-outline:hover { color: #8FD9B8; }

/* ─── Platform-faithful recreation (exact values pulled from the real app) ── */
.pf-frame {
  width: 100%; max-width: 380px;
  border-radius: 14px; overflow: hidden;
  background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.pf-chrome {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px;
  background: #164A34; /* platform --sw-green-800 */
}
.pf-mark {
  width: 22px; height: 22px; border-radius: 5px;
  background: rgba(255,255,255,.16); color: #fff;
  font-family: 'DM Serif Display', serif; font-size: 11px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pf-url { font-family: 'DM Mono', monospace; font-size: 11px; color: rgba(255,255,255,.65); }
.pf-body { padding: 22px; background: #F8F6F1; }
.pf-card { background: #fff; border: 1px solid #D9D4C9; border-radius: 12px; padding: 20px; }
.pf-flex-between { display: flex; align-items: center; justify-content: space-between; }
.pf-section-label { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9E9B94; margin-bottom: 2px; }
.pf-title { font-family: 'DM Serif Display', serif; font-size: 15px; font-weight: 400; color: #1A1A18; }
.pf-badge-neutral { display: inline-flex; align-items: center; gap: 3px; background: #F8F6F1; color: #6B6860; border-radius: 20px; padding: 2px 9px; font-size: 10.5px; font-weight: 500; }
.pf-badge-active { display: inline-flex; align-items: center; gap: 3px; background: #F0F7F4; color: #1E5C41; border-radius: 20px; padding: 2px 9px; font-size: 10.5px; font-weight: 500; }
.pf-badge-up { display: inline-flex; align-items: center; gap: 3px; background: #E8F5EE; color: #1E6640; border-radius: 20px; padding: 2px 8px; font-size: 11px; font-weight: 500; }
.pf-hold-row { display: flex; align-items: center; gap: 13px; padding: 13px 4px; border-bottom: 1px solid rgba(217,212,201,.5); }
.pf-hold-row:last-of-type { border-bottom: none; }
.pf-hold-tile { width: 34px; height: 34px; border-radius: 9px; background: #F0F7F4; color: #1E5C41; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; }
.pf-hold-name { font-family: 'DM Serif Display', serif; font-size: 14px; color: #1A1A18; }
.pf-hold-sub { font-size: 10.5px; color: #6B6860; margin-top: 2px; }
.pf-hold-val { font-family: 'DM Mono', monospace; font-size: 12.5px; font-weight: 500; color: #1A1A18; }
.pf-btn-full { display: block; width: 100%; margin-top: 12px; background: #F0F7F4; color: #1E5C41; border: 1px solid #A8D5C2; border-radius: 7px; padding: 9px; font-family: 'DM Sans', sans-serif; font-size: 11.5px; font-weight: 500; text-align: center; text-decoration: none; }

/* ─── Product showcase ──────────────────────────────────── */
.showcase { background: var(--cream-dark); }
.showcase-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto;
  gap: 20px; margin-top: 36px;
}
.showcase-item-lg { grid-row: span 2; }
.showcase-caption { margin-top: 14px; }
.showcase-caption-title { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 3px; }
.showcase-caption-desc { font-size: 12.5px; color: var(--ink-mid); line-height: 1.6; }
@media (max-width: 860px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-item-lg { grid-row: auto; }
}

/* image/video placeholder for genuine media (e.g. a real demo recording) */

/* faithful recreation: dashboard transaction card + stepper */
.pf-stepper { display: flex; align-items: center; gap: 4px; margin-bottom: 18px; overflow-x: auto; }
.pf-step { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.pf-step-circle { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 600; }
.pf-step-circle.done { background: #1E5C41; color: #fff; }
.pf-step-circle.future { background: #F8F6F1; border: 1.5px solid #D9D4C9; color: #9E9B94; }
.pf-step-lbl { font-size: 10.5px; white-space: nowrap; }
.pf-step-line { flex: 1; height: 1px; min-width: 14px; margin: 0 4px; }
.pf-journey-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #1A5FAD; margin-bottom: 6px; }
.pf-grid5 { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; border-top: 1px solid #D9D4C9; padding-top: 14px; }
.pf-grid-lbl { font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em; color: #9E9B94; margin-bottom: 3px; }
.pf-grid-val { font-size: 12.5px; color: #1A1A18; }

/* faithful recreation: chart toggle chips */
.pf-chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.pf-chip-dot { width: 8px; height: 8px; border-radius: 50%; }


.media-caption { margin-top: 12px; text-align: center; }
.media-caption-title { font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 2px; }
.media-caption-desc { font-size: 11.5px; color: var(--ink-light); }

/* ─── Dashboard card */
.dashboard {
  width: 100%; max-width: 340px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.dash-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: var(--cream-dark);
  border-bottom: 1px solid var(--border-mid);
}
.dash-dot { width: 9px; height: 9px; border-radius: 50%; }
.dd-r { background: #FF5F57; }
.dd-y { background: #FEBC2E; }
.dd-g { background: #28C840; }
.dash-url {
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: var(--ink-ghost);
  margin-left: 8px;
}
.dash-head {
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--border-mid);
}
.dash-head-row { display: flex; justify-content: space-between; align-items: flex-start; }
.dash-title { font-size: 14px; font-weight: 500; color: var(--ink); }
.dash-date { font-size: 11px; color: var(--ink-ghost); margin-top: 2px; }
.dash-total { text-align: right; }
.dash-amount {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; font-weight: 500; color: var(--ink);
}
.dash-change {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11px; font-weight: 500;
  color: #27500A; background: #EAF3DE;
  padding: 2px 7px; border-radius: 8px; margin-top: 3px;
}

.holding {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-mid);
  transition: background .15s;
}
.holding:hover { background: var(--cream); }
.holding:last-of-type { border-bottom: none; }
.h-row { display: flex; justify-content: space-between; align-items: flex-start; }
.h-name { font-size: 13px; font-weight: 500; color: var(--ink); }
.h-shares { font-size: 11px; color: var(--ink-ghost); margin-top: 1px; }
.h-price { font-size: 13px; font-weight: 500; color: var(--ink); text-align: right; }
.h-est { font-size: 11px; color: var(--ink-ghost); text-align: right; margin-top: 1px; }

.status-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 500;
  padding: 2px 8px; border-radius: 20px;
  margin-top: 7px;
}
.st-active { background: var(--green-light); color: #085041; }
.st-bid    { background: #EAF3DE; color: #27500A; }
.st-watch  { background: #F0EEE8; color: #5A5A54; }
.st-dot { width: 4px; height: 4px; border-radius: 50%; }
.std-a { background: var(--green-bright); }
.std-b { background: #639922; }
.std-w { background: #8C8C84; }

.dash-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 18px;
  background: var(--cream-dark);
  border-top: 1px solid var(--border-mid);
}
.dash-footer-link {
  font-size: 12px; color: var(--green-mid);
  font-weight: 500; cursor: pointer;
  text-decoration: none;
}
.dash-footer-link:hover { text-decoration: underline; }
.dash-footer-time { font-size: 10px; color: var(--ink-ghost); }

/* Floating mini card */
.hero-mini-card {
  position: absolute; bottom: 80px; left: 40px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 12px 16px;
  box-shadow: var(--shadow-md);
  animation: floatUp 3s ease-in-out infinite;
  min-width: 180px;
}
@keyframes floatUp {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.mini-label { font-size: 10px; color: var(--ink-ghost); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }
.mini-val { font-family: 'DM Serif Display', serif; font-size: 18px; font-weight: 500; color: var(--ink); }
.mini-change { font-size: 11px; color: var(--green-bright); font-weight: 500; }

/* ─── Trust bar ─────────────────────────────────────────── */
.trust-bar {
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 64px;
  display: flex; align-items: center; gap: 48px;
  overflow: hidden;
}
.trust-intro { font-size: 11px; color: var(--ink-ghost); white-space: nowrap; flex-shrink: 0; text-transform: uppercase; letter-spacing: .08em; }
.trust-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.trust-stat {}
.ts-num {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; font-weight: 500; color: var(--ink);
}
.ts-desc { font-size: 11px; color: var(--ink-ghost); margin-top: 1px; }
.trust-divider { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

/* ─── Section commons ───────────────────────────────────── */
section { padding: 76px 64px; }
.section-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--green-mid); font-weight: 500; margin-bottom: 14px;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 400; line-height: 1.15;
  letter-spacing: -.02em; color: var(--ink);
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--green-mid); }
.section-sub {
  font-size: 15px; color: var(--ink-mid); line-height: 1.7;
  max-width: 520px;
}

/* ─── How it works — horizontal timeline ────────────────── */
.how { background: var(--cream-dark); overflow: hidden; }

.how-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; margin-bottom: 48px; align-items: end;
}
.how-header-right {
  font-size: 15px; color: var(--ink-mid); line-height: 1.75;
  padding-bottom: 4px;
}

.timeline-scroll { overflow-x: auto; padding-bottom: 8px; }
.timeline-scroll::-webkit-scrollbar { height: 3px; }
.timeline-scroll::-webkit-scrollbar-track { background: var(--border-mid); border-radius: 2px; }
.timeline-scroll::-webkit-scrollbar-thumb { background: var(--green-border); border-radius: 2px; }

.timeline {
  display: flex; align-items: flex-start;
  min-width: 900px; padding: 0 4px;
  position: relative;
}

/* connector line running through circle centres */
.timeline::before {
  content: '';
  position: absolute;
  top: 36px; /* half circle height */
  left: 36px;
  right: 36px;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--green-border) 0, var(--green-border) 6px,
    transparent 6px, transparent 14px
  );
  z-index: 0;
}

.tl-step {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; text-align: center;
  position: relative; z-index: 1;
}

.tl-num {
  font-size: 10px; font-weight: 500; color: var(--ink-ghost);
  letter-spacing: .08em; margin-bottom: 10px;
  font-family: 'DM Mono', monospace;
}

.tl-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px rgba(14,61,43,.2);
  transition: transform .2s, box-shadow .2s;
  flex-shrink: 0;
}
.tl-step:hover .tl-circle {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(14,61,43,.28);
}

/* SVG icons inside circles */
.tl-circle svg {
  width: 28px; height: 28px;
  stroke: var(--green-border); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.tl-title {
  font-size: 12px; font-weight: 500; color: var(--ink);
  margin-bottom: 6px; line-height: 1.3;
}
.tl-divider {
  width: 24px; height: 1px; background: var(--green-border);
  margin: 0 auto 8px;
}
.tl-desc {
  font-size: 11px; color: var(--ink-light); line-height: 1.6;
  max-width: 100px;
}

/* ─── Companies ─────────────────────────────────────────── */
.companies { background: var(--cream-dark); }
.companies-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 16px; }
.companies-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.company-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 22px;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.company-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.company-logo {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; margin-bottom: 14px;
  border: 1px solid var(--border-mid);
}
.company-name { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 2px; }
.company-type { font-size: 11px; color: var(--ink-ghost); margin-bottom: 14px; }
.company-price-wrap { position: relative; margin-bottom: 2px; }
.company-price {
  font-family: 'DM Serif Display', serif; font-size: 20px; font-weight: 400; color: var(--ink);
  filter: blur(6px); user-select: none; pointer-events: none;
  transition: filter .3s;
}
.company-change {
  font-size: 11px; color: #27500A;
  filter: blur(5px); user-select: none; pointer-events: none;
}
.price-gate {
  position: absolute; inset: -4px -8px;
  display: flex; align-items: center; justify-content: center;
}
.price-gate-btn {
  font-size: 10px; font-weight: 500; color: var(--green-mid);
  background: rgba(247,245,240,.92); border: 1px solid var(--green-border);
  border-radius: 20px; padding: 3px 10px; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  backdrop-filter: blur(4px);
  white-space: nowrap;
  transition: background .2s, color .2s;
  box-shadow: 0 1px 6px rgba(14,61,43,.1);
}
.price-gate-btn:hover { background: var(--green-light); color: var(--green-deep); }
.company-status { margin-top: 12px; }

/* ─── Team ──────────────────────────────────────────────── */
.team { background: var(--cream); }
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 36px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.team-photo {
  width: 100%; aspect-ratio: 4/3;
  background: var(--cream-dark);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
/* Subtle abstract placeholder — unique per card via nth-child */
.team-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 60%, var(--green-bright) 100%);
  opacity: .12;
}
.team-card:nth-child(2) .team-photo::before { background: linear-gradient(135deg, #1A3A5C 0%, #2A6090 60%, #5DCAA5 100%); }
.team-card:nth-child(3) .team-photo::before { background: linear-gradient(135deg, #3D2B1A 0%, #7A5230 60%, #D9A870 100%); }
.team-card:nth-child(4) .team-photo::before { background: linear-gradient(135deg, #2B1A3D 0%, #5A3070 60%, #AFA9EC 100%); }
.team-card:nth-child(5) .team-photo::before { background: linear-gradient(135deg, #1A3A2B 0%, #2E6B50 60%, #5DCAA5 100%); }
.team-card:nth-child(6) .team-photo::before { background: linear-gradient(135deg, #3A2A1A 0%, #7A5020 60%, #D9C070 100%); }

.team-avatar-ring {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--cream-dark);
  border: 2px solid rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  box-shadow: 0 2px 12px rgba(14,61,43,.15);
}
.team-avatar-initials {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; font-weight: 400;
  color: var(--green-deep);
}
.team-card:nth-child(2) .team-avatar-initials { color: #1A3A5C; }
.team-card:nth-child(3) .team-avatar-initials { color: #7A5230; }
.team-card:nth-child(4) .team-avatar-initials { color: #5A3070; }
.team-card:nth-child(5) .team-avatar-initials { color: #2E6B50; }
.team-card:nth-child(6) .team-avatar-initials { color: #7A5020; }

.team-info { padding: 20px 22px 22px; }
.team-name { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 3px; }
.team-role {
  font-size: 12px; color: var(--green-mid); font-weight: 500;
  margin-bottom: 10px; letter-spacing: .01em;
}
.team-bio { font-size: 12px; color: var(--ink-light); line-height: 1.65; margin-bottom: 16px; }
.team-links { display: flex; gap: 8px; }
.team-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 500; color: var(--ink-mid);
  text-decoration: none; padding: 4px 10px;
  border: 1px solid var(--border); border-radius: 20px;
  transition: all .15s;
}
.team-link:hover {
  border-color: var(--green-border);
  color: var(--green-mid);
  background: var(--green-light);
}
.team-link svg {
  width: 12px; height: 12px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ─── Services ──────────────────────────────────────────── */
.services { background: var(--cream); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 36px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 26px 26px;
  position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-deep), var(--green-bright));
  opacity: 0; transition: opacity .2s;
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg {
  width: 22px; height: 22px;
  stroke: var(--green-deep); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.service-title { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.service-desc { font-size: 13px; color: var(--ink-mid); line-height: 1.7; margin-bottom: 18px; }
.service-features { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.service-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12px; color: var(--ink-mid); line-height: 1.5;
}
.service-features li::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green-bright);
  flex-shrink: 0; margin-top: 6px;
}

/* ─── Who We Serve ──────────────────────────────────────── */
.who { background: var(--cream-dark); position: relative; overflow: hidden; }
.who::before { display: none; }
.who > * { position: relative; z-index: 1; }
.who .section-label { color: var(--green-mid); }
.who .section-title { color: var(--ink); }
.who .section-title em { color: var(--green-mid); }
.who .section-sub { color: var(--ink-mid); }

.who-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-top: 36px;
}
.who-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 30px 28px;
  transition: transform .2s, box-shadow .2s;
}
.who-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-border);
}
.who-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: var(--green-light);
  border: 1px solid rgba(93,202,165,.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.who-icon svg {
  width: 22px; height: 22px;
  stroke: var(--green-deep); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.who-title { font-size: 17px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.who-sub { font-size: 12px; color: var(--green-mid); font-weight: 500; margin-bottom: 12px; letter-spacing: .01em; }
.who-desc { font-size: 13px; color: var(--ink-mid); line-height: 1.7; margin-bottom: 18px; }
.who-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.who-tag {
  font-size: 11px; padding: 3px 10px; border-radius: 20px;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  color: var(--ink-light);
}

/* ─── CTA section ───────────────────────────────────────── */
.cta-section {
  background: #1C1C1A;
  padding: 100px 64px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(217,123,10,.07) 0%, transparent 70%);
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section .section-label { color: rgba(255,255,255,.35); }
.cta-section .section-title { color: #fff; max-width: 640px; margin: 0 auto 16px; }
.cta-section .section-title em { color: #C8A96E; }
.cta-section .section-sub { color: rgba(255,255,255,.5); margin: 0 auto 36px; }
.cta-section .hero-disc { color: rgba(255,255,255,.25); border-left-color: rgba(255,255,255,.1); margin: 20px auto 0; max-width: 560px; }

.btn-primary-light {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 40px;
  background: #C8A96E; color: #1C1C1A;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 500;
  border: none; cursor: pointer; text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(200,169,110,.25);
}
.btn-primary-light:hover {
  background: #D4B87A;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,169,110,.35);
}
.cta-actions { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; }
.btn-ghost-light {
  font-size: 14px; color: rgba(255,255,255,.6); background: none;
  border: 1px solid rgba(255,255,255,.15); border-radius: 40px;
  padding: 14px 28px;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: all .2s;
}
.btn-ghost-light:hover { border-color: rgba(255,255,255,.4); color: #fff; }

/* ─── Footer ────────────────────────────────────────────── */
footer {
  background: #1C1C1A;
  color: rgba(255,255,255,.45);
  padding: 56px 64px 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .nav-logo { color: #fff; display: block; margin-bottom: 12px; }
.footer-brand .nav-logo span { color: var(--green-bright); }
.footer-brand p { font-size: 13px; line-height: 1.65; max-width: 240px; }
.footer-col h4 { font-size: 12px; font-weight: 500; color: #fff; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.45); text-decoration: none; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: rgba(255,255,255,.85); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px; flex-wrap: wrap;
}
.footer-legal { font-size: 11px; line-height: 1.7; max-width: 680px; color: rgba(255,255,255,.3); }
.footer-links { display: flex; gap: 20px; flex-shrink: 0; }
.footer-links a { font-size: 11px; color: rgba(255,255,255,.3); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.6); }

/* ─── Subnav ─────────────────────────────────────────────── */
.subnav {
  position: fixed; top: 60px; left: 0; right: 0; z-index: 99;
  height: 40px;
  display: flex; align-items: center;
  padding: 0 48px;
  background: rgba(247,245,240,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav::-webkit-scrollbar { display: none; }

.subnav-links {
  display: flex; align-items: center; gap: 0;
  list-style: none; white-space: nowrap; min-width: max-content;
}
.subnav-links a {
  display: block;
  font-size: 12px; font-weight: 400;
  color: var(--ink-light);
  text-decoration: none;
  padding: 4px 14px;
  letter-spacing: .01em;
  position: relative;
  transition: color .2s;
}
.subnav-links a::after {
  content: '·';
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--ink-ghost); font-size: 10px;
}
.subnav-links li:last-child a::after { display: none; }
.subnav-links a:hover { color: var(--ink); }
.subnav-links a.active {
  color: var(--ink);
  font-weight: 500;
}
.subnav-links a.active::before {
  content: '';
  position: absolute; bottom: -5px; left: 14px; right: 14px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
}

/* shift hero padding to account for both nav + subnav */
.hero { padding-top: 0; }
body { padding-top: 0; }

@media (max-width: 900px) {
  .subnav { padding: 0 16px; top: 60px; }
}

/* ─── Animations ────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero-left { padding: 60px 24px 40px; max-width: 100%; }
  section { padding: 64px 24px; }
  .trust-bar { padding: 20px 24px; gap: 24px; }
  .trust-stats { gap: 24px; }
  .how-grid { grid-template-columns: 1fr; }
  .how-header { grid-template-columns: 1fr; gap: 20px; }
  .companies-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-section { padding: 64px 24px; }
}
@media (max-width: 560px) {
  .companies-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── Team photos (real headshots) ───────────────────────── */
/* Cards render an <img> when data/team.json supplies a photo, and fall
   back to the initials ring when it doesn't. */
.team-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
  z-index: 1;
}
.team-card:hover .team-photo img { transform: scale(1.03); }
.team-photo img { transition: transform .4s ease; }

/* ─── Legal pages (Privacy, Terms) shared tokens ─────────── */
:root {
  --nav-h: 60px;
}

/* ─── Footer disclosures (multi-paragraph legal block) ──── */
.footer-legal p { margin-bottom: 10px; }
.footer-legal p:last-child { margin-bottom: 0; }
.footer-legal a {
  color: rgba(255,255,255,.5);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.footer-legal a:hover { color: rgba(255,255,255,.85); }


/* On narrow screens the hero copy fills the full width, so the centred
   background placeholder would sit on top of the headline. */
@media (max-width: 900px) {
  .hero-bg-content { display: none; }
}

/* Trust bar: stack the label above the stats on narrow screens — the
   vertical dividers only make sense on a single row. */
@media (max-width: 900px) {
  .trust-bar { flex-direction: column; align-items: flex-start; gap: 18px; }
  .trust-stats { gap: 20px 36px; }
  .trust-divider { display: none; }
}

/* ─── Platform tour video (Services) ─────────────────────── */
.shot{margin:48px auto 0;max-width:1180px}
.shot-vid{position:relative;border-radius:14px;overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow-lg);background:#F8F6F1;aspect-ratio:1230/768}
.shot-vid video{display:block;width:100%;height:100%;object-fit:cover}
.shot-btn{position:absolute;right:14px;bottom:14px;opacity:0;transition:opacity .2s,background .15s}
.shot-vid:hover .shot-btn,.shot-btn:focus-visible{opacity:1}
@media (hover:none){.shot-btn{opacity:1}}
.shot figcaption{margin-top:12px;font-size:11.5px;line-height:1.6;color:var(--ink-light)}

/* ─── Video players ──────────────────────────────────────── */
.vplayer{position:relative;width:100%;aspect-ratio:16/9;border-radius:14px;overflow:hidden;
  border:1px solid var(--border);background:#ece9e0;box-shadow:var(--shadow-lg)}
.vplayer iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.vplayer-ctrls{position:absolute;right:12px;bottom:12px;display:flex;gap:8px;opacity:0;transition:opacity .2s}
.vplayer:hover .vplayer-ctrls,.vplayer:focus-within .vplayer-ctrls{opacity:1}
@media (hover:none){.vplayer-ctrls{opacity:1}}
.vplayer-btn{width:34px;height:34px;border-radius:50%;border:1px solid var(--border);background:rgba(255,255,255,.94);
  color:var(--ink);display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:var(--shadow-sm);transition:background .15s}
.vplayer-btn:hover{background:#fff}
.vplayer-btn:focus-visible{outline:2px solid var(--green-mid);outline-offset:2px}
.vplayer-btn svg{width:15px;height:15px;fill:currentColor}
.vplayer-btn[hidden]{display:none}
.vplayer:fullscreen{aspect-ratio:auto!important;max-width:none!important;width:100vw!important;height:100vh!important;border:0;border-radius:0;box-shadow:none}
.vplayer:-webkit-full-screen{aspect-ratio:auto!important;max-width:none!important;width:100vw!important;height:100vh!important;border:0;border-radius:0;box-shadow:none}
.how-video{margin-top:48px}

/* hero: the road fills the whole hero; it fades out under the text on the left */
.hero-bg{background:
  repeating-linear-gradient(45deg, rgba(26,26,24,.025) 0, rgba(26,26,24,.025) 2px, transparent 2px, transparent 10px),
  linear-gradient(180deg,#f8f6f1 0%,#f3f0e8 60%,#ede9e1 100%)}   /* same sky as the road, so the fade is seamless */
.hero-road{position:absolute;inset:0;z-index:0;width:auto;aspect-ratio:auto;border:0;border-radius:0;box-shadow:none;background:transparent}
.hero-road iframe{-webkit-mask-image:linear-gradient(90deg,transparent 0,transparent 32%,#000 58%);
  mask-image:linear-gradient(90deg,transparent 0,transparent 32%,#000 58%)}
.hero-road .vplayer-ctrls{opacity:.8;right:24px;bottom:24px}
.hero-road [data-act="restart"],.hero-road [data-act="full"]{display:none}
@media (max-width:900px){
  .hero{flex-direction:column;align-items:stretch}
  .hero-left{order:1}
  .hero-road{position:relative;inset:auto;order:2;width:auto;margin:0 24px 56px;aspect-ratio:16/9;
    border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-lg);background:#ece9e0}
  .hero-road iframe{-webkit-mask-image:none;mask-image:none}
  .hero-road [data-act="restart"],.hero-road [data-act="full"]{display:flex}
}

/* ─── Team without photos (TEAM_PHOTOS = false in main.js) ── */
.team-grid--text { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-card--text {
  padding: 22px 22px 20px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.team-card--text .team-head { display: flex; align-items: flex-start; gap: 14px; }
.team-monogram {
  flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-light);
  border: 1px solid var(--green-border);
  font-family: 'DM Serif Display', serif;
  font-size: 16px; color: var(--green-deep);
}
.team-card--text .team-name { line-height: 1.3; }
.team-card--text .team-role { margin-bottom: 0; line-height: 1.45; }
@media (max-width: 1100px) { .team-grid--text { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px)  { .team-grid--text { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .team-grid--text { grid-template-columns: 1fr; } }

/* With bios (data/team.json `bio`): two wider cards per row, text top-aligned */
.team-grid--text.team-grid--bios { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.team-grid--bios .team-card--text { justify-content: flex-start; gap: 16px; padding: 26px 28px 26px; }
.team-grid--bios .team-bio { margin-bottom: 0; line-height: 1.7; }
.team-grid--bios .team-bio p + p { margin-top: 10px; }
@media (max-width: 860px)  { .team-grid--text.team-grid--bios { grid-template-columns: 1fr; } }

/* ─── Readability on wide screens ───────────────────────────
   The copy was sized for a ~1280px window. On wide screens the sections
   ran edge to edge, so small text sat far apart while the embedded films
   (which scale with their width) grew huge next to it. The content column
   now stops at 1280px (backgrounds stay full width) and the smallest copy
   is a step larger everywhere. */
@media (min-width: 901px) {
  section,
  footer {
    padding-left: max(64px, calc((100% - 1280px) / 2));
    padding-right: max(64px, calc((100% - 1280px) / 2));
  }
}

body { font-size: 16px; }
.nav-links a { font-size: 14px; }
.hero-sub { font-size: 17px; }
.hero-disc { font-size: 12px; }
.trust-intro, .ts-desc { font-size: 12px; }
.section-label { font-size: 12px; }
.section-sub, .how-header-right { font-size: 16.5px; }

.tl-num { font-size: 11px; }
.tl-title { font-size: 14px; }
.tl-desc { font-size: 13px; max-width: 170px; }

.service-title { font-size: 17px; }
.service-desc { font-size: 14.5px; }
.service-features li { font-size: 13.5px; }

.company-name { font-size: 16px; }
.company-type { font-size: 12px; }

.who-title { font-size: 18px; }
.who-sub { font-size: 13px; }
.who-desc { font-size: 14.5px; }
.who-tag { font-size: 12px; }

.team-name { font-size: 17px; }
.team-role { font-size: 13px; }
.team-bio { font-size: 13.5px; }

.showcase-caption-title { font-size: 15px; }
.showcase-caption-desc, .shot figcaption { font-size: 13.5px; }

.footer-brand p, .footer-col a { font-size: 14px; }
.footer-legal, .footer-links a { font-size: 12px; }
