/* =========================================================
   Atelier Midori — version C (studio graphique, noir & blanc)
   Couleurs et polices : variables ci-dessous
   ========================================================= */

@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #ffffff;
  --ink: #000000;
  --muted: #5e5e5e;
  --grey: #d4d4d4;
  --line: #e4e4e4;
  --soft: #f1f1f1;
  --accent: #2f7d3a;           /* vert Midori, sobre */
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --g: clamp(14px, 1.4vw, 22px);   /* marge latérale */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
html.lock { overflow: hidden; }
body {
  margin: 0; background: #fff; color: #000; font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif; /* navigateurs anciens */
  background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 13px; line-height: 1.42; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; }
.skip:focus { top: 12px; }
.nowrap { white-space: nowrap; }
.muted { color: var(--muted); }
.caps { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.35; font-weight: 400; }
.plus { display: inline-block; margin-right: 0.45em; transition: transform 300ms var(--ease-out); }
.link { display: inline-flex; align-items: center; min-height: 32px; font-size: 11px; }
@media (hover: hover) and (pointer: fine) {
  .link:hover .plus, .nav a:hover .plus, .foot__nav a:hover .plus { transform: rotate(90deg); }
  .link:hover { text-decoration: underline; text-underline-offset: .25em; }
}

/* ---------- En-tête (logotype géant) ---------- */
.head {
  position: fixed; top: 0; left: 0; right: 0; inset: 0 0 auto; z-index: 50; padding: 10px var(--g) 0;
  display: grid; grid-template-columns: 1fr auto auto; align-items: start; gap: 28px;
  color: var(--ink); pointer-events: none;
}
.head > * { pointer-events: auto; }
.brand {
  font-size: clamp(32px, 7.6vw, 118px); font-weight: 600; letter-spacing: -0.078em; line-height: .8;
  white-space: nowrap; justify-self: start; padding-right: .1em;
  transition: font-size 450ms var(--ease-out), padding-top 450ms var(--ease-out), letter-spacing 450ms var(--ease-out);
}
/* dès qu'on fait défiler la page, le grand logotype devient petit (classe ajoutée par main.js) */
.head.is-small .brand { font-size: 22px; letter-spacing: -0.055em; padding-top: 17px; }
@media (max-width: 819px) { .head.is-small .brand { font-size: 20px; padding-top: 12px; } }
@media (prefers-reduced-motion: reduce) { .brand { transition: none; } }
.brand sup { font-size: .3em; letter-spacing: -0.035em; font-weight: 500; vertical-align: top; position: relative; top: .05em; margin-left: -.05em; }
.nav { display: flex; gap: clamp(16px, 2.4vw, 40px); font-size: 11px; padding-top: 10px; }
.nav a { display: inline-flex; align-items: center; min-height: 32px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px;
  border: 1px solid currentColor; background: var(--bg); font-size: 11px; white-space: nowrap; margin-top: 10px;
  transition: background-color 200ms ease, color 200ms ease, transform 140ms var(--ease-out);
}
.pill:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .head .pill:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); } }
.menu-btn { display: none; }

@media (max-width: 819px) {
  .head { grid-template-columns: 1fr auto; padding-top: 12px; }
  .nav, .head .pill { display: none; }
  .menu-btn { display: block; font-size: 15px; min-height: 40px; padding: 0 2px; }
  .menu-btn__close { display: none; }
  .head.is-open .menu-btn__open { display: none; }
  .head.is-open .menu-btn__close { display: inline; }
  .head.is-open .nav {
    display: flex; flex-direction: column; gap: 6px; position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: -1; background: var(--bg);
    padding: 120px var(--g) 40px; font-size: clamp(34px, 10vw, 52px); letter-spacing: -0.045em; line-height: 1;
    animation: menu-in 320ms var(--ease-out);
  }
  .head.is-open .nav a { min-height: 56px; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }
}

