/* ============================================================
   TRINITY UNVEILED — DESIGN TOKENS
   Reproduces the existing Canva site. Do not introduce new
   one-off colors, fonts, or spacing values in future sections —
   pull from these variables instead.
   ============================================================ */
:root {
  /* --- Palette (sampled directly from the original site) --- */
  --tu-cream:        #F7EFE2;
  --tu-cream-light:  #FBF6EC;
  --tu-gold-wash:    #F9DCAF;   /* hero gradient end */
  --tu-gold:         #C8942A;   /* flourish / MINISTRIES label / button border */
  --tu-navy:         #1F2A44;   /* logo wordmark + hero tagline */
  --tu-text:         #211E1A;   /* body copy — sampled near-black from original */

  /* --- Type (confirmed from Canva project) --- */
  --tu-font-serif: 'Abhaya Libre', Georgia, serif;
  --tu-font-sans:  'Lato', Arial, sans-serif;

  /* --- Layout --- */
  --tu-max-width:   1200px;
  --tu-prose-width:  860px;
  --tu-aspect:       1.784;    /* original section proportions, ~803:450 */
}

/* ============================================================
   RESET / BASE
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--tu-font-serif);
  color: var(--tu-text);
  background: var(--tu-cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.tu-scroll { width: 100%; overflow-x: hidden; }

.tu-heading {
  font-family: var(--tu-font-serif);
  font-weight: 700;
  color: var(--tu-navy);
  font-size: 1.3rem;
  margin: 0 0 14px;
  text-decoration: none; /* locked: no underlines anywhere */
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--tu-navy);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ============================================================
   SECTION BASE — faithful desktop aspect ratio, mobile reflows
   ============================================================ */
.tu-section {
  position: relative;
  width: 100%;
}

/* Desktop: preserve the original's fixed proportions */
@media (min-width: 901px) {
  .tu-section {
    aspect-ratio: var(--tu-aspect);
    max-height: 800px;
  }
}

/* Mobile: let sections grow naturally so text can reflow instead of shrinking */
@media (max-width: 900px) {
  .tu-section { min-height: 0; }
}

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.tu-section--hero {
  display: flex;
  align-items: stretch;
  background: linear-gradient(150deg, var(--tu-cream-light) 0%, var(--tu-cream) 45%, var(--tu-gold-wash) 100%);
}

.tu-hero-photo {
  flex: 0 0 40%;
  max-width: 40%;
  overflow: hidden;
}

.tu-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.tu-hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px clamp(24px, 5vw, 72px);
  max-width: 720px;
}

.tu-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.tu-logo-mark {
  width: 76px;
  height: auto;
  flex-shrink: 0;
}

.tu-logo-text {
  font-family: var(--tu-font-serif);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--tu-navy);
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}

.tu-logo-sub {
  font-family: var(--tu-font-sans);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  color: var(--tu-gold);
  margin-top: 7px;
}

.tu-hero-tagline {
  font-family: var(--tu-font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.35;
  color: var(--tu-navy);
  margin: 0 0 18px;
}

.tu-hero-body {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--tu-text);
  margin: 0 0 24px;
  max-width: 42ch;
}

.tu-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.tu-btn {
  display: inline-block;
  font-family: var(--tu-font-serif);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

.tu-btn--filled {
  background: var(--tu-navy);
  color: var(--tu-cream-light);
}
.tu-btn--filled:hover { opacity: 0.88; }

.tu-btn--outline {
  background: transparent;
  border-color: var(--tu-gold);
  color: var(--tu-navy);
}
.tu-btn--outline:hover { background: rgba(200, 148, 42, 0.08); }

/* ============================================================
   SECTION 2 — WHY "TRINITY UNVEILED"? (explanatory, no flourish)
   ============================================================ */
.tu-section--explain {
  background-image: url('assets/section-bg-photo.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
}

.tu-explain-inner {
  max-width: var(--tu-prose-width);
  width: 100%;
}

.tu-section--explain .tu-heading {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
}

.tu-prose p {
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--tu-text);
  margin: 0 0 14px;
}
.tu-prose p:last-child { margin-bottom: 0; }

/* ============================================================
   THE MEANING BEHIND OUR LOGO
   ============================================================ */
.tu-logo-meaning-mark {
  width: 92px;
  height: auto;
  margin: 0 auto 18px;
  display: block;
}

.tu-symbol-block { margin: 0 0 26px; }

.tu-symbol-name {
  font-family: var(--tu-font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--tu-navy);
  margin: 0 0 6px;
}

.tu-symbol-desc {
  font-family: var(--tu-font-serif);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--tu-text);
  margin: 0;
}

