/* =========================================================
   Clara Geoffrion — Portfolio UX/UI
   1. Tokens  2. Reset  3. Type  4. Layout  5. Components
   6. Sections  7. Inspect  8. Split utils  9. Responsive
   10. Reduced motion
   ========================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  --c-black: #0E0F14;
  --c-ink: #181A22;
  --c-ink-2: #20232D;
  --c-volt: #E4F56E;
  --c-orange: #FF7A59;
  --c-pale: #DCD6F7;
  --c-pale-2: #D6E8F7;
  --c-aluminum: #F3F1EA;
  --c-titanium: #A2A4B2;
  --c-line: rgba(243, 241, 234, .12);
  --c-amber: #FED878;
  --c-navy: #3F52F0;
  --c-onbright: #0E0F14;
  --c-accent: #9AA6FF;

  --f-sans: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "Switzer", "General Sans", "Helvetica Neue", Arial, sans-serif;

  --fs-mega: clamp(4.5rem, 16vw, 18rem);
  --fs-xxl: clamp(3rem, 8.5vw, 9rem);
  --fs-xl: clamp(2rem, 5vw, 4.5rem);
  --fs-lg: clamp(1.375rem, 2.2vw, 2rem);
  --fs-body: clamp(1rem, 1.1vw, 1.125rem);
  --fs-label: .75rem;

  --gutter: clamp(16px, 4vw, 64px);
  --r-img: clamp(14px, 2vw, 24px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 72px;
}

/* Light theme — toggled via <html data-theme="light"> */
:root[data-theme="light"] {
  --c-black: #F5F2EC;
  --c-ink: #FFFFFF;
  --c-ink-2: #F3EFE4;
  --c-volt: #E4F56E;
  --c-orange: #FF5C39;
  --c-pale: #DCD6F7;
  --c-pale-2: #D6E8F7;
  --c-aluminum: #0E0F14;
  --c-titanium: #5A5B66;
  --c-line: rgba(14, 15, 20, .12);
  --c-amber: #FED878;
  --c-navy: #2337D6;
  --c-onbright: #0E0F14;
  --c-accent: #2337D6;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--c-black);
  color: var(--c-aluminum);
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--c-volt); color: var(--c-onbright); }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; background: var(--c-volt); color: var(--c-onbright);
  border-radius: 999px; transform: translateY(-200%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

/* ---------- 3. TYPE ---------- */
.label {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.4;
}
.h2 {
  font-size: var(--fs-xxl);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .92;
}
.h2 em { letter-spacing: -.02em; }
.lead { font-size: var(--fs-lg); line-height: 1.35; letter-spacing: -.015em; color: var(--c-titanium); max-width: 30ch; }
.section-label { display: inline-block; color: var(--c-accent); margin-bottom: 1.5rem; }

/* ---------- 4. LAYOUT / DECOR ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none;
  width: 200%; height: 200%;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.gridlines {
  position: fixed; inset: 0 var(--gutter); z-index: 1; pointer-events: none;
  display: flex; justify-content: space-between;
}
.gridlines i { width: 1px; height: 100%; background: rgba(179,180,180,.045); }

.status { display: inline-flex; align-items: center; gap: .6em; }
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); position: relative; flex: none;
}
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  animation: pulse 2s var(--ease-out) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }

/* ---------- 5. COMPONENTS ---------- */

/* Preloader */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--c-black);
  clip-path: inset(0 0 0 0);
}
.preloader__inner { display: grid; gap: 14px; justify-items: start; width: min(420px, 80vw); }
.preloader__num {
  font-size: clamp(5rem, 14vw, 10rem); font-weight: 500; letter-spacing: -.06em; line-height: .85;
  color: var(--c-accent); font-variant-numeric: tabular-nums;
}
.preloader__bar { width: 100%; height: 1px; background: var(--c-line); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; background: var(--c-accent); transform-origin: left; transform: scaleX(0); }
.preloader__file { color: var(--c-titanium); }
.preloader .label:first-child { color: var(--c-titanium); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem;
  padding: 0 var(--gutter);
  color: var(--c-aluminum);
  font-size: .9375rem;
  background: color-mix(in srgb, var(--c-black) 62%, transparent);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--c-line);
  transition: background .3s, border-color .3s;
}
.nav__progress { position: absolute; inset: 0 0 auto 0; height: 2px; }
.nav__progress i { display: block; height: 100%; background: var(--c-accent); transform-origin: left; transform: scaleX(0); }
.nav__logo { font-weight: 500; letter-spacing: -.02em; margin-right: auto; }
.nav__role { color: var(--c-titanium); }
.nav__links { display: flex; gap: 2rem; }
.nav__links a, .footer__links a, .cta__links a { position: relative; }
.nav__links a::after, .footer__links a::after, .cta__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav__links a:hover::after, .footer__links a:hover::after, .cta__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__inspect {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 8px 14px; border: 1px solid var(--c-line); border-radius: 999px;
  font-size: .8125rem; transition: background .3s, color .3s, border-color .3s;
}
.nav__inspect kbd { font-family: var(--f-mono); font-size: .6875rem; opacity: .6; }
.nav__inspect-dot { width: 7px; height: 7px; border: 1px solid currentColor; }
.nav__inspect[aria-pressed="true"] { background: #fff; color: #000; }
.nav__theme, .nav__lang {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 8px 14px; border: 1px solid var(--c-line); border-radius: 999px;
  font-size: .8125rem; transition: background .3s, color .3s, border-color .3s;
}
.nav__lang:hover { border-color: var(--c-accent); color: var(--c-accent); }
.nav__theme-icon { position: relative; width: 15px; height: 15px; display: inline-flex; flex: none; }
.nav__theme-icon svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.nav__theme-icon .i-moon { opacity: 1; transform: rotate(0deg) scale(1); }
.nav__theme-icon .i-sun { opacity: 0; transform: rotate(-80deg) scale(.4); }
.nav__theme[aria-pressed="true"] .nav__theme-icon .i-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.nav__theme[aria-pressed="true"] .nav__theme-icon .i-moon { opacity: 0; transform: rotate(80deg) scale(.4); }
.nav__theme[aria-pressed="true"] { background: #fff; color: #000; }
.nav__menu { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--c-black);
  display: flex; flex-direction: column; justify-content: center; gap: .2em;
  padding: var(--gutter); font-size: clamp(3rem, 14vw, 6rem); font-weight: 500; letter-spacing: -.05em; line-height: 1;
}
.menu a { font-family: var(--f-sans); font-style: normal; font-weight: 500; }
.menu__theme.nav__theme {
  display: inline-flex !important; align-self: flex-start; margin-top: 1rem;
  font-size: 1rem; letter-spacing: 0; font-weight: 400;
}
.menu__theme.nav__lang {
  display: inline-flex !important; align-self: flex-start; margin-top: .5rem;
  font-size: 1rem; letter-spacing: 0; font-weight: 400;
}

/* Cursor */
.cursor { position: fixed; inset: 0; z-index: 160; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--c-accent); }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid color-mix(in srgb, var(--c-accent) 55%, transparent);
  display: grid; place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background .3s, border-color .3s;
}
.cursor__label {
  font-family: var(--f-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--c-onbright); opacity: 0; transition: opacity .25s;
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--c-accent); }
.cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--c-volt); border-color: var(--c-volt); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot, .cursor.is-hover .cursor__dot { opacity: 0; }
.cursor.is-comment .cursor__ring { background: var(--c-orange); border-color: var(--c-orange); border-radius: 50% 50% 50% 0; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 64px; padding: 0 34px; border-radius: 999px; font-weight: 500; font-size: 1.0625rem;
  overflow: hidden; isolation: isolate;
}
.btn--primary { background: var(--c-navy); color: #fff; }
.btn--ghost { border: 1px solid color-mix(in srgb, var(--c-aluminum) 35%, transparent); color: var(--c-aluminum); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--c-orange); transform: translateY(101%); transition: transform .6s var(--ease-out);
}
.btn--ghost::before { background: var(--c-aluminum); }
.btn:hover::before { transform: none; }
.btn--ghost:hover { color: var(--c-black); }
.btn__roll { position: relative; display: block; overflow: hidden; line-height: 1.3; }
.btn__roll::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%;
}
.btn__roll, .btn__roll::after { transition: transform .6s var(--ease-out); }
.btn:hover .btn__roll { transform: translateY(-100%); }
.btn:hover .btn__roll::after { transform: none; }

