:root{--foundation-ink:#102d30;--foundation-teal:#005b53;--foundation-paper:#faf8f2;--foundation-gold:#f3c565;--foundation-coral:#cd5f52}
body{color:var(--foundation-ink);background:var(--foundation-paper)}
#app h1,#app h2{font-family:Georgia,'Times New Roman',serif;font-weight:600;letter-spacing:-.045em}
#app h1{font-size:clamp(2.7rem,6vw,6.4rem);line-height:1.01;overflow-wrap:break-word}
#app h2{font-size:clamp(1.85rem,3.4vw,3.4rem);line-height:1.08}
#app .foundation-home-hero,#app>.pagehero{background:#003b36;color:#fffaf0;border-bottom:5px solid var(--foundation-gold)}
#app .foundation-home-hero,#app>.pagehero{padding-block:clamp(3.4rem,8vw,7.5rem)}
#app .foundation-home-hero h1,#app>.pagehero h1{color:inherit}
#app>.pagehero h1{max-width:18ch}
#app .foundation-home-hero h1 em{color:#ffe098}
#app .foundation-home-hero .lead,#app .foundation-home-hero .under,#app .foundation-home-hero .photo small,#app>.pagehero p{color:#e8f8f6}
#app>.pagehero p,#app .foundation-home-hero .lead{font-size:clamp(1.08rem,2vw,1.32rem);max-width:63ch;line-height:1.55}
#app>.pagehero .ey{display:block;color:#ffe098;letter-spacing:.12em;margin-bottom:1.4rem}
#app .foundation-home-hero .photo{border-radius:0;background:#00514a;padding:.6rem;box-shadow:0 18px 55px #071e234a}
#app .foundation-home-hero .photo img{border-radius:0;display:block;width:100%;object-fit:cover}
#app .foundation-home-hero .btn,#app>.pagehero .btn{background:var(--foundation-gold);color:#162c29;border-color:transparent}
#app .card{border-radius:.35rem;box-shadow:none}
#app .card h3{line-height:1.2}
#app .foundation-service-grid{gap:clamp(.85rem,2vw,1.6rem);grid-template-columns:repeat(2,minmax(0,1fr))}
#app .foundation-service-grid .card{background:#fff;border-top:4px solid var(--service-accent,#01b7a8);padding:clamp(1.15rem,3vw,2.15rem)}
#app .foundation-service-grid a.card:hover{background:#f1f7f4}
#app .foundation-impact-band{background:#e4f6f4;border-block:1px solid #c8dad0}
#app>.feature{padding-block:clamp(1.6rem,3.6vw,3.5rem)}
#app .featuregrid.foundation-text-feature{display:block}
#app .foundation-text-feature .copy{max-width:75ch;border-left:3px solid #01b7a8;padding:clamp(.85rem,2.2vw,1.75rem)}
#app .foundation-text-feature .copy .ey{color:#005b53}
#app :where(a,button,input,select,textarea):focus-visible{outline:2px solid #cc594d;outline-offset:4px}
#app .foundation-home-hero :focus-visible,#app>.pagehero :focus-visible{outline-color:#ffe098}
@media(max-width:700px){#app .foundation-service-grid{grid-template-columns:1fr}#app h1{font-size:clamp(2.45rem,8.6vw,3.55rem)}#app .foundation-home-hero,#app>.pagehero{padding-block:3rem}}
@media(prefers-reduced-motion:reduce){#app .card{transition:none}}

#app .foundation-home-hero{position:relative;isolation:isolate;display:grid;align-items:center;min-height:clamp(33rem,52vw,46rem);padding-block:clamp(3rem,6vw,5.5rem)}
#app .foundation-home-hero .split{display:block}
#app .foundation-home-hero .split>div:first-child{position:relative;z-index:1;max-width:58%}
#app .foundation-home-hero .photo{position:absolute;inset:0 0 0 40%;padding:0;border:0;box-shadow:none;overflow:hidden}
#app .foundation-home-hero .photo:before{content:none}
#app .foundation-home-hero .photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#003b36 0%,#103a38a3 27%,transparent 76%);pointer-events:none}
#app .foundation-home-hero .photo img{height:100%;aspect-ratio:auto;object-position:center}
#app .foundation-home-hero .photo small{z-index:1;background:#003b36;color:white}
#app .foundation-home-hero h1{font-size:clamp(3rem,5.6vw,6rem)}
#app .foundation-ged-feature{background:#efe9db;padding-block:clamp(2.7rem,6vw,6rem);border-block:1px solid #dbd1bf}
#app .foundation-ged-feature .wrap,#app .jeremiah-opening>.wrap{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:center;gap:clamp(1.5rem,5vw,5rem)}
#app .foundation-ged-feature .ey{color:#005b53}
#app .foundation-feature-links{display:grid;gap:.75rem;padding:1.3rem;border-left:3px solid #b08132}
#app .jeremiah-opening .foundation-feature-links a{color:#fffaf0}
#app .foundation-feature-links a{display:block;padding:.45rem 0}
@media(max-width:850px){#app .foundation-home-hero{display:block;min-height:0;padding:3rem 0 0}#app .foundation-home-hero .split>div:first-child{max-width:none}#app .foundation-home-hero .photo{position:relative;inset:auto;margin-top:1.75rem}#app .foundation-home-hero .photo:after{content:none}#app .foundation-home-hero .photo img{height:auto;max-height:27rem}#app .foundation-ged-feature .wrap,#app .jeremiah-opening>.wrap{grid-template-columns:1fr}#app .foundation-home-hero h1{font-size:clamp(2.45rem,8.6vw,4.5rem)}}

/* Foundation interior editorial layout */
#app>.pagehero{background:linear-gradient(108deg,#002925,#00332f 62%,#004a44);border-bottom-color:#f3c565;padding-block:clamp(2.7rem,6.2vw,6rem)}
#app>.pagehero .wrap{width:min(1220px,calc(100% - 3rem))}
#app>.pagehero h1{font-size:clamp(2.35rem,5.6vw,6rem);max-width:21ch;text-wrap:balance}
#app>.pagehero .ey{font-size:.78rem;font-weight:800;text-transform:uppercase;margin-bottom:1rem;color:#ffde93}
#app>.pagehero .btn,#app .foundation-division-services .btn{min-height:48px;border-radius:.2rem;font-weight:800}
#app>.pagehero .foundation-feature-links{border-left:3px solid #f3c565}
#app>.pagehero .foundation-feature-links a{color:#fffaf0;text-underline-offset:.24em}
#app>.pagehero a:focus-visible{outline:2px solid #ffe09b;outline-offset:4px}
#app>.pagehero~.section,#app>.pagehero~.foundation-division-services{padding-block:clamp(2.7rem,6vw,5.7rem)}
#app>.pagehero~.foundation-division-services,#app>.pagehero~.section.soft{background:#eaf8f6}
#app>.pagehero~section :is(.card,.panel,.inquiry-box){border-radius:.2rem;box-shadow:none}
#app>.pagehero~section .card{border-top:3px solid var(--service-accent,#01b7a8)}
#app>.pagehero~section .card h3{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.35rem,2.1vw,2rem);font-weight:600}
#app>.pagehero~section :is(.card,.panel) a{text-underline-offset:.24em}
#app>.pagehero~section a.card:hover{background:#e8f8f6}
@media(max-width:750px){#app>.pagehero .wrap{width:calc(100% - 2rem)}#app>.pagehero h1{font-size:clamp(2rem,8vw,3.9rem)}}

main.foundation-interior{--sf-ink:#102d30;--sf-paper:#faf7ef;--sf-dark:#00332f;--sf-gold:#f3c565;background:var(--sf-paper);color:var(--sf-ink)}
main.foundation-interior>.pagehero{background:linear-gradient(108deg,#002925,#00332f 62%,#004a44);color:#fffaf0;border-bottom:5px solid var(--sf-gold);padding-block:clamp(2.8rem,6.2vw,6rem)}
main.foundation-interior>.pagehero>.wrap{width:min(1220px,calc(100% - 3rem));margin-inline:auto}
main.foundation-interior>.pagehero h1,main.foundation-interior h2{font-family:Georgia,serif;font-weight:600;letter-spacing:-.045em;line-height:1.08}
main.foundation-interior>.pagehero h1{color:inherit;font-size:clamp(2.35rem,5.6vw,6rem);max-width:24ch;text-wrap:balance}
main.foundation-interior>.pagehero p{color:#e5f2ed;max-width:60ch}
main.foundation-interior>.pagehero .ey{color:#ffde93}
main.foundation-interior>.pagehero .btn{background:var(--sf-gold);color:var(--sf-ink);border-color:transparent}
main.foundation-interior>.pagehero .foundation-feature-links a{color:#fffaf0}
main.foundation-interior .foundation-service-grid:has(>article.card),main.foundation-interior .foundation-feature-directory{display:grid;grid-template-columns:minmax(0,1fr);gap:0;max-width:1220px;border-top:1px solid #abcac6}
main.foundation-interior .foundation-feature-directory{width:calc(100% - 3rem);margin:clamp(2.5rem,6vw,5rem) auto}
main.foundation-interior .foundation-feature-directory>.feature,main.foundation-interior .foundation-service-grid>article.card{padding:clamp(1rem,2.3vw,1.7rem);background:transparent;border:0;border-bottom:1px solid #abcac6;border-left:4px solid #01b7a8;border-radius:0;box-shadow:none}
main.foundation-interior .foundation-feature-directory>.feature:nth-child(3n+2),main.foundation-interior .foundation-service-grid>article.card:nth-child(3n+2){border-left-color:#b9473d}
main.foundation-interior .foundation-feature-directory>.feature:nth-child(3n),main.foundation-interior .foundation-service-grid>article.card:nth-child(3n){border-left-color:#a87114}
main.foundation-interior .foundation-feature-directory .wrap,main.foundation-interior .foundation-feature-directory .copy{width:auto;max-width:none;margin:0;padding:0;border:0}
main.foundation-interior .foundation-feature-directory .copy>.ey{display:none}
main.foundation-interior .foundation-feature-directory .copy h2,main.foundation-interior .foundation-service-grid>article.card h3{font:600 clamp(1.55rem,3vw,2.35rem)/1.14 Georgia,serif;margin:0 0 .4rem}
main.foundation-interior .foundation-feature-directory p,main.foundation-interior .foundation-service-grid>article.card p{max-width:72ch}
main.foundation-interior .foundation-feature-directory a,main.foundation-interior .foundation-service-grid>article.card a{text-decoration:underline;text-underline-offset:.24em}
main.foundation-interior .foundation-service-grid>article.card::after,main.foundation-interior .card:not(a)::after{content:none}
@media(max-width:750px){main.foundation-interior>.pagehero>.wrap,main.foundation-interior .foundation-feature-directory{width:calc(100% - 2rem)}main.foundation-interior>.pagehero h1{font-size:clamp(2rem,8vw,3.9rem)}}

/* Division shortcuts stay in the hero layout at every width. */
#app .pagehero .foundation-feature-links{position:static;inset:auto;display:grid;min-width:0;align-self:center;background:#00433d;box-shadow:none;border-left:3px solid #f3c565;padding:.8rem 1rem;gap:.15rem}
#app .pagehero .foundation-feature-links a{display:flex;align-items:center;min-height:44px;color:#fffaf0;font-size:1rem;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:850px){#app .pagehero .foundation-feature-links{margin-top:.25rem}#app .pagehero.jeremiah-opening>.wrap{row-gap:1.15rem}}

#jeremiah-ged,#jeremiah-employment{scroll-margin-top:7rem}
