/* ============================================================
   LOAD IVYPRESTO (files in /wp-content/ctc-pages/global/fonts/)
   ============================================================ */
@font-face {
    font-family: 'IvyPresto';
    src: url('../../fonts/Ivy-Presto-Display-Light.otf') format('opentype');
    font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'IvyPresto';
    src: url('../../fonts/Ivy-Presto-Display.otf') format('opentype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'IvyPresto';
    src: url('../../fonts/Ivy-Presto-Display-Semi-Bold.otf') format('opentype');
    font-weight: 600; font-style: normal; font-display: swap;
}

/* ============================================================
   CTC BRAND FOUNDATION
   ============================================================ */
:root {
    --font-display: 'IvyPresto', Georgia, serif;
    --font-heading: 'sweet-sans-pro', sans-serif;
    --font-body: europa, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --delft-blue: #223759;
    --paynes-gray: #566573;
    --dark-navy: #1c2541;
    --cta-pink: #B80077;
    --calm-teal: #306373;
    --calm-teal-light: #49afc1;
    --cream: #FDFBF7;
    --light-gray: #e9eef5;
    --body-text: #3a3a3a;
    --gold: #fdbd0d;
}

.section-schools-hero, .section-schools-press, .section-schools-problem,
.section-schools-what, .section-schools-why, .section-schools-funding,
.section-schools-about, .section-schools-cta {
    font-family: var(--font-body);
    color: var(--body-text);
    line-height: 1.6;
}
.section { padding: 88px 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* shared type */
.section-schools-problem h2, .section-schools-what h2, .section-schools-why h2,
.section-schools-funding h2, .section-schools-about h2, .section-schools-cta h2,
.section-schools-hero h1 {
    font-family: var(--font-display) !important;
    color: var(--delft-blue);
    line-height: 1.12;
    font-weight: 400;
    letter-spacing: -0.01em;
}
.eyebrow {
    font-family: var(--font-heading);
    font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--calm-teal); font-weight: 700; margin-bottom: 14px;
}
.section-schools-problem h2, .section-schools-what h2, .section-schools-why h2,
.section-schools-funding h2, .section-schools-about h2, .section-schools-cta h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 16px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block; font-family: var(--font-heading);
    font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em;
    text-transform: uppercase; text-decoration: none; color: #fff;
    background: var(--cta-pink); padding: 18px 34px; border-radius: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: #9a0064; transform: translateY(-2px); color: #fff; }
.btn-wrap { margin-top: 30px; }
.btn-center { text-align: center; }
.hero-subnote { margin-top: 12px; font-size: 0.92rem; color: var(--paynes-gray); }

/* ============================================================
   1. HERO
   ============================================================ */
.section-schools-hero {
    background: linear-gradient(180deg, var(--cream) 0%, #f3eee4 100%);
    padding: 90px 0 70px;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 48px; align-items: center; }
.hero-prefix {
    font-family: var(--font-heading); font-size: 0.8rem; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--cta-pink); font-weight: 700; margin-bottom: 18px;
}
.section-schools-hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); margin-bottom: 24px; }
.hero-accent { color: var(--calm-teal); font-style: italic; }
.hero-lede p { font-size: 1.08rem; margin-bottom: 16px; max-width: 60ch; color: #44464d; }
.hero-portrait { text-align: center; }
.hero-portrait img { max-width: 100%; height: auto; }
.hero-sig {
    font-family: var(--font-display); font-style: italic; color: var(--delft-blue);
    font-size: 1.2rem; margin-top: 8px;
}
.hero-sig span { font-family: var(--font-body); font-style: normal; font-size: 0.82rem; color: var(--paynes-gray); display: block; }

/* ============================================================
   2. PRESS BAND
   ============================================================ */
.section-schools-press { background: #fff; padding: 44px 0; border-bottom: 1px solid var(--light-gray); }
.press-label {
    text-align: center; font-family: var(--font-heading); font-size: 0.72rem;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--paynes-gray); margin-bottom: 22px;
}
.press-row { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.press-row img { height: 48px !important; width: auto !important; max-width: 130px; opacity: 0.7; filter: none; }

/* ============================================================
   3. PROBLEM
   ============================================================ */
.section-schools-problem { background: var(--cream); }
.problem-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.problem-sub { font-size: 1.1rem; color: #44464d; }
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 56px; }
.tq {
    background: #fff; border-left: 4px solid var(--calm-teal-light);
    border-radius: 8px; padding: 28px 30px; margin: 0;
    font-family: var(--font-body) !important; font-size: 1.08rem; font-style: normal !important;
    font-weight: 400; line-height: 1.6; color: #2f3a4a;
    box-shadow: 0 2px 14px rgba(34,55,89,0.06);
}
.theme-band { background: var(--delft-blue); border-radius: 14px; padding: 40px 38px; color: #fff; }
.theme-band-label {
    font-family: var(--font-heading); font-size: 0.82rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 26px; text-align: center; font-weight: 700;
}
.theme-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.theme-cell { text-align: center; }
.theme-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.theme-txt { font-size: 0.9rem; color: #d7deea; line-height: 1.4; }
.theme-txt em { color: #fff; font-style: italic; }

/* ============================================================
   4. WHAT IT IS
   ============================================================ */
.section-schools-what { background: #fff; }
.what-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.what-sub { font-size: 1.08rem; color: #44464d; }
.stage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.stage-card { background: var(--cream); border: 1px solid var(--light-gray); border-radius: 10px; padding: 26px 24px; }
.stage-card-soft { background: var(--calm-teal); border-color: var(--calm-teal); }
.stage-card-soft h3, .stage-card-soft p { color: #fff !important; }
.stage-card-soft .stage-tag { color: var(--gold) !important; }
.stage-tag { font-family: var(--font-heading); font-size: 0.7rem; letter-spacing: 0.14em; font-weight: 700; color: var(--calm-teal); margin-bottom: 10px; }
.stage-card h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--delft-blue); margin-bottom: 8px; font-weight: 400; }
.stage-card p { font-size: 0.96rem; color: #4d4f57; margin: 0; }
.include-band { background: var(--cream); border-radius: 14px; padding: 38px 40px; }
.include-band-label { font-family: var(--font-heading); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--calm-teal); font-weight: 700; margin-bottom: 22px; text-align: center; }
.include-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 38px; }
.include-list li { position: relative; padding-left: 30px; font-size: 1rem; color: var(--body-text); }
.include-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--cta-pink); font-weight: 700; }

/* ============================================================
   5. WHY (positioning)
   ============================================================ */
.section-schools-why { background: var(--delft-blue); color: #fff; }
.section-schools-why h2 { color: #fff !important; }
.section-schools-why .eyebrow { color: var(--gold); }
.why-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.why-col { border-radius: 12px; padding: 30px 30px; }
.why-col-them { background: rgba(255,255,255,0.06); }
.why-col-us { background: var(--calm-teal); }
.why-col-label { font-family: var(--font-heading); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.why-col-them .why-col-label { color: #9fb0c9; }
.why-col-us .why-col-label { color: var(--gold); }
.why-col ul { list-style: none; padding: 0; margin: 0; }
.why-col li { padding: 9px 0 9px 26px; position: relative; font-size: 1.02rem; border-top: 1px solid rgba(255,255,255,0.1); }
.why-col li:first-child { border-top: none; }
.why-col-them li::before { content: "\2014"; position: absolute; left: 0; color: #7e90ac; }
.why-col-us li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.pull-quote {
    margin: 48px auto 0; max-width: 780px; text-align: center;
    font-family: var(--font-display); font-style: italic; font-size: 1.5rem;
    line-height: 1.4; color: #fff;
}
.pull-quote cite { display: block; margin-top: 16px; font-family: var(--font-body); font-style: normal; font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }

/* ============================================================
   6. FUNDING
   ============================================================ */
.section-schools-funding { background: var(--cream); }
.funding-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.funding-sub { font-size: 1.08rem; color: #44464d; }
.funding-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.funding-card { background: #fff; border: 1px solid var(--light-gray); border-radius: 10px; padding: 24px 22px; }
.funding-card h3 { font-family: var(--font-display); font-size: 1.25rem; color: var(--calm-teal); margin-bottom: 8px; font-weight: 400; }
.funding-card p { font-size: 0.94rem; color: #4d4f57; margin: 0; }
.funding-report { background: #fff; border: 2px solid var(--calm-teal-light); border-radius: 12px; padding: 26px 30px; font-size: 1.04rem; color: var(--delft-blue); text-align: center; }
.funding-report strong { color: var(--cta-pink); }

/* ============================================================
   7. ABOUT
   ============================================================ */
.section-schools-about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 48px; align-items: start; }
.about-text p { font-size: 1.06rem; margin-bottom: 16px; color: #44464d; max-width: 58ch; }
.about-who { background: var(--cream); border-radius: 12px; padding: 30px 30px; }
.about-who-label { font-family: var(--font-heading); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--calm-teal); font-weight: 700; margin-bottom: 18px; }
.about-who ul { list-style: none; padding: 0; margin: 0; }
.about-who li { padding: 10px 0 10px 26px; position: relative; font-size: 1rem; border-top: 1px solid var(--light-gray); }
.about-who li:first-child { border-top: none; }
.about-who li::before { content: "\2192"; position: absolute; left: 0; color: var(--cta-pink); font-weight: 700; }

/* ============================================================
   8. FINAL CTA
   ============================================================ */
.section-schools-cta { background: linear-gradient(180deg, #f3eee4 0%, var(--cream) 100%); text-align: center; }
.cta-inner { max-width: 720px; margin: 0 auto; }
.section-schools-cta h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.cta-sub { font-size: 1.12rem; color: #44464d; margin-bottom: 8px; }
.btn-final { font-size: 0.92rem; padding: 20px 40px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
    .section { padding: 60px 0; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-portrait { order: -1; max-width: 320px; margin: 0 auto; }
    .quote-grid { grid-template-columns: 1fr; }
    .theme-row { grid-template-columns: 1fr 1fr; gap: 24px; }
    .stage-grid { grid-template-columns: 1fr; }
    .include-list { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .funding-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .press-row { gap: 28px; }
    .press-row img { height: 24px; }
}
@media (max-width: 480px) {
    .theme-row { grid-template-columns: 1fr; }
    .funding-grid { grid-template-columns: 1fr; }
}
