/* =========================================================
   Mob E-deck / JPSO, design system v2 (2026)
   Base : "Abysses" (bleu abyssal, ivoire) + turquoise d'accent,
   violet et corail en touches. Bento + bordure lumineuse.
   ========================================================= */
:root {
  --bg: #060A18;
  --bg-2: #0B1230;
  --bg-3: #111A3F;
  --ink: #F4EFE6;          /* ivoire */
  --muted: #A7AFC8;        /* 8,9:1 sur --bg */
  --line: rgba(244, 239, 230, .1);
  --line-2: rgba(244, 239, 230, .18);
  --turq: #2EE6C9;
  --violet: #8C7BFF;
  --coral: #FF8A5C;
  --accent: var(--turq);
  --card: rgba(255, 255, 255, .035);
  --card-2: rgba(255, 255, 255, .06);
  --radius: 22px;
  --radius-s: 12px;
  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;
  --wrap: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --space: clamp(72px, 10vw, 140px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--font); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: color-mix(in oklab, var(--accent) 60%, transparent); text-underline-offset: .2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--turq); color: var(--bg); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 5.2rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.mono { font-family: var(--mono); letter-spacing: 0; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; margin-top: 2.5rem; }
.kicker { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--turq); margin-bottom: 1rem; }
.lead-s { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 62ch; }
.hl { color: var(--ink); background: linear-gradient(transparent 62%, color-mix(in oklab, var(--turq) 35%, transparent) 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Grain */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Barre de progression de lecture (scroll-driven) */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--turq), var(--violet)); }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
}
@keyframes grow { to { transform: scaleX(1); } }

/* ---------- Boutons ---------- */
.btn { --b: var(--line-2); display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.5em; border-radius: 999px;
  font: 600 .95rem/1 var(--font); text-decoration: none; border: 1px solid var(--b); background: transparent; color: var(--ink);
  cursor: pointer; transition: transform .35s var(--ease), background .3s, border-color .3s, color .3s; }
.btn svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); color: var(--ink); border-color: var(--ink); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-accent { background: var(--turq); color: #04131A; border-color: var(--turq); }
.btn-accent:hover { background: #7CF3E0; color: #04131A; border-color: #7CF3E0; }
.btn-ghost { background: var(--card); }
.btn-sm { padding: .7em 1.1em; font-size: .85rem; }
svg.fill, .fill { fill: currentColor; stroke: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: color-mix(in oklab, var(--bg) 78%, transparent); backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark svg { width: 42px; height: auto; transition: transform .6s var(--ease-spring); }
.brand:hover .brand-mark svg { transform: rotate(-8deg) translateY(-2px); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -.02em; }
.brand-text i { font-style: normal; font-family: var(--mono); font-size: .66rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--muted); transition: color .25s, background .25s; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: var(--card-2); }
.nav a[aria-current]::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--turq); translate: -50% 0; }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 960px); display: grid; align-items: center; padding: 40px 0 100px; overflow: clip; isolation: isolate; margin-top: -76px; padding-top: 136px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.layer { position: absolute; inset: -10% 0; will-change: transform; }
.l-deep { background: radial-gradient(120% 80% at 70% 0%, #16245F 0%, transparent 60%), radial-gradient(80% 60% at 0% 100%, #0E2A3F 0%, transparent 60%), var(--bg); }
.l-rays { background: conic-gradient(from 200deg at 65% -10%, transparent 0deg, rgba(46, 230, 201, .07) 12deg, transparent 24deg, rgba(140, 123, 255, .06) 40deg, transparent 52deg, rgba(46, 230, 201, .05) 70deg, transparent 84deg); filter: blur(6px); animation: sway 14s ease-in-out infinite alternate; }
.l-grid { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 75%); opacity: .5; }
.l-whale { display: grid; place-items: center end; padding-right: 2%; }
.whale-big { width: min(70vw, 900px); opacity: .9; animation: swim 18s ease-in-out infinite; translate: 12% 18%; }
.l-bubbles i { position: absolute; bottom: -20px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; border: 1px solid rgba(46, 230, 201, .45); animation: rise var(--d) linear infinite; animation-delay: var(--delay); }
@keyframes rise { to { transform: translate3d(20px, -110vh, 0); opacity: 0; } }
@keyframes swim { 50% { transform: translate3d(-3%, -4%, 0) rotate(-2deg); } }
@keyframes sway { to { transform: rotate(4deg) scale(1.05); } }
.hero-inner { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); padding: 7px 14px 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--turq); box-shadow: 0 0 0 0 rgba(46, 230, 201, .6); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(46, 230, 201, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 230, 201, 0); } }
.hero-title { margin: 1.4rem 0 1.2rem; font-size: clamp(2.6rem, 6vw, 5.6rem); }
.hero-title em { font-style: normal; }
.hero-title em, .hero-title em .w { background: linear-gradient(100deg, var(--turq), #9CF7E8 45%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 56ch; }
.hero-sub b { color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 0; font-size: .78rem; color: var(--muted); }
.hero-proof b { display: block; color: var(--ink); font-size: .95rem; font-family: var(--font-display); }
.hero-visual { position: relative; }
.portrait { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; position: relative; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px var(--line-2); rotate: 2deg; }
.portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 10, 24, .55)); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; z-index: 2; padding: 10px 14px; border-radius: 14px; font-size: .78rem; background: color-mix(in oklab, var(--bg-2) 80%, transparent); backdrop-filter: blur(12px); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -20px #000; white-space: nowrap; }
.chip span { color: var(--turq); margin-right: 6px; }
.chip-a { top: 10%; left: -12%; } .chip-b { bottom: 22%; right: -8%; } .chip-c { bottom: 4%; left: -6%; }
.chip-b span { color: var(--coral); } .chip-c span { color: var(--violet); }
.scroll-hint { position: absolute; left: 50%; bottom: 24px; translate: -50% 0; font-size: .7rem; color: var(--muted); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; letter-spacing: .2em; text-transform: uppercase; }
.scroll-hint span { width: 1px; height: 40px; background: linear-gradient(var(--turq), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Titre découpé en mots */
.split .w { display: inline-block; }
.js .split .w { opacity: 0; transform: translateY(.5em) rotate(2deg); filter: blur(6px); transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--wi) * 55ms); }
.js .split.in .w { opacity: 1; transform: none; filter: none; }

