.article-page {
  color: #4c2634;
  background: #f3eadc;
}

.article-main {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 0 0 clamp(5rem, 10vw, 8rem);
}

.article-template {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  min-height: calc(100svh - var(--fixed-header-height));
  padding: clamp(1.5rem, 3vh, 2.5rem) 0;
  box-sizing: border-box;
}

.article-hero__copy {
  min-width: 0;
}

.article-back-link,
.article-waitlist-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #7f2033;
  font-family: Inter, sans-serif;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.article-hero__copy > .article-back-link {
  min-height: 2.5rem;
  padding: .62rem 1rem;
  border: 1px solid rgba(127, 32, 51, .18);
  border-radius: 999px;
  background: rgba(255, 250, 242, .58);
  box-shadow: 0 .35rem 1rem rgba(76, 38, 52, .05);
}

.article-breadcrumbs {
  max-width: 100%;
  margin-bottom: 1rem;
  color: #76535e;
  font-family: Inter, sans-serif;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.2;
}

.article-breadcrumbs ol {
  display: grid;
  grid-template-columns: max-content max-content max-content minmax(0, 1fr);
  align-items: center;
  width: 100%;
  margin: 0;
  padding: .62rem .75rem;
  overflow: hidden;
  border: 1px solid rgba(127, 32, 51, .12);
  border-radius: .85rem;
  background: rgba(255, 250, 242, .42);
  list-style: none;
}

.article-breadcrumbs li {
  min-width: 0;
  white-space: nowrap;
}

.article-breadcrumbs li + li::before {
  margin: 0 .55rem;
  color: #b4959f;
  content: "›";
}

.article-breadcrumbs a {
  color: #7f2033;
  text-decoration: none;
  transition: color 180ms ease;
}

.article-breadcrumbs a:hover,
.article-breadcrumbs a:focus-visible {
  color: #4c2634;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.article-breadcrumbs li[aria-current="page"] {
  overflow: hidden;
  color: #76535e;
  text-overflow: ellipsis;
}

.article-back-link:hover,
.article-back-link:focus-visible,
.article-waitlist-link:hover,
.article-waitlist-link:focus-visible {
  color: #4c2634;
  transform: translateX(-.16rem);
}

.article-hero__copy > .article-back-link:hover,
.article-hero__copy > .article-back-link:focus-visible {
  border-color: rgba(127, 32, 51, .32);
  background: rgba(255, 250, 242, .9);
}

.article-header {
  max-width: 38rem;
  margin-top: clamp(1.5rem, 4vh, 3rem);
}

