@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Montserrat", Arial, sans-serif;
  --paper: #090a08;
  --ink: #f1ecdc;
  --muted: #aaa38f;
  --gold: #bda052;
  --line: rgba(189, 160, 82, 0.38);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 10, 8, 0.98) 0%, rgba(9, 10, 8, 0.89) 43%, rgba(9, 10, 8, 0.48) 100%),
    url("/assets/wall-street-district.webp") center / cover no-repeat;
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 18%),
    repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(189, 160, 82, 0.07) 25%);
  content: "";
}

.page-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100% - 40px, 1460px);
  min-height: 100dvh;
  margin: 0 auto;
  border-inline: 1px solid var(--line);
}

.masthead,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(24px, 4vw, 72px);
}

.masthead {
  min-height: 112px;
  border-bottom: 1px solid var(--line);
  animation: reveal 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.wordmark {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  text-decoration: none;
  text-transform: uppercase;
}

.edition,
.footer p,
.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.5fr);
  align-items: end;
  min-height: 620px;
  padding: clamp(72px, 12vh, 160px) clamp(24px, 4vw, 72px) clamp(64px, 10vh, 120px);
}

.hero-copy {
  max-width: 830px;
  animation: reveal 950ms 120ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--gold);
}

h1 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.dek {
  max-width: 680px;
  margin: 42px 0 0;
  color: #c9c2ae;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 430;
  line-height: 1.65;
}

.issue-mark {
  justify-self: end;
  align-self: start;
  display: grid;
  gap: 8px;
  min-width: 150px;
  padding-top: 18px;
  border-top: 1px solid var(--gold);
  color: var(--gold);
  animation: reveal 950ms 240ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.issue-mark span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.issue-mark strong {
  color: var(--ink);
  font-size: 3.5rem;
  font-weight: 350;
  letter-spacing: -0.07em;
}

.footer {
  min-height: 76px;
  border-top: 1px solid var(--line);
}

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

@media (max-width: 720px) {
  .page-shell {
    width: calc(100% - 20px);
  }

  .masthead {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 104px;
  }

  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    min-height: 620px;
    padding-block: 72px;
  }

  .issue-mark {
    display: none;
  }

  h1 {
    font-size: clamp(3.8rem, 21vw, 6rem);
  }

  .dek {
    margin-top: 32px;
  }
}

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