/* ============================================================
   Julien Chardon — site personnel
   Système de thèmes via [data-theme] + variables CSS
   ============================================================ */

/* ---------- Thème par défaut : Éditorial Ivoire ---------- */
:root,
[data-theme="ivoire"] {
  --bg:        oklch(0.966 0.008 85);
  --bg-2:      oklch(0.935 0.012 84);
  --surface:   oklch(0.992 0.004 85);
  --ink:       oklch(0.245 0.012 58);
  --ink-2:     oklch(0.452 0.013 60);
  --ink-3:     oklch(0.518 0.012 62);
  --line:      oklch(0.865 0.012 80);
  --line-strong: oklch(0.78 0.014 78);
  --accent:    oklch(0.50 0.078 156);
  --accent-soft: oklch(0.50 0.078 156 / 0.10);
  --accent-ink: oklch(0.985 0.01 90);
  --shadow:    0 1px 2px oklch(0.2 0.02 60 / 0.05), 0 18px 40px -24px oklch(0.2 0.02 60 / 0.28);
}

/* ---------- Nuit Premium ---------- */
[data-theme="nuit"] {
  --bg:        oklch(0.205 0.012 74);
  --bg-2:      oklch(0.243 0.013 74);
  --surface:   oklch(0.262 0.013 74);
  --ink:       oklch(0.945 0.010 86);
  --ink-2:     oklch(0.745 0.012 84);
  --ink-3:     oklch(0.60 0.012 82);
  --line:      oklch(0.345 0.013 76);
  --line-strong: oklch(0.43 0.014 76);
  --accent:    oklch(0.74 0.115 156);
  --accent-soft: oklch(0.74 0.115 156 / 0.14);
  --accent-ink: oklch(0.18 0.02 150);
  --shadow:    0 1px 2px oklch(0 0 0 / 0.3), 0 24px 50px -28px oklch(0 0 0 / 0.6);
}

/* ---------- Corporate Clair ---------- */
[data-theme="clair"] {
  --bg:        oklch(0.985 0.004 240);
  --bg-2:      oklch(0.955 0.007 240);
  --surface:   oklch(1 0 0);
  --ink:       oklch(0.285 0.030 252);
  --ink-2:     oklch(0.500 0.022 250);
  --ink-3:     oklch(0.530 0.018 248);
  --line:      oklch(0.895 0.010 242);
  --line-strong: oklch(0.82 0.014 244);
  --accent:    oklch(0.52 0.072 205);
  --accent-soft: oklch(0.52 0.072 205 / 0.10);
  --accent-ink: oklch(0.99 0.005 230);
  --shadow:    0 1px 2px oklch(0.3 0.04 250 / 0.06), 0 18px 44px -26px oklch(0.3 0.06 250 / 0.30);
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --font-display: "Newsreader", Georgia, serif;
  --font-sans: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 72px);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Étiquette mono (eyebrow) ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--line-strong);
}
.eyebrow.no-rule::before { display: none; }

/* ---------- Titres ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}

h2.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.012em;
}

.lead {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
}

em.ital { font-style: italic; color: var(--ink); }
.accent-text { color: var(--accent); }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
  padding-block: 13px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand .monogram {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.02em;
}
.brand .b-name { font-size: 15.5px; white-space: nowrap; }
.brand .b-name span { color: var(--ink-3); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  white-space: nowrap;
}
.nav-links a {
  color: var(--ink-2);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--accent-soft); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* availability pill */
.avail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.avail .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--accent) 60%, transparent); }
  70% { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(132px, 17vh, 188px);
  padding-bottom: clamp(40px, 6vh, 72px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.hero-eyebrow { margin-bottom: 26px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 8.6vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.022em;
  margin-bottom: 22px;
}
.hero h1 .ln { display: block; }
.hero-role {
  font-family: var(--font-mono);
  font-size: clamp(12.5px, 1.4vw, 15px);
  letter-spacing: 0.04em;
  color: var(--ink-2);
  margin-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.hero-role b { color: var(--accent); font-weight: 500; }
.hero-lead {
  max-width: 36ch;
  font-size: clamp(17px, 1.7vw, 19.5px);
  color: var(--ink-2);
  line-height: 1.62;
  margin-bottom: 34px;
}
.hero-lead strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Portrait */
.portrait-wrap {
  position: relative;
  justify-self: center;
}
.portrait {
  width: min(370px, 78vw);
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-2);
}
image-slot { display: block; width: 100%; height: 100%; }
.portrait-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.portrait-tag {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 15px;
  box-shadow: var(--shadow);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  line-height: 1.5;
}
.portrait-tag b { color: var(--ink); font-weight: 600; display: block; font-size: 12.5px; }
.portrait-frame-label {
  position: absolute;
  top: 16px; right: -14px;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- Stats ribbon ---------- */
.ribbon {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  margin-top: clamp(36px, 6vh, 70px);
}
.ribbon-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 30px var(--gutter);
  padding-block: clamp(26px, 4vh, 38px);
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat .num .u { font-size: 0.5em; color: var(--ink-3); }
.stat .lbl {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  text-transform: uppercase;
  line-height: 1.45;
}

/* ============================================================
   Sections génériques
   ============================================================ */
section.block { padding-block: clamp(72px, 11vh, 132px); }
.block-bg2 { background: var(--bg-2); border-block: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(40px, 6vh, 72px);
}
.section-head .label { padding-top: 6px; }

/* ---------- À propos ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.about-statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 35px);
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.about-statement .hl {
  color: var(--accent);
  font-style: italic;
}
.about-body p { color: var(--ink-2); margin-bottom: 20px; max-width: 46ch; }
.about-body p:last-child { margin-bottom: 0; }
.about-body strong { color: var(--ink); font-weight: 600; }

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.values .chip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-2);
}

/* ============================================================
   Parcours / Timeline
   ============================================================ */
.timeline { display: grid; gap: 0; }
.tl-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding-block: 30px;
  border-top: 1px solid var(--line);
  position: relative;
}
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-period {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  padding-top: 4px;
}
.tl-period .dur { display: block; color: var(--ink-3); font-size: 11.5px; margin-top: 4px; }
.tl-body { }
.tl-role {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 6px;
}
.tl-role h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.01em;
  line-height: 1.15;
  white-space: nowrap;
}
.tl-org {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.tl-body p { color: var(--ink-2); max-width: 60ch; margin-top: 10px; font-size: 16px; }
.tl-points {
  list-style: none;
  margin-top: 14px;
  display: grid;
  gap: 8px;
  max-width: 60ch;
}
.tl-points li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-2);
  font-size: 15.5px;
}
.tl-points li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.tl-item.feature .tl-role h3 { font-size: 29px; }
.tl-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(0.478 0.078 156);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 11px;
  margin-top: 14px;
}

