/* ============================================================
   SHENG CHI FOUNDATION — MARKETING PATTERN CSS
   Split out of scf.css (0.9.14).

   These rules style the SCF marketing patterns only: the home
   page sections and the interior pages (About / Mission /
   Who We Help / Contact). They are NOT site chrome.

   scf.css stays in the always-loaded scf-core bundle because
   the header, footer and nav render on every page. This file
   does not: it loads only when the page content actually
   carries one of the pattern wrappers (see
   ls_page_style_markers() -> 'scf-patterns'). An LS landing
   page or a LifterLMS screener was previously parsing every
   rule below for markup it never renders.

   GENERATED SPLIT — safe to edit by hand from here on.
   ============================================================ */

/* ============================================================
   HOME PAGE  (pattern shengchi-foundation/scf-home)
   Full-bleed brand sections. Each outer section is an alignfull
   wp:group with one of these classes; inner content is capped to
   --container-xl. Photo slots are marked for real images later.
   ============================================================ */
.scf-sec { padding: 88px 32px; }
.scf-sec__in { max-width: var(--container-xl); margin: 0 auto; }
.scf-eyebrow {
  font-family: var(--font-body); font-weight: var(--weight-bold);
  text-transform: uppercase; letter-spacing: var(--tracking-caps);
  font-size: var(--text-sm); color: var(--gold-dark); margin: 0 0 14px;
}
.scf-lead { font-size: var(--text-lg); line-height: var(--leading-relaxed); color: var(--text-body); }

/* Inline content links inside home sections (not buttons — those set their own
   colour). Robust even if theme.json global link styles are overridden. */
.scf-hero p a, .scf-sec p a {
  color: var(--text-link); text-decoration: underline; text-underline-offset: 2px;
}
.scf-hero p a { color: var(--gold-light); }

/* Buttons — SCF (sharper than the LS pill; disciplined) */
.scf-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: var(--weight-bold); font-size: 1.02rem;
  padding: 15px 30px; border-radius: var(--radius-sm); text-decoration: none;
  border: none; cursor: pointer; line-height: 1;
  transition: filter var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.scf-btn:active { transform: scale(0.97); }
