/* Robin Chicher — vidéaste & monteur */

:root {
  --bg: #0B0B0A;
  --ink: #EDE7DC;
  --muted: #9A938A;
  --accent: #E8481F;
  --tile: #171614;

  --display: Anton, 'Arial Narrow', sans-serif;
  --text: 'Spline Sans', system-ui, sans-serif;
  --info: Montserrat, system-ui, sans-serif;

  --header-h: 66px;
  --infos-top: max(clamp(76px, 10vh, 104px), calc(var(--header-h) + 10px));
  --infos-right: clamp(62px, 7vw, 96px);
  --panel-w: min(375px, 42vw);
  --stage-pad: clamp(60px, 9vw, 120px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { dynamic-range-limit: standard; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; dynamic-range-limit: standard; }
a { color: var(--ink); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--accent); }
button { font-family: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Fonds plein écran ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(120% 90% at 50% 18%, #232220 0%, #141312 42%, var(--bg) 78%);
}

.layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility 0s linear .7s;
}

body[data-view="home"] .layer--home,
body[data-view="films"] .layer--films {
  opacity: 1;
  visibility: visible;
  transition: opacity .7s ease;
}

.layer__shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(11,11,10,.72) 0%, rgba(11,11,10,.42) 42%, rgba(11,11,10,.84) 100%);
}

.layer--films .layer__shade {
  background: linear-gradient(180deg, rgba(11,11,10,.68) 0%, rgba(11,11,10,.38) 45%, rgba(11,11,10,.86) 100%);
}

.showreel-bg,
.film-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  border: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s ease;
}

.showreel-bg {
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  transform: translate(calc(-50% + var(--tilt-x, 0) * -12px), calc(-50% + var(--tilt-y, 0) * -8px)) scale(1.12);
}

.showreel-bg.is-visible { opacity: 1; }

.film-stage { position: absolute; inset: 0; overflow: hidden; }

.film-bg {
  min-height: 100vh;
  transform: translate(calc(-50% + var(--tilt-x, 0) * -12px), calc(-50% + var(--tilt-y, 0) * -8px)) scale(1.22);
  transition: opacity .55s ease;
  z-index: 1;
}

.film-bg.is-active { opacity: 1; z-index: 2; }

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

body[data-view="clips"] .backdrop,
body[data-view="clips"] .grain { display: none; }

/* ---------- En-tête ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px clamp(14px, 3vw, 32px);
  padding: 14px clamp(16px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(0,0,0,.62), rgba(11,11,10,.3) 70%, transparent);
}

.brand { display: block; color: var(--ink); }
.brand:hover { color: var(--ink); }

.brand__name {
  display: block;
  font-family: var(--display);
  font-size: clamp(17px, 1.5vw, 21px);
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1;
}

.brand__role {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  position: absolute;
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 30px);
}

.nav a {
  padding: 4px 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}

.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }

/* ---------- Vues ---------- */

main { position: relative; z-index: 10; }

.view { display: none; }

body[data-view="home"] .view--home,
body[data-view="films"] .view--films,
body[data-view="about"] .view--about { display: flex; }
body[data-view="clips"] .view--clips { display: block; }

/* ---------- Accueil ---------- */

.view--home {
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 36px);
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(96px, 13vh, 150px) clamp(20px, 5vw, 64px) clamp(40px, 7vh, 72px);
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  border: 1px solid rgba(237,231,220,.7);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  backdrop-filter: blur(3px);
  transition: background .25s ease, color .25s ease, border-color .25s ease, translate .4s var(--ease-out);
}

.pill:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.pill__play {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.home__title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(46px, 10.5vw, 152px);
  line-height: .88;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-shadow: 0 2px 40px rgba(11,11,10,.7);
}

.home__tagline {
  margin: 0;
  font-size: clamp(12px, 1.15vw, 15px);
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-shadow: 0 1px 20px rgba(11,11,10,.9);
}

