:root {
  --ink: #18211e;
  --paper: #eee9df;
  --paper-deep: #ded8cb;
  --oxide: #c64b2f;
  --sea: #164d52;
  --line: rgba(24, 33, 30, 0.2);
  --serif: "Iowan Old Style", Baskerville, "Noto Serif SC", "Songti SC", serif;
  --sans: "Avenir Next Condensed", "DIN Condensed", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 13% 9%, rgba(255, 255, 255, 0.75), transparent 27rem),
    linear-gradient(115deg, transparent 0 68%, rgba(198, 75, 47, 0.035) 68% 100%);
  z-index: -1;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

.masthead,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.masthead {
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font: 700 21px/1 var(--serif);
  letter-spacing: -0.06em;
}

.brand-line {
  width: 42px;
  height: 1px;
  background: var(--oxide);
  transform: rotate(-17deg);
}

.issue,
.eyebrow,
.section-heading p,
.section-heading span,
.card-index,
footer {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.issue {
  margin: 0;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  padding: 90px 0 54px;
}

.eyebrow {
  align-self: start;
  margin: 10px 0 0;
  color: var(--oxide);
  writing-mode: vertical-rl;
}

.hero h1 {
  margin: 0;
  font: 400 clamp(64px, 9.5vw, 132px)/0.96 var(--serif);
  letter-spacing: -0.075em;
}

.hero-foot {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 72px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hero-foot p {
  width: min(440px, 68%);
  margin: 0;
  font: 15px/1.8 var(--serif);
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.scroll-cue i {
  display: block;
  width: 44px;
  height: 1px;
  background: var(--ink);
}

.collection {
  padding: 116px 0 48px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading p,
.section-heading span {
  margin: 0 0 5px;
}

.section-heading h2 {
  margin: 0;
  font: 400 clamp(40px, 5vw, 68px)/1 var(--serif);
  letter-spacing: -0.055em;
}

.feature-card {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  overflow: hidden;
  color: #f3eee4;
  background: var(--sea);
  text-decoration: none;
  isolation: isolate;
}

.collection-grid {
  display: grid;
  gap: 28px;
}

.memoir-card {
  background: #8f4f4b;
}

.memory-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 26%, rgba(255, 229, 195, 0.82) 0 7%, transparent 7.2%),
    radial-gradient(circle at 67% 30%, rgba(255, 255, 255, 0.22), transparent 20%),
    linear-gradient(145deg, #6f3443 0%, #b65f55 52%, #dda275 100%);
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.memory-orbit {
  position: absolute;
  border: 1px solid rgba(255, 238, 214, 0.34);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.orbit-a {
  width: 460px;
  height: 170px;
  right: -48px;
  top: 92px;
}

.orbit-b {
  width: 650px;
  height: 240px;
  right: -110px;
  top: 48px;
}

.memory-star {
  position: absolute;
  color: #ffe3bd;
  text-shadow: 0 0 24px rgba(255, 227, 189, 0.65);
}

.star-a { top: 16%; right: 18%; font-size: 18px; }
.star-b { top: 38%; right: 36%; font-size: 10px; }
.star-c { top: 26%; right: 8%; font-size: 7px; }

.card-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    linear-gradient(180deg, #497d7b 0%, #7fa29a 47%, #d8b283 48%, #4d7775 76%, #164d52 100%);
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.sun {
  position: absolute;
  top: 67px;
  right: 14%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #f5d7a2;
  box-shadow: 0 0 80px rgba(245, 215, 162, 0.48);
}

.island {
  position: absolute;
  top: 49%;
  height: 80px;
  background: #294f4a;
  border-radius: 70% 40% 0 0;
  filter: blur(0.3px);
}

.island-a {
  left: -3%;
  width: 46%;
  transform: skewX(-18deg);
}

.island-b {
  right: -8%;
  width: 37%;
  height: 58px;
}

.water-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(231, 210, 176, 0.5);
}

.line-a { top: 66%; }
.line-b { top: 74%; transform: translateX(12%); }
.line-c { top: 84%; transform: translateX(-18%); }

.card-index {
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.32);
}

.card-index strong {
  font: 400 84px/0.8 var(--serif);
  letter-spacing: -0.08em;
}

.card-copy {
  align-self: end;
  padding: 48px 52px;
}

.card-copy > p {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.15em;
}

.card-copy h3 {
  margin: 0 0 32px;
  font: 400 clamp(55px, 7vw, 92px)/0.95 var(--serif);
  letter-spacing: -0.065em;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.open-label b {
  display: inline-block;
  margin-left: 8px;
  font-size: 17px;
  transition: transform 300ms ease;
}

.feature-card:hover .card-sky {
  transform: scale(1.035);
}

.feature-card:hover .memory-sky {
  transform: scale(1.035);
}

.feature-card:hover .open-label b {
  transform: translate(4px, -4px);
}

.shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 78px 0 145px;
}

.shelf div {
  min-height: 160px;
  padding: 22px 25px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.shelf div:last-child {
  border-right: 0;
}

.shelf span {
  color: var(--oxide);
  font: 12px var(--serif);
}

.shelf p {
  margin: 72px 0 0;
  font: 21px var(--serif);
}

footer {
  min-height: 120px;
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
}

footer p:last-child {
  font-variant-numeric: tabular-nums;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: arrive 900ms cubic-bezier(0.2, 0.7, 0.25, 1) forwards;
}

.delay-1 { animation-delay: 130ms; }
.delay-2 { animation-delay: 260ms; }

@keyframes arrive {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .masthead,
  main,
  footer {
    width: min(100% - 30px, 1180px);
  }

  .masthead {
    height: 82px;
  }

  .issue {
    max-width: 140px;
    text-align: right;
    line-height: 1.5;
  }

  .hero {
    min-height: 610px;
    display: block;
    padding: 78px 0 42px;
  }

  .eyebrow {
    writing-mode: initial;
    margin-bottom: 58px;
  }

  .hero h1 {
    font-size: clamp(58px, 18vw, 88px);
  }

  .hero-foot {
    margin-top: 74px;
  }

  .hero-foot p {
    width: 82%;
  }

  .scroll-cue {
    display: none;
  }

  .collection {
    padding-top: 74px;
  }

  .section-heading {
    grid-template-columns: 1fr auto;
  }

  .section-heading h2 {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 14px;
  }

  .feature-card {
    min-height: 610px;
    display: block;
  }

  .collection-grid {
    gap: 18px;
  }

  .memoir-card .card-copy h3 {
    max-width: 9em;
    font-size: clamp(46px, 13vw, 58px);
  }

  .card-index {
    height: 180px;
    padding: 26px;
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  }

  .card-index strong {
    align-self: end;
    font-size: 64px;
  }

  .card-copy {
    position: absolute;
    inset: auto 0 0;
    padding: 38px 26px;
  }

  .card-copy h3 {
    font-size: 58px;
  }

  .card-meta {
    align-items: end;
  }

  .card-meta span:first-child {
    max-width: 130px;
    line-height: 1.6;
  }

  .shelf {
    grid-template-columns: 1fr;
    padding-bottom: 92px;
  }

  .shelf div {
    min-height: 112px;
    border-right: 0;
  }

  .shelf p {
    margin-top: 38px;
  }

  footer {
    min-height: 150px;
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  footer p:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

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