/* ---------- Ouverture ---------- */
/* espace au-dessus et en dessous de la phrase d'accroche : moitié de l'ancien (78svh) */
.hero__tag { min-height: calc(39vh + 12px); min-height: calc(39svh + 12px); display: flex; align-items: center; padding: 0 var(--g); }
.hero__tag p { max-width: 40em; }
.hero__media { height: 100vh; height: 100svh; overflow: hidden; transform-origin: 50% 0; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Manifeste ---------- */
.statement { padding: clamp(96px, 18vh, 200px) var(--g) clamp(72px, 12vh, 140px); }
.statement__title { font-size: clamp(42px, 7.6vw, 124px); line-height: .96; letter-spacing: -0.048em; margin-left: clamp(0px, 8vw, 140px); }
.statement__cols { display: grid; grid-template-columns: 1fr; gap: 8px 24px; margin-top: clamp(56px, 9vh, 110px); }
.statement__cols p { max-width: 44ch; }
.statement__links { display: flex; gap: 24px; flex-wrap: wrap; }
@media (min-width: 820px) {
  .statement__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .statement__links { grid-column: 4; justify-content: flex-end; align-items: flex-start; }
}

/* ---------- Projets à la une : diapositives plein écran empilées ---------- */
.featured__bar { display: flex; justify-content: space-between; padding: 0 var(--g) 12px; }
.slide { position: -webkit-sticky; position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #111; }
.slide__link { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; display: grid; place-items: center; transform-origin: 50% 40%; will-change: transform; }
.slide__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; }
.slide__bg img { width: 100%; height: 100%; object-fit: cover; }
.slide__fg { position: relative; z-index: 1; box-shadow: 0 30px 90px -20px rgba(0, 0, 0, .55); margin-bottom: 44px; }
.slide__fg img { width: auto; height: auto; max-width: 64vw; max-width: min(64vw, 980px); max-height: 64vh; max-height: 64svh; }
.slide::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; background: #000; opacity: var(--shade, 0); pointer-events: none; }
.slide__caption {
  position: absolute; left: 0; right: 0; bottom: 0; inset: auto 0 0; z-index: 2; background: var(--bg);
  display: grid; grid-template-columns: 1fr; gap: 2px 24px; align-items: center; padding: 8px var(--g);
}
.slide__caption p { margin: 0; }
.slide__caption .num { color: var(--muted); margin-right: .5em; font-variant-numeric: tabular-nums; }
.slide__caption .link { justify-self: start; }
@media (min-width: 820px) {
  .slide__caption { grid-template-columns: 2fr 1fr auto; }
  .slide__caption .link { justify-self: end; }
}
@media (max-width: 819px) {
  .slide__fg img { max-width: 82vw; max-height: 52vh; max-height: 52svh; }
}

/* ---------- Clients : liste qui tourne ---------- */
.clients { padding: clamp(80px, 14vh, 160px) var(--g); }
.clients__label { margin-bottom: 32px; }
.drum { list-style: none; margin: 0; padding: 0; }
.drum a {
  display: inline-block; font-size: clamp(34px, 6.4vw, 104px); font-weight: 600; letter-spacing: -0.065em; line-height: 1;
  text-transform: uppercase; color: var(--grey); transition: color 200ms ease;
}
.drum a.is-active, .drum a:hover { color: var(--ink); }
.drum__preview { display: none; }

.clients.is-drum { padding: 0; height: calc(var(--n, 12) * 16vh + 100vh); }
.is-drum .clients__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.is-drum .clients__label { position: absolute; left: var(--g); top: clamp(90px, 16vh, 170px); margin: 0; }
.is-drum .drum { position: absolute; inset: 0; perspective: 1100px; }
.is-drum .drum li { position: absolute; left: clamp(0px, 9vw, 160px); right: 0; top: 50%; text-align: left; will-change: transform, opacity; transform-origin: 30% 50%; }
.is-drum .drum a { transform: translateY(-50%); }
.is-drum .drum__preview {
  display: block; position: absolute; right: clamp(16px, 9vw, 160px); top: 50%; width: clamp(200px, 26vw, 420px); aspect-ratio: 4 / 3;
  transform: translateY(-32%); z-index: 2; background: var(--soft); overflow: hidden; pointer-events: none;
}
.drum__preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity 220ms ease, filter 220ms ease; }
.drum__preview img.is-swapping { opacity: 0; filter: blur(4px); }
@media (max-width: 819px) { .is-drum .drum__preview { display: none; } }

/* ---------- Savoir-faire : cartes inclinées ---------- */
.skills { padding: clamp(80px, 14vh, 160px) var(--g); overflow-x: hidden; overflow-x: clip; }
.skills__intro { margin: 18px 0 clamp(64px, 12vh, 140px); max-width: 52ch; }
.accent { color: var(--accent); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 28px; }
.skill {
  border: 1.5px solid var(--ink); border-radius: 26px; padding: 22px 22px 18px; background: var(--bg);
  min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  transform: rotate(calc(var(--r) * .6));
}
.skill__list { margin: 0; font-size: clamp(20px, 1.9vw, 30px); line-height: 1.12; letter-spacing: -0.03em; }
.skill__name { margin: 0; font-size: clamp(38px, 4.6vw, 76px); font-weight: 600; line-height: .9; letter-spacing: -0.065em; }
.js .skill { opacity: 0; transform: translateY(-90px) rotate(calc(var(--r) * -2)); }
.js .skill.is-in {
  opacity: 1; transform: rotate(calc(var(--r) * .6));
  transition: transform 1000ms var(--ease-spring) var(--d), opacity 400ms ease var(--d);
}
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; } }
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
  .skill { min-height: 380px; transform: rotate(var(--r)); }
  .js .skill.is-in { transform: rotate(var(--r)); }
}
@media (hover: hover) and (pointer: fine) {
  .js .skill.is-in:hover { transform: rotate(0deg) scale(1.02); transition: transform 360ms var(--ease-out); }
}

