@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/BodoniModa-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/BodoniModa-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("/fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("/fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("/fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #10131a;
  --ivory: #f7f1e8;
  --paper: #fffdf9;
  --oxblood: #741536;
  --coral: #ff4d58;
  --cobalt: #173fc4;
  --lilac: #e9ddf4;
  --muted: #676873;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

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

h1,
h2,
h3 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 0.4em;
}

h1 {
  font-size: clamp(4.5rem, 12vw, 9.5rem);
}

h2 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

h3 {
  font-size: 2rem;
}

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

.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--coral);
  color: #fff;
  padding: 8px 12px;
  z-index: 10;
}

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

.kicker.ink {
  color: var(--oxblood);
}

.kicker.on-dark {
  color: #fff;
}

.mast {
  position: fixed;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 28px;
  color: var(--paper);
  mix-blend-mode: difference;
}

.mast__mark img {
  width: 44px;
  height: 44px;
  filter: invert(1);
}

.mast__issue,
.mast__nav a {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
}

.mast__nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
}

.cover {
  position: relative;
  min-height: 100vh;
  color: var(--paper);
  overflow: hidden;
  background: var(--ink);
}

.cover__photo {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: 50% 20%;
}

.cover__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 19, 26, 0.25) 0%,
    rgba(16, 19, 26, 0.1) 40%,
    rgba(16, 19, 26, 0.72) 100%
  );
}

.cover__copy {
  position: absolute;
  left: 6vw;
  bottom: 8vh;
  max-width: 16ch;
}

.cover__copy h1 em {
  font-style: italic;
}

.deck {
  font-size: 1.05rem;
  max-width: 36ch;
  margin: 0 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.cover__spine {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.68rem;
  margin: 0;
}

.spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  background: var(--paper);
}

.spread__text {
  padding: 12vh 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spread__figure img {
  width: 100%;
  height: 90vh;
  object-fit: cover;
}

.spread__figure figcaption,
.diptych figcaption {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 12px 0;
  color: var(--muted);
}

.pull {
  font-family: "Bodoni Moda", Georgia, serif;
  font-style: italic;
  font-size: 1.8rem;
  line-height: 1.2;
  color: var(--oxblood);
}

.trio {
  padding: 12vh 6vw;
}

.trio__head {
  max-width: 20ch;
  margin-bottom: 48px;
}

.trio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trio__grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 16px;
}

.trio__grid p {
  color: var(--muted);
  margin: 0;
}

.cobalt {
  background: var(--cobalt);
  color: #fff;
  padding: 16vh 8vw;
}

.cobalt h2 {
  max-width: 16ch;
}

.cobalt p {
  max-width: 48ch;
  font-size: 1.15rem;
}

.diptych {
  padding: 12vh 6vw 8vh;
}

.diptych__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.diptych__pair img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.diptych__note {
  max-width: 46ch;
  color: var(--muted);
}

.privacy {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--ink);
  color: var(--paper);
}

.privacy img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 70vh;
}

.privacy div {
  padding: 12vh 7vw;
}

.privacy ul {
  padding-left: 1.1em;
  color: #d8d3cc;
}

.wide {
  position: relative;
  background: var(--ink);
}

.wide img {
  width: 100%;
  height: 72vh;
  object-fit: cover;
  opacity: 0.92;
}

.wide blockquote {
  position: absolute;
  left: 8vw;
  bottom: 8vh;
  margin: 0;
  color: var(--paper);
}

.wide blockquote p {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-style: italic;
  margin: 0 0 0.4em;
}

.wide cite {
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.close {
  text-align: center;
  padding: 18vh 8vw;
  background: var(--ivory);
}

.close__mark {
  margin: 0 auto 24px;
}

.close__domain {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--oxblood);
}

.colophon {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 6vw 48px;
  border-top: 1px solid #d8d3cc;
  font-size: 0.85rem;
  color: var(--muted);
}

.colophon img {
  height: 56px;
  width: auto;
  margin-bottom: 12px;
}

@media (max-width: 860px) {
  .mast__nav,
  .cover__spine,
  .mast__issue {
    display: none;
  }

  .spread,
  .trio__grid,
  .diptych__pair,
  .privacy,
  .colophon {
    grid-template-columns: 1fr;
  }

  .spread__figure img,
  .privacy img,
  .wide img,
  .cover__photo {
    height: 70vh;
  }

  .cover__copy {
    max-width: 90vw;
  }
}
