/* =========================================================================
   Dr. Maman Joyce Dogba — Portfolio
   Luxury editorial system · multi-page · bilingual FR/EN
   Design language inspired by the Yoca média build:
   Prata serif display · clean sans body · refined easing · staggered reveals
   ========================================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  --ink: #241019;            /* deep wine-black text */
  --ink-soft: #5c4751;       /* muted body */
  --wine: #5e2340;           /* primary */
  --wine-deep: #3c1427;
  --rose: #b56b82;           /* accent */
  --rose-soft: #d9a8b4;
  --gold: #b08d57;           /* muted luxury gold */
  --gold-soft: #d8c09a;
  --champagne: #ece0cf;
  --ivory: #faf6f1;          /* page background */
  --ivory-2: #f3ebe3;
  --blush: #f6ebee;
  --white: #ffffff;
  --line: rgba(94, 35, 64, 0.14);
  --line-strong: rgba(94, 35, 64, 0.24);

  --font-display: "Prata", Georgia, "Times New Roman", serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --maxw: 1280px;
  --radius: 18px;
  --radius-sm: 10px;
  --radius-pill: 50px;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-apple: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow-soft: 0 30px 70px -34px rgba(60, 20, 39, 0.5);
  --shadow-card: 0 20px 48px -28px rgba(60, 20, 39, 0.4);
  --nav-h: 82px;
}

/* ---------- 2. Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
::selection { background: var(--rose); color: var(--white); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(22px, 5vw, 56px); }
.accent { color: var(--rose); }
.gold { color: var(--gold); }
.italic { font-family: var(--font-serif); font-style: italic; font-weight: 500; }

/* Eyebrow / section tags */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--wine);
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow.center::after { content: ""; width: 30px; height: 1px; background: var(--gold); display: inline-block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 15px 30px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.02em; border: 1px solid transparent;
  transition: transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo), background 0.4s, color 0.4s;
}
.btn .ar { width: 16px; height: 16px; transition: transform 0.5s var(--ease-expo); }
.btn:hover .ar { transform: translateX(5px); }
.btn-primary { background: var(--wine); color: var(--blush); box-shadow: var(--shadow-card); }
.btn-primary:hover { background: var(--wine-deep); transform: translateY(-3px); box-shadow: 0 26px 50px -22px rgba(94, 35, 64, 0.6); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: var(--wine-deep); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 24px 46px -22px rgba(176, 141, 87, 0.7); }

/* Hairline divider */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 3. Scroll progress + curtain ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--rose), var(--gold)); z-index: 1200; transition: width 0.1s linear; }

.curtain {
  position: fixed; inset: 0; z-index: 2000; background: var(--wine-deep);
  display: grid; place-items: center; pointer-events: none;
  transform: translateY(-100%);
  animation: curtainUp 0.95s var(--ease-apple) 0.2s both;
}
.curtain .mark { font-family: var(--font-display); color: var(--blush); font-size: 2rem; letter-spacing: 0.12em; opacity: 0; transition: opacity 0.5s ease; }
@keyframes curtainUp { 0% { transform: translateY(0); } 100% { transform: translateY(-100%); } }
body.leaving .curtain { animation: curtainDown 0.55s var(--ease-apple) forwards; pointer-events: all; }
@keyframes curtainDown { 0% { transform: translateY(-100%); } 100% { transform: translateY(0); } }
body.leaving .curtain .mark { opacity: 1; }

/* ---------- 4. Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 56px);
  transition: background 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo), height 0.5s var(--ease-expo), border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(250, 246, 241, 0.78);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  height: 66px; border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand .mono {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: var(--blush); background: linear-gradient(140deg, var(--wine), var(--rose));
  font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.06em; box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease-expo);
}
.brand:hover .mono { transform: rotate(-6deg) scale(1.05); }
.brand .bn { font-family: var(--font-display); font-size: 1.08rem; line-height: 1.1; }
.brand .bn small { display: block; font-family: var(--font-body); font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--rose); font-weight: 700; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav-links a { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; position: relative; padding: 6px 0; color: var(--ink); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0; background: var(--gold); transition: width 0.45s var(--ease-expo); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--wine); }

.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-toggle { display: inline-flex; align-items: center; background: rgba(94, 35, 64, 0.07); border-radius: var(--radius-pill); padding: 4px; }
.lang-toggle button { border: none; background: transparent; cursor: pointer; color: var(--ink-soft); padding: 6px 14px; border-radius: var(--radius-pill); font-family: var(--font-body); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.08em; transition: all 0.4s var(--ease-expo); }
.lang-toggle button.active { background: var(--white); color: var(--wine); box-shadow: 0 4px 14px -6px rgba(60, 20, 39, 0.5); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.burger span { width: 26px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: 0.4s var(--ease-expo); }
body.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- 5. Page header (interior pages) ---------- */
.page-head { padding: calc(var(--nav-h) + 70px) 0 60px; position: relative; overflow: hidden; }
.page-head .glow { position: absolute; width: 440px; height: 440px; border-radius: 50%; filter: blur(100px); opacity: 0.5; top: -140px; right: -80px; background: var(--rose-soft); z-index: 0; }
.page-head .container { position: relative; z-index: 1; }
.page-head .eyebrow { margin-bottom: 20px; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 16ch; }
.page-head .lead { margin-top: 24px; max-width: 60ch; color: var(--ink-soft); font-size: 1.1rem; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 30px; }
.crumbs a:hover { color: var(--wine); }
.crumbs .sep { color: var(--gold); }

