/* =========================================================
   Download page — type + layout polish (last layer)
   Quieter scale: display only on titles; body UI stays Sora.
   ========================================================= */

/* ---- Shared section type ---- */
html body.page-download .section-intro .eyebrow,
html body.page-download .dl-cats .section-intro .eyebrow {
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-style: normal !important;
  font-size: 0.625rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  line-height: 1.4 !important;
}

html body.page-download .section-intro h2,
html body.page-download .dl-intro__copy h2,
html body.page-download .dl-featured--atelier .section-intro h2,
html body.page-download .dl-library-section .section-intro h2,
html body.page-download .dl-cats .section-intro h2,
html body.page-download .dl-steps .section-intro h2 {
  font-family: var(--wa-font-display, "Cormorant Garamond"), Georgia, serif !important;
  font-size: clamp(1.7rem, 2.8vw, 2.25rem) !important;
  font-weight: 500 !important;
  font-style: normal !important;
  letter-spacing: -0.01em !important;
  line-height: 1.15 !important;
  max-width: 18ch !important;
}

html body.page-download .section-intro h2::after,
html body.page-download .dl-intro__copy h2::after,
html body.page-download .dl-featured--atelier .section-intro h2::after,
html body.page-download .dl-library-section .section-intro h2::after,
html body.page-download .dl-cats .section-intro h2::after,
html body.page-download .dl-steps .section-intro h2::after {
  display: none !important;
  content: none !important;
}

html body.page-download .section-intro > p,
html body.page-download .dl-intro__copy > p,
html body.page-download .dl-featured--atelier .section-intro p,
html body.page-download .dl-library-section .section-intro p,
html body.page-download .dl-cats .section-intro p,
html body.page-download .dl-steps .section-intro p {
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-style: normal !important;
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.65 !important;
  max-width: 42ch !important;
}

/* ---- Hero ---- */
html body.page-download .dl-hero__label {
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-style: normal !important;
  font-size: 0.625rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #f5efe4 !important;
  -webkit-text-fill-color: #f5efe4 !important;
  opacity: 0.82 !important;
}

html body.page-download .dl-hero__title,
html body.page-download .dl-hero h1,
html body.page-download .dl-hero__title-line {
  font-family: var(--wa-font-display, "Cormorant Garamond"), Georgia, serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: -0.015em !important;
  line-height: 1.08 !important;
  color: #f5efe4 !important;
  -webkit-text-fill-color: #f5efe4 !important;
}

html body.page-download .dl-hero__title,
html body.page-download .dl-hero h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.35rem) !important;
  max-width: 14ch !important;
}

html body.page-download .dl-hero__title-line {
  display: block !important;
  margin: 0 0 0.04em !important;
}

html body.page-download .dl-hero__lead {
  max-width: 38ch !important;
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-style: normal !important;
  font-size: clamp(0.9rem, 1.15vw, 1rem) !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.65 !important;
  color: rgba(245, 239, 228, 0.82) !important;
  -webkit-text-fill-color: rgba(245, 239, 228, 0.82) !important;
}

html body.page-download .dl-hero__cta {
  border-radius: 0.65rem !important;
  background: #f5efe4 !important;
  background-color: #f5efe4 !important;
  background-image: none !important;
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
  border: 1px solid #f5efe4 !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.1em !important;
}

html body.page-download .dl-hero__cta *,
html body.page-download .dl-hero__cta span,
html body.page-download .dl-hero__cta .dl-hero__cta-arrow {
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
}

/* ---- Intro ---- */
html body.page-download .dl-intro {
  background: #ebe6dc !important;
  background-image: none !important;
}

html body.page-download .dl-intro__grid {
  gap: clamp(2rem, 5vw, 4rem) !important;
  align-items: center !important;
}

html body.page-download .dl-intro__copy h2 {
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
}

html body.page-download .dl-intro__copy > p,
html body.page-download .dl-sample-note {
  color: rgba(26, 21, 16, 0.68) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.68) !important;
}

html body.page-download .dl-sample-note {
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-style: normal !important;
  font-size: 0.8125rem !important;
  opacity: 0.9 !important;
}

/* ---- Featured ---- */
html body.page-download .dl-featured--atelier,
html body.page-download section.dl-featured.dl-featured--atelier {
  background: #14110e !important;
  background-image: none !important;
  color: #f5efe4 !important;
  -webkit-text-fill-color: #f5efe4 !important;
  padding-block: clamp(3.75rem, 8vw, 6.25rem) !important;
}

