:root {
  --bg:#ffffff;
  --bg-soft:#faf8f3;
  --text:#1a1a1a;
  --muted:#666666;
  --line:#e9e0d0;
  --brand:#d39b05;
  --brand-dark:#a87700;
  --black:#111111;
  --radius:18px;
  --shadow:0 12px 36px rgba(0,0,0,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;color:var(--text);background:var(--bg);line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1120px,calc(100% - 32px));margin:0 auto}
.narrow{width:min(900px,calc(100% - 32px));margin:0 auto}
.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:1rem;top:1rem;background:#fff;padding:.5rem .75rem;z-index:1000}
.site-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.96);border-bottom:1px solid rgba(0,0,0,.06);backdrop-filter:blur(10px)}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:84px}
.brand.casual-brand img{height:54px;max-width:230px;width:auto;object-fit:contain}
.main-nav{display:flex;flex-wrap:wrap;gap:20px;font-size:.94rem;font-weight:600}
.main-nav a{color:#2b2b2b}
.main-nav a:hover,.main-nav a:focus-visible{color:var(--brand-dark)}
.nav-toggle{display:none;border:1px solid var(--line);background:#fff;padding:.65rem .9rem;border-radius:999px}
.hero{background:#111;overflow:hidden}
.casual-hero{height:clamp(590px,63vw,760px)}
.hero-image{width:100%;height:100%;object-fit:cover;object-position:center bottom;filter:brightness(1.05) saturate(1.02)}
.section{padding:78px 0;background:#fff}
.alt-soft{background:var(--bg-soft)}
.presentation-section{padding-top:34px}
.presentation-card{background:#fff;border:1px solid rgba(211,155,5,.15);border-radius:22px;padding:38px 36px;box-shadow:var(--shadow);margin-top:-88px;position:relative;z-index:2}
.section-kicker{margin:0 0 8px;font-size:.9rem;letter-spacing:.12em;text-transform:uppercase;color:var(--brand-dark);font-weight:700}
h1,h2,h3{font-family:Arial,Helvetica,sans-serif;line-height:1.15;margin:0 0 .6em;color:#111}
h1{font-size:clamp(2.6rem,6vw,4.6rem);letter-spacing:.02em}
h2{font-size:clamp(2rem,4.5vw,3rem)}
h3{font-size:1.25rem}
p{margin:0 0 1rem}
.lead{font-size:1.1rem;color:#222}
.lead.compact{max-width:680px}
.section-head{margin:0 auto 32px;max-width:860px}
.section-head.center{text-align:center}
.manifesto-band{background:#111;color:#fff;padding:42px 0}
.manifesto-band p{font-family:Arial,Helvetica,sans-serif;font-size:clamp(1.55rem,3.5vw,2.45rem);line-height:1.25;font-weight:700;text-align:center;margin:0}
.manifesto-band p::first-letter{color:inherit}
.principle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:28px}
.principle-card,.contribution-card,.theme-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:0 8px 20px rgba(0,0,0,.04)}
.principle-card h3,.theme-card h3{color:var(--brand-dark)}
.card-index{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#fff4d5;color:var(--brand-dark);font-weight:800;font-size:.88rem;margin-bottom:16px}
.contribution-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:32px}
.contribution-card{text-align:center;padding:28px 20px}
.contribution-card>span{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 16px;border-radius:50%;background:#fff4d5;color:var(--brand-dark);font-size:1.45rem;font-weight:800}
.contribution-card p{color:var(--muted);margin-bottom:0}
.equity-section{background:#111;color:#fff}
.equity-section h2{color:#fff}
.equity-section .section-kicker{color:#e6bc45}
.equity-section .lead{color:rgba(255,255,255,.86)}
.equity-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:54px;align-items:center}
.matrix-figure{margin:0;border:1px solid rgba(255,255,255,.18);border-radius:22px;padding:18px;background:rgba(255,255,255,.06);box-shadow:0 12px 32px rgba(0,0,0,.25)}
.matrix-figure img{display:block;width:100%;height:auto;border-radius:12px;background:#fff}
.theme-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-top:30px}
.theme-card{padding:22px 18px;min-height:190px}
.theme-card p{font-size:.95rem;color:#555;margin-bottom:0}
.poster-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;align-items:start;margin-top:42px}
.poster-card{margin:0;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:18px;padding:12px;box-shadow:0 10px 24px rgba(0,0,0,.05)}
.poster-card img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:top;border-radius:10px;background:#f2f2f2}
.poster-card figcaption{font-weight:700;text-align:center;margin:12px 4px 4px}
.photo-grid{display:grid;grid-template-columns:1.45fr .75fr;gap:20px;align-items:stretch}
.photo-card{margin:0;border-radius:22px;overflow:hidden;background:#111;box-shadow:var(--shadow);min-height:360px}
.photo-card img{width:100%;height:100%;object-fit:cover}
.photo-card.wide img{object-position:center center}
.site-footer{background:#0b0b0b;color:#fff;padding:42px 0}
.footer-inner{display:grid;justify-items:center;gap:8px;text-align:center}
.casual-footer-logo{background:#fff;border-radius:12px;padding:8px 12px;height:64px;width:auto}
.footer-inner p{margin:0}

/* V2.1 — ecosystem profiles, adapted from dojo.fr V1.4 */
.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1120px;margin:0 auto}
.profile-card{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:22px;overflow:hidden;box-shadow:0 10px 24px rgba(0,0,0,.05)}
.profile-card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.profile-copy{padding:22px}
.profile-copy p:last-of-type{margin-bottom:0}
.role{color:var(--brand-dark);font-weight:700}
.profile-links{display:flex;gap:16px;flex-wrap:wrap;margin-top:16px;font-weight:700}
.profile-links a{color:var(--brand-dark)}
.profile-links a:hover,.profile-links a:focus-visible{text-decoration:underline}

@media(max-width:1050px){
  .theme-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .poster-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:960px){
  .team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .main-nav{display:none;position:absolute;top:84px;left:16px;right:16px;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:20px;padding:18px;box-shadow:var(--shadow);flex-direction:column;gap:14px}
  .main-nav.open{display:flex}
  .nav-toggle{display:inline-flex}
  .principle-grid{grid-template-columns:1fr}
  .contribution-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .equity-layout{grid-template-columns:1fr;gap:30px}
  .photo-grid{grid-template-columns:1fr}
  .photo-card{min-height:0}
  .photo-card img{height:auto}
  .casual-hero{height:620px}
}
@media(max-width:700px){
  .section{padding:60px 0}
  .presentation-card{padding:26px 20px;margin-top:-34px}
  .casual-hero{height:auto;background:#fff}
  .hero-image{height:auto;object-fit:contain;filter:none}
  .contribution-grid,.theme-grid,.poster-grid,.team-grid{grid-template-columns:1fr}
  .brand.casual-brand img{height:44px;max-width:190px}
  .manifesto-band{padding:34px 0}
}