/* ---------- 6. Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.section-head p { margin-top: 20px; color: var(--ink-soft); font-size: 1.08rem; }
.bg-white { background: var(--white); }
.bg-ivory2 { background: var(--ivory-2); }
.bg-wine { background: linear-gradient(145deg, var(--wine-deep), var(--wine)); color: var(--blush); }
.bg-wine h2, .bg-wine h3 { color: var(--white); }
.bg-blush { background: linear-gradient(150deg, var(--blush), var(--ivory)); }

/* ---------- 7. Hero (home) ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 60px) 0 90px; overflow: hidden; }
.hero .glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.55; z-index: 0; }
.hero .glow.a { width: 500px; height: 500px; background: var(--rose-soft); top: -160px; right: -60px; }
.hero .glow.b { width: 420px; height: 420px; background: var(--champagne); bottom: -160px; left: -120px; opacity: 0.8; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(3rem, 7vw, 5.4rem); line-height: 1.02; margin: 26px 0 0; }
.hero h1 .ln { display: block; overflow: hidden; }
.hero-role { margin-top: 26px; font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--wine); font-weight: 600; letter-spacing: 0.01em; }
.hero-lead { margin-top: 20px; max-width: 46ch; color: var(--ink-soft); font-size: 1.1rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 46px); margin-top: 46px; padding-top: 32px; border-top: 1px solid var(--line); }
.hero-meta li { font-size: 0.82rem; color: var(--ink-soft); max-width: 15ch; }
.hero-meta .num { display: block; font-family: var(--font-display); font-size: 2.1rem; color: var(--wine); line-height: 1; margin-bottom: 8px; }
.hero-meta .num .suf { color: var(--gold); }

/* portrait */
.portrait-wrap { position: relative; }
.portrait { position: relative; border-radius: 300px 300px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 44/56; box-shadow: var(--shadow-soft); background: linear-gradient(160deg, var(--blush), var(--ivory-2)); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform 1.2s var(--ease-expo); }
.portrait:hover img { transform: scale(1.04); }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(60, 20, 39, 0.3)); }
.portrait-ring { position: absolute; inset: -16px; border: 1px solid var(--gold-soft); border-radius: 310px 310px 26px 26px; z-index: -1; opacity: 0.8; }
.portrait-badge { position: absolute; background: var(--white); border-radius: 14px; padding: 15px 20px; box-shadow: var(--shadow-card); z-index: 3; display: flex; align-items: center; gap: 14px; }
.portrait-badge.b1 { bottom: 26px; left: -28px; }
.portrait-badge.b2 { top: 28px; right: -26px; }
.portrait-badge .pb-ico { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--blush); color: var(--wine); }
.portrait-badge b { font-family: var(--font-display); font-size: 0.98rem; font-weight: 400; color: var(--ink); }
.portrait-badge small { display: block; font-size: 0.7rem; color: var(--ink-soft); letter-spacing: 0.02em; }

/* ---------- 8. Marquee ---------- */
.marquee { background: var(--wine); color: var(--blush); padding: 24px 0; overflow: hidden; white-space: nowrap; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
.marquee-track { display: inline-flex; gap: 54px; animation: scrollx 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee i { font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; display: inline-flex; align-items: center; gap: 54px; font-weight: 500; }
.marquee i::after { content: ""; width: 7px; height: 7px; background: var(--gold-soft); transform: rotate(45deg); flex: none; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- 9. Feature cards (home nav to pages) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 280px; padding: 34px 32px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden;
  transition: transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo);
}
.feature::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--rose), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-expo); }
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.feature:hover::before { transform: scaleX(1); }
.feature .fnum { font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--gold); }
.feature h3 { font-size: 1.5rem; margin: 18px 0 10px; }
.feature p { color: var(--ink-soft); font-size: 0.96rem; }
.feature .flink { margin-top: 22px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wine); display: inline-flex; align-items: center; gap: 10px; }
.feature .flink .ar { width: 15px; transition: transform 0.5s var(--ease-expo); }
.feature:hover .flink .ar { transform: translateX(5px); }

