@import './nav.css';
@import './editorial-custom.css?v=20260713-3';

:root {
  color-scheme: light;
  --paper: #ffffff;
  --paper-soft: #fbf8f2;
  --ink: #17130e;
  --ink-soft: rgba(23, 19, 14, 0.7);
  --ink-muted: rgba(23, 19, 14, 0.52);
  --rule: rgba(23, 19, 14, 0.12);
  --rule-strong: rgba(23, 19, 14, 0.18);
  --accent: #2b6060;
  font-family: 'Aktiv Grotesk', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  min-height: 100%;
  max-width: 100%;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body.page-editorial-article {
  background: #ffffff;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  overscroll-behavior-y: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
figure,
blockquote {
  margin: 0;
}

.editorial-page {
  min-height: 100svh;
  padding: 0 1.5rem 5rem;
}

.editorial-page--article {
  padding-bottom: 0;
  overflow-x: hidden;
}

.editorial-page--article .site-header {
  position: sticky;
  top: 0;
  justify-content: center;
  width: min(100%, 40rem);
  margin-inline: auto;
  padding: 1.2rem 0 0;
  z-index: 40;
}

.editorial-page--article .site-nav {
  box-shadow: none;
}

.editorial-kicker,
.editorial-featured__category,
.editorial-sidebar__category,
.editorial-archive__meta,
.article-related__category {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--accent);
}

.editorial-hero,
.article-shell {
  width: min(100%, 76rem);
  margin-inline: auto;
}

.editorial-hero--index {
  padding: 4.3rem 0 2.6rem;
  display: grid;
  gap: 3rem;
}

.editorial-directory__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.editorial-directory__arrows {
  display: inline-flex;
  gap: 0.45rem;
}

.editorial-directory__arrow {
  appearance: none;
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: rgba(23, 19, 14, 0.86);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.editorial-directory__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.editorial-directory__item,
.editorial-spotlight {
  display: grid;
  color: inherit;
}

.editorial-directory__item > img,
.article-media img,
.editorial-spotlight > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #e5ddd0;
}

.editorial-directory__item > img {
  aspect-ratio: 1 / 1;
}

.editorial-directory__copy {
  display: grid;
  gap: 0.3rem;
  padding-top: 0.68rem;
}

.editorial-directory__category {
  font-size: 0.76rem;
  font-weight: 700;
  color: #b25641;
}

.editorial-directory__item h2,
.editorial-spotlight h1,
.article-header h1,
.article-related__item h2 {
  font-family: 'GT Super', serif;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.editorial-directory__item h2 {
  font-size: clamp(1.16rem, 1.48vw, 1.62rem);
  line-height: 1;
  color: rgba(23, 19, 14, 0.82);
}

.editorial-directory__item p {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.editorial-directory__item span {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.editorial-byline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.editorial-byline img {
  width: 0.84rem;
  height: 0.84rem;
  display: block;
  object-fit: contain;
  aspect-ratio: auto;
  background: transparent;
}

.editorial-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.editorial-spotlight img {
  aspect-ratio: 1 / 1.08;
}

.editorial-spotlight__copy {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.8rem;
  max-width: 28rem;
  margin-inline: auto;
}

.editorial-spotlight h1 {
  font-size: clamp(2.15rem, 3.7vw, 3.7rem);
  line-height: 0.94;
  color: rgba(23, 19, 14, 0.84);
}

.editorial-spotlight__copy p:not(.editorial-kicker) {
  font-size: 0.96rem;
  line-height: 1.52;
  color: var(--ink-soft);
}

.editorial-spotlight__copy span {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(23, 19, 14, 0.86);
}

.article-shell {
  padding: 4.65rem 0 3rem;
}

.editorial-page--article .article-shell {
  width: min(100%, 40rem);
  display: grid;
  justify-items: center;
}

.article-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.8rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(23, 19, 14, 0.08);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(23, 19, 14, 0.58);
  justify-self: center;
}

.article-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  justify-items: center;
  width: 100%;
}

.article-header {
  display: grid;
  gap: 1.45rem;
  width: min(100%, 40rem);
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.article-header h1 {
  font-family: 'Aktiv Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.058em;
  font-size: clamp(3.7rem, 6vw, 5.4rem);
  line-height: 0.94;
  color: rgba(23, 19, 14, 0.9);
  max-width: 16ch;
  margin-inline: auto;
}

.article-header__dek {
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

.article-header__meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(23, 19, 14, 0.54);
  text-align: center;
}

.article-header__byline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.article-header__byline img {
  width: 1rem;
  height: 1rem;
  display: block;
  object-fit: contain;
}

.article-layout {
  margin-top: 3rem;
}

.article-body {
  max-width: 38rem;
  margin-inline: auto;
  display: grid;
  gap: 1.9rem;
}

.article-body p,
.article-body blockquote {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.26rem;
  line-height: 1.76;
  letter-spacing: -0.01em;
}

.article-body p {
  color: rgba(23, 19, 14, 0.92);
}

.article-summary {
  font-family: 'Aktiv Grotesk', sans-serif !important;
  font-size: 1.04rem !important;
  line-height: 1.68 !important;
  color: var(--ink-soft) !important;
}

.article-summary strong {
  color: rgba(23, 19, 14, 0.9);
}

.article-body__heading,
.article-body__subheading {
  font-family: 'Aktiv Grotesk', sans-serif;
  color: rgba(23, 19, 14, 0.9);
  letter-spacing: -0.03em;
}

.article-body__heading {
  font-size: 1.42rem;
  line-height: 1.08;
  margin-top: 0.6rem;
}

.article-body__heading--large {
  font-size: 1.72rem;
}

.article-body__subheading {
  font-size: 1.02rem;
  line-height: 1.2;
}

.article-body__quote {
  padding-left: 1.2rem;
  border-left: 1px solid rgba(23, 19, 14, 0.18);
  color: rgba(23, 19, 14, 0.74);
}

.article-body__list-item {
  font-family: 'Aktiv Grotesk', sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.72 !important;
  color: rgba(23, 19, 14, 0.9) !important;
}

.article-body__image {
  display: grid;
  gap: 0.55rem;
  margin: 0.2rem 0;
}

.article-body__image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  background: #e5ddd0;
  object-fit: cover;
}

.article-body__image figcaption {
  font-family: 'Aktiv Grotesk', sans-serif;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.article-author-note {
  max-width: 38rem;
  margin: 2.9rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.article-author-note__avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d7d3ca;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
}

.article-author-note p {
  font-size: 0.98rem;
  line-height: 1.42;
  color: rgba(23, 19, 14, 0.88);
}

.article-actions {
  max-width: 38rem;
  margin: 1.3rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.article-actions button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.55rem 0.2rem;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(23, 19, 14, 0.8);
  cursor: pointer;
}

.editorial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: calc(100% + 3rem);
  margin: 2.6rem -1.5rem -5rem;
  padding: 1.35rem 1.5rem 1.45rem;
  background: #121212;
  color: #f3d12f;
}

.editorial-footer p,
.editorial-footer nav,
.editorial-footer a {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.editorial-footer nav {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 1080px) {
  .editorial-directory__track,
  .editorial-spotlight,
  .article-stage {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html,
  body.page-editorial-article {
    overflow-x: hidden;
  }

  .editorial-page {
    padding: 0 0.95rem 3.4rem;
  }

  .editorial-page--article .site-header {
    width: min(100%, 36rem);
    justify-content: center;
    padding-top: 0.9rem;
  }

  .editorial-page--article,
  .editorial-page--article .site-header,
  .editorial-page--article .article-shell,
  .editorial-page--article .article-stage,
  .editorial-page--article .article-media,
  .editorial-page--article .article-layout,
  .editorial-page--article .article-body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .editorial-hero--index,
  .article-shell {
    padding-top: 2.85rem;
  }

  .editorial-page--article .article-shell {
    width: min(100%, 36rem);
  }

  .editorial-hero--index {
    gap: 1.85rem;
  }

  .article-header h1 {
    max-width: none;
    font-size: clamp(2.7rem, 9.6vw, 3.4rem);
    line-height: 0.96;
  }

  .editorial-directory__head {
    margin-bottom: 0.55rem;
    align-items: center;
  }

  .editorial-directory__arrows {
    display: none;
  }

  .editorial-directory__track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    overflow: visible;
    padding: 0;
  }

  .editorial-directory__item > img {
    aspect-ratio: 1 / 0.9;
  }

  .editorial-directory__copy {
    gap: 0.28rem;
    padding-top: 0.48rem;
  }

  .editorial-directory__item h2 {
    font-size: clamp(1.18rem, 5.4vw, 1.5rem);
    line-height: 1.06;
  }

  .editorial-directory__item p {
    font-size: 0.84rem;
    line-height: 1.34;
  }

  .editorial-directory__item span {
    font-size: 0.76rem;
  }

  .editorial-byline {
    gap: 0.35rem;
  }

  .editorial-byline img {
    width: 0.76rem;
    height: 0.76rem;
  }

  .editorial-spotlight {
    gap: 0.9rem;
    margin-top: 0.1rem;
  }

  .editorial-spotlight__copy {
    justify-items: start;
    text-align: left;
    margin-inline: 0;
    gap: 0.55rem;
    max-width: none;
    order: 2;
  }

  .editorial-spotlight img {
    order: 1;
    aspect-ratio: 1 / 0.9;
  }

  .editorial-spotlight h1 {
    font-size: clamp(1.72rem, 8vw, 2.35rem);
    line-height: 1;
  }

  .editorial-spotlight__copy p:not(.editorial-kicker) {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .editorial-spotlight__copy span {
    font-size: 0.76rem;
  }

  .article-back {
    margin-bottom: 1.45rem;
    padding: 0.48rem 0.8rem;
    font-size: 0.62rem;
  }

  .article-stage {
    gap: 0;
  }

  .article-header {
    gap: 1rem;
  }

  .article-header__meta {
    gap: 0.24rem 0.8rem;
    margin-top: 0.18rem;
    font-size: 0.76rem;
  }

  .article-header__byline {
    gap: 0.38rem;
  }

  .article-header__byline img {
    width: 0.88rem;
    height: 0.88rem;
  }

  .article-header__dek {
    font-size: 0.96rem;
    line-height: 1.54;
  }

  .article-layout {
    margin-top: 2.05rem;
  }

  .article-body {
    gap: 1.45rem;
  }

  .article-body p {
    font-size: 1.08rem;
    line-height: 1.7;
    letter-spacing: -0.008em;
  }

  .article-summary {
    font-size: 1rem !important;
    line-height: 1.66 !important;
  }

  .article-body__heading {
    font-size: 1.18rem;
  }

  .article-body__heading--large {
    font-size: 1.3rem;
  }

  .article-body__subheading {
    font-size: 0.96rem;
  }

  .article-body__list-item {
    font-size: 0.9rem !important;
    line-height: 1.62 !important;
  }

  .article-author-note {
    margin-top: 1.75rem;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .article-author-note__avatar {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.9rem;
  }

  .article-author-note p {
    font-size: 0.84rem;
    line-height: 1.38;
  }

  .article-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .article-actions button {
    font-size: 0.68rem;
    padding: 0.45rem 0.1rem;
  }

  .editorial-footer {
    width: calc(100% + 2rem);
    margin: 2.6rem -1rem -4rem;
    padding: 1.2rem 1rem 1.35rem;
    flex-direction: column;
    align-items: flex-start;
  }
}
