:root {
  --ink: #0a0a0a;
  --black: #000000;
  --paper: #ffffff;
  --muted: #6b7280;
  --line: #e2e2e2;
  --line-dark: #0a0a0a;
  --wash: #f5f6f7;
  --maxw: 1240px;
  --sans: "Geist", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
.inner { max-width: var(--maxw); margin: 0 auto; padding: 0 44px; }
.arr { display: inline-block; }

/* ---- LABELS ---- */
.eyebrow, .section-label, .stat-label, .tile-meta {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
}

/* ---- BUTTONS (rectangular, institutional) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 15px 26px;
  border: 1px solid var(--black);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--black); color: #fff; }
.btn-primary:hover { background: #2a2a2a; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-invert { background: #fff; color: var(--black); border-color: #fff; }
.btn-invert:hover { background: transparent; color: #fff; }

/* ---- NAV ---- */
.nav { border-bottom: 1px solid var(--line-dark); position: sticky; top: 0; background: var(--paper); z-index: 20; }
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { font-size: 20px; font-weight: 700; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links > a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color .15s;
}
.nav-links > a:not(.btn):hover { color: var(--muted); }

/* ---- HERO ---- */
.hero { padding: 120px 0 96px; border-bottom: 1px solid var(--line-dark); }
.eyebrow { display: block; margin-bottom: 30px; }
.hero h1 {
  font-size: clamp(40px, 5.6vw, 74px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: end;
}
.lede { font-size: 18px; line-height: 1.55; color: #333; max-width: 560px; letter-spacing: -0.01em; }
.hero-cta { justify-self: end; align-self: end; }

/* ---- STATS ---- */
.stats { border-bottom: 1px solid var(--line-dark); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 48px 30px 52px 0; display: flex; flex-direction: column; gap: 14px; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 30px; }
.stat-num { font-size: clamp(40px, 4.4vw, 58px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stat-sup { font-size: 0.45em; vertical-align: 0.7em; font-weight: 600; color: var(--muted); }
.stat-label { font-weight: 500; letter-spacing: 0.08em; }

/* ---- SECTION HEADINGS ---- */
.portfolio, .founder { padding: 84px 0 96px; border-bottom: 1px solid var(--line-dark); }
.section-head { margin-bottom: 48px; }
.section-label { display: block; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }

/* ---- PARTICIPATIONS (tiles) ---- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line); }
.tile {
  display: flex;
  flex-direction: column;
  padding: 34px 32px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 340px;
  background: var(--paper);
  transition: background .15s;
}
.tile:hover { background: var(--wash); }
.tile-meta { margin-bottom: 26px; }
.tile-name { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 16px; }
.tile-desc { font-size: 15px; line-height: 1.55; color: #444; flex: 1; }
.tile-link { font-size: 14px; font-weight: 600; color: var(--black); margin-top: 26px; display: inline-flex; gap: 6px; align-items: center; }
.tile:hover .tile-link .arr { transform: translate(2px, -2px); }
.tile-link .arr { transition: transform .15s; }

/* ---- FONDATEUR ---- */
.founder-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.founder-grid .section-head { margin-bottom: 0; }
.founder-body { max-width: 640px; }
.founder-lede { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; margin-bottom: 24px; }
.founder-body p:not(.founder-lede) { font-size: 16px; line-height: 1.6; color: #444; margin-bottom: 30px; }
.text-link { font-size: 15px; font-weight: 600; border-bottom: 2px solid var(--black); padding-bottom: 2px; display: inline-flex; gap: 6px; }
.text-link:hover { color: var(--muted); border-bottom-color: var(--muted); }

/* ---- CONTACT (black band) ---- */
.contact { background: var(--black); color: #fff; padding: 100px 0; }
.section-label.light { color: #9aa0a6; }
.contact-inner { display: flex; flex-direction: column; align-items: flex-start; }
.contact-title { font-size: clamp(34px, 4.6vw, 60px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; margin: 18px 0 20px; }
.contact-lede { font-size: 18px; color: #b8bcc2; margin-bottom: 40px; max-width: 560px; }

/* ---- FOOTER ---- */
.footer { padding: 52px 0 60px; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 40px; align-items: start; }
.brand-sm { font-size: 18px; font-weight: 700; letter-spacing: 0.02em; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.85; }
.footer-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.footer-links a { font-size: 14px; font-weight: 500; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .inner { padding: 0 22px; }
  .nav-inner { padding: 16px 22px; }
  .nav-links { gap: 16px; }
  .nav-links > a:not(.btn) { display: none; }

  .hero { padding: 68px 0 60px; }
  .hero h1 { margin-bottom: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .hero-cta { justify-self: start; }

  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat { padding: 30px 0 32px; }
  .stat + .stat { border-left: none; padding-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); padding-left: 24px; }

  .tiles { grid-template-columns: 1fr; border-left: none; }
  .tile { min-height: 0; border-left: 1px solid var(--line); }

  .portfolio, .founder { padding: 56px 0 64px; }
  .founder-grid { grid-template-columns: 1fr; gap: 22px; }
  .contact { padding: 68px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-links { align-items: flex-start; }
}
