/* ================================================================
   mprnl.fr, page centrale
   Le noir et le grand cadre de photo.mprnl.fr, la typographie et
   les accents techniques de dev.mprnl.fr. Deux portes, deux
   couleurs : rose #FF488B pour la scène, périwinkle #A5B4FC pour
   le code. Space Grotesk pour les titres, Inter pour le texte.
   ================================================================ */

@font-face {
  font-family: "Space Grotesk"; /* taste-skill-ignore: police de dev.mprnl.fr */
  src: url("assets/fonts/space-grotesk-700-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter"; /* taste-skill-ignore: police de dev.mprnl.fr */
  src: url("assets/fonts/inter-400-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Les deux identités */
  --bg: #0a0a0b;          /* dev.mprnl.fr */
  --bg-plum: #1b0e17;     /* photo.mprnl.fr, surface */
  --ink: #f5f5f4;
  --muted: #a89ea6;
  --photo: #ff488b;
  --photo-ink: #0d060b;
  --dev: #a5b4fc;
  --dev-soft: #c7d2fe;
  --dev-deep: #1e1b4b;
  --paper: #ffffff;
  --paper-ink: #101421;
  --paper-muted: #5c5560;

  /* Typo */
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-text: "Inter", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.125rem, 1rem + 0.28vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem);
  --display: clamp(2.75rem, 12vw, 13rem);

  /* Cadre */
  --m: clamp(1rem, 0.6rem + 1.6vw, 2rem);
  --gap: clamp(1rem, 1.5vw, 1.5rem);
  --section: clamp(4.5rem, 9vw, 9rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

ul { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

::selection { background: var(--photo); color: var(--photo-ink); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--m);
  top: -100px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
}
.skip:focus-visible { top: 12px; outline-color: var(--ink); }

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

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px var(--m) 18px;
}

.top__brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.top__nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  font-size: var(--step-small);
}

.top__nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}

.top__nav a:hover { color: var(--ink); }

.top__write {
  color: var(--ink) !important;
  text-decoration: underline;
  text-decoration-color: var(--photo);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* ---------- Les deux mondes ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(1.5rem, 3vw, 2rem);
  min-height: calc(100svh - 78px);
  padding: 0 0 0 var(--m);
}

.hero__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vh, 3rem) 0 var(--m);
}

.hero__name {
  position: relative;
  z-index: 3;
  width: max-content;
  max-width: none;
  font-size: var(--display);
  line-height: 0.86;
  letter-spacing: -0.05em;
}

.hero__role {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: clamp(1.5rem, 3vh, 2.2rem);
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--muted);
}

.role { display: inline-flex; align-items: center; gap: 8px; }

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}

.dot--photo { background: var(--photo); }
.dot--dev { background: var(--dev); }

.hero__intro {
  max-width: 33ch;
  margin-top: clamp(1.25rem, 2.5vh, 1.75rem);
  font-size: var(--step-body);
  line-height: 1.45;
}

.doors {
  display: grid;
  gap: 10px;
  margin-top: clamp(2rem, 5vh, 3.25rem);
  max-width: 34rem;
}

.door {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name url"
    "meta url";
  align-items: center;
  gap: 2px 14px;
  padding: 18px 20px;
  color: var(--bg);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.door--photo { background: var(--photo); }
.door--dev { background: var(--dev); }

.door__name {
  grid-area: name;
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.door__meta {
  grid-area: meta;
  font-size: var(--step-small);
  color: var(--bg);
}

.door__url {
  grid-area: url;
  font-size: var(--step-small);
  font-weight: 500;
  white-space: nowrap;
}

.door__url::after {
  content: " →";
  display: inline-block;
  transition: transform 0.2s ease;
}

.door:hover,
.door:focus-visible {
  background: var(--ink);
  color: var(--bg);
}

.door:hover .door__url::after,
.door:focus-visible .door__url::after { transform: translateX(4px); }

.hero__status {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px 14px;
  margin-top: auto;
  padding-top: 1.75rem;
  font-size: 1rem;
  color: var(--ink);
}

.hero__status-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero__avail { font-weight: 500; }

.hero__prod {
  padding-top: 0.12em;
  font-size: var(--step-small);
  color: var(--muted);
}



.hero__status a {
  color: var(--dev);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dev);
  flex: none;
}

.room {
  position: relative;
  margin: 0;
  min-height: 460px;
  overflow: hidden;
  background: #000;
}

.room__frames { position: absolute; inset: 0; }

.room__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.room__img.is-on { opacity: 1; }

.room__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 11px 15px;
  background: var(--photo);
  color: var(--photo-ink);
  font-size: var(--step-small);
  font-weight: 500;
}