.pill {
  display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--c-line); font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
}
.pill--volt { background: var(--c-volt); color: var(--c-onbright); border-color: var(--c-volt); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.75rem; }
.tags li {
  padding: 6px 12px; border: 1px solid var(--c-line); border-radius: 999px;
  font-family: var(--f-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-titanium);
}

/* Figma selection frame */
.sel { position: absolute; inset: -.18em -.3em -.08em; border: 1px solid var(--c-volt); pointer-events: none; }
.sel i { position: absolute; width: 9px; height: 9px; background: var(--c-onbright); border: 1px solid var(--c-volt); }
.sel i:nth-of-type(1) { top: -5px; left: -5px; }
.sel i:nth-of-type(2) { top: -5px; right: -5px; }
.sel i:nth-of-type(3) { bottom: -5px; left: -5px; }
.sel i:nth-of-type(4) { bottom: -5px; right: -5px; }
.sel__tag {
  position: absolute; left: -1px; bottom: 100%; margin-bottom: 8px; white-space: nowrap;
  padding: 3px 8px; background: var(--c-volt); color: var(--c-onbright);
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .04em;
}

.bubble {
  display: inline-grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 50% 50% 50% 0;
  background: var(--c-orange); color: var(--c-onbright);
  font-family: var(--f-mono); font-size: .6875rem; font-weight: 500;
}

.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 170;
  padding: 12px 20px; border-radius: 999px; background: var(--c-volt); color: var(--c-onbright);
  font-family: var(--f-mono); font-size: .8125rem; letter-spacing: .04em;
  transform: translate(-50%, 220%); visibility: hidden;
  transition: transform .6s var(--ease-out), visibility 0s .6s;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease-out); }

/* Canvas stage */
.stage { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

/* ---------- 6. SECTIONS ---------- */

/* HERO */
.hero { position: relative; height: auto; }
.hero__pin {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 48px) var(--gutter) 64px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(242,255,146,.06), transparent 70%),
    var(--c-black);
}
.hero__meta {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; gap: 1rem; color: var(--c-titanium);
}
.hero__meta .status { color: var(--c-aluminum); }

.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center;
  gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(40px, 7vh, 88px);
}
.hero__copy { max-width: 640px; }
.hero__name {
  position: relative;
  font-size: clamp(3.25rem, 8vw, 7rem); font-weight: 500; letter-spacing: -.045em; line-height: .92;
}
.hero__first, .hero__last { display: block; }
.hero__last { color: var(--c-accent); }
.hero__intro {
  margin-top: 28px; max-width: 48ch;
  font-size: var(--fs-lg); line-height: 1.45; letter-spacing: -.01em;
}
.hero__intro em { position: relative; color: var(--c-accent); }
.hero__intro em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: 1px; background: var(--c-accent); opacity: .55;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__portrait { position: relative; }
.hero__photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-img); overflow: hidden;
  background: var(--c-ink); border: 1px solid var(--c-line);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero__badge {
  position: absolute; z-index: 2; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px;
  background: var(--c-black); border: 1px solid var(--c-line);
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase;
}

/* STATS */
.stats {
  position: relative; z-index: 2;
  background: var(--c-volt); color: var(--c-onbright);
  padding: clamp(80px, 12vh, 140px) 0;
  overflow: hidden;
}
.marquee { white-space: nowrap; overflow: hidden; }
.marquee__row { display: inline-flex; }
.marquee span {
  font-size: clamp(2.5rem, 7vw, 6.5rem); font-weight: 500; letter-spacing: -.05em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(10,12,13,.35); padding-right: .3em;
}
.marquee--rev span { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: clamp(48px, 8vh, 96px) var(--gutter);
  border-top: 1px solid rgba(10,12,13,.2);
}
.stat { padding: 28px 24px 0 0; display: grid; gap: 14px; align-content: start; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(10,12,13,.2); }
.stat__num {
  display: flex; align-items: baseline; gap: .12em;
  font-size: clamp(3.5rem, 7vw, 7.5rem); font-weight: 500; letter-spacing: -.06em; line-height: .9;
  font-variant-numeric: tabular-nums;
}
.stat__num small { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: .38em; letter-spacing: -.01em; }
.stat__label { font-size: .9375rem; line-height: 1.35; max-width: 24ch; }

/* MISSION */
.mission {
  position: relative; z-index: 2;
  padding: clamp(120px, 22vh, 240px) var(--gutter);
  max-width: 1600px; margin: 0 auto;
}
.mission__text {
  font-size: var(--fs-xl); font-weight: 500; letter-spacing: -.04em; line-height: 1.02;
  max-width: 20ch;
}
.mission__text em { color: var(--c-accent); }
.mission__text--end { margin-left: auto; text-align: right; max-width: 22ch; }
.questions { display: grid; gap: 18px; margin: clamp(56px, 10vh, 110px) 0 clamp(56px, 10vh, 110px) clamp(0px, 18vw, 320px); }
.question {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--f-serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.75rem); line-height: 1.1;
  color: var(--c-aluminum);
}

/* PILLARS */
.pillars { position: relative; z-index: 2; padding: clamp(80px, 14vh, 160px) var(--gutter) 20vh; }
.section-head { margin-bottom: clamp(48px, 9vh, 100px); }
.pillars__stack { display: grid; gap: 18vh; }
.pillar {
  position: sticky; top: calc(var(--nav-h) + 3vh + var(--i) * 44px);
  display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  min-height: 46vh; padding: clamp(24px, 3vw, 44px);
  background: var(--c-pale); color: var(--c-onbright); border: none; border-radius: calc(var(--r-img) + 12px);
  box-shadow: 0 30px 60px -20px rgba(14,15,20,.25);
  transform-origin: 50% 0;
}
.pillar:nth-child(even) { background: var(--c-pale-2); }
.pillar .tags li { border-color: rgba(10,12,13,.18); color: rgba(10,12,13,.7); }
.pillar .pillar__art { stroke: var(--c-onbright); }
.pillar__art .accent-coral { fill: var(--c-orange); stroke: none; }
.pillar__art .accent-lime { fill: var(--c-volt); stroke: none; }
.pillar__art .accent-cobalt { fill: none; stroke: var(--c-accent); }
.pillar__num {
  font-size: clamp(4.5rem, 10vw, 10rem); font-weight: 500; letter-spacing: -.07em; line-height: .8;
  color: transparent; -webkit-text-stroke: 2px var(--c-accent);
}
.pillar__title { font-size: clamp(2rem, 3.6vw, 3.5rem); font-weight: 500; letter-spacing: -.04em; line-height: .98; margin-bottom: 1.25rem; }
.pillar__body p { max-width: 42ch; color: inherit; opacity: .78; }
.pillar__art { width: 100%; max-width: 190px; justify-self: end; fill: none; stroke: var(--c-onbright); stroke-width: 1.5; stroke-linecap: round; }

/* STORY / horizontal sections */
.h-section { position: relative; z-index: 2; }
.h-pin { position: relative; }
.h-track { display: flex; }
.h-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; height: 1px; background: var(--c-line); z-index: 3; }
.h-progress i { display: block; height: 100%; background: var(--c-accent); transform-origin: left; transform: scaleX(0); }

.story { background: var(--c-black); }
.story__track { align-items: center; gap: clamp(32px, 5vw, 96px); padding: 0 var(--gutter); }
.story__panel { flex: none; }
.story__intro { width: min(46vw, 760px); }
.story__intro .h2 { margin-bottom: 2rem; }
.story__intro .lead { max-width: 34ch; }
.story__portrait { width: min(32vw, 480px); }
.story__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; clip-path: circle(75% at 50% 50%); background: var(--c-ink); }
.story__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease-out); }
.story__portrait:hover img { filter: grayscale(0); }
.story__portrait figcaption { margin-top: 14px; color: var(--c-titanium); }
.chapter {
  width: min(30vw, 440px); min-height: 56vh;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 2rem;
  padding: 32px 0 0; border-top: 1px solid var(--c-line);
}
.chapter__num { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent); }
.chapter__title { font-size: clamp(3rem, 6vw, 6.5rem); font-weight: 500; letter-spacing: -.055em; line-height: .9; }
.chapter p { color: var(--c-titanium); max-width: 42ch; }
.chapter--now { border-top-color: var(--c-orange); }
.chapter--now .chapter__num { color: var(--c-orange); }

