/* =========================================================
   KAPAS LAB — Design system
   Startup studio · Marseille · Afrique ⇄ Europe
   ========================================================= */

:root {
  --ink: #0A0B0D;
  --ink-2: #111318;
  --ink-3: #1A1D24;
  --ivory: #F3EEE5;
  --ivory-2: #E9E2D5;
  --paper: #FBF8F3;
  --muted: #9C968B;
  --muted-ink: #5E5A53;
  --brass: #C9A46A;
  --brass-2: #E3C48F;
  --ember: #E0703A;
  --line-d: rgba(243, 238, 229, .12);
  --line-l: rgba(10, 11, 13, .12);

  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --sec: clamp(96px, 13vw, 180px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ivory);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--brass); color: var(--ink); }

/* grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200;
  opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--sec) 0; position: relative; }
.light { background: var(--paper); color: var(--ink); }
.light-2 { background: var(--ivory); color: var(--ink); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass); display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .7; }
.light .eyebrow, .light-2 .eyebrow { color: #9A7640; }

.display {
  font-family: var(--serif); font-weight: 300; letter-spacing: -.035em; line-height: .98;
  font-size: clamp(3rem, 8.4vw, 8.2rem);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.display em, .h2 em, .h3 em { font-style: italic; color: var(--brass); font-weight: 300; }
.light .h2 em, .light-2 .h2 em, .light .h3 em { color: #9A7640; }
.h2 {
  font-family: var(--serif); font-weight: 300; letter-spacing: -.028em; line-height: 1.04;
  font-size: clamp(2.3rem, 5vw, 4.6rem); font-variation-settings: "opsz" 144;
}
.h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: 1.12; font-size: clamp(1.45rem, 2.2vw, 2rem); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.32rem); line-height: 1.6; color: rgba(243,238,229,.74); max-width: 62ch; }
.light .lead, .light-2 .lead { color: var(--muted-ink); }
.muted { color: var(--muted); }
.light .muted, .light-2 .muted { color: var(--muted-ink); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.sec-head { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: clamp(56px, 7vw, 96px); }
@media (min-width: 960px) {
  .sec-head { grid-template-columns: 5fr 6fr; align-items: end; gap: 80px; }
  .sec-head .lead { justify-self: end; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; padding: 17px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em; transition: all .45s var(--ease);
  position: relative; overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn .arr { transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-gold { background: var(--brass); color: var(--ink); }
.btn-gold:hover { background: var(--brass-2); }
.btn-ghost { border: 1px solid var(--line-d); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); }
.btn-ink { background: var(--ink); color: var(--ivory); }
.btn-ink:hover { background: var(--ink-3); }

/* ---------- header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .5s var(--ease), border-color .5s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.scrolled { background: rgba(10,11,13,.78); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--line-d); }
.hdr.hide { transform: translateY(-100%); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .26em; font-size: 14px; }
.brand svg { width: 34px; height: 34px; }
.brand small { font-family: var(--mono); font-weight: 400; letter-spacing: .14em; color: var(--muted); font-size: 10px; display: block; margin-top: 2px; }
.nav { display: none; gap: 34px; font-size: 14px; font-weight: 500; }
.nav a { color: rgba(243,238,229,.72); transition: color .3s; position: relative; }
.nav a:hover { color: var(--ivory); }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--brass); transition: right .45s var(--ease); }
.nav a:hover::after { right: 0; }
.hdr-cta { display: none; padding: 12px 22px; font-size: 14px; }
.burger { width: 44px; height: 44px; display: grid; place-items: center; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--ivory); position: relative; transition: .4s var(--ease); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 1.5px; background: var(--ivory); transition: .4s var(--ease); }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }
@media (min-width: 1080px) { .nav, .hdr-cta { display: flex; } .burger { display: none; } }

.mnav {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); padding: 120px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
}
.mnav a { font-family: var(--serif); font-size: clamp(2rem, 9vw, 3rem); font-weight: 300; letter-spacing: -.02em; padding: 4px 0; border-bottom: 1px solid var(--line-d); }
.menu-open .mnav { opacity: 1; pointer-events: auto; }
.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px 0 48px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::before {
  content: ""; position: absolute; width: 1100px; height: 1100px; right: -320px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(201,164,106,.22), rgba(224,112,58,.07) 40%, transparent 68%);
  filter: blur(10px); animation: drift 18s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 120px 120px; opacity: .28;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
@keyframes drift { to { transform: translate(-120px, 80px) scale(1.08); } }

.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-tag { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 40px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line-d); border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,238,229,.8); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 0 rgba(201,164,106,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(201,164,106,0); } 100% { box-shadow: 0 0 0 0 rgba(201,164,106,0); } }

.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: inline-block; transform: translateY(105%); animation: rise 1.2s var(--ease) forwards; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .ln:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }

.hero-foot { margin-top: clamp(48px, 7vw, 88px); display: grid; gap: 40px; align-items: end; grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero-foot { grid-template-columns: 1.1fr 1fr auto; gap: 64px; } }
.hero-foot .lead { opacity: 0; animation: fade 1s .7s var(--ease) forwards; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fade 1s .85s var(--ease) forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.seal { width: 148px; height: 148px; position: relative; justify-self: end; opacity: 0; animation: fade 1s 1s var(--ease) forwards; display: none; }
@media (min-width: 960px) { .seal { display: block; } }
.seal svg.ring { width: 100%; height: 100%; animation: spin 32s linear infinite; }
.seal text { font-family: var(--mono); font-size: 8.6px; letter-spacing: .2em; fill: rgba(243,238,229,.7); text-transform: uppercase; }
.seal .core { position: absolute; inset: 0; display: grid; place-items: center; }
.seal .core svg { width: 44px; height: 44px; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-meta { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; color: var(--muted); }

/* ---------- marquee ---------- */
.marquee { max-width: 100vw; border-block: 1px solid var(--line-d); overflow: hidden; padding: 26px 0; background: var(--ink); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marq 46s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 300; font-style: italic; color: rgba(243,238,229,.85); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: "✦"; font-style: normal; font-size: .5em; color: var(--brass); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- essentiel / triad ---------- */
.triad { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-l); }
@media (min-width: 900px) { .triad { grid-template-columns: repeat(3, 1fr); } }
.triad article { padding: 44px 0 28px; border-bottom: 1px solid var(--line-l); position: relative; }
@media (min-width: 900px) {
  .triad article { padding: 48px 40px 40px; border-bottom: 0; border-right: 1px solid var(--line-l); }
  .triad article:first-child { padding-left: 0; } .triad article:last-child { border-right: 0; padding-right: 0; }
}
.triad .num { font-family: var(--mono); font-size: 12px; color: #9A7640; letter-spacing: .14em; }
.triad h3 { margin: 26px 0 6px; }
.triad .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-ink); margin-bottom: 18px; }
.triad p { color: var(--muted-ink); }

