/* Keep native scrollbars consistent without reserving a blank overlay-scrollbar gutter. */
html { overflow-y: scroll; scrollbar-gutter: auto; }
/* An empty subtitle keeps the shared title structure without invented copy. */
.page-intro .lead { min-height: 1.8em; }
/* Fit the composition to browser viewport height, never to document height. */
/* Exact homepage geometry from the sports library; do not estimate a new cap. */
:root { --content-gutter: clamp(22px, 7vw, 104px); }
.wrap { width: calc(100% - 2 * var(--content-gutter)); }
.footer { padding-inline: var(--content-gutter); }
.site-header { min-height: 78px; padding: 12px clamp(18px, 4vw, 64px); }
.brand { gap: 14px; }
.brand img { display: block; width: 64px; height: 48px; flex: 0 0 64px; }
.brand strong { font-size: 20px; }
.brand small { font-size: 12px; letter-spacing: 0; }
.lead { max-width: 48em; }
.body-copy { max-width: 44em; }
.hero-copy { max-width: 36em; }
.sport-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sport-icon { display: block; width: 56px; height: 56px; object-fit: contain; flex: 0 0 auto; }
.sport-name h3 { margin: 20px 0 8px; }
@media (max-width: 760px) {
  :root { --content-gutter: 18px; }
  .site-header { min-height: 66px; padding: 8px 16px; }
  .brand { gap: 10px; }
  .brand img { width: 52px; height: 40px; flex-basis: 52px; }
  .brand small { display: none; }
}
@media (max-width: 540px) {
  .sport-name { padding: 18px; }
  .sport-icon { width: 44px; height: 44px; }
  .sport-name h3 { margin-top: 16px; }
}
/* Homepage cards must identify their category before the promotional copy. */
#main:has(.hero) .edition-sports .edition-top { order: 0; }
#main:has(.hero) .edition-sports .edition-copy { order: 1; margin-top: 24px; }
#main:has(.hero) .edition-sports .sports-editorial-line { order: 2; margin-top: auto; padding-top: 24px; margin-bottom: 0; font-size: 18px; color: #c2d1e2; }
#main:has(.hero) .edition-sports .edition-enter { order: 3; }
#main:has(.hero) .edition-sports .sports-tracks { top: 180px; }
@media (min-width: 801px) {
  #main:has(.hero) .edition-card .edition-copy { margin-top: 24px; }
  #main:has(.hero) .edition-card:not(.edition-sports) .edition-enter { margin-top: auto; }
  #main:has(.hero) .edition-art:not(.sports-tracks) { top: 105px; transform: scale(.65); transform-origin: right top; opacity: .4; }
  #main:has(.hero) .edition-card:hover .edition-art:not(.sports-tracks) { transform: scale(.65) translateY(-4px); }
}
@media (max-width: 720px) {
  #main:has(.hero) .edition-sports .sports-tracks { top: 145px; }
  #main:has(.hero) .edition-sports .sports-editorial-line { font-size: 17px; }
}
@media (min-width: 801px) {
  #main > .page-intro {
    padding-block: clamp(24px, 3.2svh, 40px) clamp(20px, 2.6svh, 32px);
  }
  #main > .page-intro .eyebrow { margin-bottom: 12px; }
  #main > .page-intro h1 {
    font-size: clamp(36px, 4.5svh, 46px);
    margin-bottom: 12px;
  }
  #main > .page-intro + .section {
    padding-block: clamp(24px, 3.2svh, 36px) 32px;
  }
  .courses-section .editorial-grid {
    grid-template-rows: repeat(2, minmax(190px, clamp(190px, calc((100svh - 350px) / 2), 270px)));
  }
  .courses-section .section-foot { margin-top: 16px; line-height: 1.6; }
  #main:has(.hero) .hero-grid {
    min-height: clamp(340px, 43svh, 440px);
    padding-block: clamp(32px, 4.2svh, 48px);
  }
  #main:has(.hero) .hero h1 { font-size: clamp(40px, 5.6svh, 56px); }
  #main:has(.hero) .hero-art { height: clamp(230px, 30svh, 310px); }
  #main:has(.hero) .hero + .section { padding-top: clamp(28px, 4svh, 44px); }
  #main:has(.hero) .hero + .section .section-title { margin-bottom: 24px; }
  #main:has(.hero) .hero + .section .eyebrow { margin-bottom: 12px; }
}
/* Keep labels and actions legible in short laptop windows. */
@media (min-width: 801px) and (max-height: 800px) {
  .courses-section .edition-card { padding: 18px 22px; }
  .courses-section .edition-copy strong { font-size: 24px; }
  .courses-section .edition-sports .edition-copy strong { font-size: 30px; }
  .courses-section .sports-editorial-line { margin-top: 20px; font-size: 20px; }
  .courses-section .edition-enter { margin-top: 10px; }
  .courses-section .edition-sports .edition-enter { margin-top: 16px; padding-top: 14px; }
  .courses-section .edition-art:not(.sports-tracks) {
    top: 44px; right: 14px; transform: scale(.65); transform-origin: right top; opacity: .5;
  }
  .courses-section .edition-card:hover .edition-art:not(.sports-tracks) { transform: scale(.65) translateY(-4px); }
  .courses-section .sports-tracks { top: 75px; opacity: .65; }
  #main:has(.hero) .hero-copy { margin-bottom: 0; }
  #main:has(.hero) .actions { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 801px) and (max-height: 800px) {
  .courses-section .edition-card:hover .edition-art:not(.sports-tracks) { transform: scale(.65); }
}

