:root {
  --ink: #0b0b0a;
  --paper: #e9e4da;
  --paper-deep: #d8d1c5;
  --muted: #77736c;
  --rule: rgba(11, 11, 10, 0.24);
  --accent: #9c3329;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Helvetica Neue", "Neue Haas Grotesk Text Pro", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 7% 8%, rgba(255, 255, 255, 0.52), transparent 26%),
    linear-gradient(118deg, rgba(255, 255, 255, 0.14), transparent 42%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow: hidden;
}

.page-shell::after {
  position: absolute;
  z-index: -2;
  top: 0;
  right: clamp(20px, 4.5vw, 80px);
  bottom: 0;
  width: 1px;
  background: rgba(11, 11, 10, 0.1);
  content: "";
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-inline: clamp(24px, 4.5vw, 80px);
}

.site-header {
  padding-top: clamp(24px, 3vw, 48px);
}

.author-mark {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.author-mark__name,
.edition-mark,
.eyebrow,
.cover-caption,
.object-label,
.site-footer {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.author-mark__line {
  width: 64px;
  height: 1px;
  background: var(--rule);
}

.edition-mark {
  margin: 0;
  color: var(--muted);
}

.edition-mark span {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: clamp(48px, 7vw, 132px);
  width: min(100%, 1780px);
  margin: 0 auto;
  padding: clamp(38px, 4.5vh, 74px) clamp(24px, 6vw, 112px);
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 790px;
  animation: reveal-copy 900ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.eyebrow {
  margin: 0 0 clamp(20px, 3.5vh, 44px);
  color: var(--accent);
}

.title {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(82px, 10.4vw, 188px);
  font-weight: 400;
  line-height: 0.75;
  letter-spacing: -0.065em;
}

.title span:last-child {
  font-style: italic;
}

.statement {
  position: relative;
  margin: clamp(48px, 6vh, 78px) 0 0;
  padding-left: clamp(20px, 2.5vw, 38px);
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1.22;
}

.statement::before {
  position: absolute;
  top: 0.2em;
  bottom: 0.22em;
  left: 0;
  width: 2px;
  background: var(--accent);
  content: "";
}

.statement p {
  margin: 0;
}

.statement p:last-child {
  color: var(--muted);
  font-style: italic;
}

.descriptor {
  max-width: 600px;
  margin: 28px 0 0;
  color: #55524d;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.65;
}

.amazon-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  min-width: min(100%, 360px);
  margin-top: clamp(30px, 4vh, 48px);
  padding: 17px 19px 16px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.amazon-link svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.5;
}

.amazon-link:hover {
  background: transparent;
  color: var(--ink);
  transform: translateY(-2px);
}

.amazon-link:focus-visible,
.author-mark:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.cover-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(72vh, 790px);
  isolation: isolate;
}

.cover-stage::before {
  position: absolute;
  z-index: -2;
  top: 18%;
  right: -8vw;
  left: 5%;
  height: 2px;
  background: var(--accent);
  content: "";
}

.cover-stage::after {
  position: absolute;
  z-index: -2;
  top: 18%;
  bottom: 15%;
  left: 5%;
  width: 1px;
  background: var(--rule);
  content: "";
}

.object-label {
  position: absolute;
  z-index: 2;
  top: calc(18% - 18px);
  right: 2%;
  margin: 0;
  color: var(--muted);
}

.object-label span {
  margin-left: 10px;
}

.object-index {
  position: absolute;
  z-index: -2;
  top: 1%;
  right: 3%;
  color: rgba(11, 11, 10, 0.055);
  font-family: var(--serif);
  font-size: clamp(160px, 19vw, 310px);
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.fingerprint-art {
  position: relative;
  z-index: 3;
  display: block;
  width: min(45vw, 665px);
  margin-top: 5%;
  animation: reveal-art 1100ms 120ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.fingerprint-art img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.92;
}

.cover-caption {
  position: absolute;
  z-index: 5;
  right: 2%;
  bottom: 5%;
  left: 12%;
  padding-top: 13px;
  border-top: 1px solid var(--ink);
  color: var(--ink);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.cover-caption p {
  margin: 0;
}

.site-footer {
  align-items: flex-end;
  padding-bottom: clamp(22px, 2.5vw, 42px);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.footer-edition,
.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-edition p:last-child {
  color: var(--ink);
}

.footer-contact {
  justify-items: end;
  max-width: 520px;
  text-align: right;
}

.footer-contact a {
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-underline-offset: 4px;
  transition: color 180ms ease;
}

.footer-contact a:hover {
  color: var(--accent);
}

@keyframes reveal-copy {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-art {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .page-shell {
    overflow-x: hidden;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 72px;
    padding-top: 76px;
    padding-bottom: 80px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .title {
    font-size: clamp(84px, 18vw, 160px);
  }

  .cover-stage {
    min-height: 700px;
  }

  .cover-stage::before {
    right: -14vw;
  }

  .fingerprint-art {
    width: min(80vw, 650px);
  }

  .object-label {
    right: 5%;
  }

  .cover-caption {
    right: 5%;
    left: 12%;
  }
}

@media (max-width: 600px) {
  :root {
    --mobile-gutter: 26px;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-shell {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .site-header,
  .site-footer {
    padding-inline: var(--mobile-gutter);
  }

  .site-header {
    padding-top: 28px;
  }

  .page-shell::after,
  .author-mark__line,
  .edition-mark span {
    display: none;
  }

  .hero {
    width: 100%;
    max-width: 100%;
    gap: 38px;
    padding: 54px var(--mobile-gutter) 58px;
  }

  .author-mark__name,
  .edition-mark,
  .object-label,
  .cover-caption,
  .site-footer {
    letter-spacing: 0.14em;
  }

  .eyebrow {
    letter-spacing: 0.16em;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .title {
    display: block;
    max-width: 100%;
    font-size: clamp(56px, 17.5vw, 74px);
    line-height: 0.88;
    letter-spacing: -0.05em;
    white-space: nowrap;
  }

  .title span {
    display: inline;
  }

  .title span:last-child {
    margin-left: 0;
  }

  .statement {
    max-width: 100%;
    margin-top: 40px;
    padding-left: 20px;
    font-size: clamp(19px, 5.35vw, 22px);
    line-height: 1.28;
  }

  .descriptor {
    width: 100%;
    max-width: 100%;
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.58;
  }

  .amazon-link {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 24px;
    margin-top: 30px;
    letter-spacing: 0.14em;
  }

  .cover-stage {
    width: 100%;
    max-width: 100%;
    min-height: 520px;
    overflow: hidden;
  }

  .cover-stage::before {
    top: 12%;
    right: 0;
    left: 0;
  }

  .cover-stage::after {
    top: 12%;
    bottom: 14%;
    left: 0;
  }

  .fingerprint-art {
    width: min(100%, 500px);
    max-width: 100%;
    margin: 5% auto 0;
  }

  .object-index {
    top: 0;
    right: 1%;
    font-size: clamp(138px, 45vw, 184px);
  }

  .object-label {
    top: calc(12% - 18px);
    right: 2px;
  }

  .cover-caption {
    right: 0;
    bottom: 0;
    left: 0;
    padding-top: 12px;
    font-size: 8px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
    padding-top: 8px;
    padding-bottom: calc(25px + env(safe-area-inset-bottom));
  }

  .footer-contact {
    justify-items: start;
    text-align: left;
  }

  .footer-contact p {
    max-width: 320px;
    line-height: 1.6;
  }

  .footer-contact a {
    letter-spacing: 0.1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
