:root {
  --bg: #171414;
  --panel: #211d1d;
  --text: #e8e1dc;
  --muted: #8f8782;
  --line: rgba(232, 225, 220, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.035), transparent 36rem),
    var(--bg);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 16px;
  line-height: 1.5;
}

.site {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.intro {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 0 6rem;
}

.eyebrow {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 13vw, 12rem);
  line-height: 0.82;
  font-weight: 400;
  letter-spacing: -0.08em;
}

.statement {
  margin: 3rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.sequence {
  padding: 3rem 0 8rem;
}

.frame {
  min-height: 96vh;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 1.25rem;
  border-top: 1px solid var(--line);
}

.frame img {
  display: block;
  width: min(100%, 980px);
  max-height: 78vh;
  object-fit: contain;
  filter: none;
  box-shadow:
    0 2rem 6rem rgba(0,0,0,0.38),
    0 0 0 1px rgba(255,255,255,0.08);
}

.frame:nth-child(odd) img {
  margin-left: 0;
  margin-right: auto;
}

.frame:nth-child(even) img {
  margin-left: auto;
  margin-right: 0;
}

.frame.portrait img {
  width: min(72vw, 560px);
}

.frame figcaption {
  width: min(100%, 980px);
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.85rem, 1vw, 1rem);
  letter-spacing: 0.03em;
}

.frame:nth-child(even) figcaption {
  margin-left: auto;
  text-align: right;
}

.opening {
  border-top: 0;
}

.ending {
  min-height: 110vh;
}

.footer {
  padding: 5rem 0 7rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.footer a:hover {
  border-bottom-color: var(--text);
}

::selection {
  background: #e8e1dc;
  color: #171414;
}

@media (max-width: 760px) {
  .site {
    width: min(100% - 1.25rem, var(--max));
  }

  .intro {
    min-height: 88vh;
    padding-top: 5rem;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 6rem);
  }

  .frame {
    min-height: 82vh;
    gap: 1rem;
  }

  .frame img,
  .frame.portrait img {
    width: 100%;
    max-height: 68vh;
  }

  .frame:nth-child(even) figcaption {
    text-align: left;
  }
}