/* ==========================================================================
   Vitalism — Design System
   Calm, clinical, and confident. One stylesheet shared by every page.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #f6f8fa;
  --surface: #ffffff;
  --surface-2: #eef3f7;
  --surface-3: #e3ebf2;

  /* Ink */
  --ink: #0e2233;
  --ink-2: #3e5266;
  --ink-3: #6b7d8f;
  --line: #dbe4ec;
  --line-strong: #c7d3de;

  /* Brand (from the Vitalism logo) */
  --brand: #2c6eaa;
  --brand-600: #235a8d;
  --brand-50: #eaf2fa;
  --brand-100: #d5e5f4;
  --teal: #2a8a84;
  --teal-50: #e5f3f2;
  --lime: #9dbb2f;
  --lime-bright: #b9d44c;
  --lime-50: #f1f6dc;

  /* Night (hero, CTA, footer) */
  --night: #0a1a29;
  --night-2: #10263a;
  --night-ink: #e8eff5;
  --night-ink-2: #a9b9c8;

  /* Shape */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(14, 34, 51, .06), 0 1px 1px rgba(14, 34, 51, .04);
  --shadow: 0 12px 32px -14px rgba(14, 34, 51, .22);
  --shadow-lg: 0 32px 64px -24px rgba(14, 34, 51, .32);

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --section-y: clamp(72px, 10vw, 128px);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); letter-spacing: -.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--brand);
  text-decoration: none;
  transition: color .2s var(--ease);
}
a:hover { color: var(--brand-600); }

strong { color: var(--ink); font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--lime-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--brand-100); color: var(--ink); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: calc(860px + var(--gutter) * 2); }

.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--surface-2); }
.section--white { background: var(--surface); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-3); font-size: 1.1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px var(--lime-50);
}
.eyebrow--light { color: var(--lime-bright); }
.eyebrow--light::before { box-shadow: 0 0 0 4px rgba(185, 212, 76, .18); }

.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--ink-2); }

.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.split--media-wide { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.split--text-wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split--reverse > :first-child { order: 2; }

@media (max-width: 900px) {
  .split, .split--media-wide, .split--text-wide { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

.stack > * + * { margin-top: 1em; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px rgba(44, 110, 170, .7); }
.btn--primary:hover { background: var(--brand-600); color: #fff; }

.btn--ghost { border-color: var(--line-strong); background: var(--surface); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--light { background: #fff; color: var(--night); }
.btn--light:hover { background: var(--lime-50); color: var(--night); }

.btn--outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .88rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(14, 34, 51, .4); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 48px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: .93rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink); background: var(--surface-2); }
.nav-link[aria-current="page"] { color: var(--brand); }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--lime);
}
.nav-link .chev { width: 14px; height: 14px; transition: transform .25s var(--ease); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -8px;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover .chev,
.has-dropdown:focus-within .chev { transform: rotate(180deg); }
.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-xs);
  color: var(--ink-2);
  font-size: .92rem;
  font-weight: 500;
}
.dropdown a:hover { background: var(--surface-2); color: var(--ink); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    max-height: calc(100dvh - var(--header-h));
    padding: 16px var(--gutter) 28px;
    overflow-y: auto;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; padding: 12px 14px; font-size: 1rem; }
  .nav-link[aria-current="page"] { background: var(--brand-50); }
  .nav-link[aria-current="page"]::after { display: none; }
  .nav-link .chev { display: none; }
  .dropdown {
    position: static;
    min-width: 0;
    padding: 0 0 6px 14px;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .dropdown::before { display: none; }
  .dropdown a { padding: 8px 14px; border-left: 2px solid var(--line); border-radius: 0; }
  .nav .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(880px, calc(100svh - var(--header-h)));
  padding-block: clamp(80px, 12vw, 140px) clamp(64px, 8vw, 96px);
  overflow: hidden;
  background: var(--night);
  color: var(--night-ink);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 26, 41, .96) 0%, rgba(10, 26, 41, .86) 38%, rgba(10, 26, 41, .35) 72%, rgba(10, 26, 41, .15) 100%),
    linear-gradient(0deg, rgba(10, 26, 41, .85) 0%, rgba(10, 26, 41, 0) 35%);
}
.hero__content { max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: 24px; font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--lime-bright), #7fd0c6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead { max-width: 560px; margin-bottom: 36px; color: var(--night-ink-2); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }

.vitals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.vitals li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--night-ink);
  font-size: .88rem;
  font-weight: 500;
}
.vitals li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime-bright);
}

@media (max-width: 760px) {
  .hero { align-items: flex-end; min-height: 640px; }
  .hero__bg { object-position: 78% center; opacity: .55; }
  .hero::before { background: linear-gradient(0deg, rgba(10, 26, 41, .98) 25%, rgba(10, 26, 41, .55) 100%); }
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(56px, 8vw, 112px) clamp(64px, 8vw, 112px);
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(42, 138, 132, .10), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(44, 110, 170, .10), transparent 60%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}
.page-hero__texture {
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  width: 100%;
  height: auto;
  opacity: .55;
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 20px; }
.page-hero h1 small {
  display: block;
  margin-top: 12px;
  color: var(--ink-3);
  font-size: .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}
.page-hero .lead { max-width: 620px; margin-bottom: 32px; }

.page-hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow-lg);
}
.page-hero__media img { width: 100%; }
.page-hero__media--plain { background: none; box-shadow: none; border-radius: 0; overflow: visible; }

/* Dark variant with a photo or video behind */
.page-hero--dark {
  background: var(--night);
  border-bottom: 0;
  color: var(--night-ink-2);
}
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lead { color: var(--night-ink-2); }
.page-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 26, 41, .94) 0%, rgba(10, 26, 41, .78) 50%, rgba(10, 26, 41, .45) 100%);
}
.page-hero--dark.is-centered { text-align: center; }
.page-hero--dark.is-centered .lead { margin-inline: auto; }
.page-hero--dark.is-centered .eyebrow { justify-content: center; }
.page-hero--tall { min-height: 560px; display: flex; align-items: center; }
.page-hero--tall > .container { width: 100%; }

/* --------------------------------------------------------------------------
   Media
   -------------------------------------------------------------------------- */
.frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.frame img { width: 100%; }
.frame--border { border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.frame--pad { padding: clamp(12px, 2vw, 24px); }

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night);
  box-shadow: var(--shadow-lg);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

figure { margin: 0; }
figcaption {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: .9rem;
  line-height: 1.5;
}

[data-zoom] { cursor: zoom-in; }

.zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(10, 26, 41, .72);
  color: #fff;
  font-size: .78rem;
  font-weight: 500;
  pointer-events: none;
}
.zoom-hint svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__media--wide { aspect-ratio: 16 / 10; }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 24px 26px 28px; flex: 1; }
.card__body h3 { margin: 0; }
.card__body p { color: var(--ink-3); font-size: .98rem; }
.card--flat:hover { transform: none; box-shadow: none; }

.icon-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.icon-card h3 { margin: 0; }
.icon-card p { color: var(--ink-3); font-size: .98rem; }

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand);
  flex: none;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--teal { background: var(--teal-50); color: var(--teal); }
