/* Jean de Dieu Ndayikeza — site styles
   Minimal: white page, black text, red only for highlights.
   Header and footer are black. One typeface (Inter). */

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --red: #d92d20;
  --red-dark: #b8231a;
  --line: #e8e8e8;       /* hairlines on white */
  --line-dark: #222222;  /* hairlines on black */
  --muted: #6b6b6b;      /* secondary text on white */
  --muted-dark: #9a9a9a; /* secondary text on black */
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }

/* ---------- language switch ---------- */
html[data-lang="fr"] [data-l="en"],
html:not([data-lang="fr"]) [data-l="fr"] { display: none !important; }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }

/* ---------- type ---------- */
.display {
  font-weight: 800; letter-spacing: -.035em;
  line-height: 1.02; margin: 0;
}
.h1 { font-size: clamp(44px, 7vw, 92px); }
.h2 { font-size: clamp(34px, 4.6vw, 60px); }
.h3 { font-size: clamp(26px, 3vw, 40px); }

/* highlights: red text, nothing more */
mark { background: none; color: var(--red); }

.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; max-width: 34em; color: var(--black); }
.small { font-size: 14px; color: var(--muted); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: var(--white);
  font-size: 15px; font-weight: 600;
  text-decoration: none; padding: 15px 24px; border-radius: 2px;
  transition: background .15s;
}
.btn:hover { background: var(--red-dark); }
.btn:focus-visible, .text-link:focus-visible, .nav a:focus-visible, .lang button:focus-visible, .link-row:focus-visible {
  outline: 2px solid var(--red); outline-offset: 3px;
}
.text-link {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 5px; text-decoration-color: var(--red);
}
.text-link:hover { color: var(--red); }

/* ---------- nav (black) ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--black); color: var(--white);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.brand {
  font-weight: 700; font-size: 15px; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
}
.brand span { color: var(--red); }
.nav-links { display: flex; gap: 28px; margin-left: auto; margin-right: 12px; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-links a {
  font-size: 14px; font-weight: 500; text-decoration: none; color: var(--muted-dark);
  padding: 4px 0; border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); border-color: var(--red); }
.lang { display: flex; gap: 2px; }
.lang button {
  font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .06em;
  background: none; border: 0; color: var(--muted-dark); padding: 6px; cursor: pointer;
}
.lang button[aria-pressed="true"] { color: var(--white); }
.nav .btn { padding: 9px 14px; font-size: 13px; white-space: nowrap; }

/* ---------- hero ---------- */
.hero { padding: 88px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero .lead { margin: 32px 0 36px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero-photo img { width: 100%; max-width: 440px; margin-left: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }

/* ---------- proof strip ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-item { padding: 36px 32px 38px 0; }
.proof-item + .proof-item { padding-left: 32px; border-left: 1px solid var(--line); }
.proof-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.proof-title { font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 4px; }

/* ---------- talks ---------- */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.section-head .lead { margin: 0; color: var(--muted); }
.rows { border-top: 1px solid var(--black); }
.row {
  display: grid; grid-template-columns: 64px 1fr 1.1fr; gap: 32px;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.row-num { font-weight: 600; font-size: 14px; color: var(--red); padding-top: 5px; font-variant-numeric: tabular-nums; }
.row-title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; margin: 0; }
.row p { margin: 0; color: var(--muted); }
.formats { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.formats-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.tag { font-size: 14px; border: 1px solid var(--line); padding: 5px 12px; border-radius: 2px; }

/* ---------- quote ---------- */
.quote { border-top: 1px solid var(--line); }
.quote .display { max-width: 16em; }
.quote .text-link { display: inline-block; margin-top: 40px; }

/* ---------- final CTA ---------- */
.final { padding: 112px 0; border-top: 1px solid var(--line); }
.final .lead { margin: 28px 0 36px; color: var(--muted); }
.final .small { margin-top: 16px; }
.final-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.final-photo { width: 100%; max-width: 400px; margin-left: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- footer (black) ---------- */
.footer { background: var(--black); color: var(--muted-dark); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding: 28px 24px; }
.footer a { text-decoration: none; }
.footer-social { display: flex; align-items: center; gap: 18px; }
.footer-social a { display: inline-flex; color: var(--muted-dark); padding: 4px; margin: -4px; transition: color .15s; }
.footer-social a:hover { color: var(--white); }
.footer-social a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; display: block; }

/* ---------- about: hero ---------- */
.about-hero { padding: 88px 0 96px; }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.about-hero .lead { color: var(--muted); }
.about-photo { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-width: 440px; margin-left: auto; }

/* ---------- about: route ---------- */
.route { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--black); }
.stop { padding: 24px 24px 8px 0; position: relative; }
.stop::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--black); }
.stop:last-child::before { background: var(--red); }
.stop-place { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }

/* ---------- about: why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pull { font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; margin: 0; }

/* ---------- about: chapters ---------- */
.chapter {
  display: grid; grid-template-columns: 180px 1fr; gap: 40px;
  padding: 36px 0; border-bottom: 1px solid var(--line);
}
.chapter-when { font-size: 13px; color: var(--muted); line-height: 1.7; }
.chapter-when b { display: block; color: var(--red); font-size: 14px; font-weight: 600; }
.chapter h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; margin: 0 0 10px; }
.chapter p { color: var(--muted); max-width: 38em; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chapter .text-link { display: inline-block; margin-top: 16px; font-size: 15px; }
.chapter-img { width: 100%; max-width: 340px; aspect-ratio: 4 / 5; object-fit: cover; margin-top: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .hero, .about-hero { padding: 56px 0 72px; }
  .hero-grid, .about-grid, .why-grid, .section-head, .final-grid { grid-template-columns: 1fr; }
  .hero-grid, .about-grid, .final-grid { gap: 40px; }
  .hero-photo img, .about-photo, .final-photo { margin: 0; max-width: 400px; }
  .section-head { gap: 20px; margin-bottom: 40px; }
  .why-grid { gap: 28px; }
  .route { grid-template-columns: 1fr 1fr; row-gap: 12px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-inner {
    height: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
    row-gap: 10px; column-gap: 12px; padding-top: 12px; padding-bottom: 12px;
  }
  .brand { grid-column: 1 / 3; grid-row: 1; font-size: 14px; }
  .nav-links { margin: 0; gap: 20px; grid-column: 1; grid-row: 2; }
  .nav-actions { display: contents; }
  .nav .btn { grid-column: 2; grid-row: 2; justify-self: end; }
  .nav .lang { grid-column: 2; grid-row: 1; justify-self: end; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item, .proof-item + .proof-item { padding: 24px 0; border-left: 0; }
  .proof-item + .proof-item { border-top: 1px solid var(--line); }
  .row { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
  .row-num { padding: 0; }
  .chapter { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .final { padding: 80px 0; }
  .footer-inner { padding: 24px 16px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .nav .btn { padding: 8px 10px; }
  .route { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- soft photos ----------
   Rounded corners and a quiet shadow so photos sit in the page
   instead of looking pasted on. The hero photo gets a pale red
   card behind it, slightly offset. */
:root { --radius: 24px; --red-soft: #fbe9e7; }
.hero-photo img, .about-photo, .final-photo, .chapter-img {
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 24px 48px -24px rgba(0,0,0,.28);
}
.chapter-img { border-radius: 18px; }
.hero-photo, .about-grid > div + .about-photo { position: relative; }
.hero-photo { display: flex; justify-content: flex-end; }
.hero-photo::before {
  content: ""; position: absolute; z-index: -1;
  width: min(100%, 440px); aspect-ratio: 4 / 5; right: -18px; top: 18px;
  background: var(--red-soft); border-radius: var(--radius);
}
.hero { position: relative; z-index: 0; overflow: hidden; }

/* match the softer corners elsewhere */
.btn { border-radius: 999px; }
.tag { border-radius: 999px; padding: 5px 14px; }

@media (max-width: 900px) {
  .hero-photo { justify-content: flex-start; }
  .hero-photo::before { width: min(100%, 400px); right: auto; left: 14px; top: 14px; }
  :root { --radius: 20px; }
}
