:root {
  --ink: #060810;
  --ink-soft: #0b1020;
  --paper: #f3f2ee;
  --mist: #aeb5c7;
  --line: rgba(181, 195, 236, 0.17);
  --blue: #315cff;
  --blue-soft: #8ea6ff;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Century Gothic", "Futura", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(120deg, rgba(38, 62, 156, 0.08), transparent 38%),
    radial-gradient(circle at 82% 16%, rgba(45, 82, 255, 0.14), transparent 28%),
    var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button {
  color: inherit;
  font: inherit;
}

.ambient {
  border: 1px solid rgba(78, 111, 255, 0.15);
  height: 52vw;
  pointer-events: none;
  position: fixed;
  transform: rotate(-15deg);
  width: 15vw;
  z-index: 0;
}

.ambient--one {
  filter: blur(1px);
  left: -4vw;
  top: 18vh;
}

.ambient--two {
  bottom: -18vh;
  right: 3vw;
  transform: rotate(25deg);
}

.site-header {
  align-items: center;
  backdrop-filter: blur(24px);
  background: linear-gradient(180deg, rgba(6, 8, 16, 0.92), rgba(6, 8, 16, 0.58));
  border-bottom: 1px solid rgba(185, 197, 229, 0.1);
  display: flex;
  height: 78px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(20px, 4vw, 70px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 12;
}

.menu-trigger {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  font-size: 10px;
  gap: 13px;
  letter-spacing: 0.22em;
  padding: 12px 0;
  text-transform: uppercase;
}

.menu-trigger__icon {
  display: grid;
  gap: 4px;
  width: 22px;
}

.menu-trigger__icon i {
  background: rgba(244, 246, 255, 0.9);
  display: block;
  height: 1px;
  transition: transform 0.35s ease, width 0.35s ease;
  width: 100%;
}

.menu-trigger__icon i:nth-child(2) {
  width: 68%;
}

.menu-trigger:hover .menu-trigger__icon i:nth-child(2) {
  width: 100%;
}

.wordmark {
  align-items: center;
  display: flex;
  gap: 12px;
  text-decoration: none;
}

.wordmark__main {
  background: linear-gradient(100deg, #f3f5ff 0%, #a9b8ff 52%, #5b78ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.wordmark__media {
  border-left: 1px solid rgba(183, 196, 235, 0.32);
  color: #9da8c7;
  font-size: 7px;
  letter-spacing: 0.42em;
  padding-left: 12px;
}

.menu-scrim {
  background: rgba(1, 3, 9, 0.64);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.45s ease;
  z-index: 13;
}

.site-menu {
  background:
    linear-gradient(150deg, rgba(22, 29, 55, 0.94), rgba(7, 9, 17, 0.99) 52%),
    var(--ink);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  inset: 0 auto 0 0;
  max-width: 520px;
  padding: 30px clamp(26px, 4vw, 58px) 42px;
  position: fixed;
  transform: translate3d(-102%, 0, 0);
  transition: transform 0.62s cubic-bezier(0.76, 0, 0.24, 1);
  width: min(88vw, 520px);
  z-index: 14;
}

.site-menu__head {
  align-items: center;
  color: #8e98b5;
  display: flex;
  font-size: 9px;
  justify-content: space-between;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-menu__head button {
  background: transparent;
  border: 0;
  cursor: pointer;
  letter-spacing: 0.16em;
  padding: 10px 0 10px 20px;
  text-transform: uppercase;
}

.site-menu nav {
  display: grid;
  margin: auto 0;
}

.site-menu nav a {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-family: var(--serif);
  font-size: clamp(35px, 5vw, 62px);
  font-weight: 400;
  gap: 20px;
  line-height: 1;
  padding: 18px 0;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.4s ease;
}

.site-menu nav a span {
  color: #77819d;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.site-menu nav a:hover,
.site-menu nav a[aria-current="page"] {
  color: var(--blue-soft);
  padding-left: 10px;
}

.site-menu__note {
  color: #78829c;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  margin: 0;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .menu-scrim {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open .site-menu {
  transform: translate3d(0, 0, 0);
}

main {
  isolation: isolate;
  position: relative;
  z-index: 1;
}

.editorial-hero {
  display: grid;
  min-height: min(790px, 92vh);
  padding: 150px clamp(22px, 8vw, 130px) 90px;
  place-content: center start;
}

.back-link {
  align-items: center;
  color: #949db7;
  display: inline-flex;
  font-size: 9px;
  gap: 10px;
  letter-spacing: 0.18em;
  margin-bottom: clamp(62px, 9vh, 108px);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease, transform 0.3s ease;
  width: fit-content;
}

.back-link:hover,
.back-link:focus-visible {
  color: #ffffff;
  transform: translateX(-4px);
}

.eyebrow {
  color: var(--blue-soft);
  font-size: 9px;
  letter-spacing: 0.34em;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.editorial-hero h1 {
  font-family: var(--serif);
  font-size: clamp(58px, 8.8vw, 138px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.87;
  margin: 0;
  max-width: 1050px;
  text-wrap: balance;
}

.introduction {
  color: #aeb5c7;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.55;
  margin: clamp(42px, 7vh, 75px) 0 0 min(18vw, 260px);
  max-width: 780px;
}

.editorial-grid {
  border-top: 1px solid var(--line);
  margin: 0 clamp(22px, 5vw, 78px);
}

.editorial-card {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: clamp(30px, 8vw, 130px);
  grid-template-columns: 40px 1fr;
  padding: clamp(46px, 7vw, 94px) clamp(4px, 4vw, 64px);
}

.editorial-card__index {
  color: #6f7892;
  font-size: 9px;
  letter-spacing: 0.16em;
  padding-top: 10px;
}

.editorial-card h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0;
}

.editorial-card p {
  color: #9ba4bc;
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 400;
  line-height: 1.75;
  margin: 28px 0 0;
  max-width: 760px;
}

.editorial-cta {
  align-items: start;
  background:
    radial-gradient(circle at 76% 20%, rgba(50, 86, 255, 0.2), transparent 34%),
    #090c16;
  border: 1px solid var(--line);
  display: grid;
  margin: clamp(90px, 13vw, 190px) clamp(22px, 5vw, 78px);
  padding: clamp(50px, 8vw, 112px);
}

.editorial-cta p {
  color: var(--blue-soft);
  font-size: 9px;
  letter-spacing: 0.25em;
  margin: 0 0 45px;
  text-transform: uppercase;
}

.editorial-cta h2 {
  font-family: var(--serif);
  font-size: clamp(42px, 6.5vw, 96px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: 0;
  max-width: 1050px;
}

.editorial-cta a {
  border-bottom: 1px solid rgba(155, 174, 255, 0.62);
  font-size: 10px;
  letter-spacing: 0.17em;
  margin-top: 68px;
  padding: 10px 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 0.3s ease, color 0.3s ease;
  width: fit-content;
}

.editorial-cta a:hover,
.editorial-cta a:focus-visible {
  border-color: #ffffff;
  color: var(--blue-soft);
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: #79829a;
  display: flex;
  font-size: 9px;
  justify-content: space-between;
  letter-spacing: 0.15em;
  margin: 0 clamp(22px, 5vw, 78px);
  padding: 38px 0 50px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

footer a {
  text-decoration: none;
  transition: color 0.25s ease;
}

footer a:hover,
footer a:focus-visible {
  color: #ffffff;
}

:focus-visible {
  outline: 1px solid var(--blue-soft);
  outline-offset: 5px;
}

@media (max-width: 720px) {
  .site-header {
    height: 68px;
    padding: 0 18px;
  }

  .menu-trigger > span:last-child {
    display: none;
  }

  .site-menu {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    height: min(690px, 92vh);
    inset: 0 0 auto;
    max-width: none;
    padding: 24px 24px 34px;
    transform: translate3d(0, -102%, 0);
    width: 100%;
  }

  .site-menu nav {
    margin: 50px 0 auto;
    text-align: center;
  }

  .site-menu nav a {
    font-size: clamp(34px, 11vw, 52px);
    justify-content: center;
    padding: 14px 0;
  }

  .site-menu nav a:hover,
  .site-menu nav a[aria-current="page"] {
    padding-left: 0;
  }

  .site-menu__note {
    text-align: center;
  }

  .editorial-hero {
    min-height: auto;
    padding: 118px 22px 86px;
  }

  .back-link {
    margin-bottom: 74px;
  }

  .editorial-hero h1 {
    font-size: clamp(52px, 16vw, 78px);
    line-height: 0.92;
  }

  .introduction {
    font-size: 18px;
    margin: 42px 0 0;
  }

  .editorial-card {
    gap: 20px;
    grid-template-columns: 26px 1fr;
    padding: 44px 2px;
  }

  .editorial-card h2 {
    font-size: 38px;
  }

  .editorial-card p {
    font-size: 14px;
    margin-top: 20px;
  }

  .editorial-cta {
    margin-bottom: 90px;
    margin-top: 90px;
    padding: 44px 26px;
  }

  .editorial-cta h2 {
    font-size: 44px;
  }

  .editorial-cta a {
    margin-top: 48px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
