/* Original shared visual refinements with a playful paper-card composition. */
:root{--ink:#203858;--gold:#efc84a;--ice:#d7e4ed;--pale:#f2f5fa;--line:#dce3ec;--quiet:#718096}
body{background-color:#fffefa}
.topbar{background:#f0f3f7;color:#617087}
.benefit img{transform:rotate(-6deg)}
.mainnav{border-radius:12px;box-shadow:0 5px 14px #20385812;background:var(--ink) url('../images/nav-print.png') center/100% 100% no-repeat;overflow:hidden;padding:8px}
.mainnav>a{border-radius:7px;transition:background-color .2s,color .2s;white-space:nowrap}
.mainnav>a.active{color:var(--gold);background:#efc84a16}
.mainnav>a:after{display:none}
.mainnav>a.active:after{display:block;content:'';position:absolute;width:20px;height:3px;bottom:5px;background:var(--gold);border-radius:3px}
.mainnav>a:focus-visible{outline:2px solid var(--gold);outline-offset:-3px;background:#ffffff14}
.page-head .brand img,.page-head .benefit img{flex-shrink:0}
.page-head .brand,.page-head .benefit,.page-head .mainnav>a{min-width:0}
.page-head .brand span,.page-head .benefit span,.page-head .mainnav>a{overflow-wrap:anywhere}
.page-head .mainnav>a{white-space:normal;text-align:center;line-height:1.3;padding-inline:4px}
@media(max-width:775px){
  .page-head .brandbar{height:auto;min-height:48px}
  .page-head .brand{flex-shrink:1;white-space:normal;line-height:1.2}
  .page-head .benefits{min-width:0}
  .page-head .benefit{white-space:normal;line-height:1.2}
  .page-head .mobile-menu-toggle{flex:none}
}
@media(hover:hover){.mainnav>a:not(.active):hover{color:#fff;background:#ffffff14}}
.btn{border-color:#dfbc40;border-radius:8px;box-shadow:0 3px 8px #2038580b;transition:background .2s,box-shadow .2s,transform .2s}
.btn:hover{background:#f6d66c;box-shadow:0 5px 14px #20385815}
.paper,.paper:nth-child(2n){border-color:var(--line);box-shadow:0 7px 24px #20385808;border-radius:14px}
.title h2{font-weight:650;letter-spacing:.035em}
.title small{color:var(--quiet)}
.title h2 .title-scribble{opacity:.5;transform:rotate(-8deg);left:-.2rem}
.line-title{border-bottom-color:var(--line)}
.line-title h2{font-weight:600}
.line-title h2:before{width:4px;height:20px;left:-12px;top:4px;border:0;border-radius:3px;background:var(--gold)}
.floral-layer{opacity:.55}
.quote,.brand-copy,.qa-answer .paper{background-size:160px;background-color:#fffefa}
.quote{border-color:#e6dcae;border-radius:12px;box-shadow:0 5px 16px #20385808;transform:rotate(1deg)}
.brand-copy h3{font-weight:600}
.qa-options button{border-radius:10px;background:#edf1f6;transition:background .2s,color .2s}
.qa-options button.selected{background:var(--ink)}
.qa-answer .paper{border-left:4px solid var(--gold)}
.footer{background-size:220px}
.article-row{border-bottom:1px solid #e7ebf1}
.article-row:last-child{border-bottom:0}
.article-row .article-photo,.article-row:nth-child(even) .article-photo{transform:rotate(-3deg);border:0;padding:0;box-shadow:none;border-radius:10px}
.article-row h3{font-weight:600}
.article-row p,.article-meta,.article-row time{color:#728096}
.faq-list .faq-item{border-bottom:1px solid #e7ebf1}
.faq-item h3{font-weight:600}
.filter-options button{border-color:#d9e1eb;border-radius:7px}
.filter-options.tags button,.school-tags span{transform:rotate(-3deg);box-shadow:none;border-radius:5px}
.school-result .school-photo{border-color:var(--line);border-radius:12px;transform:rotate(-2deg);box-shadow:none}
.school-result h3 a{font-weight:600}
.school-detail-top>img{border-radius:14px}
.school-facts .fact,.fees-grid .fact{transform:none;border-color:var(--line);border-radius:10px;box-shadow:none}
.anchor-menu a{border-radius:7px;border-color:var(--line)}
.message-form label{border-color:var(--line);box-shadow:none;border-radius:10px}

@media(min-width:776px){
  .hero{border-radius:16px;overflow:hidden;box-shadow:0 10px 30px #2038580d}
  .hero .field{border-color:#ffffffbb;box-shadow:0 3px 12px #172f5012;border-radius:10px}
  .hero h1{letter-spacing:.02em;text-shadow:0 2px 10px #20385835}
  body[data-page='home'] .home-schools{min-height:0;margin-top:0;padding:65px 0 55px}
  body[data-page='home'] main>section>.wrap>.title{min-height:0;margin-bottom:30px;padding:8px 0}
  body[data-page='home'] .title h2{font-size:.35rem;line-height:1.5}
  .home-schools .carousel-window{padding:18px 8px 25px;margin:0 -8px}
  .home-schools .school-card,.home-schools .slide:nth-child(odd) .school-card{width:calc(100% - 20px);height:auto;min-height:3.35rem;transform:rotate(-1deg);border-color:var(--line);border-radius:13px;box-shadow:0 8px 22px #2038580b}
  .home-schools .slide:nth-child(even) .school-card{transform:rotate(1deg)}
  .home-schools .school-card .photo{border-radius:8px}
  .home-schools .school-card h3{font-weight:600;margin:12px 0}
  .home-schools .school-card .badge{background:#f3f5f8;color:#68778c;border:0;border-radius:4px}
  .home-schools .school-card .btn:last-child{background:#fff;border-color:#d9e1eb}
  .home-schools .more{margin-top:24px}
  body[data-page='home'] .home-process{min-height:0;height:auto;margin-top:0;padding:50px 0 55px;background:linear-gradient(#f3f6fb,#f8f9fc)}
  .home-process .steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 35px;min-height:0;height:auto}
  .home-process .step,.home-process .step:nth-child(n){height:auto;min-height:0;padding-top:27px;transform:none!important;position:relative}
  .home-process .step-flag{position:absolute;left:15px;top:0;width:47px;height:44px;transform:rotate(-7deg);margin:0;z-index:1}
  .home-process .step .paper{height:245px;min-height:245px;border-color:var(--line);border-radius:14px;padding:28px 22px 22px;box-shadow:0 6px 20px #20385806}
  .home-process .step .icon{width:48px;height:48px;margin:0 auto 12px}
  .home-process .step h3{font-size:17px;font-weight:600}
  .home-process .step p{font-size:13px;line-height:1.85;margin-top:13px;-webkit-line-clamp:5;color:#68778c}
  .home-process .step-connector{display:none}
  .home-process .more{margin-top:30px}
  body[data-page='home'] .home-news{min-height:0;margin-top:0;padding:55px 0;background:#fffefa}
  .home-news .news-window{height:auto;min-height:0}
  .home-news .news-window .news-grid{grid-template-rows:repeat(2,auto);row-gap:25px;padding:12px 0 20px;align-items:stretch}
  .home-news .news-window .news-card{width:calc(100% - 24px)!important;max-width:none;margin:0;padding:15px;height:auto;min-height:0;border-color:var(--line);border-radius:14px;transform:none;box-shadow:0 6px 20px #20385808}
  .home-news .news-card img{height:155px;aspect-ratio:1.55;object-fit:cover;border-radius:9px;margin-bottom:15px}
  .home-news .news-card h3{font-size:15px;font-weight:600;white-space:normal;line-height:1.7;margin-bottom:10px;min-height:50px}
  .home-news .news-card p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:#728096;font-size:12px;line-height:1.8}
  .home-news .news-pages{height:auto;margin-top:20px;justify-content:center;gap:30px}
  body[data-page='home'] .home-qa{margin-top:0;min-height:0;padding:55px 0;background:#f3f6fb}
  .home-qa .qa-switch{gap:60px;padding:10px 0 0}
  .qa-answer .paper{transform:none}
  body[data-page='home'] .home-about{min-height:0;height:auto;padding:55px 0 60px;margin:0}
  .home-about .quote{margin-top:25px;margin-bottom:35px}
  .home-about .brand-copy{padding:20px 28px;border-radius:14px}
  .toolbar{border-color:#e8d281;box-shadow:0 7px 24px #20385814;border-radius:20px;background:#f6df8b}
}
@media(min-width:776px) and (max-width:1000px){
  .home-process .steps{gap:22px 18px}.home-process .step .paper{height:260px;min-height:260px;padding:27px 14px 18px}
  .home-news .news-card img{height:120px}
}
@media(max-width:775px){
  .page-head{box-shadow:0 3px 14px #20385808}
  .mobile-banner .carousel-window{border-radius:12px}
  .mobile-shortcuts{padding-top:38px;padding-bottom:20px;row-gap:23px}
  .mobile-shortcuts .icon{border-color:#d9e1eb;background:#f7f8fb;box-shadow:0 4px 10px #20385805}
  body[data-page='home'] .title h2{font-size:25px;font-weight:650}
  body[data-page='home'] main>section>.wrap>.title{margin-bottom:22px}
  .mobile-bottom{left:8px;right:8px;bottom:7px;border-color:#e1e7ef;border-radius:16px;box-shadow:0 4px 24px #20385819}
  .mobile-bottom .mobile-home{border-color:#e5cb70;box-shadow:0 4px 12px #20385812}
  .home-schools .school-card{border-color:#dfe5ec;border-radius:11px;box-shadow:0 5px 16px #20385808;padding:10px}
  .home-schools .school-card img.photo{border-radius:7px}
  .home-schools .school-card h3{font-weight:600;font-size:13px}
  .home-schools .school-card .badge{border:0;background:#f2f5f8;color:#6c7b90;font-size:8px}
  .home-schools .school-card .btn{box-shadow:none;font-size:10px}
  .home-schools .school-card .btn:last-child{background:#fff;border-color:#dce3ec}
  .home-process .step .paper,.home-news .news-window .news-card{border-color:#dfe5ec;border-radius:12px;box-shadow:0 5px 16px #20385807}
  .home-process .step h3{font-weight:600}.home-process .step p{color:#718096}
  .home-news .news-card img{border-radius:7px}.home-news .news-card h3{font-weight:600}
  body[data-page='home'] .home-process{background:#f3f6fb}
  .home-qa .qa-answer .paper{border-left-width:3px}
  .mobile-drawer:not([hidden]){background-color:#fffefa}
  .toolbar .tool{border-color:#dfe5ec;box-shadow:0 3px 12px #20385810;border-radius:10px 0 0 10px}
  .quote{transform:none}.school-tags span{border-radius:3px}
  .line-title h2:before{left:-7px;width:3px;height:17px}
}
@media(prefers-reduced-motion:reduce){.btn,.mainnav>a,.qa-options button{transition:none}}
@media(min-width:776px){
  .home-process .step .paper{height:auto;min-height:280px}
  .home-process .step:nth-of-type(1){order:1}.home-process .step:nth-of-type(2){order:2}.home-process .step:nth-of-type(3){order:3}.home-process .step:nth-of-type(4){order:6}.home-process .step:nth-of-type(5){order:5}.home-process .step:nth-of-type(6){order:4}
}

/* Rotation is scoped to the individual reference modules, never to every card. */
.title h2{font-weight:500;letter-spacing:.02em}
.title h2 .title-scribble{opacity:.9}
.floral-layer{opacity:.8}
.home-about .quote,.about-intro .quote{transform:rotate(2deg)}
.message .quote{transform:rotate(-6deg)}
@media(min-width:776px){
  .home-schools .carousel-window{padding:42px 12px 44px;margin:0 -12px}
  .home-schools .school-card,.home-schools .slide:nth-child(odd) .school-card{width:calc(100% - 34px);transform:rotate(10deg);border-color:#6e7e97;border-radius:17px;box-shadow:none}
  .home-schools .slide:nth-child(even) .school-card{transform:rotate(-1deg)}
  .home-schools .school-card h3{font-weight:500}
  .home-process .steps{gap:70px 36px;padding:35px 10px 30px}
  .home-process .step,.home-process .step:nth-child(n){width:calc(100% - 34px);margin:auto;transform:rotate(12deg)!important}
  .home-process .step:nth-of-type(1),.home-process .step:nth-of-type(4){transform:rotate(-12deg)!important}
  .home-process .step .paper{border-color:#6e7e97;border-radius:25px;box-shadow:none}
  .home-process .step-flag{transform:rotate(20deg)}
  .home-process .step h3{font-weight:500}
  .home-process .more{margin-top:45px}
  .home-news .news-window .news-grid{row-gap:40px;padding:30px 0 35px;align-items:center}
  .home-news .news-window .news-card{width:calc(100% - 40px)!important;border-color:#6e7e97;border-radius:24px;transform:none;box-shadow:2px 3px 0 #efc84a70}
  .home-news .news-window .news-card.slim{transform:rotate(6deg);box-shadow:none}
  .home-news .news-card h3{font-weight:500}
  .qa-answer .paper{transform:rotate(2deg)}
  .qa-options button{transform:none}
}
@media(max-width:775px){
  /* The mobile reference uses level card grids rather than desktop rotations. */
  .home-schools .school-card,.home-process .step,.home-news .news-window .news-card{transform:none!important}
  .home-qa .qa-answer .paper,.home-about .quote,.about-intro .quote,.message .quote{transform:none}
}

/* Compact consultation rail; all rules stay scoped to this shared component. */
.toolbar{top:50%;right:24px;bottom:auto;width:80px;height:auto;padding:10px 8px 8px;transform:translateY(-50%);border:1px solid #9f842e;border-radius:36px;background:#f2ce4e;box-shadow:4px 4px 0 #b8e1eb;display:flex;flex-direction:column;align-items:center;gap:0}
.toolbar>img{display:block;width:52px;height:52px;margin:0 0 5px;object-fit:contain}
.toolbar .tool{width:100%;margin:0;padding:0;gap:0;font-size:12px;cursor:default;position:relative}
.toolbar .tool+.tool:before{content:'';display:block;width:28px;height:1px;margin:2px auto;background:#a68c4266}
.toolbar .tool>button{width:100%;height:76px;padding:8px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:0;border-radius:16px;background:transparent;color:#203858;font:inherit;line-height:1.4;cursor:pointer;transition:background .18s ease}
.toolbar .tool-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #203858;border-radius:50%;background:#203858;transition:transform .18s ease,background .18s ease}
.toolbar .tool>button img{width:27px;height:29px;filter:none;transform:none}
.toolbar .tool-label{font-size:11px;white-space:nowrap;font-weight:600}
.toolbar .tool>button:hover{background:#fff5}
.toolbar .tool>button:hover .tool-icon{transform:translateY(-2px);background:#304f75}
.toolbar .tool>button:focus-visible{outline:2px solid #203858;outline-offset:2px;background:#fff7}
.toolbar .tool-panel{right:calc(100% + 19px);top:50%;width:236px;max-width:none;box-sizing:border-box;padding:18px 20px;border:1px solid #dce3ec;border-radius:14px;background:#fffefa;box-shadow:0 8px 28px #2038581a;text-align:left;white-space:normal;overflow:visible;opacity:0;visibility:hidden;pointer-events:none;transform:translate(6px,-50%);transition:opacity .18s ease,transform .18s ease,visibility .18s ease}
.toolbar .tool-panel:after{content:'';position:absolute;right:-6px;top:calc(50% - 6px);width:10px;height:10px;border-top:1px solid #dce3ec;border-right:1px solid #dce3ec;background:#fffefa;transform:rotate(45deg)}
.toolbar .tool-panel strong{display:block;font-size:14px;margin-bottom:8px;font-weight:600}
.toolbar .tool-panel>span{display:block;font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.toolbar .tool-panel small{display:block;font-size:11px;color:#718096;margin-top:6px;line-height:1.7}
@media(hover:hover){.toolbar .tool:hover .tool-panel{max-width:none;padding:18px 20px;opacity:1;visibility:visible;transform:translate(0,-50%)}}
.toolbar .tool:focus-within .tool-panel{max-width:none;padding:18px 20px;opacity:1;visibility:visible;transform:translate(0,-50%)}
@media(min-width:776px) and (max-width:1100px){.toolbar{right:10px;width:64px;padding:8px 5px}.toolbar>img{width:43px;height:43px}.toolbar .tool>button{height:68px}.toolbar .tool-icon{width:36px;height:36px}.toolbar .tool-label{font-size:10px}}
@media(min-width:776px) and (max-height:520px){.toolbar{padding-top:6px;padding-bottom:6px}.toolbar>img{width:38px;height:38px}.toolbar .tool>button{height:62px}.toolbar .tool-icon{width:32px;height:32px}.toolbar .tool>button img{width:23px;height:25px}}
@media(max-width:775px){
  .toolbar{top:auto;bottom:calc(94px + env(safe-area-inset-bottom));right:10px;width:44px;height:auto;padding:0;border:0;border-radius:0;background:none;box-shadow:none;transform:none;gap:9px}
  .toolbar>img,.toolbar .tool:nth-of-type(2),.toolbar .tool:nth-of-type(4){display:none}
  .toolbar .tool{display:block;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:50%;background:none;box-shadow:none}
  .toolbar .tool+.tool:before{display:none}
  .toolbar .tool>button{width:44px;height:44px;padding:0;border:1px solid #d9bd5f;border-radius:50%;background:#f2ce4e;box-shadow:0 3px 12px #20385824}
  .toolbar .tool-icon{width:32px;height:32px;border:0;background:#203858}
  .toolbar .tool>button img{width:22px;height:24px}
  .toolbar .tool-label,.toolbar .tool-panel{display:none}
  .toolbar .tool>button:hover{background:#f6da74}
}
@media(prefers-reduced-motion:reduce){.toolbar .tool>button,.toolbar .tool-icon,.toolbar .tool-panel{transition:none}}

/* Quiet footer surface and a dedicated reversed brand mark. */
.footer{height:auto;min-height:0;padding:48px 0 24px;background:#203858;color:#d6dfeb;position:relative;isolation:isolate}
.footer:before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#efc84a 0 12%,#617e9f 12% 30%,#203858 70%);pointer-events:none}
.footer .footer-main{grid-template-columns:1.05fr 1.2fr .75fr;gap:48px;min-height:0;padding:0 0 32px;border-bottom:1px solid #ffffff24}
.footer-brand{display:inline-flex;align-items:center;gap:12px;margin:0 0 22px;color:#fffefa;max-width:100%}
.footer .footer-logo{display:block;width:58px;height:58px;flex:none;margin:0;object-fit:contain}
.footer-brand strong{display:block;font-size:23px;line-height:1.4;font-weight:600;letter-spacing:.08em;white-space:nowrap}
.footer-brand small{display:block;font-size:10px;line-height:1.7;letter-spacing:.13em;color:#bbcadb;margin-top:5px;white-space:nowrap}
.footer .contact-codes{gap:18px}
.footer .contact-code .contact-grid{width:76px;height:76px;border:6px solid #fffefa;background-size:8px 8px;margin:0 0 8px;border-radius:4px}
.footer .contact-code small{display:block;font-size:10px;text-align:center;color:#b8c8db}
.footer h3{font-size:17px;line-height:1.5;font-weight:600;color:#fffefa;margin:5px 0 20px}
.footer p{font-size:12px;line-height:1.9;margin:0 0 8px;overflow-wrap:anywhere;color:#c6d3e3}
.footer .footer-links{gap:15px 20px;font-size:12px;line-height:1.6}
.footer a{transition:color .18s}
.footer a:hover{color:#f0cd59}
.footer a:focus-visible{outline:1px solid #f0cd59;outline-offset:5px;border-radius:2px}
.footer .friendly{padding:25px 0 24px;border-bottom:1px solid #ffffff18}
.footer .friendly h3{font-size:14px;margin:0 0 16px}
.footer .friendly ul{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 24px;font-size:11px;line-height:1.6;color:#bbcadb}
.footer .friendly a:before{content:'';display:inline-block;width:3px;height:3px;vertical-align:middle;border-radius:50%;margin-right:8px;background:#f0cd59}
.footer .copyright{padding:20px 0 0;font-size:10px;line-height:1.8;letter-spacing:.04em;color:#99adc5}
@media(min-width:776px) and (max-width:1100px){.footer .footer-main{gap:28px;grid-template-columns:1.05fr 1.3fr .8fr}.footer-brand{gap:8px}.footer-brand strong{font-size:20px}.footer .footer-logo{width:48px;height:55px}.footer-brand small{font-size:9px}.footer p{font-size:11px}.footer .contact-codes{gap:12px}.footer .contact-code .contact-grid{width:66px;height:66px}.footer .footer-links{gap:14px 12px;font-size:11px}}
@media(max-width:775px){
  .footer{padding:30px 10px 100px;background:#203858}
  .footer .footer-main{display:block;padding:0;border:0;min-height:0}
  .footer .footer-main>div:first-child{display:block}
  .footer .footer-main>div:last-child,.footer .contact-codes,.footer .friendly{display:none}
  .footer-brand{gap:11px;margin:0 0 24px}
  .footer .footer-logo{width:46px;height:46px}
  .footer-brand strong{font-size:21px}.footer-brand small{font-size:10px}
  .footer h3{font-size:15px;margin:0 0 15px}
  .footer p{font-size:12px;line-height:1.8;margin-bottom:8px}
  .footer .copyright{display:block;text-align:left;margin-top:23px;padding-top:18px;border-top:1px solid #ffffff24;font-size:10px}
}
@media(prefers-reduced-motion:reduce){.footer a{transition:none}}
.brand img,.footer .footer-logo,.toolbar>img,.mobile-home img{transform:none;object-fit:contain;aspect-ratio:1}

.btn,.btn.more{display:inline-flex;align-items:center;justify-content:center;text-align:center;gap:0;line-height:1.5}
.btn.more{display:flex}
.btn .arrow,.qa-options button:before,.faq-toggle:after{display:none}
.qa-options button{text-align:center}
.qa-answer{isolation:isolate;padding:22px 18px}
.qa-answer:before{inset:0;transform:none;z-index:-1;pointer-events:none}
.btn:focus-visible,.carousel-control:focus-visible,.pagination a:focus-visible{outline:2px solid var(--ink);outline-offset:4px}

body{background-image:url('../images/module-print.png');background-size:1200px auto;background-repeat:repeat-y}
.title-scribble,.step-connector,.full-process .step-num:after{display:none}
.quote:before,.brand-copy h3:before{display:none}
.floral-layer{opacity:.65}
/* Distinct edge prints keep decoration away from the central copy. */
body[data-page='home'] .home-schools{--home-print:url('../images/home-print-schools.png');--home-print-mobile:url('../images/home-print-schools-mobile.png')}
body[data-page='home'] .home-process{--home-print:url('../images/home-print-process.png');--home-print-mobile:url('../images/home-print-process-mobile.png')}
body[data-page='home'] .home-news{--home-print:url('../images/home-print-news.png');--home-print-mobile:url('../images/home-print-news-mobile.png')}
body[data-page='home'] .home-qa{--home-print:url('../images/home-print-qa.png');--home-print-mobile:url('../images/home-print-qa-mobile.png')}
body[data-page='home'] .home-about{--home-print:url('../images/home-print-about.png');--home-print-mobile:url('../images/home-print-about-mobile.png')}
body[data-page='home'] :is(.home-schools,.home-process,.home-news,.home-qa,.home-about){background-image:var(--home-print);background-size:100% auto;background-position:center top;background-repeat:repeat-y}
body[data-page='home'] :is(.home-schools,.home-news,.home-about)>.floral-layer{display:none}

.carousel-control,.pagination a,.pagination .page-disabled{display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1;padding:0;flex-shrink:0}
.carousel-control,.pagination a{transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,scale .18s ease}
.carousel-control,.carousel-control.next{background:#fffefa;color:var(--ink);border-color:var(--ink)}
.carousel-control:focus-visible:not(:disabled){background:var(--ink);color:#fffefa;box-shadow:0 4px 10px #20385820}
.pagination a{background:#fffefa;color:var(--ink)}
.pagination a.current{background:var(--gold);border-color:var(--ink);color:var(--ink);font-weight:600}
.pagination [aria-label]{font-size:.22rem}
.pagination .page-disabled{min-width:.43rem;height:.43rem;border:1px solid #dce3ec;border-radius:.1rem;background:#f2f4f7;color:#adb6c3;cursor:default}
.carousel-control:disabled{background:#f2f4f7;color:#adb6c3;border-color:#dce3ec;opacity:1;box-shadow:none;cursor:default}
@media(hover:hover){
  .carousel-control:not(:disabled):hover{background:var(--ink);border-color:var(--ink);color:#fffefa;box-shadow:0 4px 10px #20385820;scale:1.07}
  .pagination a:not(.current):hover{background:var(--ink);color:#fffefa;border-color:var(--ink);box-shadow:0 3px 9px #20385820}
  .pagination a.current:hover{background:#f6d66c;border-color:var(--ink)}
  .article-nav .btn:hover{background:var(--ink);color:#fffefa;border-color:var(--ink)}
}
.carousel-control:not(:disabled):active{background:var(--gold);color:var(--ink);scale:.96;box-shadow:none}
.pagination a:active,.article-nav .btn:active{box-shadow:none;background:#355475;color:#fffefa}
.dots button{transition:background-color .18s ease,box-shadow .18s ease}
.dots button:hover,.dots button:focus-visible{background:var(--gold);box-shadow:0 0 0 3px #efc84a40}
@media(max-width:775px){
  .mobile-drawer:not([hidden]){background:#fffefa url('../images/nav-drawer-print.png') right bottom/100% 100% no-repeat;box-shadow:-8px 0 30px #20385812}
  .mobile-drawer>a{border-bottom-color:#2038580c;border-radius:6px;padding-left:8px;padding-right:8px}
  .mobile-drawer>a[aria-current='page']{color:var(--ink);background:#efc84a24;font-weight:600;box-shadow:inset 3px 0 var(--gold)}
  .mobile-drawer>a:focus-visible{outline:2px solid var(--gold);outline-offset:-2px;background:#efc84a16}
  body{background-size:850px auto}
  body[data-page='home'] :is(.home-schools,.home-process,.home-news,.home-qa,.home-about){background-image:var(--home-print-mobile);background-size:100% auto}
  .pagination .page-disabled{min-width:25px;height:28px;font-size:12px}
  .pagination [aria-label]{font-size:18px}
  .qa-answer{padding:18px 12px}
}
@media(max-width:480px){
  .pagination{gap:3px}
  .pagination a,.pagination span,.pagination .page-disabled{min-width:22px;padding:0;font-size:11px}
  .pagination [aria-label]{font-size:17px}
}
@media(prefers-reduced-motion:reduce){
  .carousel-control,.pagination a,.dots button{transition:none}
  .carousel-control:not(:disabled):hover,.carousel-control:not(:disabled):active{scale:1}
}

/* Two direct choices keep the school finder quick to scan and use. */
.school-finder{margin:36px 0 0;padding:26px 30px 16px;border:1px solid #dce3e9;border-radius:12px;background:#fffefa}
.school-finder-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.school-finder-heading h1{margin:0;font-size:22px;font-weight:600;line-height:1.5;color:var(--ink)}
.school-filter-reset{flex:none;border:0;background:transparent;padding:8px 0 8px 12px;font-size:13px;color:#53718c;cursor:pointer}
.school-filter-reset:disabled{color:#a8b1ba;cursor:default}
.school-filter-reset:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:3px}
.school-finder .school-search{display:flex;align-items:stretch;gap:10px;width:100%;max-width:600px;height:44px;margin:20px 0 18px;padding:0}
.school-finder .school-search input{flex:1;min-width:0;width:0;height:44px;margin:0;padding:0 15px;border:1px solid #ced8e2;border-radius:6px;background:#fff;font-size:14px;line-height:normal;color:var(--ink)}
.school-finder .school-search input:focus{outline:2px solid #e7bc3d;outline-offset:2px;border-color:#a98a28}
.school-finder .school-search .btn{flex:none;min-width:88px;width:auto;height:44px;min-height:44px;padding:0 20px;font-size:14px;border-radius:6px;transform:none}
.school-finder .filters{padding:0}
.school-finder .filter-row,.school-finder .filter-row:first-child{display:flex;align-items:flex-start;gap:18px;min-height:0;margin:0;padding:12px 0}
.school-finder .filter-row+.filter-row{border-top:1px solid #edf0f3}
.school-finder .filter-row>strong{flex:0 0 72px;width:72px;padding:8px 0;font-size:14px;font-weight:500;line-height:20px;color:#718096}
.school-finder .filter-row>strong:before{display:none}
.school-finder .filter-options{display:flex;flex:1;flex-wrap:wrap;gap:8px;min-width:0;width:auto}
.school-finder .filter-options button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;margin:0;padding:7px 15px;border:1px solid transparent;border-radius:5px;background:#f3f5f7;color:var(--ink);font-size:14px;line-height:20px;text-align:center;cursor:pointer;transition:background-color .16s,border-color .16s}
.school-finder .filter-options button.selected{background:#f3d875;border-color:#dec25c;font-weight:600}
.school-finder .filter-options button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
body[data-page='schools'] .results-summary{margin:0;padding:23px 0;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
@media(hover:hover){
  .school-filter-reset:not(:disabled):hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
  .school-finder .filter-options button:not(.selected):hover{background:#e5ecf3;border-color:#bdcbd9}
  .school-finder .filter-options button.selected:hover{background:#f7df8e;border-color:#c9a941}
}
@media(max-width:775px){
  .school-finder{margin:24px 0 0;padding:17px 14px 8px;border-radius:10px}
  .school-finder-heading{gap:8px}
  .school-finder-heading h1{font-size:17px;line-height:1.5}
  .school-filter-reset{font-size:12px;padding:7px 0 7px 5px}
  .school-finder .school-search{height:42px;margin:16px 0 8px;gap:8px;max-width:none}
  .school-finder .school-search input{height:42px;padding:0 11px;font-size:13px}
  .school-finder .school-search .btn{height:42px;min-height:42px;min-width:64px;padding:0 14px;font-size:13px}
  .school-finder .filter-row,.school-finder .filter-row:first-child{display:block;padding:12px 0;min-height:0;gap:0}
  .school-finder .filter-row>strong{display:block;width:auto;padding:0;margin:0 0 9px;font-size:13px;line-height:20px}
  .school-finder .filter-options{gap:7px;width:100%}
  .school-finder .filter-options button{min-height:40px;padding:8px 12px;font-size:12px;line-height:20px}
  body[data-page='schools'] .results-summary{padding:18px 0;font-size:12px}
}
@media(prefers-reduced-motion:reduce){.school-finder .filter-options button{transition:none}}

@keyframes module-soft-in {
  from { opacity: .3; scale: .975; }
}

@keyframes module-side-in {
  from { opacity: .18; translate: var(--entrance-x) 0; }
}

@keyframes module-spread {
  from { opacity: .3; clip-path: inset(-36px 35%); }
  to { clip-path: inset(-36px -48px); }
}

@keyframes module-photo-in {
  from { opacity: .2; clip-path: var(--photo-start); }
  to { clip-path: inset(0); }
}

@keyframes module-card-in {
  from {
    opacity: .16;
    translate: var(--entrance-x) 10px;
    rotate: var(--entrance-angle);
    scale: .97;
  }
}

@media screen and (prefers-reduced-motion: no-preference) {
  .module-entering:not(:focus-within) {
    animation: var(--entrance-name, module-soft-in) var(--entrance-duration, 500ms)
      cubic-bezier(.22, 1, .36, 1) var(--entrance-delay, 0ms) backwards;
  }

  :is(.title, .line-title, .service-intro > h1, .guide-menu,
      .article-row, .school-result, .qa-options).module-entering {
    --entrance-name: module-side-in;
    --entrance-x: calc(-1 * var(--entrance-distance, 26px));
  }

  :is(.qa-answer, .article-row:nth-of-type(even), .school-result:nth-child(even)).module-entering {
    --entrance-name: module-side-in;
    --entrance-x: var(--entrance-distance, 26px);
  }

  .qa-answer.module-entering { --entrance-delay: 85ms; }

  :is(.home-schools .carousel, .certificates .carousel, .testimonials .carousel).module-entering {
    --entrance-name: module-spread;
    --entrance-duration: 680ms;
  }

  :is(.mobile-banner, .news-photo).module-entering {
    --entrance-name: module-photo-in;
    --entrance-duration: 620ms;
    --photo-start: inset(0 0 72% 0);
  }

  .news-card:nth-child(even) .news-photo.module-entering { --photo-start: inset(0 72% 0 0); }

  .steps > .step.module-entering {
    --entrance-name: module-card-in;
    --entrance-duration: 590ms;
    --entrance-x: calc(-1 * var(--entrance-distance, 26px));
    --entrance-angle: calc(-1 * var(--step-tilt, 3deg));
  }

  .steps > .step.module-entering:nth-child(even) {
    --entrance-x: var(--entrance-distance, 26px);
    --entrance-angle: var(--step-tilt, 3deg);
  }

  .steps > .step.module-entering:nth-child(3n + 2) { --entrance-delay: 55ms; }
  .steps > .step.module-entering:nth-child(3n) { --entrance-delay: 110ms; }
}

@media (max-width: 775px) {
  .module-entering {
    --entrance-distance: 12px;
    --step-tilt: 1.25deg;
  }
}
