/* Family theme — quiet editorial midcentury. Warm paper, oak / walnut / sandstone tones, charcoal type, one amber accent used sparingly. */
.theme-family{--paper:#F4EEE3;--paper2:#FAF6EF;--ink:#2A2724;--slate:#3B4045;--muted:#80756B;--line:#E0D5C4;--oak:#A9713F;--walnut:#5A3C29;--sand:#C9A086;--blush:#E6D2C2;--amber:#D4802E;
 --display:"Jost","Futura","Century Gothic",system-ui,sans-serif}
html:has(body.theme-family){background:var(--paper)}
body.theme-family{font-family:"Nunito Sans",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}
.theme-family h1,.theme-family h2,.theme-family h3,.theme-family .btn,.theme-family .pcard b,.theme-family label{font-family:var(--display)}
.theme-family a{color:var(--walnut)}
.theme-family .wrap{max-width:980px;padding:0 1.5rem}
.theme-family .ic{display:none}
.theme-family .tile .ic{display:inline-block}

/* Section labels */
.theme-family .label,.theme-family .card h2{font:500 .74rem/1 var(--display);text-transform:uppercase;letter-spacing:.22em;color:var(--muted);margin:0 0 1.6rem}

/* Hero (shared by home, profiles, portal) */
.theme-family .hero{color:var(--ink);background:var(--paper);padding:5.5rem 0 3.5rem;overflow:visible}
.theme-family .hero h1{font-weight:400;letter-spacing:-.015em;line-height:1.02;color:var(--ink);margin:0}
.theme-family .back{position:absolute;left:1.5rem;top:1.5rem;color:var(--muted);font:500 .74rem/1 var(--display);letter-spacing:.18em;text-transform:uppercase;text-decoration:none}
.theme-family .back:hover{color:var(--ink)}

/* Home */
.theme-family .home-hero{padding:7rem 0 4.5rem;background:radial-gradient(90% 70% at 100% 0%,rgba(212,128,46,.09),transparent 70%),var(--paper)}
.theme-family .home-hero h1{font-size:clamp(3rem,13vw,6.2rem);max-width:9ch}
.theme-family .motto{font:italic 400 1.08rem/1.5 "Nunito Sans",system-ui,sans-serif;color:var(--muted);margin:2.2rem 0 0;max-width:none;display:flex;align-items:center;gap:.9rem}
.theme-family .motto::before{content:"";flex:0 0 28px;height:2px;background:var(--amber)}
.theme-family .section{padding:3.5rem 0}
.theme-family .way{border-top:1px solid var(--line)}
.theme-family .pillars{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;column-gap:3rem;counter-reset:none}
.theme-family .pillar{display:flex;align-items:baseline;gap:1.1rem;padding:1.05rem 0;border-top:1px solid var(--line);font:400 1.22rem/1.35 var(--display);color:var(--ink);background:none;border:0;border-top:1px solid var(--line);border-radius:0}
.theme-family .pillar:last-child{border-bottom:1px solid var(--line)}
.theme-family .pillar .num{font:500 .78rem/1 var(--display);letter-spacing:.08em;color:var(--oak);min-width:1.6rem}
@media(min-width:680px){.theme-family .pillars{grid-template-columns:1fr 1fr}.theme-family .pillar:nth-last-child(2){border-bottom:1px solid var(--line)}}
.theme-family .fam{padding-top:1rem;padding-bottom:4.5rem}
.theme-family .people{display:grid;grid-template-columns:1fr 1fr;gap:2rem 1rem;margin:0}
@media(min-width:720px){.theme-family .people{grid-template-columns:repeat(3,1fr);gap:2.6rem 1.6rem}}
.theme-family .pcard{display:block;background:none;border:0;border-radius:0;padding:0;text-decoration:none;color:var(--ink);transition:none}
.theme-family .pcard:hover,.theme-family .pcard:focus{transform:none;box-shadow:none}
.theme-family .pcard .avatar{width:100%;height:auto;aspect-ratio:4/5;border-radius:4px;font-size:clamp(2.4rem,9vw,3.6rem);margin:0 0 .85rem;transition:opacity .2s}
.theme-family .pcard:hover .avatar{opacity:.92}
.theme-family .pcard b{display:block;font-weight:500;font-size:1.12rem;letter-spacing:.01em}
.theme-family .pcard small{display:block;color:var(--muted);font-size:.86rem}
.theme-family .pcard .arr{display:inline-block;transition:transform .2s}
.theme-family .pcard:hover .arr{transform:translateX(3px)}