.promise { margin-top: clamp(64px, 8vw, 110px); font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 4.2vw, 3.6rem); line-height: 1.12; letter-spacing: -.025em; max-width: 20ch; }
.promise span { color: #9A7640; font-style: italic; }

/* ---------- constat ---------- */
.gap-grid { display: grid; gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); grid-template-columns: 1fr; }
@media (min-width: 860px) { .gap-grid { grid-template-columns: repeat(3, 1fr); } }
.gap-grid > div { background: var(--ink); padding: 44px 36px 48px; }
.gap-grid .ix { font-family: var(--serif); font-size: 4.5rem; line-height: 1; font-weight: 200; color: transparent; -webkit-text-stroke: 1px rgba(201,164,106,.6); }
.gap-grid h3 { margin: 22px 0 12px; }
.gap-grid p { color: rgba(243,238,229,.66); }
.verdict { margin-top: 56px; display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .verdict { grid-template-columns: 220px 1fr; } }
.verdict p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.35; color: rgba(243,238,229,.9); }

/* ---------- INCUBAP continuum ---------- */
.incubap { background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201,164,106,.10), transparent 70%), var(--ink-2); }
.incubap-logo { font-family: var(--sans); font-weight: 800; letter-spacing: -.04em; font-size: clamp(3.6rem, 12vw, 11rem); line-height: .85; background: linear-gradient(120deg, var(--ivory) 30%, var(--brass) 75%, var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.incubap-sub { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: end; margin-top: 18px; margin-bottom: 72px; }

.steps { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-d); }
@media (min-width: 1000px) { .steps { grid-template-columns: 340px 1fr; } }
.step-list { list-style: none; border-right: 0; }
@media (min-width: 1000px) { .step-list { border-right: 1px solid var(--line-d); } }
.step-list button {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 22px; padding: 22px 24px 22px 0;
  border-bottom: 1px solid var(--line-d); transition: all .45s var(--ease); color: rgba(243,238,229,.45);
}
.step-list button .n { font-family: var(--mono); font-size: 12px; width: 28px; }
.step-list button .t { font-family: var(--serif); font-size: 1.7rem; font-weight: 300; letter-spacing: -.02em; }
.step-list button:hover { color: rgba(243,238,229,.8); }
.step-list button[aria-selected="true"] { color: var(--ivory); padding-left: 14px; }
.step-list button[aria-selected="true"] .n { color: var(--brass); }
.step-panel { padding: 48px 0 0; min-height: 360px; }
@media (min-width: 1000px) { .step-panel { padding: 40px 0 40px 72px; } }
.step-panel .pane { display: none; animation: fade .7s var(--ease); }
.step-panel .pane.on { display: block; }
.step-panel .layer { display: inline-flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); border: 1px solid rgba(201,164,106,.35); padding: 7px 14px; border-radius: 999px; }
.step-panel h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 4.4vw, 3.8rem); letter-spacing: -.03em; line-height: 1.04; margin: 26px 0 22px; max-width: 16ch; }
.step-panel p { color: rgba(243,238,229,.7); max-width: 56ch; font-size: 1.08rem; }
.step-panel ul { list-style: none; margin-top: 30px; display: grid; gap: 12px; grid-template-columns: 1fr; max-width: 680px; }
@media (min-width: 700px) { .step-panel ul { grid-template-columns: 1fr 1fr; } }
.step-panel li { display: flex; gap: 12px; color: rgba(243,238,229,.82); font-size: 15px; }
.step-panel li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--brass); }
.progress { height: 1px; background: var(--line-d); margin-top: 48px; position: relative; overflow: hidden; }
.progress i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--brass); width: 0; }

