/*
Theme Name: Hello Elementor Child — FOCCL
Theme URI: https://foccl.org
Description: Child theme for Friends of the Chevy Chase Library. Custom brand-matched header, footer and homepage. Reversible: switch active theme back to Hello Elementor to restore the original Elementor chrome.
Author: Solaris Intelligence
Template: hello-elementor
Version: 1.0.0
*/

:root{
  --ink:#1E2745;
  --teal:#2FB8A8;
  --teal-d:#1F9C8E;
  --purple:#8E7CC3;
  --coral:#EE8A78;
  --coral-d:#E06F5B;
  --gold:#F2B84B;
  --green:#7FB77E;
  --paper:#FBF8F1;
  --paper-2:#F3EDE0;
  --card:#FFFFFF;
  --line:#E7DFD0;
  --muted:#5C6377;
  --shadow:0 12px 34px rgba(30,39,69,.10);
  --shadow-sm:0 4px 14px rgba(30,39,69,.08);
  --r:18px;
}

/* ===== base ===== */
body.foccl{margin:0;font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);background:var(--paper);line-height:1.6;-webkit-font-smoothing:antialiased}
body.foccl h1,body.foccl h2,body.foccl h3{font-family:'Fraunces',Georgia,serif;line-height:1.1;margin:0;font-weight:600}
body.foccl a{color:inherit;text-decoration:none}
.foccl .wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.foccl .eyebrow{font-size:.8rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--teal-d);margin-bottom:14px}
.foccl .skip-link{position:absolute;left:-9999px}