/* Approved website palette adapted from the supplied bid-deck background (2026-10-28). */
:root {
  --navy: #234a72;
  --blue: #4b78a2;
  --gold: #e5c968;
  --ink: #26374c;
  --muted: #68788e;
  --line: #dfe5ec;
  --paper: #f7f9fb;
  --header-colour-stops: #f2eef9 0%, #fff8df 48%, #edf7f7 100%;
  --ppt-lilac: #e6e1f2;
  --ppt-butter: #fff4d2;
  --ppt-blush: #f8e7e8;
  --ppt-sage: #eaf2dd;
  --ppt-sky: #e4f2f6;
}
body { background: #fff; }
.site-header { background: linear-gradient(100deg, var(--header-colour-stops)); }
.hero { background: linear-gradient(135deg, #3b6188 0%, #294b70 58%, #315d7a 100%); }
.category:nth-child(1), .edition-artistic { background: linear-gradient(145deg, #f5f0fa, var(--ppt-lilac)); }
.category:nth-child(2), .edition-practice { background: linear-gradient(145deg, #fffaf0, var(--ppt-butter)); }
.category:nth-child(4), .edition-tech { background: linear-gradient(145deg, #f4faed, var(--ppt-sage)); }
.category:nth-child(5), .edition-literacy { background: linear-gradient(145deg, #effafd, var(--ppt-sky)); }
.about-strip { background: linear-gradient(110deg, #f5f0fa 0%, #fff 48%, #edf7f7 100%); }
.service-panel, .sport-name { background: linear-gradient(145deg, #f8fafc, #eaf3f5); }
.service-panel:nth-child(2) { background: linear-gradient(145deg, #f5f0fa, #fff4d2); }
.footer { background: #294b70; }
.category-sports, .edition-sports { background: linear-gradient(145deg, #2f5a82, #234a72); }
/* Sports catalogue: editorial tiles share the established blue/gold palette. */
.sport-name {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 214px; padding: 24px;
  background: linear-gradient(145deg, #f3f6fa, #e7eef6);
  border: 1px solid #d6e1ed; border-radius: 6px;
}
.sport-name:nth-child(3n + 2) { background: linear-gradient(145deg, #edf3fa, #dee9f5); }
.sport-heading { align-items: flex-start; }
.sport-heading .number { font-size: 11px; letter-spacing: .1em; color: #607894; padding-top: 4px; }
.sport-icon { width: 76px; height: 76px; opacity: 1; }
.sport-caption { position: relative; padding-top: 18px; }
.sport-heading .number::after { content: ''; display: block; width: 22px; height: 2px; background: var(--gold); margin-top: 10px; }
.sport-caption h3 { margin: 0 0 6px; font-size: 22px; line-height: 1.35; }
.sport-english { display: block; color: #526e8e; font-size: 10px; line-height: 1.5; letter-spacing: .1em; }
@media (max-width: 540px) {
  .sport-name { min-height: 188px; padding: 18px; }
  .sport-icon { width: 60px; height: 60px; }
  .sport-caption h3 { margin: 0 0 6px; font-size: 20px; }
  .sport-english { font-size: 9px; letter-spacing: .06em; }
}

/* Every inner page shares the course overview’s compact title and first-section rhythm. */
.catalog-section { padding-bottom: 40px; }
@media (max-width: 800px) { #main > .page-intro + .section { padding-top: 24px; } }
.catalog-section .back-link { min-height: 32px; margin-bottom: 12px; }
.catalog-section .section-title { margin-bottom: 20px; }
.catalog-section .section-title h2 { font-size: 24px; margin-bottom: 8px; }
.catalog-section .section-title p { margin-bottom: 0; }
@media (max-width: 800px) {
  #main > .page-intro { padding-block: 28px 24px; }
  #main > .page-intro .eyebrow { margin-bottom: 12px; }
  #main > .page-intro h1 { font-size: clamp(30px, 4.5vw, 36px); margin-bottom: 12px; }
}


/* Empty category pages fill the first screen; footer stays below the fold. */
.catalog-section:has(.empty-state) { display: flex; flex-direction: column; }
.catalog-section:has(.empty-state) > .back-link { align-self: flex-start; flex: 0 0 auto; }
.catalog-section > .empty-state { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.catalog-section > .empty-state > .geometry { margin: 0 auto; flex-shrink: 0; }
.catalog-section > .empty-state > .text-link { flex-shrink: 0; }
.catalog-section > .empty-state { padding-block: 20px; }
.catalog-section > .empty-state > .geometry { height: 130px; }

/* All five subject catalogues use the same tile grid and type scale. */
.course-card { display: flex; flex-direction: column; min-width: 0; }
.course-card .sport-heading { min-height: 76px; }
.course-card .sport-caption { margin-top: auto; }
.course-card .sport-caption h3 { overflow-wrap: anywhere; }
.course-category-label { font-size: 9px; line-height: 1.5; letter-spacing: .08em; color: #607894; padding-top: 4px; }
.course-note { margin: 0 0 6px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.catalog-section .section-title { flex-direction: row; align-items: center; }
.catalog-section .section-title .status { flex-shrink: 0; }
.service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.service-panel { padding: clamp(24px,3vw,40px); border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(145deg,#f3f6fa,#e6eef7); }
.service-index { display: block; font-size: 11px; line-height: 1.5; letter-spacing: .1em; color: var(--blue); margin-bottom: 28px; }
.service-panel h3 { font-size: 28px; margin-bottom: 12px; }
.service-panel p { color: var(--muted); }
.service-detail { margin-top: 28px; border-top: 2px solid var(--gold); padding-top: 20px; }
.service-detail h4 { font-size: 15px; line-height: 1.5; margin: 0 0 8px; }
.service-panel .service-footnote { font-size: 12px; margin-bottom: 0; }
.service-panel .tags { margin-bottom: 20px; }
.service-panel .tags a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; background: #ffffff80; }
.service-panel .tags a:hover { background: white; }
@media (min-width:801px) and (max-width:1250px) { #navigation { gap: 12px; } }
@media (max-width:1100px) { .site-header { flex-wrap: wrap; gap: 0; } .menu-button { display:flex; align-items:center; justify-content:center; gap:12px; min-height:44px; padding:8px 12px; border:1px solid #cbd6e3; border-radius:5px; background:transparent; font-size:13px; } #navigation { display:none; width:100%; padding-top:12px; grid-template-columns:repeat(4,1fr); gap:8px; } #navigation.open { display:grid; } #navigation a { justify-content:center; } }
@media (max-width:800px) { .service-grid { grid-template-columns:1fr; } .course-card .sport-heading { min-height:60px; } }
@media (max-width:540px) { #navigation { grid-template-columns:repeat(3,1fr); } .course-category-label { font-size:8px; letter-spacing:.03em; } .service-panel h3 { font-size:24px; } }

/* Business entries share the service panel grid, spacing and brand palette. */
.business-card { display:flex; flex-direction:column; min-height:250px; border-top:3px solid var(--gold); transition:border-color .2s, background .2s; }
.business-card h2 { margin:0 0 12px; }
.business-card .text-link { margin-top:auto; padding-top:28px; display:flex; align-items:center; justify-content:space-between; }
.business-card:hover { background:#e6eef7; border-color:var(--blue); }
.business-card:focus-visible { outline:3px solid var(--blue); outline-offset:4px; }
.service-section > .back-link { display:inline-flex; min-height:32px; margin-bottom:12px; }
@media (prefers-reduced-motion:reduce) { .business-card { transition:none; } }


/* One horizontal colour field belongs to the whole grid, never to an individual card. */
.sports-grid { --field-size:calc(500% + 48px); background:none; }
.sports-grid > .course-card {
  background-color:transparent!important;
  background-image:linear-gradient(90deg,var(--header-colour-stops))!important;
  background-size:var(--field-size) 100%;
  background-position:var(--field-position) 0;
  background-origin:border-box;
}
.sports-grid > .course-card:nth-child(5n+1) { --field-position:0%; }
.sports-grid > .course-card:nth-child(5n+2) { --field-position:25%; }
.sports-grid > .course-card:nth-child(5n+3) { --field-position:50%; }
.sports-grid > .course-card:nth-child(5n+4) { --field-position:75%; }
.sports-grid > .course-card:nth-child(5n) { --field-position:100%; }
@media(max-width:800px) {
  .sports-grid { --field-size:calc(300% + 24px); }
  .sports-grid > .course-card:nth-child(3n+1) { --field-position:0%; }
  .sports-grid > .course-card:nth-child(3n+2) { --field-position:50%; }
  .sports-grid > .course-card:nth-child(3n) { --field-position:100%; }
}
@media(max-width:540px) {
  .sports-grid { --field-size:calc(200% + 12px); }
  .sports-grid > .course-card:nth-child(2n+1) { --field-position:0%; }
  .sports-grid > .course-card:nth-child(2n) { --field-position:100%; }
}

/* Company pages reuse one navigation and content shell. */
.company-nav-group { position:relative; display:flex; align-items:center; }
.company-dropdown { position:absolute; top:100%; left:0; min-width:0; width:112px; padding:6px; background:#fff; border:1px solid var(--line); border-radius:6px; box-shadow:0 10px 24px #234a7214; }
#navigation .company-dropdown a { padding-inline:8px; justify-content:center; }
#navigation .company-dropdown a:hover { background:var(--paper); }
.company-navigation { display:flex; align-items:center; justify-content:space-between; gap:24px; padding-bottom:0!important; }
.company-context { display:flex; align-items:center; gap:12px; font-size:13px; color:var(--muted); white-space:nowrap; }
.company-tabs { display:flex; flex-wrap:wrap; gap:24px; border-bottom:1px solid var(--line); }
.company-tabs a { min-height:44px; display:flex; align-items:center; justify-content:center; font-size:13px; border-bottom:2px solid transparent; }
.company-tabs a[aria-current] { border-color:var(--gold); color:var(--navy); font-weight:600; }
.company-navigation + .section { padding-top:32px; }
.company-empty { min-height:clamp(280px,45svh,520px); }
@media(max-width:1100px) {
 .company-nav-group { flex-wrap:wrap; justify-content:center; }
 .company-dropdown { z-index:25; left:50%; transform:translateX(-50%); }
}
@media(max-width:800px) {
 .company-navigation { flex-direction:column; align-items:stretch; gap:12px; }
 .company-tabs { gap:0; }
 .company-tabs a { flex:0 0 50%; }
 .company-navigation + .section { padding-top:24px; }
}

/* Hover feedback uses the same gold underline as the active page. */
#navigation > a::after, #navigation .company-nav-group > a::after {
 content:''; position:absolute; bottom:0; left:0; right:0; height:2px;
 background:var(--gold); opacity:0;
}
#navigation > a[aria-current]::after, #navigation .company-nav-group > a[aria-current]::after,
#navigation > a:focus-visible::after, #navigation .company-nav-group > a:focus-visible::after { opacity:1; }
/* Keep a renderable box for the fade; closed links are inert and hidden to assistive tech. */
.company-dropdown { --menu-x:0px; display:block; opacity:1; visibility:visible; transform:translate(var(--menu-x),0); transition:opacity .18s ease, transform .18s ease, visibility 0s; }
.company-dropdown[hidden] { display:block; opacity:0; visibility:hidden; pointer-events:none; transform:translate(var(--menu-x),-6px); transition:opacity .14s ease, transform .14s ease, visibility 0s .14s; }
@media(max-width:1100px) { .company-dropdown { --menu-x:-50%; } }
@media(prefers-reduced-motion:reduce) { .company-dropdown, .company-dropdown[hidden] { transition:none; } }
@media(hover:hover) {
 #navigation:has(> a:hover, > .company-nav-group:hover) > a::after,
 #navigation:has(> a:hover, > .company-nav-group:hover) .company-nav-group > a::after { opacity:0; }
 #navigation:has(> a:hover) > a:hover::after,
 #navigation:has(> .company-nav-group:hover) > .company-nav-group:hover > a::after { opacity:1; }
}

/* Contact information and four equally sized code positions. */
.contact-layout { grid-template-columns:minmax(0,2fr) minmax(0,3fr); gap:48px; }
.contact-layout > * { min-width:0; }
.contact-layout .qr-grid { grid-template-columns:repeat(4,minmax(0,1fr)); max-width:none; align-items:start; }
@media(max-width:1000px) { .contact-layout { grid-template-columns:1fr; gap:32px; } }
@media(max-width:540px) {
 .contact-layout .qr-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 16px; }

}

@media(min-width:1001px) and (max-width:1250px) { .contact-layout .qr-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* Each desktop parent owns a column; its submenu stays within that column. */
#navigation > a, #navigation .company-nav-group > a { font-size:14px; }
@media(min-width:1101px) {
 #navigation { display:grid; grid-template-columns:repeat(6,clamp(96px,7.3vw,112px)); gap:0; }
 #navigation > a, #navigation .company-nav-group > a { width:100%; justify-content:center; }
 .company-nav-group { width:100%; }
 .company-dropdown { width:100%; left:0; }
 #navigation > a::after, #navigation .company-nav-group > a::after { width:4em; left:50%; right:auto; transform:translateX(-50%); }
 #navigation > a:first-child::after { width:2em; }
}

/* Category labels and practice illustration share the same treatment on both entry pages. */
.edition-top { font-size:12px; }
#main .edition-card .practice-folds { top:76px; right:40px; }
@media(max-width:720px) {
 .edition-top { font-size:10px; }
 #main .edition-card .practice-folds { top:72px; right:28px; }
}

/* Catalogue composition: a centred subject, quiet corner index and translucent icon support. */
.sports-grid > .course-card { padding:20px; min-height:240px; justify-content:flex-start; gap:8px; border-color:#d5deea; }
.project-index { color:#71839b; font-size:11px; line-height:1.5; font-variant-numeric:tabular-nums; letter-spacing:.12em; }
.project-body { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:20px; padding:0 0 10px; min-width:0; }
.project-icon-support { display:grid; place-items:center; width:90px; height:90px; border-radius:28px; background:#ffffff65; border:1px solid #ffffffa0; box-shadow:0 6px 14px #234a7205; flex-shrink:0; }
.project-icon { display:block; width:60px; height:60px; object-fit:contain; }
.project-label { width:100%; text-align:center; }
.course-card .project-label h3 { margin:0 0 8px; font-size:22px; line-height:1.4; font-weight:600; overflow-wrap:anywhere; }
.project-english { display:block; font-size:10px; line-height:1.6; letter-spacing:.08em; color:#60758e; overflow-wrap:anywhere; }
.course-card-text .project-body { padding-block:24px; }
.course-card-text .project-label h3 { font-size:24px; }
@media(max-width:540px) {
 .sports-grid > .course-card { padding:14px; min-height:224px; }
 .project-body { gap:16px; padding-bottom:6px; }
 .project-icon-support { width:76px; height:76px; border-radius:24px; }
 .project-icon { width:52px; height:52px; }
 .course-card .project-label h3 { font-size:20px; }
 .project-english { font-size:9px; letter-spacing:.04em; }
}

/* Company content uses the shared typography, grid and spacing. */
.school-directory{border-top:1px solid var(--line)}
.school-district{border-bottom:1px solid var(--line)}
.school-district summary{min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;font-size:18px;font-weight:600;list-style:none;padding-block:16px}
.school-district summary::-webkit-details-marker{display:none}
.school-district summary{position:relative;padding-right:48px}
.school-district summary::before,.school-district summary::after{content:'';position:absolute;right:7px;top:50%;width:14px;height:2px;background:currentColor;border-radius:1px;transform:translateY(-50%);pointer-events:none}
.school-district summary::before{transform:translateY(-50%) rotate(90deg)}
.school-district[open] summary::before{opacity:0}
.school-district summary:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
.honor-directory .honor-project ul{grid-template-columns:1fr;gap:12px;padding-right:48px}
.honor-project li{padding-left:16px;position:relative}
.honor-project li::before{content:'';position:absolute;left:0;top:.8em;width:4px;height:4px;border-radius:50%;background:var(--blue)}
.honor-note{font-size:14px;color:var(--muted);margin:0 0 16px}

.school-district ul{list-style:none;padding:0 0 24px;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 24px}
.school-district li{font-size:14px;line-height:1.8;color:var(--muted)}
.school-source{font-size:12px;color:var(--muted);margin:16px 0 0}
/* Company profile: one reading flow, without an empty title column. */
.company-profile{grid-template-columns:minmax(0,1fr);gap:24px}
.company-profile h2{margin-bottom:0;text-wrap:balance}
.company-profile>div:last-child{max-width:64em}
.company-profile .body-copy{max-width:none}
.company-org{--connector:2px;display:flex;flex-direction:column;align-items:center;padding:32px 24px;background:linear-gradient(110deg,#f5f0fa,#fff8e7,#edf7f7);border:1px solid var(--line);border-radius:6px}
.org-lead{position:relative;text-align:center;width:min(200px,100%);padding:16px;border:1px solid var(--line);border-radius:6px;background:#ffffffb3;font-size:20px;font-weight:600;margin-bottom:32px}
.org-lead::after{content:'';position:absolute;width:var(--connector);height:32px;background:var(--blue);left:50%;transform:translateX(-50%);top:calc(100% + 1px)}
.org-lead:nth-child(2)::after{height:16px}
.org-departments{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;list-style:none;padding:0;margin:0;gap:16px;position:relative}
.org-departments li{position:relative;text-align:center;padding:18px 8px;background:#ffffffb3;border:1px solid var(--line);border-radius:6px;font-size:18px;font-weight:600}
.org-departments li::before{content:'';position:absolute;height:18px;width:var(--connector);background:var(--blue);left:50%;transform:translateX(-50%);top:-18px}
.org-departments li:not(:last-child)::after{content:'';position:absolute;top:-18px;left:50%;height:var(--connector);width:calc(100% + 18px);background:var(--blue)}
/* A single centre stem avoids independently rasterised segments at the junction. */
@media(min-width:801px){
 .org-lead:nth-child(2)::after{height:32px}
 .org-departments li:nth-child(3)::before{display:none}
}
.company-org-copy{margin:24px 0 0;max-width:48em}
.company-org-copy+.company-org-copy{margin-top:12px}
@media(max-width:800px){.company-profile{gap:20px}.school-district ul{grid-template-columns:repeat(2,minmax(0,1fr))}.company-org{padding:24px 16px}.org-departments{grid-template-columns:1fr;max-width:360px;gap:12px;padding-left:20px}.org-departments::before{content:'';position:absolute;left:0;top:-18px;bottom:30px;width:var(--connector);background:var(--blue)}.org-departments::after{content:'';position:absolute;left:0;top:-18px;width:50%;height:var(--connector);background:var(--blue)}.org-departments li::before{left:-21px;top:50%;width:21px;height:var(--connector);transform:none}.org-departments li:not(:last-child)::after{display:none}.org-departments li{font-size:18px}.school-district summary{font-size:18px}}
@media(max-width:380px){.school-district ul{grid-template-columns:1fr}}

/* Low-resolution credential previews retain the complete certificate frame. */
.credential-grid { grid-template-columns:repeat(2,minmax(0,368px)); justify-content:start; }
.credential-grid > .placeholder { padding:24px; }
.credential-image { display:block; width:100%; max-width:320px; height:auto; margin:0 auto 20px; }
@media(max-width:800px) { .credential-grid { grid-template-columns:minmax(0,368px); } }

.credential-preview { user-select:none; -webkit-user-select:none; -webkit-touch-callout:none; }
.credential-image { -webkit-user-drag:none; }

/* Keep each service's original surface when changing its reading order. */
.service-panel.service-panel-courses{background:linear-gradient(145deg,#f5f0fa,#fff4d2)}
.service-panel.service-panel-care{background:linear-gradient(145deg,#f3f6fa,#e6eef7)}
.faculty-count{margin-left:auto;font-size:12px;font-weight:400;color:var(--muted)}
.faculty-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:12px 0 28px}
.faculty-card{display:flex;align-items:flex-start;gap:20px;padding:20px;border:1px solid var(--line);border-radius:6px;background:#fff}
.faculty-card>img{width:96px;height:128px;object-fit:cover;object-position:top;border-radius:5px;flex-shrink:0}
.faculty-copy{min-width:0}
.faculty-card h3{font-size:20px;margin:0 0 8px}
.faculty-card p{font-size:14px;line-height:1.8;color:var(--muted);margin:0 0 8px;overflow-wrap:anywhere}
.school-district .faculty-background>summary{font-size:12px;min-height:44px;padding:8px 28px 8px 0;display:flex;list-style:none;font-weight:400;color:var(--blue);width:fit-content}
.school-district .faculty-background>summary::-webkit-details-marker{display:none}
.school-district .faculty-background>summary::before,.school-district .faculty-background>summary::after{display:block;right:0;width:12px;height:2px}
.school-district .faculty-background>summary::before{opacity:1}
.school-district .faculty-background[open]>summary::before{opacity:0}
.faculty-background>div{border-top:1px solid var(--line);padding-top:12px}
@media(max-width:1200px){.faculty-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.faculty-grid{grid-template-columns:1fr;gap:16px}.faculty-card{padding:16px;gap:16px}.faculty-card>img{width:80px;height:108px}}

/* Caption shares the moon's horizontal centre at each breakpoint. */
.hero-art{--moon-centre-right:87px}
.art-caption{left:auto;right:var(--moon-centre-right);width:max-content;transform:translateX(50%)}
@media(max-width:800px){.hero-art{--moon-centre-right:27px}}
@media(max-width:540px){.art-caption{font-size:10px;letter-spacing:.12em}}

/* Business emphasis follows the service, not its grid position. */
.business-card[href="#services/school"]{background:linear-gradient(145deg,#f5f0fa,#fff4d2)}
.business-card[href="#services/base"]{background:linear-gradient(145deg,#f3f6fa,#e6eef7)}

/* Artwork fits both viewport height and available card width. */
.business-card{position:relative;isolation:isolate;overflow:hidden;min-height:clamp(330px,48svh,500px)}
.business-card>:not(.business-art){position:relative;z-index:1}
.business-card .business-art{position:absolute;width:min(65%,38svh,440px);height:auto;right:20px;bottom:72px;pointer-events:none;z-index:0}
.business-card h2,.business-card>p{max-width:70%}
.business-card .text-link{justify-content:flex-start;gap:12px;width:fit-content}
@media(max-width:1100px) and (min-width:801px){.business-card .business-art{width:min(68%,30svh,320px);right:12px;bottom:66px}}
@media(max-width:800px){.business-card{min-height:350px}.business-card .business-art{width:min(72%,29svh,300px);right:14px;bottom:54px}}

/* Confirmed brand hierarchy: full company signature in shared footer. */
.footer > div:first-child { min-width: 0; }
.footer .footer-brand { display: inline-block; font-size: 18px; line-height: 1.6; }
.footer p[lang="en"] { font-size: 13px; line-height: 1.7; margin-top: 8px; color: #c1d0e1; }
@media (max-width: 540px) {
  .footer .footer-brand { font-size: 16px; }
  .footer p[lang="en"] { font-size: 12px; }
}

/* Shared brand lockup: exact logo and text geometry across both sites. */
.site-header{min-height:78px;padding:12px clamp(18px,4vw,64px);border-bottom-width:3px;border-bottom-style:solid}
.brand{display:flex;align-items:center;gap:14px;font-family:'Source Han Sans SC','PingFang SC','Microsoft YaHei',system-ui,sans-serif;flex-shrink:0}
.brand > span{display:block}
.brand strong{display:block;font-size:calc(20px - 1pt);font-weight:700;line-height:24px;letter-spacing:.03em}
.brand small{display:block;margin-top:4px;font-size:12px;font-weight:600;line-height:18px;letter-spacing:0;color:#607187}
@media(max-width:760px){.site-header{min-height:66px;padding:8px 16px}.brand{gap:10px}.brand small{display:none}.brand strong{font-size:calc(20px - 1pt);line-height:24px}}

/* Optical alignment of the two-line brand text. */
.brand > span{transform:translate(2px,1px)}

/* Category return action belongs to the upper-right of the title area. */
.page-intro.has-back-link{position:relative;padding-right:150px}
.intro-back-link{position:absolute;right:0;top:clamp(24px,3.2svh,40px);min-height:44px;display:flex;align-items:center;font-size:13px;color:var(--blue);line-height:1.5}
@media(max-width:800px){.intro-back-link{top:58px}.page-intro.has-back-link{padding-right:0}.has-back-link>h1{padding-right:110px}}

.intro-back-link{gap:7px}.intro-back-link svg{flex-shrink:0}.curriculum-crumb{display:inline;min-height:0}.curriculum-crumb:hover{text-decoration:underline;text-underline-offset:4px}.crumb-separator{padding-inline:6px;color:var(--muted)}.has-back-link>.eyebrow{display:block}


/* Intro labels and breadcrumbs share one line box; links do not enlarge it. */
#main>.page-intro>.eyebrow{font-size:11px;line-height:18px;min-height:18px;letter-spacing:.1em;padding:0;margin-bottom:12px}

@media(max-width:800px){#main>.curriculum-intro>.lead{min-height:3.6em}}

/* Clickable entries behave as controls when dragging or tapping text. */
a[href], button, [role="button"] {
  -webkit-user-select: none;
  user-select: none;
}

/* Release footer: readable filing number and touch target. */
.footer-note { flex-wrap: wrap; align-items: center; }
.icp-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: #c1d0e1; }
