/* ===========================================================
   MEDIPASS — corporate site
   Tokens, layout grammar, components
   =========================================================== */

:root {
  /* Brand palette */
  --teal:        #006C91;
  --teal-700:    #015a78;
  --teal-300:    #4fa3bf;
  --purple:      #60435F;
  --purple-700:  #4d354c;
  --coral:       #60435F;
  --coral-600:   #4d354c;
  --mint:        #7CCCBF;
  --mint-100:    #e9f6f3;
  --mint-050:    #f6faf9;

  /* true brand coral — reserved for the "path" motif (the logo's dot) */
  --path-coral:  #FD8189;

  /* One shared deep tone for dark sections (band + footer) */
  --deep:        #073f53;

  /* Neutrals */
  --ink:         #1f2a2e;   /* near-black, slightly teal */
  --body:        #4b5358;
  --muted:       #7c868c;
  --line:        #e4ebe9;
  --paper:       #ffffff;
  --paper-2:     #f7faf9;

  /* Brand accents */
  --brand:       var(--teal);
  --brand-700:   var(--teal-700);
  --brand-soft:  var(--mint-100);

  /* Type */
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --maxw: 1160px;
  --gut: clamp(20px, 5vw, 56px);
  --sec-pad: clamp(72px, 11vw, 132px);
  --radius: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 1px 2px rgba(16,40,48,.05), 0 6px 18px rgba(16,40,48,.05);
  --shadow-md: 0 2px 6px rgba(16,40,48,.06), 0 18px 44px rgba(16,40,48,.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 800;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

a:focus-visible, .btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px; border-radius: 2px;
  background: var(--brand);
}

.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 22px rgba(96,67,95,.30);
}
.btn-primary:hover { background: var(--coral-600); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(96,67,95,.38); }
.btn-ghost {
  background: transparent;
  color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 30%, transparent);
}
.btn-ghost:hover { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 45%, transparent); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0f1719; transform: translateY(-2px); }

/* compact, refined nav CTA */
.nav-cta .btn-primary {
  padding: 9px 19px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: 0 3px 10px rgba(96,67,95,.20);
}
.nav-cta .btn-primary:hover { box-shadow: 0 6px 15px rgba(96,67,95,.28); }

/* ---------- Greece 2.0 funding banner ---------- */
.funding-banner {
  display: inline-flex;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(16,40,48,.10);
  transition: transform .18s ease, box-shadow .18s ease;
}
.funding-banner img { height: 44px; width: auto; display: block; }
.funding-banner:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(16,40,48,.18); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 1px 0 rgba(16,40,48,.02); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .logo { height: 46px; width: auto; display: block; }
.brand .mark { width: 38px; height: 26px; flex: none; }
.brand .word {
  font-weight: 800; font-size: 21px; letter-spacing: -.01em; color: var(--ink);
}
.brand .word b { color: var(--brand); font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 12px; }
.nav-links a {
  font-size: 15px; font-weight: 600; color: var(--body);
  padding: 9px 14px; border-radius: 10px; position: relative; white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-links a.active { color: var(--brand); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--coral);
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }

@media (max-width: 1000px) {
  .nav-links { display: none; }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 11px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--paper);
    cursor: pointer;
    flex: none;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .25s ease, opacity .2s ease;
  }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* dropdown menu panel */
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px var(--gut) 18px;
  }
  .nav.open .nav-links a { padding: 13px 14px; font-size: 16px; }

  .funding-banner img { height: 34px; }
}
@media (max-width: 420px) {
  .funding-banner img { height: 28px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(64px, 9vw, 110px);
  padding-bottom: clamp(64px, 9vw, 120px);
  background:
    radial-gradient(120% 90% at 12% 0%, var(--mint-100) 0%, transparent 52%),
    linear-gradient(180deg, var(--mint-050) 0%, var(--paper) 66%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
/* let items shrink below min-content: the PATH card's top bar would
   otherwise force the single-column track wider than small viewports */
.hero-grid > * { min-width: 0; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 78px);
  letter-spacing: -.035em;
  margin-bottom: 22px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--teal) 5%, var(--purple) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { max-width: 30ch; margin-bottom: 34px; font-size: clamp(19px, 2.3vw, 23px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta {
  margin-top: 38px; display: flex; gap: 30px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.hero-meta .k { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.hero-meta .v { font-size: 16px; color: var(--ink); font-weight: 700; margin-top: 2px; }

/* hero visual: the path motif, large */
.hero-art { position: relative; }
.hero-art .panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  padding: 30px;
}
.hero-art .path-illus { width: 100%; height: auto; }

/* PATH product preview card — mirrors the live tool */
.app-peek { padding: 0; overflow: hidden; background: #f8fbfb; }
.peek-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  background: #fff;
}
.peek-knows {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--teal);
  white-space: nowrap;
}
.peek-knows svg { width: 15px; height: 15px; }
.peek-ctx { font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.peek-edit { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--teal); white-space: nowrap; }

.peek-msg { display: flex; gap: 13px; padding: 22px 20px 18px; align-items: flex-start; }
.peek-av {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--deep); color: var(--coral);
  display: grid; place-items: center;
}
.peek-av svg { width: 19px; height: 19px; }
.peek-msg-body { flex: 1; min-width: 0; }
.peek-meta { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 8px; letter-spacing: .01em; }
.peek-bubble {
  background: var(--mint-100); color: var(--ink);
  font-size: 15px; line-height: 1.5;
  padding: 14px 16px; border-radius: 4px 14px 14px 14px;
  border: 1px solid var(--line);
}

/* typing indicator → message reveal (one-time, JS-driven) */
.peek-typing { display: inline-flex; gap: 5px; align-items: center; padding: 5px 0; }
.peek-typing i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal-300);
  animation: peek-blink 1s infinite ease-in-out;
}
.peek-typing i:nth-child(2) { animation-delay: .18s; }
.peek-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes peek-blink {
  0%, 80%, 100% { opacity: .25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}
.peek-text { display: block; animation: peek-fade .5s ease; }
@keyframes peek-fade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
/* scenario rotation: fade context, message and chips together */
.peek-ctx, .peek-chips, .peek-bubble { transition: opacity .4s ease; }
.peek-dim { opacity: 0; }

.peek-suggest { padding: 4px 20px 18px; }
.peek-sg-label { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.peek-chips { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.peek-chip {
  font-size: 13.5px; font-weight: 500; color: var(--ink);
  background: #fff; border: 1px solid var(--line);
  padding: 9px 15px; border-radius: 13px; line-height: 1.3;
  transition: border-color .18s ease, background .18s ease;
}
.peek-chip:hover { border-color: color-mix(in srgb, var(--teal) 40%, var(--line)); background: var(--mint-050); }

.peek-input {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-top: 1px solid var(--line); background: #fff;
}
.peek-doc {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted);
}
.peek-doc svg { width: 18px; height: 18px; }
.peek-ph { flex: 1; font-size: 14.5px; color: #9aa0a4; }
.peek-send {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: var(--coral); color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(96,67,95,.30);
}
.peek-send svg { width: 18px; height: 18px; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; }
}

/* ---------- Section scaffolding ---------- */
section[id] { scroll-margin-top: 84px; }
.section { padding-block: var(--sec-pad); }
.section.alt { background: var(--paper-2); }
.section.brandband { background: var(--deep); color: #cfe2e6; }

.sec-head { max-width: 60ch; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 48px); margin: 16px 0 0; }
.sec-head .lead { margin-top: 18px; }

/* ---------- About / Mission ---------- */
.mission-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.mission-grid .big {
  font-size: clamp(24px, 3.2vw, 34px); line-height: 1.32; font-weight: 600;
  color: var(--ink); letter-spacing: -.015em; text-wrap: balance;
}
.mission-grid .big em { font-style: normal; color: var(--brand); }
.mission-points { display: grid; gap: 22px; margin-top: 4px; }
.mp { display: flex; gap: 16px; }
.mp .dot { flex: none; width: 30px; height: 30px; margin-top: 2px; }
.mp h4 { font-size: 18px; margin-bottom: 4px; }
.mp p { font-size: 16px; color: var(--body); }
@media (max-width: 820px){ .mission-grid { grid-template-columns: 1fr; } }

/* ---------- Flagship ---------- */
.flagship {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 56px);
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.flagship::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 100% 0%, var(--mint-100) 0%, transparent 60%);
  pointer-events: none;
}
.flagship > * { position: relative; }
.flag-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal); background: var(--mint-100);
  padding: 7px 13px; border-radius: 999px;
}
.flagship h3 { font-size: clamp(28px, 3.6vw, 40px); margin: 18px 0 14px; }
.flagship p { font-size: 18px; max-width: 46ch; }
.flag-stats { margin: 26px 0 18px; display: flex; gap: 18px; flex-wrap: wrap; }
.fstat { flex: 1 1 180px; padding: 16px 18px; border-radius: 14px; background: var(--mint-050); border: 1px solid var(--line); }
.fstat .num {
  display: block; font-size: clamp(34px, 5vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1;
  color: var(--teal);
}
.fstat .lbl { display: block; margin-top: 8px; font-size: 13.5px; color: var(--body); line-height: 1.35; }
.principles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.prin {
  font-size: 13px; font-weight: 600; color: var(--body);
  background: var(--paper-2); border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px;
}
.flag-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.flag-visual {
  border-radius: 20px; padding: 30px;
  background: linear-gradient(160deg, var(--mint-050), #fff);
  border: 1px solid var(--line);
}
.flag-wordmark {
  position: absolute; z-index: 1;
  right: clamp(28px, 4vw, 56px); bottom: clamp(36px, 4.6vw, 62px);
  display: inline-flex; align-items: center;
}
.flag-wordmark img { height: clamp(32px, 4vw, 40px); width: auto; display: block; }
@media (max-width: 820px){
  .flag-wordmark { position: static; margin-top: 24px; justify-content: flex-start; }
}
@media (max-width: 820px){ .flagship { grid-template-columns: 1fr; } }

/* ---------- How it works pipeline ---------- */
.pipeline { margin-top: clamp(28px, 4vw, 48px); }
.pipe-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.pipe-kicker {
  font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal);
}
.pipe-sub { font-size: 15px; font-weight: 600; color: var(--muted); }
.pipe-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.pipe-step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.pipe-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pipe-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--mint-100); color: var(--teal);
  display: grid; place-items: center;
}
.pipe-ic svg { width: 22px; height: 22px; }
.pipe-num { font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--teal-300); }
.pipe-step h4 { font-size: 18px; margin-bottom: 6px; }
.pipe-step p { font-size: 14.5px; color: var(--body); line-height: 1.55; }
.pipe-step:not(:last-child)::after {
  content: "→";
  position: absolute; top: 50%; right: -13px; transform: translate(50%, -50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--coral);
  font-size: 14px; font-weight: 700;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}
