/* ==========================================================================
   Text pages (About, blog posts, policies) — Storyteller type + textures
   ========================================================================== */

/* Hero: photo with dark wash, torn paper edge into the body */
.tp-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(78vh, 720px);
  padding: 140px 0 calc(90px + var(--edge-top));
  background: #1d1712 center / cover no-repeat;
  color: #fff;
}

.tp-hero--short { min-height: 380px; }

.tp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 55%, rgba(0, 0, 0, 0.15) 100%);
}

.tp-hero__inner { position: relative; }
.tp-hero__eyebrow { text-align: left; }

.tp-hero__title {
  max-width: 900px;
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1;
  letter-spacing: 0.81px;
  text-transform: uppercase;
}

.tp-hero__title--article { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.08; }

.tp-hero__serif {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 32.4px);
  line-height: 1.22;
  letter-spacing: 0.81px;
}

.tp-hero__lead {
  max-width: 720px;
  margin: 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 27px;
}

/* Body on sand, torn top edge overlapping the hero */
.tp-body {
  z-index: 2;
  margin-top: calc(-1 * var(--edge-top));
  padding-top: calc(var(--st-pad) + var(--edge-top) - 30px);
  -webkit-mask:
    url("../images/storyteller/edges/floor-top.png") top / 100% var(--edge-top) no-repeat,
    linear-gradient(#000 0 0) 0 calc(var(--edge-top) - 1px) / 100% 100% no-repeat;
          mask:
    url("../images/storyteller/edges/floor-top.png") top / 100% var(--edge-top) no-repeat,
    linear-gradient(#000 0 0) 0 calc(var(--edge-top) - 1px) / 100% 100% no-repeat;
}

.tp-chapter {
  margin: 0 0 6px;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--st-orange);
}

.tp-body .st-row__text h3 { color: var(--st-ink); font-family: var(--font-head); font-weight: 900; font-size: 22px; line-height: 1.1; letter-spacing: 0.81px; text-transform: uppercase; }
.tp-body .st-row__text p { margin: 0 0 12px; }
.tp-body .st-row__text .st-btn { margin-top: 12px; }
.tp-body .st-row__img img.is-contain { object-fit: contain; background: #1d1d1d; }

.tp-checks { margin: 4px 0 14px; padding: 0; list-style: none; display: grid; gap: 6px; }

.tp-checks li {
  position: relative;
  padding-left: 30px;
  line-height: 24px;
}

.tp-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background: url("../images/storyteller/bg/icon-check-mark-new.svg") center / contain no-repeat;
}

/* Numbers */
.tp-numbers { background-color: #4a2716; }

.tp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  font-size: 16px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
}

.tp-stats strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  color: #fff;
}

.tp-quote {
  max-width: 900px;
  margin: 0 auto 16px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.25;
  text-align: center;
}

/* Mission */
.tp-mission { background-color: #2c211b; }
.tp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.tp-two p { margin: 0 0 12px; line-height: 26px; color: rgba(255, 255, 255, 0.88); }
.tp-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Article / policy prose */
.tp-back {
  display: inline-block;
  margin-bottom: 28px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--st-orange);
}

.tp-prose { font-size: 18px; line-height: 1.7; color: #2a2622; }
.tp-prose p { margin: 0 0 18px; }

.tp-prose h2,
.tp-prose h3 {
  margin: 40px 0 14px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0.81px;
  text-transform: uppercase;
  color: var(--st-ink);
}

.tp-prose h3 { font-size: 17px; }
.tp-prose ul,
.tp-prose ol { margin: 0 0 18px; padding-left: 22px; list-style: disc; }
.tp-prose ol { list-style: decimal; }
.tp-prose li { margin-bottom: 8px; }
.tp-prose strong { color: var(--st-ink); }
.tp-prose a { color: var(--st-orange); text-decoration: underline; }
.tp-prose--policy { font-size: 16px; }
.tp-prose--policy h2 { font-size: 18px; }

.page-article .st-blog .st-cta-cards { margin-top: 32px; }

@media (max-width: 991px) {
  .tp-stats { grid-template-columns: 1fr 1fr; }
  .tp-two { grid-template-columns: 1fr; gap: 48px; }
  .tp-hero { min-height: 70vh; padding-top: 120px; }
  .tp-prose { font-size: 17px; }
}

/* ==========================================================================
   Dark body (no light sand) — cream text on charcoal texture
   ========================================================================== */
.tp-body { color: rgba(241, 235, 212, 0.9); background-color: #211a15; background-size: 100% auto; background-repeat: repeat-y; }
.tp-body .st-row__text h3,
.tp-prose h2,
.tp-prose h3,
.tp-prose strong { color: #fff; }
.tp-prose { color: rgba(241, 235, 212, 0.86); }
.tp-body .st-row__text p,
.tp-body .st-feature p { color: rgba(241, 235, 212, 0.86); }
.tp-body .tp-checks li { color: rgba(241, 235, 212, 0.9); }
.tp-prose table { border-color: rgba(241, 235, 212, 0.2); }
.tp-prose th,
.tp-prose td { border-color: rgba(241, 235, 212, 0.2); }
.tp-inline-btn { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--st-orange); text-decoration: underline; cursor: pointer; }
