/* =========================================================================
   Sitemap (/sitemap/) — page styles
   One stucco section under the solid navbar: eyebrow, H1 and a list of
   every page. The section padding is the same at every width (as designed).
   ========================================================================= */

.sitemap-section {
  padding: 160px 24px 112px; /* 160 clears the fixed navbar (84 / 76 / 72 / 64px) */
  background: var(--stucco-50);
}
.sitemap-inner {
  display: grid;
  gap: 40px;
  max-width: 760px;
  margin: 0 auto;
}

/* ---- Heading ------------------------------------------------------------ */
.sitemap-heading {
  display: grid;
  gap: 14px;
}
.sitemap-heading__eyebrow { line-height: 1; }
.sitemap-heading__title {
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: var(--tracking-display);
}

/* ---- Page list ---------------------------------------------------------- */
.sitemap-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border-hairline);
}
.sitemap-list__item { border-bottom: 1px solid var(--border-hairline); }

.sitemap-list__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 8px;
  color: inherit;
  text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease-out-soft);
}
/* Hover tint across the full row (mouse only, so a tap doesn't leave it stuck).
   Keyboard focus uses the site-wide ring from base.css, as in the design. */
@media (hover: hover) {
  .sitemap-list__link:hover {
    color: inherit;
    background: var(--stucco-100);
  }
}

.sitemap-list__text {
  display: grid;
  gap: 4px;
}
.sitemap-list__title {
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: var(--weight-regular);
  font-variation-settings: 'opsz' var(--font-display-opsz);
  line-height: 1.2;
  letter-spacing: -.01em;
}
.sitemap-list__desc {
  color: var(--ink-700);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
}
.sitemap-list__arrow {
  display: inline-flex;
  flex: none;
  color: var(--vermillion-500);
  --icon-size: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .sitemap-list__link { transition: none; }
}