/* Formation */
.edu {
  margin-top: clamp(40px, 6vh, 64px);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(20px, 4vw, 56px);
}
.edu-list { display: grid; gap: 18px; }
.edu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.edu-item:last-child { border-bottom: none; padding-bottom: 0; }
.edu-item .e-school { font-family: var(--font-display); font-size: 20px; font-weight: 500; }
.edu-item .e-deg { color: var(--ink-2); font-size: 15px; }
.edu-item .e-year { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); }

/* ============================================================
   Aujourd'hui / Projets
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card .c-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}
.card .c-title {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.card .c-kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.card p { color: var(--ink-2); font-size: 15.5px; }
.card .c-foot {
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.card.featured {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}
.card.featured .c-index,
.card.featured .c-kicker,
.card.featured p,
.card.featured .c-foot { color: var(--accent-ink); }
.card.featured .c-kicker { color: var(--accent-ink); }

/* Founder callout */
.founder-cta {
  margin-top: clamp(32px, 5vh, 56px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.founder-cta h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.founder-cta p { color: var(--ink-2); margin-top: 12px; max-width: 44ch; }
.founder-cta .fc-actions { display: flex; justify-content: flex-end; }

/* ============================================================
   Contact
   ============================================================ */
.contact { text-align: left; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.contact h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.contact .lead { max-width: 40ch; margin-bottom: 30px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.contact-paths { display: grid; gap: 16px; }
.path {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  background: var(--surface);
  transition: border-color 0.2s ease;
}
.path:hover { border-color: var(--accent); }
.path .p-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.path h3 { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-top: 8px; }
.path p { color: var(--ink-2); font-size: 15px; margin-top: 6px; }

.contact-meta {
  margin-top: 30px;
  display: grid;
  gap: 14px;
}
.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.meta-row .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
.meta-row a:hover { color: var(--accent); }

/* ---------- Formulaire de contact ---------- */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow);
  position: relative;
}
.form-head {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.form-sub {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.form-field { display: grid; gap: 7px; margin-bottom: 18px; }
.form-field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.form-field label .req { color: var(--accent); }
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 13px 15px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}
.form-field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ink-3); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-field.invalid input,
.form-field.invalid textarea { border-color: oklch(0.58 0.16 25); }
.form-error {
  font-size: 12.5px;
  color: oklch(0.58 0.16 25);
  min-height: 0;
  display: none;
}
.form-field.invalid .form-error { display: block; }
.btn-submit {
  width: 100%;
  justify-content: center;
  font-size: 15.5px;
  padding: 14px 20px;
}
.btn-submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-fail {
  display: none;
  margin-top: 14px;
  font-size: 13px;
  color: oklch(0.55 0.16 25);
  background: oklch(0.55 0.16 25 / 0.08);
  border: 1px solid oklch(0.55 0.16 25 / 0.25);
  border-radius: 8px;
  padding: 10px 13px;
  line-height: 1.45;
}
.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.5;
}
/* Success overlay */
.form-success {
  position: absolute;
  inset: 0;
  background: var(--surface);
  border-radius: 14px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 32px;
}
.contact-form.sent .form-success { display: flex; }
.form-success .check {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid; place-items: center;
  font-size: 26px;
}
.form-success h3 { font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.form-success p { color: var(--ink-2); font-size: 15px; max-width: 30ch; }
.form-success button {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding-block: 44px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer .f-name { font-family: var(--font-display); font-size: 22px; }
.footer .f-role { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; margin-top: 4px; }
.footer .f-meta { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; text-align: right; }

/* ============================================================
   Reveal — intentionally static.
   (Entrance transforms/opacity don't tick in the offscreen
   preview compositor and corrupt captures; a clean static
   render is more reliable. .reveal/.in remain as no-op hooks.)
   ============================================================ */
@keyframes revealUp {
  from { transform: translateY(16px); }
  to   { transform: translateY(0); }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .portrait-wrap { justify-self: start; order: -1; }
  .portrait { width: min(320px, 70vw); }
  .ribbon-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(odd) { border-left: none; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: none; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .about-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .founder-cta { grid-template-columns: 1fr; }
  .founder-cta .fc-actions { justify-content: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
  .edu { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav .avail { display: none; }
  body { font-size: 16px; }
}
