/* ============================================================
   Together for You, Inc. — Shared Stylesheet
   ============================================================ */

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  /* Brand palette — Together for You, Inc.
     Official colors: cream #fff7e8 · yellow #ffe674 · mint #81dbaf · teal #3bd5c9
     Token names retained for compatibility; values remapped to a teal-forward brand theme.
     (Per brand guide: green & teal are not used directly side-by-side.) */
  --green-900: #0c3b39;   /* deep teal ink — dark sections / footer */
  --green-700: #11756e;   /* primary teal — buttons, links, accents (AA on white) */
  --green-500: #1aa39a;   /* mid teal — eyebrows / secondary accents */
  --green-400: #3bd5c9;   /* brand teal — bright highlights */
  --green-200: #81dbaf;   /* brand mint — soft fills */
  --green-100: #d8f3ec;   /* light mint tint — chips / placeholders */
  --green-50:  #f1fbf8;   /* lightest tint */
  --teal:      #3bd5c9;   /* brand teal */
  --mint:      #81dbaf;   /* brand mint */
  --cream:     #fff7e8;   /* brand cream */
  --yellow:    #ffe674;   /* brand yellow */
  --amber:     #ffe674;   /* brand yellow (legacy alias) */
  --white:     #ffffff;
  --gray-50:   #fbf9f3;   /* warm cream-tinted neutral */
  --gray-100:  #eef0ec;
  --gray-200:  #dcdfd9;
  --text-900:  #14201c;
  --text-700:  #2c3f3a;
  --text-500:  #5f706b;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 4px rgba(13,51,38,.07), 0 4px 16px rgba(13,51,38,.06);
  --shadow-md: 0 4px 12px rgba(13,51,38,.08), 0 12px 40px rgba(13,51,38,.10);
  --shadow-lg: 0 8px 24px rgba(13,51,38,.10), 0 24px 64px rgba(13,51,38,.14);
  --max-w: 1200px;
  --font-display: 'Quicksand', sans-serif;
  --font-body:    'Inclusive Sans', sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-900); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 999;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 1px 0 var(--gray-100);
}
.nav-wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; height: 92px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 64px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-700); text-decoration: none; padding: 7px 14px; border-radius: 100px; transition: background .18s, color .18s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { background: var(--green-100); color: var(--green-700); }
.nav-links .btn-nav-donate { background: var(--green-700); color: #fff; font-weight: 600; margin-left: 8px; padding: 9px 22px; }
.nav-links .btn-nav-donate:hover { background: var(--green-500); color: #fff; }
.nav-ham { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; }
.nav-ham span { display: block; width: 24px; height: 2px; background: var(--text-900); border-radius: 2px; transition: .25s; }
@media(max-width:1040px){
  .nav-ham { display: flex; }
  .nav-links { display: none; flex-direction: column; align-items: stretch; position: absolute; top: 92px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--gray-100); padding: 16px 24px 28px; gap: 2px; box-shadow: var(--shadow-md); max-height: calc(100vh - 92px); overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 16px; padding: 12px 16px; border-radius: var(--radius-sm); }
  .nav-links .btn-nav-donate { text-align: center; margin-left: 0; margin-top: 6px; }
}

/* ── FOOTER ── */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.55); }
.footer-body { max-width: var(--max-w); margin: 0 auto; padding: 72px 40px 48px; display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 56px; }
.footer-brand img { height: 62px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.42); line-height: 1.8; max-width: 300px; }
.footer-col h6 { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.42); text-decoration: none; transition: color .18s; }
.footer-col ul li a:hover { color: var(--teal); }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; padding: 22px 40px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; }
@media(max-width:860px){ .footer-body { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media(max-width:480px){ .footer-body { grid-template-columns: 1fr; } }

/* ── SHARED UTILITIES ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 40px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-500); margin-bottom: 14px; }
.h-display { font-family: var(--font-display); font-size: clamp(36px, 5vw, 64px); font-weight: 900; line-height: 1.06; letter-spacing: -.02em; color: var(--text-900); }
.h-section { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 48px); font-weight: 800; line-height: 1.1; letter-spacing: -.015em; color: var(--text-900); }
.h-card { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--text-900); line-height: 1.2; }
.body-lg { font-size: 18px; font-weight: 400; color: var(--text-500); line-height: 1.78; }
.body-md { font-size: 15.5px; color: var(--text-500); line-height: 1.75; }
.lede { font-size: 19px; color: var(--text-700); line-height: 1.8; }

/* ── BUTTONS ── */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--green-700); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; padding: 14px 32px; border-radius: 100px; transition: background .2s, transform .2s, box-shadow .2s; box-shadow: 0 4px 20px rgba(26,92,74,.3); border: none; cursor: pointer; font-family: var(--font-body); }
.btn-primary:hover { background: var(--green-500); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,92,74,.35); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--green-700); text-decoration: none; font-weight: 600; font-size: 15px; padding: 13px 32px; border-radius: 100px; border: 2px solid var(--green-700); transition: background .2s, color .2s; cursor: pointer; font-family: var(--font-body); }
.btn-secondary:hover { background: var(--green-700); color: #fff; }
.btn-white { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--green-700); text-decoration: none; font-weight: 700; font-size: 15px; padding: 14px 32px; border-radius: 100px; transition: transform .2s, box-shadow .2s; box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.15); }
.btn-ghost-white { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; font-size: 15px; padding: 13px 32px; border-radius: 100px; border: 2px solid rgba(255,255,255,.35); transition: border-color .2s, color .2s; }
.btn-ghost-white:hover { border-color: rgba(255,255,255,.8); color: #fff; }

/* ── IMAGE PLACEHOLDER ── */
.img-ph { background: var(--green-100); position: relative; overflow: hidden; }
.img-ph::after { content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--green-500); letter-spacing: .04em; padding: 16px; text-align: center; line-height: 1.5; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.in { opacity: 1; transform: none; }

/* ── PAGE HERO (interior pages) ── */
.page-hero { position: relative; background: linear-gradient(155deg, #06302e 0%, #11756e 60%, #0c3b39 100%); overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(46,196,160,.22), transparent 70%); }
.page-hero-inner { position: relative; max-width: var(--max-w); margin: 0 auto; padding: 92px 40px 84px; }
.page-hero .crumbs { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 22px; letter-spacing: .02em; }
.page-hero .crumbs a { color: rgba(255,255,255,.7); text-decoration: none; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .eyebrow { color: var(--teal); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 58px); font-weight: 900; line-height: 1.06; letter-spacing: -.02em; color: #fff; max-width: 760px; }
.page-hero h1 em { color: var(--teal); font-style: normal; }
.page-hero p { color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.75; max-width: 600px; margin-top: 22px; }
.page-hero .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* ── SECTION HELPERS ── */
.section { padding: 100px 0; }
.section-sm { padding: 72px 0; }
.bg-white { background: var(--white); }
.bg-gray { background: var(--gray-50); }
.bg-green-100 { background: var(--green-100); }
.bg-green-900 { background: var(--green-900); }
.section-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head .h-section { margin: 12px 0 16px; }

/* ── CTA BAND ── */
.cta-band { background: var(--green-900); position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; left: 50%; bottom: -160px; width: 600px; height: 600px; transform: translateX(-50%); background: radial-gradient(circle, rgba(46,196,160,.16), transparent 70%); }
.cta-band-inner { position: relative; max-width: 820px; margin: 0 auto; padding: 88px 40px; text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; color: #fff; line-height: 1.12; letter-spacing: -.015em; }
.cta-band p { color: rgba(255,255,255,.66); font-size: 18px; line-height: 1.75; max-width: 560px; margin: 18px auto 0; }
.cta-band .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }

/* ── PROGRAM CARDS (shared home + programs) ── */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 32px; }
.prog-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s; display: flex; flex-direction: column; }
.prog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.prog-card-photo { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.prog-card-photo .img-ph { width: 100%; height: 100%; min-height: 200px; }
.prog-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prog-card:hover .prog-card-photo img { transform: scale(1.04); }
.prog-tag { position: absolute; top: 16px; left: 16px; background: var(--green-700); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; }
.prog-card-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.prog-card-body .h-card { margin-bottom: 12px; }
.prog-card-body .body-md { flex: 1; margin-bottom: 20px; }
.prog-detail-list { list-style: none; border-top: 1px solid var(--gray-100); padding-top: 18px; margin-top: auto; }
.prog-detail-list li { font-size: 13.5px; color: var(--text-700); padding: 6px 0; border-bottom: 1px solid var(--gray-100); display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.prog-detail-list li:last-child { border-bottom: none; }
.prog-detail-list li::before { content: ''; width: 6px; height: 6px; background: var(--green-400); border-radius: 50%; flex-shrink: 0; margin-top: 6px; }

/* ── VALUE CHIPS ── */
.values-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.val-chip { font-size: 13px; font-weight: 600; color: var(--green-700); background: var(--green-100); border: 1px solid var(--green-200); padding: 6px 18px; border-radius: 100px; }

/* ── STATS / GOAL CARDS ── */
.goals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.goal-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 32px 24px; text-align: center; }
.goal-card .num { font-family: var(--font-display); font-size: 50px; font-weight: 900; color: var(--green-700); line-height: 1; margin-bottom: 8px; }
.goal-card .lbl { font-size: 13.5px; color: var(--text-500); line-height: 1.5; }

/* ── BLOCKQUOTE ── */
.blockquote { font-family: var(--font-display); font-size: clamp(22px, 2.8vw, 32px); font-style: italic; color: var(--text-700); line-height: 1.45; margin: 20px 0 24px; position: relative; padding-left: 28px; }
.blockquote::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; background: var(--green-400); border-radius: 2px; }
.attribution { font-size: 14px; font-weight: 600; color: var(--green-700); }

/* ── FORMS ── */
.form-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 44px 40px; box-shadow: var(--shadow-sm); }
.form-card .h-card { margin-bottom: 6px; }
.form-card .form-sub { font-size: 14px; color: var(--text-500); margin-bottom: 26px; line-height: 1.6; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgroup { margin-bottom: 18px; }
.fgroup label { display: block; font-size: 13px; font-weight: 600; color: var(--text-700); margin-bottom: 6px; letter-spacing: .02em; }
.fgroup input, .fgroup textarea, .fgroup select { width: 100%; background: var(--gray-50); border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); padding: 11px 16px; font-size: 15px; font-family: var(--font-body); color: var(--text-900); outline: none; transition: border-color .18s, background .18s; }
.fgroup input:focus, .fgroup textarea:focus, .fgroup select:focus { border-color: var(--green-500); background: var(--white); }
.fgroup textarea { min-height: 120px; resize: vertical; }
.fgroup input.invalid, .fgroup textarea.invalid, .fgroup select.invalid { border-color: #d9534f; background: #fdf3f3; }
.field-hint { font-size: 12px; color: var(--text-500); margin-top: 5px; }
.btn-form-submit { width: 100%; background: var(--green-700); color: #fff; border: none; padding: 15px; border-radius: 100px; font-size: 15px; font-weight: 700; font-family: var(--font-body); cursor: pointer; transition: background .2s; letter-spacing: .02em; }
.btn-form-submit:hover { background: var(--green-500); }
.form-success { display: none; text-align: center; padding: 24px 8px; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 30px; }
.form-success h4 { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--text-900); margin-bottom: 8px; }
.form-success p { font-size: 14.5px; color: var(--text-500); line-height: 1.7; }
.form-note { margin-top: 16px; font-size: 12.5px; color: var(--text-500); text-align: center; line-height: 1.6; }

/* ── DISCLAIMER ── */
.disclaimer { background: var(--green-100); border: 1px solid var(--green-200); border-radius: var(--radius-sm); padding: 18px 22px; font-size: 13px; color: var(--text-500); line-height: 1.7; }

/* ── CONTACT INFO ── */
.c-info-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 15px; color: var(--text-700); }
.c-dot { width: 8px; height: 8px; background: var(--green-400); border-radius: 50%; flex-shrink: 0; margin-top: 7px; }
.c-info-item a { color: var(--green-700); text-decoration: none; font-weight: 500; }
.c-info-item a:hover { text-decoration: underline; }
.social-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.soc-pill { height: 36px; padding: 0 18px; border: 1.5px solid var(--gray-200); border-radius: 100px; font-size: 13px; font-weight: 500; color: var(--text-500); text-decoration: none; display: flex; align-items: center; transition: border-color .18s, color .18s, background .18s; }
.soc-pill:hover { border-color: var(--green-500); color: var(--green-700); background: var(--green-50); }

/* ── RESPONSIVE GRID HELPERS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.grid-2.start { align-items: start; }
@media(max-width:960px){
  .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .prog-grid { grid-template-columns: 1fr; }
  .goals-grid { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 32px 24px; }
}
@media(max-width:600px){
  .container, .container-narrow { padding: 0 20px; }
  .nav-wrap { padding: 0 20px; }
  .page-hero-inner { padding: 64px 20px 56px; }
  .goals-grid, .form-row-2 { grid-template-columns: 1fr; }
  .section, .cta-band-inner { padding-top: 68px; padding-bottom: 68px; }
}

/* ── ARTICLE (single post) ── */
.article-hero { position: relative; background: linear-gradient(155deg, #06302e 0%, #11756e 60%, #0c3b39 100%); overflow: hidden; }
.article-hero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(46,196,160,.20), transparent 70%); }
.article-hero-inner { position: relative; max-width: 820px; margin: 0 auto; padding: 76px 40px 60px; }
.article-hero .crumbs { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 20px; }
.article-hero .crumbs a { color: rgba(255,255,255,.7); text-decoration: none; }
.article-hero .crumbs a:hover { color: #fff; }
.article-cat { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.article-hero h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 48px); font-weight: 800; line-height: 1.12; letter-spacing: -.015em; color: #fff; }
.article-byline { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.article-byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center 12%; border: 2px solid rgba(255,255,255,.3); }
.article-byline .ab-name { font-size: 15px; font-weight: 700; color: #fff; }
.article-byline .ab-meta { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 2px; }
.article-wrap { max-width: 720px; margin: 0 auto; padding: 60px 40px 24px; }
.article-figure { margin: 0 0 40px; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/9; }
.article-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-body p { font-size: 18px; line-height: 1.85; color: var(--text-700); margin-bottom: 22px; }
.article-body p.lead { font-size: 21px; line-height: 1.7; color: var(--text-900); font-weight: 500; }
.article-body h2 { font-family: var(--font-display); font-size: 27px; font-weight: 800; color: var(--text-900); line-height: 1.2; margin: 40px 0 14px; letter-spacing: -.01em; }
.article-body strong { color: var(--text-900); font-weight: 700; }
.article-body blockquote { margin: 30px 0; padding-left: 26px; border-left: 4px solid var(--green-400); font-family: var(--font-display); font-style: italic; font-size: 23px; line-height: 1.45; color: var(--green-700); }
.article-signoff { display: flex; align-items: center; gap: 16px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--gray-200); }
.article-signoff img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: center 12%; }
.article-signoff .as-name { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--text-900); }
.article-signoff .as-role { font-size: 13.5px; color: var(--text-500); margin-top: 2px; }
.article-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--green-700); text-decoration: none; }
.article-back:hover { text-decoration: underline; }
@media(max-width:600px){
  .article-hero-inner { padding: 56px 20px 44px; }
  .article-wrap { padding: 40px 20px 16px; }
  .article-body p { font-size: 17px; }
  .article-body p.lead { font-size: 19px; }
}
.article-coauthor { font-size: 14px; color: var(--text-500); margin: -8px 0 30px; font-style: italic; }
.article-refs { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--gray-200); }
.article-refs h2 { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--text-900); margin-bottom: 14px; }
.article-refs ul { list-style: none; }
.article-refs li { font-size: 12.5px; line-height: 1.6; color: var(--text-500); padding: 6px 0; padding-left: 18px; text-indent: -18px; }
.article-tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.article-tag-row span { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--green-700); background: var(--green-100); border: 1px solid var(--green-200); padding: 4px 11px; border-radius: 100px; }