/* SERVICES */
.services {
  position: relative; z-index: 3;
  background: var(--c-pale); color: var(--c-onbright);
  padding: clamp(100px, 16vh, 180px) var(--gutter);
  border-radius: 48px 48px 0 0;
}
.services .section-label { color: var(--c-onbright); opacity: .6; }
.services .h2 em { color: var(--c-orange); }
.svc-list { border-top: 1px solid rgba(10,12,13,.16); }
.svc {
  position: relative;
  display: grid; grid-template-columns: 80px 1.4fr 1fr; align-items: center; gap: 24px;
  padding: clamp(22px, 3.4vh, 36px) 0;
  border-bottom: 1px solid rgba(10,12,13,.16);
  isolation: isolate;
  transition: padding .6s var(--ease-out), color .4s, background-color .5s var(--ease-out);
}
.svc__num { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .1em; opacity: .55; }
.svc__title { font-size: clamp(2.25rem, 5.5vw, 5.5rem); font-weight: 500; letter-spacing: -.05em; line-height: .95; transition: transform .6s var(--ease-out); }
.svc__desc { font-size: .9375rem; opacity: .7; max-width: 40ch; line-height: 1.45; }
@media (hover: hover) {
  .svc:hover { color: var(--c-aluminum); background-color: var(--c-black); padding-left: 24px; padding-right: 24px; }
  .svc:hover .svc__title { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--c-accent); }
}
.services__note { display: flex; align-items: center; gap: 12px; margin-top: 40px; font-size: 1rem; }
.services__note .pulse { background: var(--c-orange); }
.svc-preview {
  position: fixed; top: 0; left: 0; z-index: 50; pointer-events: none;
  width: 340px; aspect-ratio: 480 / 300; margin: -105px 0 0 -170px;
  border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35);
  opacity: 0; transform: scale(.6);
}

/* PROJECTS */
.projects { background: var(--c-black); }
.projects__track { position: relative; z-index: 2; align-items: center; gap: clamp(24px, 3vw, 48px); padding: 0 var(--gutter); }
.projects__intro { flex: none; width: min(36vw, 560px); }
.projects__intro .h2 { margin-bottom: 2rem; }
.card {
  flex: none; width: min(42vw, 640px);
  padding: 18px 18px 28px; border-radius: calc(var(--r-img) + 8px);
  background: color-mix(in srgb, var(--c-ink) 82%, transparent); border: 1px solid var(--c-line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .4s, transform .6s var(--ease-out);
}
.card:hover { border-color: color-mix(in srgb, var(--c-volt) 50%, transparent); }
.card__visual { aspect-ratio: 480 / 300; border-radius: var(--r-img); overflow: hidden; margin-bottom: 22px; background: var(--c-ink-2); }
.card__visual svg { width: 100%; height: 100%; transition: transform 1s var(--ease-out); }
.card:hover .card__visual svg { transform: scale(1.04); }
.shot { position: relative; }
.shot img { transition: transform 1s var(--ease-out); }
.shot--single img, .shot--stack img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot--stack img:nth-child(2) {
  position: absolute; right: -4%; bottom: -12%; width: 60%; height: auto;
  border-radius: 14px; box-shadow: 0 24px 50px rgba(0,0,0,.45), 0 0 0 1px color-mix(in srgb, var(--c-volt) 25%, transparent);
  transform: rotate(-2deg);
}
.card:hover .shot--stack img:nth-child(2) { transform: rotate(0deg) translate(-4%, -6%); }
.card:hover .shot--single img, .card:hover .shot--stack img:first-child { transform: scale(1.04); }
.shot--phones {
  display: flex; justify-content: center; align-items: flex-start; gap: 3%;
  padding-top: 6%; background: #000;
}
.shot--phones > img, .shot--phones .phone { height: 118%; width: auto; flex: none; }
.shot--phones > img { object-fit: contain; }
.shot--phones > img:nth-child(2) { transform: translateY(-4%); }
.card:hover .shot--phones > img { transform: translateY(-6%); }
.card:hover .shot--phones > img:nth-child(2) { transform: translateY(-10%); }
.phone {
  display: block; aspect-ratio: 920 / 2000; padding: 8px; border-radius: 34px;
  background: #1A1D1F; box-shadow: inset 0 0 0 1px #3A4247;
  transition: transform 1s var(--ease-out);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.card:hover .phone { transform: translateY(-6%); }
.card__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 6px 16px; color: var(--c-titanium); }
.card__title { margin: 0 6px 12px; font-size: clamp(1.6rem, 2.4vw, 2.4rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; }
.card__title em { color: var(--c-accent); }
.card p { margin: 0 6px 20px; color: var(--c-titanium); font-size: .975rem; max-width: 52ch; }
.card__link { margin: 0 6px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent); }

/* PROJECTS PAGE (grid, not horizontal scroll) */
.projects-page { position: relative; z-index: 2; padding: clamp(140px, 20vh, 220px) var(--gutter) clamp(80px, 12vh, 140px); background: var(--c-black); }
.projects-page .section-head { max-width: 640px; margin-bottom: clamp(48px, 8vh, 90px); }
.projects-page .lead { margin-top: 1.5rem; color: var(--c-titanium); max-width: 52ch; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: clamp(28px, 3vw, 48px); }
.projects-grid .card { width: 100%; }

.projects-preview { position: relative; z-index: 2; padding: clamp(80px, 14vh, 160px) var(--gutter); background: var(--c-black); }
.projects-preview .section-head { margin-bottom: clamp(48px, 8vh, 90px); }

.section-cta { display: flex; justify-content: center; margin-top: clamp(40px, 6vh, 64px); }

.card--more {
  width: min(20vw, 260px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  padding: 18px; text-align: center;
  background: none; border: none;
}
.card--more__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: clamp(88px, 11vw, 140px); height: clamp(88px, 11vw, 140px); border-radius: 50%;
  border: 1px solid var(--c-line); background: var(--c-ink);
  font-size: clamp(2rem, 4vw, 3.25rem); color: var(--c-accent); line-height: 1;
  transition: transform .45s var(--ease-out), background .3s, border-color .3s, color .3s;
}
.card--more:hover .card--more__icon {
  transform: rotate(45deg) scale(1.06);
  background: var(--c-accent); color: #fff; border-color: var(--c-accent);
}
.card--more__label {
  font-family: var(--f-mono); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-aluminum); font-weight: 500;
}