@media (max-width: 820px) {
  .pipe-steps { grid-template-columns: 1fr; }
  .pipe-step:not(:last-child)::after {
    content: "↓";
    top: auto; bottom: -13px; right: 50%; transform: translate(50%, 50%);
  }
}

/* ---------- Journey thread (drawn on scroll) ---------- */
main { position: relative; }
.hero .wrap, .section .wrap { position: relative; z-index: 1; }
.journey-thread { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.journey-thread .line { fill: none; stroke: var(--path-coral); stroke-width: 2.5; opacity: .38; }
.journey-thread .hex { fill: none; stroke: var(--path-coral); stroke-width: 2.5; opacity: .55; }

/* ---------- Work card grid ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: clamp(18px, 2vw, 26px);
}
@media (max-width: 980px){ .cards { --cols: 2 !important; } }
@media (max-width: 620px){ .cards { --cols: 1 !important; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  min-height: 220px;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 22%, var(--line)); }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.card .ic svg { width: 24px; height: 24px; }
.card h4 { font-size: 21px; }
.card p { font-size: 15.5px; color: var(--body); flex: 1; }
.card.placeholder { border-style: dashed; background: var(--paper-2); }
.card.placeholder .ic { background: #eef2f1; color: var(--muted); }
.tag {
  align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted); background: var(--paper-2); border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 7px;
}
.tag.teal { color: var(--teal); background: var(--mint-100); border-color: transparent; }
.tag.coral { color: var(--teal); background: var(--mint-100); border-color: transparent; }
.tag.muted { color: var(--muted); background: var(--paper-2); }

/* ---------- Backed-by band ---------- */
.brandband .wrap { text-align: center; }
.brandband h2 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); }
.brandband .lead { color: #d6eaef; max-width: 56ch; margin: 16px auto 0; }
.logos {
  margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 18px;
}
.logo-slot {
  height: 84px; min-width: 200px; flex: 0 1 230px;
  display: grid; place-items: center;
  border: 1.5px dashed rgba(255,255,255,.32); border-radius: 14px;
  background: rgba(255,255,255,.07); color: #eaf3f5;
}
.logo-slot.filled { border-style: solid; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.12); }
.logo-slot.banner-slot { border: none; background: none; padding: 0; min-width: 0; flex: 0 1 auto; }
.logo-slot.banner-slot .funding-banner { border-radius: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.22); }
.logo-slot.banner-slot .funding-banner img { height: 84px; max-width: 100%; }
@media (max-width: 560px) {
  .logo-slot.banner-slot { width: 100%; }
  .logo-slot.banner-slot .funding-banner img { height: auto; width: 100%; }
}
.logo-slot .egg { display: flex; align-items: center; gap: 12px; }
.logo-slot .egg .o { width: 38px; height: 46px; border-radius: 50% 50% 50% 50%/60% 60% 40% 40%; background: #fff; }
.logo-slot .egg .t { text-align: left; line-height: 1.1; }
.logo-slot .egg .t b { display: block; font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.logo-slot .egg .t span { font-size: 12px; color: #cfe6ec; letter-spacing: .04em; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2vw, 26px); }
@media (max-width: 980px){ .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .team-grid { grid-template-columns: 1fr; max-width: 360px; } }
.person { display: flex; flex-direction: column; gap: 16px; }
.person .photo {
  aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(155deg, var(--mint-100), var(--paper-2));
  display: grid; place-items: center; position: relative; border: 1px solid var(--line);
}
.person .photo .initials { font-size: 44px; font-weight: 800; color: color-mix(in srgb, var(--teal) 42%, #cdd8d6); letter-spacing: -.02em; }
.person .nm { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.person .role { font-size: 13.5px; font-weight: 700; color: var(--brand); letter-spacing: .01em; margin-top: 3px; }
.person .role .epithet { display: block; font-weight: 600; font-style: italic; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.person .bio { font-size: 14.5px; color: var(--body); margin-top: 9px; line-height: 1.5; }

.advisors { margin-top: clamp(40px, 5vw, 64px); }
.advisors .alabel { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.adv-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 760px){ .adv-row { grid-template-columns: repeat(2, 1fr); } }
.adv {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 16px; border: 1px dashed var(--line); border-radius: 12px; background: var(--paper);
}
.adv .av { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.adv .at b { display: block; font-size: 15px; color: var(--ink); }
.adv .at span { font-size: 13px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 28px); }
@media (max-width: 760px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3.4vw, 42px);
  background: var(--paper); position: relative; overflow: hidden;
}
.contact-card.invest { background: linear-gradient(160deg, var(--mint-050), #fff); }
.contact-card.partner { background: linear-gradient(160deg, var(--paper-2), #fff); }
.contact-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; }
.contact-card .ic svg { width: 23px; height: 23px; }
.contact-card h3 { font-size: 24px; margin-bottom: 10px; }
.contact-card p { font-size: 16px; color: var(--body); margin-bottom: 22px; max-width: 38ch; }
.maillink {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; color: var(--brand); font-size: 17px;
}
.maillink svg { width: 17px; height: 17px; }
.maillink:hover { color: var(--teal-700); }

/* ---------- Footer ---------- */
.footer { background: var(--deep); color: rgba(255,255,255,.72); padding-block: clamp(56px, 7vw, 88px); }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.footer-brand { padding-right: 12px; }
.footer-links { display: contents; }
.footer .logo-chip { display: inline-flex; background: #fff; border-radius: 14px; padding: 12px 18px; box-shadow: 0 6px 20px rgba(0,0,0,.22); }
.footer .logo-chip img { height: 32px; width: auto; display: block; }
.footer-tagline {
  margin-top: 28px; font-family: "Newsreader", Georgia, serif; font-style: italic;
  font-size: clamp(26px, 2.6vw, 34px); line-height: 1.18; color: #fff; letter-spacing: .005em;
}
.footer-col h5 { font-size: 17px; color: #fff; margin: 0 0 22px; font-weight: 700; letter-spacing: -.01em; }
.footer-col a { display: block; font-size: 16px; color: rgba(255,255,255,.72); padding: 8px 0; transition: color .18s ease; width: fit-content; }
.footer-col a:hover { color: #fff; }
.footer-addr { font-size: 16px; color: rgba(255,255,255,.72); margin-top: 8px; line-height: 1.6; }
.footer-bottom {
  margin-top: clamp(48px, 6vw, 76px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,.16);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 14.5px; color: rgba(255,255,255,.6);
}
.footer-bottom .legal a { color: rgba(255,255,255,.72); transition: color .18s ease; }
.footer-bottom .legal a:hover { color: #fff; }
.footer-bottom .muted-legal { color: rgba(255,255,255,.45); }
@media (max-width: 860px){
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px){
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

/* ---------- reveal on scroll ---------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-ready .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal-ready .reveal { opacity: 1; transform: none; transition: none; } }