.icon-badge--lime { background: var(--lime-50); color: #6b8318; }
.icon-badge img { width: 34px; height: 34px; }

.num {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   Home — intro & podcast
   -------------------------------------------------------------------------- */
.intro-text p { font-size: 1.06rem; }

.podcasts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(48px, 6vw, 72px);
}
.podcast {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.podcast h3 { margin: 0; font-size: 1.12rem; }
.podcast p { margin: 2px 0 0; color: var(--ink-3); font-size: .92rem; }
.podcast audio { grid-column: 1 / -1; width: 100%; height: 44px; }
@media (max-width: 760px) { .podcasts { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.mentor {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(157, 187, 47, .10), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow-sm);
}
.mentor__photo {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
}
.mentor__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.mentor h3 { margin-bottom: 4px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.mentor .role { color: var(--brand); font-weight: 600; margin-bottom: 20px; }
@media (max-width: 760px) {
  .mentor { grid-template-columns: 1fr; }
  .mentor__photo { max-width: 220px; }
}

.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .98rem;
  line-height: 1.55;
}
.check-list li:first-child { border-top: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a8a84' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 28px);
}
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 32px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member__photo {
  width: 148px;
  height: 148px;
  margin-bottom: 20px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 0 0 6px var(--surface), 0 0 0 7px var(--line);
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__photo.is-cutout img { transform: scale(1.18); }
.member h3 { margin: 0 0 2px; font-size: 1.18rem; }
.member .role { margin-bottom: 18px; color: var(--brand); font-size: .92rem; font-weight: 600; }
.member .role--muted { color: var(--ink-3); font-weight: 500; }
.member .more { margin-top: auto; padding-top: 18px; font-size: .92rem; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Showcase (UI/UX)
   -------------------------------------------------------------------------- */
.device-desktop {
  position: relative;
  max-width: 1040px;
  margin-inline: auto;
  padding: clamp(16px, 3vw, 40px) clamp(8px, 3vw, 40px) 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(70% 60% at 50% 45%, var(--brand-50), transparent 70%);
}
.device-desktop img { width: 100%; filter: drop-shadow(0 30px 40px rgba(14, 34, 51, .22)); }

.showcase-label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 24px;
}
.showcase-label .num { font-size: .85rem; }
.showcase-label h3 { margin: 0; }

.rail-wrap { position: relative; }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(200px, 22vw, 240px);
  gap: 24px;
  margin: 0;
  padding: 8px 4px 28px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.rail > li { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }

.phone {
  padding: 8px;
  border-radius: 34px;
  background: #0e1a26;
  box-shadow: var(--shadow);
}
.phone img { width: 100%; aspect-ratio: 430 / 932; object-fit: cover; border-radius: 27px; background: #fff; }
.rail figcaption { text-align: center; font-weight: 500; color: var(--ink-2); }

.rail-nav { display: flex; gap: 10px; }
.rail-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.rail-btn:hover { border-color: var(--brand); color: var(--brand); }
.rail-btn svg { width: 18px; height: 18px; }

.row-between {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c6eaa' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--brand-50); }
.faq .answer { padding: 0 24px 22px; color: var(--ink-2); }
.faq .answer ol { margin: .6em 0 0; padding-left: 1.2em; }
.faq .answer li { margin-bottom: .5em; }

/* --------------------------------------------------------------------------
   Steps (Technology)
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 28px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--brand-50);
}
.step__icon img { width: 40px; height: 40px; }
.step__num {
  color: var(--surface-3);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-3); font-size: .98rem; }

/* Technology hero visual */
.tech-visual { position: relative; max-width: 420px; margin-inline: auto; padding: 24px 0; }
.tech-visual__phone { width: 62%; margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(14, 34, 51, .25)); }
.tech-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 210px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.3;
}
.tech-tag::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.tech-tag--a { top: 14%; left: -8%; }
.tech-tag--b { bottom: 18%; left: -12%; }
.tech-tag--b::before { background: var(--teal); box-shadow: 0 0 0 4px var(--teal-50); }
.tech-tag--c { top: 44%; right: -10%; }
.tech-tag--c::before { background: var(--lime); box-shadow: 0 0 0 4px var(--lime-50); }
@media (max-width: 560px) {
  .tech-visual { padding-bottom: 0; }
  .tech-tag { position: static; margin: 8px auto 0; max-width: none; width: fit-content; }
  .tech-visual__phone { width: 55%; margin-bottom: 16px; }
}

/* --------------------------------------------------------------------------
   Stats (Problem)
   -------------------------------------------------------------------------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.stat__figure {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}
.stat__label { color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.stat p { color: var(--ink-3); font-size: .96rem; }

/* --------------------------------------------------------------------------
   Datasets & galleries
   -------------------------------------------------------------------------- */
.dataset {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.dataset + .dataset { margin-top: 28px; }
.dataset__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: start; margin-bottom: 28px; }
.dataset__head h3 { margin-bottom: 8px; font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.dataset__head p { color: var(--ink-3); max-width: 640px; }
.meta-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.meta-list li { padding: 5px 12px; border-radius: var(--radius-pill); background: var(--brand-50); color: var(--brand-600); font-size: .84rem; font-weight: 600; }
@media (max-width: 760px) { .dataset__head { grid-template-columns: 1fr; } }

.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); background: var(--surface-2); }
@media (max-width: 760px) { .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.docs-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 16px; margin-top: 24px; }
.docs-pair img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-xs); background: #fff; padding: 8px; }
@media (max-width: 520px) { .docs-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

/* Charts (Results) */
.chart-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); height: 100%; }
.chart-card img { width: 100%; border-radius: var(--radius-xs); }
.chart-card figcaption { margin-top: 16px; color: var(--ink-2); font-size: .95rem; }
.chart-card figcaption strong { display: block; margin-bottom: 2px; font-family: var(--font-display); }

/* Documents (Future work) */
.doc {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 100%;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.doc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.doc__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--brand-50); }
.doc__icon img { width: 32px; height: 32px; }
.doc__body { flex: 1; min-width: 0; }
.doc__body h3 { margin: 0 0 2px; font-size: 1.05rem; }
.doc__body p { margin: 0; color: var(--ink-3); font-size: .88rem; }
.doc__actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 560px) {
  .doc { flex-wrap: wrap; }
  .doc__actions { width: 100%; padding-left: 74px; }
}