/* TESTIMONIALS */
.testi { position: relative; z-index: 2; padding: clamp(80px, 14vh, 160px) var(--gutter); background: var(--c-black); }
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: 4px; overflow: hidden; }
.testi__card { background: var(--c-ink); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 260px; }
.testi__quote { font-size: 1rem; line-height: 1.5; color: var(--c-aluminum); opacity: .92; }
.testi__card figcaption { display: grid; gap: 4px; }
.testi__name { font-family: var(--f-serif); font-style: italic; font-size: 1.125rem; color: var(--c-accent); }
.testi__card .label { color: var(--c-titanium); }
.testi__stat { background: var(--c-ink-2); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 260px; }
.testi__stat--volt { background: var(--c-volt); color: var(--c-onbright); }
.testi__stat--volt .label { color: rgba(10,12,13,.65); }
.testi__stat-num { display: flex; align-items: baseline; gap: .1em; font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 500; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.testi__stat-num small { font-size: .4em; }

/* PROJECT DETAIL PAGES (/projets/*.html) */
body.proj { background: var(--c-black); }
.proj-nav {
  position: relative; z-index: 10; display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.5rem;
  min-height: var(--nav-h); padding: 18px var(--gutter); color: var(--c-aluminum);
}
.proj-nav nav { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: .9375rem; }
@media (max-width: 480px) {
  .proj-nav { gap: 10px; }
  .proj-nav__logo { font-size: .9375rem; }
  .proj-nav nav { gap: 1rem; font-size: .8125rem; }
}
.proj-nav__logo { font-weight: 500; letter-spacing: -.02em; margin-right: auto; }
.proj-nav__logo span { color: var(--c-titanium); }
.proj-nav a:not(.proj-nav__logo) { color: var(--c-titanium); transition: color .3s; }
.proj-nav a:not(.proj-nav__logo):hover { color: var(--c-accent); }

.proj-hero { padding: clamp(32px, 6vh, 72px) var(--gutter) clamp(48px, 8vh, 96px); max-width: 1200px; margin: 0 auto; }
.proj-back { display: inline-flex; align-items: center; gap: 8px; color: var(--c-titanium); margin-bottom: clamp(32px, 6vh, 64px); transition: color .3s, gap .3s; }
.proj-back:hover { color: var(--c-accent); gap: 12px; }
.proj-hero__pill { display: inline-flex; margin-bottom: 1.25rem; }
.proj-title { font-size: clamp(3rem, 9vw, 7.5rem); font-weight: 500; letter-spacing: -.055em; line-height: .92; margin-bottom: clamp(32px, 5vh, 56px); }
.proj-title em { color: var(--c-accent); }
.proj-meta { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--c-line); }
.proj-meta div { padding: 20px 20px 0 0; }
.proj-meta div + div { border-left: 1px solid var(--c-line); padding-left: 20px; }
.proj-meta dt { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--c-titanium); margin-bottom: 8px; }
.proj-meta dd { font-size: clamp(1.125rem, 1.6vw, 1.5rem); font-family: var(--f-serif); font-style: italic; }

.proj-cover { max-width: 1200px; margin: 0 auto clamp(48px, 8vh, 96px); padding: 0 var(--gutter); }
.proj-cover__inner { border-radius: var(--r-img); overflow: hidden; border: 1px solid var(--c-line); background: var(--c-ink); }
.proj-cover img, .proj-cover svg { width: 100%; height: auto; display: block; }
.proj-cover--phones { display: flex; justify-content: center; gap: 24px; padding: clamp(24px, 4vw, 48px); background: #000; }
.proj-cover--phones img { width: auto; height: clamp(320px, 50vw, 640px); border-radius: 22px; }
.proj-cover--video { background: #000; line-height: 0; }
.proj-cover--video video { width: 100%; height: auto; display: block; }

.proj-body { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 12vh, 140px); display: grid; gap: clamp(56px, 9vh, 96px); }

/* Split (label / content) layout — case-study style */
.proj-body--split { max-width: 1200px; gap: clamp(64px, 10vh, 112px); }
.proj-body--split .proj-section {
  display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: clamp(24px, 5vw, 72px); align-items: start;
}
.proj-body--split .proj-section h2 { margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 32px); }
.proj-body--split .proj-section__content { display: grid; gap: 1.25rem; max-width: 62ch; }
.proj-body--split .proj-section__content > *:last-child { margin-bottom: 0; }
.proj-lead { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.35; color: var(--c-aluminum); }

.proj-media { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.proj-media + .proj-media { margin-top: clamp(16px, 2.5vh, 32px); }
.proj-media__inner { border-radius: var(--r-img); overflow: hidden; border: 1px solid var(--c-line); background: var(--c-ink); }
.proj-media img { width: 100%; height: auto; display: block; }
.proj-media--pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); }

.proj-body--split > .proj-highlight { margin: 0 0 0 clamp(164px, 24vw, 292px); }

@media (max-width: 860px) {
  .proj-body--split .proj-section { grid-template-columns: 1fr; gap: 14px; }
  .proj-body--split .proj-section h2 { position: static; }
  .proj-media--pair { grid-template-columns: 1fr; }
  .proj-body--split > .proj-highlight { margin-left: 0; }
}
.proj-section h2 {
  font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 1.5rem;
}
.proj-section p { color: var(--c-aluminum); opacity: .92; line-height: 1.7; margin-bottom: 1.25rem; max-width: 62ch; }
.proj-section p:last-child { margin-bottom: 0; }
.proj-section ul { display: grid; gap: 10px; margin: 0 0 1.25rem; }
.proj-section ul li {
  position: relative; padding-left: 22px; color: var(--c-aluminum); opacity: .92; line-height: 1.6; max-width: 60ch;
}
.proj-section ul li::before { content: "→"; position: absolute; left: 0; color: var(--c-accent); }
.proj-section h3 {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  color: var(--c-aluminum); margin: 2rem 0 .85rem;
}
.proj-section h3:first-child { margin-top: 0; }
.proj-step { counter-increment: proj-step; padding-top: clamp(28px, 4vh, 44px); border-top: 1px solid var(--c-line); }
.proj-steps { counter-reset: proj-step; }
.proj-step h3 { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-sans); font-style: normal; font-weight: 500; letter-spacing: -.02em; }
.proj-step h3::before {
  content: counter(proj-step, decimal-leading-zero); font-family: var(--f-mono); font-size: .8em; color: var(--c-accent);
}
.proj-highlight {
  border-left: 2px solid var(--c-accent); padding: 4px 0 4px 24px; margin: 2rem 0;
  font-family: var(--f-serif); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.4; color: var(--c-aluminum);
}

.proj-more { max-width: 1200px; margin: 0 auto; padding: clamp(56px, 9vh, 96px) var(--gutter); border-top: 1px solid var(--c-line); }
.proj-more__label { color: var(--c-titanium); margin-bottom: 2rem; display: inline-block; }
.proj-more__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.proj-more__card {
  display: block; padding: 20px; border: 1px solid var(--c-line); border-radius: 4px; transition: border-color .3s, transform .3s;
}
.proj-more__card:hover { border-color: rgba(242,255,146,.5); transform: translateY(-4px); }
.proj-more__card .pill { margin-bottom: 14px; }
.proj-more__card h3 { font-size: 1.125rem; font-weight: 500; letter-spacing: -.02em; }

@media (max-width: 768px) {
  .proj-meta { grid-template-columns: repeat(2, 1fr); }
  .proj-meta div:nth-child(3) { border-left: 0; padding-left: 0; }
  .proj-meta div:nth-child(n+3) { border-top: 1px solid var(--c-line); margin-top: 20px; padding-top: 20px; }
  .proj-more__grid { grid-template-columns: 1fr 1fr; }
  .proj-cover--phones { flex-wrap: wrap; }
  .proj-cover--phones img { height: clamp(260px, 60vw, 420px); }
}
@media (max-width: 520px) {
  .proj-more__grid { grid-template-columns: 1fr; }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* CTA */
.cta { position: relative; z-index: 2; height: 220vh; height: 220svh; background: var(--c-black); }
.cta__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 4vw;
  padding: var(--nav-h) var(--gutter) 40px;
}
.cta__content { position: relative; z-index: 2; }
.cta__title { font-size: clamp(2.8rem, 6.4vw, 7.5rem); font-weight: 500; letter-spacing: -.055em; line-height: .92; margin-bottom: 3rem; }
.cta__title .line { display: block; }
.cta__title .line--serif em { color: var(--c-accent); font-size: 1.12em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.5rem; }
.cta__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; color: var(--c-titanium); }
.link-copy { display: inline-flex; align-items: center; gap: 10px; color: var(--c-aluminum); }
.link-copy .label { padding: 3px 8px; border: 1px solid var(--c-line); border-radius: 999px; font-size: .625rem; }
.cta__portrait { position: relative; z-index: 2; justify-self: center; width: min(28vw, 400px); }
.cta__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 28%; border-radius: var(--r-img); }
.sel--portrait { inset: -10px; z-index: 1; }
.comment {
  position: absolute; z-index: 2; left: -18%; bottom: 14%;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  background: var(--c-aluminum); color: var(--c-black); font-size: .9375rem; white-space: nowrap;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}
.comment .bubble { width: 30px; height: 30px; }