.home__cta {
  margin-top: clamp(10px, 2vh, 26px);
  padding: 0 0 5px;
  border-bottom: 1px solid rgba(237,231,220,.6);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .25s ease, border-color .25s ease;
}

/* ---------- Films ---------- */

.view--films {
  position: relative;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(90px, 12vh, 140px) var(--stage-pad) clamp(18px, 2.5vh, 26px);
  text-align: center;
  overflow-x: clip;
  transition: padding .45s ease;
}

body.infos-open .view--films {
  padding-right: calc(var(--panel-w) + var(--infos-right) + 32px);
}

.film {
  position: relative;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 2.6vw, 30px);
  width: 100%;
  margin: auto 0;
  padding-bottom: clamp(24px, 4vh, 48px);
}

.film__number {
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 34px);
  line-height: 1;
  letter-spacing: .04em;
  color: var(--accent);
}

.film__link { display: block; }

.film__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 8.6cqw, 112px);
  line-height: .92;
  letter-spacing: -.02em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 40px rgba(11,11,10,.75);
}

.film__meta {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: 0 1px 20px rgba(11,11,10,.9);
}

.film-dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 6px;
  width: 100%;
}

.film-dots button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.film-dots button::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(237,231,220,.4);
  transition: background .3s ease, transform .3s ease;
}

.film-dots button[aria-current="true"]::before {
  background: var(--accent);
  transform: scale(1.3);
}

.film-arrow {
  position: fixed;
  top: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(44px, 5vw, 62px);
  height: clamp(44px, 5vw, 62px);
  transform: translateY(-50%);
  border: 1px solid rgba(237,231,220,.3);
  border-radius: 50%;
  background: rgba(11,11,10,.4);
  backdrop-filter: blur(6px);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
  transition: background .25s ease, border-color .25s ease, color .25s ease, translate .4s var(--ease-out);
}

.film-arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.film-arrow--prev { left: clamp(6px, 1.6vw, 22px); }
.film-arrow--next { right: clamp(6px, 1.6vw, 22px); }

/* Bouton et panneau « Infos » */

