:root {
  --paper: #faf6ed;
  --white: #fffdf8;
  --linen: #f4ecdd;
  --ink: #261e1c;
  --muted: #62564f;
  --accent: #7b2e42;
  --accent-dark: #5b1e2d;
  --olive: var(--accent);
  --olive-dark: var(--accent-dark);
  --lime: #f0e2dd;
  --line: #e5dacd;
}

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 700;
}

:focus-visible { outline-color: var(--accent); }
.text-link:hover { color: var(--accent); }
.mark i:nth-child(2), .editorial-dot { background: #b47c69; }

.site-header { background: var(--white); }
.header-inner { min-height: 66px; }
.wordmark {
  font: 700 1.25rem/1 var(--sans);
  letter-spacing: -.05em;
}

.main-nav > a[aria-current] { color: var(--accent-dark); }
.menu-panel { box-shadow: 0 15px 40px #442b2320; }
.button { border-radius: 999px; }
.button-outline { border-color: #c9b7af; }

.shortcut-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3px 10px;
  border-top: 1px solid var(--line);
  padding-block: 5px;
}

.shortcut-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  min-height: 33px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 650;
}

.shortcut-nav a:hover {
  color: var(--accent-dark);
  background: var(--lime);
}

.hero {
  display: block;
  padding-block: clamp(34px, 3.2vw, 40px) clamp(35px, 3.4vw, 41px);
  text-align: center;
}

.hero-copy { max-width: 770px; margin-inline: auto; }
.hero .eyebrow { justify-content: center; }

.hero h1 {
  font-size: clamp(3.15rem, 7.7vw, 5.1rem);
  line-height: .94;
  letter-spacing: -.052em;
  margin: 13px 0 18px;
}

.hero h1 em { display: block; }
.hero h1 br { display: none; }

.hero h1 em {
  color: var(--accent);
  font-style: normal;
  font-weight: inherit;
}

.hero-description {
  max-width: 650px;
  margin-top: 17px;
  margin-inline: auto;
  font-size: clamp(.96rem, 1.38vw, 1.08rem);
  line-height: 1.6;
}

.hero-actions {
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.hero-actions .button {
  min-height: 49px;
  padding-inline: 20px;
  font-size: .9rem;
}

.category-band {
  background: var(--linen);
  border-color: var(--line);
}

.categories-section {
  max-width: 1120px;
  padding-block: 18px 27px;
}
.categories-section .section-heading { margin-bottom: 11px; }
.categories-section h2 { font-size: clamp(1.35rem, 2.5vw, 2.1rem); }
.categories-section .section-heading p { margin-top: 4px; }

.category-showcase {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(14px, 2.3vw, 30px);
}

.category-showcase .hero-media img {
  aspect-ratio: 1.68;
  border-radius: 15px;
}

.category-showcase .category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.category-pill {
  min-height: 44px;
  border-color: var(--line);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  overflow-wrap: anywhere;
  line-height: 1.23;
}

.category-showcase .category-pill {
  width: 100%;
  height: 100%;
  justify-content: space-between;
}

.category-pill [aria-hidden] { color: var(--accent); }
.category-pill:hover [aria-hidden] { color: inherit; }
.topic-pill { background: var(--white); }

.article-card, .guide-group { border-radius: 14px; }
.article-card:hover, .guide-group:hover { border-color: #ccada4; }
.card-link:hover h3 { color: var(--accent-dark); }
.card-copy h3, .guide-group h3 { line-height: 1.19; }
.card-copy h3 { font-size: clamp(1.14rem, 1.75vw, 1.55rem); }
.site-footer { background: var(--white); }

@media (min-width: 761px) and (min-height: 540px) {
  .site-header {
    position: sticky;
    top: 0;
    box-shadow: 0 3px 14px #3b2b2110;
  }

  main[id], main [id] { scroll-margin-top: 145px; }
}

@media (max-width: 980px) {
  .category-showcase .category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { position: relative; }
  .shortcut-nav { display: none; }
  .hero { padding-block: 35px 38px; }

  .hero h1 {
    font-size: clamp(2.6rem, 11.9vw, 5.2rem);
    margin-block: 12px 15px;
  }

  .hero-description { max-width: 495px; }
  .categories-section { padding-block: 20px 22px; }
  .category-showcase { grid-template-columns: minmax(0, 1fr); }
  .category-showcase .category-list { grid-row: 1; }
}

@media (max-width: 460px) {
  .hero-actions { gap: 8px; margin-top: 18px; }
  .hero-actions .button { padding-inline: 12px; font-size: .82rem; }
  .card-copy h3 { font-size: 1.4rem; }
}
