:root{--ink:#16373e;--muted:#536c76;--gold:#f4b731;--line:#d5dfdd;--sage:#e9efE7;--paper:#fdfdfb;--white:#fff}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 Arial,Helvetica,sans-serif}button,input,select,textarea{font:inherit;color:inherit}a{color:inherit;text-underline-offset:4px}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button,.button{border:1px solid var(--ink);padding:11px 21px;border-radius:7px;background:var(--ink);color:white;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:9px;line-height:1.35}button:hover,.button:hover{filter:brightness(.96)}.outline{background:transparent;color:var(--ink);border-color:#94a8ad}.gold{background:var(--gold);color:var(--ink);border-color:var(--gold)}.link{border:0;background:transparent;color:var(--ink);padding:0;text-decoration:underline;border-radius:0}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}:focus-visible{outline:3px solid #b67900;outline-offset:4px}[hidden]{display:none!important}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;line-height:1.12;letter-spacing:-.8px;font-weight:500}h1{font-size:54px;margin:0 0 18px}h2{font-size:31px;margin:0 0 14px}h3{font-size:24px;margin:0 0 10px}p{margin:0 0 17px}.muted,.subtext{color:var(--muted)}.small{font-size:14px}.eyebrow{font-size:12px;font-weight:bold;letter-spacing:1.8px;text-transform:uppercase;color:var(--muted);margin-bottom:15px}.lead{font-size:20px;line-height:1.5;color:var(--muted)}.container{width:min(1280px,calc(100% - 80px));margin:auto}.site-header{height:94px;border-bottom:2px solid var(--gold);display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:26px;letter-spacing:-1px;white-space:nowrap}.brand img{width:53px;height:53px;object-fit:contain}.site-header nav{display:flex;gap:31px;align-items:center}.site-header nav a{text-decoration:none;font-size:15px;padding:9px 0;border-bottom:2px solid transparent}.site-header nav a.current{border-color:var(--gold)}.site-header nav a:hover{color:#9b6500}#main{min-height:calc(100vh - 190px)}.site-footer{border-top:1px solid var(--line);padding:25px 0;display:flex;align-items:center;justify-content:space-between;gap:24px;color:var(--muted);font-size:12px}.site-footer nav{display:flex;gap:17px;flex-wrap:wrap}.site-footer nav a{white-space:nowrap}.skip{position:absolute;left:10px;top:-100px;background:white;z-index:2000}.skip:focus{top:10px}.home{display:grid;grid-template-columns:1.13fr 1fr;align-items:start;gap:72px;padding:118px 28px 95px;min-height:calc(100vh - 190px)}.home h1{font-size:clamp(54px,5.6vw,79px);line-height:1.04;letter-spacing:-2.8px;margin:0 0 27px}.home h1 span{color:var(--gold)}.home .lead{font-size:19px;margin-bottom:31px}.search-label{display:block;font-size:12px;font-weight:bold;letter-spacing:1.5px;margin-bottom:10px}.search-wrap{position:relative}.search-field{position:relative;display:flex}.search-field input{height:63px;width:100%;border:1px solid #9db0b4;border-radius:6px;padding:14px 62px 14px 21px;background:white;font-size:17px;min-width:0}.search-field button{position:absolute;right:8px;top:8px;width:46px;height:47px;padding:9px;border:0;background:transparent;color:var(--ink)}.search-field button .icon{width:30px;height:30px}.suggestions{position:absolute;z-index:1200;left:0;right:0;top:100%;margin-top:5px;background:white;border:1px solid var(--line);border-radius:6px;box-shadow:0 8px 25px #16373e18;max-height:280px;overflow:auto}.suggestions button{display:block;text-align:left;width:100%;border:0;border-radius:0;background:white;color:var(--ink);padding:10px 15px}.suggestions button:hover,.suggestions button:focus{background:var(--sage)}.suggestions small{display:block;color:var(--muted)}.search-error{font-size:14px;color:#984b29;margin:9px 0}.more-link{margin:14px 0}.home-map{position:relative;width:100%;aspect-ratio:516/382;overflow:hidden;border:0;padding:0;background:#edf0e7;border-radius:24px}.home-map img{position:absolute;width:290.31%;max-width:none;left:-161.24%;top:-66.75%;height:auto}.home-map:focus-visible{outline-offset:6px}.home-map:hover{filter:brightness(.98)}.filter-panel{border:1px solid var(--line);border-radius:7px;background:white;padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:13px 20px;font-size:14px}.filter-panel fieldset{padding:0;margin:0;border:0;min-width:0}.filter-panel legend{padding:0;margin:0 0 5px;font-weight:600}.filter-panel label:not(.check){display:block;margin-bottom:4px}.filter-panel select{width:100%;height:39px;background:white;border:1px solid #bcccd0;border-radius:5px;padding:5px 9px}.check{display:flex;align-items:center;gap:9px;margin:5px 0;cursor:pointer;font-size:14px}.check input{width:18px;height:18px;accent-color:#396552;margin:0}.filter-actions{grid-column:1/-1;display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px}.toolbar{display:flex;align-items:center;gap:17px;margin:19px 0 15px}.toolbar .search-wrap{width:300px;flex-shrink:0}.toolbar .search-field input{height:49px;font-size:15px;padding-left:14px}.toolbar .search-field button{top:3px;right:4px;height:43px}.toolbar .search-field button .icon{width:24px;height:24px}.toolbar .refine{border-color:var(--gold);border-radius:25px;font-size:14px;white-space:nowrap}.result-count{font-size:14px}.view-toggle{display:flex;margin-left:auto;flex-shrink:0}.view-toggle button{background:white;color:var(--ink);border-color:#bfced1;border-radius:0;padding:11px 16px;font-size:14px}.view-toggle button:first-child{border-radius:6px 0 0 6px}.view-toggle button:last-child{border-radius:0 6px 6px 0;margin-left:-1px}.view-toggle button.active{background:#fff0c7;border-color:var(--gold);z-index:1}.demo-note{font-size:12px;color:var(--muted);margin:0 0 12px}.results-layout{display:grid;grid-template-columns:215px minmax(0,1fr);gap:16px;padding-bottom:32px}.results-layout.map-view{grid-template-columns:205px minmax(320px,.95fr) minmax(380px,1.3fr)}.results-layout.no-filters{grid-template-columns:minmax(0,1fr)}.results-layout.map-view.no-filters{grid-template-columns:minmax(330px,.85fr) minmax(450px,1.5fr)}.filter-sidebar{border:1px solid var(--line);border-radius:8px;padding:20px 16px;align-self:start;background:#fafcf9;position:sticky;top:15px}.filter-sidebar h2{font-size:21px;margin-bottom:23px}.filter-sidebar .filter-panel{display:flex;flex-direction:column;border:0;padding:0;background:transparent;gap:19px}.filter-sidebar .filter-actions{flex-wrap:wrap;gap:13px}.filter-sidebar .filter-actions button{font-size:13px}.cards{min-width:0}.school-card{border:1px solid var(--line);border-radius:8px;padding:14px;background:white;display:grid;grid-template-columns:190px minmax(0,1fr) 245px;gap:20px;margin-bottom:12px;transition:border-color .15s,box-shadow .15s}.school-card.highlight{border-color:var(--gold);box-shadow:0 0 0 2px #f4b73125}.school-card h2{font:600 19px/1.25 Arial,sans-serif;letter-spacing:-.3px;margin:0 0 5px}.school-card h2 a{text-decoration:none}.school-card .address{font-size:14px;color:var(--muted);margin-bottom:4px}.distance{font-size:12px;color:var(--muted);margin:0 0 8px}.card-description{font-size:14px;line-height:1.4;margin:0 0 9px}.tags{display:flex;flex-wrap:wrap;gap:5px}.tag{background:#eaf2e9;padding:3px 9px;border-radius:14px;font-size:11px;line-height:1.4;white-space:normal}.tag.blue{background:#e7eff4}.card-facts{border-left:1px solid var(--line);padding-left:21px;font-size:14px;display:flex;flex-direction:column;gap:6px}.card-controls{display:flex;align-items:center;gap:12px;margin-top:11px;flex-wrap:wrap}.card-controls button{font-size:13px;padding:7px 12px}.card-controls .link{padding:0}.card-controls .check{font-size:13px}.card-facts .detail-link{margin-top:auto;align-self:flex-end;border-color:var(--gold);border-radius:25px;font-size:13px;padding:9px 17px;white-space:nowrap}.media{position:relative;overflow:hidden;background:#e2e9de;border-radius:6px;isolation:isolate;aspect-ratio:640/275}.media img{position:absolute;width:174.0625%;max-width:none;left:-9.21875%;top:-69.4545%;height:auto}.media.about{aspect-ratio:823/350}.media.about img{width:192.71%;left:-82.5%;top:-26.857%;}.school-card>.media{align-self:start;aspect-ratio:1.2}.school-card>.media img{width:275%;left:-55%;top:-78%}.school-card>.media.about img{width:310%;left:-150%;top:-30%}.map-view .school-card{grid-template-columns:112px minmax(0,1fr);gap:12px}.map-view .school-card .card-description{display:none}.map-view .school-card h2{font-size:15px}.map-view .school-card .address{font-size:12px}.map-view .school-card .tag{font-size:10px}.map-view .school-card .card-facts{grid-column:1/-1;border:0;padding:0;display:grid;grid-template-columns:1fr 1fr;font-size:12px;gap:5px}.map-view .school-card .card-facts>span:nth-child(3){grid-column:1/-1}.map-view .card-controls{margin-top:5px;gap:10px}.map-view .card-facts .detail-link{grid-column:2;grid-row:4;justify-self:end;align-self:center}.map-shell{position:sticky;top:15px;height:calc(100vh - 165px);min-height:450px;max-height:800px;border:1px solid var(--line);border-radius:8px;overflow:hidden;isolation:isolate;background:#e4eae4}.leaflet-container{width:100%;height:100%;font-family:Arial,sans-serif}.map-search{position:absolute;top:14px;left:50%;transform:translateX(-50%);z-index:600;background:white;color:var(--ink);border:1px solid #b8c7c7;border-radius:24px;padding:9px 16px;font-size:13px;white-space:nowrap;box-shadow:0 2px 6px #16373e10}.map-status{position:absolute;bottom:28px;left:10px;right:10px;z-index:600;font-size:12px;background:white;padding:8px;border-radius:5px}.pin-icon{background:none;border:0}.pin-shape{display:block;width:30px;height:30px;background:var(--gold);border:3px solid white;border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:0 2px 6px #0004}.pin-shape:after{content:'';display:block;width:9px;height:9px;border-radius:50%;background:var(--ink);position:absolute;left:7.5px;top:7.5px}.leaflet-popup-content{line-height:1.5;min-width:170px}.leaflet-popup-content a{display:inline-block;margin-top:8px;color:var(--ink)!important}.leaflet-tooltip{color:var(--ink);font-size:12px}.empty{padding:45px 26px;text-align:center;border:1px solid var(--line);border-radius:9px;background:white}.empty h2{font-size:28px}.empty p{color:var(--muted)}.compare-dock{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:1100;display:flex;align-items:center;gap:19px;padding:12px 18px;border-radius:10px;background:var(--ink);color:white;box-shadow:0 6px 25px #16373e40;font-size:14px}.compare-dock .link{color:white}.compare-dock button{padding:9px 16px}.page{padding:45px 0 55px}.page-top{margin-bottom:28px}.shortlist-page h1{font-size:58px}.shortlist-page .lead{margin-bottom:29px}.save-banner{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:25px;background:var(--sage);border-radius:9px;padding:25px 30px;margin-bottom:23px}.save-banner h2{font-size:25px;margin-bottom:5px}.save-banner p{font-size:14px;margin:0}.email-form{display:flex;gap:12px;align-items:start}.email-form input{width:100%;min-width:0}.email-form button{white-space:nowrap;font-size:14px}.form-note{grid-column:1/-1;font-size:12px!important;color:var(--muted);margin-top:-12px!important}.list-heading{display:flex;align-items:center;gap:19px;margin:18px 0}.list-heading h2{margin:0;font-size:27px}.list-heading .view-toggle{margin-left:auto}.list-heading .link{font-size:13px}.shortlist-map{position:relative;height:430px;margin:0 0 22px}.profile-top{display:flex;justify-content:space-between;align-items:center;gap:30px;margin:20px 0}.profile-top h1{font-size:43px;margin:0 0 5px}.profile-top p{margin:0;color:var(--muted)}.profile-actions{display:flex;gap:18px;align-items:center}.breadcrumb{font-size:13px;color:var(--muted)}.profile-hero{display:grid;grid-template-columns:1.8fr .95fr;gap:22px}.profile-hero .media{aspect-ratio:640/275}.thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:9px}.thumbs button{padding:0;border:0;display:block;overflow:hidden;background:transparent;border-radius:5px}.thumbs .media{aspect-ratio:1.65}.thumbs .media img{width:530%;left:-28%;top:-370%}.thumbs .garden img{left:-131%}.thumbs .books img{left:-235%}.gallery-main{position:relative}.gallery-button{position:absolute;bottom:14px;right:14px;font-size:13px;padding:9px 14px;background:#16373ee6}.at-glance{background:var(--sage);border-radius:7px;padding:27px 25px}.at-glance h2{font-size:28px}.fact-row{display:grid;grid-template-columns:38% 1fr;gap:10px;padding:13px 0;border-top:1px solid #c7d4cd;font-size:14px}.at-glance .button{width:100%;margin:16px 0 10px}.at-glance .link{display:block;text-align:center;font-size:14px}.profile-tags{margin:15px 0}.section-nav{display:flex;gap:30px;border-bottom:1px solid var(--line);margin:15px 0 25px;padding:0;overflow:auto;white-space:nowrap}.section-nav a{font-size:14px;text-decoration:none;padding:10px 0}.section-nav a:first-child{border-bottom:3px solid var(--gold)}.profile-columns{display:grid;grid-template-columns:1.8fr .95fr;gap:30px}.profile-columns p{font-size:15px}.sage{background:var(--sage);padding:22px;border-radius:7px}.sage .fact-row{grid-template-columns:31% 1fr}.sage h2{font-size:27px}.journey{border-left:1px solid var(--line);padding-left:20px}.journey .map-shell{position:relative;min-height:0;height:210px;max-height:none;border-radius:5px}.journey h3{margin:18px 0 10px}.journey input,.journey button{width:100%;margin-bottom:9px}.profile-section{border-top:1px solid var(--line);padding-top:24px;margin-top:25px;scroll-margin-top:20px}.fees-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.fees-grid h3{font-family:Arial;font-size:16px;letter-spacing:0}.fees-grid p{font-size:14px}.accordion{border:1px solid var(--line);border-radius:7px;margin:11px 0;background:white}.accordion summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;padding:17px 20px;font:22px/1.3 Georgia}.accordion summary::-webkit-details-marker{display:none}.accordion summary:after{content:'+';font:27px Arial;margin-left:15px}.accordion[open] summary:after{content:'−'}.accordion>div{padding:0 20px 20px;color:var(--muted);font-size:15px}.accordion p:last-child{margin-bottom:0}.editorial-hero{display:grid;grid-template-columns:1fr 1.25fr;gap:50px;align-items:center;margin-bottom:30px}.editorial-hero h1{font-size:52px}.editorial-hero p{font-size:17px}.editorial-hero .media{height:300px}.three-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;border-top:1px solid var(--line);padding:28px 0}.three-columns section+section{border-left:1px solid var(--line);padding-left:30px}.three-columns h2{font-size:29px}.three-columns p{font-size:15px;color:var(--muted)}.wide-sage{display:grid;grid-template-columns:1fr 1.5fr;align-items:center;gap:45px;background:var(--sage);border-radius:9px;padding:28px;margin-bottom:24px}.wide-sage h2,.wide-sage p{margin:0}.wide-sage p{font-size:15px}.school-cta{display:flex;align-items:center;gap:30px;border-top:1px solid var(--line);padding-top:22px}.school-cta h2{white-space:nowrap;margin:0}.school-cta p{margin:0;font-size:15px}.school-cta .button{white-space:nowrap;margin-left:auto}.choose-hero{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:30px;margin-bottom:28px}.choose-hero h1{font-size:45px}.steps-graphic{padding:30px 24px;text-align:center}.steps-graphic h2{font-size:30px}.three-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px}.three-steps b{display:grid;place-items:center;border-radius:50%;width:53px;height:53px;margin:0 auto 12px;background:#cbded2;font:30px Georgia}.three-steps span{font:19px/1.3 Georgia}.guide-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:36px}.guide-step{display:grid;grid-template-columns:48px 1fr;gap:22px;border-bottom:1px solid var(--line);padding:24px 0}.guide-step:first-child{padding-top:0}.guide-step>b{width:47px;height:47px;display:grid;place-items:center;border-radius:50%;background:#dce9e1;font:29px Georgia}.guide-step h2{font-size:27px}.guide-step p{font-size:15px;color:var(--muted)}.compare-tip{background:white;border-radius:5px;padding:9px 12px;margin:9px 0;font-size:14px}.compare-tip small{display:block;color:var(--muted)}.yellow-panel{background:#ffebb0;padding:25px;border-radius:8px;margin-top:18px}.yellow-panel h2{font-size:28px}.yellow-panel p{font-size:15px}.yellow-panel .button{width:100%}.two-column-page{display:grid;grid-template-columns:240px 1fr;gap:36px}.on-page{background:var(--sage);padding:24px;border-radius:7px;align-self:start;position:sticky;top:20px}.on-page h2{font-size:25px}.on-page a{display:block;text-decoration:none;font-size:15px;margin:15px 0}.on-page a:hover{text-decoration:underline}.legal-main h1{font-size:49px}.legal-section{border-top:1px solid var(--line);padding:22px 0 5px;scroll-margin-top:20px}.legal-section h2{font-size:28px}.legal-section p{color:var(--muted);font-size:16px}.legal-heading{text-align:center;margin-bottom:30px}.legal-heading h1{font-size:56px}.contact-page{max-width:730px;margin:auto;text-align:center;padding-top:45px}.contact-page h1{font-size:32px;line-height:1.25;max-width:650px;margin:28px auto 48px}.contact-form{text-align:left;padding:30px;background:white;border:1px solid var(--line);border-radius:9px}.contact-form>label{display:block;margin-bottom:22px;font-size:16px}.contact-form input,.contact-form textarea{width:100%;margin-top:6px}.contact-form textarea{min-height:145px;resize:vertical}.contact-form .check{font-size:14px}.contact-form .check input{width:18px;margin:0}.contact-form>button{width:100%;margin-top:20px}.contact-note{text-align:left;padding:20px;background:var(--sage);border-radius:8px;margin:18px 0}.contact-note p{margin:0;font-size:14px}input:not([type=checkbox]),textarea{border:1px solid #b6c6c9;border-radius:5px;padding:12px 15px;background:white}#toast{position:fixed;bottom:25px;right:25px;z-index:2000;padding:13px 21px;background:var(--ink);color:white;border-radius:8px;box-shadow:0 4px 20px #0002;max-width:390px;font-size:14px;display:none}#toast.visible{display:block}dialog{border:1px solid var(--line);border-radius:12px;padding:28px;color:var(--ink);width:min(1100px,94vw);max-height:90vh;background:var(--paper)}dialog::backdrop{background:#102d36aa}.modal-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.modal-top h2{margin:0}.modal-top button{padding:7px;background:transparent;color:var(--ink);border:0}.comparison-scroll{overflow:auto}table{border-collapse:collapse;width:100%;min-width:650px;font-size:14px}th,td{border-bottom:1px solid var(--line);padding:15px;text-align:left;vertical-align:top;min-width:175px}th{background:var(--sage)}td:first-child{font-weight:bold}dialog .media{max-height:62vh}.gallery-actions{display:flex;justify-content:space-between;margin-top:15px}.error-text{color:#984b29}.legal-draft{font-size:12px;color:var(--muted);margin-top:20px}.button-row{display:flex;gap:12px;flex-wrap:wrap}.cookie-status{font-size:14px;margin-top:15px}.share-output{padding:12px;background:var(--sage);word-break:break-all;font-size:14px;margin:12px 0}body:has(.compare-dock) .site-footer{padding-bottom:100px}
@media(min-width:1500px){.home{padding-top:118px}}
@media(max-width:1150px){.container{width:calc(100% - 48px)}.home{gap:40px;padding:85px 8px}.home h1{font-size:61px}.home .lead{font-size:17px}.site-header nav{gap:19px}.brand{font-size:23px}.results-layout.map-view{grid-template-columns:180px minmax(290px,1fr) minmax(290px,1fr)}.school-card{grid-template-columns:140px 1fr 200px;gap:13px}.card-facts{padding-left:12px}.toolbar{gap:12px;flex-wrap:wrap}.toolbar .search-wrap{width:260px}.map-view .school-card{grid-template-columns:80px 1fr}.card-facts .detail-link{font-size:12px}.filter-sidebar{padding:16px 12px}.editorial-hero{gap:30px}.editorial-hero h1{font-size:44px}.save-banner{grid-template-columns:1fr}.form-note{margin-top:0!important}}
@media(max-width:900px){.home{grid-template-columns:1fr 1fr;gap:28px}.home h1{font-size:52px}.home-map{align-self:center}.results-layout.map-view{grid-template-columns:minmax(280px,1fr) 1fr}.results-layout.map-view .filter-sidebar{grid-column:1/-1;position:static}.filter-sidebar .filter-panel{display:grid;grid-template-columns:1fr 1fr}.results-layout:not(.map-view){grid-template-columns:1fr}.results-layout:not(.map-view) .filter-sidebar{position:static}.school-card{grid-template-columns:140px 1fr}.card-facts{grid-column:2;border:0;padding:0}.profile-hero{grid-template-columns:1.5fr 1fr}.at-glance{padding:20px}.fact-row{grid-template-columns:1fr 1fr}.profile-columns{grid-template-columns:1.5fr 1fr}.editorial-hero{grid-template-columns:1fr 1fr}.editorial-hero h1{font-size:40px}.three-columns{gap:20px}.three-columns section+section{padding-left:20px}.site-footer{align-items:flex-start;flex-direction:column;gap:12px}.two-column-page{grid-template-columns:190px 1fr;gap:25px}.choose-hero{gap:28px}.choose-hero h1{font-size:37px}.guide-grid{gap:25px;grid-template-columns:1.3fr 1fr}.list-heading{flex-wrap:wrap}}
@media(max-width:650px){.container{width:calc(100% - 36px)}.site-header{height:auto;min-height:80px;flex-wrap:wrap;padding:14px 0;gap:13px}.brand{font-size:23px}.brand img{width:43px;height:43px}.site-header nav{width:100%;justify-content:space-between;gap:10px}.site-header nav a{font-size:13px;padding:4px 0}.home{display:flex;flex-direction:column;gap:35px;padding:43px 0 50px;min-height:0}.home>div,.home-map{width:100%}.home h1{font-size:55px}.home .lead{font-size:17px;max-width:360px}.search-field input{height:58px;font-size:16px}.search-field button{top:5px}.home-map{max-width:480px}.filter-panel{gap:14px 12px;padding:13px}.filter-panel .check{font-size:12px}.filter-actions button{font-size:13px}.toolbar .search-wrap{width:100%}.toolbar .refine{font-size:12px;padding:9px 12px}.result-count{order:4;width:100%;font-size:13px}.view-toggle button{padding:9px 12px}.results-layout.map-view,.results-layout.map-view.no-filters{display:flex;flex-direction:column}.map-view .map-shell{order:1;position:relative;height:380px;min-height:380px}.map-view .cards{order:2}.filter-sidebar{position:static!important}.school-card,.map-view .school-card{grid-template-columns:100px 1fr;gap:12px;padding:12px}.school-card h2{font-size:16px}.school-card .address{font-size:12px}.card-description{display:none}.card-facts,.map-view .school-card .card-facts{grid-column:1/-1;border-top:1px solid var(--line);padding-top:10px;display:grid;grid-template-columns:1fr 1fr;font-size:13px}.card-facts>span:nth-child(3){grid-column:1/-1}.card-facts .detail-link{grid-column:2;grid-row:4;justify-self:end;align-self:center}.card-controls{gap:10px;margin-top:6px}.tag{font-size:10px}.page{padding:30px 0 40px}h1{font-size:39px}.shortlist-page h1{font-size:43px}.lead{font-size:17px}.save-banner{padding:22px;gap:16px}.email-form{flex-direction:column}.email-form button{width:100%}.list-heading h2{font-size:24px;width:100%}.list-heading{gap:13px}.profile-top{display:block}.profile-top h1{font-size:35px}.profile-actions{margin-top:16px}.profile-hero,.profile-columns,.fees-grid{display:block}.at-glance{margin-top:18px}.section-nav{gap:22px}.journey{border:0;padding:20px 0 0}.profile-section{margin-top:20px}.fees-grid>div+div{margin-top:20px}.editorial-hero,.choose-hero{display:block}.editorial-hero h1{font-size:41px}.editorial-hero .media{height:auto;margin-top:20px}.three-columns{display:block;padding:10px 0}.three-columns section{padding:20px 0!important;border-left:0!important}.wide-sage{display:block;padding:24px}.wide-sage h2{margin-bottom:18px}.school-cta{display:block}.school-cta p{margin:15px 0}.choose-hero h1{font-size:39px}.steps-graphic{margin-top:24px}.guide-grid{display:block}.guide-step{gap:15px;grid-template-columns:40px 1fr}.guide-step>b{width:38px;height:38px;font-size:25px}.guide-step h2{font-size:25px}.guide-grid aside{margin-top:25px}.two-column-page{display:block}.on-page{position:static;margin-bottom:25px;padding:18px}.on-page a{display:inline-block;margin:6px 15px 6px 0;font-size:13px}.legal-main h1,.legal-heading h1{font-size:39px}.legal-section h2{font-size:26px}.accordion summary{font-size:20px}.contact-page h1{font-size:29px;margin-bottom:30px}.contact-form{padding:21px}.site-footer{font-size:11px}.site-footer nav{gap:13px}.compare-dock{width:calc(100% - 24px);bottom:12px;gap:12px;padding:12px;font-size:12px}.compare-dock button{padding:8px 12px;font-size:12px}#toast{left:18px;right:18px;bottom:85px;max-width:none}dialog{padding:20px}.three-steps span{font-size:16px}.three-steps{gap:10px}}
/* Keep reference-photo windows inside the image area at every size. */
.school-card>.media.about img{width:420%;left:-215%;top:-40%}
.editorial-hero .media{height:auto}
.gallery-crop{aspect-ratio:210/128;max-width:650px;margin:auto}
.gallery-crop img{width:530.48%;left:-28.1%;top:-370.3%}
.gallery-crop.garden img{left:-131.4%}
.gallery-crop.books img{left:-235.7%}
@media print{header,footer,.compare-dock,.modal-top button,.gallery-actions{display:none!important}dialog[open]{position:static;max-height:none;width:100%;border:0}body:has(dialog[open]) #app{display:none}.comparison-scroll{overflow:visible}table{min-width:0}th,td{min-width:0}}
.fees-grid:has(.oval-fees){display:block}.fees-grid:has(.oval-fees)>div+div{max-width:620px;margin-top:28px}.oval-fees{margin-top:24px}.oval-fees table{min-width:1000px}.oval-fees th,.oval-fees td{min-width:135px;padding:12px}.oval-fees th:first-child,.oval-fees td:first-child{min-width:230px}
.fees-grid:has(.clapham-fees){display:block}.fees-grid:has(.clapham-fees)>div:first-child>h3:first-child,.fees-grid:has(.clapham-fees)>div:first-child>p:first-of-type,.fees-grid:has(.clapham-fees)>div+div{display:none}.clapham-fees{max-width:1080px}.clapham-fee-table{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff}.clapham-fee-table h3{margin:0;padding:16px 18px;background:var(--sage)}.clapham-fee-table table{width:100%;min-width:680px;border-collapse:collapse}.clapham-fee-table th,.clapham-fee-table td{padding:12px 18px;text-align:left;border-top:1px solid var(--line)}.clapham-fee-table th{font-size:12px;letter-spacing:1.4px;text-transform:uppercase}.clapham-fee-table>p{padding:12px 18px;margin:0}.clapham-fee-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.clapham-fee-cards section{border:1px solid var(--line);border-radius:8px;padding:18px;background:#fff}.clapham-fee-cards section p:last-child{margin-bottom:0}.funding-tags{display:flex;gap:10px;flex-wrap:wrap}.funding-tags span{border:1px solid #9eae8c;border-radius:6px;padding:5px 12px;background:#f8faf5}.clapham-fee-cards .extra-classes{grid-column:1}.extra-classes>div{display:grid;grid-template-columns:1fr 1fr;gap:18px}.clapham-fee-note{max-width:620px;margin-top:16px}@media(max-width:700px){.clapham-fee-cards{grid-template-columns:1fr}.clapham-fee-cards .extra-classes{grid-column:auto}.extra-classes>div{grid-template-columns:1fr}.clapham-fee-table th,.clapham-fee-table td{padding:10px 12px}}
.standard-fees{max-width:1080px}.fee-table-intro{padding:14px 18px 2px;margin:0}.fee-panel-link{margin:0;padding:12px 18px 16px}.fee-panel-link a{display:inline-flex;align-items:center;gap:8px;font-weight:700}.little-hands-fees .clapham-fee-table table{min-width:960px}.fee-more-info{margin-top:20px;max-width:720px}.fee-more-info h3{margin-bottom:12px}.fee-more-info ul{margin:0;padding-left:21px}.fee-more-info li{margin:7px 0}
.unified-fees .standard-fee-table+.standard-fee-table{margin-top:20px}.unified-fees .standard-fee-table table{min-width:680px}.unified-fees.little-hands-wimbledon .standard-fee-table table,.unified-fees.oval-montessori .standard-fee-table table,.unified-fees.newpark-clerkenwell .standard-fee-table:nth-child(2) table{min-width:960px}.unified-fee-cards section p{margin-bottom:8px}.unified-fee-cards section p:last-child{margin-bottom:0}.unified-fees .fee-source-links{margin-top:22px}.unified-fees .fee-source-links a{display:inline-block;margin:3px 0}.unified-fees .fee-more-info{border-top:1px solid var(--line);padding-top:18px}

/* Home illustration: the artwork moves, while the frame and call to action stay fixed. */
.home-map{display:grid;place-items:center;isolation:isolate;aspect-ratio:1672/941;border:4px solid var(--gold);border-radius:24px;background:#e9eee8;box-shadow:none;cursor:pointer}
.home-map-art{position:absolute;inset:0;overflow:hidden;border-radius:19px;z-index:-1}
.home-map .home-map-art img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;transform:scale(1);transition:transform .45s ease}
.home-map-badge{display:inline-flex;align-items:center;justify-content:center;gap:10px;max-width:calc(100% - 32px);padding:12px 18px;border:2px solid var(--gold);border-radius:999px;background:#fff;color:var(--ink);font-size:15px;font-weight:600;line-height:1.2;text-align:center;box-shadow:0 3px 12px #17383d1c;transition:background-color .2s,color .2s,border-color .2s;z-index:1}
.home-map-badge .icon{flex:none;color:#f1a51e}
.home-map-badge span{white-space:normal;min-width:0;overflow-wrap:normal}
.home-map:hover,.home-map:focus-visible{filter:none}
.home-map:hover .home-map-art img,.home-map:focus-visible .home-map-art img{transform:scale(1.09)}
.home-map:hover .home-map-badge,.home-map:focus-visible .home-map-badge{background:var(--ink);border-color:var(--ink);color:#fff}
.home-map:hover .home-map-badge .icon,.home-map:focus-visible .home-map-badge .icon{color:#fff}

/* Compact profile, with a visible map and clearer hierarchy. */
.profile-hero{align-items:start}
.at-glance{align-self:start}
.profile #overview h2,.profile #approach h2,.profile #fees h2,.profile #admissions summary>span{font-family:Georgia,serif;font-size:28px;font-weight:600;line-height:1.2;color:var(--ink)}
.profile #approach h2{margin:0 0 12px}
.profile .section-nav a{font-weight:600}
.profile .accordion summary{display:flex;align-items:center;gap:20px}
.profile .accordion summary small{font-family:Arial,sans-serif;font-size:13px;font-weight:400;color:var(--muted)}
.profile .accordion summary:after{margin-left:auto}
.journey .map-shell{height:210px;background:#e9eee8}
.journey .map-status:not([hidden]){display:block}
@media(max-width:650px){.site-header nav{justify-content:flex-start;flex-wrap:wrap;gap:4px 15px}.home-map-badge{font-size:12px;padding:9px 12px;gap:5px}.home-map-badge span{white-space:normal}.home-map-badge .icon{width:17px;height:17px}.profile .accordion summary{align-items:flex-start;flex-direction:column;gap:4px}.profile .accordion summary:after{position:absolute;right:12px;top:16px}.profile .accordion summary small{padding-right:18px}}
@media(prefers-reduced-motion:reduce){.home-map .home-map-art img,.home-map-badge{transition:none}}

/* School profile: give practical information more room than the gallery. */
.profile-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.95fr);gap:14px;align-items:stretch}
.profile-gallery{display:grid;grid-template-rows:minmax(0,1fr) 150px;gap:10px;min-height:0}
.profile-gallery .gallery-main{min-height:0}
.profile-gallery .gallery-main .media{width:100%;height:100%;aspect-ratio:auto}
.profile-gallery .gallery-main .media img{height:510%;width:auto;max-width:none;left:-62%;top:-69%}
.profile-gallery .thumbs{margin:0;min-height:0}
.profile-gallery .thumbs button,.profile-gallery .thumbs .media{height:100%}
.profile-gallery .thumbs .media{aspect-ratio:auto}
.profile-gallery .thumbs .media img{width:1015%;left:-54%;top:0;transform:translateY(-33.6%)}
.profile-gallery .thumbs .garden img{left:-252%}
.profile-gallery .thumbs .books img{left:-450%}
.at-glance{align-self:stretch;display:flex;flex-direction:column;padding:28px 32px}
.at-glance h2{font-size:32px;margin-bottom:12px}
.glance-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-bottom:14px}
.glance-grid>div{min-width:0}
.glance-fact{border-top:1px solid #c7d4cd;padding:10px 0 11px;font-size:14px;line-height:1.4}
.glance-fact strong,.glance-fact span{display:block}
.glance-fact strong{font-weight:700;margin-bottom:3px}
.glance-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:auto}
.at-glance .glance-actions button{width:100%;margin:0;height:48px;min-height:48px;padding:10px 16px;align-self:stretch}
.profile-tags{margin:24px 0 19px}
.profile .check{align-items:flex-start}
.profile #admissions{padding-top:0;margin-top:12px}
.profile #admissions summary{padding-top:12px;padding-bottom:12px}
.filter-panel .check{align-items:flex-start}
.filter-panel .check input{flex:none;margin-top:2px}
/* Softer map colors for the preview without a paid tile account. */
.map-shell .leaflet-tile{filter:saturate(.78) contrast(.94) brightness(1.04)}
@media(max-width:900px){.profile-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.7fr)}.profile-gallery{grid-template-rows:minmax(0,1fr) 105px}.at-glance{padding:20px}.glance-grid{gap:16px}.glance-actions{gap:8px}}
@media(max-width:650px){.profile-hero{display:block}.profile-gallery{display:block}.profile-gallery .gallery-main .media{aspect-ratio:1.45;height:auto}.profile-gallery .gallery-main .media img{height:510%;width:auto;left:-48%;top:-69%}.profile-gallery .thumbs{margin-top:9px}.profile-gallery .thumbs .media{aspect-ratio:1.65;height:auto}.at-glance{margin-top:18px}.glance-grid{grid-template-columns:1fr 1fr;gap:12px}.glance-fact{font-size:12px}.glance-actions{grid-template-columns:1fr}.profile-tags{margin:21px 0 18px}}
@media(max-width:650px){.profile-gallery .thumbs .media img{width:530.48%;left:-28.1%;top:0;transform:translateY(-33.6%)}.profile-gallery .thumbs .garden img{left:-131.4%}.profile-gallery .thumbs .books img{left:-235.7%}}

/* Shared map cards and the approved profile refinements. */
.home-map{grid-template-columns:minmax(0,1fr)}
.profile .accordion summary{position:relative}
.home-map-badge{box-sizing:border-box;width:max-content;max-width:calc(100% - 40px);padding:12px 24px;flex-shrink:1}
.guide-map{aspect-ratio:3/1;align-self:center;border-radius:16px}
.guide-map .home-map-art{border-radius:11px}
.glance-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}
.at-glance .glance-heading h2{margin:0}
.glance-heading .profile-actions{margin:0;flex-shrink:0;align-items:center}
.glance-heading .profile-actions button{margin:0;width:auto}
.accreditation-panel{margin-top:22px;border:1px solid var(--line);border-radius:7px;padding:20px 24px;background:white}
.accreditation-panel h2{font-size:26px}
.accreditation-panel .fact-row:last-child{border-bottom:0}
.journey .map-shell{border:3px solid var(--gold);border-radius:14px}
@media(max-width:650px){.choose-hero .guide-map{margin:22px 0 0;max-width:none;aspect-ratio:2.5/1}.home-map-badge{padding:10px 18px;max-width:calc(100% - 28px)}.glance-heading{gap:10px;flex-wrap:wrap}.glance-heading .profile-actions{gap:16px}.accreditation-panel{padding:18px}.accreditation-panel h2{font-size:24px}}
.photo-pending{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:22px;background:#eef2ec;border:1px solid #d5dfdd;border-radius:8px;color:var(--ink);min-height:170px}.photo-pending strong{font:500 24px Georgia,serif}.photo-pending span{font-size:14px;color:var(--muted);max-width:240px}.photo-pending a{font-size:13px}.school-card>.photo-pending{align-self:start;min-height:150px;aspect-ratio:1.2}.school-card>.photo-pending strong{font-size:17px}.school-card>.photo-pending span{font-size:12px}.profile-gallery.no-photos{display:block;min-height:0}.profile-gallery.no-photos .photo-pending{height:100%;min-height:430px}.at-glance .glance-actions a{width:100%;min-height:48px;margin:0;align-self:stretch}.profile-sources{border-top:1px solid var(--line);padding-top:20px}.profile-sources ul{margin:0 0 14px;padding-left:22px}.profile-sources li{margin:5px 0}.profile-sources p{max-width:850px}
.photo-link{text-decoration:none}.photo-link:hover{border-color:#aebfba;background:#e7eee5}.photo-link:focus-visible{outline:3px solid #b67900;outline-offset:3px}
@media(max-width:650px){.profile-gallery.no-photos .photo-pending{min-height:220px}.school-card>.photo-pending{min-height:115px}.school-card>.photo-pending span{display:none}}
@media(min-width:651px){.profile .section-nav a[data-section="location-section"]{display:none}}

/* Beckett House school photography. */
.real-gallery .gallery-main{position:relative;overflow:hidden;border-radius:6px}
.real-gallery .gallery-main .real-school-photo,.real-gallery .thumbs .real-school-photo{display:block;width:100%;height:100%;object-fit:cover}
.real-gallery .gallery-main .real-school-photo{position:absolute;inset:0}
.real-gallery .thumbs button{padding:0;overflow:hidden;border:0;border-radius:6px;background:#e9efea}
.school-preview-photo{width:100%;aspect-ratio:1.2;overflow:hidden;border-radius:6px}
.school-preview-photo .real-school-photo{width:100%;height:100%;display:block;object-fit:cover}
.real-gallery-modal{height:min(60vh,560px);background:#edf1ed;display:grid;place-items:center;border-radius:6px;overflow:hidden}
.real-gallery-modal .real-school-photo{max-width:100%;max-height:100%;object-fit:contain}
@media(max-width:650px){.real-gallery .gallery-main{aspect-ratio:1.45}.real-gallery .thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.real-gallery .thumbs button{aspect-ratio:1.65}.school-preview-photo{aspect-ratio:1.2}}

/* Profiles without photos use their full width for practical details. */
.profile-hero.without-photos{display:block}
.profile-hero.without-photos .at-glance{padding:23px 30px 22px}
.profile-hero.without-photos .glance-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-bottom:0}
.profile-hero.without-photos .glance-fact{padding:7px 0 8px}
.profile-hero.without-photos .glance-actions{margin-top:24px}
.profile .section-nav .gallery-tab{display:inline-block;flex:none;border:0;border-radius:0;border-bottom:3px solid transparent;background:transparent;color:var(--ink);padding:10px 0;font-size:14px;font-weight:600;line-height:1.55}
.profile .section-nav .gallery-tab:disabled{color:#91a0a3;opacity:1;cursor:default}
@media(max-width:900px){.profile-hero.without-photos .glance-grid{gap:16px}}
@media(max-width:650px){
 .profile-hero.without-photos .at-glance{margin-top:0;padding:20px}
 .profile-hero.without-photos .glance-grid{grid-template-columns:1fr;gap:0}
 .profile-hero.without-photos .glance-actions{margin-top:20px}
}

/* Mobile navigation and search results. */
.menu-toggle{display:none}
.toolbar .refine{display:none}
@media(max-width:650px){
 .site-header{min-height:76px;display:flex;align-items:center;justify-content:space-between;position:relative;gap:8px}
 .brand{font-size:clamp(20px,6vw,25px);min-width:0}
 .brand img{width:43px;height:43px}
 .menu-toggle{display:flex;width:44px;height:44px;flex:0 0 44px;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);padding:8px}
 .menu-toggle span{display:block;width:24px;height:2px;border-radius:2px;background:currentColor}
 .site-header nav,.site-header nav:not(.menu-open){display:none}
 .site-header nav.menu-open{display:flex;position:absolute;z-index:1000;top:calc(100% - 1px);left:0;right:0;width:100%;flex-direction:column;align-items:stretch;gap:0;padding:8px 14px;background:var(--paper);border:1px solid var(--line);border-radius:0 0 9px 9px;box-shadow:0 12px 24px #16373e18}
 .site-header nav.menu-open a{display:block;padding:12px 8px;font-size:16px;border-bottom:1px solid var(--line)}
 .site-header nav.menu-open a:last-child{border-bottom:0}
 .site-header nav.menu-open a.current{color:#9b6500;font-weight:600}
 .toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 8px;margin-top:20px}
 .toolbar .search-wrap{grid-column:1/-1;grid-row:1;width:100%}
 .toolbar .refine{display:inline-flex;grid-column:1;grid-row:2;justify-self:start;padding:9px 11px;font-size:clamp(11px,3vw,13px)}
 .toolbar .refine .icon{width:17px;height:17px}
 .toolbar .view-toggle{grid-column:2;grid-row:2;margin-left:0}
 .view-toggle button{font-size:clamp(11px,3vw,13px);padding:9px 8px;gap:5px}
 .view-toggle button .icon{width:17px;height:17px}
 .toolbar .result-count{grid-column:1/-1;grid-row:3;order:0;width:auto;margin:0;font-size:14px}
 .results-layout:not(.map-view),.results-layout.no-filters{display:flex;flex-direction:column}
 .results-layout .filter-sidebar{order:0;width:100%;margin-bottom:4px}
 .results-layout .cards{order:1;width:100%}
 .results-layout.map-view .map-shell{order:1}
 .results-layout.map-view .cards{order:2}
 .school-card,.map-view .school-card{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;padding:12px;border-radius:10px}
 .school-card>div:nth-child(2){min-width:0}
 .school-card>.school-preview-photo,.school-card>.media,.school-card>.photo-pending{width:100%;aspect-ratio:1.2;min-height:0;margin:0}
 .school-card>.photo-pending{padding:8px 6px;gap:5px;overflow:hidden}
 .school-card>.photo-pending strong{font-size:14px;line-height:1.15}
 .school-card h2,.map-view .school-card h2{font:600 16px/1.25 Arial,sans-serif;margin-bottom:5px}
 .school-card .address,.map-view .school-card .address{font-size:12px;color:var(--muted);line-height:1.4;margin-bottom:3px}
 .school-card .tags{margin:11px 0 4px;gap:6px}
 .school-card .tag,.map-view .school-card .tag{font-size:11px;padding:4px 8px}
 .school-card .card-facts,.map-view .school-card .card-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;border:0;padding:10px 0 0;font-size:13px}
 .school-card .card-facts>span:nth-child(3){grid-column:1/-1}
 .school-card .card-controls,.map-view .school-card .card-controls{grid-column:1/-1;grid-row:auto;display:flex;align-items:center;gap:22px;margin-top:8px;padding-top:12px;border-top:1px solid var(--line)}
 .school-card .card-controls .check{font-size:14px}
 .school-card .card-controls .link{font-size:14px}
 .school-card .card-facts .detail-link,.map-view .school-card .card-facts .detail-link{grid-column:1/-1;grid-row:auto;justify-self:stretch;align-self:auto;width:100%;margin-top:4px;font-size:14px;padding:11px 16px}
}

/* Newpark profiles: consistent typography across titles, fee tables and supporting cards. */
.unified-fees.newpark-clerkenwell .standard-fee-table table,
.unified-fees.newpark-barbican .standard-fee-table table,
.unified-fees.gower-school-nursery .standard-fee-table table{font-size:15px;line-height:1.45}
.unified-fees.newpark-clerkenwell .standard-fee-table th,
.unified-fees.newpark-barbican .standard-fee-table th,
.unified-fees.gower-school-nursery .standard-fee-table th{font-size:12px;line-height:1.35;letter-spacing:1.2px}
.unified-fees.newpark-clerkenwell .standard-fee-table td,
.unified-fees.newpark-barbican .standard-fee-table td,
.unified-fees.gower-school-nursery .standard-fee-table td{font-size:15px;line-height:1.45}
.unified-fees.newpark-clerkenwell .fee-table-intro,
.unified-fees.newpark-clerkenwell .unified-fee-cards p,
.unified-fees.newpark-barbican .fee-table-intro,
.unified-fees.newpark-barbican .unified-fee-cards p,
.unified-fees.gower-school-nursery .fee-table-intro,
.unified-fees.gower-school-nursery .unified-fee-cards p{font-size:15px;line-height:1.5}
body:has(.unified-fees.newpark-clerkenwell) .profile-top h1,
body:has(.unified-fees.newpark-barbican) .profile-top h1,
body:has(.unified-fees.gower-school-nursery) .profile-top h1{font-size:30px}

/* Keep navigation available while giving the page more room after scrolling. */
.site-header{position:sticky;top:0;z-index:1200;background:var(--paper);transition:height .22s ease,box-shadow .22s ease}
.site-header .brand,.site-header .brand img,.site-header nav a{transition:font-size .22s ease,width .22s ease,height .22s ease,padding .22s ease}
.site-header.is-compact{height:68px;box-shadow:0 7px 18px #16373e12}
.site-header.is-compact .brand{font-size:22px}
.site-header.is-compact .brand img{width:40px;height:40px}
.site-header.is-compact nav a{padding:5px 0}
@media(max-width:650px){.site-header.is-compact{min-height:62px;height:auto;padding:9px 0}.site-header.is-compact .brand img{width:38px;height:38px}}

/* Every profile without reusable photos follows the same compact Gower layout. */
body:has(.profile-hero.without-photos) .profile-top h1{font-size:30px}
body:has(.profile-hero.without-photos) .standard-fee-table table{font-size:15px;line-height:1.45}
body:has(.profile-hero.without-photos) .standard-fee-table th{font-size:12px;line-height:1.35;letter-spacing:1.2px}
body:has(.profile-hero.without-photos) .standard-fee-table td,
body:has(.profile-hero.without-photos) .fee-table-intro,
body:has(.profile-hero.without-photos) .unified-fee-cards p{font-size:15px;line-height:1.5}
@media(max-width:650px){body:has(.profile-hero.without-photos) .profile-top h1{font-size:28px}}

/* School profiles share the Clerkenwell type scale and sage panel headings. */
.profile .profile-top h1{font-size:30px;line-height:1.15;letter-spacing:-.8px}
.profile .profile-top p,.profile .profile-columns p,.profile .accreditation-panel .fact-row,
.profile .standard-fee-table table,.profile .standard-fee-table td,
.profile .fee-table-intro,.profile .unified-fee-cards p,
.profile .fee-more-info,.profile .fee-source-links{font-size:15px;line-height:1.5}
.profile .standard-fee-table th{font-size:12px;line-height:1.35;letter-spacing:1.2px}
.profile .standard-fee-table h3,.profile .accreditation-panel h2{font-size:26px;line-height:1.2}
.profile .accreditation-panel{padding:0 24px 10px;overflow:hidden}
.profile .accreditation-panel h2{margin:0 -24px 0;padding:16px 24px;background:var(--sage)}
@media(max-width:650px){.profile .profile-top h1{font-size:28px}.profile .accreditation-panel{padding:0 18px 8px}.profile .accreditation-panel h2{margin:0 -18px;padding:15px 18px;font-size:24px}}

/* All school profiles use the same sage headings and information hierarchy. */
.profile .unified-fees .unified-fee-cards section,
.profile .unified-fees .fee-more-info{padding:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff}
.profile .unified-fees .unified-fee-cards h3,
.profile .unified-fees .fee-more-info h3{margin:0;padding:16px 18px;background:var(--sage);font-size:26px;line-height:1.2}
.profile .unified-fees .unified-fee-cards p{padding:0 18px;margin:14px 0;font-size:15px;line-height:1.5}
.profile .unified-fees .fee-more-info{max-width:1080px;margin-top:20px;border-top:1px solid var(--line)}
.profile .unified-fees .fee-more-info ul{list-style:none;padding:0;margin:0}
.profile .unified-fees .fee-more-info li{padding:12px 18px;margin:0;border-top:1px solid var(--line);font-size:15px;line-height:1.5}
.profile #admissions.community-admissions{border-top:1px solid var(--line);margin-top:28px;padding-top:24px}
.community-admissions h2{margin-bottom:18px}
.community-admissions .standard-fee-table{max-width:1080px}
.community-admissions .standard-fee-table+.standard-fee-table{margin-top:20px}
.profile .community-admissions .standard-fee-table table{min-width:0}
.community-admissions .standard-fee-table th:first-child,
.community-admissions .standard-fee-table td:first-child{width:25%;min-width:140px}
.community-admissions-contact,.community-admissions-source{margin:18px 0 0;font-size:15px;line-height:1.5}
@media(max-width:650px){.profile .unified-fees .unified-fee-cards h3,.profile .unified-fees .fee-more-info h3{font-size:24px}.community-admissions .standard-fee-table th:first-child,.community-admissions .standard-fee-table td:first-child{min-width:110px}}
.school-preview-photo img[src*="-logo."]{object-fit:contain;background:#fff}
.real-gallery .gallery-main img[src*="-logo."]{width:80%;height:80%;max-width:300px;max-height:200px;inset:50% auto auto 50%;transform:translate(-50%,-50%);object-fit:contain}
.real-gallery.single-photo .gallery-main{background:#fff;border:1px solid var(--line)}

/* Keep fee details directly below accreditation in the main profile column. */
.profile-columns > div{min-width:0}
.profile-columns #fees{margin-top:22px;padding-top:0;border-top:0;min-width:0}
.profile-columns #fees h2{margin-bottom:16px}
.profile-columns #fees .unified-fee-cards{grid-template-columns:1fr 1fr}
@media(max-width:1050px){.profile-columns #fees .unified-fee-cards{grid-template-columns:1fr}}
@media(max-width:650px){.profile-columns{display:flex;flex-direction:column}.profile-columns > div{display:contents}.profile-columns #overview{order:0}.profile-columns #accreditation{order:1}.profile-columns .journey{order:2}.profile-columns #fees{order:3}}
.budget-controls{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;border-top:1px solid var(--line);padding-top:13px}.budget-controls label{font-weight:600}.budget-controls input{width:100%;height:39px;padding:5px 9px}.budget-controls p{grid-column:1/-1;margin:3px 0 0;font-size:12px;line-height:1.45}.budget-match{display:block;border-radius:6px;background:#fff1c8;padding:8px 10px;font-weight:700}.budget-match small{display:block;font-weight:400;line-height:1.35}.filter-sidebar .budget-controls{grid-template-columns:1fr}.filter-sidebar .budget-controls p{grid-column:1}.filter-sidebar .budget-controls label:not(:first-child){margin-top:5px}

/* Email action at the foot of the comparison modal. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.comparison-email{display:grid;grid-template-columns:minmax(230px,1fr) minmax(360px,1.35fr);align-items:center;gap:14px 28px;margin-top:24px;padding:22px 24px;border:1px solid #c8d5cd;border-radius:9px;background:var(--sage)}
.comparison-email h3{margin:0 0 4px;font:27px/1.15 Georgia,serif}
.comparison-email p{margin:0;font-size:14px;color:var(--muted)}
.comparison-email-form{display:flex;gap:10px;min-width:0}
.comparison-email-form input{min-width:0;flex:1;height:46px}
.comparison-email-form button{min-width:92px;white-space:nowrap}
.comparison-email-status{grid-column:1/-1;font-size:12px!important}
@media(max-width:650px){.comparison-email{grid-template-columns:1fr;padding:19px}.comparison-email-form{flex-direction:column}.comparison-email-form button{width:100%}.comparison-email-status{grid-column:1}}
@media print{.comparison-email{display:none!important}}
.results-heading{font-family:Georgia,serif;font-size:clamp(23px,2.3vw,32px);line-height:1.2;margin:18px 0 8px;color:var(--ink)}
.shortlist-count{font-family:'Times New Roman',Times,serif;font-variant-numeric:lining-nums}
.profile-council{font-size:14px;margin-top:8px;color:var(--muted)}

.shortlist-email-status{grid-column:1/-1;min-height:1.2em;font-size:14px!important;margin:-10px 0 0!important;font-weight:600}
.shortlist-email-status:empty{display:none}
.shortlist-email-status.success{color:#9b6500}
.shortlist-email-status.error-text{color:#a52323}