html body.page-download .dl-featured--atelier .dl-featured__head,
html body.page-download .dl-featured--atelier .section-intro {
  max-width: 36rem !important;
  margin: 0 0 clamp(1.75rem, 3.5vw, 2.75rem) !important;
}

html body.page-download .dl-featured--atelier .section-intro .eyebrow,
html body.page-download .dl-featured--atelier .section-intro h2,
html body.page-download .dl-featured--atelier .section-intro p {
  color: #f5efe4 !important;
  -webkit-text-fill-color: #f5efe4 !important;
}

html body.page-download .dl-featured--atelier .section-intro p {
  color: rgba(245, 239, 228, 0.7) !important;
  -webkit-text-fill-color: rgba(245, 239, 228, 0.7) !important;
}

html body.page-download .dl-featured__layout {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: clamp(1rem, 2vw, 1.5rem) !important;
  align-items: stretch !important;
}

html body.page-download .dl-feat-item,
html body.page-download .dl-feat-item--lead,
html body.page-download .dl-feat-item--side {
  display: flex !important;
  flex-direction: column !important;
  margin: 0 !important;
  padding: clamp(1.4rem, 2.4vw, 1.85rem) !important;
  min-height: 100% !important;
  background: #f5efe4 !important;
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.page-download .dl-feat-item,
html body.page-download .dl-feat-item *,
html body.page-download .dl-feat-item--lead,
html body.page-download .dl-feat-item--lead *,
html body.page-download .dl-feat-item--side,
html body.page-download .dl-feat-item--side * {
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
}

html body.page-download .dl-feat-item__index {
  margin: 0 0 0.75rem !important;
  font-family: var(--wa-font-display, "Cormorant Garamond"), Georgia, serif !important;
  font-size: 1.15rem !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
  color: rgba(26, 21, 16, 0.34) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.34) !important;
}

html body.page-download .dl-feat-item__copy {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

html body.page-download .dl-feat-item__tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.4rem 0.85rem !important;
  margin: 0 0 0.55rem !important;
}

html body.page-download .dl-feat-item__tags span {
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-size: 0.625rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: rgba(26, 21, 16, 0.48) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.48) !important;
}

html body.page-download .dl-feat-item h3 {
  margin: 0 0 0.45rem !important;
  font-family: var(--wa-font-display, "Cormorant Garamond"), Georgia, serif !important;
  font-size: clamp(1.35rem, 2vw, 1.6rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.15 !important;
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
}

html body.page-download .dl-feat-item__meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.3rem 0.45rem !important;
  margin: 0 0 0.9rem !important;
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-size: 0.75rem !important;
  letter-spacing: -0.01em !important;
  color: rgba(26, 21, 16, 0.55) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.55) !important;
}

html body.page-download .dl-feat-item__meta span {
  color: rgba(26, 21, 16, 0.55) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.55) !important;
}

html body.page-download .dl-feat-item__list {
  display: grid !important;
  gap: 0.35rem !important;
  margin: 0 0 1.15rem !important;
  padding: 0 !important;
  list-style: none !important;
  flex: 1 1 auto !important;
}

html body.page-download .dl-feat-item__list li {
  position: relative !important;
  padding-left: 0.85rem !important;
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  letter-spacing: -0.01em !important;
  color: rgba(26, 21, 16, 0.72) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.72) !important;
}

html body.page-download .dl-feat-item__list li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.55em !important;
  width: 0.3rem !important;
  height: 1px !important;
  background: currentColor !important;
  opacity: 0.5 !important;
}

html body.page-download .dl-feat-item__cta,
html body.page-download a.dl-feat-item__cta.dl-feat-card__btn,
html body.page-download .dl-feat-item a.dl-feat-card__btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  width: fit-content !important;
  margin-top: auto !important;
  padding: 0.7rem 1.1rem !important;
  border-radius: 0.65rem !important;
  background: #1a1510 !important;
  color: #f5efe4 !important;
  -webkit-text-fill-color: #f5efe4 !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

html body.page-download .dl-feat-item__cta *,
html body.page-download a.dl-feat-item__cta.dl-feat-card__btn *,
html body.page-download .dl-feat-item a.dl-feat-card__btn * {
  color: #f5efe4 !important;
  -webkit-text-fill-color: #f5efe4 !important;
}

