.home-page {
  --home-ink: #101c30;
  --home-black: #0d192b;
  --home-gold: #d9b75f;
  --home-gold-light: #f5dfa8;
  --home-gold-text: #806014;
  --home-cream: #f7f8f8;
  --home-muted: #55544f;
  background: var(--home-cream);
  color: var(--home-ink);
  font-family: Cairo, Arial, sans-serif;
  line-height: 1.75;
}
.home-page .wrap { width: min(1240px, calc(100% - 64px)); }
.home-page h1, .home-page h2, .home-page h3, .home-page p { overflow-wrap: break-word; }
.home-page a:focus-visible, .home-page summary:focus-visible { outline: 3px solid var(--home-gold); outline-offset: 4px; }
.home-skip { position: absolute; z-index: 100; top: -80px; right: 16px; padding: 8px 16px; background: #fff; color: #111; }
.home-skip:focus { top: 10px; }
.home-page .brandbar { height: 4px; }
.home-header { background: rgba(10, 10, 9, .98); border-bottom: 1px solid rgba(217, 183, 95, .26); }
.home-header nav { height: 82px; gap: 28px; }
.home-header .brand { flex-shrink: 0; gap: 13px; }
.home-header .brand img { width: 48px; height: 48px; border: 1px solid rgba(217, 183, 95, .48); }
.home-header .brand strong { font-size: 16px; line-height: 1.35; }
.home-header .brand small { font-size: 10px; letter-spacing: .02em; color: var(--home-gold-light); }
.home-header .navlinks { gap: clamp(12px, 1.4vw, 23px); align-items: center; font-size: 13.5px; }
.home-header .navlinks a { white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; }
.home-header .navlinks a:hover, .home-header .navlinks a:focus-visible { color: var(--home-gold-light); border-color: var(--home-gold); }
.home-header .mobile-menu summary { width: auto; min-width: 44px; height: 44px; display: flex; gap: 10px; padding: 0 12px; color: #fff; font-weight: 700; }
.home-header .mobile-panel { top: 56px; width: min(310px, calc(100vw - 32px)); z-index: 60; border-radius: 4px; }
.home-header .mobile-panel a { min-height: 44px; }

.home-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 77% 12%, #292216 0, #11100d 38%, #090909 76%); color: #fff; }
.home-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; background: repeating-linear-gradient(118deg, transparent 0 75px, rgba(217,183,95,.11) 76px, transparent 77px 150px); }
.home-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(32px, 5vw, 78px); align-items: center; padding: clamp(64px, 7vw, 106px) 0; }
.home-hero-copy { max-width: 690px; }
.home-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 19px; color: var(--home-gold-light); font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.home-eyebrow-mark { width: 26px; height: 2px; display: inline-block; background: var(--home-gold); }
.home-hero h1 { margin: 0; font-size: clamp(40px, 4.35vw, 64px); line-height: 1.23; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.home-hero h1 span { color: var(--home-gold-light); }
.home-hero-lead { max-width: 590px; margin: 24px 0 0; color: #dfddd7; font-size: clamp(16px, 1.42vw, 19px); line-height: 1.9; }
.home-domains { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 27px 0 30px; }
.home-domains li { padding: 5px 13px; border: 1px solid rgba(245,223,168,.38); border-radius: 99px; color: #f1ebe0; background: rgba(255,255,255,.035); font-size: 12px; font-weight: 700; }
.home-hero-actions, .home-identity-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.home-button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; font-size: 14px; font-weight: 800; text-align: center; transition: transform .2s, background .2s, border-color .2s; }
.home-button:hover { transform: translateY(-2px); }
.home-button-gold { background: var(--home-gold); color: #111; }
.home-button-gold:hover { background: var(--home-gold-light); }
.home-button-outline { border-color: var(--home-gold); color: var(--home-gold-light); background: transparent; }
.home-button-outline:hover { background: rgba(217,183,95,.12); }
.home-button-dark { background: var(--home-ink); color: #fff; }
.home-button-dark:hover { background: #373024; }
.home-hero-note { margin: 19px 0 0; color: #bfbab0; font-size: 12px; }
.home-hero-art { position: relative; min-width: 0; }
.home-art-frame { position: relative; min-height: 370px; display: flex; align-items: center; padding: clamp(16px, 2.6vw, 32px); background: linear-gradient(135deg, #16130d, #070707 62%, #2b2112); border: 1px solid rgba(217,183,95,.45); box-shadow: 0 28px 70px rgba(0,0,0,.38); }
.home-art-frame::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(217,183,95,.16); pointer-events: none; }
.home-art-frame img { width: 100%; height: auto; display: block; box-shadow: 0 12px 34px rgba(0,0,0,.35); }
.home-art-caption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 19px 2px 0; color: var(--home-gold-light); font-size: 12px; }
.home-art-caption span { font-family: Cinzel, serif; font-size: 11px; letter-spacing: .15em; direction: ltr; }
.home-art-caption strong { font-size: 13px; }

.home-context { background: #fff; border-bottom: 1px solid #e8dfce; }
.home-context-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-context-grid > div { padding: 20px 26px; border-left: 1px solid #e8dfce; }
.home-context-grid > div:last-child { border-left: 0; }
.home-context strong { display: block; color: #342c1d; font-size: 15px; line-height: 1.45; }
.home-context span { display: block; color: var(--home-muted); font-size: 12px; }
.home-section { padding: clamp(72px, 8vw, 112px) 0; }
.home-section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 38px; margin-bottom: 35px; }
.home-section-label { margin: 0 0 12px; color: var(--home-gold-text); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.home-section-heading h2, .home-identity-copy h2 { margin: 0; font-size: clamp(32px, 3.3vw, 48px); line-height: 1.3; font-weight: 800; text-wrap: balance; }
.home-section-heading p:not(.home-section-label) { margin: 0; max-width: 490px; color: var(--home-muted); font-size: 16px; }
.home-level-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-level-card { position: relative; display: flex; flex-direction: column; min-height: 290px; padding: 31px; background: #fff; border: 1px solid #e3d9c7; transition: transform .2s, box-shadow .2s, border-color .2s; }
.home-level-card::before { content: ""; position: absolute; top: 0; right: 0; width: 72px; height: 4px; background: var(--home-gold); }
.home-level-card:hover { transform: translateY(-4px); border-color: var(--home-gold); box-shadow: 0 16px 34px rgba(41,32,16,.1); }
.home-card-kicker { color: var(--home-gold-text); font-size: 12px; font-weight: 800; }
.home-level-card h3 { margin: 11px 0 4px; color: var(--home-ink); font-family: Cinzel, Cairo, serif; font-size: 52px; line-height: 1.15; direction: ltr; text-align: right; }
.home-level-card p { margin: 7px 0 28px; color: var(--home-muted); font-size: 15px; }
.home-card-link { margin-top: auto; padding-top: 14px; border-top: 1px solid #eee7db; color: var(--home-gold-text); font-size: 13px; font-weight: 800; }

.home-university { background: #0d0d0c; color: #fff; }
.home-university .home-section-label { color: var(--home-gold-light); }
.home-university .home-section-heading p:not(.home-section-label) { color: #c9c5bc; }
.home-section-link, .home-text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--home-gold-light); font-size: 13px; font-weight: 800; border-bottom: 1px solid currentColor; }
.home-subject-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-subject-card { position: relative; display: block; min-height: 205px; padding: 24px 25px; background: #191917; border: 1px solid #39352b; transition: background .2s, border-color .2s, transform .2s; }
.home-subject-card:hover { background: #252119; border-color: var(--home-gold); transform: translateY(-2px); }
.home-subject-card > span { color: var(--home-gold-light); font-size: 12px; font-weight: 800; }
.home-subject-card h3 { margin: 9px 0 5px; font-size: 21px; line-height: 1.4; }
.home-subject-card p { margin: 0; padding-left: 17px; color: #c9c5bc; font-size: 13px; }
.home-subject-card b { position: absolute; left: 22px; bottom: 20px; color: var(--home-gold-light); font-size: 19px; font-weight: 400; }

.home-explore { background: #eeeae0; }
.home-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home-feature { min-height: 390px; padding: clamp(29px, 3.5vw, 48px); display: flex; flex-direction: column; align-items: flex-start; }
.home-feature h2 { max-width: 490px; margin: 8px 0 14px; font-size: clamp(27px, 2.7vw, 39px); line-height: 1.36; }
.home-feature p { max-width: 480px; margin: 0 0 28px; color: var(--home-muted); }
.home-feature .home-button { margin-top: auto; }
.home-research-card { background: #fff; border: 1px solid #ded5c6; }
.home-sportmind-card { color: #fff; background: linear-gradient(145deg, #111614, #11110f 70%); border: 1px solid #373b31; }
.home-sportmind-card .home-section-label { color: var(--home-gold-light); }
.home-sportmind-card p { color: #d2d2cb; }
.home-sportmind-logo { width: min(290px, 100%); min-height: 78px; display: flex; align-items: center; justify-content: center; padding: 10px 15px; margin-bottom: 25px; background: #fff; border-radius: 5px; }
.home-sportmind-logo img { display: block; max-height: 60px; width: 100%; height: auto; object-fit: contain; }

.home-identity { background: #fff; }
.home-identity-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(34px, 5vw, 80px); }
.home-identity-logo { padding: 35px; background: var(--home-cream); border: 1px solid #e4d9c4; }
.home-identity-logo img { display: block; width: 100%; height: auto; }
.home-identity-copy p:not(.home-section-label) { max-width: 650px; margin: 18px 0 0; color: var(--home-muted); }
.home-identity-copy blockquote { margin: 26px 0; padding: 12px 20px; border-right: 3px solid var(--home-gold); font-weight: 800; color: #342a15; }
.home-identity-copy .home-text-link { color: var(--home-gold-text); }
.home-contact { padding: 0 0 88px; background: #fff; }
.home-contact-box { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(28px, 4vw, 50px); background: #d9b75f; }
.home-contact-box .home-section-label { color: #3d2c09; }
.home-contact-box h2 { margin: 0; font-size: clamp(26px, 3vw, 39px); line-height: 1.3; }
.home-contact-box p:not(.home-section-label) { margin: 8px 0 0; color: #42330f; }
.home-contact-box .home-button { white-space: nowrap; }
.home-footer { background: #0b0b0a; border-top: 1px solid rgba(217,183,95,.25); }
.home-footer-inner { min-height: 115px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.home-footer .footbrand img { border: 1px solid var(--home-gold); }
.home-footer .footlinks { gap: 18px; }
.home-footer .footlinks a { min-height: 40px; display: inline-flex; align-items: center; }

@media (max-width: 1050px) {
  .home-header .navlinks { display: none; }
  .home-header .mobile-menu { display: block; }
  .home-hero-grid { gap: 32px; }
  .home-art-frame { min-height: 310px; }
}
@media (max-width: 800px) {
  .home-page .wrap { width: min(100% - 40px, 660px); }
  .home-hero-grid, .home-section-heading, .home-identity-grid { grid-template-columns: 1fr; }
  .home-hero-grid { padding: 62px 0 55px; }
  .home-hero-copy { max-width: none; }
  .home-hero-art { max-width: 660px; }
  .home-art-frame { min-height: 0; }
  .home-section-heading { gap: 13px; }
  .home-level-grid { gap: 12px; }
  .home-level-card { min-height: 260px; padding: 22px; }
  .home-level-card h3 { font-size: 42px; }
  .home-subject-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-feature-grid { grid-template-columns: 1fr; }
  .home-feature { min-height: 330px; }
  .home-identity-logo { max-width: 560px; }
}
@media (max-width: 620px) {
  .home-page .wrap { width: calc(100% - 32px); }
  .home-header nav { height: 68px; }
  .home-header .brand img { width: 42px; height: 42px; }
  .home-header .brand strong { font-size: 15px; }
  .home-header .brand small { font-size: 9px; }
  .home-header .mobile-menu summary { font-size: 12px; gap: 7px; }
  .home-hero-grid { padding: 48px 0 43px; gap: 38px; }
  .home-hero h1 { font-size: clamp(34px, 9.5vw, 46px); }
  .home-hero-lead { font-size: 15px; margin-top: 18px; }
  .home-domains { gap: 7px; margin: 20px 0 24px; }
  .home-domains li { font-size: 11px; padding: 4px 10px; }
  .home-hero-actions { display: grid; grid-template-columns: 1fr; }
  .home-hero-actions .home-button { width: 100%; }
  .home-art-frame { padding: 12px; }
  .home-art-caption { padding-top: 13px; }
  .home-context-grid { grid-template-columns: 1fr; }
  .home-context-grid > div { padding: 12px 3px; border-left: 0; border-bottom: 1px solid #e8dfce; }
  .home-context-grid > div:last-child { border-bottom: 0; }
  .home-section { padding: 67px 0; }
  .home-level-grid, .home-subject-grid { grid-template-columns: 1fr; }
  .home-level-card { min-height: 235px; padding: 24px; }
  .home-subject-card { min-height: 178px; }
  .home-feature { min-height: 0; padding: 28px; }
  .home-feature .home-button { margin-top: 8px; }
  .home-identity-logo { padding: 16px; }
  .home-identity-actions { align-items: stretch; }
  .home-contact-box { flex-direction: column; align-items: flex-start; }
  .home-contact-box .home-button { width: 100%; }
  .home-contact { padding-bottom: 64px; }
  .home-footer-inner { padding: 26px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Approved portrait and lecture imagery, plus the public lesson finder. */
.home-header,.home-footer { background: #0d192b; }
.home-hero { background: radial-gradient(circle at 75% 22%, #243b60, #101d33 52%, #0b1424); }
.home-university { background: #101d33; }
.home-art-frame { min-height: 0; padding: 12px; background: #0d192b; border-color: rgba(217,183,95,.65); }
.home-art-frame::before { display: none; }
.home-art-frame img { width: 100%; height: min(41vw, 510px); object-fit: cover; object-position: center 24%; }
.home-hero h1 { font-size: clamp(42px, 4.5vw, 65px); }
.home-hero h1 span { display: block; font-size: .66em; line-height: 1.42; margin-top: 12px; }
.home-header .navlinks { gap: clamp(10px, 1.1vw, 19px); }
.home-search { padding: clamp(58px, 7vw, 88px) 0; background: #fff; border-bottom: 1px solid #e5dfd4; }
.home-search-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(24px,5vw,70px); align-items: start; }
.home-search h2 { margin: 0 0 9px; font-size: clamp(29px,3vw,42px); line-height: 1.3; }
.home-search p { margin: 0; color: var(--home-muted); }
.home-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.home-shortcuts a { padding: 6px 13px; border: 1px solid #ccb988; color: #4d3b14; font-weight: 800; font-size: 13px; }
.home-shortcuts a:hover,.home-shortcuts a:focus-visible { background: #f4e8ca; }
.home-search-box { padding: clamp(20px,3vw,32px); background: #f8f7f3; border: 1px solid #e5ddcc; }
.home-search-box label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 800; }
.home-search-field { display: flex; gap: 8px; }
.home-search-field input { min-width: 0; flex: 1; min-height: 48px; padding: 8px 13px; border: 1px solid #bfb5a2; border-radius: 0; background: #fff; color: #17243a; font: inherit; }
.home-search-field button { min-height: 48px; padding: 0 22px; border: 0; background: #14253d; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.home-search-field button:hover { background: #2c4262; }
#site-search-status { margin: 12px 0 0; min-height: 24px; font-size: 13px; }
.home-search-results { max-height: 390px; overflow: auto; margin-top: 8px; }
.home-search-result { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 4px; border-top: 1px solid #e1d9c9; }
.home-search-result:hover { color: #8b6518; }
.home-search-result strong,.home-search-result small { display: block; }
.home-search-result strong { font-size: 14px; line-height: 1.5; }
.home-search-result small { color: #62615d; font-size: 11px; }
.home-bt-years { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 13px; }
.home-bt-years a { display: flex; justify-content: space-between; gap: 8px; padding: 13px 17px; background: #e9e2d3; font-size: 13px; }
.home-bt-years a:hover { background: #e2d2ad; }
.home-bt-years strong { color: #5b4215; white-space: nowrap; }
.home-lectures { background: #f4f3ef; }
.home-lecture-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 18px; }
.home-lecture-grid figure { margin: 0; background: #fff; border: 1px solid #e1d9c9; }
.home-lecture-grid img { display: block; width: 100%; height: clamp(290px,34vw,440px); object-fit: cover; }
.home-lecture-grid figure:first-child img { object-position: center 45%; }
.home-lecture-grid figure:last-child img { object-position: center; }
.home-lecture-grid figcaption { display: grid; gap: 2px; padding: 15px 19px; }
.home-lecture-grid figcaption strong { color: #18263d; }
.home-lecture-grid figcaption span { color: #686868; font-size: 13px; }
@media(max-width:800px) { .home-search-grid,.home-lecture-grid { grid-template-columns: 1fr; } .home-art-frame img { height: min(85vw,510px); } }
@media(max-width:620px) { .home-bt-years { grid-template-columns: 1fr; } .home-search-field button { padding: 0 14px; } .home-lecture-grid img { height: 315px; } }

/* Visual quality pass: stronger portrait balance and quieter section rhythm. */
.home-hero::before { opacity: .12; }
.home-hero-grid { padding-block: clamp(50px, 5.2vw, 70px); gap: clamp(30px, 4vw, 56px); }
.home-hero h1 { font-size: clamp(41px, 4.2vw, 60px); line-height: 1.2; }
.home-hero h1 span { font-size: .65em; margin-top: 9px; line-height: 1.35; }
.home-hero-lead { margin-top: 19px; line-height: 1.78; }
.home-domains { margin: 21px 0 24px; }
.home-hero-note { color: #d4d9e3; }
.home-art-frame { border-radius: 10px; box-shadow: 0 22px 55px rgba(0,0,0,.26); }
.home-art-frame picture { display: block; width: 100%; min-width: 0; }
.home-art-frame img { height: min(38vw, 475px); border-radius: 4px; }
.home-section { padding-block: clamp(58px, 6.5vw, 88px); }
.home-level-card,.home-subject-card,.home-feature,.home-search-box,.home-lecture-grid figure { border-radius: 10px; }
.home-level-card { min-height: 260px; }
.home-subject-card { background: #1b3150; border-color: #395273; }
.home-subject-card:hover { background: #254164; }
.home-sportmind-card { background: linear-gradient(145deg,#14253f,#0d192b); border-color: #395273; }
.home-button { border-radius: 6px; }
.home-search-field input,.home-search-field button { border-radius: 6px; }
.home-search-field input:focus-visible { outline: 3px solid #b5882d; outline-offset: 2px; }
.home-shortcuts a,.home-bt-years a { border-radius: 6px; }
@media(max-width:800px) { .home-hero-grid { padding-block: 40px 45px; } .home-art-frame img { height: min(78vw,450px); } .home-search-grid { grid-template-columns: minmax(0,1fr); } .home-search-grid > div { min-width: 0; } }
@media(max-width:620px) {
  .home-hero-grid { padding-block: 30px 38px; gap: 22px; }
  .home-eyebrow { margin-bottom: 12px; }
  .home-hero h1 { font-size: clamp(32px,8.7vw,42px); }
  .home-hero h1 span { margin-top: 5px; line-height: 1.25; }
  .home-hero-lead { margin-top: 11px; line-height: 1.68; }
  .home-domains { margin: 15px 0 18px; }
  .home-hero-actions { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .home-hero-actions .home-button { min-height: 48px; padding: 5px 8px; font-size: 12px; }
  .home-hero-note { margin-top: 12px; }
  .home-art-frame img { height: min(76vw,375px); }
  .home-section { padding-block: 56px; }
  .home-level-card { min-height: 0; }
}

/* Readable educational card labels across desktop, tablet, and phone. */
.home-card-kicker { font-size: clamp(19px, 1.7vw, 21px); font-weight: 700; line-height: 1.45; }
.home-level-card p { font-size: 16px; line-height: 1.75; }
.home-card-link { font-size: 15px; }
.home-bt-years a { align-items: center; min-width: 0; padding: 14px 18px; color: var(--home-ink); font-size: clamp(19px, 1.7vw, 21px); font-weight: 700; line-height: 1.45; white-space: nowrap; }
.home-bt-years strong { font-weight: 700; }
.home-subject-card { padding-bottom: 48px; }
.home-subject-card h3 { font-size: 21px; font-weight: 700; }
.home-subject-card p { color: #e0e4ea; font-size: 16px; line-height: 1.7; }
@media(max-width:800px) { .home-bt-years { grid-template-columns: 1fr; } }
@media(max-width:620px) { .home-subject-card h3 { font-size: 19px; } }
