:root {
  --paper: #f5f2eb;
  --navy: #0f2234;
  --accent: #a86f42;
  --white: #fff;
  --text-muted: rgba(245, 242, 235, 0.78);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { min-width: 320px; background: var(--navy); }

body {
  margin: 0;
  color: var(--paper);
  font-family: Inter, "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.cover {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--navy);
}

.cover__picture,
.cover__picture img,
.cover__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cover__picture { z-index: -3; }

.cover__picture img {
  display: block;
  object-fit: cover;
  object-position: 58% 48%;
  animation: image-reveal 1.6s cubic-bezier(.2,.65,.25,1) both;
}

.cover__veil {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 19, 29, .86) 0%, rgba(9, 21, 32, .68) 30%, rgba(9, 21, 32, .18) 62%, rgba(9, 21, 32, .03) 100%),
    linear-gradient(0deg, rgba(6, 15, 23, .35) 0%, transparent 35%, rgba(6, 15, 23, .08) 100%);
}

.story {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(610px, 48vw);
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(44px, 7vh, 86px) 0 clamp(54px, 7vh, 84px) clamp(32px, 7vw, 128px);
  animation: copy-reveal 1s .18s cubic-bezier(.2,.65,.25,1) both;
}

.eyebrow {
  margin: 0 0 20px;
  color: #d2a07b;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .23em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 6.5vw, 112px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .88;
  text-wrap: balance;
}

.signature {
  margin: 28px 0 0;
  color: rgba(245, 242, 235, .92);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.5vw, 23px);
  font-style: italic;
  line-height: 1.5;
}

.story__body {
  max-width: 510px;
  margin-top: clamp(42px, 6vh, 72px);
  color: var(--text-muted);
  font-size: clamp(14px, 1.02vw, 16px);
  line-height: 1.75;
}

.story__body p { margin: 0; }
.story__body p + p { margin-top: 16px; }

.story__footer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: clamp(38px, 5vh, 62px);
}

.story__footer span {
  width: 54px;
  height: 1px;
  background: var(--accent);
}

.story__footer p,
.credit {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .19em;
  line-height: 1.5;
  text-transform: uppercase;
}

.story__footer p { color: rgba(245, 242, 235, .88); }

.credit {
  position: absolute;
  right: clamp(22px, 3vw, 52px);
  bottom: clamp(20px, 3vh, 34px);
  color: rgba(255, 255, 255, .55);
  letter-spacing: .12em;
}

@keyframes image-reveal {
  from { opacity: .5; transform: scale(1.018); }
  to { opacity: 1; transform: scale(1); }
}

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

@media (max-width: 900px) {
  .cover__picture img { object-position: 62% 50%; }

  .cover__veil {
    background:
      linear-gradient(90deg, rgba(7, 17, 26, .84) 0%, rgba(8, 19, 29, .56) 64%, rgba(8, 19, 29, .1) 100%),
      linear-gradient(0deg, rgba(6, 15, 23, .48) 0%, transparent 46%);
  }

  .story {
    width: min(580px, 76vw);
    padding-left: clamp(28px, 8vw, 72px);
  }
}

@media (max-width: 600px) {
  .cover__picture img { object-position: 68% center; }

  .cover__veil {
    background:
      linear-gradient(90deg, rgba(7, 17, 26, .8), rgba(8, 19, 29, .3)),
      linear-gradient(0deg, rgba(6, 15, 23, .67) 0%, rgba(6, 15, 23, .16) 60%, rgba(6, 15, 23, .2) 100%);
  }

  .story {
    justify-content: flex-end;
    width: 100%;
    padding: 72px 26px 72px;
  }

  .eyebrow { margin-bottom: 14px; font-size: 9px; }
  h1 { font-size: clamp(54px, 17vw, 76px); line-height: .92; }
  .signature { margin-top: 20px; font-size: 17px; }
  .story__body { max-width: 460px; margin-top: 32px; font-size: 13.5px; line-height: 1.65; }
  .story__body p + p { margin-top: 12px; }
  .story__footer { margin-top: 30px; }
  .story__footer span { width: 38px; }
  .story__footer p { font-size: 9px; }
  .credit { display: none; }
  .desktop-only { display: none; }
}

@media (max-height: 720px) and (min-width: 601px) {
  .story { padding-top: 34px; padding-bottom: 34px; }
  h1 { font-size: clamp(54px, 8.6vh, 74px); }
  .signature { margin-top: 20px; }
  .story__body { margin-top: 30px; line-height: 1.6; }
  .story__footer { margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .cover__picture img,
  .story { animation: none; }
}
