:root {
  --ink: #0c0b0a;
  --paper: #e8dcc8;
  --paper-dim: #b9ad9a;
  --copper: #d2652b;
  --line: rgba(232, 220, 200, 0.14);
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --poster: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Source Serif 4", "Palatino Linotype", Palatino, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--copper);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  background: var(--paper);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
}

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

.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.25rem 6vw 0;
  position: relative;
  z-index: 2;
}

.mark {
  margin: 0;
  font-family: var(--poster);
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
}

nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
}

nav a {
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--poster);
  font-weight: 700;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 3rem);
  padding: 8vh 6vw 10vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  grid-template-rows: auto auto 1fr auto;
  column-gap: 4vw;
  align-content: start;
}

.eyebrow {
  grid-column: 1;
  margin: 0 0 1.5rem;
  font-family: var(--poster);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--copper);
  animation: rise 0.9s ease both;
}

h1 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(4.2rem, 12vw, 9.5rem);
  line-height: 0.82;
  letter-spacing: -0.04em;
}

h1 .given,
h1 .family {
  display: block;
  animation: rise 1s ease both;
}

h1 .family {
  font-style: italic;
  font-weight: 300;
  animation-delay: 0.12s;
}

.roles {
  grid-column: 2;
  grid-row: 2 / 4;
  list-style: none;
  margin: 0;
  padding: 0;
  align-self: start;
  text-align: right;
}

.roles li {
  font-family: var(--poster);
  font-weight: 800;
  font-size: clamp(1.7rem, 4.4vw, 3.6rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--paper);
  animation: rise 0.85s ease both;
}

.roles li:nth-child(1) { animation-delay: 0.18s; }
.roles li:nth-child(2) { animation-delay: 0.28s; color: var(--paper-dim); }
.roles li:nth-child(3) { animation-delay: 0.38s; }
.roles li:nth-child(4) { animation-delay: 0.48s; color: var(--copper); }

.lede {
  grid-column: 1;
  grid-row: 4;
  max-width: 28rem;
  margin: auto 0 0;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.4;
  animation: rise 1s ease 0.45s both;
}

.now,
.work,
.contact {
  position: relative;
  z-index: 1;
  padding: 8vh 6vw;
  border-top: 1px solid var(--line);
  scroll-margin-top: 1.25rem;
}

.kicker {
  margin: 0 0 0.75rem;
  font-family: var(--poster);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--copper);
}

.now p,
.contact p {
  max-width: 40rem;
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.4;
}

.work-head h2,
.contact h2 {
  margin: 0 0 3rem;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
}

.catalog {
  list-style: none;
  margin: 0;
  padding: 0;
}

.catalog li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.5rem;
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
}

.catalog li:last-child {
  border-bottom: 1px solid var(--line);
}

.idx {
  font-family: var(--poster);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--copper);
  padding-top: 0.35rem;
}

.catalog h3 {
  margin: 0 0 0.2rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
}

.meta {
  margin: 0 0 0.85rem;
  font-family: var(--poster);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--paper-dim);
}

.catalog p {
  margin: 0 0 0.9rem;
  max-width: 38rem;
  color: var(--paper);
}

.out {
  display: inline-block;
  margin-right: 1.25rem;
  font-family: var(--poster);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  text-decoration: none;
  border-bottom: 1px solid var(--copper);
  padding-bottom: 0.1rem;
}

.mail {
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 300;
  text-decoration: none;
  border-bottom: 1px solid var(--copper);
}

.also {
  margin-top: 1.25rem !important;
  font-family: var(--poster);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem !important;
}

.also a {
  text-decoration: none;
}

footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 6vw 2.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--poster);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--paper-dim);
}

footer p {
  margin: 0;
}

footer a {
  color: var(--paper-dim);
  text-decoration: none;
}

footer a:hover {
  color: var(--copper);
}

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

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 10vh;
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 6rem);
    grid-column: 1;
  }

  .roles {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
    margin: 2.2rem 0 2rem;
  }

  .lede {
    grid-column: 1;
  }

  .catalog li {
    grid-template-columns: 2.6rem 1fr;
    gap: 0.6rem;
  }

  .now p,
  .contact p {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  h1 .given,
  h1 .family,
  .roles li,
  .eyebrow,
  .lede {
    animation: none;
  }
}