.loops { margin-top: 96px; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .loops { grid-template-columns: repeat(3, 1fr); } }
.loop { border: 1px solid var(--line-d); border-radius: 22px; padding: 32px; background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); }
.loop .mono { color: var(--brass); }
.loop p { margin-top: 16px; font-family: var(--serif); font-size: 1.35rem; font-weight: 300; line-height: 1.3; }
.loop p b { font-weight: 400; color: var(--brass-2); }

.note-bar { margin-top: 56px; padding: 26px 30px; border-left: 2px solid var(--brass); background: rgba(201,164,106,.06); color: rgba(243,238,229,.78); font-size: 15px; }

/* ---------- studio ---------- */
.studio-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .studio-grid { grid-template-columns: 1fr 1fr; } }
.track { border-radius: 28px; padding: clamp(32px, 4vw, 52px); position: relative; overflow: hidden; min-height: 360px; display: flex; flex-direction: column; }
.track.a { background: var(--ink); color: var(--ivory); }
.track.b { background: #fff; border: 1px solid var(--line-l); }
.track .mono { color: var(--brass); }
.track.b .mono { color: #9A7640; }
.track h3 { margin: 22px 0 26px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.track ul { list-style: none; display: grid; gap: 14px; margin-top: auto; }
.track li { display: flex; gap: 14px; padding-top: 14px; border-top: 1px solid var(--line-d); }
.track.b li { border-color: var(--line-l); color: var(--muted-ink); }
.track li span { font-family: var(--mono); font-size: 11px; color: var(--brass); padding-top: 4px; }
.track svg.deco { position: absolute; right: -40px; top: -40px; width: 220px; opacity: .18; }

.sectors { margin-top: clamp(80px, 10vw, 130px); }
.sector-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sector-list span { padding: 13px 22px; border: 1px solid var(--line-l); border-radius: 999px; font-size: 15px; transition: all .35s var(--ease); background: rgba(255,255,255,.5); }
.sector-list span:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.method { margin-top: clamp(80px, 10vw, 130px); display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-l); counter-reset: m; }
@media (min-width: 900px) { .method { grid-template-columns: repeat(3, 1fr); } }
.method div { padding: 36px 32px 36px 0; border-bottom: 1px solid var(--line-l); }
@media (min-width: 900px) { .method div { border-bottom: 0; border-right: 1px solid var(--line-l); padding: 40px 36px; } .method div:first-child { padding-left: 0; } .method div:last-child { border-right: 0; } }
.method h4 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 18px 0 10px; letter-spacing: -.01em; }
.method p { color: var(--muted-ink); }

/* ---------- portfolio ---------- */
.folio { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 760px) { .folio { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .folio { grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: auto auto; } .folio .card.flag { grid-row: span 2; } }
.card {
  border-radius: 26px; border: 1px solid var(--line-d); padding: 34px; position: relative; overflow: hidden;
  background: var(--ink-2); display: flex; flex-direction: column; min-height: 300px; transition: transform .6s var(--ease), border-color .6s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(201,164,106,.45); }
.card .stage { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); display: flex; align-items: center; gap: 10px; }
.card .stage::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.card h3 { font-family: var(--sans); font-weight: 800; letter-spacing: -.035em; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; margin: 28px 0 8px; }
.card .what { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.2rem; color: var(--brass-2); margin-bottom: 18px; }
.card p { color: rgba(243,238,229,.66); font-size: 15.5px; }
.card .foot { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.card.flag { background: radial-gradient(ellipse 90% 60% at 100% 0%, rgba(201,164,106,.22), transparent 60%), linear-gradient(160deg, #15171d, #0b0c0f); min-height: 420px; }
.card.flag h3 { font-size: clamp(3rem, 6vw, 5.4rem); }
.card.flag .orb { position: absolute; right: -90px; bottom: -90px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(201,164,106,.25); }
.card.flag .orb::before, .card.flag .orb::after { content: ""; position: absolute; inset: 40px; border-radius: 50%; border: 1px solid rgba(201,164,106,.18); }
.card.flag .orb::after { inset: 90px; border-color: rgba(201,164,106,.12); }

.wall { margin-top: 80px; border-top: 1px solid var(--line-d); padding-top: 40px; display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .wall { grid-template-columns: 320px 1fr; } }
.wall p.muted { font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips span { font-size: 13px; padding: 7px 14px; border: 1px dashed var(--line-d); border-radius: 999px; color: rgba(243,238,229,.6); }

/* ---------- corridors ---------- */
.corr { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 1080px) { .corr { grid-template-columns: 380px 1fr; gap: 64px; } }
.corr-tabs { list-style: none; border-top: 1px solid var(--line-d); }
.corr-tabs button { width: 100%; text-align: left; padding: 22px 0; border-bottom: 1px solid var(--line-d); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; color: rgba(243,238,229,.5); transition: color .4s; }
.corr-tabs button .k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; grid-column: 1 / -1; }
.corr-tabs button .t { font-family: var(--serif); font-size: 1.5rem; font-weight: 300; }
.corr-tabs button .c { font-size: 14px; grid-column: 1 / -1; }
.corr-tabs button::after { content: "→"; grid-row: 2; grid-column: 2; opacity: 0; transition: .4s var(--ease); transform: translateX(-8px); }
.corr-tabs button[aria-selected="true"] { color: var(--ivory); }
.corr-tabs button[aria-selected="true"] .k { color: var(--brass); }
.corr-tabs button[aria-selected="true"]::after { opacity: 1; transform: none; color: var(--brass); }
.mapbox { position: relative; border: 1px solid var(--line-d); border-radius: 28px; overflow: hidden; background: radial-gradient(ellipse at 60% 30%, rgba(201,164,106,.08), transparent 60%), var(--ink-2); }
.mapbox svg { width: 100%; height: auto; }
.mapbox .dotgrid circle { fill: rgba(243,238,229,.14); }
.mapbox .arc { fill: none; stroke: rgba(243,238,229,.12); stroke-width: 1.2; transition: stroke .6s, stroke-width .6s; }
.mapbox .arc.on { stroke: var(--brass); stroke-width: 2; stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.mapbox .city circle { fill: rgba(243,238,229,.35); transition: fill .5s, r .5s; }
.mapbox .city text { font-family: var(--mono); font-size: 21px; letter-spacing: .08em; fill: rgba(243,238,229,.35); text-transform: uppercase; transition: fill .5s; }
.mapbox .city.on circle { fill: var(--brass-2); }
.mapbox .city.on text { fill: var(--ivory); }
.mapbox .hub circle.core { fill: var(--brass); }
.mapbox .hub circle.halo { fill: none; stroke: var(--brass); opacity: .6; transform-origin: center; transform-box: fill-box; animation: halo 2.6s var(--ease) infinite; }
.mapbox .hub text { font-family: var(--mono); font-size: 24px; font-weight: 500; fill: var(--brass-2); letter-spacing: .14em; }
@keyframes halo { from { transform: scale(.4); opacity: .8; } to { transform: scale(2.6); opacity: 0; } }
.maplegend { position: absolute; left: 24px; top: 20px; right: 24px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--muted); }

.flywheel { margin-top: 96px; text-align: center; }
.flywheel p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.45; max-width: 46ch; margin: 22px auto 0; color: rgba(243,238,229,.86); }
.flywheel p i { color: var(--brass); font-style: normal; padding: 0 .3em; }

.marseille { margin-top: 110px; display: grid; gap: 1px; grid-template-columns: 1fr; background: var(--line-d); border: 1px solid var(--line-d); border-radius: 26px; overflow: hidden; }
@media (min-width: 900px) { .marseille { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.marseille > div { background: var(--ink); padding: 34px 30px; }
.marseille .first { background: linear-gradient(160deg, rgba(201,164,106,.16), rgba(201,164,106,.02)), var(--ink); }
.marseille h4 { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; margin: 14px 0 10px; }
.marseille p { color: rgba(243,238,229,.64); font-size: 15px; }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 1000px) { .founder { grid-template-columns: 5fr 6fr; } }
.portrait { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ivory-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: saturate(.9) contrast(1.04); transform: scale(1.06); transition: transform 1.6s var(--ease); }
.portrait.in img { transform: scale(1); }
.portrait figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 16px 20px; border-radius: 18px; background: rgba(10,11,13,.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ivory); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.portrait figcaption b { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }
.quote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.18; letter-spacing: -.02em; margin: 30px 0 30px; position: relative; }
.quote::before { content: "“"; position: absolute; left: -.05em; top: -.62em; font-size: 4em; color: #9A7640; opacity: .25; line-height: 1; }
.founder .bio { color: var(--muted-ink); display: grid; gap: 16px; max-width: 60ch; }
.stats { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-l); }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats div { padding: 24px 16px 0 0; }
.stats b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 3.6vw, 3.1rem); letter-spacing: -.03em; line-height: 1; }
.stats span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--muted-ink); line-height: 1.45; }
.founder-links { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.founder-links .btn-ghost { border-color: var(--line-l); color: var(--ink); }
.founder-links .btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(10,11,13,.04); }
.fine { margin-top: 26px; font-size: 13px; color: var(--muted-ink); max-width: 62ch; }