/* FOOTER */
.footer { position: relative; z-index: 2; padding: clamp(80px, 12vh, 140px) var(--gutter) 28px; background: var(--c-black); border-top: 1px solid var(--c-line); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.footer__top .label { color: var(--c-titanium); }
.footer__line { margin-top: 10px; font-size: var(--fs-lg); letter-spacing: -.02em; }
.footer__links { display: grid; gap: 8px; font-size: 1.125rem; }
.footer__links a { display: inline-block; }
.footer__meta { display: grid; gap: 10px; justify-items: end; }
.footer__meta .status { color: var(--c-aluminum); }
.wordmark {
  position: relative; margin: clamp(60px, 10vh, 120px) 0 24px;
  font-size: 13.4vw; font-weight: 500; letter-spacing: -.07em; line-height: .8; white-space: nowrap;
}
.wordmark__outline { display: block; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--c-aluminum) 25%, transparent); }
.wordmark__fill { position: absolute; inset: 0; color: var(--c-accent); clip-path: inset(0 100% 0 0); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; color: var(--c-titanium); padding-top: 20px; border-top: 1px solid var(--c-line); }

/* ---------- 7. INSPECT MODE ---------- */
.ins { position: fixed; inset: 0; z-index: 140; pointer-events: none; display: none; }
.inspect .ins { display: block; }
.ins__grid {
  position: absolute; inset: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
}
.ins__grid i { background: rgba(255, 112, 80, .06); border-left: 1px solid rgba(255,112,80,.18); border-right: 1px solid rgba(255,112,80,.18); }
.ins__box {
  position: absolute; top: 0; left: 0; width: 0; height: 0;
  border: 1px solid var(--c-volt); opacity: 0;
  transition: opacity .2s;
}
.ins__box.is-on { opacity: 1; }
.ins__box i { position: absolute; width: 7px; height: 7px; background: var(--c-onbright); border: 1px solid var(--c-volt); }
.ins__box i:nth-of-type(1) { top: -4px; left: -4px; } .ins__box i:nth-of-type(2) { top: -4px; right: -4px; }
.ins__box i:nth-of-type(3) { bottom: -4px; left: -4px; } .ins__box i:nth-of-type(4) { bottom: -4px; right: -4px; }
.ins__tag, .ins__dims {
  position: absolute; white-space: nowrap; padding: 2px 7px;
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .03em;
}
.ins__tag { left: -1px; bottom: 100%; margin-bottom: 6px; background: var(--c-volt); color: var(--c-onbright); }
.ins__dims { left: 50%; top: 100%; margin-top: 8px; transform: translateX(-50%); background: var(--c-orange); color: var(--c-onbright); border-radius: 3px; }
.inspect main section, .inspect .footer { outline: 1px dashed rgba(242,255,146,.28); outline-offset: -1px; }
.inspect [data-name]::before {
  content: attr(data-name); position: absolute; z-index: 20; top: 8px; left: 8px;
  padding: 2px 8px; background: var(--c-volt); color: var(--c-onbright);
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .04em; pointer-events: none;
}
.inspect .hero__pin::before { content: "01 Hero — 100svh"; position: absolute; z-index: 20; top: calc(var(--nav-h) + 40px); left: var(--gutter); padding: 2px 8px; background: var(--c-orange); color: var(--c-onbright); font-family: var(--f-mono); font-size: .6875rem; }

/* ---------- 8. SPLIT UTILITIES ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.w { display: inline-block; white-space: nowrap; }
.split-mask .w { overflow: clip; vertical-align: top; padding: .08em .04em .12em; margin: -.08em -.04em -.12em; }
.c, .wi { display: inline-block; will-change: auto; }

/* ---------- 9. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .pillar { grid-template-columns: 1fr 1.6fr; }
  .pillar__art { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(10,12,13,.2); margin-top: 28px; }
  .cta__pin { grid-template-columns: 1fr; align-content: center; }
  .cta__portrait { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav__links, .nav__inspect, .nav__theme, .nav__lang, .nav__role { display: none; }
  .nav__menu { display: inline-flex; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; padding: 10px 0; }
  .gridlines i:nth-child(2), .gridlines i:nth-child(3) { display: none; }

  .hero__pin { min-height: 0; height: auto; overflow: visible; justify-content: flex-start; padding-top: calc(var(--nav-h) + 28px); padding-bottom: 48px; }
  .hero__meta { flex-direction: column; gap: 6px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; margin-top: 32px; }
  .hero__portrait { max-width: 360px; }
  .sel__tag { font-size: .5625rem; }

  .stats__grid { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0 0; border-left: 0; }
  .stat:nth-child(n+2) { border-top: 1px solid rgba(10,12,13,.2); margin-top: 24px; }

  .mission__text--end { text-align: left; margin-left: 0; }
  .questions { margin-left: 0; }
  .question { align-items: flex-start; }

  .pillar { grid-template-columns: 1fr; min-height: auto; top: calc(var(--nav-h) + var(--i) * 16px); gap: 16px; }
  .pillar__num { font-size: 5rem; }

  .testi__grid { grid-template-columns: 1fr; }
  .testi__card, .testi__stat { min-height: auto; }

  /* horizontal → vertical */
  .h-section { height: auto !important; }
  .h-pin { position: relative; height: auto; overflow: visible; padding: 100px 0; }
  .h-track { flex-direction: column; align-items: stretch !important; transform: none !important; }
  .h-progress { display: none; }
  .story__intro, .story__portrait, .chapter, .projects__intro, .card { width: 100%; }
  .chapter { min-height: auto; }
  .story__portrait { width: 82%; }

  .services { border-radius: 28px 28px 0 0; }
  .svc { grid-template-columns: 1fr; gap: 8px 16px; }
  .svc__num { grid-column: 1 / -1; }
  .svc__desc { grid-column: 1 / 2; }
  .svc-preview { display: none; }

  .cta { height: auto; }
  .cta__pin { position: relative; height: auto; min-height: 100svh; padding-top: 120px; padding-bottom: 120px; }
  .cta__title { font-size: clamp(2.6rem, 12vw, 4rem); }
  .btn { height: 56px; padding: 0 26px; width: 100%; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__meta { justify-items: start; }
  .footer__bottom { flex-direction: column; }
}

@media (min-width: 769px) {
  .h-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
  .h-track { height: 100%; width: max-content; will-change: transform; }
}

/* ---------- 10. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { animation: none; }
  .hero, .cta { height: auto; }
  .hero__pin, .cta__pin { position: relative; height: 100svh; }
  .h-section { height: auto !important; }
  .h-pin { position: relative !important; height: auto !important; overflow: visible !important; padding: 100px 0; }
  .h-track { flex-direction: column; width: auto !important; align-items: stretch !important; gap: 64px !important; }
  .story__intro, .story__portrait, .chapter, .projects__intro, .card { width: min(100%, 760px); }
  .h-progress { display: none; }
  .pillar { position: relative; top: auto; }
}

/* Page Projets : toute la carte est cliquable (lien étiré sur la carte) */
.projects-grid .card { position: relative; cursor: pointer; }
.projects-grid .card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.projects-grid .card__link:focus-visible { outline: none; }
.projects-grid .card:has(.card__link:focus-visible) { outline: 2px solid var(--c-accent); outline-offset: 4px; }

/* Cartes « autres projets » avec aperçu image */
.proj-more__card { padding: 10px 10px 18px; border-radius: 16px; background: var(--c-ink); overflow: hidden; }
.proj-more__thumb { display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; margin-bottom: 16px; background: var(--c-ink-2); }
.proj-more__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease-out, ease); }
.proj-more__card:hover .proj-more__thumb img { transform: scale(1.06); }
.proj-more__card .pill, .proj-more__card h3 { margin-left: 8px; margin-right: 8px; }
.proj-more__title { font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; margin: 0 0 clamp(24px, 4vh, 40px); }
.proj-more__title em { font-family: var(--f-serif, "Instrument Serif", serif); font-style: italic; font-weight: 400; color: var(--c-accent); font-size: 1.12em; letter-spacing: -.01em; }

/* Footer : rôle + liens à gauche, phrase de mission à droite */
.footer__top { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr; } }
.footer__top .footer__links { margin-top: 20px; }
.footer__top > .footer__line { margin-top: 0; justify-self: end; text-align: right; max-width: 24ch; }
@media (max-width: 760px) {
  .footer__top > .footer__line { justify-self: start; text-align: left; }
}
.pillars__lead { margin-top: 1.5rem; max-width: 44ch; }