/* ---------- 10. Expertise cards ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.exp-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 32px; box-shadow: var(--shadow-card); position: relative; overflow: hidden; transition: transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo); }
.exp-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.exp-ico { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; background: var(--blush); color: var(--wine); margin-bottom: 24px; }
[data-icon] svg { width: 22px; height: 22px; display: block; }
.exp-ico[data-icon] svg { width: 28px; height: 28px; }
.btn .ar, .flink .ar { width: 16px; height: 16px; }
.exp-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.exp-card p { color: var(--ink-soft); font-size: 0.97rem; }
.exp-card .tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.exp-card .tags span { font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; color: var(--rose); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 5px 12px; }

/* ---------- 11. Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--white); line-height: 1; }
.stat .num .suf { color: var(--gold-soft); }
.stat .lbl { margin-top: 14px; font-size: 0.86rem; color: var(--rose-soft); letter-spacing: 0.02em; }
.bg-wine .rule { background: rgba(255,255,255,0.14); }

/* ---------- 12. Timeline ---------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 132px; top: 10px; bottom: 10px; width: 1px; background: var(--line-strong); }
.tl-item { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 46px; padding: 20px 0; }
.tl-year { font-family: var(--font-display); color: var(--wine); font-size: 1.05rem; text-align: right; padding-top: 2px; }
.tl-body { position: relative; }
.tl-body::before { content: ""; position: absolute; left: -47px; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--rose); box-shadow: 0 0 0 5px var(--ivory); z-index: 2; transition: transform 0.4s var(--ease-expo); }
.tl-item:hover .tl-body::before { transform: scale(1.25); }
.tl-item.hl .tl-body::before { background: var(--gold); border-color: var(--gold); }
.tl-body h4 { font-size: 1.22rem; margin-bottom: 5px; }
.tl-body span { color: var(--ink-soft); font-size: 0.94rem; }
.bg-ivory2 .tl-body::before, .bg-ivory2 .timeline { } /* inherits */
.bg-ivory2 .tl-body::before { background: var(--ivory-2); box-shadow: 0 0 0 5px var(--ivory-2); }

/* ---------- 13. Publication rows ---------- */
.pub-list { border-top: 1px solid var(--line); }
.pub-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 28px; align-items: center; padding: 32px 16px; border-bottom: 1px solid var(--line); transition: background 0.5s var(--ease-expo), padding 0.5s var(--ease-expo); }
.pub-row:hover { background: var(--white); padding-left: 28px; padding-right: 28px; }
.pub-no { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--rose); }
.pub-main h3 { font-size: 1.28rem; line-height: 1.3; margin-bottom: 8px; }
.pub-main p { color: var(--ink-soft); font-size: 0.94rem; }
.pub-main .jr { color: var(--gold); font-style: italic; font-family: var(--font-serif); font-size: 1.02rem; }
.pub-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wine); background: var(--blush); padding: 8px 16px; border-radius: var(--radius-pill); white-space: nowrap; }

/* simple listed items (reports, chapters) */
.list-plain li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.list-plain li .yr { font-family: var(--font-display); color: var(--gold); font-size: 1.05rem; }
.list-plain li p { color: var(--ink-soft); font-size: 0.98rem; }
.list-plain li strong { color: var(--ink); font-weight: 600; }

/* ---------- 14. Awards ---------- */
.awards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.award { display: flex; gap: 26px; padding: 32px; border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--line); transition: transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo); }
.bg-white .award { background: var(--ivory); }
.award:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.award .yr { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); line-height: 1; min-width: 72px; }
.award h4 { font-size: 1.16rem; margin-bottom: 8px; line-height: 1.3; }
.award p { color: var(--ink-soft); font-size: 0.92rem; }
.award .amt { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 0.82rem; color: var(--wine); letter-spacing: 0.04em; }

/* ---------- 15. Split feature (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split.rev .split-visual { order: 2; }
.split-visual { position: relative; }
.split-visual img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-soft); aspect-ratio: 4/3.4; object-fit: cover; }
.split-visual .float-quote { position: absolute; bottom: -34px; right: -14px; max-width: 320px; background: var(--wine); color: var(--blush); padding: 26px 28px; border-radius: 16px; box-shadow: var(--shadow-soft); font-family: var(--font-serif); font-style: italic; font-size: 1.16rem; line-height: 1.5; }
.split-visual .float-quote cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose-soft); font-weight: 700; }
.split-text p { color: var(--ink-soft); margin-bottom: 20px; font-size: 1.06rem; }
.split-text p strong { color: var(--ink); font-weight: 600; }
.signature { font-family: var(--font-serif); font-style: italic; font-size: 2rem; color: var(--wine); margin-top: 8px; }

/* ---------- 16. Impact cards ---------- */
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.impact-card { background: var(--white); border-radius: var(--radius); padding: 36px 30px; box-shadow: var(--shadow-card); border: 1px solid var(--line); transition: transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo); }
.impact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.impact-card .k { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--rose); margin-bottom: 16px; }
.impact-card h3 { font-size: 1.32rem; margin-bottom: 12px; }
.impact-card p { color: var(--ink-soft); font-size: 0.96rem; }