.scf-btn--red   { background: var(--brand-red); color: #fff; box-shadow: var(--shadow-md); }
.scf-btn--red:hover { filter: brightness(0.94); }
.scf-btn--gold  { background: var(--gold); color: var(--ink); box-shadow: var(--shadow-md); }
.scf-btn--gold:hover { filter: brightness(0.96); }
.scf-btn--ghost { background: transparent; color: #f0e6cf; border: 1.5px solid rgba(224,180,88,0.5); }
.scf-btn--ghost:hover { background: rgba(224,180,88,0.12); }
.scf-btn--ink   { background: transparent; color: var(--ink); border: 1.5px solid var(--border-strong); }
.scf-btn--ink:hover { background: var(--surface-sunken); }

/* --- Hero --- */
.scf-hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #e6d9bf;
  padding: 104px 32px 112px;
}
.scf-hero__in { max-width: var(--container-xl); margin: 0 auto; position: relative; z-index: 1; }
/* Faded gold 正氣 brush watermark (real brush master, recoloured). */
.scf-hero::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: -1%;
  width: min(46%, 600px);
  background: url('../img/zhengqi-gold.webp') right center / contain no-repeat;
  opacity: 0.10; z-index: 0; pointer-events: none;
}
.scf-hero__copy { max-width: 40rem; }
.scf-hero h1 {
  color: #fff; font-size: var(--text-4xl); font-weight: 600;
  line-height: 1.03; margin: 0 0 20px;
}
.scf-hero p { font-size: var(--text-lg); color: #d8c9ab; margin: 0 0 30px; max-width: 34rem; }
.scf-hero .scf-eyebrow { color: var(--gold-light); }
.scf-hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- Mission statement strip --- */
.scf-mission { background: var(--surface-card); border-bottom: 1px solid var(--border-subtle); }
.scf-mission .scf-sec__in { max-width: var(--container-md); text-align: center; }
.scf-mission h2 { font-size: var(--text-2xl); margin: 0 0 10px; }
.scf-mission p { font-size: var(--text-lg); color: var(--text-body); margin: 0; }

/* --- Who we help (olive-accent cards) --- */
.scf-who { background: var(--surface-page); }
.scf-who__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.scf-card {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--olive); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.scf-card h3 { font-size: var(--text-xl); margin: 0 0 10px; }
.scf-card p { font-size: var(--text-base); color: var(--text-body); margin: 0; }

/* --- Approach / transformation (ink band, gold accents) --- */
.scf-approach { background: var(--ink-raised); color: #d8c9ab; }
.scf-approach h2 { color: #fff; font-size: var(--text-2xl); max-width: 20em; }
.scf-approach .scf-lead { color: #cdbf9f; max-width: 42rem; }
.scf-approach__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 36px; }
.scf-approach__row h3 { color: var(--gold-light); font-size: var(--text-lg); margin: 0 0 8px; }
.scf-approach__row p { color: #bdae8d; font-size: var(--text-base); margin: 0; }

/* --- Impact / donate band (full red) --- */
.scf-impact { background: var(--brand-red); color: #fff; text-align: center; }
.scf-impact .scf-sec__in { max-width: var(--container-md); }
.scf-impact h2 { color: #fff; font-size: var(--text-3xl); margin: 0 0 14px; }
.scf-impact p { font-size: var(--text-lg); color: #ffe3df; margin: 0 0 30px; }

/* --- Ways to help / train --- */
.scf-ways { background: var(--surface-page); }
.scf-ways__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 34px; }
.scf-ways .scf-card { border-top-color: var(--gold); }
.scf-ways .scf-card .scf-btn { margin-top: 18px; }

/* --- Pull quote --- */
.scf-quote { background: var(--surface-card); text-align: center; }
.scf-quote blockquote {
  max-width: var(--container-md); margin: 0 auto; border: 0; padding: 0;
}
.scf-quote p {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: var(--text-2xl); line-height: 1.3; color: var(--text-strong); margin: 0 0 12px;
}
.scf-quote cite { font-family: var(--font-body); font-style: normal; color: var(--text-muted); font-size: var(--text-base); }

@media (max-width: 900px) {
  .scf-who__grid, .scf-approach__row { grid-template-columns: 1fr; }
  .scf-ways__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .scf-hero h1 { font-size: var(--text-3xl); }
  .scf-hero__zq { opacity: 0.07; }
}

/* ============================================================
   INTERIOR PAGES  (About / Our Mission / Who We Help / Contact)
   Reuse .scf-sec + .scf-card; these add a compact page hero, a
   readable prose column, a values grid, and a contact layout.
   ============================================================ */
.scf-phero { background: var(--ink); color: #e6d9bf; padding: 78px 32px 66px; position: relative; overflow: hidden; }
.scf-phero::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; right: -2%; width: min(38%, 460px);
  background: url('../img/zhengqi-gold.webp') right center / contain no-repeat;
  opacity: 0.08; z-index: 0; pointer-events: none;
}
.scf-phero__in { max-width: var(--container-lg); margin: 0 auto; position: relative; z-index: 1; }
.scf-phero .scf-eyebrow { color: var(--gold-light); }
.scf-phero h1 { color: #fff; font-size: var(--text-3xl); font-weight: 600; line-height: 1.05; margin: 0 0 14px; }
.scf-phero p { font-size: var(--text-lg); color: #d8c9ab; margin: 0; max-width: 40rem; }

/* Readable prose column (About / Mission body copy) */
.scf-prose { background: var(--surface-card); }
.scf-prose .scf-sec__in { max-width: var(--container-md); }
.scf-prose h2 { font-size: var(--text-2xl); margin: 1.4em 0 0.5em; }
.scf-prose > .scf-sec__in > h2:first-child,
.scf-prose > .scf-sec__in > *:first-child { margin-top: 0; }
.scf-prose h3 { font-size: var(--text-xl); margin: 1.3em 0 0.4em; }
.scf-prose p { font-size: var(--text-md); line-height: var(--leading-relaxed); color: var(--text-body); margin: 0 0 1.1em; }
.scf-prose p a { color: var(--text-link); text-decoration: underline; text-underline-offset: 2px; }
.scf-prose blockquote {
  border-left: 4px solid var(--gold); margin: 1.6em 0; padding: 4px 0 4px 22px;
}
.scf-prose blockquote p { font-family: var(--font-display); font-style: italic; font-size: var(--text-lg); color: var(--text-strong); margin: 0; }

/* Values grid (Mission page) */
.scf-values__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 30px; }
.scf-value { background: var(--surface-card); border: 1px solid var(--border-subtle); border-left: 4px solid var(--gold); border-radius: var(--radius-md); padding: 22px 24px; }
.scf-value h3 { font-size: var(--text-lg); margin: 0 0 6px; }
.scf-value p { margin: 0; font-size: var(--text-base); color: var(--text-body); }

/* Contact layout */
.scf-contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; margin-top: 30px; align-items: start; }
.scf-contact__info p { margin: 0 0 16px; font-size: var(--text-md); color: var(--text-body); }
.scf-contact__info a { color: var(--text-link); text-decoration: underline; text-underline-offset: 2px; }
.scf-contact__label { font-family: var(--font-body); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: var(--tracking-caps); font-size: var(--text-xs); color: var(--text-muted); display: block; margin-bottom: 2px; }
.scf-formslot { background: var(--surface-card); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); padding: 28px; color: var(--text-muted); font-size: var(--text-base); }
@media (max-width: 820px) {
  .scf-values__grid { grid-template-columns: 1fr; }
  .scf-contact__grid { grid-template-columns: 1fr; }
}