/* =========================================================
   À propos : intro, expertises, outils, façons de travailler
   ========================================================= */
.about { position: relative; z-index: 2; background: var(--c-black); }
.about .cs-block, .about .cs-process { margin-bottom: clamp(72px, 12vh, 140px); }
.about-intro { padding: clamp(24px, 6vh, 72px) 0 clamp(40px, 6vh, 72px); }
.about-intro__text { font-size: clamp(1.375rem, 2.6vw, 2.25rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.2; max-width: 36ch; }
.about-intro__text em { color: var(--c-accent); }
.about-intro__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.about .cs-stats { margin-bottom: clamp(72px, 12vh, 140px); }

.about-skills { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(16px, 3vh, 32px); }
.about-skill { padding: clamp(22px, 2.4vw, 32px); border-radius: var(--cs-r); background: var(--c-ink); border: 1px solid var(--c-line); display: grid; gap: 14px; align-content: start; }
.about-skill__tag { justify-self: start; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--c-volt); color: #0E0F14; }
.about-skill__tag--coral { background: var(--c-orange); }
.about-skill__tag--pale { background: var(--c-pale); }
.about-skill__tag--cobalt { background: #2337D6; color: #fff; }
.about-skill h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.about-skill ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.about-skill li { position: relative; padding-left: 18px; color: var(--c-titanium); line-height: 1.5; font-size: .975rem; }
.about-skill li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }

.about-tools { margin: clamp(16px, 3vh, 32px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--c-line); }
.about-tools li { display: grid; grid-template-columns: 160px 1fr; gap: clamp(16px, 3vw, 40px); align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.about-tools b { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -.03em; }
.about-tools span { color: var(--c-titanium); line-height: 1.6; max-width: 58ch; }

.about-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(16px, 3vh, 32px); }
.about-mode { padding: clamp(22px, 2.4vw, 32px); border-radius: var(--cs-r); background: var(--c-pale); color: #0E0F14; display: grid; gap: 14px; align-content: start; min-height: 240px; }
.about-mode:nth-child(2) { background: var(--c-volt); }
.about-mode:nth-child(3) { background: var(--c-orange); }
.about-mode__num { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; opacity: .7; }
.about-mode h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; margin-top: auto; }
.about-mode p { line-height: 1.5; opacity: .85; }

@media (max-width: 900px) { .about-modes { grid-template-columns: 1fr; } .about-mode { min-height: auto; } }
@media (max-width: 700px) { .about-skills { grid-template-columns: 1fr; } .about-tools li { grid-template-columns: 1fr; gap: 6px; } }

/* À propos : hero typographique, photo intégrée au texte */
.about-hero { padding-top: clamp(130px, 20vh, 220px); padding-bottom: clamp(80px, 14vh, 160px); }
.about-hero__title { margin-top: 24px; font-size: clamp(2.25rem, 6.2vw, 6.25rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.04; max-width: 17ch; }
.about-hero__title em { color: var(--c-accent); }
.about-hero__photo { display: inline-block; width: 1.75em; height: .9em; vertical-align: -.08em; border-radius: 999px; overflow: hidden; margin: 0 .04em; }
.about-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.about-hero__pill { display: inline-block; background: var(--c-volt); color: #0E0F14; border-radius: 999px; padding: 0 .3em .06em; line-height: 1.02; transform: rotate(-2deg); }
.about-hero__foot { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-top: clamp(56px, 10vh, 120px); padding-top: clamp(24px, 4vh, 40px); border-top: 1px solid var(--c-line); }
.about-hero__foot .label { color: var(--c-titanium); display: block; margin-bottom: 16px; }
.about-hero__mission { font-size: clamp(1.5rem, 2.8vw, 2.5rem); max-width: 24ch; }
.about-hero__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.about-hero__facts li { display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.about-hero__facts b { font-weight: 500; font-size: 1.125rem; letter-spacing: -.02em; }
.about-hero__facts span { color: var(--c-titanium); font-size: .9375rem; }
@media (max-width: 860px) { .about-hero__foot { grid-template-columns: 1fr; } }
.about-hero__nowrap { white-space: nowrap; }
.about-hero__photo { width: 2.1em; }
.about-hero__title { max-width: 21ch; }
.about-hero { padding-bottom: clamp(56px, 10vh, 120px); }

/* À propos : bloc Expertises sur fond cobalt, onglets animés */
.about-xp { position: relative; z-index: 2; background: #2337D6; color: #fff; padding: clamp(80px, 14vh, 160px) 0; margin: 0 clamp(8px, 1vw, 16px) clamp(72px, 12vh, 140px); border-radius: clamp(24px, 3vw, 40px); overflow: hidden; }
.about-xp .cs-wrap { --w: 1240px; }
.about-xp__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 7vh, 72px); }
.about-xp__label { color: rgba(255,255,255,.7); display: block; margin-bottom: 18px; }
.about-xp__title { font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 500; letter-spacing: -.05em; line-height: .95; }
.about-xp__title em { color: #E4F56E; }
.about-xp__head p { color: rgba(255,255,255,.82); max-width: 42ch; line-height: 1.5; }
.about-xp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.about-xp__tabs { display: grid; align-content: start; border-top: 1px solid rgba(255,255,255,.25); }
.about-xp__tab { position: relative; display: grid; grid-template-columns: 56px 1fr; align-items: baseline; gap: 12px; padding: clamp(18px, 2.6vh, 28px) 0; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.25); color: #fff; text-align: left; cursor: pointer; font: inherit; opacity: .5; transition: opacity .4s, padding-left .5s var(--ease-out); }
.about-xp__tab:hover, .about-xp__tab:focus-visible { opacity: .85; }
.about-xp__tab[aria-selected="true"] { opacity: 1; padding-left: 12px; }
.about-xp__tab:focus-visible { outline: 2px solid #E4F56E; outline-offset: 4px; }
.about-xp__num { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; }
.about-xp__name { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.about-xp__tab[aria-selected="true"] .about-xp__name { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: #E4F56E; }
.about-xp__bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: #E4F56E; transform: scaleX(0); transform-origin: left; }
.about-xp__tab[aria-selected="true"] .about-xp__bar { transform: scaleX(1); }
.about-xp.is-ticking .about-xp__tab[aria-selected="true"] .about-xp__bar, [data-xp].is-ticking .about-xp__tab[aria-selected="true"] .about-xp__bar { animation: xp-bar var(--xp-dur, 5s) linear both; }
@keyframes xp-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.about-xp__panels { position: relative; }
.about-xp__panel { position: relative; height: 100%; background: #E4F56E; color: #0E0F14; border-radius: clamp(18px, 2vw, 28px); padding: clamp(28px, 3.4vw, 48px); display: grid; align-content: start; gap: 20px; overflow: hidden; animation: xp-in .6s var(--ease-out) both; }
.about-xp__panel[hidden] { display: none; }
@keyframes xp-in { from { opacity: 0; transform: translateY(18px) rotate(-1deg); } to { opacity: 1; transform: none; } }
.about-xp__panel-num { position: absolute; right: clamp(16px, 2vw, 28px); bottom: -.18em; font-size: clamp(7rem, 14vw, 12rem); font-weight: 500; letter-spacing: -.07em; line-height: 1; color: rgba(14,15,20,.08); pointer-events: none; }
.about-xp__panel h3 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; max-width: 16ch; }
.about-xp__panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; }
.about-xp__panel li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: baseline; font-size: 1.0625rem; line-height: 1.45; opacity: 0; animation: xp-li .5s var(--ease-out) forwards; }
.about-xp__panel li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #0E0F14; color: #E4F56E; font-size: .75rem; transform: translateY(2px); }
.about-xp__panel li:nth-child(1) { animation-delay: .12s; } .about-xp__panel li:nth-child(2) { animation-delay: .2s; }
.about-xp__panel li:nth-child(3) { animation-delay: .28s; } .about-xp__panel li:nth-child(4) { animation-delay: .36s; }
@keyframes xp-li { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .about-xp__panel, .about-xp__panel li { animation: none; opacity: 1; } }
@media (max-width: 860px) { .about-xp__head, .about-xp__grid { grid-template-columns: 1fr; } }
.about-xp__tab[aria-selected="true"] .about-xp__name { font-size: clamp(1.7rem, 3.4vw, 2.8rem); }

/* À propos : approche en cartes, chiffres à tailles variées */
.about-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.4vw, 16px); margin-top: clamp(24px, 4vh, 48px); }
.about-step { position: relative; overflow: hidden; display: grid; grid-template-rows: 1fr auto; gap: 24px; min-height: clamp(240px, 30vw, 340px); padding: clamp(22px, 2.4vw, 32px); border-radius: var(--cs-r, 20px); background: var(--c-ink); border: 1px solid var(--c-line); }
.about-step__num { font-weight: 500; letter-spacing: -.07em; line-height: .8; color: var(--c-accent); }
.about-step h3 { font-size: clamp(1.25rem, 1.8vw, 1.625rem); font-weight: 500; letter-spacing: -.03em; margin-bottom: 8px; }
.about-step p { color: var(--c-titanium); line-height: 1.5; font-size: .9375rem; max-width: 38ch; }
/* Rangée 1 : deux grandes cartes */
.about-step--1 { grid-column: span 3; background: var(--c-volt); border-color: var(--c-volt); color: #0E0F14; }
.about-step--1 .about-step__num { color: #0E0F14; font-size: clamp(7rem, 15vw, 13rem); }
.about-step--1 p { color: rgba(14,15,20,.75); }
.about-step--2 { grid-column: span 3; }
.about-step--2 .about-step__num { font-size: clamp(4rem, 8vw, 7rem); justify-self: end; }
/* Rangée 2 : trois cartes */
.about-step--3, .about-step--4, .about-step--5 { grid-column: span 2; }
.about-step--3 .about-step__num { font-size: clamp(3rem, 5vw, 4.5rem); }
.about-step--4 { background: var(--c-pale); border-color: var(--c-pale); color: #0E0F14; }
.about-step--4 .about-step__num { color: #2337D6; font-size: clamp(5.5rem, 10vw, 9rem); }
.about-step--4 p { color: rgba(14,15,20,.75); }
.about-step--5 { background: var(--c-orange); border-color: var(--c-orange); color: #0E0F14; }
.about-step--5 .about-step__num { color: #0E0F14; font-size: clamp(4rem, 7vw, 6rem); justify-self: end; }
.about-step--5 p { color: rgba(14,15,20,.78); }
@media (max-width: 860px) {
  .about-steps { grid-template-columns: 1fr 1fr; }
  .about-step--1, .about-step--2, .about-step--3, .about-step--4, .about-step--5 { grid-column: span 1; }
  .about-step--1 { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .about-steps { grid-template-columns: 1fr; } .about-step { min-height: 200px; } }

/* À propos : hiérarchie — le hero reste le plus grand titre de la page */
.about-hero__title { font-size: clamp(3rem, 8vw, 8.5rem); line-height: .98; letter-spacing: -.055em; max-width: 18ch; }
.story__intro .h2 { font-size: clamp(2.5rem, 5.2vw, 5.25rem); }
.chapter__title { font-size: clamp(2.25rem, 4.4vw, 4.5rem); }
/* Expertises : sans lignes ni flèches */
.about-xp__tabs { border-top: 0; }
.about-xp__tab { border-bottom: 0; }
.about-xp__bar { display: none; }
/* À propos : blocs Outils et Approche sans libellé latéral, pleine largeur */
.about .cs-block, .about .cs-process__head { grid-template-columns: 1fr; }
/* Outils : logos */
.about-tools li { grid-template-columns: 200px 1fr; }
.about-tools b { display: flex; align-items: center; gap: 14px; }
.about-tools__logo { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--c-line); }
.about-tools__logo svg { width: 24px; height: 24px; display: block; }
/* Outils : alignement icône + nom + texte sur une même ligne */
.about-tools li { grid-template-columns: 200px 1fr; align-items: center; padding: 18px 0; }
.about-tools span:not(.about-tools__logo) { max-width: 60ch; line-height: 1.45; }
@media (max-width: 700px) { .about-tools li { grid-template-columns: 1fr; gap: 10px; align-items: start; } }
.sep { display: inline-block; width: 1px; height: .95em; margin: 0 .9em; vertical-align: -.12em; background: currentColor; opacity: .35; }

/* ---------- Petits titres en Switzer (remplace Geist Mono) ---------- */
:is(.label, .cs-label, .pill, .cs-showcase__tag, .dm__step, .dm__label, .cs-step__num, .cs-goal__num, .cs-pains__tag, .cs-meta dt, .cs-ba__tag, .proj-back, .card__link, .cs-sites__kicker, .cs-sites dt, .cs-duo__name span, .cs-scrollpage figcaption, .nav__theme-label, .cs-next__label, .cs-result__tag) { font-weight: 500; letter-spacing: .06em; }

/* Études de cas : même menu mobile que l'accueil */
@media (max-width: 768px) {
  .proj-nav { position: sticky; top: 0; z-index: 100; flex-wrap: nowrap; background: var(--c-black); }
  .proj-nav nav, .proj-nav__logo span { display: none; }
}
.hero__intro em::after { display: none; }
@media (max-width: 768px) {
  .pillars { padding-bottom: 48px; }
  .projects-preview { padding-top: 56px; }
}
@media (max-width: 768px) { .testi__stat { order: 1; } }

/* Mobile : espaces entre sections réduits */
@media (max-width: 768px) {
  .stats, .services, .testi, .about-xp { padding-top: 64px; padding-bottom: 64px; }
  .about-xp { margin-bottom: 48px; }
  .pillars { padding-top: 64px; }
  .projects-preview { padding-bottom: 64px; }
  .cta__pin { min-height: 0; padding-top: 64px; padding-bottom: 72px; }
  main > .cta:first-child .cta__pin { min-height: 100svh; padding-top: calc(var(--nav-h) + 48px); }
  .footer { padding-top: 64px; }
}
@media (max-width: 768px) { .projects-page { padding-bottom: 64px; } }

/* À propos : bio orientée résultats sous le titre (deux colonnes) */
.about-hero__bio { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: center; margin-top: clamp(56px, 9vh, 112px); padding-top: clamp(28px, 4vh, 48px); border-top: 1px solid var(--c-line); }
.about-hero__lede { display: grid; gap: 18px; justify-items: start; }
.about-hero__lede .label { color: var(--c-accent); }
.about-hero__lede p, .about-hero__lede h1 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.25rem); font-weight: 500; line-height: 1.15; letter-spacing: -.03em; color: var(--c-aluminum); }
.about-hero__lede em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.12em; color: var(--c-accent); }
.about-hero__sub { display: inline-block; padding: 8px 14px; border-radius: 99px; background: var(--c-volt); color: #0E0F14; font-size: .875rem; font-weight: 500; }
.about-hero__body { display: grid; gap: 1.1em; padding-top: clamp(4px, 3vh, 36px); font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.6; color: var(--c-titanium); }
.about-hero__body p { margin: 0; }
.about-hero__body mark { background: none; color: var(--c-aluminum); font-weight: 500; }
@media (max-width: 860px) { .about-hero__bio { grid-template-columns: 1fr; gap: 28px; } .about-hero__body { padding-top: 0; } }
@media (max-width: 480px) { .about-hero__sub { font-size: .75rem; padding: 7px 12px; border-radius: 14px; } }

/* À propos : illustration de marque animée */
.about-hero__text { display: grid; gap: clamp(28px, 4vh, 44px); }
.about-hero__text .about-hero__body { padding-top: 0; }
.about-hero__art { position: relative; margin: 0; aspect-ratio: 4 / 4.4; display: grid; place-items: center; padding: clamp(24px, 3vw, 44px); border-radius: clamp(20px, 2vw, 28px); background: #DCD6F7; overflow: hidden; }
.about-hero__art::before { content: ""; position: absolute; inset: 0; opacity: .3; background-image: linear-gradient(rgba(35,55,214,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(35,55,214,.35) 1px, transparent 1px); background-size: 40px 40px; }
.about-hero__art img { position: relative; width: 100%; height: auto; animation: art-float 6s ease-in-out infinite; }
.about-hero__spark { position: absolute; z-index: 1; border-radius: 99px; animation: art-spark 5s ease-in-out infinite; }
.about-hero__spark--1 { width: 16px; height: 16px; background: #E4F56E; top: 14%; right: 16%; box-shadow: 0 0 0 1px rgba(14,15,20,.1); }
.about-hero__spark--2 { width: 10px; height: 10px; background: #FF5C39; top: 30%; left: 12%; animation-delay: -1.6s; }
.about-hero__spark--3 { width: 22px; height: 22px; background: #2337D6; bottom: 16%; right: 10%; animation-delay: -3.2s; }
@keyframes art-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes art-spark { 0%, 100% { transform: translateY(0) scale(1); opacity: 1; } 50% { transform: translateY(-14px) scale(.85); opacity: .75; } }
@media (prefers-reduced-motion: reduce) { .about-hero__art img, .about-hero__spark { animation: none; } }
@media (max-width: 860px) { .about-hero__bio { grid-template-columns: 1fr; } .about-hero__art { width: min(100%, 360px); } }

/* À propos : haut de page au même format que les études de cas */
.cs-hero.about-top { padding-top: calc(var(--nav-h) + clamp(72px, 13vh, 150px)); }
@media (max-width: 768px) { .cs-hero.about-top { padding-top: calc(var(--nav-h) + 40px); } }
.about-top .cs-hero__lead em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--c-accent); }
.about-top .about-hero__pill { font-size: 1em; }
.about-bio { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter) clamp(72px, 12vh, 140px); }
.about-bio .about-hero__bio { margin-top: 0; }
/* À propos : la bio illustrée ouvre la page */
.about-bio--top { padding-top: calc(var(--nav-h) + clamp(56px, 10vh, 120px)); }
.about-bio--top .about-hero__bio { border-top: 0; padding-top: 0; }
@media (max-width: 768px) { .about-bio--top { padding-top: calc(var(--nav-h) + 32px); } }

/* À propos : champs d'expertise en cartes qui s'empilent (inspiré de Kryzalid) */
.about-fields { max-width: 1240px; margin: 0 auto; padding: clamp(72px, 12vh, 140px) var(--gutter); }
.about-fields__head { display: grid; gap: 18px; margin-bottom: clamp(40px, 7vh, 80px); }
.about-fields__head .label { color: var(--c-accent); }
.about-fields__title { margin: 0; font-size: clamp(2.75rem, 7vw, 6.5rem); font-weight: 500; line-height: .95; letter-spacing: -.045em; }
.about-fields__title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.12em; color: var(--c-accent); }
.about-fields__arrow { display: inline-block; font-weight: 300; color: var(--c-accent); }
.about-fields__head p { margin: 0; max-width: 46ch; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.5; color: var(--c-titanium); }
.about-fields__stack { display: grid; gap: clamp(20px, 3vh, 32px); }
.about-field { position: sticky; top: calc(var(--nav-h) + 16px + var(--i) * clamp(84px, 11vh, 118px)); display: grid; align-content: start; gap: clamp(20px, 3vh, 36px); min-height: min(64vh, 560px); padding: clamp(28px, 4vw, 56px); border-radius: clamp(20px, 2.2vw, 32px); color: #0E0F14; box-shadow: 0 -24px 60px -36px rgba(0,0,0,.55); }
.about-field--pale { background: #DCD6F7; }
.about-field--volt { background: #E4F56E; }
.about-field--cobalt { background: #2337D6; color: #fff; }
.about-field--coral { background: #FF5C39; }
.about-field__num { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; opacity: .7; }
.about-field__title { margin: 0; font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 500; line-height: .95; letter-spacing: -.045em; }
.about-field__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 5vw, 96px); align-items: start; }
.about-field__desc { margin: 0; max-width: 24ch; font-size: clamp(1.125rem, 1.6vw, 1.5rem); line-height: 1.3; letter-spacing: -.015em; }
.about-field__list { list-style: none; margin: 0; padding: 0; }
.about-field__list li { padding: 16px 0; border-top: 1px solid currentColor; border-top-color: rgba(14,15,20,.25); font-size: clamp(1.0625rem, 1.5vw, 1.375rem); letter-spacing: -.01em; }
.about-field--cobalt .about-field__list li { border-top-color: rgba(255,255,255,.35); }
@media (max-width: 860px) {
  .about-field { position: relative; top: auto; min-height: 0; }
  .about-field__row { grid-template-columns: 1fr; }
}
/* À propos : positionnement à gauche, illustration à droite, texte en dessous */
.about-hero__bio--v2 { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); row-gap: clamp(40px, 7vh, 80px); align-items: center; }
.about-hero__bio--v2 .about-hero__lede p, .about-hero__bio--v2 .about-hero__lede h1 { font-size: clamp(1.75rem, 3.6vw, 3.25rem); line-height: 1.08; }
.about-hero__bio--v2 .about-hero__body { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); padding-top: clamp(24px, 4vh, 40px); border-top: 1px solid var(--c-line); }
@media (max-width: 860px) { .about-hero__bio--v2 { grid-template-columns: 1fr; } .about-hero__bio--v2 .about-hero__body { grid-template-columns: 1fr; } }
.about-field__ex { justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding: 10px 18px; border-radius: 99px; background: rgba(14,15,20,.08); color: inherit; font-size: clamp(.9375rem, 1.1vw, 1.0625rem); font-weight: 500; transition: background .25s, transform .25s; }
.about-field__ex:hover, .about-field__ex:focus-visible { background: rgba(14,15,20,.16); transform: translateX(4px); }
.about-field--cobalt .about-field__ex { background: rgba(255,255,255,.14); }
.about-field--cobalt .about-field__ex:hover, .about-field--cobalt .about-field__ex:focus-visible { background: rgba(255,255,255,.24); }
.about-field__side { display: grid; gap: clamp(18px, 3vh, 28px); justify-items: start; align-content: start; }
.about-field__side .about-field__ex { margin-top: 0; }

/* Cartes projets : toutes au même niveau, lien aligné en bas */
.projects-grid { align-items: stretch; }
.projects-grid .card { display: flex; flex-direction: column; }
.projects-grid .card__link { margin-top: auto; align-self: flex-start; }

/* À propos : téléchargement du CV */
.about-hero__cv { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: clamp(28px, 4vw, 48px); }
.about-hero__cv .label { margin-right: 6px; color: var(--c-titanium); }

/* À propos : bio plus équilibrée, sans mots orphelins */
.about-hero__body p { text-wrap: pretty; hyphens: manual; }
@media (min-width: 861px) { .about-hero__bio--v2 .about-hero__body { grid-template-columns: 1.3fr 1fr 1fr; } }
.about-hero__cv { flex-direction: column; align-items: flex-start; gap: 16px; }
.about-hero__cv-label { font-size: clamp(1.125rem, 1.4vw, 1.375rem); font-weight: 500; letter-spacing: -.01em; color: var(--c-aluminum); text-wrap: balance; }
.about-hero__cv-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn__icon, .link-dl__icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn .btn__icon { margin-right: 10px; position: relative; z-index: 1; }
.link-dl { display: inline-flex; align-items: center; gap: .45em; }
.cta__cv { margin-top: clamp(32px, 4vw, 48px); }

/* À propos : CV sous le titre, texte en bloc */
.about-hero__lede .about-hero__cv { margin-top: clamp(16px, 2vw, 28px); }
.about-bio__card { margin-top: clamp(40px, 6vw, 80px); padding: clamp(28px, 4vw, 56px); border-radius: clamp(20px, 2.2vw, 32px); background: var(--c-ink-2); border: 1px solid var(--c-line); }
.about-bio__text { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); padding-top: 0; }
@media (max-width: 860px) { .about-bio__text { grid-template-columns: 1fr; } }
/* Bloc texte À propos : cobalt de la marque */
.about-bio__card { background: #2337D6; border-color: transparent; }
.about-bio__card .about-bio__text { color: rgba(255, 255, 255, .86); }
.about-bio__card .about-bio__text mark { color: #E4F56E; }
.about-bio__card .about-bio__text, .about-bio__card .about-bio__text mark { color: #fff; }
.about-bio__title { margin: 0 0 clamp(28px, 4vw, 48px); font-size: clamp(2.25rem, 5vw, 4.5rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; color: #fff; }
.about-bio__title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: #E4F56E; }