.tu-symbol-closing {
  font-family: var(--tu-font-serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--tu-navy);
  margin: 30px 0 0;
}

/* ============================================================
   SECTIONS 3–5 — IDENTITY BLOCKS (flourish begins here)
   ============================================================ */
.tu-section--identity {
  background-image: url('assets/section-bg-photo.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 24px;
  gap: 6px;
}

.tu-flourish {
  width: 280px;
  height: auto;
  flex-shrink: 0;
}

.tu-identity-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: var(--tu-prose-width);
  width: 100%;
  margin: 6px 0;
}

.tu-identity-block { width: 100%; }

.tu-section--identity .tu-heading {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 14px;
}

.tu-list-intro {
  font-size: 1.08rem;
  color: var(--tu-text);
  margin: 0 0 12px;
}

.tu-belief-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tu-belief-list li {
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--tu-text);
  margin: 0 0 6px;
}

.tu-commitment-close {
  font-family: var(--tu-font-serif);
  font-size: 1.08rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  color: var(--tu-text);
  max-width: 60ch;
  margin: 18px auto 0;
}

/* ============================================================
   SECTION 6 — MY TESTIMONY (gateway)
   ============================================================ */
.tu-section--testimony {
  background-image: url('assets/section-bg-photo.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 28px 56px;
}

.tu-testimony-left,
.tu-testimony-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tu-testimony-left {
  align-items: center;
  text-align: center;
}

.tu-verse {
  font-family: var(--tu-font-serif);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.4;
  color: var(--tu-navy);
  margin: 0 0 10px;
}

.tu-verse-script {
  font-family: 'Cormorant Garamond', var(--tu-font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.3em;
  color: var(--tu-gold);
}

.tu-verse-citation {
  font-family: var(--tu-font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 26px;
}

.tu-btn--aqua {
  background: #BFE7EB;
  color: #1F2627;
  border: none;
  border-radius: 999px;
  padding: 16px 30px;
  font-family: var(--tu-font-serif);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  max-width: 260px;
  box-shadow: 0 2px 10px rgba(31, 38, 39, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tu-btn--aqua:hover {
  box-shadow: 0 4px 14px rgba(31, 38, 39, 0.18);
  transform: translateY(-1px);
}

.tu-testimony-right {
  align-items: center;
}

.tu-testimony-thumb {
  width: 100%;
  max-width: 380px;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  margin-bottom: 14px;
}

.tu-testimony-caption {
  font-family: var(--tu-font-serif);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--tu-text);
  text-align: center;
  max-width: 380px;
  margin: 0;
}
.tu-testimony-caption strong { font-weight: 700; }

/* ============================================================
   SECTION 7 — PASSING THE TORCH BOOK SERIES (transition)
   ============================================================ */
#section-7 .tu-prose p {
  font-size: 1.4rem;
  line-height: 1.5;
}

/* ============================================================
   SECTION 8 — BOOKS & RESOURCES (book listing)
   ============================================================ */
.tu-section--book {
  background-image: url('assets/section-bg-photo.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 28px 56px;
}

.tu-book-left {
  flex: 1.15;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tu-book-heading {
  font-family: var(--tu-font-serif);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--tu-navy);
  text-decoration: none; /* underline removed per approved decision */
  margin: 0 0 22px;
}

.tu-book-title {
  font-family: var(--tu-font-serif);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--tu-text);
  margin: 0 0 18px;
}

.tu-book-desc {
  font-family: var(--tu-font-serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--tu-text);
  margin: 0 0 28px;
}

.tu-btn--sage {
  background: #A7C2B8;
  color: #1F2627;
  border: none;
  border-radius: 999px;
  padding: 18px 38px;
  font-family: var(--tu-font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none; /* underline removed per approved decision */
  text-align: center;
  box-shadow: 0 2px 10px rgba(31, 38, 39, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tu-btn--sage:hover {
  box-shadow: 0 4px 14px rgba(31, 38, 39, 0.18);
  transform: translateY(-1px);
}

.tu-book-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tu-book-cover {
  width: 100%;
  max-width: 340px;
  border-radius: 3px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* ============================================================
   SECTIONS 11–12 — TESTIMONY PROSE (About Tiffany / When Pain Becomes Purpose)
   ============================================================ */
.tu-section--testimony-prose {
  background-image: url('assets/section-bg-photo.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
}

/* Deliberate override: these two sections are content-heavy and are
   allowed to grow taller than the fixed aspect-ratio system used
   elsewhere, so the testimony has real breathing room rather than
   being compressed to fit. Applies at all widths, not just mobile. */
#section-11,
#section-12 {
  aspect-ratio: unset;
  max-height: none;
  height: auto;
}

.tu-eyebrow {
  font-family: var(--tu-font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tu-gold);
  margin: 0 0 10px;
}

.tu-testimony-heading {
  font-family: var(--tu-font-serif);
  font-weight: 700;
  font-size: 1.85rem;
  color: var(--tu-navy);
  text-decoration: none;
  margin: 0 0 32px;
}

.tu-prose--testimony p {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--tu-text);
  margin: 0 0 22px;
}
.tu-prose--testimony p:last-child { margin-bottom: 0; }

/* ============================================================
   SECTION 13 — MINISTRY-PURPOSE BRIDGE
   ============================================================ */
.tu-section--purpose {
  background-image: url('assets/section-bg-photo.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tu-thesis {
  font-family: var(--tu-font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.35;
  color: var(--tu-navy);
  margin: 0 0 34px;
}

.tu-purpose-body {
  font-family: var(--tu-font-serif);
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--tu-text);
  margin: 0 0 34px;
}

.tu-closing-triad {
  font-family: var(--tu-font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--tu-navy);
  margin: 0;
}

/* ============================================================
   SECTION 14 — PERSONAL SIGN-OFF
   ============================================================ */
.tu-section--signoff {
  background-image: url('assets/section-bg-photo.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tu-signoff-body {
  font-family: var(--tu-font-serif);
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--tu-text);
  margin: 0 0 40px;
}

.tu-sig-love {
  font-family: var(--tu-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--tu-text);
  margin: 0 0 6px;
}

.tu-sig-name {
  font-family: var(--tu-font-serif);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--tu-navy);
  margin: 0 0 6px;
}

.tu-sig-title {
  font-family: var(--tu-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.88rem;
  color: #7d7666;
  margin: 0;
}

.tu-book-subtitle {
  font-family: var(--tu-font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tu-gold);
  margin: -10px 0 20px;
}

.tu-book-cover--placeholder {
  aspect-ratio: 2 / 3;
  border: 2px dashed var(--tu-gold);
  background: var(--tu-cream-light);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 30px;
}
.tu-cover-icon { font-size: 2.2rem; }
.tu-cover-title {
  font-family: var(--tu-font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--tu-navy);
}
.tu-cover-note {
  font-family: var(--tu-font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a9284;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 900px) {
  .tu-section--hero { flex-direction: column; }
  .tu-hero-photo { max-width: 100%; flex-basis: auto; height: 40vh; }
  .tu-hero-content { max-width: 100%; padding: 36px 26px; }

  .tu-section--explain,
  .tu-section--identity,
  .tu-section--purpose,
  .tu-section--signoff { padding: 48px 24px; }

  .tu-section--testimony {
    flex-direction: column;
    padding: 48px 26px;
    gap: 32px;
  }
  .tu-testimony-left { align-items: center; text-align: center; }
  .tu-verse { font-size: 1.5rem; }

  .tu-section--book {
    flex-direction: column-reverse;
    padding: 48px 26px;
    gap: 28px;
  }
  .tu-book-left { align-items: center; text-align: center; }
  .tu-book-cover { max-width: 260px; }

  .tu-heading { font-size: 1.3rem; }
  .tu-prose p,
  .tu-list-intro,
  .tu-belief-list li,
  .tu-commitment-close,
  .tu-hero-body { font-size: 0.95rem; }

  .tu-hero-tagline { font-size: 1.25rem; }
  .tu-identity-content { gap: 26px; }
  .tu-flourish { width: 180px; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 560px) {
  .tu-hero-photo { height: 34vh; }
  .tu-logo-mark { width: 50px; }
  .tu-logo-text { font-size: 1.3rem; }
  .tu-hero-tagline { font-size: 1.15rem; }
  .tu-hero-actions { flex-direction: column; }
  .tu-btn { text-align: center; width: 100%; }

  .tu-section--explain, .tu-section--identity, .tu-section--purpose, .tu-section--signoff { padding: 40px 20px; }
  .tu-flourish { width: 150px; }

  .tu-thesis { font-size: 1.35rem; }
  .tu-purpose-body { font-size: 1.05rem; }
  .tu-closing-triad { font-size: 1.1rem; }

  .tu-signoff-body { font-size: 1.05rem; }
  .tu-sig-name { font-size: 1.25rem; }
}