/* ---- Library ---- */
html body.page-download .dl-library-section {
  background: #f3eee6 !important;
  background-image: none !important;
}

html body.page-download .dl-library-section .section-intro h2 {
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
}

html body.page-download .dl-library {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  border-top: 1px solid rgba(26, 21, 16, 0.14) !important;
}

html body.page-download .dl-library__row {
  display: grid !important;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 0.65rem 1rem !important;
  margin: 0 !important;
  padding: 1.1rem 0.1rem 1.1rem 0 !important;
  border-bottom: 1px solid rgba(26, 21, 16, 0.12) !important;
  background: transparent !important;
  transition: background-color 0.35s ease, padding-left 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

html body.page-download .dl-library__row:hover,
html body.page-download .dl-library__row.is-cat-active {
  background: rgba(26, 21, 16, 0.035) !important;
  padding-left: 0.4rem !important;
}

html body.page-download .dl-library__index {
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  color: rgba(26, 21, 16, 0.4) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.4) !important;
}

html body.page-download .dl-library__name {
  margin: 0 0 0.25rem !important;
  font-family: var(--wa-font-display, "Cormorant Garamond"), Georgia, serif !important;
  font-size: clamp(1.15rem, 1.5vw, 1.3rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.2 !important;
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
}

html body.page-download .dl-library__meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.25rem 0.4rem !important;
  margin: 0 !important;
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-size: 0.6875rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: rgba(26, 21, 16, 0.5) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.5) !important;
}

html body.page-download .dl-library__dl,
html body.page-download a.dl-library__dl.dl-table__dl {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  padding: 0.55rem 0.9rem !important;
  border-radius: 0.65rem !important;
  background: #1a1510 !important;
  color: #f5efe4 !important;
  -webkit-text-fill-color: #f5efe4 !important;
  border: 0 !important;
  text-decoration: none !important;
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-size: 0.625rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

html body.page-download .dl-library__dl *,
html body.page-download a.dl-library__dl.dl-table__dl * {
  color: #f5efe4 !important;
  -webkit-text-fill-color: #f5efe4 !important;
}

html body.page-download .dl-library__dl-arrow {
  font-size: 0.9em !important;
}

html body.page-download .dl-table__count {
  margin-top: 1rem !important;
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-style: normal !important;
  font-size: 0.8125rem !important;
  color: rgba(26, 21, 16, 0.5) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.5) !important;
}

/* ---- Steps ---- */
html body.page-download .dl-steps {
  background: #ebe6dc !important;
}

html body.page-download .dl-steps__list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(1rem, 2.5vw, 1.75rem) !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border-top: 1px solid rgba(26, 21, 16, 0.12) !important;
}

html body.page-download .dl-step {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0.45rem !important;
  margin: 0 !important;
  padding: 1.25rem 0 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  position: relative !important;
}

html body.page-download .dl-step__arrow {
  display: none !important;
}

html body.page-download .dl-step__num {
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  color: rgba(26, 21, 16, 0.38) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.38) !important;
}

html body.page-download .dl-step__body h3 {
  margin: 0 0 0.3rem !important;
  font-family: var(--wa-font-display, "Cormorant Garamond"), Georgia, serif !important;
  font-size: clamp(1.1rem, 1.4vw, 1.25rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
}

html body.page-download .dl-step__body p {
  margin: 0 !important;
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-size: 0.8125rem !important;
  line-height: 1.55 !important;
  letter-spacing: -0.01em !important;
  color: rgba(26, 21, 16, 0.62) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.62) !important;
}

@media (max-width: 900px) {
  html body.page-download .dl-featured__layout {
    grid-template-columns: 1fr !important;
  }

  html body.page-download .dl-steps__list {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 720px) {
  html body.page-download .dl-library__row {
    grid-template-columns: 2rem minmax(0, 1fr) !important;
    align-items: start !important;
  }

  html body.page-download .dl-library__dl,
  html body.page-download a.dl-library__dl.dl-table__dl {
    grid-column: 1 / -1 !important;
    justify-self: start !important;
    margin-top: 0.2rem !important;
  }

  html body.page-download .dl-steps__list {
    grid-template-columns: 1fr !important;
  }
}