/* ---------- roadmap ---------- */
.road { position: relative; display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 1100px) { .road { grid-template-columns: repeat(5, 1fr); } }
.road::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 1px; background: var(--line-l); }
@media (min-width: 1100px) { .road::before { left: 0; right: 0; top: 7px; bottom: auto; height: 1px; width: auto; } }
.road .ph { position: relative; padding: 0 0 48px 44px; }
@media (min-width: 1100px) { .road .ph { padding: 44px 28px 0 0; } }
.road .ph::before { content: ""; position: absolute; left: 0; top: 2px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); }
.road .ph.now::before { background: #9A7640; border-color: #9A7640; box-shadow: 0 0 0 6px rgba(154,118,64,.18); }
@media (min-width: 1100px) { .road .ph::before { top: 0; } }
.road .when { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #9A7640; }
.road h4 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; margin: 10px 0 12px; letter-spacing: -.02em; }
.road p { color: var(--muted-ink); font-size: 15px; }
.road .proof { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-l); font-size: 14px; color: var(--ink); }

.north { margin-top: 110px; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .north { grid-template-columns: repeat(3, 1fr); } }
.north div { background: #fff; border: 1px solid var(--line-l); border-radius: 22px; padding: 32px; }
.north .mono { color: #9A7640; }
.north h4 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 14px 0 10px; }
.north p { color: var(--muted-ink); font-size: 15px; }

/* ---------- trust ---------- */
.trust { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust div { border-top: 1px solid var(--brass); padding-top: 24px; }
.trust h4 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; margin: 12px 0 10px; }
.trust p { color: rgba(243,238,229,.66); font-size: 15px; }
.phases { margin-top: 80px; display: grid; grid-template-columns: 1fr; border: 1px solid var(--line-d); border-radius: 24px; overflow: hidden; }
@media (min-width: 900px) { .phases { grid-template-columns: repeat(4, 1fr); } }
.phases div { padding: 30px; border-bottom: 1px solid var(--line-d); }
@media (min-width: 900px) { .phases div { border-bottom: 0; border-right: 1px solid var(--line-d); } .phases div:last-child { border-right: 0; } }
.phases b { font-family: var(--serif); font-size: 2.6rem; font-weight: 200; color: var(--brass); display: block; line-height: 1; }
.phases h5 { font-size: 15px; font-weight: 700; margin: 16px 0 8px; letter-spacing: .01em; }
.phases p { font-size: 14px; color: rgba(243,238,229,.6); }
.separation { margin-top: 64px; display: grid; gap: 24px; grid-template-columns: 1fr; align-items: center; padding: 36px; border-radius: 24px; background: rgba(243,238,229,.04); border: 1px solid var(--line-d); }
@media (min-width: 900px) { .separation { grid-template-columns: 1fr auto 1fr; } }
.separation .side h5 { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--brass); font-weight: 400; text-transform: uppercase; }
.separation .side p { margin-top: 10px; color: rgba(243,238,229,.7); font-size: 15px; }
.separation .link { font-family: var(--serif); font-style: italic; font-size: 1.4rem; text-align: center; color: var(--ivory); padding: 0 20px; }