.infos-toggle {
  position: fixed;
  top: var(--infos-top);
  right: var(--infos-right);
  z-index: 46;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 17px;
  border: 1px solid rgba(237,231,220,.28);
  border-radius: 10px;
  background: rgba(11,11,10,.34);
  cursor: pointer;
  color: var(--ink);
  backdrop-filter: blur(8px);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.infos-toggle:hover { border-color: var(--ink); }

.infos-toggle__glyph {
  font-family: 'Times New Roman', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1;
  color: var(--accent);
  transition: color .3s ease;
}

.infos-toggle__label {
  font-family: var(--info);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.infos-toggle[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.infos-toggle[aria-expanded="true"] .infos-toggle__glyph { color: var(--bg); }

.infos {
  position: fixed;
  top: calc(var(--infos-top) + 54px);
  right: var(--infos-right);
  bottom: clamp(64px, 8vh, 90px);
  z-index: 45;
  display: flex;
  flex-direction: column;
  width: var(--panel-w);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(26px, 3vw, 36px) clamp(26px, 3vw, 34px);
  border: 1px solid rgba(237,231,220,.16);
  border-radius: 14px;
  background: rgba(11,11,10,.82);
  backdrop-filter: blur(14px);
  text-align: left;
  font-family: var(--info);
  animation: fade .3s ease both;
}

.infos[hidden] { display: none; }

.infos__heading {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.infos__text {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.72;
  color: var(--ink);
  text-wrap: pretty;
}

.infos__heading + .infos__text { margin-top: clamp(18px, 2.2vw, 24px); }

.infos__heading--credits {
  margin: clamp(26px, 3vw, 34px) 0 14px;
  padding-top: clamp(22px, 2.6vw, 28px);
  border-top: 1px solid rgba(237,231,220,.14);
}

.infos__credits {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px 24px;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.infos__credits dt { font-weight: 700; color: var(--muted); }
.infos__credits dd { margin: 0; font-weight: 600; color: var(--ink); }

/* ---------- Contenus ---------- */

.view--clips {
  position: relative;
  background: var(--bg);
  padding: max(clamp(76px, 10vh, 104px), calc(var(--header-h) + 12px)) clamp(10px, 1.6vw, 26px) clamp(20px, 3vw, 36px);
}

.clips {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.1vw, 16px);
  max-width: 1720px;
  margin: 0 auto;
}

.clips__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(10px, 1.1vw, 16px);
}

/* Chaque tuile grandit selon son ratio : toutes les tuiles d'une rangée ont la même hauteur. */
.tile {
  position: relative;
  flex: var(--ratio) 1 0;
  aspect-ratio: var(--ratio);
  overflow: hidden;
  border-radius: 10px;
  background: var(--tile);
}

.tile--wide     { --ratio: 1.778; min-width: 230px; }
.tile--classic  { --ratio: 1.333; min-width: 190px; }
.tile--square   { --ratio: 1;     min-width: 150px; }
.tile--portrait { --ratio: .75;   min-width: 130px; }

.tile img,
.tile video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease, transform 1.4s var(--ease-out);
}

.tile .is-loaded { opacity: 1; }

/* ---------- À propos ---------- */

.view--about {
  flex-direction: column;
  justify-content: center;
  gap: clamp(30px, 5vh, 64px);
  min-height: 100vh;
  min-height: 100svh;
  padding: max(clamp(100px, 13vh, 150px), calc(var(--header-h) + 24px)) clamp(20px, 5vw, 64px) clamp(30px, 5vh, 56px);
}

.about {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(26px, 4vw, 60px);
  max-width: 1080px;
  margin: 0 auto;
}

.about__portrait {
  flex: 0 1 clamp(190px, 24vw, 300px);
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
}

.about__portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 14%;
  border-radius: 10px;
  filter: grayscale(.28) contrast(1.04);
}

.about__body { flex: 1 1 min(360px, 100%); min-width: 0; }

.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow__line { display: block; width: 26px; height: 1px; background: var(--accent); }

.eyebrow__label {
  font-family: var(--info);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.about__text {
  margin: clamp(18px, 2.2vw, 26px) 0 0;
  max-width: 48ch;
  font-family: var(--info);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 500;
  line-height: 1.74;
  text-wrap: pretty;
}

.about__text strong { font-weight: 700; }

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 3vh, 30px);
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.contact__availability {
  margin: 0;
  font-family: var(--info);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--accent);
  text-wrap: pretty;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px clamp(20px, 3vw, 40px);
  padding-top: clamp(16px, 2.6vh, 26px);
  border-top: 1px solid rgba(237,231,220,.16);
}

.contact__links a {
  font-family: var(--info);
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 600;
  letter-spacing: .02em;
}

.contact__dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(237,231,220,.35); }

/* ---------- Lecteur showreel ---------- */

.player {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 48px);
  background: rgba(6,6,5,.94);
  backdrop-filter: blur(8px);
  animation: fade .35s ease both;
}

.player[hidden] { display: none; }

.player__frame {
  width: min(1400px, 100%, calc(82vh * 16 / 9));
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

.player__close {
  position: absolute;
  top: clamp(12px, 2.4vw, 28px);
  right: clamp(12px, 2.4vw, 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(237,231,220,.35);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--ink);
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .45s var(--ease-out);
}

.player__close:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }

body.player-open { overflow: hidden; }

/* ---------- Animations ---------- */

/* Apparition : main.js pose .is-in quand l'élément entre à l'écran, et la retire quand on quitte
   la page pour rejouer l'entrée au retour. Sans .motion (« réduire les animations »), tout reste visible. */

