:root {
  --bg: #10110f;
  --ink: #f4f0e6;
  --muted: #a39c90;
  --line: #c6a36a;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-sans: "Instrument Sans", "Avenir Next", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 1.5rem 1.75rem 1.25rem;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
}

header,
footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

header nav {
  display: flex;
  gap: 1.25rem;
}

header a,
footer a {
  color: var(--ink);
  text-decoration: none;
  text-underline-offset: 0.25em;
}

header a:hover,
header a:focus-visible,
footer a:hover,
footer a:focus-visible {
  text-decoration: underline;
}

header a[aria-current="page"] {
  color: var(--line);
  text-decoration: none;
}

header p,
footer p {
  margin: 0;
}

.home main {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 68rem;
  padding-bottom: 8vh;
}

.kicker {
  margin: 0 0 1.25rem;
  color: var(--line);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.82;
}

.home h1 {
  font-size: clamp(4.75rem, 18vw, 12.5rem);
}

h1 span {
  display: block;
}

h1 span:last-child {
  padding-left: 0.12em;
}

.lede {
  max-width: 18rem;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.45;
}

.home .next {
  max-width: 18rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.home .next a {
  color: var(--ink);
  text-decoration: none;
  text-underline-offset: 0.25em;
}

.home .next a:hover,
.home .next a:focus-visible {
  text-decoration: underline;
}

.sheet main {
  width: min(68rem, 100%);
  margin: 0 auto;
  padding: 4.5rem 0 5rem;
}

.sheet h1 {
  font-size: clamp(3.5rem, 10vw, 7rem);
}

.sheet h2 {
  margin: 4.5rem 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.sheet h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.sheet p {
  max-width: 40rem;
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.sheet .lede {
  margin-top: 1.25rem;
  max-width: 36rem;
}

.hero-art,
.shots figure,
.mod-banner {
  margin: 2.5rem 0 0;
}

.hero-art img,
.shots img,
.mod-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-art figcaption,
.shots figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.shots {
  display: grid;
  gap: 2rem;
  margin-top: 1.25rem;
}

.links,
.catalog a,
.workshop {
  letter-spacing: 0;
  text-transform: none;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.25rem;
}

.links a,
.catalog a {
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  text-underline-offset: 0.25em;
}

.links a:hover,
.links a:focus-visible,
.catalog a:hover,
.catalog a:focus-visible {
  text-decoration: underline;
}

.awards,
.catalog,
.workshop {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.awards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.awards img {
  display: block;
  width: 100%;
  height: auto;
}

.catalog {
  display: grid;
  gap: 2.75rem;
}

.catalog .mod-banner {
  margin: 0 0 1rem;
}

.workshop li {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.workshop strong {
  color: var(--ink);
  font-weight: 500;
}

@media (min-width: 800px) {
  .awards {
    grid-template-columns: 1fr 1fr;
  }

  .awards li:nth-child(-n + 2) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    padding: 1.25rem 1.15rem 1rem;
  }

  header,
  footer {
    letter-spacing: 0.12em;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .home main {
    padding-bottom: 4rem;
  }

  .lede {
    margin-top: 1.35rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  h1,
  .kicker,
  .lede {
    animation: rise 900ms ease both;
  }

  .lede {
    animation-delay: 120ms;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}