/* ===== buttons ===== */
.foccl .btn{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:.92rem;padding:12px 22px;border-radius:999px;transition:transform .15s,box-shadow .2s,background .2s,color .2s;cursor:pointer;border:none;line-height:1}
.foccl .btn-primary{background:var(--coral);color:#fff;box-shadow:0 8px 20px rgba(238,138,120,.35)}
.foccl .btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(238,138,120,.45);color:#fff}
.foccl .btn-ghost{background:transparent;color:var(--ink);border:2px solid var(--ink)}
.foccl .btn-ghost:hover{background:var(--ink);color:#fff}

/* ===== header (site-wide) ===== */
header.site{position:sticky;top:0;z-index:200;background:rgba(251,248,241,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
header.site .nav{display:flex;align-items:center;justify-content:space-between;gap:18px;height:82px}
header.site .brand{display:flex;align-items:center;gap:14px}
header.site .brand img{height:56px;width:auto;display:block}
header.site .brand .bt{font-family:'Fraunces',serif;font-weight:600;font-size:1.02rem;line-height:1.05;color:var(--ink)}
header.site .brand .bt small{display:block;font-family:'Inter',sans-serif;font-weight:600;font-size:.6rem;letter-spacing:.16em;color:var(--muted);text-transform:uppercase;margin-top:3px}
header.site nav.links{display:flex;align-items:center;gap:30px}
header.site nav.links a{font-weight:600;font-size:.95rem;color:var(--ink);position:relative;padding:6px 0}
header.site nav.links a::after{content:"";position:absolute;left:0;right:100%;bottom:0;height:2px;background:var(--teal);transition:right .25s}
header.site nav.links a:hover::after,header.site nav.links a.current::after{right:0}
header.site .mnav-btn{display:none;background:none;border:none;cursor:pointer;padding:10px;margin:-10px}
header.site .mnav-btn span,header.site .mnav-btn span::before,header.site .mnav-btn span::after{display:block;width:26px;height:2.5px;background:var(--ink);border-radius:2px;position:relative;transition:.25s}
header.site .mnav-btn span::before{content:"";position:absolute;top:-8px}
header.site .mnav-btn span::after{content:"";position:absolute;top:8px}
body.nav-open header.site .mnav-btn span{background:transparent}
body.nav-open header.site .mnav-btn span::before{transform:translateY(8px) rotate(45deg)}
body.nav-open header.site .mnav-btn span::after{transform:translateY(-8px) rotate(-45deg)}

/* ===== hero ===== */
.foccl-home .hero{position:relative;overflow:hidden;background:linear-gradient(160deg,#243056 0%,#1E2745 60%,#151C33 100%);color:#fff}
.foccl-home .hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:54px;align-items:center;padding-top:72px;padding-bottom:84px;position:relative;z-index:2}
.foccl-home .hero h1{font-size:clamp(2.4rem,4.6vw,3.7rem);font-weight:600;letter-spacing:-.01em;color:#fff}
.foccl-home .hero h1 em{font-style:italic;color:var(--gold)}
.foccl-home .hero p.lede{font-size:1.12rem;color:#D6D9E6;max-width:34ch;margin:22px 0 30px}
.foccl-home .hero .cta{display:flex;gap:14px;flex-wrap:wrap}
.foccl-home .hero .cta .btn-ghost{color:#fff;border-color:#fff}
.foccl-home .hero .cta .btn-ghost:hover{background:#fff;color:var(--ink)}
.foccl-home .hero .spines{display:flex;gap:6px;margin-bottom:26px}
.foccl-home .hero .spines span{height:10px;width:46px;border-radius:4px}
.foccl-home .heroimg{position:relative}
.foccl-home .heroimg .frame{border-radius:22px;overflow:hidden;box-shadow:0 30px 60px rgba(0,0,0,.4);border:6px solid rgba(255,255,255,.08);transform:rotate(1.4deg)}
.foccl-home .heroimg img{display:block;width:100%;height:100%;object-fit:cover}
.foccl-home .heroimg .tag{position:absolute;left:-14px;bottom:26px;background:var(--gold);color:var(--ink);font-weight:700;font-size:.82rem;padding:10px 16px;border-radius:12px;box-shadow:var(--shadow);transform:rotate(-2deg)}
.foccl-home .blob{position:absolute;border-radius:50%;filter:blur(8px);opacity:.5;z-index:1}

/* ===== stats ===== */
.foccl-home .stats{background:var(--paper-2);border-bottom:1px solid var(--line)}
.foccl-home .stats .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:34px 24px}
.foccl-home .stat{text-align:center}
.foccl-home .stat .n{font-family:'Fraunces',serif;font-size:2.1rem;font-weight:700;color:var(--teal-d);line-height:1}
.foccl-home .stat .l{font-size:.82rem;color:var(--muted);font-weight:600;margin-top:6px}

/* ===== sections ===== */
.foccl-home section{padding:76px 0}
.foccl-home .sec-head{max-width:720px;margin:0 auto 46px;text-align:center}
.foccl-home .sec-head h2{font-size:clamp(1.8rem,3.2vw,2.5rem)}
.foccl-home .sec-head p{color:var(--muted);font-size:1.06rem;margin-top:12px}

.foccl-home .split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.foccl-home .split h2{font-size:clamp(1.7rem,3vw,2.3rem)}
.foccl-home .card-quote{background:var(--card);border-radius:var(--r);box-shadow:var(--shadow);padding:38px;border-left:6px solid var(--purple)}
.foccl-home .card-quote .q{font-family:'Fraunces',serif;font-style:italic;font-size:1.24rem;line-height:1.5;color:var(--ink)}
.foccl-home .card-quote .a{margin-top:16px;font-size:.9rem;font-weight:600;color:var(--muted)}
.foccl-home .mvv{display:flex;gap:14px;margin-top:26px;flex-wrap:wrap}
.foccl-home .chip{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:9px 16px;font-weight:600;font-size:.88rem;box-shadow:var(--shadow-sm)}
.foccl-home .dot{width:10px;height:10px;border-radius:50%}
.foccl-home .lead{color:var(--muted);font-size:1.05rem;margin-top:16px}

.foccl-home .support{background:linear-gradient(180deg,var(--paper) 0%,#F6F1E6 100%)}
.foccl-home .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.foccl-home .pcard{background:var(--card);border-radius:var(--r);padding:26px;box-shadow:var(--shadow-sm);border:1px solid var(--line);transition:transform .18s,box-shadow .2s}
.foccl-home .pcard:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.foccl-home .pcard .ic{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;font-size:1.4rem;margin-bottom:16px}
.foccl-home .pcard h3{font-size:1.14rem;margin:0 0 6px}
.foccl-home .pcard p{font-size:.92rem;color:var(--muted);margin:0}

.foccl-home .donate-band{background:var(--teal);color:#fff;border-radius:26px;padding:56px;text-align:center;position:relative;overflow:hidden;box-shadow:var(--shadow)}
.foccl-home .donate-band h2{font-size:clamp(1.8rem,3vw,2.4rem);color:#fff}
.foccl-home .donate-band p{max-width:56ch;margin:14px auto 26px;color:#EAFBF8;font-size:1.05rem}
.foccl-home .donate-band .ways{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:8px;position:relative;z-index:2}
.foccl-home .donate-band .btn-primary{background:#fff;color:var(--teal-d)}
.foccl-home .donate-band .btn-primary:hover{color:var(--teal-d)}
.foccl-home .donate-band .btn-ghost{border-color:#fff;color:#fff}
.foccl-home .donate-band .btn-ghost:hover{background:#fff;color:var(--teal-d)}
.foccl-home .donate-band .price{display:inline-block;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:6px 16px;font-weight:700;font-size:.86rem;margin-bottom:18px;position:relative;z-index:2}

.foccl-home .board .grid{grid-template-columns:repeat(3,1fr);gap:18px}
.foccl-home .member{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px;box-shadow:var(--shadow-sm)}
.foccl-home .avatar{width:48px;height:48px;border-radius:50%;flex:0 0 48px;display:grid;place-items:center;font-family:'Fraunces',serif;font-weight:700;color:#fff;font-size:1.05rem}
.foccl-home .member .nm{font-weight:700;font-size:.96rem}
.foccl-home .member .rl{font-size:.8rem;color:var(--muted)}

/* ===== footer (site-wide) ===== */
footer.site{background:var(--ink);color:#C9CDDB;padding:64px 0 26px}
footer.site .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px;padding-bottom:40px;border-bottom:1px solid rgba(255,255,255,.1)}
footer.site h4{color:#fff;font-family:'Inter',sans-serif;font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;margin:0 0 16px}
footer.site p{margin:0 0 .6em;font-size:.92rem}
footer.site a:hover{color:#fff}
footer.site .fbrand{display:flex;align-items:center;gap:12px;margin-bottom:16px}
footer.site .fbrand img{height:48px;background:#fff;border-radius:10px;padding:4px}
footer.site .fbrand strong{color:#fff;font-family:'Fraunces',serif;font-size:1.02rem}
footer.site .li{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:9px;background:rgba(255,255,255,.1);margin-top:6px;transition:background .2s}
footer.site .li:hover{background:var(--teal)}
footer.site .foot-b{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:22px;font-size:.8rem;color:#8A90A6}
footer.site .foot-b .disc{max-width:56ch;text-align:right}

/* ===== responsive ===== */
@media(max-width:900px){
  header.site .mnav-btn{display:block}
  header.site nav.links{position:absolute;top:82px;left:0;right:0;flex-direction:column;align-items:flex-start;gap:0;background:var(--paper);border-bottom:1px solid var(--line);padding:8px 24px 16px;box-shadow:var(--shadow);display:none}
  body.nav-open header.site nav.links{display:flex}
  header.site nav.links a{width:100%;padding:12px 0;border-bottom:1px solid var(--line)}
  header.site .brand .bt{font-size:.92rem}
  header.site .donate-cta{padding:10px 16px;font-size:.85rem}
  .foccl-home .hero .wrap{grid-template-columns:1fr;gap:34px;padding-top:44px;padding-bottom:52px}
  .foccl-home .heroimg{order:-1}
  .foccl-home .split{grid-template-columns:1fr;gap:30px}
  .foccl-home .stats .wrap{grid-template-columns:repeat(2,1fr);gap:26px}
  .foccl-home .grid,.foccl-home .board .grid{grid-template-columns:1fr}
  .foccl-home .donate-band{padding:38px 22px}
  .foccl-home section{padding:54px 0}
  footer.site .cols{grid-template-columns:1fr;gap:28px}
  footer.site .foot-b{flex-direction:column}
  footer.site .foot-b .disc{text-align:left}
}
@media(max-width:520px){
  header.site .brand .bt{display:none}
  .foccl-home .stats .wrap{grid-template-columns:repeat(2,1fr)}
}
