/*
Theme Name: Speak To Beak
Version: 5.25
Theme URI: https://speaktobeak.org/
Author: OpenAI
Description: Warm community-focused theme for Speak To Beak.

Text Domain: speak-to-beak
*/

:root{
  --bg:#f5f0e8;
  --bg-soft:#fbf7f1;
  --panel:#fffaf4;
  --panel-2:#f8f2ea;
  --text:#2f312f;
  --muted:#5f655f;
  --line:rgba(47,49,47,0.10);
  --line-strong:rgba(47,49,47,0.16);
  --accent:#d8a646;
  --accent-2:#c6932f;
  --support:#1f5f63;
  --support-soft:#e7f1f1;
  --growth:#5d8a65;
  --danger:#8b5d46;
  --max:1320px;
  --radius:26px;
  --shadow:0 14px 34px rgba(37,28,18,.06);
  --shadow-soft:0 8px 20px rgba(37,28,18,.04);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:linear-gradient(180deg,#f8f3ec 0%, #f4eee6 100%);
  color:var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.container{max-width:var(--max);margin:0 auto;padding:0 28px}

.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(248,243,236,.96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(47,49,47,.08);
  box-shadow:0 8px 24px rgba(37,28,18,.05);
}
.header-inner{
  display:grid;
  grid-template-columns:auto 1fr auto;
  grid-template-areas:
    "brand cta cta"
    "nav nav nav";
  align-items:center;
  gap:6px 18px;
  padding:6px 0 6px;
}
.brand{grid-area:brand;display:flex;align-items:center;gap:10px;min-width:0}
.brand-logo-wrap{width:102px;display:flex;align-items:center;justify-content:flex-start;overflow:visible;flex:0 0 auto}
.brand-logo,.custom-logo{width:98px;max-height:68px;height:auto;object-fit:contain;display:block;filter:drop-shadow(0 4px 10px rgba(216,166,70,.10));}
.brand-text{display:flex;flex-direction:column;gap:1px;font-weight:800;font-size:16px;line-height:1.02;letter-spacing:-.03em;color:var(--text)}
.brand-text small{display:block;color:#66706a;font-weight:500;font-size:13px;letter-spacing:0}
.header-cta{grid-area:cta;justify-self:end;white-space:nowrap}
.primary-nav-wrap,.site-header nav.nav,.site-header ul.nav{grid-area:nav;width:100%}
.site-header ul,.site-header li,.site-header li::marker,.site-header ul li::marker{list-style:none !important;content:"" !important;margin:0;padding:0}
.nav,.nav ul,.site-header .menu{display:flex;justify-content:center;align-items:center;gap:13px;flex-wrap:wrap;width:100%;margin:0;padding:0}
.nav li,.site-header .menu li{display:block;list-style:none !important}
.nav a,.site-header .menu a{display:block;padding:4px 0;font-size:13px;line-height:1.3;letter-spacing:-.01em;color:#39413d;font-weight:650}
.nav a:hover,.site-header .menu a:hover{color:var(--support)}

.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current-menu-ancestor > a,
.site-header .menu .current-menu-item > a,
.site-header .menu .current_page_item > a,
.site-header .menu .current-menu-ancestor > a{
  color:var(--support);
  position:relative;
  font-weight:800;
}
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after,
.nav .current-menu-ancestor > a::after,
.site-header .menu .current-menu-item > a::after,
.site-header .menu .current_page_item > a::after,
.site-header .menu .current-menu-ancestor > a::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-10px;
  height:3px;border-radius:999px;
  background:var(--accent);
}
.hero .eyebrow{display:none !important}

.btn, button, input[type=submit]{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  border-radius:18px;padding:14px 22px;border:1px solid transparent;
  background:var(--accent);color:#221b10;font-weight:700;cursor:pointer;
  transition:.2s ease;
}
.btn:hover, input[type=submit]:hover{background:var(--accent-2)}
.btn-outline{
  background:transparent;color:var(--support);border-color:rgba(31,95,99,.22)
}
.btn-outline:hover{background:var(--support-soft)}
.btn-support{background:var(--support);color:#fff}
.btn-support:hover{background:#174d50}

.hero{
  position:relative;overflow:hidden;border-bottom:1px solid rgba(47,49,47,.05);
  background:
    radial-gradient(circle at top right, rgba(216,166,70,.12), transparent 28%),
    radial-gradient(circle at left, rgba(31,95,99,.06), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.35), rgba(0,0,0,0));
}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:38px;align-items:center;padding:64px 0 58px}
.eyebrow,.pill{
  display:inline-flex;align-items:center;
  padding:8px 14px;border-radius:999px;border:1px solid var(--line);
  background:rgba(255,255,255,.45);font-size:13px;color:#48504c;
}
.pill{font-size:14px;padding:10px 16px;background:#fffaf6}
.pill-row{display:flex;flex-wrap:wrap;gap:12px}

h1,h2,h3,h4{line-height:1.08;margin:0 0 14px;color:var(--text)}
h1{font-size:58px;letter-spacing:-.045em;line-height:1.01}
h2{font-size:40px;letter-spacing:-.03em}
h3{font-size:22px}
p{margin:0 0 14px}
.lead{font-size:19px;color:#45504b;max-width:760px;line-height:1.72}
.muted{color:var(--muted)}
.kicker{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#6d756f;margin-bottom:10px}
.button-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}

.card{
  background:linear-gradient(180deg,var(--panel),var(--panel-2));
  border:1px solid var(--line-strong);
  border-radius:var(--radius);
  padding:28px;
  box-shadow:var(--shadow-soft);
}
.card.soft{background:linear-gradient(180deg,#fffdf9,#faf5ee)}
.preview{
  border-radius:34px;border:1px solid var(--line);padding:18px;background:#f3ede5;
  box-shadow:var(--shadow);margin-top:-18px;
}
.preview-inner{border:1px solid var(--line);border-radius:28px;padding:22px;background:linear-gradient(180deg,#fffdf9,#f8f2eb)}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.stack{display:grid;gap:16px}
.section{padding:78px 0}
.section-tight{padding:48px 0}
.home-taxonomy-strip{background:transparent;border-top:1px solid rgba(47,49,47,.05);border-bottom:1px solid rgba(47,49,47,.05)}
.list-check{display:grid;gap:14px}
.list-check .item{
  display:flex;gap:12px;padding:18px;border:1px solid var(--line-strong);
  background:#fffaf4;border-radius:22px;color:#3f4743
}
.list-check .item:before{content:"✓";color:var(--growth);font-weight:800}
form input, form textarea{
  width:100%;padding:14px 16px;border-radius:18px;
  background:#fffdf9;border:1px solid var(--line-strong);color:var(--text);
}
form textarea{min-height:130px;resize:vertical}

.site-footer{border-top:1px solid rgba(47,49,47,.08);background:linear-gradient(180deg,#f2ebe2,#eee5db)}
.footer-inner{display:grid;grid-template-columns:1.15fr .85fr;gap:36px;padding:34px 0}
.footer-menu{display:flex;flex-wrap:wrap;gap:16px 28px;align-items:flex-start;max-width:640px}
.center{text-align:center}
.support-callout{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:stretch}
.safety-card{background:linear-gradient(180deg,#edf4f4,#e6f0ef);border-color:rgba(31,95,99,.14)}


.hero-copy{max-width:620px}
.hero-copy h1{max-width:560px; margin-top:0}
.hero-support-strip{display:grid;grid-template-columns:1.08fr .92fr;gap:18px;margin-top:18px}
.hero-support-strip .card{padding:22px 24px}
.hero-simple .container{max-width:940px}
.hero-simple h1{max-width:780px}
.hero-simple .lead{max-width:700px}
.subtle-note{font-size:15px;color:#56605b}

/* WordPress admin bar sticky header fix */
body.admin-bar .site-header{top:32px}
@media (max-width: 782px){body.admin-bar .site-header{top:46px}}

@media (max-width:1200px){
  .brand-logo,.custom-logo{width:104px;max-height:74px}
  .nav,.nav ul,.site-header .menu{gap:16px}
  .nav a,.site-header .menu a{font-size:13px}
}
@media (max-width:980px){
  .header-inner{grid-template-columns:auto auto;grid-template-areas:"brand cta" "nav nav";gap:10px 18px}
  .brand-logo,.custom-logo{width:90px;max-height:66px}
  .brand-text{font-size:16px}
  .nav,.nav ul,.site-header .menu{justify-content:flex-start;overflow:auto;flex-wrap:nowrap;padding-bottom:4px}
  .hero-grid,.grid-4,.grid-3,.grid-2,.split,.footer-inner,.support-callout,.hero-support-strip{grid-template-columns:1fr}
  h1{font-size:44px}
  h2{font-size:34px}
}
@media (max-width:720px){
  .header-inner{grid-template-columns:1fr;grid-template-areas:"brand" "cta" "nav"}
  .header-cta{justify-self:start}
  .brand-text small{display:none}
  .container{padding:0 20px}
  .btn, button, input[type=submit]{width:100%}
  .button-row .btn{width:auto}
}

.footer-menu a{color:#43504a;font-weight:600;white-space:nowrap}
.footer-menu a:hover{color:var(--support)}
.nav a,.site-header .menu a{transition:color .18s ease}

.footer-safety{margin-top:18px;padding-top:18px;border-top:1px solid rgba(47,49,47,.08);font-size:15px;color:#4c5752;display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.footer-safety a{color:var(--support);font-weight:700;}

.hero-copy .subtle-note{max-width:560px}
.preview .card p,.card p,.card .muted{font-size:16px}
.card h3{margin-bottom:10px}
.highlight-amber{background:linear-gradient(180deg,#fff7e7,#f7edd7);border-color:rgba(216,166,70,.26)}
.section-header{max-width:820px;margin-bottom:34px}
.section-header .lead{max-width:740px}
.footer-brand{display:grid;gap:8px}
.footer-menu a.current{color:var(--support);font-weight:800}


.hero-microcopy{margin-top:16px;font-size:14px;line-height:1.65;color:#5c6661;max-width:560px}
.hero-copy{padding-right:8px}
.preview{margin-top:-6px}
.site-footer .muted{max-width:700px}
@media (max-width:980px){
  .hero-microcopy{max-width:none}
  .preview{margin-top:0}
}
@media (max-width:720px){
  .header-inner{padding:8px 0 10px}
  .nav a,.site-header .menu a{font-size:14px}
  .brand-logo,.custom-logo{width:86px;max-height:62px}
  h1{font-size:40px}
  .lead{font-size:18px;line-height:1.6}
}


/* v3.3 action wiring */
.notice{border-radius:18px;padding:14px 16px;margin-bottom:16px;font-weight:600}
.notice.success{background:#ecfdf5;border:1px solid #b7e4c7;color:#175b40}
.notice.error{background:#fff1f2;border:1px solid #fecdd3;color:#9f1239}
form.stack input[type="submit"]{border:none;cursor:pointer}

.header-actions{grid-area:cta;justify-self:end;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.header-phone{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border-radius:18px;border:1px solid rgba(31,95,99,.22);background:transparent;color:var(--support);font-weight:700;font-size:16px;line-height:1.2;white-space:nowrap;min-height:52px}
.header-phone:hover{background:var(--support-soft)}
.header-actions .btn,.header-actions .header-phone{min-width:0}
.header-cta{justify-self:auto}
.hero-microcopy a,.muted a{color:var(--support);font-weight:700}
@media (max-width:980px){.header-actions{justify-self:end}}
@media (max-width:720px){.header-actions{justify-self:start;width:100%}.header-phone{width:auto}}


.mobile-menu-button{display:none;grid-area:menu;justify-self:end;align-items:center;justify-content:center;padding:12px 18px;border-radius:16px;border:1px solid rgba(31,95,99,.18);background:#fffaf4;color:var(--support);font-weight:800;line-height:1;cursor:pointer;box-shadow:var(--shadow-soft)}
.mobile-menu-button:hover{background:var(--support-soft)}
.desktop-nav-wrap{grid-area:nav;width:100%}
.mobile-menu-panel{display:block;background:rgba(248,243,236,.98);border-top:1px solid rgba(47,49,47,.08);box-shadow:0 12px 28px rgba(37,28,18,.08)}
.mobile-menu-inner{padding:16px 20px 22px}
.mobile-header-actions,.mobile-nav-wrap .nav,.mobile-nav-wrap .menu{display:grid;gap:12px}
.mobile-header-actions .btn,.mobile-header-actions .header-phone{width:100%;min-height:54px;border-radius:18px}
.mobile-phone{font-size:18px}
.mobile-nav-wrap .nav,.mobile-nav-wrap .menu{justify-content:stretch;align-items:stretch}
.mobile-nav-wrap .nav a,.mobile-nav-wrap .menu a{padding:14px 16px;border:1px solid var(--line);border-radius:18px;background:#fffaf4;font-size:16px;font-weight:700}
.mobile-nav-wrap .nav li,.mobile-nav-wrap .menu li{width:100%}
.mobile-nav-wrap .nav .current-menu-item>a,.mobile-nav-wrap .menu .current-menu-item>a,.mobile-nav-wrap .nav .current_page_item>a,.mobile-nav-wrap .menu .current_page_item>a{background:var(--support-soft);color:var(--support)}
.mobile-nav-wrap .nav .current-menu-item>a::after,.mobile-nav-wrap .menu .current-menu-item>a::after,.mobile-nav-wrap .nav .current_page_item>a::after,.mobile-nav-wrap .menu .current_page_item>a::after{display:none}

@media (max-width: 820px){
  .site-header{position:sticky}
  .header-inner{grid-template-columns:1fr auto;grid-template-areas:"brand menu";gap:10px 16px;padding:8px 0}
  .brand{min-width:0;gap:10px;align-items:center}
  .brand-logo-wrap{width:92px}
  .brand-logo,.custom-logo{width:86px;max-height:60px}
  .brand-text{font-size:15px;gap:0}
  .brand-text small{display:block;font-size:12px}
  .header-actions,.desktop-nav-wrap{display:none}
  .mobile-menu-button{display:inline-flex}
  h1{font-size:34px;line-height:1.02;letter-spacing:-.04em}
  .hero-grid{padding:30px 0 34px;gap:24px}
  .hero-copy{padding-right:0}
  .hero-copy h1{max-width:none}
  .lead{font-size:16px;line-height:1.68}
  .button-row{display:grid;grid-template-columns:1fr;gap:12px;margin-top:20px}
  .button-row .btn{width:100%;margin:0}
  .hero-microcopy{font-size:15px;line-height:1.7;margin-top:14px}
  .preview{display:none}
  .section,.section-tight{padding:42px 0}
  .card{padding:22px}
  .footer-inner{grid-template-columns:1fr;gap:22px;padding:28px 0}
  .footer-menu{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;max-width:none}
  .footer-safety{display:block;line-height:1.7}
}

@media (max-width: 560px){
  .container{padding:0 16px}
  .brand-logo-wrap{width:74px}
  .brand-logo,.custom-logo{width:70px;max-height:52px}
  .brand-text{font-size:13px}
  .brand-text small{font-size:11px}
  .mobile-menu-button{padding:10px 14px;border-radius:14px;font-size:14px}
  h1{font-size:31px}
  .hero-grid{padding:24px 0 30px}
  .hero-copy .lead, .lead, .hero-copy p{font-size:15px}
  .hero-microcopy{font-size:14px}
  .site-footer .muted{font-size:14px}
  .footer-menu{grid-template-columns:1fr;gap:10px}
}



/* v4.0 mobile repair */
.mobile-menu-panel[hidden]{
  display:none !important;
}
@media (max-width: 820px){
  .header-actions,
  .desktop-nav-wrap{
    display:none !important;
  }
  .mobile-menu-button{
    display:inline-flex !important;
  }
  .header-inner{
    grid-template-columns:1fr auto !important;
    grid-template-areas:"brand menu" !important;
    gap:10px 14px !important;
    padding:10px 0 !important;
  }
  .brand{
    min-width:0;
  }
  .brand-logo-wrap{
    width:76px !important;
  }
  .brand-logo,
  .custom-logo{
    width:72px !important;
    max-height:54px !important;
  }
  .brand-text{
    font-size:14px !important;
    line-height:1.05 !important;
  }
  .brand-text small{
    display:block !important;
    font-size:11px !important;
  }
  .mobile-menu-panel{
    background:rgba(248,243,236,.98);
    border-top:1px solid rgba(47,49,47,.08);
  }
  .mobile-menu-inner{
    padding:14px 16px 18px !important;
  }
  .mobile-header-actions{
    display:grid !important;
    gap:10px !important;
    margin-bottom:12px !important;
  }
  .mobile-header-actions .btn,
  .mobile-header-actions .header-phone{
    width:100% !important;
    min-height:56px !important;
    border-radius:18px !important;
  }
  .mobile-nav-wrap .nav,
  .mobile-nav-wrap .menu{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
    justify-content:stretch !important;
    align-items:stretch !important;
    overflow:visible !important;
    flex-wrap:nowrap !important;
    padding:0 !important;
    margin:0 !important;
  }
  .mobile-nav-wrap li{
    display:block !important;
    margin:0 !important;
  }
  .mobile-nav-wrap .nav a,
  .mobile-nav-wrap .menu a{
    display:block !important;
    padding:14px 16px !important;
    border-radius:16px !important;
    background:#efe8dd !important;
    font-size:16px !important;
    line-height:1.35 !important;
    white-space:normal !important;
  }
  .mobile-nav-wrap .current-menu-item > a::after,
  .mobile-nav-wrap .current_page_item > a::after{
    display:none !important;
  }
  .hero-grid{
    padding:24px 0 28px !important;
    gap:22px !important;
  }
  h1{
    font-size:31px !important;
    line-height:0.98 !important;
  }
  .lead,
  .hero-copy p,
  .hero-microcopy{
    font-size:16px !important;
    line-height:1.65 !important;
  }
  .button-row{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:12px !important;
  }
  .button-row .btn{
    width:100% !important;
    min-height:58px !important;
  }
}
@media (max-width: 560px){
  .container{
    padding:0 16px !important;
  }
  .footer-menu{
    grid-template-columns:1fr !important;
    gap:10px !important;
  }
}



/* v4.1 mobile polish */
@media (max-width: 820px){
  .mobile-menu-inner{
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  /* keep only Join + Call in drawer */
  .mobile-nav .mobile-support-cta,
  .mobile-navigation .mobile-support-cta {
    display: none !important;
  }

  .mobile-header-actions{
    margin-bottom: 10px !important;
  }

  .mobile-header-actions .btn,
  .mobile-header-actions .header-phone{
    min-height: 54px !important;
  }

  /* tighten hero stack */
  .hero-grid,
  .home-hero,
  .page-hero{
    padding-top: 20px !important;
  }

  .button-row,
  .hero-actions{
    margin-top: 18px !important;
    gap: 12px !important;
  }

  .hero-microcopy,
  .lead + .hero-microcopy{
    margin-top: 14px !important;
  }

  /* more breathing room before first card */
  .main-promise-card,
  .first-feature-card,
  .section-card:first-of-type{
    margin-top: 18px !important;
  }
}



/* v4.2 final mobile cleanup */
@media (max-width: 820px){
  .mobile-header-actions{
    display:none !important;
  }
  .mobile-nav-wrap{
    margin-top: 0 !important;
  }
  .mobile-nav-wrap .nav,
  .mobile-nav-wrap .menu,
  .mobile-nav ul{
    gap: 9px !important;
  }
  .mobile-nav-wrap li:last-child,
  .mobile-nav-wrap .mobile-bottom-actions{
    margin-top: 8px !important;
    padding-top: 6px !important;
  }
  .mobile-bottom-actions{
    display:grid !important;
    gap:10px !important;
  }
  .mobile-bottom-actions a{
    display:block !important;
    padding:14px 16px !important;
    border-radius:16px !important;
    text-decoration:none !important;
    font-weight:700 !important;
    text-align:center !important;
  }
  .mobile-bottom-actions .mobile-call-link{
    background: transparent !important;
    border: 2px solid #2a6f73 !important;
    color: #2a6f73 !important;
  }
  .mobile-bottom-actions .mobile-join-link{
    background: #d9a741 !important;
    color: #231f1a !important;
    border: none !important;
  }
}



/* v4.3 mobile drawer CTAs */
@media (max-width: 820px){
  .mobile-bottom-actions{
    display:grid !important;
    gap:10px !important;
    margin-top:14px !important;
    padding-top:12px !important;
    border-top:1px solid rgba(47,49,47,.08) !important;
  }
  .mobile-bottom-actions a{
    display:block !important;
    text-align:center !important;
    text-decoration:none !important;
    font-weight:700 !important;
    padding:14px 16px !important;
    border-radius:16px !important;
  }
  .mobile-bottom-actions .mobile-call-link{
    background: transparent !important;
    border:2px solid #2a6f73 !important;
    color:#2a6f73 !important;
  }
  .mobile-bottom-actions .mobile-join-link{
    background:#d9a741 !important;
    color:#231f1a !important;
    border:none !important;
  }
}



/* v4.4 simplified homepage */
.home-simple-hero{
  padding: 64px 0 34px;
}
.home-simple-hero .simple-copy{
  max-width: 760px;
}
.home-simple-hero h1{
  margin: 0 0 18px;
}
.home-simple-hero .lead{
  max-width: 760px;
  font-size: clamp(20px, 2.1vw, 31px);
  line-height: 1.45;
  color: var(--text, #2f3130);
  opacity: .95;
  margin: 0 0 26px;
}
.home-quick-links{
  padding: 8px 0 72px;
}
.home-quick-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.home-quick-card{
  display:flex;
  flex-direction:column;
  padding: 24px 22px;
  border-radius: 22px;
  background: #f6f0e7;
  border: 1px solid rgba(47,49,47,.08);
  text-decoration:none;
  color: inherit;
  min-height: 180px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.home-quick-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(47,49,47,.08);
  border-color: rgba(42,111,115,.22);
}
.home-quick-card h3{
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.1;
}
.home-quick-card p{
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(47,49,47,.86);
}
.home-quick-card .quick-link-text{
  display:inline-block;
  margin-top:auto;
  font-weight:700;
  color:#2a6f73;
}
.home-safety-line{
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(47,49,47,.82);
}
.home-safety-line a{
  font-weight: 700;
}
@media (max-width: 980px){
  .home-quick-grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 820px){
  .home-simple-hero{
    padding: 28px 0 10px;
  }
  .home-simple-hero .lead{
    font-size: 18px;
    line-height: 1.62;
  }
  .home-quick-links{
    padding: 4px 0 42px;
  }
}
@media (max-width: 640px){
  .home-quick-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .home-quick-card{
    min-height: 0;
    padding: 20px 18px;
    border-radius: 18px;
  }
  .home-quick-card h3{
    font-size: 24px;
  }
}



/* v4.5 homepage tighten-up */
.home-simple-hero{
  padding: 46px 0 22px;
}
.home-simple-hero h1{
  margin-bottom: 12px;
}
.home-simple-hero .lead{
  margin-bottom: 20px;
}
.home-simple-hero .button-row{
  margin-top: 18px;
}
.home-simple-hero .btn-outline-support{
  background: transparent !important;
  color: #2a6f73 !important;
  border: 2px solid #2a6f73 !important;
}
.home-simple-hero .btn-outline-support:hover{
  background: rgba(42,111,115,.06) !important;
}
.home-quick-links{
  padding: 0 0 60px;
}
.home-quick-grid{
  gap: 16px;
}
.home-quick-card{
  min-height: 160px;
  padding: 22px 20px;
}
.home-quick-card h3{
  font-size: 26px;
  margin-bottom: 8px;
}
.home-quick-card p{
  font-size: 16px;
  margin-bottom: 10px;
}
@media (max-width: 820px){
  .home-simple-hero{
    padding: 22px 0 8px;
  }
  .home-simple-hero .lead{
    margin-bottom: 16px;
  }
  .home-quick-links{
    padding-bottom: 34px;
  }
}



/* v4.6 mobile footer cleanup */
@media (max-width: 820px){
  .site-footer{
    margin-top: 14px !important;
  }
  .site-footer .footer-inner,
  .footer-inner{
    padding: 28px 20px 30px !important;
  }
  .site-footer .footer-brand p,
  .footer-brand p{
    max-width: 30ch !important;
    margin-bottom: 14px !important;
  }

  /* simplify footer navigation on mobile */
  .site-footer .footer-links,
  .site-footer .footer-nav,
  .footer-links,
  .footer-nav{
    display: none !important;
  }

  .site-footer .footer-support-line,
  .footer-support-line{
    margin-top: 18px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(47,49,47,.08) !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
  }

  .mobile-footer-actions{
    display: grid !important;
    gap: 12px !important;
    margin-top: 18px !important;
  }

  .mobile-footer-actions a{
    display: block !important;
    text-align: center !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    padding: 15px 16px !important;
    border-radius: 16px !important;
  }

  .mobile-footer-actions .mobile-footer-support{
    background: #2a6f73 !important;
    color: #ffffff !important;
  }

  .mobile-footer-actions .mobile-footer-call{
    background: transparent !important;
    border: 2px solid #2a6f73 !important;
    color: #2a6f73 !important;
  }
}
@media (min-width: 821px){
  .mobile-footer-actions{
    display: none !important;
  }
}



/* v4.7 mobile footer fix */
@media (max-width: 820px){
  .site-footer .footer-menu,
  .footer-menu{
    display: none !important;
  }

  .site-footer .footer-inner,
  .footer-inner{
    display:block !important;
    padding: 26px 20px 18px !important;
  }

  .site-footer .footer-brand,
  .footer-brand{
    max-width: none !important;
  }

  .site-footer .footer-brand p,
  .footer-brand p{
    max-width: 30ch !important;
    margin-bottom: 0 !important;
  }

  .site-footer .footer-safety,
  .footer-safety{
    margin-top: 18px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(47,49,47,.08) !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
  }

  .site-footer .mobile-footer-actions,
  .mobile-footer-actions{
    display: grid !important;
    gap: 12px !important;
    margin: 18px 20px 28px !important;
  }

  .site-footer .mobile-footer-actions a,
  .mobile-footer-actions a{
    display: block !important;
    text-align: center !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    padding: 15px 16px !important;
    border-radius: 16px !important;
  }

  .site-footer .mobile-footer-support,
  .mobile-footer-support{
    background: #2a6f73 !important;
    color: #ffffff !important;
    border: none !important;
  }

  .site-footer .mobile-footer-call,
  .mobile-footer-call{
    background: transparent !important;
    border: 2px solid #2a6f73 !important;
    color: #2a6f73 !important;
  }
}
@media (min-width: 821px){
  .site-footer .mobile-footer-actions,
  .mobile-footer-actions{
    display: none !important;
  }
}



/* v4.8 bigger branding */
.brand-logo-wrap,
.site-branding .custom-logo-link,
.site-branding .site-logo{
  display:flex;
  align-items:center;
}

.brand-logo,
.custom-logo,
.site-branding img{
  width: 92px !important;
  max-width: 92px !important;
  height: auto !important;
}

.brand-text .site-title,
.site-branding .site-title,
.brand-title{
  font-size: 22px !important;
  line-height: 1.02 !important;
  font-weight: 800 !important;
  margin: 0 !important;
}

.brand-text .site-description,
.site-branding .site-description,
.brand-tagline{
  font-size: 16px !important;
  line-height: 1.1 !important;
  margin-top: 4px !important;
  opacity: .88;
}

.header-inner,
.site-header .header-inner{
  gap: 18px !important;
  min-height: 96px !important;
}

@media (max-width: 820px){
  .brand-logo,
  .custom-logo,
  .site-branding img{
    width: 84px !important;
    max-width: 84px !important;
  }

  .brand-text .site-title,
  .site-branding .site-title,
  .brand-title{
    font-size: 19px !important;
  }

  .brand-text .site-description,
  .site-branding .site-description,
  .brand-tagline{
    font-size: 15px !important;
  }

  .header-inner,
  .site-header .header-inner{
    min-height: 88px !important;
  }
}



/* v4.9 branding visual fix */
.brand{
  gap: 16px !important;
}
.brand-logo-wrap{
  width: 128px !important;
}
.brand-logo,
.custom-logo{
  width: 124px !important;
  max-width: 124px !important;
  max-height: 90px !important;
  height: auto !important;
}
.brand-text{
  font-size: 22px !important;
  line-height: 1.0 !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}
.brand-text small{
  font-size: 16px !important;
  line-height: 1.05 !important;
  margin-top: 4px !important;
}
.header-inner,
.site-header .header-inner{
  min-height: 108px !important;
  gap: 10px 22px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

@media (max-width: 820px){
  .brand{
    gap: 12px !important;
  }
  .brand-logo-wrap{
    width: 100px !important;
  }
  .brand-logo,
  .custom-logo{
    width: 96px !important;
    max-width: 96px !important;
    max-height: 72px !important;
  }
  .brand-text{
    font-size: 20px !important;
    line-height: 1.0 !important;
  }
  .brand-text small{
    font-size: 15px !important;
  }
  .header-inner,
  .site-header .header-inner{
    min-height: 92px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}



/* v5.0 stronger branding */
.brand{
  gap: 18px !important;
}
.brand-logo-wrap{
  width: 154px !important;
}
.brand-logo,
.custom-logo{
  width: 148px !important;
  max-width: 148px !important;
  max-height: 106px !important;
  height: auto !important;
}
.brand-text{
  font-size: 28px !important;
  line-height: 0.98 !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
}
.brand-text small{
  font-size: 18px !important;
  line-height: 1.05 !important;
  margin-top: 5px !important;
  display:block !important;
}
.header-inner,
.site-header .header-inner{
  min-height: 122px !important;
  gap: 12px 26px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

@media (max-width: 820px){
  .brand-logo-wrap{
    width: 112px !important;
  }
  .brand-logo,
  .custom-logo{
    width: 108px !important;
    max-width: 108px !important;
    max-height: 80px !important;
  }
  .brand-text{
    font-size: 22px !important;
    line-height: 0.98 !important;
  }
  .brand-text small{
    font-size: 16px !important;
  }
  .header-inner,
  .site-header .header-inner{
    min-height: 98px !important;
  }
}



/* v5.1 bigger logo only */
.brand-logo-wrap{
  width: 176px !important;
}
.brand-logo,
.custom-logo{
  width: 170px !important;
  max-width: 170px !important;
  max-height: 122px !important;
  height: auto !important;
}

@media (max-width: 820px){
  .brand-logo-wrap{
    width: 124px !important;
  }
  .brand-logo,
  .custom-logo{
    width: 120px !important;
    max-width: 120px !important;
    max-height: 88px !important;
  }
}



/* v5.2 text refine */
.brand-text small{
  font-size: 15px !important;
}
.home-simple-hero .lead{
  font-size: clamp(18px, 1.9vw, 28px) !important;
}
@media (max-width: 820px){
  .brand-text small{
    font-size: 14px !important;
  }
  .home-simple-hero .lead{
    font-size: 17px !important;
  }
}



/* v5.3 header text revert */
.brand-text small{
  font-size: 18px !important;
}
@media (max-width: 820px){
  .brand-text small{
    font-size: 16px !important;
  }
}



/* v5.4 home hero refine */
.home-simple-hero h1{
  font-size: clamp(56px, 5vw, 72px) !important;
  line-height: 0.98 !important;
}
.home-simple-hero .lead{
  font-size: clamp(17px, 1.7vw, 24px) !important;
  line-height: 1.55 !important;
}
@media (max-width: 820px){
  .home-simple-hero h1{
    font-size: 46px !important;
  }
  .home-simple-hero .lead{
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
}



/* v5.9 precise button order */
:root{
  --stb-amber:#d9a741;
  --stb-teal:#2a6f73;
  --stb-ink:#231f1a;
}

/* Keep header actions untouched */
.header-actions .header-phone{
  background: transparent !important;
  color: var(--stb-teal) !important;
  border: 1px solid rgba(31,95,99,.22) !important;
}
.header-actions .btn{
  background: var(--stb-amber) !important;
  color: var(--stb-ink) !important;
  border-color: var(--stb-amber) !important;
}

/* Inline phone links stay plain text */
p a[href^="tel:"],
.home-safety-line a[href^="tel:"],
.footer-safety a[href^="tel:"],
.footer-support-line a[href^="tel:"]{
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  color: var(--stb-teal) !important;
  text-decoration: none !important;
}

/* Explicit per-row button order */
.button-order-two > a,
.button-order-three > a{
  text-decoration:none !important;
  font-weight:700 !important;
  border-radius:18px !important;
}

/* Two-button rows: amber, then teal */
.button-order-two > a:nth-child(1){
  background: var(--stb-amber) !important;
  color: var(--stb-ink) !important;
  border: 2px solid var(--stb-amber) !important;
}
.button-order-two > a:nth-child(2){
  background: var(--stb-teal) !important;
  color: #fff !important;
  border: 2px solid var(--stb-teal) !important;
}

/* Three-button rows: amber, teal, clear */
.button-order-three > a:nth-child(1){
  background: var(--stb-amber) !important;
  color: var(--stb-ink) !important;
  border: 2px solid var(--stb-amber) !important;
}
.button-order-three > a:nth-child(2){
  background: var(--stb-teal) !important;
  color: #fff !important;
  border: 2px solid var(--stb-teal) !important;
}
.button-order-three > a:nth-child(3){
  background: transparent !important;
  color: var(--stb-teal) !important;
  border: 2px solid var(--stb-teal) !important;
}

.button-order-three > a:nth-child(3):hover{
  background: rgba(42,111,115,.06) !important;
}



/* v5.10 header call match */
.header-actions .header-phone,
.site-header .header-actions .header-phone,
.header-actions a[href^="tel:"],
.site-header .header-actions a[href^="tel:"]{
  background: transparent !important;
  color: #2a6f73 !important;
  border: 2px solid #2a6f73 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
}



/* v5.11 equal header CTA sizes */
.header-actions{
  display:flex !important;
  align-items:center !important;
  gap:16px !important;
}

.header-actions .header-phone,
.header-actions .btn,
.site-header .header-actions .header-phone,
.site-header .header-actions .btn{
  min-width: 210px !important;
  min-height: 58px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding: 0 24px !important;
  border-radius: 18px !important;
  box-sizing: border-box !important;
  text-align: center !important;
  white-space: nowrap !important;
}

@media (max-width: 1100px){
  .header-actions .header-phone,
  .header-actions .btn,
  .site-header .header-actions .header-phone,
  .site-header .header-actions .btn{
    min-width: 190px !important;
  }
}



/* v5.12 donate card alignment */
.donation-grid,
.donate-grid{
  align-items: stretch !important;
}

.donation-card,
.donate-card{
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.donation-card p,
.donate-card p,
.donation-card .amount-copy,
.donate-card .amount-copy{
  min-height: 72px !important;
}

.donation-card .btn,
.donate-card .btn,
.donation-card .button-row,
.donate-card .button-row{
  margin-top: auto !important;
}



/* v5.13 donate button line fix */
.donate-amount-grid{
  align-items: stretch !important;
}
.donate-amount-card{
  display:flex !important;
  flex-direction:column !important;
  min-height: 232px !important;
}
.donate-amount-card .muted{
  min-height: 72px !important;
  margin-bottom: 18px !important;
}
.donate-amount-card .btn{
  margin-top:auto !important;
  align-self:flex-start !important;
}





/* v5.16 header CTA row */
.header-actions,
.site-header .header-actions{
  display:flex !important;
  flex-direction: row !important;
  align-items:center !important;
  gap:16px !important;
}



/* v5.17 mobile header repair */
@media (max-width: 820px){
  .header-inner,
  .site-header .header-inner{
    grid-template-columns: 1fr auto !important;
    grid-template-areas: "brand menu" !important;
    gap: 12px 14px !important;
    min-height: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    align-items: center !important;
  }

  .brand{
    min-width: 0 !important;
    gap: 12px !important;
    align-items: center !important;
  }

  .brand-logo-wrap{
    width: 92px !important;
  }

  .brand-logo,
  .custom-logo{
    width: 88px !important;
    max-width: 88px !important;
    max-height: 68px !important;
    height: auto !important;
  }

  .brand-text{
    font-size: 16px !important;
    line-height: 1.02 !important;
    gap: 0 !important;
  }

  .brand-text small{
    display: block !important;
    font-size: 12px !important;
    line-height: 1.08 !important;
    margin-top: 3px !important;
  }

  .header-actions,
  .site-header .header-actions,
  .desktop-nav-wrap,
  .site-header .desktop-nav-wrap{
    display: none !important;
  }

  .mobile-menu-button{
    display: inline-flex !important;
    grid-area: menu !important;
    justify-self: end !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 52px !important;
    padding: 0 18px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(31,95,99,.18) !important;
    background: #fffaf4 !important;
    color: var(--support) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  .mobile-menu-panel[hidden]{
    display: none !important;
  }

  .mobile-menu-panel{
    display: block !important;
  }
}



/* v5.18 founding pages */
.lead-sm{
  max-width: 720px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(47,49,47,.82);
}
.founding-levels .card h3{
  margin-bottom: 8px;
}
@media (max-width: 820px){
  .lead-sm{
    font-size: 16px;
  }
}


/* v5.19 dedicated forms */
.lead-sm{
  max-width: 760px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(47,49,47,.82);
}
@media (max-width: 820px){
  .lead-sm{
    font-size: 16px;
  }
}


/* v5.20 donate page supporter levels */
.donate-level-grid{align-items:stretch}
.donate-level-card{display:flex;flex-direction:column;min-height:100%}
.donate-level-card h2{font-size:42px;margin-bottom:14px;color:#23302c}
.donate-level-card .muted{margin-bottom:24px;flex:1}
.donate-level-card .btn{margin-top:auto;width:100%}
.donate-level-card .kicker{color:var(--support);font-weight:800}
@media (max-width:980px){.donate-level-card h2{font-size:38px}}


/* v5.23 founding matches donate */
.eyebrow{
  letter-spacing: .18em;
  font-size: 14px;
  font-weight: 800;
  color: var(--support);
  margin-bottom: 10px;
}
.founding-amount-grid{
  gap: 28px !important;
}
.founding-amount-grid .donate-amount-card{
  min-height: 370px !important;
}
.founding-amount-grid .donate-amount-card .btn{
  width: 100% !important;
  text-align: center !important;
}
@media (max-width: 1100px){
  .founding-amount-grid{
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
}
@media (max-width: 820px){
  .founding-amount-grid{
    grid-template-columns: 1fr !important;
  }
}



/* v5.24 founding eyebrow cleanup */
.founding-amount-grid .eyebrow{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: block !important;
  width: auto !important;
  min-height: 0 !important;
}



/* v5.25 founding card height tighten */
.founding-amount-grid .donate-amount-card{
  min-height: 0 !important;
  height: auto !important;
  padding: 28px !important;
}
.founding-amount-grid .donate-amount-card .muted{
  min-height: 0 !important;
  margin-bottom: 22px !important;
}
.founding-amount-grid .donate-amount-card h2{
  margin-bottom: 10px !important;
}
.founding-amount-grid .donate-amount-card .btn{
  margin-top: 0 !important;
}
@media (max-width: 820px){
  .founding-amount-grid .donate-amount-card{
    padding: 24px !important;
  }
}