/* ---------- partners / ask ---------- */
.ask { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ask { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .ask { grid-template-columns: repeat(4, 1fr); } }
.ask a { border-radius: 24px; padding: 32px 28px; background: #fff; border: 1px solid var(--line-l); display: flex; flex-direction: column; min-height: 320px; transition: all .55s var(--ease); }
.ask a:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); transform: translateY(-4px); }
.ask a:hover p { color: rgba(243,238,229,.7); }
.ask a:hover .go { color: var(--brass); }
.ask .ic { width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; opacity: .8; }
.ask .ic svg { width: 20px; height: 20px; }
.ask h4 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 30px 0 12px; line-height: 1.1; }
.ask p { color: var(--muted-ink); font-size: 15px; transition: color .5s; }
.ask .go { margin-top: auto; padding-top: 28px; font-weight: 600; font-size: 14px; color: #9A7640; display: flex; align-items: center; gap: 10px; }
.refs { margin-top: 90px; }
.refs-row { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 36px; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 300; color: var(--muted-ink); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr; gap: clamp(48px, 6vw, 96px); }
@media (min-width: 1000px) { .contact { grid-template-columns: 5fr 6fr; } }
.contact .display { font-size: clamp(3rem, 7vw, 6.4rem); }
.coords { margin-top: 48px; display: grid; gap: 24px; }
.coords div { border-top: 1px solid var(--line-d); padding-top: 18px; }
.coords .mono { color: var(--muted); }
.coords p, .coords a { font-size: 1.1rem; margin-top: 6px; display: block; }
.coords a:hover { color: var(--brass); }
form.f { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
form.f .full { grid-column: 1 / -1; }
@media (max-width: 640px) { form.f { grid-template-columns: 1fr; } }
.fld { position: relative; }
.fld label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.fld input, .fld select, .fld textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(243,238,229,.24); color: var(--ivory);
  font: inherit; font-size: 1.08rem; padding: 10px 0 14px; outline: none; transition: border-color .4s; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.fld select { background-image: linear-gradient(45deg, transparent 50%, var(--brass) 50%), linear-gradient(135deg, var(--brass) 50%, transparent 50%); background-position: calc(100% - 12px) 22px, calc(100% - 7px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.fld select option { background: var(--ink); color: var(--ivory); }
.fld textarea { min-height: 140px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--brass); }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label { margin: 0; }
.radios input { position: absolute; opacity: 0; pointer-events: none; }
.radios span { display: inline-block; padding: 11px 18px; border: 1px solid var(--line-d); border-radius: 999px; font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none; color: rgba(243,238,229,.75); cursor: pointer; transition: all .3s; }
.radios input:checked + span { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.radios input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.consent { display: flex; gap: 12px; font-size: 13.5px; color: var(--muted); align-items: flex-start; }
.consent input { margin-top: 4px; accent-color: var(--brass); width: 16px; height: 16px; flex: none; }
.hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line-d); padding: 80px 0 40px; background: var(--ink); overflow: hidden; }
.ftr-big { font-family: var(--sans); font-weight: 800; letter-spacing: -.05em; font-size: clamp(4rem, 17vw, 16rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(243,238,229,.16); user-select: none; margin-bottom: 64px; white-space: nowrap; }
.ftr-grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .ftr-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.ftr h6 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 16px; }
.ftr ul { list-style: none; display: grid; gap: 10px; font-size: 15px; }
.ftr ul a { color: rgba(243,238,229,.75); }
.ftr ul a:hover { color: var(--brass); }
.ftr .legal { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13px; color: var(--muted); }
.ftr .legal a:hover { color: var(--ivory); }

/* ---------- legal pages ---------- */
.doc { padding: 170px 0 120px; }
.doc .wrap { max-width: 880px; }
.doc h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.03em; line-height: 1; margin: 22px 0 40px; }
.doc h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 56px 0 16px; padding-top: 28px; border-top: 1px solid var(--line-d); }
.doc p, .doc li { color: rgba(243,238,229,.74); margin-bottom: 10px; }
.doc ul { padding-left: 20px; }
.doc dl { display: grid; grid-template-columns: 1fr; gap: 4px 28px; }
@media (min-width: 700px) { .doc dl { grid-template-columns: 240px 1fr; } }
.doc dt { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.doc dd { color: var(--ivory); margin-bottom: 12px; }
.doc a { color: var(--brass); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 300; background: var(--brass); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .hero h1 .ln > span { transform: none; }
}
