/*
Theme Name: Greentree Preparatory
Theme URI: https://greentreeprep.com
Description: Custom green & gold theme for Greentree Preparatory Charter School — Thoroughbreds edition. Includes a homepage, styled inner pages, Customizer settings (ticker, Open House, events) and a one-click page setup tool under Appearance → Greentree Setup.
Version: 1.2.2
Requires at least: 6.0
Requires PHP: 7.4
Author: Greentree Preparatory
Text Domain: greentree
License: GPL-2.0-or-later
*/

/* ---------- Tokens ---------- */
:root{
  --g:#1A4A31; --g-dk:#0F3320; --g-deep:#0B3A14; --g-2:#24543A; --g-3:#2F6448;
  --gold:#D8C784; --gold-dk:#9A8236; --gold-txt:#8A6D1E;
  --cream:#F7F4E8; --cream-2:#F3EDD6; --mint:#E6EFE8;
  --ink:#1C2B22; --muted:#3E4F44; --muted-2:#4A5A50; --on-dark:#DCE7DF;
  --serif:"EB Garamond",Georgia,serif; --display:Cinzel,"EB Garamond",Georgia,serif; --sans:"Open Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --wrap:1220px; --r:24px; --r-lg:30px;
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--g)}a:hover{color:var(--g-deep)}
h1,h2,h3,h4{line-height:1.1;margin:0}
button{font-family:inherit}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link:focus{position:fixed;top:8px;left:8px;z-index:100;width:auto;height:auto;clip:auto;background:#fff;padding:10px 16px;border-radius:8px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.site{border-left:14px solid var(--gold);overflow:hidden}
.section{padding:96px 24px}
.bg-cream{background:var(--cream)}.bg-cream-2{background:var(--cream-2)}.bg-green{background:var(--g);color:#fff}.bg-dark{background:var(--g-dk);color:#fff}

/* ---------- Type helpers ---------- */
.eyebrow{font-family:var(--display);font-size:14px;font-weight:700;letter-spacing:.18em;color:var(--gold-txt);text-transform:uppercase}
.on-dark .eyebrow,.bg-green .eyebrow,.bg-dark .eyebrow{color:var(--gold)}
.h-serif{font-family:var(--serif);font-weight:500;color:var(--g);font-size:clamp(34px,3.8vw,50px);line-height:1.08}
.h-serif em,.h-serif .accent{font-style:italic;color:var(--gold-dk)}
.bg-green .h-serif,.bg-dark .h-serif{color:#fff}
.bg-green .h-serif em,.bg-dark .h-serif em{color:var(--gold)}
.section-head{display:flex;flex-direction:column;gap:8px;align-items:center;text-align:center;margin-bottom:40px}
.section-head--split{flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;text-align:left}
.lede{font-size:18px;line-height:1.65;color:var(--muted);max-width:740px;margin:0 auto}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 26px;border-radius:999px;font-weight:800;font-size:15px;text-decoration:none;border:2px solid transparent;cursor:pointer;transition:transform .15s,box-shadow .15s;line-height:1.2;text-align:center}
.btn:hover{transform:translateY(-2px)}
.btn--gold{background:var(--gold);color:var(--g-deep)!important}
.btn--gold.btn--pop{box-shadow:0 4px 0 var(--g)}
.btn--green{background:var(--g);color:#fff!important}
.btn--cream{background:var(--cream-2);color:var(--g-deep)!important}
.btn--outline{border-color:var(--g);color:var(--g)!important;background:transparent}
.btn--outline-light{border-color:#fff;color:#fff!important;background:transparent}
.btn--outline-gold{border-color:var(--gold);color:var(--gold)!important;background:transparent}
.btn--lg{min-height:54px;font-size:16px;padding:0 30px}
.btn svg{flex-shrink:0}
.link-arrow{font-weight:800;font-size:15px}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}

/* ---------- Side tab ---------- */
.sidetab{position:fixed;right:0;top:40%;z-index:40}
.sidetab nav{display:flex;flex-direction:column;background:var(--gold);border-radius:14px 0 0 14px;overflow:hidden;box-shadow:0 6px 20px rgba(0,0,0,.18)}
.sidetab a{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;padding:14px 12px;color:var(--g-deep);text-decoration:none;font-size:11px;font-weight:800;letter-spacing:.08em}
.sidetab a+a{border-top:1px solid rgba(11,58,20,.25)}
.sidetab a:hover{background:#E4D69C}

/* ---------- Ticker ---------- */
.ticker{background:var(--g-dk);color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;gap:16px;padding:0 24px;height:42px}
.ticker__social{display:flex;gap:14px;align-items:center;flex-shrink:0}
.ticker__social a,.ticker__phone{color:var(--gold);display:flex;text-decoration:none;white-space:nowrap;flex-shrink:0}
.ticker__viewport{flex:1 1 auto;overflow:hidden;min-width:0}
.ticker__track{display:flex;gap:56px;white-space:nowrap;width:max-content;animation:gt-marquee 40s linear infinite}
.ticker__track span::before{content:"★";color:var(--gold);margin-right:8px}
.ticker:hover .ticker__track{animation-play-state:paused}
@keyframes gt-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---------- Header / nav ---------- */
.site-header{background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.06);position:relative;z-index:30}
.site-header__inner{max-width:1360px;margin:0 auto;padding:12px 28px;display:flex;align-items:center;gap:14px 28px}
.site-logo img{height:112px;width:auto}
.main-nav{flex:1 1 auto;display:flex;justify-content:center}
.main-nav>ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:2px 22px}
.main-nav li{position:relative}
.main-nav>ul>li>a,.main-nav>ul>li>button{display:flex;align-items:center;gap:6px;padding:12px 0;font-size:14px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--g);text-decoration:none;background:none;border:0;border-bottom:3px solid transparent;cursor:pointer;white-space:nowrap}
.main-nav>ul>li.current>a,.main-nav>ul>li.current>button,.main-nav>ul>li>a:hover,.main-nav>ul>li>button:hover{border-bottom-color:var(--gold)}
.main-nav .sub{position:absolute;left:50%;top:100%;transform:translate(-50%,8px);min-width:260px;background:#fff;border-radius:18px;box-shadow:0 18px 40px rgba(15,51,32,.18);padding:12px;list-style:none;margin:0;opacity:0;visibility:hidden;transition:.18s;border-top:4px solid var(--gold)}
.main-nav li:hover>.sub,.main-nav li:focus-within>.sub,.main-nav li.open>.sub{opacity:1;visibility:visible;transform:translate(-50%,0)}
.main-nav .sub a{display:block;padding:10px 14px;border-radius:10px;color:var(--g);text-decoration:none;font-weight:600;font-size:15px}
.main-nav .sub a:hover,.main-nav .sub a[aria-current]{background:var(--cream)}
.header-cta{display:flex;gap:10px;flex-shrink:0}
.header-cta .btn{min-height:48px;font-size:14px;padding:0 22px}
.nav-toggle{display:none;margin-left:auto;width:52px;height:52px;border-radius:50%;border:2px solid var(--g);background:#fff;color:var(--g);align-items:center;justify-content:center;cursor:pointer}

/* ---------- Home hero ---------- */
.hero{position:relative;background:var(--g)}
.hero__photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% 50%}
.hero__inner{position:relative;display:flex;flex-wrap:wrap;min-height:660px}
.hero__panel{flex:0 1 780px;background:var(--g);color:#fff;padding:72px 150px 64px 56px;display:flex;flex-direction:column;justify-content:center;gap:22px;position:relative;overflow:hidden;clip-path:polygon(0 0,100% 0,86% 100%,0 100%)}
.hero__watermark{position:absolute;right:90px;bottom:-30px;width:380px;opacity:.07}
.pill-badge{display:inline-flex;align-self:flex-start;align-items:center;gap:10px;background:var(--gold);color:var(--g-deep);padding:8px 16px;border-radius:999px;font-weight:800;font-size:13px;letter-spacing:.08em;text-transform:uppercase}
.pill-badge img{width:26px}
.hero h1{font-family:var(--display);font-weight:700;font-size:clamp(44px,5.8vw,82px);line-height:1;letter-spacing:.01em}
.hero h1 .gold{color:var(--gold)}
.hero h1 .script{font-family:var(--serif);font-style:italic;font-weight:500;color:var(--cream-2)}
.hero__lede{margin:0;font-size:19px;line-height:1.6;max-width:520px;color:#E4EDE6}
.hero__stats{display:flex;flex-wrap:wrap;margin-top:16px;border-top:1px solid rgba(216,199,132,.35);padding-top:22px}
.hero__stats div{flex:1 1 140px;display:flex;flex-direction:column;gap:4px;padding:0 18px}
.hero__stats div:first-child{padding-left:0}
.hero__stats div+div{border-left:1px solid rgba(216,199,132,.35)}
.hero__stats strong{font-family:var(--display);font-size:32px;font-weight:800;color:var(--gold);line-height:1.1}
.hero__stats span{font-size:13px;font-weight:600;color:#E4EDE6}
.hero__aside{flex:1 1 300px;display:flex;align-items:flex-end;justify-content:flex-end;padding:28px}
.event-chip{background:#fff;border-radius:22px;padding:16px 20px;display:flex;align-items:center;gap:16px;box-shadow:0 12px 30px rgba(0,0,0,.25);border-bottom:5px solid var(--gold)}
.date-chip{width:58px;height:60px;border-radius:14px;background:var(--g);color:var(--gold);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;flex-shrink:0;text-transform:uppercase}
.date-chip small{font-size:11px;font-weight:800}
.date-chip b{font-size:21px;font-weight:800}
.date-chip--gold{background:var(--gold);color:var(--g-deep)}
.date-chip--cream{background:var(--cream-2);color:var(--g-deep)}
.event-chip__text{display:flex;flex-direction:column;gap:2px}
.event-chip__text .k{font-size:12px;font-weight:800;letter-spacing:.1em;color:var(--gold-txt);text-transform:uppercase}
.event-chip__text .t{font-size:16px;font-weight:800;color:var(--g)}

.enroll-strip{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 18px;background:var(--gold);color:var(--g-deep);padding:14px 24px;text-decoration:none;font-size:14px;letter-spacing:.06em}
.enroll-strip:hover{color:var(--g-deep)}
.enroll-strip .k{font-weight:800;text-transform:uppercase}
.enroll-strip img{width:34px}
.enroll-strip .go{width:40px;height:32px;border-radius:999px;background:var(--g);display:inline-flex;align-items:center;justify-content:center;color:var(--gold)}

/* ---------- Values ---------- */
.values{padding:72px 24px 28px;text-align:center}
.values__row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:18px 30px;font-family:var(--display);font-weight:800;font-size:clamp(28px,3.6vw,48px);letter-spacing:.06em;color:var(--g)}
.values__row img{width:72px}
.values__row .flip{transform:scaleX(-1)}
.values__row .gold{color:var(--gold-dk)}
.values p{margin:20px auto 0;max-width:740px;font-size:18px;line-height:1.65;color:var(--muted)}

/* ---------- Feature boxes ---------- */
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:22px}
.feature{background:var(--cream-2);border-radius:28px;padding:34px;display:flex;flex-direction:column;gap:14px;position:relative;overflow:hidden;transition:transform .2s}
.feature:hover{transform:translateY(-5px)}
.feature h3{font-family:var(--serif);font-weight:500;font-size:28px;color:var(--g)}
.feature p{margin:0;font-size:15px;line-height:1.65;color:var(--muted)}
.feature--green{background:var(--g);color:#fff}.feature--green h3{color:#fff}.feature--green p{color:var(--on-dark)}
.feature--gold{background:var(--gold)}.feature--gold h3{color:var(--g-deep)}.feature--gold p{color:#23331F}
.feature__mark{position:absolute;right:-24px;bottom:-14px;width:150px;opacity:.15}
.icon-circle{width:64px;height:64px;border-radius:50%;background:var(--g);color:var(--gold);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.icon-circle--gold{background:var(--gold);color:var(--g-deep)}

/* ---------- Story ---------- */
.story{display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.collage{flex:1 1 460px;position:relative;min-height:470px}
.collage img{position:absolute;object-fit:cover;border-radius:28px;border:6px solid #fff;box-shadow:0 12px 28px rgba(0,0,0,.14)}
.collage .c1{left:0;top:0;width:62%;height:300px}
.collage .c2{right:0;top:60px;width:52%;height:250px}
.collage .c3{left:18%;bottom:0;width:50%;height:190px}
.collage .medal{position:absolute;right:6%;bottom:20px;width:120px;height:120px;border-radius:50%;background:var(--g);border:5px solid var(--gold);display:flex;align-items:center;justify-content:center}
.collage .medal img{position:static;width:80px;height:auto;border:0;box-shadow:none;border-radius:0}
.story__text{flex:1 1 440px;display:flex;flex-direction:column;gap:18px}
.story__text p{margin:0;font-size:17px;line-height:1.7;color:var(--muted)}
.timeline{position:relative;margin-top:64px}
.timeline::before{content:"";position:absolute;left:4%;right:4%;top:34px;height:4px;background:var(--gold);border-radius:4px}
.timeline__grid{position:relative;display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:20px}
.tl{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}
.tl .tl__dot{width:72px;height:72px;border-radius:50%;background:var(--g);color:var(--gold);display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:800;font-size:17px;border:4px solid var(--cream)}
.tl:nth-child(even) .tl__dot,.tl:nth-child(even) .tl__dot{background:var(--gold);color:var(--g-deep)}
.tl strong{color:var(--g)}
.tl span{font-size:14px;line-height:1.5;color:var(--muted-2)}

/* ---------- Quotes ---------- */
.quotes{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:22px}
.quote{margin:0;background:var(--cream);border-radius:28px;padding:32px;display:flex;flex-direction:column;gap:18px;border-top:6px solid var(--gold)}
.quote blockquote{margin:0;font-family:var(--serif);font-size:21px;line-height:1.45;color:var(--ink)}
.quote figcaption{margin-top:auto;font-weight:800;color:var(--g)}
.quote figcaption span{font-weight:600;color:var(--muted-2)}
.quote--green{background:var(--g)}.quote--green blockquote{color:#fff}.quote--green figcaption{color:var(--gold)}.quote--green figcaption span{color:#C9D9CD}
.quote--white{background:#fff}

/* ---------- Honors ---------- */
.honors{position:relative;padding:88px 0 96px}
.honors::before{content:"";position:absolute;left:0;right:0;top:230px;bottom:0;background:var(--g)}
.honors__mark{position:absolute;right:-40px;bottom:-40px;width:420px;opacity:.06}
.honors__head{display:flex;align-items:center;justify-content:center;gap:20px;margin-bottom:44px;position:relative}
.honors__head img{width:64px}.honors__head .flip{transform:scaleX(-1)}
.honor-cards{position:relative;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:18px}
.honor--link{text-decoration:none;transition:transform .2s}.honor--link:hover{transform:translateY(-4px)}
.honor__art--green{background:var(--g);border-bottom:5px solid var(--gold)}
.honor__art--green small{color:var(--gold)}
.honor__year{font-family:var(--display);font-weight:800;font-size:64px;line-height:1;color:#fff}
.honor{background:#fff;border-radius:22px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 10px 24px rgba(0,0,0,.2)}
.honor__art{height:200px;background:var(--cream-2);display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}
.honor__art img{max-height:156px;width:auto;max-width:86%;transition:transform .35s}
.honor:hover .honor__art img{transform:scale(1.05)}
.honor__art .bigA{font-family:var(--display);font-weight:800;font-size:110px;line-height:.9;color:var(--g)}
.honor__art small{font-size:12px;font-weight:800;letter-spacing:.14em;color:var(--g)}
.honor__cap{padding:16px;text-align:center;display:flex;flex-direction:column;gap:4px}
.honor__cap b{font-family:var(--serif);font-weight:500;font-size:22px;color:var(--g)}
.honor__cap span{font-size:12px;color:var(--gold-txt);font-weight:800;letter-spacing:.08em;text-transform:uppercase}

/* ---------- Tree ---------- */
.tree{position:relative;width:1100px;height:780px;margin:0 auto}
.tree svg{position:absolute;inset:0}
.leaf{position:absolute;width:150px;height:150px;border-radius:50%;background:#fff;border:6px solid var(--gold);color:var(--g);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:14px;gap:2px;box-shadow:0 8px 20px rgba(26,74,49,.18)}
.leaf b{font-family:var(--display);font-weight:800;font-size:38px;line-height:1}
.leaf span{font-size:12px;font-weight:700;line-height:1.3;color:var(--muted)}
.leaf--green{background:var(--g);color:#fff}.leaf--green b{color:var(--gold)}.leaf--green span{color:#fff}
.leaf--gold{background:var(--gold);border-color:var(--g);color:var(--g-deep)}.leaf--gold span{color:var(--g-deep)}
.plaque{position:absolute;left:360px;top:600px;width:380px;background:#fff;border:3px solid var(--gold);border-radius:999px;padding:14px 24px;display:flex;align-items:center;justify-content:center;gap:14px;box-shadow:0 8px 20px rgba(26,74,49,.15)}
.plaque img{width:54px}
.plaque b{display:block;font-family:var(--display);font-weight:800;font-size:16px;color:var(--g)}
.plaque span{font-size:13px;font-weight:600;color:var(--muted)}

/* ---------- Tabs ---------- */
.stages{position:relative;overflow:hidden}
.stages__mark{position:absolute;left:-60px;top:40px;width:300px;opacity:.08}
.tablist{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:34px}
.tab{min-height:48px;padding:0 24px;border-radius:999px;font-size:15px;font-weight:800;cursor:pointer;background:transparent;color:var(--cream-2);border:2px solid rgba(216,199,132,.6)}
.tab[aria-selected="true"]{background:var(--gold);color:var(--g-deep);border-color:var(--gold)}
.panel{display:flex;flex-wrap:wrap;background:var(--g);border-radius:var(--r-lg);overflow:hidden}
.panel[hidden]{display:none}
.panel>img{flex:1 1 460px;min-height:400px;width:100%;object-fit:cover}
.panel__body{flex:1 1 400px;padding:48px;display:flex;flex-direction:column;justify-content:center;gap:18px}
.panel__body h3{font-family:var(--serif);font-weight:500;font-size:40px;line-height:1.08}
.panel__body h3 em{color:var(--gold)}
.panel__body p{margin:0;font-size:16px;line-height:1.7;color:var(--on-dark)}
.panel__body .btn{align-self:flex-start}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{padding:8px 14px;border-radius:999px;background:rgba(216,199,132,.18);color:var(--cream-2);font-size:14px;font-weight:700}
.chip--light{background:var(--cream-2);color:var(--g)}

/* ---------- News ---------- */
.news-layout{display:flex;flex-wrap:wrap;gap:28px}
.news-grid{flex:999 1 660px;display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:22px}
.card{text-decoration:none;background:var(--cream);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;color:inherit}
.card__img{height:180px;overflow:hidden}
.card__img img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.card:hover .card__img img{transform:scale(1.05)}
.card__body{padding:20px;display:flex;flex-direction:column;gap:10px}
.card__body b{font-family:var(--serif);font-weight:500;font-size:24px;color:var(--g);line-height:1.15}
.card__body span{font-size:14px;line-height:1.55;color:var(--muted)}
.tag,.card__body .tag{align-self:flex-start;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#fff;background:var(--g);padding:5px 11px;border-radius:999px}
.tag--gold,.card__body .tag--gold{background:var(--gold);color:var(--g-deep)}
.events{flex:1 1 300px;background:var(--g);color:#fff;border-radius:var(--r);padding:30px;display:flex;flex-direction:column;gap:18px;position:relative;overflow:hidden}
.events__mark{position:absolute;right:-30px;bottom:40px;width:180px;opacity:.12}
.events h3{font-family:var(--display);font-size:22px;font-weight:800;letter-spacing:.04em}
.events h3 span{color:var(--gold)}
.event{display:flex;gap:14px;align-items:center;position:relative}
.event b{display:block;font-weight:800}
.event small{font-size:13px;color:#C9D9CD}
.event .date-chip small{font-size:11px;color:inherit}
.events .btn{margin-top:auto;position:relative}

/* ---------- Gallery ---------- */
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-auto-rows:200px;grid-auto-flow:dense;gap:14px}
.gallery figure{margin:0;border-radius:var(--r);overflow:hidden}
.gallery img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.gallery figure:hover img{transform:scale(1.05)}
.gallery .wide{grid-column:span 2}.gallery .big{grid-column:span 2;grid-row:span 2}

/* ---------- Faculty band / stat boxes ---------- */
.band{position:relative;overflow:hidden}
.band__mark{position:absolute;right:-50px;top:-20px;width:360px;opacity:.07}
.split{position:relative;display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.split>*{flex:1 1 420px}
.split__text{display:flex;flex-direction:column;gap:16px}
.split__text p{margin:0;font-size:17px;line-height:1.7}
.bg-green .split__text p{color:var(--on-dark)}
.stat-boxes{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px}
.stat-box{background:rgba(255,255,255,.08);border:1px solid rgba(216,199,132,.35);border-radius:22px;padding:22px;display:flex;flex-direction:column;gap:4px}
.stat-box b{font-family:var(--display);font-weight:800;font-size:40px;color:var(--gold);line-height:1}
.stat-box span{font-weight:700;font-size:14px}

/* ---------- Family cards ---------- */
.family-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:22px}
.fcard{background:var(--cream);border-radius:28px;padding:32px;display:flex;flex-direction:column;gap:14px}
.fcard h3{font-family:var(--serif);font-weight:500;font-size:28px;color:var(--g)}
.fcard p{margin:0;font-size:15px;line-height:1.65;color:var(--muted)}
.fcard--green{background:var(--g);color:#fff}.fcard--green h3{color:#fff}.fcard--green p{color:var(--on-dark)}.fcard--green strong{color:var(--gold)}.fcard--green a{color:var(--gold)}
.fcard .links{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:700}
.horse-list{display:flex;flex-direction:column;gap:8px;font-size:14px;color:var(--g);font-weight:700;list-style:none;margin:0;padding:0}
.horse-list li{display:flex;gap:8px;align-items:center}
.horse-list li::before{content:"";width:26px;height:18px;flex-shrink:0;background:url(assets/img/horse-green.png) center/contain no-repeat}
.helpline{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 24px;background:var(--cream-2);border-radius:999px;padding:16px 28px;font-size:15px;color:var(--g);margin-top:40px}

/* ---------- CTA band ---------- */
.cta{background:var(--g-dk);color:#fff;padding:88px 24px 0;overflow:hidden}
.cta__inner{max-width:980px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:22px;text-align:center}
.cta__badge{width:112px;height:112px;border-radius:50%;background:#fff;border:5px solid var(--gold);display:flex;align-items:center;justify-content:center}
.cta__badge img{width:78px}
.cta h2{font-family:var(--display);font-weight:800;font-size:clamp(34px,4.4vw,58px);line-height:1.05}
.cta h2 span{color:var(--gold)}
.cta p{margin:0;font-size:18px;line-height:1.6;color:#D3E3D7;max-width:640px}
.cta .btn-row{justify-content:center}
.photo-strip{display:flex;gap:14px;margin-top:64px;padding:0 14px;justify-content:center}
.photo-strip img{flex:0 0 300px;width:300px;min-width:0;height:210px;object-fit:cover;border-radius:24px 24px 0 0}

/* ---------- FAQ ---------- */
.faq{max-width:880px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.faq details{background:var(--cream);border-radius:20px;padding:0 24px}
.faq summary{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:70px;font-weight:800;font-size:18px;color:var(--g);list-style:none;cursor:pointer}
.faq summary::-webkit-details-marker{display:none}
.faq .plus{width:36px;height:36px;border-radius:50%;background:var(--g);color:var(--gold);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .2s}
.faq details:nth-child(even) .plus{background:var(--gold);color:var(--g-deep)}
.faq details[open] .plus{transform:rotate(45deg)}
.faq details p{margin:0 0 22px;font-size:16px;line-height:1.65;color:var(--muted)}

/* ---------- Visit + footer ---------- */
.visit{padding:64px 24px;background:var(--cream-2)}
.visit__inner{max-width:var(--wrap);margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:28px}
.visit__id{display:flex;align-items:center;gap:20px}
.visit__id img{width:76px}
.visit h2{font-family:var(--serif);font-weight:500;font-size:36px;color:var(--g)}
.visit__id span{font-size:17px;color:#2E3D33}
.site-footer{background:var(--g-dk);color:#CFDCD3;border-top:6px solid var(--gold)}
.site-footer a{color:#CFDCD3;text-decoration:none}.site-footer a:hover{color:var(--gold)}
.footer__grid{max-width:var(--wrap);margin:0 auto;padding:64px 24px 36px;display:flex;flex-wrap:wrap;gap:40px}
.footer__brand{flex:1 1 280px;display:flex;flex-direction:column;gap:16px}
.footer__logo{align-self:flex-start;background:#fff;border-radius:22px;padding:14px 18px}
.footer__logo img{width:200px}
.footer__motto{font-family:var(--serif);font-style:italic;font-size:19px;color:var(--gold)}
.footer__brand address{font-style:normal;font-size:14px;line-height:1.6}
.footer__social{display:flex;gap:10px}
.footer__social a{width:44px;height:44px;border-radius:50%;background:rgba(216,199,132,.15);color:var(--gold)!important;display:flex;align-items:center;justify-content:center}
.footer__social a:hover{background:var(--gold);color:var(--g-deep)!important}
.footer__col{flex:1 1 160px;display:flex;flex-direction:column;gap:10px;font-size:14px}
.footer__col h2{font-family:var(--display);font-weight:700;color:var(--gold);letter-spacing:.1em;font-size:13px;margin-bottom:4px}
.footer__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.footer__bottom{border-top:1px solid rgba(216,199,132,.2)}
.footer__bottom div{max-width:var(--wrap);margin:0 auto;padding:18px 24px 22px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;font-size:12px}
.footer__bottom img{width:34px;display:inline-block;vertical-align:middle;margin-right:10px}

/* ---------- Inner page hero ---------- */
.page-hero{position:relative;background:var(--g);color:#fff;overflow:hidden}
.page-hero__photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.28}
.page-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,51,32,.95) 0%,rgba(26,74,49,.78) 55%,rgba(26,74,49,.35) 100%)}
.page-hero__inner{position:relative;z-index:1;max-width:var(--wrap);margin:0 auto;padding:84px 24px 76px;display:flex;flex-direction:column;gap:14px}
.page-hero__mark{position:absolute;z-index:1;right:4%;bottom:-24px;width:300px;opacity:.12}
.crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--gold)}
.crumbs a{color:var(--gold);text-decoration:none}
.page-hero h1{font-family:var(--serif);font-weight:500;font-size:clamp(40px,5vw,64px);line-height:1.05;max-width:900px}
.page-hero p{margin:0;font-size:18px;max-width:680px;color:#E4EDE6}

/* ---------- Inner page content ---------- */
.entry{max-width:1100px;margin:0 auto;padding:72px 24px 96px}
.entry>*:first-child{margin-top:0}
.entry p,.entry li{font-size:17px;line-height:1.75;color:var(--muted)}
.entry p{margin:0 0 18px}
.entry h2{font-family:var(--serif);font-weight:500;font-size:clamp(30px,3.2vw,42px);color:var(--g);margin:56px 0 18px}
.entry h2 em{color:var(--gold-dk)}
.entry h3{font-family:var(--serif);font-weight:500;font-size:26px;color:var(--g);margin:32px 0 12px}
.entry ul,.entry ol{padding-left:22px;margin:0 0 20px}
.entry a{font-weight:700}
.entry img{border-radius:var(--r)}
.entry .lead{font-size:20px;line-height:1.7;color:var(--ink)}
.entry .center{text-align:center}
.gt-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px;margin:24px 0 32px}
.gt-grid--3{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.gt-box{background:var(--cream);border-radius:var(--r);padding:30px;display:flex;flex-direction:column;gap:12px}
.gt-box h3{margin:0}
.gt-box p{margin:0;font-size:16px}
.gt-box--green{background:var(--g);color:#fff}.gt-box--green h3{color:#fff}.gt-box--green p,.gt-box--green li{color:var(--on-dark)}.gt-box--green a{color:var(--gold)}
.gt-box--gold{background:var(--gold)}.gt-box--gold h3,.gt-box--gold p{color:var(--g-deep)}
.gt-box .icon-circle{margin-bottom:4px}
.gt-callout{background:var(--g);color:#fff;border-radius:var(--r-lg);padding:36px 40px;margin:32px 0;display:flex;flex-wrap:wrap;gap:20px 32px;align-items:center;position:relative;overflow:hidden}
.gt-callout p{color:var(--on-dark);margin:0}
.gt-callout h3{color:#fff;margin:0}
.gt-callout .big{font-family:var(--display);font-weight:800;font-size:48px;color:var(--gold);line-height:1}
.gt-callout .btn{margin-left:auto}
.gt-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px;margin:20px 0 40px}
.person{background:var(--cream);border-radius:22px;padding:24px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px}
.person .person__mono{width:76px;height:76px;border-radius:50%;background:var(--g);color:var(--gold);border:4px solid var(--gold);display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:800;font-size:24px;margin-bottom:4px}
.person:nth-child(3n+2) .person__mono,.person:nth-child(3n+2) .person__mono{background:var(--gold);color:var(--g-deep);border-color:var(--g)}
.person b{font-family:var(--serif);font-weight:600;font-size:21px;color:var(--g);line-height:1.2}
.person span{font-size:14px;line-height:1.45;color:var(--muted)}
.person a{font-size:13.5px;overflow-wrap:anywhere}
.gt-docs{list-style:none;padding:0!important;margin:20px 0 32px;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.gt-docs li{margin:0}
.gt-docs a{display:flex;align-items:center;gap:12px;background:var(--cream);border-radius:16px;padding:14px 16px;text-decoration:none;color:var(--g);font-weight:700;font-size:15px;transition:background .15s}
.gt-docs a:hover{background:var(--cream-2)}
.gt-docs a::before{content:"";width:38px;height:38px;flex-shrink:0;border-radius:10px;background:var(--g) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8C784' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E") center/22px no-repeat}
.gt-year{font-family:var(--display);font-weight:800;color:var(--gold-txt);letter-spacing:.12em;font-size:15px;margin:28px 0 0}
.gt-steps{list-style:none;padding:0!important;margin:24px 0 32px;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;counter-reset:step}
.gt-steps li{overflow-wrap:anywhere;counter-increment:step;background:var(--cream);border-radius:22px;padding:28px 24px 24px;position:relative;margin:0;font-size:16px}
.gt-steps li::before{content:counter(step);display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:var(--g);color:var(--gold);font-family:var(--display);font-weight:800;font-size:20px;margin-bottom:12px}
.gt-steps li>strong:first-child{display:block;color:var(--g);font-size:17px;margin-bottom:4px}
.gt-chips{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0!important;margin:16px 0 28px}
.gt-chips li{margin:0;padding:10px 16px;border-radius:999px;background:var(--cream-2);color:var(--g);font-weight:700;font-size:15px;line-height:1.3}
.gt-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:24px 0 32px}
.gt-photos img{width:100%;height:220px;object-fit:cover;border-radius:22px}
.gt-media{display:flex;flex-wrap:wrap;gap:32px;align-items:center;margin:24px 0 32px}
.gt-media>*{flex:1 1 360px}
.gt-media img{width:100%;border-radius:var(--r);box-shadow:0 12px 28px rgba(0,0,0,.12)}
.gt-embed{position:relative;width:100%;border-radius:var(--r);overflow:hidden;background:#fff;box-shadow:0 12px 34px rgba(15,51,32,.14);margin:20px 0 28px}
.gt-embed iframe,.gt-embed object{display:block;width:100%;border:0}
.gt-pdf__bar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin:24px 0 0}
.gt-pdf__bar b{font-family:var(--serif);font-weight:500;font-size:24px;color:var(--g)}
.gt-medals{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px;margin:24px 0 32px}
.medal-card{display:flex;gap:18px;background:var(--cream);border-radius:22px;padding:24px;align-items:flex-start}
.medal-card .icon-circle{width:56px;height:56px}
.medal-card b{display:block;font-family:var(--serif);font-weight:600;font-size:21px;color:var(--g);line-height:1.2;margin-bottom:6px}
.medal-card p{margin:0;font-size:15px}
.gt-contact{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin:24px 0}
.gt-contact a,.gt-contact div{display:flex;flex-direction:column;gap:4px;background:var(--cream);border-radius:20px;padding:22px;text-decoration:none}
.gt-contact small{font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--gold-txt);text-transform:uppercase}
.gt-contact b{font-size:17px;color:var(--g)}
.entry .gt-quotes{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:22px;margin:24px 0}
.entry .gt-quotes figure{margin:0;background:var(--cream);border-radius:26px;padding:30px;border-top:6px solid var(--gold);display:flex;flex-direction:column;gap:14px}
.entry .gt-quotes figure:nth-child(3n+2){background:var(--g)}
.entry .gt-quotes figure:nth-child(3n+2) blockquote{color:#fff}
.entry .gt-quotes figure:nth-child(3n+2) figcaption{color:var(--gold)}
.entry .gt-quotes blockquote{margin:0;font-family:var(--serif);font-size:20px;line-height:1.5;color:var(--ink)}
.entry .gt-quotes figcaption{margin-top:auto;font-weight:800;color:var(--g)}
.wp-block-image,.wp-caption{max-width:100%}
.alignleft{float:left;margin:0 24px 16px 0}.alignright{float:right;margin:0 0 16px 24px}.aligncenter{margin-left:auto;margin-right:auto}

/* ---------- Policy & meetings components ---------- */
.gt-alert{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;background:#FBF3D9;border:2px solid var(--gold);border-left-width:10px;border-radius:20px;padding:20px 26px;margin:0 0 32px}
.gt-alert b{color:var(--g);font-size:18px}
.gt-alert p{margin:0!important;font-size:16px!important}
.gt-alert .btn{margin-left:auto}
.gt-hotline{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin:8px 0 40px}
.hotline{border-radius:26px;padding:28px;display:flex;flex-direction:column;gap:8px;text-decoration:none;background:var(--cream)}
.hotline small{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-txt)}
.hotline b{font-family:var(--display);font-weight:800;font-size:30px;line-height:1.1;color:var(--g)}
.hotline span{font-size:15px;color:var(--muted)}
.hotline--green{background:var(--g)}.hotline--green small{color:var(--gold)}.hotline--green b{color:#fff}.hotline--green span{color:var(--on-dark)}
.hotline--gold{background:var(--gold)}.hotline--gold small,.hotline--gold span{color:var(--g-deep)}
.gt-signs{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:20px 0 28px;list-style:none;padding:0!important}
.gt-signs li{margin:0;background:var(--cream);border-radius:20px;padding:22px 18px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;font-weight:700;color:var(--g);font-size:15px;line-height:1.35}
.gt-signs .icon-circle{width:54px;height:54px}
.gt-warning{background:var(--g-dk);color:#fff;border-radius:24px;padding:26px 30px;display:flex;gap:18px;align-items:flex-start;margin:28px 0}
.gt-warning p{margin:0!important;color:var(--on-dark)!important}
.gt-warning b{display:block;color:var(--gold);font-size:18px;margin-bottom:4px}
.gt-poster{display:flex;flex-wrap:wrap;gap:24px;align-items:center;background:var(--cream);border-radius:26px;padding:24px;margin:32px 0}
.gt-poster img{width:150px;border-radius:12px!important;box-shadow:0 8px 20px rgba(0,0,0,.12)}
.gt-poster div{flex:1 1 280px}
.gt-poster h3{margin:0 0 6px}
.gt-meetings{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:20px 0 14px}
.meeting{position:relative;background:var(--cream);border-radius:24px;padding:24px;display:flex;flex-direction:column;gap:10px;border:2px solid transparent}
.meeting .date-chip{width:68px;height:72px}
.meeting .date-chip b{font-size:26px}
.meeting b.when{font-family:var(--serif);font-weight:600;font-size:22px;color:var(--g)}
.meeting .status{align-self:flex-start;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;padding:5px 11px;border-radius:999px;background:var(--cream-2);color:var(--g)}
.meeting--next{background:var(--g);border-color:var(--gold)}
.meeting--next b.when{color:#fff}
.meeting--next .status{background:var(--gold);color:var(--g-deep)}
.meeting--next span,.meeting--next a{color:var(--on-dark)}
.meeting--held .status{background:var(--g);color:var(--gold)}
.meeting a{font-size:14px;font-weight:700}
.gt-note{font-size:14px!important;color:var(--muted-2)!important}
.gt-years{display:flex;flex-direction:column;gap:12px;margin:20px 0 32px}
.gt-years details{background:var(--cream);border-radius:22px;padding:0 24px}
.gt-years summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:70px;font-family:var(--serif);font-weight:600;font-size:23px;color:var(--g)}
.gt-years summary::-webkit-details-marker{display:none}
.gt-years summary small{white-space:nowrap;font-family:var(--sans);font-size:13px;font-weight:700;color:var(--gold-txt);margin-left:auto}
.gt-years summary .plus{width:36px;height:36px;border-radius:50%;background:var(--g);color:var(--gold);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .2s;font-family:var(--sans);font-size:22px;line-height:1}
.gt-years details[open] .plus{transform:rotate(45deg)}
.gt-years .gt-docs{margin:0 0 22px}
.gt-years .gt-docs a{background:#fff}.gt-years .gt-docs a:hover{background:var(--cream-2)}
.gt-docs a small{display:block;font-size:12px;font-weight:700;color:var(--gold-txt);letter-spacing:.06em}
.gt-docs--word a::before{background-color:var(--gold-dk)}

/* ---------- School grade components ---------- */
.gt-grade-hero{display:flex;flex-wrap:wrap;align-items:center;gap:28px 40px;background:var(--g);color:#fff;border-radius:var(--r-lg);padding:36px 40px;margin:0 0 28px;position:relative;overflow:hidden}
.gt-grade-hero .grade{width:150px;height:150px;border-radius:50%;background:#fff;border:8px solid var(--gold);display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0}
.gt-grade-hero .grade b{font-family:var(--display);font-weight:800;font-size:84px;line-height:.9;color:var(--g)}
.gt-grade-hero .grade small{font-size:11px;font-weight:800;letter-spacing:.12em;color:var(--gold-txt)}
.gt-grade-hero h3{color:#fff!important;margin:0 0 6px!important;font-size:32px!important}
.gt-grade-hero p{color:var(--on-dark)!important;margin:0!important}
.gt-grade-hero .stats{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.gt-grade-hero .stats span{background:rgba(216,199,132,.18);color:var(--cream-2);border-radius:999px;padding:8px 14px;font-weight:700;font-size:14px}
.gt-grade-hero .stats strong{color:var(--gold)}
.gt-history{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin:20px 0 12px}
.gt-history div{background:var(--cream);border-radius:22px;padding:20px;text-align:center;display:flex;flex-direction:column;gap:4px;align-items:center}
.gt-history div:first-child{background:var(--gold)}
.gt-history small{font-size:13px;font-weight:800;letter-spacing:.06em;color:var(--gold-txt)}
.gt-history div:first-child small{color:var(--g-deep)}
.gt-history b{font-family:var(--display);font-weight:800;font-size:54px;line-height:1;color:var(--g)}
.gt-history span{font-size:13px;color:var(--muted);font-weight:600}
.gt-bars{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr));gap:20px;margin:20px 0 32px}
.gt-barcard{background:var(--cream);border-radius:24px;padding:26px;display:flex;flex-direction:column;gap:14px}
.gt-barcard h3{margin:0!important;font-size:24px!important}
.bar{display:grid;grid-template-columns:1fr auto;gap:6px 12px;align-items:center}
.bar span{font-size:15px;font-weight:600;color:var(--muted)}
.bar b{font-family:var(--display);font-weight:800;font-size:18px;color:var(--g)}
.bar i{grid-column:1/-1;height:12px;border-radius:999px;background:#E3DDC4;overflow:hidden;position:relative}
.bar i::after{content:"";position:absolute;inset:0 auto 0 0;width:var(--v);background:linear-gradient(90deg,var(--g),var(--g-3));border-radius:999px}
.bar--gold i::after{background:linear-gradient(90deg,var(--gold-dk),var(--gold))}
.gt-table-wrap{overflow-x:auto;border-radius:22px;border:1px solid var(--cream-2);margin:20px 0 32px}
.gt-table{width:100%;border-collapse:collapse;min-width:640px;font-size:15px}
.gt-table th,.gt-table td{padding:14px 16px;text-align:center;border-bottom:1px solid var(--cream-2)}
.gt-table th:first-child,.gt-table td:first-child{text-align:left;font-weight:700;color:var(--g)}
.gt-table thead th{background:var(--g);color:#fff;font-weight:800;font-size:13px;letter-spacing:.06em}
.gt-table thead th:last-child{background:var(--gold);color:var(--g-deep)}
.gt-table tbody tr:nth-child(even){background:var(--cream)}
.gt-table td:last-child{font-weight:800;color:var(--g)}
.gt-table .up{color:var(--g-3);font-size:12px;font-weight:800;display:block}

/* ---------- Responsive ---------- */
@media (max-width:1240px){
  .site-header__inner{flex-wrap:wrap}
  .main-nav{order:3;flex-basis:100%}
}
@media (max-width:1140px){.tree{transform:scale(.8);transform-origin:top center;margin-bottom:-150px}}
@media (max-width:900px){
  .site{border-left-width:6px}
  .site-logo img{height:84px}
  .nav-toggle{display:flex}
  .header-cta{order:4;flex-basis:100%;justify-content:center}
  .main-nav{display:none}
  .main-nav.is-open{display:block}
  .main-nav>ul{flex-direction:column;gap:0;width:100%}
  .main-nav>ul>li{border-bottom:1px solid var(--cream-2)}
  .main-nav>ul>li>a,.main-nav>ul>li>button{width:100%;justify-content:space-between;padding:16px 4px;border-bottom:0}
  .main-nav .sub{position:static;transform:none;opacity:1;visibility:visible;box-shadow:none;border-top:0;display:none;padding:0 0 12px;min-width:0}
  .main-nav li.open>.sub{display:block;transform:none}
  .main-nav li:hover>.sub{transform:none}
  .hero__panel{clip-path:none;padding:56px 24px}
  .hero__inner{min-height:0}
  .hero__aside{padding:0 16px 24px;justify-content:center}
  .hero__photo{position:relative;height:300px}
  .hero{display:flex;flex-direction:column-reverse}
  .tree{transform:none;margin-bottom:0;width:100%;height:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .tree svg{display:none}
  .leaf,.plaque{position:static!important;width:auto!important;height:auto!important;min-height:150px;border-radius:24px!important}
  .plaque{grid-column:1/-1;min-height:0}
  .sidetab{top:auto;bottom:0;left:0}
  .sidetab nav{flex-direction:row;border-radius:0}
  .sidetab a+a{border-top:0;border-left:1px solid rgba(11,58,20,.25)}
  body{padding-bottom:64px}
  .hide-sm{display:none!important}
  .timeline::before{display:none}
  .collage{min-height:420px}
  .section{padding:72px 20px}
  .gallery .big,.gallery .wide{grid-column:span 1}
  .gt-callout .btn{margin-left:0}
  .panel__body{padding:32px 24px}
}
@media (max-width:520px){
  .ticker__social{display:none}
  .features,.quotes,.family-grid,.news-grid{grid-template-columns:1fr}
  .photo-strip img{flex-basis:220px;width:220px;height:160px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.sidetab,.ticker,.cta,.nav-toggle{display:none}}