/* Future work items */
.future { counter-reset: fw; display: grid; gap: clamp(20px, 3vw, 32px); }
.future-item {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(16px, 2vw, 20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.future-item:nth-child(even) { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.future-item:nth-child(even) .future-item__media { order: 2; }
.future-item__media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.future-item__media img { width: 100%; height: 100%; object-fit: cover; }
.future-item__media--contain img { object-fit: contain; background: #fff; }
.future-item__body { padding: 8px clamp(4px, 2vw, 24px); }
.future-item__body .num { display: block; margin-bottom: 10px; color: var(--brand); }
.future-item__body p { color: var(--ink-3); }
@media (max-width: 800px) {
  .future-item, .future-item:nth-child(even) { grid-template-columns: 1fr; }
  .future-item:nth-child(even) .future-item__media { order: 0; }
  .future-item__body { padding: 4px 6px 10px; }
}

/* Quote / conclusion panel */
.panel {
  position: relative;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 320px at 100% 0%, rgba(42, 138, 132, .14), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.panel p { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); }

.note {
  display: flex;
  gap: 18px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--brand-50);
  color: var(--ink-2);
}
.note p { margin: 0; }

.bullets { margin: 1em 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.bullets li { position: relative; padding-left: 26px; }
.bullets li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  isolation: isolate;
  padding-block: clamp(80px, 10vw, 128px);
  overflow: hidden;
  background: var(--night);
  color: var(--night-ink-2);
}
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 26, 41, .96) 0%, rgba(10, 26, 41, .88) 45%, rgba(10, 26, 41, .6) 100%);
}
.cta__inner { max-width: 640px; }
.cta h2 { color: #fff; }
.cta p { margin-bottom: 32px; font-size: 1.12rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--night); color: var(--night-ink-2); font-size: .95rem; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-block: 72px 56px;
}
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand .logo-chip {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: #fff;
}
.footer-brand .logo-chip img { height: 52px; width: auto; }
.footer-brand p { max-width: 320px; margin: 20px 0 24px; }
.qr { display: inline-flex; align-items: center; gap: 14px; color: var(--night-ink-2); font-size: .85rem; line-height: 1.4; }
.qr img { width: 84px; height: 84px; padding: 6px; border-radius: var(--radius-xs); background: #fff; }
.qr:hover { color: #fff; }

.footer-col h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--night-ink-2); }
.footer-col a:hover { color: #fff; }
.footer-col .btn--light,
.footer-col .btn--light:hover { color: var(--night); }
.footer-col p { margin: 0 0 16px; }

.social { display: flex; gap: 10px; margin-top: 8px; }
.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.social a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); }
.social img { width: 18px; height: 18px; filter: brightness(0) invert(1); opacity: .85; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(6, 15, 24, .9);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100dvh - 140px); object-fit: contain; border-radius: var(--radius-sm); background: #fff; }
.lightbox figcaption { color: #dfe7ee; text-align: center; }
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   Motion — gentle reveal (only when JS is available)
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .08s; }
.js [data-reveal-delay="2"] { transition-delay: .16s; }
.js [data-reveal-delay="3"] { transition-delay: .24s; }

/* Utilities */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: clamp(48px, 6vw, 80px); }
.text-center { text-align: center; }
.muted { color: var(--ink-3); }
