@font-face {
  font-family: "AIRE Sans";
  src: url("/fonts/NeueHaasGroteskText-Regular.otf") format("opentype");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "AIRE Sans";
  src: url("/fonts/NeueHaasGroteskText-Medium.otf") format("opentype");
  font-display: swap;
  font-weight: 500;
}

@font-face {
  font-family: "AIRE Sans";
  src: url("/fonts/NeueHaasGroteskText-Bold.otf") format("opentype");
  font-display: swap;
  font-weight: 700;
}

@font-face {
  font-family: "AIRE Serif";
  src: url("/fonts/Signifier-Regular.otf") format("opentype");
  font-display: swap;
}

:root {
  --ink: #171412;
  --muted: rgba(23, 20, 18, 0.62);
  --hairline: rgba(23, 20, 18, 0.12);
  --paper: #f8f4ec;
  --blue: #253e9f;
  --teal: #4f8e98;
  --warm: #af7b48;
  --edge: clamp(1.2rem, 4vw, 4.5rem);
  color: var(--ink);
  font-family: "AIRE Sans", "Neue Haas Grotesk", "Helvetica Neue", Inter, ui-sans-serif, system-ui, sans-serif;
}

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

html {
  min-height: 100%;
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.74), transparent 22rem),
    radial-gradient(circle at 82% 18%, rgba(79, 142, 152, 0.08), transparent 24rem),
    linear-gradient(180deg, #fbf8f1 0%, #f2ebdf 100%);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(23, 20, 18, 0.12) 0 0.5px, transparent 0.8px),
    linear-gradient(90deg, rgba(23, 20, 18, 0.035) 0 1px, transparent 1px 9px);
  background-size: 4px 4px, 9px 9px;
  mix-blend-mode: multiply;
  opacity: 0.18;
}

a {
  color: inherit;
}

.v3-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(4.6rem, 8vh, 6rem);
  padding: 0 var(--edge);
  pointer-events: none;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.v3-brand,
.v3-nav {
  pointer-events: auto;
}

.v3-brand-logo {
  display: block;
  width: clamp(4.9rem, 8vw, 7.2rem);
  height: auto;
}

.v3-nav {
  position: relative;
  display: flex;
  align-items: center;
  width: max-content;
  min-height: clamp(2.82rem, 4.3vw, 3.18rem);
  padding: 0.18rem;
  border: 1px solid transparent;
  border-radius: clamp(1.02rem, 1.55vw, 1.36rem);
  background: transparent;
  box-shadow: none;
}

.v3-nav a {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 4.7rem;
  min-height: 2.75rem;
  place-items: center;
  padding: 0 0.9rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.v3-nav a + a::after {
  content: "";
  position: absolute;
  top: 0.72rem;
  bottom: 0.72rem;
  left: -0.02rem;
  width: 1px;
  background: rgba(23, 20, 18, 0.12);
}

.issue-shell {
  width: min(86rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(7rem, 12vh, 9rem) 0 clamp(3rem, 7vw, 6rem);
}

.issue-kicker,
.article-kicker,
.card-kicker,
.meta-line {
  color: rgba(37, 62, 159, 0.68);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.issue-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(20rem, 1.14fr);
  gap: clamp(1.4rem, 4vw, 4.4rem);
  align-items: end;
  padding-bottom: clamp(1.3rem, 4vw, 3rem);
  border-bottom: 1px solid var(--hairline);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "AIRE Serif", Signifier, Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

.issue-hero h1,
.article-header h1 {
  margin-top: 0.7rem;
  font-size: clamp(2.35rem, 5.2vw, 5.6rem);
  line-height: 0.98;
  text-wrap: balance;
}

.issue-dek,
.article-dek {
  max-width: 42rem;
  margin: 0;
  color: rgba(23, 20, 18, 0.68);
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
  line-height: 1.48;
  text-wrap: pretty;
}

.issue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid var(--hairline);
  background: var(--hairline);
}

.research-card {
  position: relative;
  display: grid;
  min-height: 30rem;
  overflow: hidden;
  background: #fffaf2;
  color: var(--ink);
  text-decoration: none;
}

.research-card__media {
  position: relative;
  min-height: 15.4rem;
  background-image: var(--image);
  background-position: var(--image-position, center);
  background-size: cover;
}

.research-card__media::after,
.article-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(23, 20, 18, 0.25) 0 0.45px, transparent 0.9px),
    radial-gradient(circle, rgba(37, 62, 159, 0.18) 0 0.38px, transparent 0.8px);
  background-size: 3.4px 3.2px, 4.8px 4.2px;
  mix-blend-mode: multiply;
  opacity: 0.12;
}

.research-card__body {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border-top: 1px solid rgba(23, 20, 18, 0.1);
}

.research-card h2 {
  max-width: 10em;
  font-size: clamp(1.35rem, 1.85vw, 1.78rem);
  line-height: 1.1;
}

.research-card p {
  max-width: 30rem;
  margin: 0;
  color: rgba(23, 20, 18, 0.66);
  font-size: 0.94rem;
  line-height: 1.48;
}

