:root {
  --ink: #15161b;
  --paper: #efefec;
  --muted: #55575f;
  --line: rgb(21 22 27 / 0.14);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 "Hanken Grotesk", system-ui, sans-serif;
}
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.hub-head, main, .hub-foot { max-width: 1320px; margin: 0 auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.hub-head { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(2rem, 5vw, 4rem); }
.sig { margin: 0 0 1.5rem; font-style: italic; font-weight: 500; color: var(--muted); }
h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7.2vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}
.lede { max-width: 52ch; margin: 1.5rem 0 0; font-size: 1.2rem; color: var(--muted); text-wrap: pretty; }

.proposals { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.p { border-bottom: 1px solid var(--line); }
.p a {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  padding-block: clamp(1.25rem, 3vw, 2.25rem);
  text-decoration: none;
}
.n {
  font-weight: 800;
  font-size: 1.1rem;
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.p:first-child .n { color: var(--ink); }
.t strong { display: block; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1; letter-spacing: -0.03em; font-weight: 800; }
.t em { display: block; margin-top: 0.75rem; font-style: normal; color: var(--muted); max-width: 42ch; text-wrap: pretty; }
.p img {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
  border-radius: 10px;
  outline: 1px solid oklch(0 0 0 / 0.1); outline-offset: -1px;
  box-shadow: 0 1px 2px rgb(21 22 27 / 0.08), 0 12px 32px -12px rgb(21 22 27 / 0.28);
  transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .p a:hover img { transform: translateY(-4px) rotate(-0.6deg); box-shadow: 0 2px 4px rgb(21 22 27 / 0.08), 0 24px 48px -16px rgb(21 22 27 / 0.36); }
  .p a:hover .t strong { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--c); }
}

.notes { padding-block: clamp(3rem, 7vw, 5rem); max-width: 60ch; }
.notes h2 { font-size: 1.6rem; letter-spacing: -0.02em; margin: 0 0 1rem; text-wrap: balance; }
.notes ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.notes li + li { margin-top: 0.4rem; }

.hub-foot { padding-block: 2rem 3rem; border-top: 1px solid var(--line); color: var(--muted); }

@media (max-width: 767px) {
  .p a { grid-template-columns: 3rem minmax(0, 1fr); }
  .p img { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .p img { transition: none; }
}

/* Créditos */
.credits main { padding-block: 3rem 5rem; }
.credits h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.back { display: inline-block; margin-bottom: 2rem; font-weight: 500; }
.credit-list { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem 2rem; }
.credit-list li { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center; }
.credit-list img { width: 96px; height: 64px; object-fit: cover; border-radius: 6px; outline: 1px solid oklch(0 0 0 / 0.1); outline-offset: -1px; }
.credit-list a { font-weight: 700; }
.credit-list span { display: block; font-size: 0.875rem; color: var(--muted); overflow-wrap: anywhere; }