.room::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 36%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to right, rgba(10, 10, 11, 0.86), rgba(10, 10, 11, 0.5) 45%, rgba(10, 10, 11, 0)); /* taste-skill-ignore: scrim neutre sous le nom, sur la photo */
}

.room::after,
.wide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ---------- Sections : tête commune ---------- */

.photo,
.code,
.letter {
  padding: var(--section) var(--m);
}

.photo { background: var(--bg-plum); }

.section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-head h2 { font-size: var(--step-head); }

.section-lead {
  max-width: 40ch;
  font-size: var(--step-lead);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--muted);
}

/* ---------- Sur scène ---------- */

.wide {
  position: relative;
  margin: 0 calc(-1 * var(--m));
}

.wide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 78svh;
  object-fit: cover;
  background: #000;
  transition: opacity 0.35s ease;
}

.wide img.is-swapping { opacity: 0; }

.wide__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  padding-top: 14px;
}

.wide__caption { font-size: 1rem; }

.wide__hint {
  font-size: var(--step-small);
  color: var(--muted);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.thumb {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: var(--bg-plum);
  cursor: pointer;
  overflow: hidden;
  color: var(--photo);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.thumb:hover img,
.thumb:focus-visible img { opacity: 0.9; transform: scale(1.04); }

.thumb.is-on { outline: 4px solid var(--photo); outline-offset: -4px; }
.thumb.is-on img { opacity: 1; }

.programme {
  display: grid;
  grid-template-columns: 0.9fr 2fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.programme__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.programme h3 {
  font-size: var(--step-lead);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.gigs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px clamp(1.5rem, 3vw, 3rem);
}

.gig__who {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.gig__where {
  display: block;
  margin-top: 6px;
  font-size: var(--step-small);
  line-height: 1.35;
  color: var(--muted);
}

.gigs time { font-variant-numeric: tabular-nums; }

.gig {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.gig:hover .gig__who,
.gig:focus-visible .gig__who {
  text-decoration: underline;
  text-decoration-color: var(--photo);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.thumb.is-linked img { opacity: 1; transform: scale(1.04); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  align-self: flex-start;
  font-size: var(--step-body);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  transition: color 0.2s ease;
}

.link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.link:hover::after,
.link:focus-visible::after { transform: translateX(4px); }

.link--photo { color: var(--photo); }
.link--dev { color: var(--dev); }
.link--quiet { color: var(--ink); }

/* ---------- Dans le code ---------- */

.code__body {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
}

.code__text h2 {
  font-size: var(--step-head);
  margin-bottom: 0.5em;
}

.code__lead {
  max-width: 27ch;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  font-size: var(--step-lead);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.code__p {
  max-width: 42ch;
  font-size: var(--step-body);
  line-height: 1.55;
}

.facts {
  display: grid;
  gap: 18px;
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
}

.facts__row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 16px;
}

.facts dt {
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--dev);
  padding-top: 4px;
}

.facts dd {
  margin: 0;
  font-size: var(--step-body);
  line-height: 1.4;
}

.code__note {
  max-width: 42ch;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  font-size: var(--step-body);
  line-height: 1.5;
}

.code__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.shot { margin: 0 calc(-1 * var(--m)) 0 0; }

.shot__frame {
  display: block;
  padding: clamp(10px, 1.2vw, 16px);
  background: var(--dev-deep);
}

.shot__frame img { width: 100%; }

.shot figcaption {
  margin-top: 12px;
  font-size: var(--step-small);
  color: var(--muted);
}

/* ---------- Lettre ---------- */

.letter {
  display: flex;
  justify-content: center;
}

.paper {
  width: min(52rem, 100%);
  background: var(--paper);
  color: var(--paper-ink);
}

.paper h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 0.95;
  margin-bottom: 0.5em;
  max-width: 18ch;
}

.paper__body {
  display: grid;
  gap: 1.1em;
  padding: clamp(1.75rem, 5vw, 3.75rem);
  font-size: var(--step-body);
  line-height: 1.55;
  color: var(--paper-ink);
}

.paper__body p { max-width: 56ch; }

.paper__sign {
  display: grid;
  gap: 2px;
  margin-top: 0.8em;
}

.paper__name {
  font-family: var(--font-display);
  font-size: var(--step-body);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.paper__job {
  font-size: var(--step-small);
  color: var(--paper-muted);
}

.paper :focus-visible { outline-color: var(--paper-ink); }

.tear {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 20px clamp(1.75rem, 5vw, 3.75rem);
  background: var(--photo);
  color: var(--photo-ink);
  border-top: 5px dotted var(--photo-ink);
}

.tear__label { font-size: var(--step-small); }

.tear__mail {
  font-size: var(--step-lead);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* ---------- Pied ---------- */

.close {
  padding: var(--section) var(--m) var(--m);
  background: #060607;
}

.close__top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.close__head h2 { font-size: var(--step-head); }

.close__write h2 { font-size: var(--step-head); }

.close__mail {
  display: inline-block;
  margin-top: 0.35em;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--dev);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
  overflow-wrap: anywhere;
}

.close__reply {
  max-width: 42ch;
  margin-top: 18px;
  font-size: var(--step-small);
  color: var(--muted);
}

.close__doors { display: grid; gap: 4px; }

.close__door {
  --door-accent: var(--ink);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  text-decoration: none;
}

.close__door--photo { --door-accent: var(--photo); }
.close__door--dev { --door-accent: var(--dev); }

.close__door .dot {
  width: 7px;
  height: 7px;
}

.close__door-name {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.close__door-url {
  font-size: var(--step-small);
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.close__door-url::after {
  content: " →";
  display: inline-block;
  transition: transform 0.2s ease;
}

.close__door:hover .close__door-name,
.close__door:focus-visible .close__door-name {
  text-decoration: underline;
  text-decoration-color: var(--door-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.close__door:hover .close__door-url,
.close__door:focus-visible .close__door-url { color: var(--door-accent); }

.close__door:hover .close__door-url::after,
.close__door:focus-visible .close__door-url::after { transform: translateX(4px); }

.close__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px 40px;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  font-size: var(--step-small);
  color: var(--muted);
}

.close__avail { max-width: 46ch; }

.close__social {
  display: flex;
  gap: 22px;
}

.close__social a {
  font-size: var(--step-small);
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.close__social a:hover { color: var(--dev); }

.close__name {
  margin: clamp(2.5rem, 6vw, 5rem) 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 11vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.88;
  white-space: nowrap;
}

.close__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  font-size: var(--step-small);
  color: var(--muted);
}

.close__legal a {
  color: var(--dev);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Mouvement ---------- */

@media (prefers-reduced-motion: no-preference) {
  .room__img { animation: drift 26s ease-in-out infinite alternate; }
  .room__img:nth-child(2) { animation-delay: -8s; }
  .room__img:nth-child(3) { animation-delay: -16s; }

  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity 0.7s ease,
      transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--i, 0) * 80ms);
  }

  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .room__img,
  .thumb img,
  .door,
  .link::after { transition: none; }
}

/* ---------- Tablette et téléphone ---------- */

@media (max-width: 1000px) {
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .programme { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero {
    position: relative;
    display: block;
    min-height: 0;
    padding: 0 var(--m);
  }

  .hero__text {
    padding-top: 19svh;
    padding-bottom: clamp(2rem, 5vh, 3rem);
  }

  .room {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 44svh;
    min-height: 300px;
    margin: 0;
    z-index: 0;
  }

  .room::before {
    inset: auto 0 0 0;
    width: auto;
    height: 76%;
    background: linear-gradient(to bottom, rgba(10, 10, 11, 0), rgba(10, 10, 11, 0.72) 55%, var(--bg) 100%); /* taste-skill-ignore: scrim neutre sous le nom, sur la photo */
  }

  .room__tag { display: none; }

  .section-head,
  .code__body {
    grid-template-columns: 1fr;
  }

  .section-lead { max-width: 34ch; }
  .shot { margin-right: 0; }

  .close__top { grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3rem); }
  .close__meta { flex-direction: column; align-items: flex-start; gap: 14px; }
  .close__social { gap: 18px; }
}

@media (max-width: 700px) {
  .wide img { aspect-ratio: 4 / 3; }
}

@media (max-width: 560px) {
  .top__nav a:not(.top__write) { display: none; }

  .gigs { grid-template-columns: 1fr; }

  .door {
    grid-template-columns: 1fr;
    grid-template-areas:
      "name"
      "meta"
      "url";
    padding: 16px 18px;
  }

  .door__url { justify-self: start; margin-top: 6px; }

  .thumbs { gap: 8px; }
  .facts__row { grid-template-columns: 1fr; gap: 4px; }
  .tear { flex-direction: column; align-items: flex-start; }
  .tear__mail { font-size: var(--step-body); }
  .close__name { white-space: normal; }

  .close__door {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "dot name"
      "dot url";
    row-gap: 5px;
    align-items: start;
  }

  .close__door .dot { grid-area: dot; margin-top: 10px; }
  .close__door-name { grid-area: name; }
  .close__door-url { grid-area: url; }
}

/* ---------- 404 ---------- */

.lost {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: stretch;
  min-height: calc(100svh - 78px);
  padding: 0 0 0 var(--m);
}

.lost__block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1rem, 2.5vh, 1.75rem);
  max-width: 42rem;
  padding: clamp(2rem, 5vh, 4rem) 0 var(--m);
}

.lost__photo {
  position: relative;
  margin: 0;
  min-height: 520px;
  overflow: hidden;
}

.lost__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
}

.lost__code {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(6rem, 22vw, 18rem);
  line-height: 0.78;
  letter-spacing: -0.06em;
  color: var(--photo);
}

.lost__title {
  max-width: 16ch;
  font-size: var(--step-head);
}

.lost__text {
  max-width: 46ch;
  font-size: var(--step-body);
  color: var(--muted);
}

.lost__home a {
  font-size: var(--step-body);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.lost__links {
  display: grid;
  gap: 2px;
  max-width: 34rem;
  margin-top: 0.75rem;
}

.lost__link {
  --lost-accent: var(--ink);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  text-decoration: none;
}

.lost__link--photo { --lost-accent: var(--photo); }
.lost__link--dev { --lost-accent: var(--dev); }

.lost__link .dot { width: 7px; height: 7px; }

.lost__link-name {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.lost__link-url {
  font-size: var(--step-small);
  color: var(--muted);
  transition: color 0.2s ease;
}

.lost__link:hover .lost__link-name,
.lost__link:focus-visible .lost__link-name {
  text-decoration: underline;
  text-decoration-color: var(--lost-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.lost__link:hover .lost__link-url,
.lost__link:focus-visible .lost__link-url { color: var(--lost-accent); }

@media (max-width: 900px) {
  .lost {
    grid-template-columns: 1fr;
    padding: 0 var(--m);
  }

  .lost__block { padding-top: clamp(1.5rem, 6vh, 3rem); }

  .lost__photo {
    height: 38svh;
    min-height: 260px;
    margin: 0 calc(-1 * var(--m));
  }
}

@media (max-width: 560px) {
  .lost__link { grid-template-columns: auto 1fr; grid-template-areas: "dot name" "dot url"; row-gap: 5px; align-items: start; }
  .lost__link .dot { grid-area: dot; margin-top: 10px; }
  .lost__link-name { grid-area: name; }
  .lost__link-url { grid-area: url; }
}