/* ---------- Sections ---------- */
.section { padding: var(--space) 0; position: relative; }
.section.pt0 { padding-top: 0; }
.section-dark { background: linear-gradient(180deg, transparent, var(--bg-2) 12%, var(--bg-2) 88%, transparent); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 820px; }
.page-hero { padding: clamp(60px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); position: relative; }
.page-hero::before { content: ''; position: absolute; inset: -76px 0 0; z-index: -1; background: radial-gradient(60% 70% at 80% 0%, rgba(22, 36, 95, .9), transparent 70%); }
.page-hero h1 { max-width: 18ch; }
.crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 1.5rem; }
.crumbs a { color: var(--muted); }

/* ---------- Cartes ---------- */
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 32px); transition: transform .5s var(--ease), border-color .4s, background .4s; }
.card h3 { margin-bottom: .45em; }
.card-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
/* Bordure lumineuse qui suit la souris (au survol seulement) */
.glow::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(46, 230, 201, .75), rgba(140, 123, 255, .35) 35%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; }
.glow:hover::before, .glow:focus-within::before { opacity: 1; }
.glow:hover { background: var(--card-2); transform: translateY(-4px); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.tags li { font: 500 .72rem/1 var(--mono); padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.meta { font-size: .76rem; color: var(--muted); margin-bottom: .8rem; letter-spacing: .02em; }
.go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; transition: background .3s, color .3s, transform .4s var(--ease); }
.go svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.glow:hover .go { background: var(--turq); color: var(--bg); transform: rotate(-45deg); }
.card-foot { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 1rem; }
.metric { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin: .8rem 0 0; }
.metric b { font-family: var(--font-display); font-size: 1.5rem; color: var(--turq); letter-spacing: -.02em; }
.metric span { color: var(--muted); font-size: .88rem; }
.metric.big b { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.metric.big { flex-direction: column; gap: 2px; margin: 1.2rem 0; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 > *, .grid-3 > *, .grid-4 > * { display: flex; }
.grid-2 > * > .card, .grid-3 > * > .card { flex: 1; }
.grid-3 > .card, .grid-4 > .card { display: flex; flex-direction: column; }

/* Carte projet */
.project-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.project-card .card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.card-media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-3); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.project-card:hover .card-media img { transform: scale(1.05); }

/* Visuels génératifs */
.art { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.art-word { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.04em; opacity: .9; mix-blend-mode: overlay; color: #fff; }
.art-toon { background: radial-gradient(circle at 30% 30%, #FF8A5C, transparent 45%), radial-gradient(circle at 70% 70%, #8C7BFF, transparent 50%), repeating-radial-gradient(circle at 50% 50%, #1A1440 0 6px, #231a55 6px 7px); }
.art-skout { background: linear-gradient(180deg, #2b1a3d, #0b0712), repeating-linear-gradient(90deg, transparent 0 15px, rgba(255, 138, 92, .15) 15px 16px), repeating-linear-gradient(0deg, transparent 0 15px, rgba(255, 138, 92, .15) 15px 16px); background-blend-mode: normal; image-rendering: pixelated; }
.art-skout::after { content: ''; position: absolute; width: 48px; height: 72px; bottom: 22%; left: 30%; background: linear-gradient(#FF8A5C 0 25%, #F4EFE6 25% 40%, #2EE6C9 40% 80%, #111 80%); box-shadow: 120px 30px 0 -8px #8C7BFF; }
.art-brand { background: radial-gradient(circle at 50% 120%, #2EE6C9 0, transparent 50%), linear-gradient(160deg, #16245F, #060A18); }
.art-agents { background: var(--bg-3); }

/* Schéma agents */
.agents-diagram { width: 100%; height: 100%; background: radial-gradient(circle at 50% 50%, #16245F, var(--bg-3) 70%); }
.agents-diagram.mini { position: absolute; inset: 0; padding: 4%; }
.ad-line { stroke: rgba(46, 230, 201, .35); stroke-width: 1.2; stroke-dasharray: 4 5; animation: dash 20s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.ad-core { fill: var(--turq); filter: drop-shadow(0 0 18px rgba(46, 230, 201, .6)); }
.ad-core-t, .ad-core-s { text-anchor: middle; fill: #04131A; font: 700 13px var(--font-display); }
.ad-core-s { font: 500 10px var(--mono); }
.ad-node circle { fill: var(--bg-2); stroke: var(--line-2); }
.ad-node text { text-anchor: middle; fill: var(--ink); font: 600 9.5px var(--font); }
.ad-node .ad-sub { fill: var(--muted); font: 400 8px var(--mono); }
.ad-node { animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.8s); }
@keyframes bob { 50% { transform: translateY(-4px); } }

/* ---------- Bento ---------- */
.bento { display: grid; gap: 18px; grid-template-columns: repeat(6, 1fr); grid-template-areas: "a a b b b b" "c c b b b b" "d d d d e e"; }
.bento-card { display: flex; flex-direction: column; container-type: inline-size; overflow: hidden; }
.area-a { grid-area: a; } .area-b { grid-area: b; } .area-c { grid-area: c; } .area-d { grid-area: d; } .area-e { grid-area: e; }
.bento-card .tags { margin-top: auto; padding-top: 1rem; }
.area-b { background: radial-gradient(90% 80% at 100% 0%, rgba(46, 230, 201, .1), transparent 60%), var(--card); }
.area-d { background: radial-gradient(70% 90% at 100% 100%, rgba(140, 123, 255, .14), transparent 60%), var(--card); }
.geo-widget { margin: 1.5rem 0 .5rem; display: grid; gap: 10px; }
.gw-row { display: grid; grid-template-columns: 90px 1fr 32px; gap: 12px; align-items: center; font-size: .8rem; }
.gw-bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.gw-bar i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, var(--turq), var(--violet)); transform-origin: left; }
.js .gw-bar i { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js .in .gw-bar i { transform: scaleX(1); }
.term { display: grid; gap: 4px; margin: 1.2rem 0 .2rem; padding: 16px; border-radius: 14px; background: #050816; border: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.term .ok { color: var(--turq); }
.term .cursor { animation: blink 1s steps(1) infinite; color: var(--ink); }
@keyframes blink { 50% { opacity: 0; } }
@container (max-width: 380px) { .gw-row { grid-template-columns: 70px 1fr 28px; } }

/* ---------- Cartes empilées (études de cas) ---------- */
.stack { display: grid; gap: 28px; }
.stack-item { position: sticky; top: calc(100px + var(--i) * 22px); }
.feature { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #101a44, #0a1029); border: 1px solid var(--line-2); min-height: 460px; box-shadow: 0 -20px 60px -30px #000; }
.feature-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; }
.feature-body h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.feature-media { position: relative; overflow: hidden; background: var(--bg-3); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 1.2s var(--ease); }
.feature:hover .feature-media img { transform: scale(1.04); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .stack-item .feature { animation: shrink linear both; animation-timeline: view(); animation-range: exit-crossing 0% exit-crossing 100%; }
  }
}
@keyframes shrink { to { transform: scale(.92); filter: brightness(.6); } }

/* ---------- Méthode ---------- */
.method { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.method li { padding: 28px 24px 8px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.method li:last-child { border: 0; }
.method .mono { color: var(--turq); font-size: .85rem; display: block; margin-bottom: 1.2rem; }

/* ---------- Workflows ---------- */
.wf-card { display: flex; flex-direction: column; }
.wf-card header { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: .75rem; }
.wf-id { color: var(--turq); }
.wf-level { padding: 3px 8px; border-radius: 6px; background: var(--card-2); color: var(--muted); }
.lvl-pro { color: var(--violet); } .lvl-business { color: var(--coral); }
.flow { list-style: none; padding: 0; margin: .6rem 0 1rem; display: grid; gap: 0; counter-reset: f; }
.flow li { position: relative; padding: 6px 0 6px 26px; font: 500 .8rem/1.3 var(--mono); color: var(--ink); }
.flow li::before { content: ''; position: absolute; left: 6px; top: 11px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--turq); background: var(--bg); z-index: 1; }
.flow li:not(:last-child)::after { content: ''; position: absolute; left: 10px; top: 18px; bottom: -6px; width: 1px; background: linear-gradient(var(--turq), transparent); }
.wf-card:hover .flow li::before { background: var(--turq); transition: background .3s; transition-delay: calc(var(--n, 0) * 1ms); }
.wf-gain { font-weight: 600; font-size: .92rem; margin-top: auto; padding-top: .4rem; border-top: 1px dashed var(--line-2); }

/* ---------- Carte "en cours" : rideau de fer + cadenas ---------- */
.wip-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.wip-card .card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.wip-card .tags { margin-top: auto; padding-top: .8rem; }
.wip-media { aspect-ratio: 4/3; }
.wip-media > img, .wip-media > .art { filter: saturate(.6) blur(2px); transform: scale(1.06); }
.shutter { position: absolute; inset: 0; z-index: 2; transform: translateY(-34%); transition: transform .9s var(--ease-spring); }
.slats { position: absolute; inset: 0 0 34px; background:
  repeating-linear-gradient(180deg, #2a3358 0 3px, #3a4675 3px 13px, #222a4c 13px 15px, #1a2040 15px 18px);
  box-shadow: inset 0 -12px 18px -8px rgba(0, 0, 0, .6); }
.slats::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 15%, transparent 85%, rgba(0, 0, 0, .35)); }
.shutter-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; background: linear-gradient(#566196, #2b345e); border-top: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; }
.shutter-bar::before, .shutter-bar::after { content: ''; position: absolute; top: 12px; width: 28px; height: 8px; border-radius: 4px; background: #1a2040; box-shadow: inset 0 1px 2px #000; }
.shutter-bar::before { left: 14%; } .shutter-bar::after { right: 14%; }
.lock { position: relative; top: 14px; width: 38px; transform-origin: 50% 0; animation: swing 3.6s ease-in-out infinite; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .6)); }
.lock-svg .shackle { stroke: #C9CEDF; stroke-width: 5; stroke-linecap: round; transition: transform .5s var(--ease-spring); }
.lock-svg .body { fill: var(--coral); }
.lock-svg .hole { fill: #3b1406; }
@keyframes swing { 0%, 60%, 100% { transform: rotate(0); } 66% { transform: rotate(12deg); } 72% { transform: rotate(-9deg); } 78% { transform: rotate(5deg); } 84% { transform: rotate(-2deg); } }
.wip-card:hover .shutter, .wip-card:focus-visible .shutter { transform: translateY(-66%); }
.wip-card:hover .lock-svg .shackle, .wip-card:focus-visible .lock-svg .shackle { transform: translateY(-6px); }
.wip-card:hover .lock, .wip-card:focus-visible .lock { animation: jiggle .5s ease-in-out 2; }
@keyframes jiggle { 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } }
.wip-badge { position: absolute; top: 12px; left: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em;
  background: repeating-linear-gradient(-45deg, #FFC94D 0 10px, #1a1a1a 10px 20px); color: #111; font-weight: 600; }
.wip-badge { background: #FFC94D; box-shadow: 0 0 0 2px #1a1a1a, 4px 4px 0 #1a1a1a; }
.wip-badge .pulse { background: #E2401C; box-shadow: none; animation: blink 1.2s steps(1) infinite; }
.meter { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: .6rem; }
.meter span { display: block; height: 100%; width: var(--p); border-radius: inherit; background: repeating-linear-gradient(-45deg, var(--turq) 0 8px, #22bfa7 8px 16px); background-size: 200% 100%; animation: stripes 1.2s linear infinite; }
@keyframes stripes { to { background-position: -22.6px 0; } }
.wip-eta { color: var(--muted); margin: .5rem 0 0; } .wip-eta span { color: var(--turq); margin-right: 6px; }

/* ---------- Certifications ---------- */
.certs { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.cert-main { background: radial-gradient(80% 90% at 0% 0%, rgba(46, 230, 201, .1), transparent 60%), var(--card); }
.blocks { margin: 1rem 0 0; padding: 0; list-style: none; counter-reset: b; display: grid; gap: 10px; }
.blocks li { counter-increment: b; position: relative; padding-left: 44px; font-size: .95rem; }
.blocks li::before { content: 'B' counter(b); position: absolute; left: 0; top: 0; font: 600 .7rem/1 var(--mono); padding: 5px 6px; border-radius: 6px; border: 1px solid var(--turq); color: var(--turq); }
.check { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: .6em; }
.check li { position: relative; padding-left: 28px; }
.check li::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--turq); border-bottom: 2px solid var(--turq); rotate: -45deg; }
.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.plain li { display: grid; gap: 2px; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; }
.post-card .go { margin-top: auto; }
.cat { color: var(--turq); }
.cat-ads { color: var(--coral); } .cat-iaagentique { color: var(--violet); } .cat-devlog { color: #FFC94D; }
.post-body { font-size: 1.08rem; }

/* ---------- Prose ---------- */
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose section:first-child h2 { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; } .prose li { margin-bottom: .5em; }
.prose .check { padding-left: 0; }
.prose .lead { font-size: 1.22rem; color: var(--ink); }
.prose blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 3px solid var(--turq); background: var(--card); border-radius: 0 12px 12px 0; font-family: var(--font-display); font-size: 1.2rem; }
.prose code { font: .88em var(--mono); background: var(--card-2); padding: .12em .4em; border-radius: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.prose th { font: 500 .75rem var(--mono); text-transform: uppercase; color: var(--muted); }
.callout { margin: 2em 0; padding: 20px 24px; border-radius: 16px; background: linear-gradient(120deg, rgba(46, 230, 201, .12), rgba(140, 123, 255, .1)); border: 1px solid rgba(46, 230, 201, .3); }
.callout b { display: block; font: 600 .75rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--turq); margin-bottom: .3em; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 1.4em 0; }
.stat { padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.stat b { display: block; font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.1 var(--font-display); color: var(--turq); margin-bottom: 6px; }
.stat span { font-size: .85rem; color: var(--muted); }

/* ---------- Étude de cas ---------- */
.case-hero h1 { max-width: 22ch; font-size: clamp(2.2rem, 5vw, 4.4rem); }
.case-media { border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16/8; background: var(--bg-3); position: relative; }
.case-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-media .agents-diagram { position: absolute; inset: 0; }
.case-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 80px); padding: var(--space) 0; align-items: start; }
.facts { position: sticky; top: 100px; }
.facts dl { margin: 0 0 1.2rem; display: grid; gap: 14px; }
.facts dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-size: .92rem; }
.toc { display: grid; gap: 2px; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.toc a { text-decoration: none; color: var(--muted); font-size: .9rem; padding: 4px 0 4px 12px; border-left: 2px solid transparent; transition: color .2s, border-color .2s; }
.toc a.active, .toc a:hover { color: var(--ink); border-color: var(--turq); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shot { padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg-3); cursor: zoom-in; aspect-ratio: 4/3; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.06); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(3, 5, 14, .85); backdrop-filter: blur(6px); }
.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 14px; }
.lb-close { position: fixed; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); font-size: 1.6rem; cursor: pointer; }
.lightbox[open] { animation: pop .4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
.faq details { border-bottom: 1px solid var(--line-2); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--turq); font-size: 1.5rem; line-height: 1; transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 12px 0 0; color: var(--muted); }
.case-next { margin-top: 3rem; } .case-next p { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* ---------- Labo / dev ---------- */
.stack-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; font-size: .8rem; }
.stack-list li { padding: 7px 12px; border-radius: 8px; background: var(--card-2); color: var(--muted); }
.lab-card { text-decoration: none; display: block; }
.lab-card h3 { display: flex; justify-content: space-between; gap: 8px; font-size: 1.1rem; }
.lab-card h3 svg { width: 18px; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
.lab-card .mono { color: var(--turq); margin: 0; }

/* ---------- Filtres ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem; }
.filter { font: 500 .85rem var(--font); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); cursor: pointer; transition: all .25s; }
.filter:hover { color: var(--ink); border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filterable > [hidden] { display: none; }

/* ---------- À propos ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.portrait-about { rotate: -2deg; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.timeline li > .mono { color: var(--turq); font-size: .85rem; padding-top: 4px; }
.timeline h3 { margin-bottom: .2em; } .timeline .meta { margin-bottom: .4rem; }
.note { margin-top: 32px; }

/* ---------- CV ---------- */
.cv-sheet { background: #FBF8F2; color: #141827; border-radius: 18px; padding: clamp(24px, 4vw, 56px); max-width: 980px; margin-inline: auto; box-shadow: 0 50px 100px -40px #000; font-size: .95rem; line-height: 1.5; }
.cv-sheet a { color: #0B6E62; }
.cv-head { display: flex; justify-content: space-between; gap: 24px; align-items: start; border-bottom: 2px solid #141827; padding-bottom: 18px; margin-bottom: 18px; }
.cv-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; } .cv-head h2 .mono { font-size: .45em; color: #0B6E62; vertical-align: middle; }
.cv-head img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; }
.cv-role { font-weight: 600; color: #0B6E62; margin: .3em 0; }
.cv-summary { font-size: .98rem; }
.cv-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; }
.cv-sheet h3 { font-size: .8rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; color: #0B6E62; border-bottom: 1px solid #d9d3c7; padding-bottom: 6px; margin: 1.4em 0 .8em; }
.cv-cols > div > h3:first-child { margin-top: 0; }
.cv-item { margin-bottom: 14px; } .cv-item ul { margin: 4px 0 0; padding-left: 1.1em; } .cv-item li { margin-bottom: 2px; }
.cv-t { margin: 0; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; } .cv-t span { font: .78rem var(--mono); color: #5b6175; }
.cv-k { font-weight: 700; margin: .8em 0 .1em; font-size: .9rem; }
.cv-sheet .small { margin-bottom: .4em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: .85rem; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; color: var(--ink); background: rgba(0, 0, 0, .25); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--turq); box-shadow: 0 0 0 4px rgba(46, 230, 201, .15); }
.contact-form select option { background: var(--bg-2); }
.copy-mail { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 2rem 0; }

/* ---------- Auteur ---------- */
.author { display: flex; gap: 18px; align-items: center; margin-top: 3rem; }
.author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.author p { margin: 0 0 .3em; }

/* ---------- Footer ---------- */
.site-footer { padding: var(--space) 0 40px; border-top: 1px solid var(--line); background: radial-gradient(70% 60% at 50% 0%, rgba(22, 36, 95, .6), transparent 70%); }
.footer-cta { text-align: center; margin-bottom: clamp(60px, 8vw, 110px); }
.mega-link { display: inline-flex; align-items: center; gap: .3em; font: 800 clamp(2.8rem, 9vw, 8rem)/1 var(--font-display); letter-spacing: -.045em; text-decoration: none; transition: color .3s; }
.mega-link span svg { width: .7em; height: .7em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; transition: transform .5s var(--ease); }
.mega-link:hover { color: var(--turq); } .mega-link:hover span svg { transform: translateX(.15em) rotate(-45deg); }
.small-mega { font-size: clamp(1.3rem, 3vw, 2rem); letter-spacing: -.02em; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid nav, .footer-grid > div { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a:not(.brand):not(.social) { color: var(--muted); text-decoration: none; font-size: .95rem; }
.footer-grid a:hover { color: var(--ink); }
.footer-grid .brand { margin-bottom: 8px; }
.socials { display: flex; gap: 8px; margin-top: 8px; }
.social { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--muted); transition: all .3s var(--ease); }
.social svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social svg.fill { fill: currentColor; stroke: none; }
.social:hover { color: var(--bg); background: var(--turq); border-color: var(--turq); transform: translateY(-3px); }
.socials.big .social { width: 52px; height: 52px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Apparitions au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Transitions de page ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }
::view-transition-old(root) { animation-name: vt-out; } ::view-transition-new(root) { animation-name: vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .certs { grid-template-columns: 1fr 1fr; } .cert-main { grid-column: 1 / -1; }
  .chip-a { left: -4%; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav { position: fixed; inset: 76px 0 auto; flex-direction: column; padding: 16px 20px 28px; gap: 4px; background: color-mix(in oklab, var(--bg) 96%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .5s var(--ease); }
  .nav a { font-size: 1.3rem; padding: 12px 14px; font-family: var(--font-display); }
  .nav.open { transform: none; }
  .header-cta { display: none; }
  .burger { display: grid; gap: 6px; margin-left: auto; width: 44px; height: 44px; place-content: center; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); cursor: pointer; }
  .burger span { width: 18px; height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; margin: 20px auto 0; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "b" "a" "c" "d" "e"; }
  .feature { grid-template-columns: 1fr; } .feature-media { aspect-ratio: 16/10; order: -1; }
  .stack-item { position: static; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .method { grid-template-columns: 1fr 1fr; } .method li { margin-right: 0; padding-right: 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .case-grid { grid-template-columns: 1fr; } .facts { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cv-cols { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
  .grid-4, .certs, .method, .footer-grid { grid-template-columns: 1fr; }
  .chip { font-size: .7rem; } .chip-a { left: -2%; } .chip-b { right: -2%; }
  .case-media { aspect-ratio: 4/3; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .split .w { opacity: 1; transform: none; filter: none; }
  .layer { transform: none !important; }
  .shutter { transform: translateY(-34%); }
  @view-transition { navigation: none; }
}

/* ---------- Impression (CV en PDF) ---------- */
@media print {
  @page { size: A4; margin: 12mm; }
  body { background: #fff; color: #000; font-size: 10.5pt; }
  .site-header, .site-footer, .grain, .progress, .no-print, .skip { display: none !important; }
  .section { padding: 0 !important; }
  .cv-sheet { box-shadow: none; border-radius: 0; padding: 0; max-width: none; font-size: 9.6pt; }
  .cv-sheet h3 { margin: .9em 0 .5em; }
  .cv-item { break-inside: avoid; }
  a { text-decoration: none; }
}

/* LCP : le titre du hero n'est jamais invisible (il glisse et se défloute seulement) */
.js .hero-title.split .w { opacity: .35; }
.js .hero-title.split.in .w { opacity: 1; }
.btn { white-space: nowrap; }

/* ---------- v2 : accueil profil, compétences, projets dev ---------- */
.sep { display: inline-block; width: 1px; height: .85em; background: currentColor; opacity: .35; margin: 0 .65em; vertical-align: -.08em; }
.hero-hello { margin: 1.2rem 0 0; font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--muted); }
.hero-hello b { color: var(--ink); }
.hero-hello + .hero-title { margin-top: .5rem; }
.profile-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: start; margin-bottom: 40px; }
.profile-grid h2 { margin-bottom: .6em; }
.facts-card dl { margin: 0 0 18px; display: grid; gap: 14px; }
.facts-card dt { color: var(--turq); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.facts-card dd { margin: 2px 0 0; }
.skill-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.skill-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.skill-list li:last-child { border-bottom: 0; }
.lvl { font-family: 'JetBrains Mono', monospace; font-size: .68rem; padding: 3px 8px; border-radius: 99px; background: var(--card-2); color: var(--muted); white-space: nowrap; }
.lvl-ava { color: #060A18; background: var(--turq); }
.lvl-int { color: var(--turq); background: rgba(46, 230, 201, .1); }
.skills-title { margin: 56px 0 18px; }
.dev-grid { margin-bottom: 8px; }
.dev-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.dev-card .card-media { aspect-ratio: 16 / 8; overflow: hidden; background: var(--card-2); }
.dev-card .card-media img, .dev-card .card-media .art { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dev-card .card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.dev-card .card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.repo { display: inline-flex; gap: 4px; align-items: center; color: var(--turq); text-decoration: none; white-space: nowrap; }
.repo svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr; } }
