:root {
  --void: #050505;
  --ink: #0b0b0b;
  --ash: #cfc6b8;
  --paper: #e8e0d2;
  --mute: #8a8378;
  --blood: #8a1218;
  --blood-soft: #5c0c12;
  --ring: rgba(232, 224, 210, 0.28);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --display: "Cinzel", "Times New Roman", serif;
  --sans: "Inter", system-ui, sans-serif;
}

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

html {
  background: var(--void);
  color: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  background: radial-gradient(120% 80% at 50% 0%, #1a1a1a 0%, var(--void) 55%);
  overflow-x: hidden;
}

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

a {
  color: var(--paper);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: #fff;
}

a:focus-visible {
  outline: 1px solid var(--blood);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.09;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #000;
  padding: 0 0 0.4rem;
}

.hero__still {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  object-position: center top;
  filter: contrast(1.06) saturate(0.12);
}

.hero__wordmark {
  display: block;
  width: min(52rem, 94vw);
  height: auto;
  margin: 0 auto;
}

.thesis {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3.5rem 1.4rem 4.5rem;
  text-align: center;
}

.thesis__text {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 3.6vw, 1.85rem);
  line-height: 1.45;
  color: var(--paper);
}

.thesis__text::after {
  content: "";
  display: block;
  width: 6.5rem;
  height: 1px;
  margin: 2.2rem auto 0;
  background: var(--blood);
}

.kicker {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--blood);
}

h2 {
  margin: 0 0 1.4rem;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--paper);
}

.company,
.slate,
.foot {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1rem 1.4rem 4.5rem;
}

.portraits {
  display: grid;
  gap: 2.6rem;
}

.portrait {
  text-align: center;
}

.portrait__ring {
  width: min(11.5rem, 58vw);
  aspect-ratio: 1;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  padding: 4px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.22), transparent 42%), #111;
  box-shadow:
    0 0 0 1px var(--ring),
    0 18px 40px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.portrait__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(1) contrast(1.12) brightness(0.92);
}

.portrait__img--devin {
  object-position: 38% 32%;
}

.portrait__img--jesse {
  object-position: 50% 28%;
}

.portrait__img--jonathan {
  object-position: 68% 28%;
}

.portrait h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.portrait__role {
  margin: 0.28rem 0 0.7rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--mute);
}

.portrait__bio {
  margin: 0 auto;
  max-width: 22rem;
  color: var(--ash);
  font-size: 0.95rem;
}

.portrait__links {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.portrait__links span {
  margin: 0 0.35rem;
  color: var(--mute);
}

.slate__line {
  max-width: 36rem;
  margin: -0.4rem 0 2.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ash);
}

.project {
  padding: 1.6rem 0 2.2rem;
  border-top: 1px solid rgba(232, 224, 210, 0.12);
}

.project__status {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blood);
}

.project h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 4vw, 2rem);
}

.project__by {
  margin: 0.4rem 0 1rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--mute);
}

.project__logline {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.28rem;
  color: var(--paper);
}

.project__body {
  margin: 0 0 1.6rem;
  max-width: 40rem;
  color: var(--ash);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0 0;
  display: grid;
  gap: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 0.9rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  position: relative;
  padding: 0.55rem 0;
  color: var(--mute);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0.32rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(232, 224, 210, 0.16);
}

.timeline li:first-child::before { top: 50%; }
.timeline li:last-child::before { bottom: 50%; }

.timeline .dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #1c1c1c;
  border: 1px solid rgba(232, 224, 210, 0.28);
  z-index: 1;
}

.timeline .label {
  font-family: var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.timeline .meta {
  font-size: 0.78rem;
}

.timeline li.done {
  color: var(--paper);
}

.timeline li.done .dot {
  background: var(--paper);
  border-color: var(--paper);
}

.timeline li.now {
  color: var(--paper);
}

.timeline li.now .dot {
  background: var(--blood);
  border-color: var(--blood);
  box-shadow: 0 0 0 4px rgba(138, 18, 24, 0.22);
}

.channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.channels a {
  font-size: 0.95rem;
}

.foot__sig {
  margin: 2.4rem 0 0;
  font-family: var(--display);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 0.62rem;
  color: var(--mute);
}

.foot__sig::before {
  content: "";
  display: block;
  width: 5rem;
  height: 1px;
  background: var(--blood);
  margin: 0 0 1.1rem;
}

@media (min-width: 860px) {
  .portraits {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    align-items: start;
  }

  .timeline {
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    margin-top: 0.6rem;
  }

  .timeline li {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 0.2rem 0.4rem 0;
    gap: 0.45rem;
  }

  .timeline li::before {
    left: 0;
    right: 0;
    top: 0.52rem;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .timeline li:first-child::before { left: 50%; top: 0.52rem; }
  .timeline li:last-child::before { right: 50%; top: 0.52rem; bottom: auto; }

  .timeline .meta {
    min-height: 1.2em;
  }
}
