/* =========================================================
   Eliott Jacopin — Portfolio V1.1
   Swiss design · grille · fil rouge · intro · curseur custom
   ========================================================= */

/* --- Fonts locales --- */
@font-face {
  font-family: "N27";
  src: url("assets/fonts/N27-Regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "N27";
  src: url("assets/fonts/N27-Medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "N27";
  src: url("assets/fonts/N27-Bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Helvetica Neue";
  src: url("assets/fonts/HelveticaNeue-Roman.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Helvetica Neue";
  src: url("assets/fonts/HelveticaNeue-Italic.otf") format("opentype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Helvetica Neue";
  src: url("assets/fonts/HelveticaNeue-Medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Helvetica Neue";
  src: url("assets/fonts/HelveticaNeue-Bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* --- Tokens --- */
:root {
  --bg: #F7F6F2;
  --fg: #111111;
  --muted: #6a6a66;
  --line: #111111;
  --line-soft: rgba(17,17,17,.12);
  --accent-blue: #2F5BFF;
  --accent-red: #FF4D2E;
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 2px;

  --ff-display: "N27", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ff-body: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

[data-theme="dark"] {
  --bg: #0E0E0E;
  --fg: #F1EFE9;
  --muted: #9a9a93;
  --line: #F1EFE9;
  --line-soft: rgba(241,239,233,.14);
}

/* --- Reset léger --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ff-body);
  font-size: clamp(15px, 1vw + .35rem, 17px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }

/* --- Accessibilité --- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--fg); color: var(--bg); padding: 10px 14px; z-index: 300;
}
.skip-link:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 3px; }

/* =========================================================
   INTRO — Écran d'ouverture Swiss / brouillon graphique
   ========================================================= */
body.intro-active { overflow: hidden; }

.intro {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  overflow: hidden;
  transition: opacity .9s cubic-bezier(.77, 0, .18, 1), visibility .9s;
  will-change: opacity;
}
.intro.is-leaving { opacity: 0; visibility: hidden; }

/* Construction typographique du EJ — SVG depuis Illustrator */
.ej-svg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 1300px);
  height: auto;
  overflow: visible;
  pointer-events: none;
  user-select: none;
}
.ej-grid path {
  fill: none;
  stroke: var(--fg);
  stroke-opacity: .3;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.ej-grid { transition: opacity .6s ease; }
.intro.is-leaving .ej-grid { opacity: 0; }

.ej-letter {
  transition: transform 1.2s cubic-bezier(.77, 0, .18, 1);
}
.ej-letter--e > path { fill: var(--fg); }
.ej-letter--j > path { fill: #2F5BFF; }

/* Sortie : E vers la gauche, J vers la droite — translation ample */
.intro.is-leaving .ej-letter--e { transform: translateX(-1500px); }
.intro.is-leaving .ej-letter--j { transform: translateX(1500px); }

/* Mires de construction (croix en coins) */
.intro__cross {
  position: absolute;
  width: 18px; height: 18px;
  pointer-events: none;
}
.intro__cross::before,
.intro__cross::after {
  content: ""; position: absolute; background: var(--fg);
}
.intro__cross::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.intro__cross::after  { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.intro__cross--tl { top: 28px; left: 28px; }
.intro__cross--tr { top: 28px; right: 28px; }
.intro__cross--bl { bottom: 28px; left: 28px; }
.intro__cross--br { bottom: 28px; right: 28px; }
.intro__cross, .intro__corner, .intro__meta, .intro__cta {
  transition: opacity .45s ease;
}
.intro.is-leaving .intro__cross,
.intro.is-leaving .intro__corner,
.intro.is-leaving .intro__meta,
.intro.is-leaving .intro__cta { opacity: 0; }

/* Labels techniques en coins */
.intro__corner {
  position: absolute;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}
.intro__corner--tl { top: 28px; left: 60px; }
.intro__corner--tr { top: 28px; right: 60px; text-align: right; }
.intro__corner--bl { bottom: 28px; left: 60px; }
.intro__corner--br { bottom: 28px; right: 60px; text-align: right; }

/* Labels typographiques autour du mark */
.intro__meta {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
  white-space: nowrap;
}
.intro__meta--top { top: calc(50% - clamp(160px, 24vw, 360px)); }
.intro__meta--bot { top: calc(50% + clamp(160px, 24vw, 360px)); }

/* CTA bas */
.intro__cta {
  position: absolute;
  bottom: 80px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.intro__cue {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  animation: intro-blink 2s ease-in-out infinite;
}
.intro__arrow {
  width: 1px; height: 28px; background: var(--fg);
  transform-origin: top;
  animation: intro-line 2s ease-in-out infinite;
}
@keyframes intro-blink { 0%, 100% { opacity: .45 } 50% { opacity: 1 } }
@keyframes intro-line  { 0%, 100% { transform: scaleY(.4) } 50% { transform: scaleY(1) } }

@media (max-width: 880px) {
  .ej-svg { width: 95vw; }
  .intro__corner--tr, .intro__corner--bl,
  .intro__cross--tr, .intro__cross--bl { display: none; }
  .intro__meta--top { top: calc(50% - 160px); }
  .intro__meta--bot { top: calc(50% + 160px); font-size: 10px; }
}
@media (max-width: 560px) {
  .intro__cta { bottom: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro { transition: opacity .25s ease; }
  .ej-letter { transition: none; }
  .intro.is-leaving .ej-letter--e,
  .intro.is-leaving .ej-letter--j { transform: none; }
  .ej-grid { transition: none; }
  .intro__cue, .intro__arrow { animation: none; }
}

/* =========================================================
   CURSEUR PERSONNALISÉ
   ========================================================= */
@media (hover: hover) and (pointer: fine) {
  body, a, button, .project__head, .footer__top, .icon-btn, .logo, .nav a {
    cursor: none;
  }
  .cursor {
    position: fixed; top: 0; left: 0; z-index: 999;
    pointer-events: none;
    transform: translate3d(-100px, -100px, 0);
    transition: opacity .2s ease;
  }
  .cursor__ring {
    position: absolute; top: -14px; left: -14px;
    width: 28px; height: 28px;
    border: 1px solid var(--fg); border-radius: 50%;
    transition: transform .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
  }
  .cursor__dot {
    position: absolute; top: -2.5px; left: -2.5px;
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--accent-blue);
    transition: transform .2s var(--ease), background-color .25s var(--ease);
  }
  .cursor.is-hover .cursor__ring {
    transform: scale(1.7); border-color: var(--accent-blue);
  }
  .cursor.is-hover .cursor__dot { transform: scale(0); }
}
.cursor { display: none; } /* masqué par défaut, activé via JS */
@media (prefers-reduced-motion: reduce) { .cursor { display: none !important; } }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- Header --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header__row {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; transition: color .25s var(--ease); }
.logo__mark {
  font-family: var(--ff-display);
  font-weight: 700; font-size: 20px; letter-spacing: -.02em;
  border: 1.5px solid var(--fg); padding: 2px 8px; border-radius: var(--radius);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.logo__mark em { font-style: italic; color: var(--accent-blue); font-weight: 500; }
.logo__text { font-size: 14px; letter-spacing: .02em; }
@media (max-width: 640px) { .logo__text { display: none; } }

.nav ul { display: flex; gap: 24px; }
.nav a {
  position: relative; font-size: 14px; letter-spacing: .02em;
  padding: 6px 0; transition: color .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--accent-blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-soft); padding: 6px 12px; border-radius: 999px;
  font-size: 13px;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.icon-btn:hover { border-color: var(--fg); color: var(--fg); }
.icon-btn__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--fg);
  box-shadow: inset 0 0 0 0 var(--bg);
  transition: box-shadow .25s var(--ease);
}
[data-theme="dark"] .icon-btn__dot { box-shadow: inset 0 0 0 4px var(--bg); }

.burger {
  display: none; width: 36px; height: 36px;
  flex-direction: column; justify-content: center; gap: 5px;
  border: 1px solid var(--line-soft); border-radius: 999px;
  padding: 0 9px;
}
.burger span { display: block; height: 1.5px; background: var(--fg); transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
    transform: translateY(-110%); transition: transform .35s var(--ease);
    padding: 16px var(--gutter) 28px;
  }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav ul { flex-direction: column; gap: 14px; }
  .nav a { font-size: 22px; font-family: var(--ff-display); letter-spacing: -.01em; }
  .burger { display: inline-flex; }
}

/* =========================================================
   FIL ROUGE — Squelette + points bleus aux sections
   ========================================================= */
.rail {
  position: fixed; top: 0; bottom: 0;
  left: max(18px, calc((100vw - var(--container)) / 2 - 8px));
  width: 1px; z-index: 5; pointer-events: none;
}
.rail__line { position: absolute; inset: 0; background: var(--line-soft); }
.rail__progress {
  position: absolute; top: 0; left: -1.5px; width: 3px; height: 0;
  background: var(--accent-red);
  transition: height .12s linear;
}
.rail__dot {
  position: absolute; left: -3px;
  width: 7px; height: 7px;
  background: var(--bg);
  border: 1px solid var(--fg);
  border-radius: 50%;
  transform: translateY(-50%);
}
@media (max-width: 880px) { .rail { left: 10px; } }
@media (prefers-reduced-motion: reduce) { .rail__progress { transition: none; } }

/* =========================================================
   TYPO — Hiérarchie Swiss
   ========================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ff-body);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 24px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent-blue);
  flex-shrink: 0;
}
.section__title, .hero__title, .contact__title {
  font-family: var(--ff-display);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1;
  margin: 0;
}
.section__title { font-size: clamp(34px, 5.6vw, 76px); line-height: 1.02; }
.hero__title  { font-size: clamp(46px, 9vw, 140px); }
.contact__title { font-size: clamp(38px, 6.5vw, 96px); line-height: 1.02; }
.accent-blue { color: var(--accent-blue); }
.accent-red  { color: var(--accent-red); }

/* --- Hero --- */
.hero { padding: clamp(80px, 14vh, 160px) 0 clamp(60px, 10vh, 120px); position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: 12fr;
  row-gap: clamp(20px, 3vw, 36px);
}
.hero__title em { font-style: italic; color: var(--muted); }
.hero__lede {
  max-width: 56ch; font-size: clamp(15px, 1.1vw + .4rem, 19px); color: var(--muted); margin: 0;
}
.hero__meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}

/* =========================================================
   SECTIONS — Marqueur Swiss
   ========================================================= */
.section {
  padding: clamp(80px, 12vh, 140px) 0;
  border-top: 1px solid var(--line-soft);
  position: relative;
}
.section::before,
.hero::before {
  content: attr(data-mark);
  position: absolute;
  top: clamp(16px, 3vh, 28px);
  right: var(--gutter);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
  opacity: .6;
  pointer-events: none;
}
.section__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: 24px;
}
.section__grid .eyebrow { grid-column: 1 / -1; }
.section__grid .section__title { grid-column: 1 / span 12; }
.section__grid .section__body  { grid-column: 1 / span 7; margin-top: 16px; }
.section__grid .section__body p { color: var(--muted); }
.section__grid .section__body p + p { margin-top: 14px; }
.section__grid .section__facts {
  grid-column: 9 / span 4; margin-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.section__facts li {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.section__facts strong {
  font-weight: 500; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}

@media (max-width: 880px) {
  .section__grid .section__body,
  .section__grid .section__facts { grid-column: 1 / -1; }
  .section::before, .hero::before { display: none; }
}

.section__intro { max-width: 60ch; color: var(--muted); margin: 20px 0 48px; }

/* --- Timeline (accordéon — même logique que Projets) --- */
.timeline { margin-top: 48px; border-top: 1px solid var(--line); }
.timeline__item { border-bottom: 1px solid var(--line); }
.timeline__head {
  display: grid;
  grid-template-columns: 140px 1fr auto 40px;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 28px 4px;
  text-align: left;
  transition: padding .3s var(--ease);
}
.timeline__head:hover { padding-left: 16px; }
.timeline__head:hover .timeline__title { color: var(--accent-blue); }
.timeline__head:hover .timeline__toggle { border-color: var(--accent-blue); color: var(--accent-blue); }
.timeline__year {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.timeline__title {
  margin: 0;
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -.015em;
  transition: color .25s var(--ease);
}
.timeline__place { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.timeline__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: 1px solid var(--fg); border-radius: 50%;
  font-size: 18px; line-height: 1;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.timeline__head[aria-expanded="true"] .timeline__toggle {
  transform: rotate(45deg); background: var(--fg); color: var(--bg); border-color: var(--fg);
}
.timeline__body { padding: 0 4px 36px; }
.timeline__body[hidden] { display: none; }
.timeline__desc { margin: 0; color: var(--muted); max-width: 60ch; }

@media (max-width: 720px) {
  .timeline__head { grid-template-columns: 80px 1fr 32px; }
  .timeline__place { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .timeline__head, .timeline__title, .timeline__toggle { transition: none; }
}

/* --- Univers : tags --- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 48px 0 64px; }
.tags span {
  display: inline-flex; align-items: center;
  padding: 8px 14px; border: 1px solid var(--line-soft); border-radius: 999px;
  font-size: 13px; letter-spacing: .01em;
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.tags span:hover {
  border-color: var(--fg);
  transform: translateY(-2px);
}

.univers__quote {
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -.015em;
  max-width: 22ch; line-height: 1.2; color: var(--fg); margin: 0;
}
.univers__quote .quote-mark {
  color: var(--accent-blue);
  font-weight: 500;
}

/* --- Projets --- */
.section--projects .projects { border-top: 1px solid var(--line); margin-top: 12px; }
.project { border-bottom: 1px solid var(--line); }
.project__head {
  display: grid;
  grid-template-columns: 80px 1fr auto 40px;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 28px 4px;
  text-align: left;
  transition: padding .3s var(--ease);
}
.project__head:hover { padding-left: 16px; }
.project__head:hover .project__title { color: var(--accent-blue); }
.project__head:hover .project__toggle { border-color: var(--accent-blue); color: var(--accent-blue); }
.project__index { font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.project__title {
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(28px, 4vw, 52px); letter-spacing: -.02em; margin: 0;
  transition: color .25s var(--ease);
}
.project__cat { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.project__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: 1px solid var(--fg); border-radius: 50%;
  font-size: 18px; line-height: 1;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.project__head[aria-expanded="true"] .project__toggle {
  transform: rotate(45deg); background: var(--fg); color: var(--bg); border-color: var(--fg);
}
@media (max-width: 720px) {
  .project__head { grid-template-columns: 56px 1fr 32px; }
  .project__cat { display: none; }
}

.project__body {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: var(--gutter);
  padding: 8px 4px 40px;
}
.project__body[hidden] { display: none; }
.project__media { position: relative; }
.project__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  z-index: 1;
  display: block;
}
.project__media .placeholder {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(135deg, var(--line-soft) 0 1px, transparent 1px 12px),
    color-mix(in srgb, var(--fg) 4%, transparent);
  border: 1px solid var(--line-soft);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 16px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.project__content p { margin: 0 0 18px; color: var(--muted); max-width: 56ch; }
.project__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.project__tags li {
  font-size: 12px; letter-spacing: .04em; padding: 6px 10px;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; letter-spacing: .02em;
  border-bottom: 1px solid var(--fg); padding-bottom: 4px;
  transition: gap .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow:hover { gap: 14px; }
@media (max-width: 720px) {
  .project__body { grid-template-columns: 1fr; }
}

/* --- Compétences --- */
.skills {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  border-top: 1px solid var(--line-soft);
  padding-top: 32px;
}
.skills__col h3 {
  font-family: var(--ff-display); font-weight: 500;
  font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.skills__col li {
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
  font-size: clamp(16px, 1.1vw + .4rem, 18px);
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.skills__col li:hover { color: var(--accent-blue); padding-left: 6px; }
@media (max-width: 720px) { .skills { grid-template-columns: 1fr; } }

/* --- Contact --- */
.section--contact { padding-bottom: clamp(100px, 14vh, 160px); }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.contact__grid .eyebrow,
.contact__title { grid-column: 1 / -1; }
.contact__list { grid-column: 1 / span 7; margin-top: 40px; border-top: 1px solid var(--line); }
.contact__list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: clamp(18px, 1.4vw + .4rem, 24px);
}
.contact__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact__list a { transition: color .25s var(--ease); }
.contact__list a:hover { color: var(--muted); }

.btn-cv {
  grid-column: 9 / span 4; margin-top: 40px; align-self: start;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--fg); border-radius: var(--radius);
  font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn-cv:hover { background: var(--fg); color: var(--bg); transform: translateY(-2px); }
@media (max-width: 880px) {
  .contact__list, .btn-cv { grid-column: 1 / -1; }
  .btn-cv { justify-self: start; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; }
}

/* --- Footer --- */
.footer { border-top: 1px solid var(--line-soft); padding: 32px 0; font-size: 13px; color: var(--muted); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.footer__top {
  border: 1px solid var(--line-soft); padding: 8px 14px; border-radius: 999px;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.footer__top:hover { border-color: var(--fg); color: var(--fg); }

/* --- Reveal au scroll --- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --- Sélection --- */
::selection { background: var(--accent-blue); color: #fff; }

/* =========================================================
   PAGE PROJET (étude de cas) — base partagée
   ========================================================= */
.project-page { background: var(--bg); color: var(--fg); }
.project-page main { display: block; }

/* Palette secondaire EthikWear (accents uniquement) */
.project-page--ethikwear {
  --ew-green: #0F6B4A;
  --ew-mint:  #3DDC97;
  --ew-light: #CFEFE3;
}

/* Header */
.project-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.project-nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.project-back {
  font-size: 13px; letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid transparent;
  transition: gap .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.project-page--ethikwear .project-back:hover {
  gap: 12px; color: var(--ew-green); border-color: var(--ew-green);
}

/* Hero projet */
.project-hero { padding: 64px 0 24px; }
.project-hero__title {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(48px, 11vw, 150px); line-height: .92; letter-spacing: -.03em;
  margin: 12px 0 0;
}
.project-page--ethikwear .ethikwear-accent { color: var(--ew-green); }
.project-hero__sub {
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(18px, 2.4vw, 26px); color: var(--muted);
  margin: 16px 0 24px; max-width: 30ch;
}
.project-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; }
.project-hero__tags li {
  font-size: 12px; letter-spacing: .04em; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.project-page--ethikwear .project-hero__tags li:first-child {
  border-color: var(--ew-green); color: var(--ew-green);
}
.project-hero__media { position: relative; margin: 0; }
.project-hero__media img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
}
.project-hero__caption,
.project-case-section figcaption {
  margin-top: 12px; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}

/* Sections étude de cas */
.project-case-section { padding: 56px 0; border-top: 1px solid var(--line-soft); }
.case-grid {
  display: grid; grid-template-columns: 3fr 9fr; gap: var(--gutter); align-items: start;
}
.case-grid__label .eyebrow { position: sticky; top: 96px; }
.case-title {
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; line-height: 1.05;
  margin: 0 0 20px;
}
.case-title--wide { margin-top: 12px; }
.case-subtitle {
  font-family: var(--ff-display); font-weight: 500;
  font-size: 18px; letter-spacing: -.01em; margin: 32px 0 12px;
}
.case-grid__body p { color: var(--muted); max-width: 60ch; margin: 0 0 16px; }
.case-list { margin: 0; padding-left: 1.2em; color: var(--muted); }
.case-list li { margin-bottom: 10px; padding-left: 6px; }
.project-page--ethikwear .case-list li::marker { color: var(--ew-green); font-weight: 700; }

/* Logos — composition premium, fond clair cohérent */
.ew-logos { display: grid; grid-template-columns: 1fr; gap: var(--gutter); margin: 28px 0 12px; }
.ew-logo-card { position: relative; margin: 0; }
.ew-logo-card__label {
  display: block; margin-bottom: 12px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.ew-logo-card__label::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 18px; height: 1px; background: var(--ew-green); margin-right: 10px;
}
.ew-logo-card img {
  width: 100%; height: auto; display: block;
  background: #F2F1EC;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
}
.ew-logo-card--main img { padding: clamp(40px, 8vw, 90px); }
.ew-logo-card--word img { padding: clamp(32px, 6vw, 72px); }
/* Logos EthikWear : toujours noirs sur fond clair, aucun traitement auto */
.ethikwear-logo-img {
  filter: none !important;
  mix-blend-mode: normal !important;
  background: #F2F1EC;
}

/* Nuancier */
.ew-swatches { display: flex; flex-wrap: wrap; gap: 18px; margin: 8px 0 16px; }
.ew-swatches li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--fg);
}
.ew-swatches em { color: var(--muted); font-style: normal; letter-spacing: .04em; }
.ew-swatch {
  width: 36px; height: 36px; border-radius: 8px; display: inline-block;
  border: 1px solid var(--line-soft);
}
.ew-swatch--dark { border-color: transparent; }

/* Typographies — bloc texte Swiss */
.ew-typo {
  margin: 8px 0 0;
  border-top: 1px solid var(--line);
}
.ew-typo-row {
  display: grid; grid-template-columns: 4fr 8fr; gap: var(--gutter);
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}
.ew-typo-name {
  margin: 0;
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(28px, 4vw, 44px); letter-spacing: -.01em; line-height: 1;
}
.ew-typo-name--mono { font-family: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: -.02em; }
.ew-typo-desc {
  margin: 0; color: var(--muted); max-width: 52ch;
  display: grid; grid-template-columns: auto; gap: 10px;
  padding-top: 4px;
}
.ew-typo-tag {
  justify-self: start;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ew-green);
  border: 1px solid var(--ew-green); border-radius: 100px;
  padding: 3px 10px;
}
[data-theme="dark"] .ew-typo-tag { color: var(--ew-mint); border-color: var(--ew-mint); }

/* Galerie mockups */
.project-gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-top: 28px;
}
.gallery-item { position: relative; margin: 0; }
.gallery-item img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
}
.gallery-item--wide { grid-column: 1 / -1; }

/* Compétences */
.ew-skills { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
.ew-skills li {
  font-size: 13px; letter-spacing: .03em; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.project-page--ethikwear .ew-skills li:hover {
  background: var(--ew-green); color: #fff; border-color: var(--ew-green);
}

/* Lien accent EthikWear */
.project-page--ethikwear .ethikwear-link {
  display: inline-flex; margin-top: 8px;
  border-bottom-color: var(--ew-green); color: var(--ew-green);
}
.project-page--ethikwear .ethikwear-link:hover { gap: 14px; }

/* Fallback image manquante (placeholder propre) */
.media-fallback {
  display: none;
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(135deg, var(--line-soft) 0 1px, transparent 1px 12px),
    var(--ew-light, color-mix(in srgb, var(--fg) 4%, transparent));
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  align-items: flex-end; justify-content: flex-start;
  padding: 16px; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ew-green, var(--muted));
}
figure.is-empty img { display: none; }
figure.is-empty .media-fallback { display: flex; }

/* Footer page projet */
.project-footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 24px; }
.project-footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.project-footer__links { display: flex; gap: 24px; }
.project-footer__links a {
  font-size: 14px; border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.project-page--ethikwear .project-footer__links a:hover { color: var(--ew-green); border-color: var(--ew-green); }

/* Responsive page projet */
@media (max-width: 880px) {
  .case-grid { grid-template-columns: 1fr; gap: 12px; }
  .case-grid__label .eyebrow { position: static; }
  .ew-logos { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-hero { padding: 40px 0 16px; }
}

/* =========================================================
   ETHIKWEAR — curseur vert + décorations Swiss + dark
   ========================================================= */

/* Curseur : point central vert EthikWear (override du bleu global) */
@media (hover: hover) and (pointer: fine) {
  .project-page--ethikwear .cursor__dot { background: #3E7D4F; }
  .project-page--ethikwear .cursor.is-hover .cursor__ring { border-color: #3E7D4F; }
}

/* Numéro de section géant en filigrane */
.project-case-section { position: relative; overflow: hidden; }
.project-case-section[data-num]::before {
  content: attr(data-num);
  position: absolute; top: 24px; right: 16px;
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-size: clamp(60px, 12vw, 150px); line-height: 1; font-weight: 300;
  color: var(--fg); opacity: .035;
  pointer-events: none; user-select: none; z-index: 0;
}
.project-case-section .container { position: relative; z-index: 1; }

/* Marqueur vert discret devant les eyebrows de la page projet */
.project-page--ethikwear .eyebrow::before,
.project-page--ethikwear .ew-logo-card__label::before {
  width: 24px; height: 2px; border-radius: 1px;
  background: #3E7D4F;
  flex-shrink: 0;
}

/* Hero : cadre fin + label technique en coin */
.project-hero { position: relative; }
.project-hero__media { position: relative; }
.project-hero__media::after {
  content: "FIG. 01"; position: absolute; top: 12px; left: 12px;
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-size: 10px; letter-spacing: .18em; color: var(--bg);
  background: var(--ew-green); padding: 4px 8px; border-radius: 4px;
  z-index: 2;
}

/* Ligne fine de repère sous le titre hero */
.project-hero__sub { position: relative; padding-bottom: 18px; }
.project-hero__sub::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 64px; height: 2px; background: var(--ew-green);
}
[data-theme="dark"] .project-hero__sub::after { background: var(--ew-mint); }

/* Galerie : petits labels capitales en coin */
.gallery-item { position: relative; }
.gallery-item figcaption { display: flex; align-items: center; gap: 8px; }
.gallery-item figcaption::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ew-green); flex-shrink: 0;
}
[data-theme="dark"] .gallery-item figcaption::before { background: var(--ew-mint); }

/* Lisibilité accents EthikWear en mode sombre */
[data-theme="dark"] .project-page--ethikwear .ethikwear-accent,
[data-theme="dark"] .project-page--ethikwear .ethikwear-link { color: var(--ew-mint); }
[data-theme="dark"] .project-page--ethikwear .ethikwear-link { border-bottom-color: var(--ew-mint); }
[data-theme="dark"] .project-page--ethikwear .project-hero__tags li:first-child,
[data-theme="dark"] .project-page--ethikwear .project-back:hover {
  border-color: var(--ew-mint); color: var(--ew-mint);
}
[data-theme="dark"] .project-page--ethikwear .ew-skills li:hover {
  background: var(--ew-mint); color: #0E0E0E; border-color: var(--ew-mint);
}
[data-theme="dark"] .project-page--ethikwear .case-list li::marker { color: var(--ew-mint); }
[data-theme="dark"] .project-page--ethikwear .project-footer__links a:hover { color: var(--ew-mint); border-color: var(--ew-mint); }

@media (max-width: 880px) {
  .ew-typo-row { grid-template-columns: 1fr; gap: 10px; }
  .project-case-section[data-num]::before { font-size: 64px; top: 16px; right: 10px; }
}

/* =========================================================
   PAGE PROJET — REGARDS CROISÉS (palette N/B + rouge accent)
   ========================================================= */
.project-page--regards-croises {
  --rc-red:   #E63946;
  --rc-black: #0E0E0E;
  --rc-paper: #FAFAFA;
}

/* Header & hover */
.project-page--regards-croises .project-back:hover {
  gap: 12px; color: var(--rc-red); border-color: var(--rc-red);
}
.project-page--regards-croises .rc-accent { color: var(--rc-red); }
.project-page--regards-croises .project-hero__tags li:first-child {
  border-color: var(--rc-red); color: var(--rc-red);
}
.project-page--regards-croises .project-hero__sub::after { background: var(--rc-red); }

/* Marqueurs (tirets) homogènes */
.project-page--regards-croises .eyebrow::before,
.project-page--regards-croises .rc-logo-card__label::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 24px; height: 2px; border-radius: 1px;
  background: var(--rc-red);
  flex-shrink: 0; margin-right: 10px;
}

/* Badge FIG. 01 hero */
.project-page--regards-croises .project-hero__media::after { background: var(--rc-red); color: #fff; }

/* Logos — fond fixe noir/clair selon variante, jamais inversés */
.rc-logos { display: grid; grid-template-columns: 1fr; gap: var(--gutter); margin: 28px 0 12px; }
.rc-logo-card { position: relative; margin: 0; }
.rc-logo-card__label {
  display: block; margin-bottom: 12px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.rc-logo-card img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
}
.rc-logo-card--light img {
  background: var(--rc-paper);
  padding: clamp(36px, 7vw, 80px);
}
.rc-logo-card--dark img {
  background: var(--rc-black);
  padding: clamp(36px, 7vw, 80px);
}
/* En mode sombre : pas de fond/bordure dédiés → fond noir du site prend le relais (rendu homogène) */
[data-theme="dark"] .rc-logo-card--dark img {
  background: transparent;
  border-color: transparent;
  padding: clamp(8px, 2vw, 24px);
}
/* Sécurité : jamais de filter sur les logos */
.rc-logo-img {
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* Nuancier */
.rc-swatches { display: flex; flex-wrap: wrap; gap: 18px; margin: 8px 0 16px; }
.rc-swatches li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fg); }
.rc-swatches em { color: var(--muted); font-style: normal; letter-spacing: .04em; }
.rc-swatch {
  width: 36px; height: 36px; border-radius: 8px;
  display: inline-block; border: 1px solid var(--line-soft);
}
.rc-swatch--black { border-color: transparent; }

/* Typographies — bloc Swiss */
.rc-typo { margin: 8px 0 0; border-top: 1px solid var(--line); }
.rc-typo-row {
  display: grid; grid-template-columns: 4fr 8fr; gap: var(--gutter);
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}
.rc-typo-name {
  margin: 0;
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(28px, 4vw, 44px); letter-spacing: -.01em; line-height: 1;
}
.rc-typo-name--futura { font-family: "Futura", "Futura Std", "Helvetica Neue", sans-serif; font-weight: 300; letter-spacing: .02em; }
.rc-typo-desc {
  margin: 0; color: var(--muted); max-width: 52ch;
  display: grid; grid-template-columns: auto; gap: 10px;
  padding-top: 4px;
}
.rc-typo-tag {
  justify-self: start;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--rc-red);
  border: 1px solid var(--rc-red); border-radius: 100px;
  padding: 3px 10px;
}

/* Galerie affiche : 1 grande + colonne droite */
.rc-gallery { grid-template-columns: 5fr 7fr; align-items: start; }
.rc-gallery__col { display: grid; gap: var(--gutter); }
.rc-gallery__pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.gallery-item--tall img { aspect-ratio: 1414 / 2000; object-fit: cover; }
.case-lead { color: var(--muted); max-width: 70ch; margin: 0 0 24px; }
.case-aside { margin: 24px 0 0; }

/* Compétences hover */
.project-page--regards-croises .rc-skills { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
.project-page--regards-croises .rc-skills li {
  font-size: 13px; letter-spacing: .03em; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.project-page--regards-croises .rc-skills li:hover {
  background: var(--rc-red); color: #fff; border-color: var(--rc-red);
}

/* Lien accent rouge */
.project-page--regards-croises .rc-link {
  border-bottom-color: var(--rc-red); color: var(--rc-red);
}
.project-page--regards-croises .rc-link:hover { gap: 14px; }

/* Galerie en mockup figcaption marker */
.project-page--regards-croises .gallery-item figcaption::before { background: var(--rc-red); }

/* Footer */
.project-page--regards-croises .project-footer__links a:hover { color: var(--rc-red); border-color: var(--rc-red); }

/* Curseur — point central rouge */
@media (hover: hover) and (pointer: fine) {
  .project-page--regards-croises .cursor__dot { background: var(--rc-red); }
  .project-page--regards-croises .cursor.is-hover .cursor__ring { border-color: var(--rc-red); }
}

/* Responsive */
@media (max-width: 880px) {
  .rc-gallery { grid-template-columns: 1fr; }
  .rc-typo-row { grid-template-columns: 1fr; gap: 10px; }
}

/* =========================================================
   PAGE PROJET — L'OREILLE QUI GRATTE (palette punk fanzine)
   ========================================================= */
.project-page--oreille {
  --oqg-pink:   #DD0957;
  --oqg-yellow: #FCEA10;
  --oqg-black:  #0E0E0E;
  --oqg-paper:  #FFFFFF;
}

/* Hover et accents */
.project-page--oreille .project-back:hover {
  gap: 12px; color: var(--oqg-pink); border-color: var(--oqg-pink);
}
.project-page--oreille .oqg-accent { color: var(--oqg-pink); }
.project-page--oreille .project-hero__tags li:first-child {
  border-color: var(--oqg-pink); color: var(--oqg-pink);
}
.project-page--oreille .project-hero__sub::after { background: var(--oqg-pink); }

/* Marqueurs (tirets) homogènes */
.project-page--oreille .eyebrow::before,
.project-page--oreille .oqg-logo-card__label::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 24px; height: 2px; border-radius: 1px;
  background: var(--oqg-pink);
  flex-shrink: 0; margin-right: 10px;
}

/* Badge FIG. 01 hero */
.project-page--oreille .project-hero__media::after { background: var(--oqg-pink); color: #fff; }

/* Logos — 4 variantes en grille 2×2, fonds fixes selon variante */
.oqg-logos {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter);
  margin: 28px 0 12px;
}
.oqg-logo-card { position: relative; margin: 0; }
.oqg-logo-card__label {
  display: block; margin-bottom: 12px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.oqg-logo-card img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px);
}
.oqg-logo-card--light img { background: var(--oqg-paper); }
.oqg-logo-card--dark  img { background: var(--oqg-black); }
/* En mode sombre : la carte sombre se fond dans le fond du site (rendu homogène) */
[data-theme="dark"] .oqg-logo-card--dark img {
  background: transparent;
  border-color: transparent;
  padding: clamp(8px, 2vw, 24px);
}
/* Sécurité : jamais de filter sur les logos */
.oreille-logo-img {
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* Nuancier */
.oqg-swatches { display: flex; flex-wrap: wrap; gap: 18px; margin: 8px 0 16px; }
.oqg-swatches li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fg); }
.oqg-swatches em { color: var(--muted); font-style: normal; letter-spacing: .04em; }
.oqg-swatch {
  width: 36px; height: 36px; border-radius: 8px;
  display: inline-block; border: 1px solid var(--line-soft);
}
.oqg-swatch--black { border-color: transparent; }

/* Typographies — bloc Swiss aligné */
.oqg-typo { margin: 8px 0 0; border-top: 1px solid var(--line); }
.oqg-typo-row {
  display: grid; grid-template-columns: 4fr 8fr; gap: var(--gutter);
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}
/* Police Sex Pistols pour la page L'oreille qui gratte */
@font-face {
  font-family: "Sex Pistols";
  src: url("assets/fonts/SexPistols-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal;
  font-display: swap;
}

.oqg-typo-name {
  margin: 0;
  font-family: "Sex Pistols", var(--ff-display), sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 52px); letter-spacing: 0; line-height: 1;
}
.oqg-typo-name--helvetica {
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 500; letter-spacing: -.005em;
}
.oqg-typo-desc {
  margin: 0; color: var(--muted); max-width: 52ch;
  display: grid; grid-template-columns: auto; gap: 10px;
  padding-top: 4px;
}
.oqg-typo-tag {
  justify-self: start;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--oqg-pink);
  border: 1px solid var(--oqg-pink); border-radius: 100px;
  padding: 3px 10px;
}

/* Galerie affiche : 1 grande affiche + colonne droite */
.oqg-gallery { grid-template-columns: 5fr 7fr; align-items: start; }
.oqg-gallery__col { display: grid; gap: var(--gutter); }

/* Compétences hover */
.project-page--oreille .oqg-skills { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
.project-page--oreille .oqg-skills li {
  font-size: 13px; letter-spacing: .03em; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.project-page--oreille .oqg-skills li:hover {
  background: var(--oqg-pink); color: #fff; border-color: var(--oqg-pink);
}

/* Lien accent rose */
.project-page--oreille .oqg-link {
  border-bottom-color: var(--oqg-pink); color: var(--oqg-pink);
}
.project-page--oreille .oqg-link:hover { gap: 14px; }

/* Marker des figcaptions de galerie */
.project-page--oreille .gallery-item figcaption::before { background: var(--oqg-pink); }

/* Footer */
.project-page--oreille .project-footer__links a:hover {
  color: var(--oqg-pink); border-color: var(--oqg-pink);
}

/* Curseur — point central rose punk */
@media (hover: hover) and (pointer: fine) {
  .project-page--oreille .cursor__dot { background: var(--oqg-pink); }
  .project-page--oreille .cursor.is-hover .cursor__ring { border-color: var(--oqg-pink); }
}

/* Responsive */
@media (max-width: 880px) {
  .oqg-logos { grid-template-columns: 1fr; }
  .oqg-gallery { grid-template-columns: 1fr; }
  .oqg-typo-row { grid-template-columns: 1fr; gap: 10px; }
}

/* Attribution sous la citation Univers */
.univers__quote-author {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
