:root {
  --bg: #f3f0e8;
  --ink: #171614;
  --muted: #5f5a52;
  --rule: #c7c1b7;
  --paper: #fffdf8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 15% 20%, #fffef7 0%, var(--bg) 60%);
  color: var(--ink);
  font-family: "Baskerville", "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.5) 0,
    rgba(0, 0, 0, 0.5) 1px,
    transparent 1px,
    transparent 3px
  );
}

.page {
  width: min(920px, 92vw);
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
}

.hero {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  align-items: end;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 2.2rem 0;
}

.portrait-wrap {
  margin: 0;
}

.portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}

.kicker {
  text-transform: lowercase;
  letter-spacing: 0.1em;
  font-family: "Helvetica Neue", "Arial Narrow", Arial, sans-serif;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
  max-width: 16ch;
  font-weight: 400;
}

h1 span {
  display: block;
  font-style: italic;
}

h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 400;
}

p,
li,
a {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.48;
}

.split {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}

.collaborators {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}

.collaborators h2 {
  margin-bottom: 0.35rem;
}

.collab-subtitle {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.logo-marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 253, 248, 0.7);
}

.logo-track {
  display: flex;
  flex-shrink: 0;
  gap: 0.7rem;
  width: max-content;
  padding: 0.7rem 0;
  animation: roll-logos 45s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.collab-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 0.42rem 0.6rem;
  white-space: nowrap;
}

.collab-item img {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  object-fit: contain;
  background: #fff;
}

.collab-item span {
  font-size: 0.88rem;
  line-height: 1;
}

.split ul {
  margin: 0;
  padding-left: 1.1rem;
}

.split p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.footer {
  padding-top: 1.5rem;
  font-style: italic;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: fade-up 700ms ease forwards;
}

.reveal:nth-of-type(2) {
  animation-delay: 90ms;
}
.reveal:nth-of-type(3) {
  animation-delay: 140ms;
}
.reveal:nth-of-type(4) {
  animation-delay: 190ms;
}
.reveal:nth-of-type(5) {
  animation-delay: 240ms;
}
.reveal:nth-of-type(6) {
  animation-delay: 280ms;
}
.reveal:nth-of-type(7) {
  animation-delay: 320ms;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes roll-logos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .portrait {
    max-width: 320px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}