@keyframes reveal-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes reveal-blur { from { opacity: 0; transform: translateY(14px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes reveal-wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }

.motion [data-reveal]:not(.is-in) { opacity: 0; }
.motion [data-reveal="wipe"]:not(.is-in) { opacity: 1; clip-path: inset(100% 0 0 0); }

.motion [data-reveal].is-in { animation: reveal-rise .9s var(--ease-out) var(--d, 0ms) both; }
.motion [data-reveal="blur"].is-in { animation-name: reveal-blur; animation-duration: 1.3s; }
.motion [data-reveal="wipe"].is-in { animation-name: reveal-wipe; animation-duration: 1.2s; }

/* Les tuiles d'une même rangée arrivent l'une après l'autre. */
.clips__row > .tile:nth-child(2) { --d: 80ms; }
.clips__row > .tile:nth-child(3) { --d: 160ms; }
.clips__row > .tile:nth-child(4) { --d: 240ms; }

/* Le portrait se dévoile par le bas pendant que l'image se pose. */
.motion .about__portrait img { transform: scale(1.08); transition: transform 1.6s var(--ease-out); }
.motion .about__portrait.is-in img { transform: none; }

.motion .eyebrow__line { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out) .35s; }
.motion .eyebrow.is-in .eyebrow__line { transform: none; }

/* Le texte du panneau « Infos » arrive bloc par bloc, dans l'ordre de lecture. */
.infos > * { animation: rise .6s var(--ease-out) both; }
.infos > :nth-child(2) { animation-delay: 60ms; }
.infos > :nth-child(3) { animation-delay: 120ms; }
.infos > :nth-child(4) { animation-delay: 180ms; }
.infos > :nth-child(5) { animation-delay: 240ms; }

/* Survol : de petits retours qui indiquent ce qui est cliquable et dans quelle direction. */

.nav a { position: relative; }

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: .16em;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}

.pill__play,
.home__cta-arrow,
.film-arrow__glyph { display: inline-block; transition: transform .45s var(--ease-out); }

.contact__links a {
  padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: color .25s ease, background-size .5s var(--ease-out);
}

@media (hover: hover) {
  .nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .pill:hover .pill__play { transform: translateX(3px); }
  .home__cta:hover { border-color: var(--accent); }
  .home__cta:hover .home__cta-arrow { transform: translateY(3px); }
  .film-arrow--prev:hover .film-arrow__glyph { transform: translateX(-3px); }
  .film-arrow--next:hover .film-arrow__glyph { transform: translateX(3px); }
  .film-dots button:not([aria-current]):hover::before { background: rgba(237,231,220,.85); transform: scale(1.3); }
  .tile:hover img,
  .tile:hover video { transform: scale(1.04); }
  .contact__links a:hover { background-size: 100% 1px; }
  .player__close:hover { transform: rotate(90deg); }
}

/* Curseur (souris uniquement, piloté par main.js) : légère profondeur entre le fond et le titre. */

.home__title,
.film { translate: calc(var(--tilt-x, 0) * 5px) calc(var(--tilt-y, 0) * 3px); }

.cursor-label {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  pointer-events: none;
  will-change: transform;
}

.cursor-label span {
  display: block;
  margin: 20px 0 0 16px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--info);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: scale(.7);
  transform-origin: 0 0;
  transition: opacity .25s ease, transform .4s var(--ease-out);
}

.cursor-label.is-visible span { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 899px) {
  :root {
    --infos-top: max(clamp(70px, 9vh, 92px), calc(var(--header-h) + 10px));
    --infos-right: clamp(10px, 3vw, 20px);
  }

  body.infos-open .view--films {
    padding-right: var(--stage-pad);
    padding-bottom: 56vh;
  }

  .infos {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 58vh;
    border-radius: 14px 14px 0 0;
    border-bottom: 0;
  }

  .about__text br { display: none; }
}

@media (max-width: 759px) {
  .header {
    flex-direction: column;
    justify-content: center;
    padding-bottom: 18px;
    text-align: center;
  }

  .nav {
    position: static;
    transform: none;
    gap: clamp(14px, 5vw, 26px);
  }

  .nav a { font-size: 11px; }

  .about { justify-content: center; }
  .about__portrait { flex-basis: min(260px, 70vw); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