.article-kicker,
.article-byline {
  margin: 0;
  color: #7f2033;
  font-family: Inter, sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.article-header h1 {
  margin: 1rem 0 0;
  color: #4c2634;
  font-family: "Fraunces", serif;
  font-size: clamp(2.75rem, 4.4vw, 4.9rem);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .96;
}

.article-subtitle {
  max-width: 600px;
  margin: 1.5rem 0 0;
  color: #684653;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.6;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .15rem .4rem;
  margin-top: 2rem;
  color: #76535e;
  letter-spacing: .06em;
  text-transform: none;
}

.article-byline > span {
  white-space: nowrap;
}

.article-hero-image {
  align-self: stretch;
  height: clamp(25rem, 64vh, 42rem);
  margin: 0;
  overflow: hidden;
  border-radius: 2rem;
  background: #dfc6c1;
}

.article-hero-image img,
.article-inline-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.article-hero-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.article-toc,
.article-content,
.article-disclaimer,
.article-footer-actions {
  width: min(100%, 650px);
  margin-right: auto;
  margin-left: auto;
}

.article-disclaimer {
  margin-top: .85rem;
  margin-bottom: 0;
  color: #76535e;
  font-family: Inter, sans-serif;
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.55;
}

.related-articles {
  width: min(100%, 900px);
  margin: clamp(4rem, 8vw, 7rem) auto 0;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(76, 38, 52, .2);
}

.related-articles > p {
  margin: 0;
  color: #7f2033;
  font-family: Inter, sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.related-articles > h2 {
  margin: .75rem 0 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}

.related-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.related-article {
  display: flex;
  min-height: 13rem;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: 1.4rem;
  background: rgba(255, 245, 231, .72);
  color: #4c2634;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.related-article:hover,
.related-article:focus-visible {
  background: #fff5e7;
  transform: translateY(-.2rem);
}

.related-article__category {
  color: #7f2033;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.related-article h3 {
  margin: .85rem 0 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.related-article__time {
  margin-top: auto;
  padding-top: 1.2rem;
  color: #76535e;
  font-size: .72rem;
}

.article-toc {
  margin-top: clamp(3rem, 7vw, 5rem);
  padding: 1.4rem 0;
  border-top: 1px solid rgba(76, 38, 52, .2);
  border-bottom: 1px solid rgba(76, 38, 52, .2);
}

.article-toc p {
  margin: 0;
  color: #7f2033;
  font-family: Inter, sans-serif;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.article-toc ol {
  display: grid;
  gap: .55rem;
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  list-style: none;
}

.article-toc a {
  color: #4c2634;
  font-size: .92rem;
  line-height: 1.45;
  text-underline-offset: .18em;
}

.article-content {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
}

.article-content > h2 {
  margin: clamp(3rem, 6vw, 4.5rem) 0 1.2rem;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid rgba(76, 38, 52, .2);
  color: #4c2634;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}

.article-content > p {
  margin: 0 0 1.2rem;
  color: #684653;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.75;
}

.article-content > h3 {
  margin: 2.3rem 0 1rem;
  color: #4c2634;
  font-family: "Fraunces", serif;
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.article-content > ul,
.article-content > ol {
  margin: 0 0 1.4rem;
  padding-left: 1.35rem;
  color: #684653;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.75;
}

.article-content li + li {
  margin-top: .35rem;
}

.article-content a {
  color: #7f2033;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

.article-content code {
  padding: .08em .3em;
  border-radius: .25rem;
  background: rgba(127, 32, 51, .1);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .88em;
}

.article-loading {
  padding: 8rem 0;
  color: #684653;
  font-size: 1rem;
}

.article-section {
  padding: 0 0 clamp(3rem, 6vw, 4.5rem);
}

.article-section + .article-section {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid rgba(76, 38, 52, .2);
}

.article-section h2 {
  margin: 0 0 1.2rem;
  color: #4c2634;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}

.article-section p {
  margin: 0 0 1.2rem;
  color: #684653;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.75;
}

.article-section p:last-child {
  margin-bottom: 0;
}

.article-inline-image {
  margin: 2.3rem 0;
  overflow: hidden;
  border-radius: 1.35rem;
  background: #dfc6c1;
}

.article-inline-image img {
  aspect-ratio: 16 / 10;
}

.article-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(76, 38, 52, .2);
}

.article-waitlist-link:hover,
.article-waitlist-link:focus-visible {
  transform: translateX(.16rem);
}

@media (max-width: 768px) {
  .article-main {
    width: calc(100% - 2rem);
    padding: 0 0 4rem;
  }

  .article-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    min-height: 0;
    padding: 2rem 0 3rem;
  }

  .article-header {
    margin-top: 2rem;
  }

  .article-breadcrumbs ol {
    grid-template-columns: max-content max-content minmax(0, 1fr);
    padding: .58rem .7rem;
  }

  .article-breadcrumbs li:first-child {
    display: none;
  }

  .article-breadcrumbs li:nth-child(2)::before {
    content: none;
  }

  .article-header h1 {
    font-size: clamp(2.85rem, 13vw, 4.6rem);
  }

  .article-hero-image {
    align-self: auto;
    height: auto;
    border-radius: 1.35rem;
  }

  .article-hero-image img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .article-footer-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .related-articles__grid {
    grid-template-columns: 1fr;
  }

  .related-article {
    min-height: 10rem;
  }
}
