/* Shared visual system: vermilion, warm paper and charcoal. */
:root{--red:#df3026;--red-dark:#bd241c;--ink:#242622;--muted:#7a7b74;--line:#e5e4dd;--soft:#f5f4ef;--paper:#fbfaf7}
body{background:var(--paper);color:var(--ink)}
.header{background:#fffefa;border-bottom:1px solid #e8e6df}.brand{letter-spacing:-.03em}nav a{color:#62645e}.button{border-radius:5px;font-weight:600;transition:background .2s,transform .2s}.button:hover{transform:translateY(-2px)}
.section{padding-block:84px}.section-heading{margin-bottom:44px}.section-heading h2{font-size:34px;letter-spacing:-.04em}.section-heading h2:before{content:"";display:block;width:26px;height:4px;background:var(--red);margin:0 auto 18px}.section-heading p{color:var(--muted);margin-top:12px}.soft{background:#efeee8}
.hero{background:#242622;height:600px}.hero-shade{background:linear-gradient(90deg,#202820f5 0%,#202820e8 23%,#202820a8 42%,#20282020 68%,#20282008 100%)}.hero-copy{padding-bottom:52px}.hero h1{font-size:56px;line-height:1.45;letter-spacing:-.04em}.hero p{color:#e1e3d9;font-size:16px;margin:24px 0 32px}.hero .button{background:var(--red);border-color:var(--red);color:#fff;min-height:50px}.hero .button:hover{background:var(--red-dark);border-color:var(--red-dark)}
.course-shortcuts{gap:0;padding:0;margin-top:-46px;border:1px solid #deddd5;background:#f0efe8;border-radius:8px;overflow:hidden;box-shadow:0 14px 32px #25251c0b;counter-reset:course}
.course-shortcuts a,.course-shortcuts a:first-child,.course-shortcuts a:last-child,.course-shortcuts a:nth-child(even){position:relative;padding:28px 26px;background:transparent;border:0;border-right:1px solid #d9d9d0;border-radius:0;box-shadow:none;counter-increment:course;transform:none}
.course-shortcuts a:last-child{border-right:0}.course-shortcuts a:before{content:"0" counter(course);display:block;font:500 12px/1 Arial,sans-serif;color:#8d8f84;margin-bottom:15px;letter-spacing:.1em}.course-shortcuts strong{color:var(--ink);font-size:18px}.course-shortcuts span{color:#74766d}.course-shortcuts i{color:var(--red)}.course-shortcuts a:hover{background:#e7e6dd}.course-shortcuts a:hover strong{color:var(--red)}
.advantages-content ul{gap:16px;counter-reset:benefit}.advantages-content ul>li:nth-child(n){background:#f0efe9;border:1px solid #e7e5dc;box-shadow:none;border-radius:8px;min-height:183px;padding:79px 24px 24px;justify-content:flex-start;counter-increment:benefit;overflow:hidden}
.advantages-content ul>li:nth-child(n):before{top:24px;left:24px;transform:none;width:29px;height:29px;background:var(--red)}
.advantages-content ul>li:nth-child(n):after{content:counter(benefit,decimal-leading-zero);background:none;z-index:0;left:auto;right:23px;top:25px;transform:none;width:auto;height:auto;font:400 12px/1.8 Arial;color:#a7a89c;border-radius:0}
.advantages-content ul>li:nth-child(n) strong{font-size:16px;margin-top:0}.advantages-content ul>li:nth-child(n) p{font-size:12px;color:#77796f;margin-top:8px}.advantages-content ul>li:nth-child(n):hover{border-color:#d2c5b6;background:#eae8df;box-shadow:none;transform:translateY(-3px)}
.schedule{max-width:1000px;margin:auto;border:1px solid #deded4;border-radius:9px;box-shadow:0 14px 40px #393a2b05}.schedule th{background:#333b33;padding-block:17px;border-right:1px solid #ffffff14}.schedule td{padding-block:15px;border-color:#e8e8e0;color:#61665b}.schedule td:first-child{color:#3d493a;background:#e9ede4}.schedule tbody tr:nth-child(even){background:#f8f9f4}
.campus-gallery{gap:24px}.campus-gallery figure{position:relative;border-radius:8px;overflow:hidden;background:#273126}.campus-gallery img{aspect-ratio:1.2;transition:transform .5s}.campus-gallery figcaption{position:absolute;bottom:0;left:0;right:0;padding:55px 24px 23px;background:linear-gradient(transparent,#17231acd);color:white;text-align:left;font-size:20px;font-weight:500}.campus-gallery figcaption:after{content:"↗";float:right;color:#e4e8dd;font-size:22px}.campus-gallery figure:hover img{transform:scale(1.035)}
.class-content ul{gap:20px;counter-reset:class}.class-content li{padding:28px;background:#fafaf6;border:1px solid #dcded2;border-radius:8px;position:relative;overflow:hidden;counter-increment:class;box-shadow:0 5px 16px #373b2d03}.class-content li:before{content:"0" counter(class);position:absolute;right:24px;top:28px;font:400 12px/1.7 Arial;color:#929787}.class-content h3{font-size:29px;color:#343d31;padding-bottom:24px;margin-bottom:23px;border-bottom:1px solid #dce0d4}.class-content strong{font-size:15px}.class-content li>p{color:#7d8275}.class-content li>div{border-color:#e1e4d8}.class-content div p{color:#66705d}.class-content small{color:#89917f}.class-content li>a{border-color:#cfd4c5;background:transparent;color:#394631;border-radius:4px;padding:11px 6px}.class-content li>a:hover{background:#35432f;border-color:#35432f;color:white}
#admissions .latest-articles{gap:0 48px}#admissions .latest-article{padding:23px 0}#admissions .latest-article time{color:#96978b}.section-more a{display:inline-block;border-bottom:1px solid #dcaa99;padding-bottom:7px}
.contact-section{background:#292f28;padding:64px 0;color:#fff}.contact-section .section-heading h2:before{display:none}.contact-section .section-heading p{color:#bfc5b9}.contact-section .button{background:var(--red);border-color:var(--red);color:white;min-width:190px}.contact-section .button:hover{background:var(--red-dark)}
footer{background:#f6f5f0;padding-top:40px}.footer-top>p,.footer-links,.footer-resources,.footer-bottom{color:#85887d}.footer-resources{border-color:#dfdfd6}.footer-resources>div>span{color:#636a5b}
.page-hero{position:relative;overflow:hidden;background:#30392f;color:white;padding-bottom:56px}.page-hero:before,.page-hero:after{content:"";pointer-events:none;position:absolute;width:360px;height:360px;border:1px solid #c4cbb519;transform:rotate(35deg);right:7%;top:-160px;border-radius:24px}.page-hero:after{right:12%;top:-105px}.page-hero .wrap{position:relative;z-index:1}.page-hero .breadcrumbs,.page-hero .wrap>p:last-child{color:#c2cabb}.page-hero h1{font-size:38px;letter-spacing:-.035em}.page-hero h1:after{content:"";display:block;width:30px;height:4px;background:var(--red);margin:18px auto 0}
.listing-layout{gap:36px}.list-intro h2{font-size:23px}.news-feed{gap:16px}.news-card{background:#f0efe8;border-color:#e3e2d9;border-radius:8px;padding:30px 26px;gap:24px;box-shadow:none}.news-card-date{color:var(--ink);border-color:#d8dacd}.news-card-date strong{font-size:40px;font-weight:400}.news-card-date span{color:#8a8e7f}.news-card-category{color:#8b8f80;font-size:11px}.news-card-content h2{font-size:21px}.news-card-content p{color:#7b8072}.news-card-arrow{border-color:#d2d6c7;color:#4d5c42;border-radius:5px}.news-card:hover{background:#e9ece2;border-color:#c9d0be;box-shadow:none}.news-card:hover h2{color:var(--red)}.news-card:hover .news-card-arrow{background:var(--red);border-color:var(--red)}
.sidebar-panel{background:#f5f4ed;border:1px solid #e4e3d9;border-radius:8px;padding:25px}.sidebar-panel h2:before{content:"";display:inline-block;width:3px;height:15px;background:var(--red);margin-right:10px;vertical-align:-1px}.sidebar-categories a{color:#777e6f;border-color:#e1e3d8}.sidebar-categories a[aria-current]{color:var(--red)}.sidebar-story{border-color:#e1e3d8}.sidebar-story time{color:#979d8b}.sidebar-consult{background:#e9ede1;border:1px solid #dce1d1;border-radius:8px;padding:28px}.sidebar-consult>p,.article-layout .sidebar-consult>p{color:#7b8470}.sidebar-tools{border-color:#d1d9c5}.sidebar-tools a{color:#717d64}
.article-main{background:#fffefa;padding:34px 36px;border:1px solid #e7e6dc;border-radius:9px}.article-main .article-heading h1{font-size:32px;line-height:1.6}.article-heading .eyebrow{display:inline-block;background:#f9eae1;color:#b2452f;padding:3px 10px;border-radius:3px}.article-meta{color:#9b9f91}.article-summary{color:#7f8576}.richtext{color:#5e6656;line-height:2.05}.richtext h2{font-size:22px}.article-back{align-items:center}.article-layout{gap:36px}.article-breadcrumbs{padding-top:26px}.course-card{border-radius:8px;background:#f0efe8;border:1px solid #e0e1d5}.course-card:hover{background:#e9ece2}dialog{border-radius:12px;background:#fffefa}input:not([type=checkbox]),select{border-color:#d9ddcf;border-radius:5px}
@media(max-width:1100px){.hero h1{font-size:46px}.class-content li{padding:23px 19px}.class-content h3{font-size:25px}.class-content li:before{right:16px}.news-card{padding:24px 20px;gap:18px}.news-card-content h2{font-size:18px}.article-main{padding:27px}.listing-layout,.article-layout{gap:26px}.course-shortcuts a,.course-shortcuts a:first-child,.course-shortcuts a:last-child{padding:25px 19px}.advantages-content ul>li:nth-child(n){padding:76px 20px 23px}.advantages-content ul>li:nth-child(n):before{left:20px}.advantages-content ul>li:nth-child(n) strong{font-size:14px}}
@media(max-width:850px){.hero{height:560px}.hero h1{font-size:42px}.section{padding-block:62px}.course-shortcuts strong{font-size:15px}.course-shortcuts span{font-size:10px}.campus-gallery{gap:16px}.campus-gallery figcaption{font-size:16px;padding:45px 16px 17px}}
@media(max-width:640px){.section{padding-block:48px}.section-heading{margin-bottom:30px}.section-heading h2{font-size:27px}.section-heading h2:before{margin-bottom:13px;width:22px;height:3px}.hero{height:590px}.hero-shade{background:linear-gradient(180deg,#202820f0 0%,#202820d9 30%,#20282040 63%,#2028200d 100%)}.hero-copy{padding-top:36px}.hero h1{font-size:36px}.hero p{font-size:13px;color:#e1e3d9;margin:18px 0 24px}.hero .button{min-height:44px}.course-shortcuts{margin-top:-26px;gap:0}.course-shortcuts a,.course-shortcuts a:first-child,.course-shortcuts a:last-child,.course-shortcuts a:nth-child(even){padding:19px 16px;border:0;border-right:1px solid #d9d9d0;border-bottom:1px solid #d9d9d0;border-radius:0}.course-shortcuts a:nth-child(2n){border-right:0}.course-shortcuts a:nth-child(n+3){border-bottom:0}.course-shortcuts a:before{font-size:10px;margin-bottom:10px}.course-shortcuts strong{font-size:15px}.advantages-content ul{gap:12px}.advantages-content ul>li:nth-child(n){padding:69px 16px 20px;min-height:177px}.advantages-content ul>li:nth-child(n):before{top:22px;left:16px;width:26px;height:26px}.advantages-content ul>li:nth-child(n):after{right:15px;top:22px;font-size:10px}.advantages-content ul>li:nth-child(n) strong{font-size:13px}.advantages-content ul>li:nth-child(n) p{font-size:11px}.schedule th{padding-block:13px}.schedule td{padding-block:12px}.campus-gallery img{aspect-ratio:1.55}.campus-gallery figcaption{font-size:19px;padding:50px 21px 21px}.class-content ul{gap:12px}.class-content li{padding:22px 16px}.class-content h3{font-size:23px;padding-bottom:18px}.class-content li:before{top:24px;right:14px;font-size:10px}.class-content strong{font-size:13px}.class-content li>p{font-size:11px}.class-content li>a{font-size:11px}.contact-section{padding-block:45px}.page-hero{padding-bottom:36px}.page-hero h1{font-size:29px}.page-hero:before,.page-hero:after{right:-190px}.news-card{padding:21px 16px;gap:16px}.news-card-date strong{font-size:30px}.news-card-content h2{font-size:16px}.news-card-content p{font-size:12px}.article-main{padding:23px 18px}.article-main .article-heading h1{font-size:25px}.richtext h2{font-size:20px}.article-back{gap:15px;flex-wrap:wrap}.sidebar-panel,.sidebar-consult{padding:23px}.article-layout{gap:28px}}
@media(prefers-reduced-motion:reduce){.campus-gallery img,.button,.news-card,.advantages-content li{transition:none;transform:none}}
.campus-gallery figcaption:after{display:none}
/* Three CMS-editable benefits in each class card. */
.class-content li>p.class-benefits{display:flex;flex-direction:column;gap:13px;min-height:112px;margin:0 0 25px;color:#626b59;font-size:13px;line-height:1.8}
.class-benefits>span{display:block;position:relative;padding-left:18px}.class-benefits>span:before{content:"✓";position:absolute;left:0;top:0;color:#7b896c;font-size:12px}
@media(max-width:640px){.class-content li>p.class-benefits{font-size:11px;gap:12px;min-height:135px;margin-bottom:20px}.class-benefits>span{padding-left:15px}.class-benefits>span:before{font-size:10px}}
/* Footer categories share the primary footer navigation. */
.footer-links{flex-wrap:wrap;gap:12px 20px;justify-content:flex-end}.footer-links a{white-space:nowrap}.footer-top>p{white-space:nowrap}
@media(min-width:1121px){.footer-top{gap:20px}.footer-top>p{padding-left:20px}.footer-links{gap:12px 17px;font-size:11px}}
@media(max-width:1120px){.footer-links{justify-content:flex-start}}
/* Compact full schedule, campus carousel and homepage refinements. */
#daily-plan{padding-block:42px}#daily-plan .section-heading{margin-bottom:25px}.schedule:has(.schedule-columns){max-width:none;background:none;border:0;box-shadow:none;overflow:visible}.schedule-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.schedule-columns table{background:#fff;border:1px solid var(--line);font-size:12px}.schedule-columns caption{text-align:left;font-size:16px;font-weight:600;padding:12px 18px;background:#e1e5d9;color:#394631}.schedule-columns th,.schedule-columns td{padding:9px 8px;line-height:1.6}.schedule-columns th:first-child{width:13%}.schedule-columns th:nth-child(2){width:28%}.schedule-columns td:nth-child(2){white-space:nowrap}
.campus-carousel{max-width:1000px;margin:auto}.campus-carousel.is-ready .campus-gallery{display:block}.campus-carousel figure[hidden]{display:none}.campus-carousel.is-ready img{aspect-ratio:2.5;max-height:420px;object-fit:cover}.campus-controls{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:20px}.campus-controls button{background:transparent;border:1px solid #d1d6c8;border-radius:4px;min-width:42px;min-height:38px;color:#35432f}.campus-controls button:hover{background:#e5e8de}.campus-count{font-size:12px;letter-spacing:.15em}.campus-controls [data-campus-pause]{font-size:12px;padding:7px 12px}
#admissions .latest-articles{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 28px}#admissions .latest-article{gap:14px}#admissions .latest-article>span{font-size:14px}
.contact-section{padding-block:27px}.contact-section h2{font-size:27px}.contact-section .section-heading p{margin-top:7px}.contact-section .button{margin-top:16px;min-height:42px}.hero-phone{display:block;color:#e2e7dc;font-size:15px;margin-top:20px;letter-spacing:.04em}.hero-phone:hover{color:white}
@media(max-width:850px){.schedule-columns{gap:14px}.schedule-columns table{font-size:11px}.schedule-columns th,.schedule-columns td{padding:8px 5px}#admissions .latest-articles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.schedule-columns{grid-template-columns:1fr;gap:18px}.schedule-columns table{font-size:11px}#daily-plan{padding-block:32px}.campus-carousel.is-ready img{aspect-ratio:1.5}.campus-controls{gap:15px}#admissions .latest-articles{grid-template-columns:1fr}.contact-section{padding-block:25px}.contact-section h2{font-size:23px}.hero-phone{font-size:13px;margin-top:16px}}
/* Compact single-table daily schedule, keeping every time slot. */
#daily-plan{padding-block:30px}#daily-plan .section-heading{margin-bottom:20px}#daily-plan .section-heading h2:before{margin-bottom:10px}
#daily-plan .schedule{max-width:1000px;margin-inline:auto;border:1px solid #deded4;border-radius:9px;background:#fff;overflow:hidden;box-shadow:0 10px 30px #393a2b05}
#daily-plan .schedule table{font-size:13px;line-height:1.55}
#daily-plan .schedule th{padding:7px 12px;line-height:1.55}
#daily-plan .schedule td{padding:3px 12px;line-height:1.55}
#daily-plan .schedule td:nth-child(2){font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:500}
@media(max-width:640px){#daily-plan{padding-block:28px}#daily-plan .schedule table{font-size:11px}#daily-plan .schedule th{padding:7px 5px}#daily-plan .schedule td{padding:4px 5px;line-height:1.5}#daily-plan .schedule td:nth-child(2){font-size:10px}}
/* Mobile hero: readable copy above an uncropped classroom image. */
@media(max-width:640px){
.hero{height:535px;background:#293229}
.hero-photo{inset:auto 0 0;width:100%;height:225px;object-position:72% 43%;object-fit:cover}
.hero-shade{background:linear-gradient(180deg,#293229 0%,#293229 55%,#29322900 65%)}
.hero-inner{align-items:flex-start}
.hero-copy{width:100%;padding:28px 4px 0}
.hero h1{font-size:32px;line-height:1.4;max-width:8em;letter-spacing:-.035em}
.hero p{font-size:12px;line-height:1.8;max-width:100%;margin:14px 0 19px}
.hero .button{min-height:42px;padding:10px 22px;font-size:12px;min-width:142px}
.hero-phone{font-size:13px;margin-top:13px;letter-spacing:.02em}
.course-shortcuts{margin-top:18px;gap:12px;padding:0;background:none;border:0;border-radius:0;overflow:visible;box-shadow:none}
.course-shortcuts a,.course-shortcuts a:first-child,.course-shortcuts a:last-child,.course-shortcuts a:nth-child(even){padding:19px 15px;background:#f0efe8;border:1px solid #deded4;border-radius:8px;box-shadow:none}
.course-shortcuts a:nth-child(2n),.course-shortcuts a:nth-child(n+3){border:1px solid #deded4}
.course-shortcuts a:before{margin-bottom:12px}
.course-shortcuts strong{font-size:15px}.course-shortcuts span{font-size:10px}
#consult-dialog h2{font-size:22px;line-height:1.5;letter-spacing:-.03em;padding-right:3px}
}
@media(max-width:360px){.hero h1{font-size:30px}.hero p{font-size:11px}.course-shortcuts{gap:10px}.course-shortcuts a,.course-shortcuts a:first-child,.course-shortcuts a:last-child,.course-shortcuts a:nth-child(even){padding:18px 12px}}
@media(max-width:640px){.hero{height:515px}.hero h1{max-width:7.2em}.hero-shade{background:linear-gradient(180deg,#293229 0%,#293229 54%,#29322900 63%)}}
/* Mobile banner stays one continuous photograph. */
@media(max-width:640px){
.hero{height:510px;background:#293229}
.hero-photo{inset:0;width:100%;height:100%;object-fit:cover;object-position:72% center}
.hero-shade{background:linear-gradient(180deg,rgba(24,34,27,.84) 0%,rgba(24,34,27,.70) 24%,rgba(24,34,27,.40) 48%,rgba(24,34,27,.09) 75%,rgba(24,34,27,.03) 100%)}
.hero-copy{padding-top:27px}
.hero h1{font-size:32px;max-width:7.2em;text-shadow:0 2px 16px #15201933}
.hero p{color:#f0f2ea;margin:13px 0 18px;text-shadow:0 1px 8px #15201955}
.hero-phone{color:#f0f2ea;text-shadow:0 1px 8px #15201977}
}
@media(max-width:360px){.hero h1{font-size:30px}}
/* Mobile hero: two-thirds height, bottom-centered copy and direct calling. */
.hero .hero-mobile-action{display:none}
@media(max-width:640px){
.hero{height:340px}
.hero-inner{align-items:flex-end;justify-content:center}
.hero-copy{padding:0 0 25px;width:100%;text-align:center}
.hero h1{font-size:28px;line-height:1.4;max-width:7.2em;margin-inline:auto}
.hero p{font-size:11px;line-height:1.7;margin:10px auto 15px;max-width:100%}
.hero .hero-desktop-action,.hero .hero-phone{display:none}
.hero .hero-mobile-action{display:inline-flex;min-width:145px;min-height:42px}
.hero-shade{background:linear-gradient(180deg,rgba(24,34,27,.10) 0%,rgba(24,34,27,.26) 30%,rgba(24,34,27,.66) 66%,rgba(24,34,27,.86) 100%)}
.hero-photo{object-position:72% center}
}
/* Alternating section surfaces, including adjacent class and schedule sections. */
#advantages{background:#fffefa}
#classes{background:#e9ece2}
#daily-plan{background:#fffefa}
#campus{background:#e9ece2}
#admissions{background:#fffefa}
@media(max-width:1050px){
.header #navigation{background:rgba(30,40,33,.86);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);padding:16px 22px;border-bottom:1px solid #ffffff20;box-shadow:0 14px 30px #14201824}
.header #navigation.is-open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;align-items:stretch}
.header #navigation a{color:#f1f3eb;font-size:14px;padding:12px 14px;border-radius:4px;border-bottom:1px solid #ffffff16}
.header #navigation a:hover,.header #navigation a[aria-current]{color:#fff;background:#ffffff14}
.header .menu-toggle[aria-expanded=true]{background:#293529;border-color:#293529}
.header .menu-toggle[aria-expanded=true] span{background:white}
}
@media(max-width:640px){.header #navigation{padding:14px 18px}.header #navigation.is-open{gap:4px 12px}.header #navigation a{padding:11px 12px;font-size:13px}}
@media(max-width:640px){.hero h1{max-width:none;font-size:27px}}
@media(min-width:641px){.hero h1{max-width:10em;font-size:clamp(36px,3.7vw,52px)}}
/* Raise mobile hero copy and give the headline a warm red accent. */
@media(max-width:640px){
.hero-copy{padding-bottom:67px}
.hero h1{color:#ff6558;text-shadow:0 2px 12px #14201888}
.hero-shade{background:linear-gradient(180deg,rgba(24,34,27,.12) 0%,rgba(24,34,27,.30) 25%,rgba(24,34,27,.74) 55%,rgba(24,34,27,.60) 78%,rgba(24,34,27,.27) 100%)}
}
/* Refined mobile hero: quiet typography, one red action and a continuous image. */
@media(max-width:640px){
.hero{height:340px}
.hero-photo{object-position:78% center}
.hero-shade{background:linear-gradient(180deg,rgba(20,30,24,.06) 0%,rgba(20,30,24,.18) 18%,rgba(20,30,24,.62) 47%,rgba(20,30,24,.88) 100%)}
.hero-copy{padding:0 0 30px;text-align:center}
.hero h1{white-space:pre-line;color:#fff;font-size:32px;font-weight:700;line-height:1.25;letter-spacing:.04em;max-width:none;margin:0 auto;text-shadow:none}
.hero p{font-size:12px;line-height:1.8;letter-spacing:.035em;color:#e3e8df;margin:15px auto 20px;text-shadow:none}
.hero .hero-mobile-action{min-width:170px;min-height:42px;border-radius:4px;font-size:13px;font-weight:600;letter-spacing:.08em;box-shadow:0 5px 18px #101a1626}
}
/* Site-wide mobile conversion bar with safe-area spacing. */
.mobile-conversion{display:none}
@media(max-width:640px){
body{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
.mobile-conversion{position:fixed;bottom:0;left:0;right:0;z-index:30;display:flex;gap:10px;align-items:center;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));background:#fffefa;border-top:1px solid #e1e3da;box-shadow:0 -4px 22px #2531240c}
.mobile-call{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;flex:0 0 36%;color:#35432f;font-size:13px;border:1px solid #d9ded1;border-radius:5px;background:#f1f3eb}
.mobile-book{display:flex;align-items:center;justify-content:center;gap:12px;min-height:46px;flex:1;background:var(--red);color:white;border-radius:5px;font-size:13px;font-weight:600;white-space:nowrap}
.mobile-call:active,.mobile-book:active{filter:brightness(.93)}
body:has(#consult-dialog[open]) .mobile-conversion{visibility:hidden}
}
/* Three distinct mobile conversion actions. */
@media(max-width:640px){
.hero-copy{padding-bottom:56px}.hero p{margin-bottom:0}
.mobile-conversion{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0 0 env(safe-area-inset-bottom,0px);background:#fffefa;border-top:1px solid #e4e6de;box-shadow:0 -5px 24px #18201912}
.mobile-conversion .conversion-item{min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;margin:0;border:0;border-radius:0;font-size:12px;font-weight:600;line-height:1.4;color:#384732;background:transparent;letter-spacing:.04em}
.mobile-conversion .conversion-item svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;fill:none}
.mobile-conversion .conversion-phone{background:#eff2e8;border-left:1px solid #e3e7db}
.mobile-conversion .conversion-form{background:var(--red);color:#fff}
.mobile-conversion .conversion-item:disabled{cursor:default;color:#828a7c}
.mobile-conversion .conversion-item:not(:disabled):active{filter:brightness(.92)}
}
.mobile-conversion .conversion-item[aria-disabled="true"]{cursor:default;color:#828a7c}
@media(max-width:640px){.hero h1{font-size:clamp(24px,6.4vw,27px);white-space:normal;letter-spacing:0;max-width:none}.hero p{white-space:pre-wrap;font-size:11px;letter-spacing:0}}
/* Tighter homepage admissions rows on desktop and mobile. */
#admissions .latest-article{padding:12px 0}
#admissions .section-heading{margin-bottom:26px}
@media(max-width:640px){#admissions .latest-article{padding:10px 0}#admissions .section-heading{margin-bottom:20px}}
.phone-privacy{font-size:11px;line-height:1.8;color:var(--muted);margin:3px 0 18px}
/* Mobile campaign banner: one red composition with clear typographic hierarchy. */
.hero-title-line{display:inline}.hero-benefits{display:flex;gap:18px;flex-wrap:wrap}
@media(max-width:640px){
.hero{height:340px;background:#b81920;isolation:isolate}
.hero-photo{object-position:76% center;opacity:.46;mix-blend-mode:luminosity}
.hero-shade{background:linear-gradient(180deg,#b81520ed 0%,#c71d24d4 46%,#a7101880 100%)}
.hero:after{content:"";position:absolute;z-index:0;pointer-events:none;width:460px;height:200px;left:-130px;bottom:-105px;border-radius:50%;border:1px solid #ffd9b54a;box-shadow:0 -20px 0 #ffb88a0b,0 -44px 0 #ffb88a09;transform:rotate(-18deg)}
.hero-inner{z-index:1;align-items:flex-start;justify-content:center}
.hero-copy{padding:49px 0 0;text-align:center}
.hero h1{font-size:37px;line-height:1.24;font-weight:800;letter-spacing:.035em;color:#fff9ec;text-shadow:0 2px 8px #70101820;white-space:normal;max-width:none}
.hero-title-line{display:block}.hero-title-line+ .hero-title-line{color:#ffe3a0;margin-top:5px}
.hero p.hero-benefits{justify-content:center;gap:0;margin:23px auto 0;white-space:normal;color:#fff5e7;font-size:12px;font-weight:500;line-height:1.5;letter-spacing:.035em}
.hero-benefits span{padding:0 13px}.hero-benefits span+span{border-left:1px solid #fff1d96b}
}
@media(max-width:360px){.hero h1{font-size:34px}.hero-benefits span{padding-inline:10px}.hero p.hero-benefits{font-size:11px}}
/* Natural photo above, localized red gradient below; title starts at mid-banner. */
@media(max-width:640px){
.hero-photo{opacity:1;mix-blend-mode:normal;object-position:76% center}
.hero-shade{background:linear-gradient(180deg,rgba(151,19,26,0) 0%,rgba(151,19,26,0) 32%,rgba(151,19,26,.13) 45%,rgba(151,19,26,.64) 66%,rgba(151,19,26,.95) 100%)}
.hero:after{display:none}
.hero-copy{padding:160px 0 0;text-align:center}
.hero h1{font-size:34px;line-height:1.2;letter-spacing:.035em;text-shadow:0 2px 10px #43111655}
.hero-title-line+.hero-title-line{margin-top:4px}
.hero p.hero-benefits{margin-top:17px;font-size:12px}
}
@media(max-width:360px){.hero h1{font-size:32px}.hero p.hero-benefits{font-size:11px}}
.hero p.hero-benefits{font-weight:700}
.article-neighbors{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:32px}.article-neighbors>div{padding:18px 20px;border:1px solid var(--line);border-radius:6px;background:var(--soft);min-width:0}.article-neighbors>div>span{font-size:12px;color:var(--muted)}.article-neighbors p{font-size:14px;line-height:1.8;margin-top:6px;overflow-wrap:anywhere}.article-neighbors a:hover{color:var(--red)}.article-neighbors+.article-back{margin-top:22px}
@media(max-width:640px){.article-neighbors{grid-template-columns:1fr;gap:10px;margin-top:25px}.article-neighbors>div{padding:14px 16px}.article-neighbors p{font-size:13px}}
/* Desktop banner shares the mobile red, ivory and gold palette. */
@media(min-width:641px){
.hero{background:#97131a}
.hero-shade{background:linear-gradient(90deg,rgba(151,19,26,.96) 0%,rgba(151,19,26,.87) 23%,rgba(151,19,26,.57) 42%,rgba(151,19,26,.12) 65%,rgba(151,19,26,0) 82%)}
.hero h1{color:#fff9ec;text-shadow:0 2px 10px #43111633}
.hero-title-line+.hero-title-line{color:#ffe3a0}
.hero p.hero-benefits{color:#fff5e7}
}
/* Desktop hero typography: a clear two-line title and separated benefits. */
@media(min-width:641px){
.hero-copy{padding-bottom:36px;max-width:620px}
.hero h1{font-size:clamp(36px,3.5vw,50px);line-height:1.25;letter-spacing:.01em;max-width:none}
.hero-title-line{display:block}
.hero-title-line+.hero-title-line{font-size:1.22em;margin-top:12px;letter-spacing:.025em}
.hero p.hero-benefits{display:flex;gap:0;flex-wrap:nowrap;margin:30px 0 0;max-width:none;font-size:15px;line-height:1.6;letter-spacing:.04em}
.hero-benefits span{padding:0 20px}
.hero-benefits span:first-child{padding-left:0}
.hero-benefits span+span{border-left:1px solid #fff3dd70}
}
@media(min-width:641px) and (max-width:850px){.hero-copy{max-width:55%;padding-bottom:26px}.hero p.hero-benefits{font-size:12px;margin-top:24px;letter-spacing:0}.hero-benefits span{padding-inline:10px}}
/* Equal class cards; emphasize only the card under the pointer. */
.class-content li{transition:background .2s,border-color .2s,color .2s}
@media(hover:hover) and (pointer:fine){
.class-content li:hover{background:#35432f;border-color:#35432f;color:#fff}
.class-content li:hover h3,.class-content li:hover strong{color:#fff}
.class-content li:hover h3,.class-content li:hover>div{border-color:#ffffff26}
.class-content li:hover>p,.class-content li:hover div p,.class-content li:hover small,.class-content li:hover:before{color:#c5cdbb}
.class-content li:hover>p.class-benefits{color:#e2e7d9}
.class-content li:hover .class-benefits>span:before{color:#becdab}
.class-content li:hover>a{background:#eef1e7;border-color:#eef1e7;color:#35432f}
.class-content li:hover>a:hover{background:#fff;color:#293529}
}
