/* ==========================================================================
   Thriving Sons — Organisations & Schools (page-specific styles)
   Reuses tokens, base, components (eyebrow, buttons, hero, photo-frame, text-link),
   header and footer. Nothing here changes another page.
   ========================================================================== */

/* --- Section 01: hero (the homepage hero component, sized for a longer headline) --- */
.hero--org { padding-bottom: var(--ts-space-5); }

.hero--org .hero__title {
  font-size: clamp(2.25rem, 1.4rem + 4.2vw, 3.5rem);
  line-height: 1.04;
}

.hero__copy {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.65;
  color: var(--ts-charcoal-soft);
}

.hero__copy p:first-child {
  font-size: var(--ts-text-lead);
  line-height: 1.55;
  color: var(--ts-charcoal);
}

@media (min-width: 64rem) {
  .hero--org { padding-bottom: 5rem; }
  .hero--org .hero__title { font-size: clamp(2.875rem, 3.8vw, 3.5rem); }
}

/* --- Shared: heading style and the heading-left / copy-right grid -------------------- */
.org-title {
  font-family: var(--ts-font-display);
  font-size: clamp(2rem, 1.45rem + 2.6vw, 3.25rem);
  font-weight: var(--ts-title-weight);
  font-variation-settings: var(--ts-title-variation);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ts-charcoal);
}

.org-grid {
  display: grid;
  gap: var(--ts-space-3);
}

.org-grid__heading {
  display: grid;
  gap: var(--ts-space-3);
  justify-items: start;
  align-content: start;
}

.approach,
.ways,
.foundation,
.together { padding-block: var(--ts-space-5); }

@media (min-width: 48rem) {
  .approach, .ways, .foundation, .together { padding-block: 5rem; }
}

@media (min-width: 64rem) {
  .org-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(3rem, 5vw, 5rem);
    align-items: start;
  }
}

@media (min-width: 72rem) {
  .approach, .ways, .foundation, .together { padding-block: 6rem; }
}

/* Body copy shared by the text sections */
.approach__body,
.foundation__body,
.together__body {
  display: grid;
  gap: var(--ts-space-2);
  justify-items: start;
  max-width: 40rem;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.7;
  color: var(--ts-charcoal-soft);
}

.approach__lead,
.foundation__lead,
.together__lead {
  font-family: var(--ts-font-display);
  font-size: clamp(1.375rem, 1.2rem + 0.9vw, 1.75rem);
  font-weight: 600;
  line-height: 1.35;
  text-wrap: balance;
  color: var(--ts-charcoal);
}

/* --- Section 02: Our Approach (cream-deep) -------------------------------------------- */
.approach { background: var(--ts-cream-deep); }

.approach__closing {
  max-width: 30rem;
  margin-top: var(--ts-space-1);
  padding-top: var(--ts-space-2);
  border-top: 2px solid var(--ts-gold);
  font-family: var(--ts-font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ts-charcoal);
}

/* --- Section 03: Ways We Work Together (three gold-outlined cards) ------------------- */
.ways__list {
  display: grid;
  gap: var(--ts-space-3);
  margin: var(--ts-space-4) 0 0;
  padding: 0;
  list-style: none;
}

.way {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: var(--ts-space-3) 1.25rem;
  background: var(--ts-white);
  border: 1px solid rgba(176, 141, 62, 0.6);
  border-radius: 2px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ts-charcoal-soft);
}

.way__title {
  font-family: var(--ts-font-display);
  font-size: clamp(1.5rem, 1.3rem + 0.9vw, 1.875rem);
  font-weight: var(--ts-title-weight);
  font-variation-settings: var(--ts-title-variation);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--ts-charcoal);
}

.ways__note {
  max-width: 44rem;
  margin-top: var(--ts-space-4);
  padding-top: var(--ts-space-2);
  border-top: 2px solid var(--ts-gold);
  font-family: var(--ts-font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  text-wrap: pretty;
  color: var(--ts-charcoal);
}

@media (min-width: 40rem) {
  .way { padding: var(--ts-space-4); }
}

@media (min-width: 64rem) {
  .ways__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--ts-space-3);
    margin-top: var(--ts-space-5);
  }
}

/* --- Section 04: The Foundation of Our Work (charcoal) ------------------------------- */
.foundation {
  background: var(--ts-charcoal);
  color: var(--ts-cream);
}

.foundation :focus-visible { outline-color: var(--ts-gold-soft); }
.foundation .eyebrow { color: var(--ts-gold-soft); }
.foundation .eyebrow::before { background: var(--ts-gold-soft); }
.foundation .org-title,
.foundation__lead { color: var(--ts-cream); }
.foundation__body { color: var(--ts-cream-muted); }
.foundation__body .text-link { margin-top: var(--ts-space-1); }

/* --- Section 05: Working Together (cream) ------------------------------------------- */
.together__cta { margin-top: var(--ts-space-2); width: 100%; }

.together__for {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ts-charcoal-soft);
}

@media (min-width: 40rem) {
  .together__cta { width: auto; }
}

/* The philosophy name never breaks across lines: a slightly smaller headline and an even grid keep it in its column */
.nowrap { white-space: nowrap; }
.foundation .org-title { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.875rem); }

@media (min-width: 64rem) {
  .foundation .org-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
}