/* Initials fallback: plain tonal blocks, ready for real photos */
.theme-family .avatar{background:var(--slate)!important;color:var(--paper2);font:300 2rem/1 var(--display);border:0;box-shadow:none;border-radius:4px;display:grid;place-items:center;letter-spacing:0}
.theme-family .avatar[data-p=david]{background:#3B4045!important}
.theme-family .avatar[data-p=christy]{background:#C29A80!important}
.theme-family .avatar[data-p=lucas]{background:#A9713F!important}
.theme-family .avatar[data-p=payson]{background:#5A3C29!important}
.theme-family .avatar[data-p=natalie]{background:#E3CDBB!important;color:var(--walnut)}
.theme-family .avatar[data-p=bennett]{background:#7F7565!important}
.theme-family .avatar img{border-radius:inherit}

/* Profile */
.theme-family .phero{text-align:left;padding:5.5rem 0 1.5rem;background:radial-gradient(90% 60% at 100% 0%,rgba(212,128,46,.07),transparent 70%),var(--paper)}
.theme-family .phero .avatar.big{width:112px;height:140px;font-size:3.2rem;margin:0 0 1.8rem;border:0;box-shadow:none}
.theme-family .phero h1{font-size:clamp(2.8rem,12vw,5rem)}
.theme-family .phero .tag{color:var(--muted);font-size:1.05rem;margin:.2rem 0 1.4rem;opacity:1}
.theme-family .phero .tag:empty,.theme-family .phero .tag:has(+.btn){min-height:0}
.theme-family .phero + .section{padding-top:2rem}
.theme-family .btn{background:var(--slate);color:var(--paper2);font-weight:500;font-size:.95rem;letter-spacing:.04em;border-radius:999px;padding:.85rem 1.6rem;box-shadow:none;transition:background .2s}
.theme-family .btn:hover{background:var(--ink);filter:none}
.theme-family .grid2{gap:0 3rem}
.theme-family .card{background:none;border:0;border-top:1px solid var(--line);border-radius:0;padding:1.8rem 0 2rem;box-shadow:none}
.theme-family .card h2{display:block;margin-bottom:1rem}
.theme-family .card ul{padding-left:1.1rem}
.theme-family .empty{background:none;border:0;border-radius:0;padding:0;margin:0;text-align:left;font-style:normal;color:#A39789}

/* Portal */
.theme-family .phero[style]{padding-bottom:2.5rem!important}
.theme-family .box{max-width:420px;margin:.5rem auto 4rem;background:var(--paper2);border:1px solid var(--line);border-radius:6px;padding:1.8rem;box-shadow:none}
.theme-family .box p{color:var(--muted);font-size:.95rem}
.theme-family label{font-weight:500;font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);margin:1.1rem 0 .45rem}
.theme-family input[type=password],.theme-family input[type=text]{border:1px solid #D6C9B6;border-radius:4px;background:#fff;font-family:inherit;color:var(--ink);font-size:1.05rem;padding:.8rem .9rem}
.theme-family input:focus{outline:none;border-color:var(--oak);box-shadow:0 0 0 3px rgba(169,113,63,.15)}
.theme-family .box .btn{margin-top:.6rem;padding:.95rem 1.6rem}
.theme-family .err{background:#F5E3D8;color:#8A3E1C;border-radius:4px}
.theme-family .linkbtn{color:var(--muted);font-size:.85rem;padding:0;margin-top:.8rem}
.theme-family .eyebrow{font:500 .74rem/1 var(--display);text-transform:uppercase;letter-spacing:.22em;color:var(--muted);opacity:1;margin:0 0 1rem}
.theme-family .tile{background:var(--paper2);border:1px solid var(--line);border-radius:6px;box-shadow:none;color:var(--ink)}
.theme-family .tile small{color:var(--muted)}

/* Footer */
.theme-family footer{background:var(--ink);color:#B9AE9F;text-align:left;padding:2.6rem 1.5rem 3rem;font-size:.88rem;border:0;box-shadow:none}
.theme-family footer p{max-width:980px;margin:0 auto .4rem}
.theme-family footer em{color:#E9E1D3;font-style:italic}
.theme-family footer a{color:#D9C4A8;text-decoration:none;font:500 .72rem/1 var(--display);letter-spacing:.2em;text-transform:uppercase}
