/* Shared Academy catalog, faculty, and parent feedback. */
.academy-jumps { display:flex; flex-wrap:wrap; gap:12px; margin:28px 0; }
.academy-jumps a { padding:10px 18px; border:1px solid #c9d4ca; border-radius:30px; color:#1b3b2b; font-size:14px; }
.academy-jumps a:hover { background:#e8eee8; }
.program-guides { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:0 0 34px; padding:20px 22px; border:1px solid #dfe5dc; border-radius:12px; background:#fff; }
.program-guides h3 { margin:0; font-size:1.15rem; white-space:nowrap; }
.program-guides div { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px 18px; }
.program-guides a { color:#1b3b2b; font-size:13px; font-weight:600; text-decoration:underline; text-decoration-color:#c5a059; text-underline-offset:4px; }
#academy,#faculty,#parent-reviews,#courses-heading { scroll-margin-top:110px; }
.academy-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.academy-grid .card { overflow:hidden; border-radius:14px; border:1px solid #e1e5df; background:#fff; display:flex; flex-direction:column; }
.academy-grid .card-body { padding:24px; display:flex; flex-direction:column; flex:1; }
.academy-grid .card-title { font-size:1.5rem; margin:0 0 14px; }
.academy-grid .card-text { color:#626860; line-height:1.7; margin-bottom:20px; }
.academy-grid .card-link {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    width:100%;
    margin-top:auto;
    padding:13px 18px;
    border:1px solid #1b3b2b;
    border-radius:6px;
    background:#1b3b2b;
    color:#fff;
    font-size:13px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    transition:background-color .2s ease,color .2s ease,transform .2s ease;
}
.academy-grid .card-link::after { content:'→'; transition:transform .2s ease; }
.academy-grid .card-link:hover { background:#fff; color:#1b3b2b; }
.academy-grid .card-link:hover::after { transform:translateX(4px); }
.academy-grid .card-link:active { transform:translateY(1px); }
.academy-course-media { width:100%; height:180px; object-fit:cover; }
.academy-grid .card-badge { display:none; }
.academy-grid .card-meta { color:#626860; font-size:12px; margin-bottom:16px; }
.academy-grid .course-price {
    display:inline-flex;
    align-self:flex-start;
    margin-bottom:14px;
    padding:5px 10px;
    border-radius:999px;
    background:#efe1b5;
    color:#1b3b2b;
    font-size:11px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.faculty-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.faculty-grid .faculty-profile { display:flex; flex-direction:column; min-width:0; max-width:none; width:100%; margin:0; background:#fff; border:1px solid #e1e5df; border-radius:14px; overflow:hidden; }
.faculty-grid .faculty-profile-media { min-height:0; height:260px; background:#edf0e8; }
.faculty-grid .faculty-profile-media img { width:100%; height:100%; object-fit:contain; }
.faculty-grid .faculty-profile-media img.faculty-photo-cover { object-fit:cover; object-position:center 28%; }
.faculty-grid .faculty-profile-media img.faculty-photo-sarim { object-position:center 32%; }
.faculty-grid .faculty-profile-placeholder { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:12px; color:#647563; font-size:12px; }
.faculty-grid .faculty-profile-placeholder svg { width:80px; height:80px; }
.faculty-grid .faculty-profile-body { padding:24px; display:block; }
.faculty-grid .faculty-profile-body h3 { font-size:1.5rem; margin:12px 0; overflow-wrap:anywhere; }
.faculty-grid .faculty-profile-body p,.faculty-grid .faculty-experience { font-size:14px; line-height:1.7; color:#626860; }
.faculty-grid .faculty-subjects { letter-spacing:0; text-transform:none; margin:0 0 20px; font-weight:600; }
.faculty-grid .faculty-experience { padding-left:18px; }
.faculty-grid .faculty-label { display:block; font-size:11px; text-transform:uppercase; letter-spacing:.09em; font-weight:600; margin-bottom:8px; }
.faculty-grid .micro-header { font-size:11px; text-transform:uppercase; letter-spacing:.1em; color:#6c622e; }
.academy-page #faculty { padding:72px 0; }
.academy-page .section-header { margin-bottom:32px; background:transparent; border:0; }
.academy-page .section-header .micro-header { color:#6c622e; font-size:12px; text-transform:uppercase; letter-spacing:.1em; }
.parent-reviews { padding:80px 0; background:#edf1e9; color:#243b2c; }
.review-heading { max-width:680px; margin-bottom:32px; }
.review-heading h2 { font-size:clamp(2rem,4vw,3.4rem); margin:12px 0 18px; }
.review-heading p { line-height:1.75; color:#566453; }
.review-kicker { font-size:12px; letter-spacing:.15em; text-transform:uppercase; font-weight:600; color:#626a36; }
.review-highlights { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); background:#1b3b2b; border-radius:16px; padding:28px 12px; color:#fff; margin-bottom:16px; }
.review-highlights article { padding:10px 20px; border-right:1px solid #54715d; }
.review-highlights article:last-child { border:0; }
.review-highlights h3 { font-size:1.45rem; color:#efe1b5; margin:0 0 12px; }
.review-highlights p { font-size:13px; line-height:1.7; margin:0; }
.review-note { font-size:12px; line-height:1.7; color:#566453; margin:0 0 32px; }
.review-viewport { overflow:hidden; padding:2px; margin:-2px; touch-action:pan-y; cursor:grab; }
.review-viewport.is-dragging { cursor:grabbing; }
.review-grid { --slides:3; display:flex; align-items:stretch; gap:20px; will-change:transform; }
.parent-review { flex:0 0 calc((100% - (var(--slides) - 1) * 20px) / var(--slides)); margin:0; padding:28px; border:1px solid #dce3d6; border-radius:14px; background:#fff; display:flex; flex-direction:column; }
.parent-review blockquote { margin:0 0 24px; color:#394737; font-size:15px; line-height:1.85; }
.parent-review blockquote::before { content:'“'; display:block; height:44px; font:64px Georgia,serif; color:#aa884b; }
.parent-review figcaption { display:flex; align-items:center; gap:12px; margin-top:auto; font-size:14px; font-weight:600; }
.review-avatar { display:grid; place-items:center; flex-shrink:0; width:40px; height:40px; border-radius:50%; background:#edf1e9; color:#1b3b2b; font-size:12px; }
.review-controls { display:flex; align-items:center; justify-content:center; gap:16px; margin-top:28px; }
.review-arrow { display:grid; place-items:center; width:48px; height:48px; padding:0; border:1px solid #1b3b2b; border-radius:50%; background:#1b3b2b; color:#fff; font:700 24px/1 Arial,sans-serif; cursor:pointer; box-shadow:0 5px 14px rgba(27,59,43,.16); transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease; }
.review-arrow:hover { border-color:#aa884b; background:#aa884b; color:#fff; transform:translateY(-2px); box-shadow:0 8px 18px rgba(27,59,43,.22); }
.review-arrow:active { transform:translateY(0); box-shadow:0 3px 8px rgba(27,59,43,.18); }
.review-status { min-width:96px; color:#566453; font-size:13px; text-align:center; }
.academy-jumps a:focus-visible,.card-link:focus-visible,.review-arrow:focus-visible { outline:3px solid #aa884b; outline-offset:4px; }
@media(max-width:1000px) { .faculty-grid,.academy-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .review-highlights { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 0; } .review-highlights article:nth-child(2) { border:0; } }
@media(max-width:600px) { .faculty-grid,.academy-grid { grid-template-columns:minmax(0,1fr); } .program-guides { align-items:flex-start; flex-direction:column; } .program-guides div { justify-content:flex-start; flex-direction:column; } .review-highlights { grid-template-columns:minmax(0,1fr); } .review-highlights article { border:0; } .parent-reviews { padding:56px 0; } }
@media(prefers-reduced-motion:reduce) { .review-grid,.review-arrow { transition:none!important; } }

/* Homepage information architecture */
.home-hub { padding:clamp(64px,8vw,110px) 0; background:#f7f7f5; }
.home-hub-header { max-width:720px; margin-bottom:42px; }
.home-hub-header h2 { margin:10px 0 18px; font-size:clamp(2.2rem,5vw,4rem); }
.home-hub-header p { color:#626860; font-size:1.05rem; line-height:1.8; }
.home-hub-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.home-hub-card { display:flex; flex-direction:column; min-height:260px; padding:32px; border:1px solid #e1e5df; border-radius:14px; background:#fff; }
.home-hub-card .micro-header { color:#aa884b; }
.home-hub-card h3 { margin:18px 0 12px; font-size:clamp(1.6rem,3vw,2.25rem); }
.home-hub-card p { color:#626860; line-height:1.75; }
.home-hub-card a { align-self:flex-start; margin-top:auto; color:#1b3b2b; font-weight:700; }
.home-hub-card a::after { content:' →'; transition:transform .2s ease; }
.home-hub-card a:hover::after { display:inline-block; transform:translateX(4px); }
.home-next-step { padding:clamp(58px,7vw,90px) 0; background:#1b3b2b; color:#fff; }
.home-next-step-inner { display:flex; align-items:center; justify-content:space-between; gap:32px; }
.home-next-step h2 { margin:0 0 12px; color:#fff; font-size:clamp(2rem,4vw,3.2rem); }
.home-next-step p { max-width:640px; margin:0; color:#dce5dc; }
.home-next-actions { display:flex; flex-wrap:wrap; gap:12px; flex:0 0 auto; }
.home-next-actions .btn-outline { border-color:#fff; color:#fff; }
.home-page .footer-action { display:inline-block; margin-top:.75rem; padding:.65rem .9rem; border:1px solid #c5a059; background:#c5a059; color:#111; font-size:.75rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
.home-page .footer-links { display:grid; align-content:start; gap:.55rem; }
.home-page .footer-links a { display:block; color:#ccc; }
.home-page .footer-links a:hover { color:#c5a059; }
.home-page .footer-bottom { display:flex; justify-content:space-between; gap:1rem; padding-top:1.5rem; border-top:1px solid #333; color:#999; font-size:.78rem; }
@media(max-width:720px) { .home-page .footer-bottom { flex-direction:column; } }
@media(max-width:720px) { .home-hub-grid { grid-template-columns:1fr; } .home-hub-card { min-height:230px; padding:26px; } .home-next-step-inner { align-items:flex-start; flex-direction:column; } }
/* Academy landing and directory pages */
.academy-page-logo { display:block; width:116px; max-height:84px; margin:0 0 1.25rem; object-fit:contain; object-position:left center; }
.academy-section-heading { display:flex; align-items:end; justify-content:space-between; gap:2rem; margin-bottom:2rem; }
.academy-section-heading h2 { margin-bottom:0; }
.academy-section-heading p { max-width:420px; margin:0; color:var(--muted); }
.academy-featured-section { border-top:1px solid var(--line); }
.academy-featured-faculty { padding:4rem 0; border-top:1px solid var(--line); background:#f7f7f5; }
.featured-grid { margin-top:0; }
.academy-section-action { margin-top:2rem; text-align:center; }
.academy-section-action .button { min-height:44px; }
.academy-subpage { padding-bottom:1rem; }
.academy-page-header { max-width:760px; padding-bottom:2rem; border-bottom:1px solid var(--line); }
.academy-page-header h1 { margin-top:.5rem; }
.catalog-section { border-top:0; }
.course-filter-bar { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:2rem; }
.course-filter { min-height:44px; padding:.6rem .9rem; border:1px solid #c9d4ca; border-radius:30px; background:#fff; color:var(--green); font:600 .78rem var(--sans); cursor:pointer; }
.course-filter:hover,.course-filter.is-active { border-color:var(--green); background:var(--green); color:#fff; }
.course-catalog .card { min-height:100%; }
.academy-course-media { height:clamp(10rem,24vw,13rem); }
.course-guide-link { display:inline-block; min-height:44px; margin:0 0 .65rem; color:var(--green); font-size:.78rem; font-weight:600; text-decoration:underline; text-decoration-color:var(--gold); text-underline-offset:4px; }
.faculty-group { padding:3rem 0; border-top:1px solid var(--line); }
.faculty-group h2 { margin-bottom:1.5rem; font-size:clamp(1.75rem,3vw,2.4rem); }
.academy-faculty-page .faculty-group .faculty-grid { align-items:start; align-content:start; grid-auto-rows:min-content; }
.academy-faculty-page .faculty-group .faculty-profile { min-height:0; height:fit-content; align-self:start; }
.faculty-grid { align-items:start; }
.faculty-grid .faculty-profile-media { height:clamp(9rem,16vw,12rem); }
.faculty-grid .faculty-profile-body { padding:1rem 1.25rem 1.1rem; }
.faculty-grid .faculty-profile-body h3 { margin:.4rem 0; font-size:clamp(1.2rem,2vw,1.45rem); }
.faculty-grid .faculty-subjects { margin:0; font-size:.82rem; line-height:1.55; }
.faculty-toggle { display:flex; width:100%; min-height:44px; align-items:center; justify-content:space-between; margin-top:.75rem; padding:0; border:0; border-top:1px solid var(--line); background:transparent; color:var(--green); font:700 .78rem var(--sans); letter-spacing:.06em; text-align:left; text-transform:uppercase; cursor:pointer; }
.faculty-toggle span { transition:transform .24s ease; }
.faculty-toggle[aria-expanded="true"] span { transform:rotate(180deg); }
.faculty-details { display:grid; grid-template-rows:0fr; margin-top:0; opacity:0; overflow:hidden; transition:grid-template-rows .28s ease,opacity .22s ease,margin-top .28s ease; }
.faculty-details[hidden] { display:none; }
.faculty-details > * { min-height:0; }
.faculty-details[aria-hidden="true"] { pointer-events:none; }
.faculty-details.is-expanded { grid-template-rows:1fr; margin-top:.25rem; opacity:1; }
.mobile-enrol { display:none; }
@media (max-width:767px) {
  .academy-grid,.faculty-grid { grid-template-columns:minmax(0,1fr); }
  .academy-page main { padding-top:2.5rem; padding-bottom:5.5rem; }
  .academy-section-heading { display:block; }
  .academy-section-heading p { margin-top:.75rem; }
  .academy-featured-faculty { padding:3rem 0; }
  .faculty-group { padding:2.5rem 0; }
  .faculty-grid .faculty-profile-media { height:clamp(9rem,42vw,11rem); }
  .faculty-details { font-size:.9rem; }
  .mobile-enrol { position:fixed; z-index:50; right:1rem; bottom:1rem; left:1rem; display:flex; min-height:48px; align-items:center; justify-content:center; border:1px solid var(--green); background:var(--green); color:#fff; font-size:.82rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; box-shadow:0 8px 22px rgba(27,59,43,.25); }
}
@media (min-width:768px) {
  .academy-grid,.faculty-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width:1024px) {
  .academy-grid,.faculty-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .course-catalog { grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); }
}