.research-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(23, 20, 18, 0.1);
  color: rgba(23, 20, 18, 0.52);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-shell {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(7rem, 12vh, 9rem) 0 clamp(3rem, 7vw, 6rem);
}

.article-header {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 1.08fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.article-hero__image {
  position: relative;
  min-height: clamp(18rem, 38vw, 30rem);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background-image: var(--image);
  background-position: var(--image-position, center);
  background-size: cover;
}

.article-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1rem;
  border: 1px solid var(--hairline);
  background: var(--hairline);
}

.article-meta span {
  display: grid;
  gap: 0.28rem;
  padding: 0.75rem 0.8rem;
  background: rgba(255, 250, 242, 0.72);
  color: rgba(23, 20, 18, 0.58);
  font-size: 0.72rem;
  line-height: 1.25;
}

.article-meta strong {
  color: var(--ink);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-body {
  display: grid;
  grid-template-columns: minmax(10rem, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  border-top: 1px solid var(--hairline);
  padding-top: clamp(1.5rem, 4vw, 3rem);
}

.article-body aside {
  position: sticky;
  top: 7rem;
  align-self: start;
  color: rgba(23, 20, 18, 0.56);
  font-size: 0.8rem;
  line-height: 1.5;
}

.article-body aside strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.essay {
  max-width: 46rem;
}

.essay p {
  margin: 0 0 1.15rem;
  color: rgba(23, 20, 18, 0.75);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.72;
}

.essay h2 {
  margin: 2rem 0 0.7rem;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  line-height: 1.12;
}

.pull {
  margin: 2rem 0;
  padding: 1.1rem 0 1.1rem 1.2rem;
  border-left: 3px solid var(--blue);
  color: rgba(23, 20, 18, 0.86);
  font-family: "AIRE Serif", Signifier, Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.06;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--hairline);
  padding-top: 1rem;
}

.article-nav a,
.back-link {
  color: rgba(23, 20, 18, 0.7);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.v3-footer {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.9fr) minmax(14rem, 1.35fr) minmax(20rem, 1.8fr);
  column-gap: 1.5rem;
  row-gap: 0.36rem;
  align-items: center;
  margin-top: 3rem;
  padding: 2rem var(--edge) 2.5rem;
  border-top: 1px solid rgba(23, 20, 18, 0.08);
  color: var(--ink);
  font-size: 0.9rem;
}

.v3-footer__brand {
  grid-column: 1;
  grid-row: 1;
  width: fit-content;
}

.v3-footer__logo {
  display: block;
  width: clamp(6.9rem, 10vw, 9.3rem);
  height: auto;
}

.v3-footer__copyright {
  grid-column: 1 / span 2;
  grid-row: 2;
  margin: -0.3rem 0 0;
  color: rgba(23, 20, 18, 0.5);
  font-size: clamp(0.62rem, 0.76vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.24;
  white-space: nowrap;
}

.v3-footer__links {
  display: grid;
  grid-column: 3;
  grid-row: 1 / span 2;
  grid-template-columns: repeat(3, minmax(6.8rem, 1fr));
  align-items: start;
  justify-self: end;
  gap: clamp(1.1rem, 3vw, 2.8rem);
  width: min(100%, 34rem);
}

.v3-footer__group {
  display: grid;
  gap: 0.42rem;
}

.v3-footer__group-label {
  margin: 0;
  color: rgba(23, 20, 18, 0.52);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.v3-footer__links ul {
  display: grid;
  gap: 0.34rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v3-footer__links a {
  position: relative;
  display: inline-grid;
  width: fit-content;
  color: var(--ink);
  font-size: clamp(0.72rem, 0.88vw, 0.84rem);
  font-weight: 600;
  line-height: 1.12;
  text-decoration: none;
}

.v3-footer__links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.12rem;
  left: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.48);
  transform-origin: 0 50%;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.v3-footer__links a:hover::after,
.v3-footer__links a:focus-visible::after {
  opacity: 0.5;
  transform: scaleX(1);
}

@media (max-width: 900px) {
  .issue-hero,
  .article-header,
  .article-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .issue-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .research-card {
    min-height: 0;
  }

  .article-body aside {
    position: static;
  }

  .v3-footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .v3-footer__brand,
  .v3-footer__copyright {
    grid-column: auto;
    grid-row: auto;
  }

  .v3-footer__copyright {
    margin-top: -0.95rem;
    white-space: normal;
  }

  .v3-footer__links {
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
  }
}

@media (max-width: 560px) {
  .issue-shell,
  .article-shell {
    width: min(100% - 1rem, 72rem);
  }

  .v3-header {
    padding: 0 0.85rem;
  }

  .v3-nav a {
    min-width: 4.1rem;
    padding: 0 0.65rem;
  }

  .issue-hero h1,
  .article-header h1 {
    font-size: clamp(2.1rem, 10.5vw, 3rem);
    line-height: 1;
  }

  .article-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .v3-footer__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .v3-footer__group-label {
    font-size: 0.46rem;
  }

  .v3-footer__links ul {
    gap: 0.22rem;
  }

  .v3-footer__links a {
    font-size: clamp(0.54rem, 3vw, 0.64rem);
    text-wrap: balance;
  }
}