/* ---------- Tous les projets ---------- */
.index { padding: clamp(80px, 14vh, 160px) var(--g); }
.index__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 0 16px; }
.filter { font-size: 11px; text-transform: uppercase; letter-spacing: .02em; color: var(--muted); min-height: 32px; transition: color 150ms ease; }
.filter[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: .3em; }
@media (hover: hover) and (pointer: fine) { .filter:hover { color: var(--ink); } }
.rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.row[hidden] { display: none; }
.row a {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "thumb title" "thumb cats";
  gap: 2px 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line);
}
.row__num, .row__year { display: none; }
.row__thumb { grid-area: thumb; width: 64px; height: 64px; aspect-ratio: 1; overflow: hidden; background: var(--soft); }
.row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.row__title { grid-area: title; font-size: clamp(20px, 2.6vw, 42px); letter-spacing: -0.04em; line-height: 1.02; font-weight: 500; transition: transform 320ms var(--ease-out); }
.row__cats { grid-area: cats; color: var(--muted); }
@media (min-width: 820px) {
  .row a { grid-template-columns: 56px minmax(0, 1.4fr) minmax(0, 1fr) 90px; grid-template-areas: "num title cats year"; padding: 14px 0; }
  .row__num, .row__year { display: block; color: var(--muted); font-variant-numeric: tabular-nums; }
  .row__num { grid-area: num; }
  .row__year { grid-area: year; text-align: right; }
  .row__thumb { display: none; }
}
@media (hover: hover) and (pointer: fine) { .row a:hover .row__title { transform: translateX(12px); } }
.hover-img { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 820px) {
  .hover-img {
    display: block; position: fixed; top: 0; left: 0; z-index: 40; width: 260px; height: 325px; aspect-ratio: 4 / 5; overflow: hidden;
    pointer-events: none; opacity: 0; transition: opacity 200ms ease; will-change: transform;
  }
  .hover-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 500ms var(--ease-out); }
  .hover-img.is-on { opacity: 1; }
  .hover-img.is-on img { transform: none; }
}

/* ---------- Le studio ---------- */
.studio { padding: clamp(80px, 14vh, 160px) var(--g); border-top: 1px solid var(--line); }
.studio__grid { display: grid; gap: 32px; margin-top: 28px; }
.studio__portrait { margin: 0; }
.studio__portrait img { width: 100%; max-width: 520px; background: var(--soft); }
.studio__portrait figcaption { margin-top: 10px; }
.studio__text p { max-width: 58ch; font-size: 14px; }
.studio__text .lead { font-size: clamp(22px, 2.2vw, 34px); line-height: 1.12; letter-spacing: -0.03em; max-width: 30ch; }
.cv { display: grid; gap: 40px; margin-top: clamp(64px, 10vh, 120px); }
.cv dl { margin: 14px 0 0; }
.cv dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.cv dt { color: var(--muted); font-variant-numeric: tabular-nums; }
.cv dd { margin: 0; }
.cv strong { font-weight: 500; }
@media (min-width: 820px) {
  .studio__grid { grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 96px); }
  .studio__portrait { position: sticky; top: 140px; align-self: start; }
  .cv { grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); }
}

/* ---------- Contact ---------- */
.talk { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: clamp(80px, 14vh, 160px) var(--g) 18px; }
.hello { background: var(--ink); color: var(--bg); padding: clamp(80px, 16vh, 180px) var(--g) clamp(64px, 12vh, 140px); }
.hello__title { font-size: clamp(84px, 19vw, 300px); font-weight: 500; letter-spacing: -0.075em; line-height: .82; margin: 24px 0 28px -0.04em; }
.hello__mail { display: inline-block; margin-top: 32px; font-size: clamp(22px, 3.6vw, 54px); letter-spacing: -0.04em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; text-decoration-color: #555; overflow-wrap: anywhere; transition: text-decoration-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .hello__mail:hover { text-decoration-color: #fff; } }
.hello__tel { margin-top: 14px; }
.hello__tel a { display: inline-block; padding: 6px 0; }

/* ---------- Pied de page ---------- */
.foot { padding: 48px var(--g) 0; overflow: hidden; }
.foot__top { display: grid; gap: 32px; }
.foot__about p { max-width: 36ch; }
.foot__about .caps { margin-bottom: 10px; }
.foot__about a { display: inline-block; padding: 8px 0; text-decoration: underline; text-underline-offset: .2em; } /* zone de clic plus grande sur mobile */
.foot__social { list-style: none; margin: 0; padding: 0; }
.foot__social a { display: inline-block; padding: 4px 0; }
@media (hover: hover) and (pointer: fine) { .foot__social a:hover { text-decoration: underline; } }
.foot__nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -0.04em; line-height: 1.05; }
.foot__mark { margin: clamp(56px, 10vh, 120px) 0 0; font-size: 13.4vw; font-weight: 600; letter-spacing: -0.078em; line-height: .76; white-space: nowrap; margin-left: -0.04em; margin-bottom: -0.04em; }
@media (min-width: 820px) { .foot__top { grid-template-columns: 2fr 1fr 2fr; } .foot__nav { justify-content: flex-end; } }