/* committees / involvement list */
.inv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; }
.inv-grid li { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.inv-grid li .yr { font-family: var(--font-display); color: var(--gold); font-size: 0.98rem; }
.inv-grid li p { font-size: 0.98rem; color: var(--ink); }
.inv-grid li p span { display: block; color: var(--ink-soft); font-size: 0.88rem; }

/* ---------- 17. Quote band ---------- */
.quote-band { text-align: center; }
.quote-band .big { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.38; max-width: 20ch; margin: 0 auto 30px; color: var(--white); }
.quote-band .big::before { content: "“"; color: var(--gold-soft); font-size: 1.6em; line-height: 0; vertical-align: -0.38em; margin-right: 8px; }
.quote-band cite { font-style: normal; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.12em; font-size: 0.82rem; color: var(--rose-soft); text-transform: uppercase; }

/* ---------- 18. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.contact-links li { border-top: 1px solid var(--line); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; transition: padding 0.4s var(--ease-expo); }
.contact-links li:last-child { border-bottom: 1px solid var(--line); }
.contact-links li:hover { padding-left: 12px; }
.contact-links .ct-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); font-weight: 700; }
.contact-links .ct-value { font-family: var(--font-display); font-size: 1.08rem; color: var(--ink); text-align: right; word-break: break-word; }
.contact-card { background: linear-gradient(150deg, var(--wine), var(--wine-deep)); color: var(--blush); border-radius: var(--radius); padding: 48px 42px; box-shadow: var(--shadow-soft); }
.contact-card h3 { color: var(--white); font-size: 1.7rem; margin-bottom: 16px; }
.contact-card p { color: var(--rose-soft); margin-bottom: 28px; }

/* ---------- 19. CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 18ch; margin: 0 auto 24px; }
.cta-band p { color: var(--ink-soft); max-width: 52ch; margin: 0 auto 36px; font-size: 1.08rem; }
.cta-band .btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ---------- 20. Footer ---------- */
.footer { background: var(--ink); color: rgba(246, 235, 238, 0.68); padding: 70px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(246, 235, 238, 0.14); }
.footer-brand { font-family: var(--font-display); font-size: 1.7rem; color: var(--blush); }
.footer-brand small { display: block; font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--rose-soft); margin-top: 14px; max-width: 32ch; line-height: 1.6; }
.footer-col h5 { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose-soft); margin-bottom: 20px; }
.footer-col a, .footer-col p { display: block; font-size: 0.9rem; margin-bottom: 12px; transition: color 0.3s; }
.footer-col a:hover { color: var(--rose-soft); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: 0.8rem; }

/* ---------- 21. Motion ---------- */
[data-anim] { opacity: 0; will-change: transform, opacity; transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo); }
[data-anim="slide"] { transform: translateY(34px); }
[data-anim="fade"] { transform: none; }
[data-anim="left"] { transform: translateX(-40px); }
[data-anim="right"] { transform: translateX(40px); }
[data-anim="scale"] { transform: scale(0.94); }
[data-anim].in { opacity: 1; transform: none; }

.hero h1 .ln span { display: block; transform: translateY(110%); transition: transform 1s var(--ease-expo); }
body.loaded .hero h1 .ln span { transform: none; }
.hero h1 .ln:nth-child(2) span { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-anim] { opacity: 1; transform: none; }
  .hero h1 .ln span { transform: none; }
  .curtain { display: none; }
}

/* ---------- 22. Responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait-wrap { max-width: 420px; margin: 8px auto 0; }
  .feature-grid, .exp-grid, .impact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav-links { position: fixed; inset: 0; background: var(--ivory); flex-direction: column; justify-content: center; align-items: center; gap: 28px; transform: translateX(100%); transition: transform 0.6s var(--ease-apple); font-size: 1.4rem; }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1.5rem; }
  .burger { display: flex; }
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev .split-visual { order: 0; }
  .split-visual .float-quote { position: static; max-width: none; margin-top: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .inv-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .feature-grid, .exp-grid, .impact-grid, .awards-grid, .stats-grid { grid-template-columns: 1fr; }
  .pub-row { grid-template-columns: 44px 1fr; }
  .pub-row .pub-tag { display: none; }
  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; padding-left: 30px; }
  .tl-year { text-align: left; }
  .tl-body::before { left: -30px; }
  .portrait-badge.b1 { left: 0; } .portrait-badge.b2 { right: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .contact-links .ct-value { text-align: left; }
}