/* ---------- Fiches projet ---------- */
.panel { display: none; }
.panel:target {
  display: block; position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 60; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  background: var(--bg); animation: panel-in 560ms var(--ease-out);
}
.panel.is-leaving { animation: panel-out 260ms var(--ease-in-out) forwards; }
@keyframes panel-in { from { opacity: 0; transform: translateY(48px); } }
@keyframes panel-out { to { opacity: 0; transform: translateY(32px); } }
.panel__bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 10px var(--g); background: rgba(255, 255, 255, .92); background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.panel__bar .pill { margin-top: 0; }
@media (hover: hover) and (pointer: fine) { .panel__bar .pill:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); } }
.panel__head { padding: clamp(32px, 8vh, 96px) var(--g) clamp(32px, 6vh, 72px); }
.panel__title { font-size: clamp(44px, 8.6vw, 140px); font-weight: 500; letter-spacing: -0.06em; line-height: .9; margin-left: -0.03em; }
.panel__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin: clamp(32px, 6vh, 64px) 0 28px; }
.panel__meta dd { margin: 4px 0 0; }
.panel__text { max-width: 62ch; }
.panel__text p { font-size: 15px; line-height: 1.5; }
.panel__text p:first-child { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.3; letter-spacing: -0.02em; }
.panel__text .caps { margin: 28px 0 8px; }
@media (min-width: 820px) {
  .panel__meta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .panel__text { margin-left: 25%; }
}
.gallery { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 0 var(--g); align-items: start; }
.gallery img { width: 100%; background: var(--soft); }
.js .gallery img { cursor: zoom-in; }
@media (min-width: 620px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img { grid-column: 1 / -1; }
  .gallery img.is-pair { grid-column: auto; }
  .gallery img.is-solo { width: auto; max-width: 100%; max-height: 92vh; max-height: 92svh; justify-self: center; }
}
.panel__next { display: block; padding: clamp(80px, 16vh, 180px) var(--g) clamp(48px, 10vh, 100px); }
.panel__next-title { display: block; margin-top: 12px; font-size: clamp(36px, 7vw, 112px); font-weight: 500; letter-spacing: -0.06em; line-height: .92; }
@media (hover: hover) and (pointer: fine) { .panel__next:hover .plus { transform: rotate(90deg); } }

/* ---------- Visionneuse ---------- */
/* navigateurs sans <dialog> (anciens Safari, IE) : la visionneuse fermée ne doit jamais couvrir la page */
.lightbox:not([open]) { display: none; }
.lightbox { position: fixed; top: 0; left: 0; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0b0b0b; color: #fff; opacity: 0; transition: opacity 180ms ease; }
.lightbox::backdrop { background: transparent; }
.lightbox.is-visible { opacity: 1; transition: opacity 240ms var(--ease-out); }
.lightbox__stage { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; display: grid; place-items: center; padding: clamp(56px, 6vw, 88px) clamp(12px, 7vw, 112px); touch-action: pan-y; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; transform: scale(0.97); transition: transform 280ms var(--ease-out); }
.lightbox.is-visible .lightbox__img { transform: none; }
.lightbox__count { position: absolute; left: 20px; top: 18px; margin: 0; font-size: 11px; color: #aaa; font-variant-numeric: tabular-nums; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); transition: background-color 160ms ease, transform 140ms var(--ease-out); }
.lightbox__btn:active { transform: scale(0.94); }
.lightbox__btn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .lightbox__btn:hover { background: rgba(255,255,255,.14); } }
.lightbox__close { top: 10px; right: 10px; }
.lightbox__prev { left: 16px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 16px; top: 50%; margin-top: -24px; }
.lightbox[data-single] .lightbox__prev, .lightbox[data-single] .lightbox__next { display: none; }
@media (max-width: 759px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; margin-top: 0; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
  .lightbox__stage { padding: 60px 8px 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .skill { opacity: 1; transform: rotate(calc(var(--r) * .6)); }
  .js .skill.is-in { transition: none; }
  .panel:target { animation: fade 200ms ease; }
  .panel.is-leaving { animation: none; }
  @keyframes fade { from { opacity: 0; } }
  .lightbox__img, .row__title, .hover-img img { transition: none !important; transform: none !important; }
}
