/* Shared site styles. Grouped by cascade order; edit this file directly. */
:root { --ink: #142f32; --muted: #526664; --cream: #faf9f3; --green: #225b47; --gold: #f3c955; --blue: #173e68; --line: #d7dfd8; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body { margin: 0px; background: var(--cream); color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

button, a, summary { -webkit-tap-highlight-color: transparent; }

a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: rgb(24, 122, 194) solid 3px; outline-offset: 5px; }

.wrap { max-width: 1240px; margin: auto; padding-left: 40px; padding-right: 40px; }

.header { max-width: 1320px; padding: 22px 40px; margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }

.brand { display: flex; gap: 12px; align-items: center; font-size: 12px; letter-spacing: 1.5px; line-height: 1.5; }

.brand b { font-size: 17px; letter-spacing: 4px; }

.brand img { object-fit: contain; border-radius: 50%; }

.header nav { display: flex; gap: 35px; align-items: center; font-size: 14px; }

.header nav a[aria-current] { border-bottom: 2px solid var(--green); }

.nav-contact { border: 1px solid var(--ink); padding: 10px 20px; border-radius: 30px; }

.nav-contact span { margin-left: 20px; }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 55px; align-items: center; padding-top: 78px; padding-bottom: 85px; }

.eyebrow { font-size: 11px; letter-spacing: 1.7px; font-weight: 700; margin: 0px 0px 23px; }

.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 7px; }

h1, h2, h3, p { margin-top: 0px; }

h1 { font-size: clamp(42px, 4.5vw, 66px); line-height: 1.08; letter-spacing: -2.8px; font-weight: 500; margin-bottom: 28px; }

h1 em { font-family: Georgia, serif; color: var(--green); font-weight: 400; }

h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 500; line-height: 1.15; letter-spacing: -1.5px; }

h3 { font-size: 22px; line-height: 1.3; font-weight: 500; letter-spacing: -0.4px; }

.lead { font-size: 17px; color: var(--muted); max-width: 450px; }

.actions { display: flex; align-items: center; gap: 26px; margin-top: 30px; }

.button { display: inline-flex; background: var(--green); color: rgb(255, 255, 255); padding: 15px 24px; border-radius: 7px; gap: 28px; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; transition: transform 0.2s, background 0.2s; }

.button:hover { background: rgb(21, 61, 48); transform: translateY(-3px); }

.button.gold { background: var(--gold); color: var(--ink); }

.text-link { font-size: 14px; border-bottom: 1px solid; padding-bottom: 4px; display: inline-block; }

.hero-notes { display: flex; gap: 18px; font-size: 11px; margin-top: 30px; color: var(--muted); }

.hero-art { position: relative; padding: 40px 0px 30px; animation: 1s ease 0s 1 normal both running arrive; }

.art-frame { overflow: hidden; border-radius: 180px 180px 20px 20px; background: rgb(231, 232, 200); position: relative; box-shadow: rgba(18, 60, 37, 0.125) 0px 20px 60px; }

.art-frame img { width: 100%; height: 430px; object-fit: cover; object-position: center center; }

.float-note { position: absolute; display: flex; align-items: center; gap: 12px; padding: 15px 20px; background: rgb(255, 255, 255); border: 1px solid var(--line); border-radius: 10px; box-shadow: rgba(18, 60, 37, 0.063) 0px 10px 30px; font-size: 12px; line-height: 1.5; animation: 6s ease-in-out 0s infinite normal none running float; }

.note-top { top: 10px; right: -12px; }

.note-bottom { bottom: 40px; left: -25px; animation-delay: -3s; }

.note-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgb(236, 241, 232); color: var(--green); font-size: 21px; }

.art-caption { text-align: right; font-size: 10px; color: var(--muted); margin-top: 15px; }

.star { position: absolute; color: var(--gold); font-size: 86px; z-index: 2; left: -28px; top: 0px; animation: 30s linear 0s infinite normal none running turn; }

.orbit { position: absolute; inset: 5px -16px 50px; border: 1px solid rgb(168, 182, 160); border-radius: 50%; transform: rotate(-13deg); }

.ribbon { display: flex; justify-content: center; gap: 45px; padding: 23px; background: rgb(233, 237, 220); color: var(--green); font-size: 15px; }

.ribbon i { font-style: normal; color: rgb(157, 121, 37); }

.section { padding-top: 88px; padding-bottom: 88px; }

.section-heading { max-width: 670px; }

.section-heading > p:last-child, .discover p, .journey p { color: var(--muted); max-width: 520px; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 45px; }

.number { display: block; color: var(--green); margin-bottom: 30px; }

.benefits p { font-size: 15px; color: var(--muted); }

.benefits a { font-size: 13px; border-bottom: 1px solid; }

.journey { background: var(--ink); color: rgb(255, 255, 255); padding: 75px 0px; }

.journey-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }

.journey p { color: rgb(200, 213, 206); }

.journey .eyebrow { color: var(--gold); }

.steps { padding: 0px; margin: 0px; list-style: none; }

.steps li { display: flex; gap: 25px; border-bottom: 1px solid rgba(255, 255, 255, 0.19); padding: 25px 0px; }

.steps li:first-child { padding-top: 0px; }

.steps span { color: var(--gold); font-family: Georgia, serif; font-size: 24px; }

.steps h3 { font-size: 20px; margin-bottom: 8px; }

.steps p { font-size: 14px; margin-bottom: 0px; }

.discover { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: center; }

.subject-cloud { display: flex; flex-wrap: wrap; gap: 15px; transform: rotate(-3deg); }

.subject { padding: 22px; border: 1px solid var(--line); background: rgb(255, 255, 255); border-radius: 14px; flex: 1 1 0%; min-width: 170px; font-family: Georgia, serif; font-size: 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; transition: transform 0.3s; }

.subject:hover { transform: rotate(3deg) translateY(-5px); }

.subject b { color: var(--green); font-size: 30px; font-weight: 400; }

.subject.large { background: rgb(233, 237, 220); flex-basis: 55%; }

.subject-cloud small { font-size: 11px; color: var(--muted); padding-top: 10px; }

.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 65px; border-top: 0px solid var(--line); }

details { border-bottom: 1px solid var(--line); padding: 18px 0px; }

summary { cursor: pointer; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }

summary::-webkit-details-marker { display: none; }

summary::after { content: "+"; font-size: 22px; color: var(--green); }

details[open] summary::after { content: "−"; }

details p { font-size: 14px; color: var(--muted); margin: 15px 0px 0px; }

.contact { background: rgb(233, 237, 220); padding-top: 55px; padding-bottom: 55px; display: flex; justify-content: space-between; gap: 40px; border-radius: 18px; }

.contact p { font-size: 14px; }

.contact .eyebrow { font-size: 10px; }

.contact-links { display: flex; flex-direction: column; justify-content: center; gap: 18px; min-width: 275px; }

.contact .button { display: block; text-align: center; }

.contact small { display: block; font-weight: 400; font-size: 11px; margin-top: 7px; }

.secondary { text-align: center; font-weight: 600; font-size: 14px; }

.footer { padding-top: 35px; padding-bottom: 35px; display: flex; justify-content: space-between; gap: 25px; flex-wrap: wrap; font-size: 11px; color: var(--muted); }

.footer p { margin: 0px; }

.wordmark { font-weight: 700; letter-spacing: 1px; color: var(--ink); }

.directory-intro { padding-top: 70px; padding-bottom: 35px; }

.directory-intro h1 { max-width: 850px; }

.intro-bottom { display: flex; justify-content: space-between; align-items: center; gap: 25px; }

.intro-bottom p { color: var(--muted); }

.demo-notice { background: rgb(245, 237, 213); border-left: 3px solid rgb(183, 141, 40); padding: 14px 18px; font-size: 12px; margin: 24px 0px; }

.demo-notice b { margin-right: 10px; }

.subject-nav { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 30px; }

.subject-nav span { font-size: 10px; letter-spacing: 1px; margin-right: 8px; }

.subject-nav a { font-size: 12px; border: 1px solid var(--line); padding: 8px 15px; border-radius: 30px; }

.subject-nav a:hover { background: rgb(233, 237, 220); }

.teacher-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }

.teacher-card { border: 1px solid var(--line); background: rgb(255, 255, 255); padding: 32px; border-radius: 14px; scroll-margin-top: 30px; transition: box-shadow 0.3s, transform 0.3s; }

.teacher-card:hover { box-shadow: rgba(18, 60, 37, 0.063) 0px 15px 40px; transform: translateY(-3px); }

.teacher-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }

.initials { width: 65px; height: 65px; background: rgb(233, 237, 220); border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-family: Georgia, serif; color: var(--green); }

.teacher-card:nth-child(2n) .initials { background: rgb(245, 237, 213); color: rgb(118, 96, 29); }

.pill { font-size: 12px; padding: 5px 12px; border-radius: 25px; background: rgb(238, 243, 247); color: var(--blue); }

.teacher-card h2 { font-size: 30px; margin-bottom: 25px; }

.teacher-card dl { margin: 0px; }

.teacher-card dl div { display: flex; justify-content: space-between; gap: 25px; border-bottom: 1px solid rgb(237, 240, 233); padding: 12px 0px; font-size: 13px; }

.teacher-card dt { color: var(--muted); }

.teacher-card dd { margin: 0px; text-align: right; font-weight: 600; }

.teacher-card summary { font-size: 13px; }

.teacher-card .button { display: flex; margin-top: 25px; }

.small { font-size: 11px; display: table; margin: 14px auto 0px; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin-top: 30px; }

table { border-collapse: collapse; width: 100%; min-width: 850px; font-size: 13px; text-align: left; }

caption { text-align: left; padding: 15px; background: rgb(233, 237, 220); font-size: 12px; }

th, td { padding: 20px; border-bottom: 1px solid var(--line); }

thead { background: var(--ink); color: rgb(255, 255, 255); }

tbody tr:nth-child(2n) { background: rgb(240, 243, 236); }

td a { color: var(--green); font-weight: 600; white-space: nowrap; }

.fine-print { font-size: 12px; color: var(--muted); max-width: 800px; margin-top: 20px; }

.skip { position: absolute; left: 15px; top: -100px; background: white; padding: 12px; z-index: 5; }

.skip:focus { top: 10px; }

@keyframes float { 
  50% { transform: translateY(-9px); }
}

@keyframes turn { 
  100% { transform: rotate(360deg); }
}

@keyframes arrive { 
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0px); }
}

@media (max-width: 900px) {
  .wrap { padding-left: 25px; padding-right: 25px; }

  .hero { gap: 30px; }

  .art-frame img { height: 350px; }

  .hero-notes { flex-direction: column; gap: 5px; }

  .header { padding: 18px 25px; }

  .header nav { gap: 18px; }

  .journey-grid, .discover { gap: 40px; }

  .ribbon { gap: 20px; font-size: 12px; }

  .contact { margin: 0px 20px; }

  .contact h2 { font-size: 32px; }

  .teacher-card { padding: 24px; }

  .faq { gap: 30px; }
}

@media (max-width: 650px) {
  .header { flex-wrap: wrap; }

  .header nav { width: 100%; justify-content: space-between; font-size: 13px; }

  .hero { grid-template-columns: 1fr; padding-bottom: 35px; gap: 25px; }

  .eyebrow { font-size: 9px; letter-spacing: 1.2px; }

  .hero-copy .eyebrow { max-width: 280px; }

  .hero-art { max-width: 470px; width: 100%; margin: auto; padding-left: 10px; padding-right: 10px; }

  .note-top { right: 0px; }

  .note-bottom { left: 0px; }

  .float-note { font-size: 10px; padding: 12px; }

  .star { left: 0px; font-size: 65px; }

  .hero-notes { flex-flow: wrap; }

  .ribbon { gap: 14px; flex-wrap: wrap; padding: 18px 22px; }

  .ribbon span { font-size: 12px; }

  .ribbon i:last-of-type { display: none; }

  .section { padding-top: 55px; padding-bottom: 55px; }

  .benefits, .journey-grid, .discover, .faq { grid-template-columns: 1fr; gap: 32px; }

  .benefits .number { margin-bottom: 15px; }

  .journey { padding: 50px 0px; }

  .contact { flex-direction: column; border-radius: 12px; gap: 15px; }

  .contact-links { min-width: 0px; }

  .footer { flex-direction: column; }

  .directory-intro { padding-top: 45px; }

  .intro-bottom { display: block; }

  .teacher-grid { grid-template-columns: 1fr; }

  .teacher-card dl div { font-size: 12px; }

  .teacher-card h2 { font-size: 29px; }

  .demo-notice b { display: block; }

  .button { padding: 14px 19px; }

  .text-link { font-size: 12px; }

  .orbit { inset: 15px 0px 50px; }

  .teacher-card:target { border-color: var(--green); box-shadow: rgba(34, 91, 71, 0.1) 0px 0px 0px 3px; }
}

@media (prefers-reduced-motion: reduce) {

}

html[data-theme="dark"] { --ink: #e8f0ec; --muted: #b2c2bb; --cream: #101c1a; --green: #8ac9a8; --line: #344741; --blue: #a8d0f5; color-scheme: dark; }

html[data-theme="dark"] .subject, html[data-theme="dark"] .teacher-card, html[data-theme="dark"] .float-note { background: rgb(27, 44, 40); color: rgb(232, 240, 236); }

html[data-theme="dark"] .ribbon, html[data-theme="dark"] .contact, html[data-theme="dark"] .subject.large, html[data-theme="dark"] caption { background: rgb(36, 55, 46); }

html[data-theme="dark"] .journey { background: rgb(10, 21, 19); color: rgb(255, 255, 255); }

html[data-theme="dark"] .journey p { color: rgb(200, 213, 206); }

html[data-theme="dark"] .button:not(.gold) { background: rgb(52, 122, 92); color: rgb(255, 255, 255); }

html[data-theme="dark"] .button:not(.gold):hover { background: rgb(64, 147, 111); }

html[data-theme="dark"] .button.gold { background: rgb(243, 201, 85); color: rgb(20, 47, 50); }

html[data-theme="dark"] .initials, html[data-theme="dark"] .note-icon { background: rgb(48, 71, 58); color: rgb(138, 201, 168); }

html[data-theme="dark"] .teacher-card:nth-child(2n) .initials { background: rgb(59, 52, 35); color: rgb(240, 217, 144); }

html[data-theme="dark"] .pill { background: rgb(35, 59, 77); color: rgb(185, 216, 244); }

html[data-theme="dark"] .teacher-card dl div { border-bottom-color: rgb(52, 71, 65); }

html[data-theme="dark"] .demo-notice { background: rgb(59, 52, 35); color: rgb(240, 217, 144); }

html[data-theme="dark"] thead { background: rgb(38, 59, 52); color: rgb(255, 255, 255); }

html[data-theme="dark"] tbody tr:nth-child(2n) { background: rgb(26, 42, 37); }

html[data-theme="dark"] .subject-nav a:hover { background: rgb(36, 55, 46); }

html[data-theme="dark"] .orbit { border-color: rgb(85, 113, 100); }

html[data-theme="dark"] .skip { background: rgb(27, 44, 40); }

.theme-toggle { display: inline-flex; align-items: center; justify-content: center; padding: 0px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; font-size: 18px; flex-shrink: 0; transition: background-color 0.2s, transform 0.2s; }

.theme-toggle:hover { background: var(--line); transform: scale(1.07); }

.theme-toggle:focus-visible { outline: rgb(24, 122, 194) solid 3px; outline-offset: 3px; }

body { transition: background-color 0.3s, color 0.3s; }

html[data-theme="dark"] .contact { color: rgb(232, 240, 236); }

@media (prefers-reduced-motion: reduce) {
  body, .theme-toggle { transition: none; }
}

.note-icon, .star, .button span, .nav-contact span { font-family: Arial, Helvetica, sans-serif; font-variant-emoji: text; }

@media (max-width: 650px) {
  .mobile-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s, transform 0.7s; }

  .mobile-reveal.is-visible { opacity: 1; transform: translateY(0px); }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

:root { --surface: #fff; --soft: #edf2e8; }

html[data-theme="dark"] { --surface: #1b2c28; --soft: #24372e; }

body { overflow-wrap: break-word; }

main { overflow: clip; }

.header { position: relative; z-index: 3; }

.header nav a { min-height: 44px; display: inline-flex; align-items: center; }

.theme-toggle { width: 44px; height: 44px; }

button:focus-visible { outline: rgb(24, 122, 194) solid 3px; outline-offset: 4px; }

.hero { position: relative; }

.hero-copy { animation: 0.8s ease 0s 1 normal both running arrive; }

.hero-curricula { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; max-width: 470px; }

.hero-curricula span { font-size: 11px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); }

.hero .lead { max-width: 490px; }

.academy-story { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: center; }

.story-copy p:not(.eyebrow) { color: var(--muted); font-size: 15px; }

h2 em { font-family: Georgia, serif; color: var(--green); font-weight: 400; }

.learning-map { padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--soft); position: relative; box-shadow: rgba(213, 183, 84, 0.125) 12px 12px 0px; }

.map-header { display: flex; align-items: center; gap: 12px; font-size: 10px; font-weight: 700; letter-spacing: 2px; margin-bottom: 30px; }

.map-header svg, .map-foot svg, .directory-context svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--green); }

.map-star { margin-left: auto; color: rgb(154, 113, 18); font-size: 32px; animation: 24s linear 0s infinite normal none running turn; }

.learning-map ol { list-style: none; padding: 0px; margin: 0px; }

.learning-map li { display: flex; gap: 18px; position: relative; padding-bottom: 27px; }

.learning-map li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0px; border-left: 1px dashed var(--green); }

.map-dot { flex-shrink: 0; width: 40px; height: 40px; border: 1px solid var(--green); border-radius: 50%; display: grid; place-items: center; color: var(--green); font-size: 12px; background: var(--surface); }

.learning-map small { letter-spacing: 1.2px; font-size: 9px; color: var(--muted); }

.learning-map h3 { font-size: 21px; margin: 5px 0px 8px; }

.learning-map p { font-size: 13px; color: var(--muted); margin: 0px; }

.map-foot { border-top: 1px solid var(--line); padding-top: 20px; font-size: 12px; }

.curriculum-band { background: var(--soft); border-block: 1px solid var(--line); }

.curriculum-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }

.curriculum-heading h2 { margin-bottom: 0px; }

.curriculum-heading > p { max-width: 360px; color: var(--muted); font-size: 15px; }

.curriculum-grid { display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); gap: 16px; }

.curriculum-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 25px; display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }

.curriculum-symbol { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; color: var(--green); }

.curriculum-symbol svg { width: 36px; height: 36px; }

.curriculum-symbol span { font-family: Georgia, serif; color: var(--muted); font-size: 14px; }

.curriculum-card h3 { font-size: 21px; }

.curriculum-card p { font-size: 13px; color: var(--muted); }

.curriculum-card a { margin-top: auto; align-self: start; padding-top: 10px; }

.curriculum-note { font-size: 12px; color: var(--muted); margin: 24px 0px; }

.learning-tags { display: flex; flex-wrap: wrap; gap: 10px 22px; border-top: 1px solid var(--line); padding-top: 23px; font-size: 12px; color: var(--green); }

.learning-tags span::before { content: "✦"; margin-right: 8px; color: rgb(153, 119, 29); }

.benefits article { border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 28px; }

.benefits article:nth-child(2) { border-top: 3px solid rgb(213, 183, 84); }

.benefits article:first-child { border-top: 3px solid rgb(71, 127, 162); }

.benefits article:last-child { border-top: 3px solid rgb(83, 134, 110); }

.number { font-family: Georgia, serif; font-size: 23px; }

.directory-context { display: flex; gap: 15px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); margin-top: 24px; }

.directory-context p { margin: 0px; font-size: 14px; }

.directory-context small { color: var(--muted); font-size: 12px; }

.teacher-card { position: relative; overflow: hidden; }

.teacher-card::before { content: ""; position: absolute; top: 0px; left: 0px; right: 0px; height: 4px; background: linear-gradient(90deg, rgb(57, 122, 105), rgb(127, 168, 196), rgb(228, 195, 101)); }

.table-scroll { max-width: 100%; }

.mobile-enquire { display: none; }

@media (hover: hover) {
  .curriculum-card:hover { transform: translateY(-6px); box-shadow: rgba(18, 60, 37, 0.07) 0px 15px 35px; }

  .subject-nav a:hover { transform: translateY(-2px); }
}

@media (min-width: 651px) and (max-width: 1000px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 24px; }

  h1 { font-size: clamp(38px, 5vw, 52px); }

  .academy-story { gap: 32px; }

  .curriculum-grid { grid-template-columns: repeat(2, minmax(0px, 1fr)); }

  .benefits { gap: 16px; }

  .benefits article { padding: 20px; }

  .actions { flex-wrap: wrap; }

  .contact { gap: 20px; }

  .discover { gap: 30px; }

  .subject { min-width: 140px; font-size: 20px; }
}

@media (max-width: 650px) {
  .wrap { padding-left: 20px; padding-right: 20px; }

  .brand img { width: 44px; height: 44px; }

  .header nav { gap: 10px; }

  .nav-contact { padding: 6px 12px; }

  .nav-contact span { margin-left: 8px; }

  .header nav .theme-toggle { order: 4; }

  .hero { padding-top: 36px; }

  h1 { font-size: clamp(36px, 9.7vw, 54px); letter-spacing: -1.8px; }

  .lead { font-size: 16px; }

  .actions { flex-wrap: wrap; gap: 20px; }

  .hero-art { padding-top: 35px; }

  .art-frame img { height: auto; min-height: 260px; aspect-ratio: 1.1 / 1; }

  .float-note { max-width: 78%; }

  .hero-notes { gap: 8px 18px; }

  .academy-story { grid-template-columns: 1fr; gap: 32px; }

  .learning-map { padding: 24px 20px; box-shadow: rgba(213, 183, 84, 0.125) 6px 6px 0px; }

  .curriculum-heading { display: block; }

  .curriculum-heading > p { margin-top: 20px; }

  .curriculum-grid { grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 12px; }

  .curriculum-card { padding: 18px 15px; border-radius: 13px; }

  .curriculum-card h3 { font-size: 19px; overflow-wrap: normal; }

  .curriculum-card p { font-size: 12px; }

  .curriculum-card a { font-size: 12px; }

  .curriculum-symbol { margin-bottom: 22px; }

  .curriculum-symbol svg { width: 30px; height: 30px; }

  .benefits { margin-top: 28px; gap: 18px; }

  .benefits article { padding: 25px; }

  .subject-cloud { transform: none; margin: 0px; }

  .subject { min-width: 0px; flex-basis: 40%; padding: 17px; font-size: 20px; gap: 6px; }

  .subject.large { flex-basis: 45%; }

  .subject b { font-size: 23px; }

  .teacher-card dl div { flex-wrap: wrap; gap: 5px 15px; }

  .teacher-card dd { text-align: left; margin-left: auto; max-width: 100%; }

  .teacher-card { padding: 24px 20px; }

  .directory-context { padding: 18px; }

  .contact { margin-inline: 15px; padding: 30px 20px; }

  .mobile-enquire { position: fixed; z-index: 10; bottom: calc(12px + env(safe-area-inset-bottom)); left: 16px; right: 16px; display: flex; align-items: center; padding: 15px 22px; border-radius: 14px; background: rgb(34, 91, 71); color: white; font-size: 14px; font-weight: 600; box-shadow: rgba(0, 0, 0, 0.2) 0px 6px 25px; border: 1px solid rgba(255, 255, 255, 0.19); }
}

@media (max-width: 360px) {
  .curriculum-grid { grid-template-columns: 1fr; }

  .header nav { font-size: 12px; gap: 7px; }

  .hero-notes { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation: auto ease 0s 1 normal none running none !important; transition: none !important; }

  html { scroll-behavior: auto; }
}

.header .brand { flex-shrink: 0; }

.header .brand img { width: 80px; height: 80px; object-fit: contain; object-position: center center; border-radius: 0px; flex: 0 0 auto; }

@media (max-width: 650px) {

}

#parent-student-guide { display: grid; grid-template-columns: minmax(0px, 1.1fr) minmax(0px, 1fr); gap: 64px; align-items: center; }

#parent-student-guide .section-heading { min-width: 0px; }

#parent-student-guide .section-heading > p { max-width: none; color: var(--muted); }

@media (max-width: 1000px) {
  #parent-student-guide { gap: 30px; }
}

@media (max-width: 760px) {
  #parent-student-guide { grid-template-columns: minmax(0px, 1fr); gap: 28px; }

  #parent-student-guide .button { max-width: 100%; gap: 14px; text-align: center; }
}

#parent-student-guide { background: rgb(237, 242, 232); border-top: 1px solid rgb(215, 223, 216); border-bottom: 1px solid rgb(215, 223, 216); border-radius: 20px; margin-top: 24px; margin-bottom: 48px; }

html[data-theme="dark"] #parent-student-guide { background: rgb(27, 44, 40); border-top-color: rgb(52, 71, 65); border-bottom-color: rgb(52, 71, 65); }

@media (max-width: 650px) {
  #parent-student-guide { border-radius: 0px; margin-top: 12px; margin-bottom: 32px; }
}

.ui-icon { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; fill: none; stroke: currentcolor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 24px; }

.header #main-navigation { margin-left: auto; }

.menu-toggle { display: none; }

.theme-toggle .ui-icon { width: 20px; height: 20px; }

.theme-sun { display: none; }

html[data-theme="dark"] .theme-sun { display: inline-block; }

html[data-theme="dark"] .theme-moon { display: none; }

.header .brand .logo-dark { display: none; }

.header .brand img { mix-blend-mode: normal; background: transparent !important; }

html[data-theme="dark"] .header .brand .logo-light { display: none; }

html[data-theme="dark"] .header .brand .logo-dark { display: block; }

@media (max-width: 650px) {
  .header { display: grid; grid-template-columns: minmax(0px, 1fr) auto; align-items: center; gap: 12px; padding: 14px 18px; }

  .header .brand { gap: 8px; min-width: 0px; }

  .header .brand img { width: 54px; height: 54px; }

  .brand b { font-size: 12px; letter-spacing: 2.5px; }

  .brand { font-size: 9px; letter-spacing: 1px; }

  .header-actions { margin: 0px; }

  .theme-toggle, .menu-toggle { width: 42px; height: 42px; min-height: 42px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--surface, #fff); padding: 10px; cursor: pointer; }

  .nav-ready .menu-toggle { display: inline-grid; place-items: center; }

  .menu-toggle .menu-close { display: none; }

  .menu-toggle[aria-expanded="true"] .menu-close { display: block; }

  .menu-toggle[aria-expanded="true"] .menu-open { display: none; }

  .header #main-navigation { grid-column: 1 / -1; margin: 0px; width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 6px; background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 16px; padding: 10px; }

  .nav-ready .header #main-navigation.is-open { display: flex; }

  .header #main-navigation a { justify-content: center; padding: 12px; min-height: 46px; border-radius: 10px; border: 0px; font-size: 14px; }

  .header #main-navigation a[aria-current] { background: var(--soft, #edf2e8); color: var(--green); font-weight: 700; border-bottom-width: medium !important; border-bottom-style: none !important; border-bottom-color: currentcolor !important; }

  .header #main-navigation a[aria-current]::after { display: none !important; content: none !important; }

  .header #main-navigation .nav-contact { background: var(--green); color: var(--cream); }

  .hero-copy, .section-heading, .story-copy, .curriculum-heading, .directory-intro, .discover > div:first-child, .journey-grid > div:first-child, .faq > div:first-child, .contact, .footer { text-align: center; }

  .hero-copy .eyebrow, .lead, .section-heading, .curriculum-heading > p, .story-copy p, .discover p, .journey-grid > div:first-child p { margin-left: auto; margin-right: auto; }

  .actions, .hero-curricula, .hero-notes, .learning-tags, .subject-nav { justify-content: center; }

  .hero-curricula { margin-inline: auto; }

  .hero-notes { align-items: center; }

  .curriculum-card, .benefits article { text-align: center; align-items: center; }

  .curriculum-card a { align-self: center; }

  .curriculum-symbol { width: 100%; }

  .teacher-tools { align-items: stretch; }

  .teacher-search-form { text-align: center; }

  .teacher-search-controls input { text-align: left; }

  .teacher-search-meta { text-align: left; }

  .directory-context { flex-direction: column; align-items: center; }

  .intro-bottom .text-link { margin-top: 8px; }

  .teacher-card h2 { text-align: center; }

  .teacher-card dl { text-align: left; }

  .footer { align-items: center; }

  .contact-links { width: 100%; }

  .mobile-enquire { justify-content: center; gap: 20px; }

  .faq details, .steps, .learning-map { text-align: left; }
}

@media (max-width: 360px) {
  .header-actions { gap: 5px; }
}

@media (max-width: 650px) {
  .header-actions { grid-area: 1 / 2; }

  .header .brand { grid-area: 1 / 1; }
}

@media (max-width: 650px) {
  .nav-ready .header #main-navigation { display: flex; max-height: 0px; min-height: 0px; padding: 0px 10px; border-width: 0px 1px; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none; transition: max-height 0.32s, padding 0.32s, border-width 0.32s, opacity 0.22s, transform 0.32s, visibility 0.32s; }

  .nav-ready .header #main-navigation.is-open { max-height: 360px; padding: 10px; border-width: 1px; opacity: 1; visibility: visible; transform: translateY(0px); pointer-events: auto; transition: max-height 0.32s, padding 0.32s, border-width 0.32s, opacity 0.22s, transform 0.32s, visibility; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-ready .header #main-navigation, .nav-ready .header #main-navigation.is-open { transition: none; transform: none; }
}

@media (max-width: 650px) {
  .hero-copy .actions { display: flex; flex-direction: column; align-items: stretch; gap: 16px; width: 100%; max-width: 380px; margin: 28px auto 0px; }

  .hero-copy .actions > .button { width: 100%; min-height: 60px; padding: 14px 22px; justify-content: center; gap: 16px; border-radius: 12px; font-size: 15px; }

  .hero-copy .actions .note-icon { flex: 0 0 34px; width: 34px; height: 34px; }

  .hero-copy .actions .note-icon svg { display: block; width: 20px; height: 20px; }

  .hero-copy .actions > .text-link { align-self: center; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 4px; font-size: 14px; border-bottom: 0px; text-decoration: none; }

  .hero-copy .hero-notes { justify-content: center; margin-top: 20px; gap: 8px 16px; }
}

.header.scroll-header { position: sticky; top: 0px; z-index: 100; background: var(--cream); box-shadow: rgba(20, 47, 50, 0.05) 0px 4px 18px; transform: translateY(0px); transition: transform 0.25s; }

.header.scroll-header.header-away { transform: translateY(calc(-100% - 2px)); pointer-events: none; }

.header.scroll-header:focus-within { transform: translateY(0px); pointer-events: auto; }

@media (max-width: 650px) {
  html { scroll-padding-top: 110px; }

  .teacher-card { scroll-margin-top: 110px; }

  .header.scroll-header #main-navigation.is-open { max-height: min(360px, 65vh); overflow-y: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .header.scroll-header { transition: none; }
}

@media (min-width: 651px) {
  .header { position: sticky; top: 0px; z-index: 100; background: var(--cream); box-shadow: rgba(20, 47, 50, 0.05) 0px 4px 18px; transform: none; }

  html { scroll-padding-top: 140px; }

  .teacher-card { scroll-margin-top: 140px; }
}

@media (min-width: 651px) {
  .header { width: 100%; max-width: none; margin-left: 0px; margin-right: 0px; padding: 12px clamp(24px, 4vw, 64px); }

  .header .brand img { width: 60px; height: 60px; }

  .directory-intro > .eyebrow, .directory-intro > h1, .directory-intro > .intro-bottom, .directory-intro > .directory-context, .directory-intro > .demo-notice, .directory-intro > .teacher-tools { animation: 0.85s cubic-bezier(0.2, 0.65, 0.25, 1) 0s 1 normal both running teacher-intro-rise; }

  .directory-intro > h1 { animation-delay: 0.06s; }

  .directory-intro > .intro-bottom { animation-delay: 0.12s; }

  .directory-intro > .directory-context { animation-delay: 0.18s; }

  .directory-intro > .demo-notice { animation-delay: 0.24s; }

  .directory-intro > .teacher-tools { animation-delay: 0.3s; }
}

@keyframes teacher-intro-rise { 
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0px); }
}

@media (prefers-reduced-motion: reduce) {
  .directory-intro > * { animation: auto ease 0s 1 normal none running none !important; }
}

@media (min-width: 651px) {
  #parent-student-guide { width: 100%; max-width: none; padding-inline: max(40px, 50% - 580px); border-radius: 0px; box-shadow: none; clip-path: none; }
}

@media (min-width: 651px) and (max-width: 900px) {
  #parent-student-guide { padding-inline: 25px; }
}

.hero { background: none; overflow: visible; isolation: isolate; }

.hero::before { content: ""; position: absolute; inset: 0px calc(50% - 50vw); z-index: -1; pointer-events: none; background: radial-gradient(45% 60% at 75% 40%, rgba(226, 201, 105, 0.133) 0%, transparent 100%); }

.map-foot { display: flex; align-items: center; gap: 12px; }

.map-foot svg, .curriculum-symbol svg { display: block; flex-shrink: 0; width: 24px; height: 24px; }

.footer .wordmark { display: flex; align-items: center; gap: 5px; text-align: center; }

@media (max-width: 768px) {
  .footer .wordmark { flex-direction: column; align-items: center; text-align: center; gap: 4px; }

  .footer-dot { display: none; }
}

.teacher-tools { justify-content: space-between; margin-top: 30px; }

.teacher-tools .subject-nav { gap: 10px; }

.teacher-search-form { flex: 0 1 430px; min-width: 260px; }

.teacher-search-form label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 7px; }

.teacher-search-controls { display: flex; gap: 8px; }

.teacher-search-controls input { width: 100%; min-width: 0px; padding: 12px 14px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-size: 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface,#fff); color: var(--ink); }

.teacher-search-controls input::placeholder { color: var(--muted); }

.teacher-search-controls .button { padding: 12px 16px; border: 0px; cursor: pointer; }

.teacher-search-controls svg { width: 17px; height: 17px; fill: none; stroke: currentcolor; stroke-width: 2; flex-shrink: 0; }

.teacher-search-form input:focus-visible { outline: rgb(24, 122, 194) solid 3px; outline-offset: 2px; }

.teacher-search-help { display: block; color: var(--muted); font-size: 11px; margin-top: 8px; }

.teacher-search-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 12px; font-size: 12px; color: var(--muted); }

.teacher-search-meta p { margin: 0px; }

.teacher-search-clear { border: 0px; background: transparent; color: var(--green); text-decoration: underline; cursor: pointer; padding: 10px 0px; font: inherit; }

.teacher-search-empty { padding: 30px; border: 1px dashed var(--line); border-radius: 14px; background: var(--soft,#edf2e8); grid-column: 1 / -1; }

.teacher-search-empty h2 { font-size: 23px; margin-bottom: 10px; }

.teacher-search-empty p { margin: 0px; color: var(--muted); }

.teacher-card[hidden], #compare tr[hidden], .teacher-search-empty[hidden] { display: none !important; }

@media (max-width: 1000px) {
  .teacher-tools { flex-direction: column; gap: 20px; }

  .teacher-tools .subject-nav { margin-top: 0px; }

  .teacher-search-form { flex: 1 1 auto; width: 100%; min-width: 0px; }
}

@media (max-width: 400px) {
  .teacher-search-controls .button { padding: 12px; font-size: 12px; }
}

.teacher-tools { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 26px; background: var(--soft,#edf2e8); border: 1px solid var(--line); border-radius: 18px; }

.teacher-tools .teacher-search-form { order: 0; width: 100%; flex: 1 1 auto; min-width: 0px; text-align: left; }

.teacher-tools .teacher-search-form label { font-size: 20px; margin-bottom: 12px; }

.teacher-tools .teacher-search-controls input { padding: 15px 16px; font-size: 15px; }

.teacher-tools .teacher-search-controls .button { min-width: 120px; }

.teacher-tools .subject-nav { order: 1; margin: 0px; padding-top: 18px; border-top: 1px solid var(--line); justify-content: flex-start; }

.teacher-tools .subject-nav span { font-size: 12px; letter-spacing: 0px; }

.teacher-tools .subject-nav a { background: var(--surface,#fff); }

.teacher-tools .teacher-search-meta { margin-top: 8px; }

@media (max-width: 650px) {
  .teacher-tools { padding: 20px 16px; gap: 12px; }

  .teacher-tools .teacher-search-form { text-align: center; }

  .teacher-tools .subject-nav { justify-content: center; }

  .teacher-tools .subject-nav span { flex-basis: 100%; }

  .teacher-tools .teacher-search-controls input { font-size: 16px; padding: 12px; }

  #compare .table-scroll { overflow: visible; border: 0px; border-radius: 0px; }

  #compare table { display: block; min-width: 0px; width: 100%; }

  #compare caption { display: block; border-radius: 12px; margin-bottom: 16px; text-align: center; }

  #compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

  #compare tbody { display: grid; }

  #compare tbody tr { display: block; }

  #compare tbody th { display: block; padding-top: 0px; padding-right: 0px; padding-left: 0px; }

  #compare tbody td { display: grid; grid-template-columns: 95px minmax(0px, 1fr); gap: 12px; align-items: start; overflow-wrap: anywhere; }

  #compare tbody td::before { content: attr(data-label); font-weight: 400; color: var(--muted); }

  #compare tbody td:last-child { border: 0px; padding-bottom: 0px; }

  #compare tbody td a { white-space: normal; }
}

#compare { margin-top: 56px; margin-bottom: 32px; padding-top: 48px; padding-bottom: 48px; background: var(--soft,#edf2e8); border-top: 3px solid rgb(158, 185, 167); border-bottom: 1px solid var(--line); border-radius: 20px; }

#compare > h2, #compare > .eyebrow, #compare > p { text-align: center; margin-left: auto; margin-right: auto; }

#compare caption { background: transparent; color: var(--muted); }

.teacher-search-controls .button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; white-space: nowrap; gap: 8px; min-height: 48px; }

.teacher-search-controls .button svg { display: block; width: 18px; height: 18px; flex: 0 0 18px; overflow: visible; vertical-align: middle; }

.teacher-booklet-link { padding-top: 12px; padding-bottom: 32px; text-align: center; font-size: 13px; color: var(--muted); }

.teacher-booklet-link a { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 650px) {
  #compare { margin-top: 36px; padding-top: 36px; padding-bottom: 36px; }

  #compare tbody { gap: 0px; border-top: 1px solid var(--line); }

  #compare tbody tr { background: transparent; border-top: 0px; border-right: 0px; border-left: 0px; border-image: none; border-bottom: 1px solid var(--line); border-radius: 0px; padding: 24px 0px; }

  #compare tbody th { font-size: 18px; text-align: left; border: 0px; padding-bottom: 10px; }

  #compare tbody td { padding: 6px 0px; border: 0px; font-size: 12px; }

  #compare tbody td:last-child { padding-top: 12px; }

  #compare tbody td:last-child a { text-decoration: underline; text-underline-offset: 4px; }

  .teacher-tools .teacher-search-controls { gap: 8px; }

  .teacher-tools .teacher-search-controls .button { padding: 12px 14px; min-width: 96px; }

  .teacher-tools .teacher-search-controls input { flex: 1 1 0px; width: 0px; }
}

@media (max-width: 360px) {
  .teacher-tools .teacher-search-controls { flex-direction: column; }

  .teacher-tools .teacher-search-controls input { width: 100%; flex: 1 1 auto; }

  .teacher-tools .teacher-search-controls .button { width: 100%; }
}

@media (max-width: 650px) {
  #compare { width: calc(100% - 40px); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; border-radius: 16px; }
}

.teacher-card .pill { white-space: normal; text-align: right; }

.teacher-bio { color: var(--muted); font-size: 14px; line-height: 1.65; }

.teacher-card .offer-heading { font-size: 15px; margin: 20px 0px 10px; }

.teacher-offers { padding-left: 20px; margin: 0px 0px 20px; font-size: 13px; line-height: 1.65; text-align: left; }

.teacher-offers li { margin-bottom: 7px; }

.teacher-card dd { overflow-wrap: anywhere; }

.teacher-tools .subject-nav button { font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-size: 12px; line-height: 1.4; border: 1px solid var(--line); padding: 10px 16px; min-height: 44px; border-radius: 30px; background: var(--surface,#fff); color: var(--ink); cursor: pointer; transition: background-color 0.18s, color 0.18s, border-color 0.18s; }

.teacher-tools .subject-nav button[aria-pressed="true"] { background: rgb(40, 90, 72); color: rgb(255, 255, 255); border-color: rgb(40, 90, 72); box-shadow: rgba(255, 255, 255, 0.267) 0px 0px 0px 1px inset; }

.teacher-tools .subject-nav button[aria-pressed="true"]::before { content: "✓ "; font-weight: 700; }

.teacher-tools .subject-nav button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.subject-selection-help { order: 2; width: 100%; margin: 8px 0px 0px; font-size: 12px; color: var(--muted); text-align: center; }

html[data-theme="dark"] .teacher-tools .subject-nav button { color: rgb(237, 245, 240); background: rgb(32, 56, 47); }

html[data-theme="dark"] .teacher-tools .subject-nav button[aria-pressed="true"] { background: rgb(52, 122, 92); border-color: rgb(155, 205, 179); }

@media (hover: hover) {
  .teacher-tools .subject-nav button:hover { border-color: var(--green); }
}

@media (prefers-reduced-motion: reduce) {
  .teacher-tools .subject-nav button { transition: none; }
}

.ava-launch { position: fixed; right: 24px; bottom: 28px; z-index: 900; display: flex; align-items: center; gap: 12px; border: 1px solid rgb(230, 200, 90); border-radius: 50px; padding: 12px 20px 12px 12px; background: linear-gradient(125deg, rgb(23, 62, 56), rgb(16, 44, 53)); color: rgb(255, 255, 255); box-shadow: rgba(16, 44, 53, 0.25) 0px 8px 30px; cursor: pointer; font: 600 14px Arial, sans-serif; }

.ava-orb { justify-items: center; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgb(255, 245, 188), rgb(211, 172, 57) 55%, rgb(112, 155, 129)); color: rgb(22, 55, 46); font-size: 25px; animation: 3s ease-in-out 0s infinite normal none running ava-glow; }

.ava-launch small { display: block; text-align: left; font-size: 10px; font-weight: 400; color: rgb(218, 232, 221); margin-top: 3px; }

.ava-panel { position: fixed; right: 24px; bottom: 104px; width: min(390px, -32px + 100vw); height: min(600px, 100dvh - 130px); z-index: 901; border: 1px solid var(--line, #d7dfd8); border-radius: 24px; background: var(--surface, #fff); color: var(--ink, #193237); box-shadow: rgba(6, 30, 53, 0.25) 0px 22px 80px; display: flex; flex-direction: column; overflow: hidden; animation: 0.3s ease 0s 1 normal none running ava-open; }

.ava-panel[hidden] { display: none; }

.ava-head { background: rgb(23, 62, 56); color: rgb(255, 255, 255); padding: 18px; display: flex; align-items: center; gap: 12px; }

.ava-head strong { display: block; }

.ava-head small { font-size: 11px; color: rgb(213, 228, 218); }

.ava-head button { margin-left: auto; background: transparent; color: white; border: 1px solid rgba(255, 255, 255, 0.333); border-radius: 50%; width: 34px; height: 34px; cursor: pointer; }

.ava-feed { flex: 1 1 0%; overflow: auto; padding: 16px; overscroll-behavior: contain; }

.ava-message { padding: 12px 14px; border-radius: 16px; background: var(--bg, #edf2e8); font: 14px / 1.6 Arial, sans-serif; margin: 0px 16px 12px 0px; white-space: pre-wrap; }

.ava-message.user { margin: 0px 0px 12px 30px; background: rgb(40, 90, 72); color: white; }

.ava-profile { padding: 12px; border: 1px solid var(--line, #d7dfd8); border-radius: 14px; margin-bottom: 10px; font: 13px / 1.5 Arial, sans-serif; }

.ava-profile a { display: inline-block; margin: 8px 12px 0px 0px; color: var(--ink, #193237); text-decoration: underline; }

.ava-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0px 16px 10px; }

.ava-chips button { border: 1px solid var(--line, #d7dfd8); border-radius: 30px; padding: 8px 10px; background: var(--surface, #fff); color: inherit; font-size: 11px; cursor: pointer; }

.ava-form { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line, #d7dfd8); }

.ava-form input { min-width: 0px; flex: 1 1 0%; border: 1px solid var(--line, #d7dfd8); border-radius: 12px; padding: 12px; background: var(--surface, #fff); color: inherit; font-size: 16px; }

.ava-form button { border: 0px; border-radius: 12px; background: rgb(40, 90, 72); color: white; padding: 10px 14px; cursor: pointer; }

.ava-form button:disabled { opacity: 0.5; }

.ava-privacy { padding: 0px 16px 12px; margin: 0px; font: 10px / 1.4 Arial, sans-serif; color: var(--muted, #526563); }

.ava-panel :focus-visible, .ava-launch:focus-visible { outline: rgb(213, 179, 60) solid 3px; outline-offset: 3px; }

@keyframes ava-glow { 
  50% { box-shadow: rgba(230, 200, 90, 0.094) 0px 0px 0px 7px, rgba(230, 200, 90, 0.333) 0px 0px 22px; transform: rotate(12deg); }
}

@keyframes ava-open { 
  0% { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: none; }
}

@media (max-width: 650px) {
  .ava-launch { right: 16px; bottom: calc(96px + env(safe-area-inset-bottom)); padding: 8px; }

  .ava-launch .ava-label { display: none; }

  .ava-panel { right: 16px; width: calc(-32px + 100vw); }

  .ava-launch[aria-expanded="true"] { visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .ava-orb, .ava-panel { animation: auto ease 0s 1 normal none running none; }
}

.ava-orb { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; line-height: 1; }

.ava-orb svg { display: block; width: 25px; height: 25px; flex-shrink: 0; }

.ava-profile > div { white-space: pre-line; }

.ava-mobile-dock { display: contents; }

@media (max-width: 650px) {
  .ava-mobile-dock { display: flex; align-items: center; gap: 8px; position: fixed; z-index: 900; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); padding: 8px; border: 1px solid var(--line, #d7dfd8); border-radius: 20px; background: var(--surface, #fff); box-shadow: rgba(16, 44, 53, 0.15) 0px 6px 24px; }

  .ava-mobile-dock .mobile-enquire { position: static; flex: 1 1 0%; min-width: 0px; min-height: 48px; display: flex; justify-content: center; align-items: center; margin: 0px; padding: 10px 12px; border: 0px; border-radius: 12px; box-shadow: none; font-size: 14px; line-height: 1.2; }

  .ava-mobile-dock .ava-launch { position: static; display: flex; flex: 0 0 auto; align-items: center; justify-content: center; min-height: 48px; gap: 7px; padding: 8px 12px; background: transparent; color: var(--ink, #193237); border: 0px; border-radius: 12px; box-shadow: none; }

  .ava-mobile-dock .ava-launch::after { content: "Ask AI"; font-size: 13px; }

  .ava-mobile-dock .ava-orb { width: 30px; height: 30px; flex-basis: 30px; animation: auto ease 0s 1 normal none running none; background: rgb(243, 223, 151); }

  .ava-mobile-dock .ava-orb svg { width: 22px; height: 22px; }

  .ava-mobile-dock:has(.ava-launch[aria-expanded="true"]) { visibility: hidden; }
}

@media (max-width: 650px) {
  .ava-mobile-dock { transition: transform 0.28s, opacity 0.28s; }

  .ava-mobile-dock.ava-dock-away { transform: translateY(calc(100% + 32px + env(safe-area-inset-bottom))); opacity: 0; pointer-events: none; }

  .ava-teachers-page .ava-launch { bottom: calc(16px + env(safe-area-inset-bottom)); gap: 8px; padding: 8px 14px 8px 8px; }

  .ava-teachers-page .ava-launch::after { content: "Ask AI"; font-size: 13px; }

  body.ava-teachers-page { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }

  #teacher-search-form { scroll-margin-top: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  .ava-mobile-dock { transition: none; }
}

.ava-feed { min-height: 0px; }

.ava-head, .ava-chips, .ava-form, .ava-privacy { flex-shrink: 0; }

@media (max-width: 650px) {
  .ava-panel { top: var(--ava-visible-top, 8px); bottom: auto; height: var(--ava-visible-height, calc(100dvh - 16px)); max-height: none; min-height: 0px; border-radius: 20px; }

  .ava-panel .ava-head { padding: 12px 14px; }

  .ava-panel .ava-head strong { font-size: 15px; }

  .ava-panel .ava-head button { flex-shrink: 0; }

  .ava-panel .ava-form { margin: 0px; padding: 10px 12px; }

  .ava-panel .ava-form input { font-size: 16px; }

  .ava-panel.ava-keyboard-open .ava-chips { display: none; }

  .ava-panel.ava-keyboard-open .ava-privacy { padding: 0px 12px 6px; font-size: 9px; }

  .ava-panel.ava-keyboard-open .ava-head { padding: 8px 12px; }
}

.teams-brand { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }

.teams-brand img { flex: 0 0 auto; width: 24px; height: 24px; }

html[data-theme="dark"] #parent-student-guide h2 { color: rgb(237, 243, 239); }

.teams-visual { margin: 0px; min-width: 0px; padding: 16px 0px; text-align: center; }

.teams-invite, .teams-notes { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; text-align: left; border: 1px solid var(--line); border-radius: 16px; background: var(--surface, #fff); box-shadow: rgba(16, 47, 49, 0.063) 0px 12px 36px; padding: 18px; max-width: 390px; margin: 0px auto; }

.teams-invite strong, .teams-notes strong { display: block; font-size: 14px; color: var(--ink); }

.teams-invite span, .teams-notes div > span { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }

.teams-invite .teams-invite-check { margin-left: auto; color: var(--green); font-size: 22px; }

.teams-phone { width: 290px; max-width: 90%; margin: 22px auto 0px; padding: 10px 12px 18px; background: rgb(245, 245, 250); color: rgb(36, 36, 36); border: 7px solid rgb(37, 40, 52); border-radius: 36px; box-shadow: rgba(98, 100, 167, 0.063) 14px 18px 0px, rgba(16, 47, 49, 0.094) 0px 22px 45px; text-align: left; }

.teams-phone-top { display: flex; justify-content: space-between; padding-top: 1px; padding-bottom: 15px; padding-left: 12px; font: 600 10px Arial; }

.teams-app-title { display: flex; align-items: center; gap: 7px; font: bold 12px Arial; padding-bottom: 14px; border-bottom: 1px solid rgb(222, 222, 233); }

.teams-app-title img { width: 24px; height: 24px; }

.teams-app-title > span:last-child { margin-left: auto; }

.teams-lesson-title { font: 600 12px Arial; padding: 16px 2px; }

.teams-lesson-title small { display: block; font: 10px Arial; color: rgb(98, 98, 106); padding: 5px 12px; }

.teams-live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: rgb(57, 128, 99); margin-right: 4px; }

.teams-board { background: rgb(255, 255, 255); border: 1px solid rgb(225, 225, 237); border-radius: 12px; padding: 18px 14px 12px; }

.teams-board > span { font: 700 8px Arial; letter-spacing: 1px; color: rgb(98, 100, 167); }

.teams-board strong { display: block; font: 500 21px / 1.25 Georgia; margin-top: 14px; color: rgb(36, 59, 57); }

.teams-board svg { display: block; width: 100%; height: 96px; margin-top: 10px; }

.teams-board p { font: 10px Arial; margin: 6px 0px 0px; color: rgb(102, 102, 102); }

.teams-participants { display: flex; gap: 8px; margin-top: 10px; }

.teams-participants div { flex: 1 1 0%; background: rgb(233, 233, 244); border-radius: 8px; padding: 10px; text-align: center; font: 9px Arial; }

.teams-participants span { display: block; border-radius: 50%; background: rgb(213, 212, 237); color: rgb(70, 71, 117); width: 30px; height: 30px; line-height: 30px; margin: 0px auto 5px; font-weight: bold; }

.teams-call-controls { display: flex; justify-content: space-between; padding: 16px 8px 0px; }

.teams-call-controls > span { text-align: center; font: 8px Arial; }

.teams-call-controls svg { display: block; width: 20px; height: 20px; margin: 0px auto 5px; stroke: rgb(69, 69, 74); stroke-width: 1.8; fill: none; }

.teams-call-controls .teams-leave { color: rgb(179, 41, 53); }

.teams-leave svg { stroke: rgb(179, 41, 53); }

.teams-notes { margin-top: 18px; max-width: 360px; padding: 14px; }

.teams-notes > span { font-size: 26px; color: rgb(98, 100, 167); }

.teams-visual figcaption { font-size: 11px; color: var(--muted); }

.teams-visual figcaption small { display: block; font-size: 10px; }

@media (max-width: 760px) {
  .teams-visual { width: 100%; justify-self: center; }

  .teams-invite, .teams-notes { max-width: 100%; }

  .footer .teams-brand { justify-content: center; }
}

.reveal-managed { animation: auto ease 0s 1 normal none running none !important; }

.teams-visual .teams-phone { animation: 7s ease-in-out 0s infinite normal none running teams-phone-float; }

.teams-visual .teams-invite-check { animation: 6s ease-in-out 0s infinite normal none running teams-confirm; }

.teams-visual .teams-trend { stroke-dasharray: 100; animation: 7s ease-in-out 0s infinite normal none running teams-draw; }

.teams-visual .teams-trend-point { transform-box: fill-box; transform-origin: center center; animation: 3.5s ease-in-out 0s infinite normal none running teams-point; }

.teams-visual .teams-live-dot { animation: 2.8s ease-out 0s infinite normal none running teams-live; }

.teams-visual .teams-participants span { animation: 4s ease-in-out 0s infinite normal none running teams-speaking; }

.teams-visual .teams-participants div:nth-child(2) span { animation-delay: 2s; }

.teams-visual .teams-phone, .teams-visual .teams-invite-check, .teams-visual .teams-trend, .teams-visual .teams-trend-point, .teams-visual .teams-live-dot, .teams-visual .teams-participants span { animation-play-state: paused; }

.teams-motion-on .teams-phone, .teams-motion-on .teams-invite-check, .teams-motion-on .teams-trend, .teams-motion-on .teams-trend-point, .teams-motion-on .teams-live-dot, .teams-motion-on .teams-participants span { animation-play-state: running; }

.teams-visual .teams-phone.reveal-managed { animation: 7s ease-in-out 0s infinite normal none paused teams-phone-float !important; }

.teams-motion-on .teams-phone.reveal-managed { animation-play-state: running !important; }

.teams-motion-toggle { display: inline-flex; align-items: center; justify-content: center; padding: 0px; border-radius: 50%; color: rgb(98, 100, 167); cursor: pointer; transition: background 0.2s, box-shadow 0.2s, transform 0.2s; }

.teams-motion-toggle svg { width: 20px; height: 20px; fill: currentcolor; pointer-events: none; }

.teams-motion-toggle .motion-play { display: none; }

.teams-motion-toggle[aria-pressed="true"] .motion-pause { display: none; }

.teams-motion-toggle[aria-pressed="true"] .motion-play { display: block; }

@media (hover: hover) {
  .teams-motion-toggle:hover { background: rgb(238, 237, 248); box-shadow: rgba(98, 100, 167, 0.14) 0px 4px 14px; transform: translateY(-1px); }
}

.teams-motion-toggle:active { transform: scale(0.94); }

@media (prefers-reduced-motion: reduce) {
  .teams-motion-toggle { transition: none; }
}

.teams-motion-toggle[hidden] { display: none; }

.teams-motion-toggle:focus-visible { outline: rgb(98, 100, 167) solid 2px; outline-offset: 3px; }

@keyframes teams-phone-float { 
  0%, 100% { transform: translateY(0px) rotate(-0.35deg); }
  50% { transform: translateY(-7px) rotate(0.35deg); }
}

@keyframes teams-draw { 
  0% { stroke-dashoffset: 100; }
  40%, 90% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -100; }
}

@keyframes teams-point { 
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

@keyframes teams-confirm { 
  0%, 75%, 100% { transform: scale(1); }
  85% { transform: scale(1.18); }
}

@keyframes teams-live { 
  0%, 100% { box-shadow: rgba(57, 128, 99, 0) 0px 0px 0px 0px; }
  30% { box-shadow: rgba(57, 128, 99, 0.133) 0px 0px 0px 4px; }
  70% { box-shadow: rgba(57, 128, 99, 0) 0px 0px 0px 8px; }
}

@keyframes teams-speaking { 
  0%, 45%, 100% { box-shadow: rgba(98, 100, 167, 0) 0px 0px 0px 0px; }
  20% { box-shadow: rgba(98, 100, 167, 0.267) 0px 0px 0px 3px; }
}

@media (prefers-reduced-motion: reduce) {
  .teams-visual *, .teams-visual .teams-phone.reveal-managed { animation: auto ease 0s 1 normal none running none !important; }

  .teams-trend { stroke-dashoffset: 0; }

  .reveal-managed { translate: none !important; opacity: 1 !important; }
}

.teams-motion-toggle { position: relative; }

.teams-motion-toggle .motion-progress { position: absolute; inset: 0px; width: 100%; height: 100%; overflow: visible; fill: none; transform: rotate(-90deg); }

.motion-progress circle { fill: none; stroke-width: 2; }

.motion-track { stroke: rgba(98, 100, 167, 0.11); }

.motion-ring { stroke: rgb(98, 100, 167); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: 7s linear 0s infinite normal none paused teams-progress; }

.teams-motion-on .motion-ring { animation-play-state: running; }

@keyframes teams-progress { 
  0% { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ring { animation: auto ease 0s 1 normal none running none !important; }
}

.teams-visual figcaption { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; text-align: left; }

.teams-visual figcaption small { margin-top: 3px; }

.teams-motion-toggle { flex: 0 0 auto; width: 32px; height: 32px; margin: 0px; background: transparent; box-shadow: none; border: 0px; }

.teams-motion-toggle > svg:not(.motion-progress) { width: 14px; height: 14px; }

@media (max-width: 760px) {
  .teams-visual { padding: 4px 0px; max-width: 360px; }

  .teams-invite, .teams-notes { padding: 10px 12px; border-radius: 12px; gap: 10px; box-shadow: rgba(16, 47, 49, 0.035) 0px 6px 20px; }

  .teams-invite img { width: 28px; height: 28px; }

  .teams-invite strong, .teams-notes strong { font-size: 12px; }

  .teams-invite span, .teams-notes div > span { font-size: 10px; line-height: 1.4; margin-top: 2px; }

  .teams-phone { width: 100%; max-width: 100%; margin: 12px auto 0px; padding-right: 12px; padding-bottom: 12px; padding-left: 12px; border-width: 4px; border-radius: 22px; box-shadow: rgba(98, 100, 167, 0.063) 7px 9px 0px, rgba(16, 47, 49, 0.063) 0px 10px 24px; }

  .teams-phone-top { display: none; }

  .teams-app-title { padding-bottom: 9px; font-size: 11px; }

  .teams-app-title img { width: 20px; height: 20px; }

  .teams-lesson-title { padding: 10px 2px; font-size: 11px; }

  .teams-lesson-title small { display: inline; padding: 0px 0px 0px 8px; font-size: 9px; }

  .teams-board { padding: 12px; position: relative; min-height: 118px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; align-items: center; }

  .teams-board > span { grid-column: 1; font-size: 7px; }

  .teams-board strong { grid-column: 1; font-size: 17px; margin-top: 6px; }

  .teams-board svg { grid-area: 1 / 2 / 4; height: 78px; margin: 0px; }

  .teams-board p { grid-column: 1; font-size: 9px; margin-top: 8px; }

  .teams-participants { gap: 6px; margin-top: 8px; }

  .teams-participants div { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px; font-size: 9px; }

  .teams-participants span { width: 22px; height: 22px; line-height: 22px; margin: 0px; }

  .teams-call-controls { padding: 10px 12px 0px; }

  .teams-call-controls svg { width: 16px; height: 16px; margin-bottom: 3px; }

  .teams-notes { margin-top: 12px; }

  .teams-notes > span { font-size: 22px; }

  .teams-visual figcaption { font-size: 10px; margin-top: 10px; gap: 8px; }

  .teams-visual figcaption small { font-size: 9px; }
}

#parent-student-guide, html[data-theme="dark"] #parent-student-guide { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.science-symbol { width: 28px; height: 28px; fill: none; stroke: currentcolor; stroke-width: 1.3; vertical-align: middle; }

.teacher-card .teacher-top { display: flex; align-items: flex-start; gap: 12px; }

.teacher-card .initials { flex: 0 0 48px; width: 48px; height: 48px; min-width: 48px; border-radius: 50%; display: grid; place-items: center; }

.teacher-subjects { display: flex; flex: 1 1 0%; min-width: 0px; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }

.teacher-card .teacher-subjects .pill { flex: 0 0 auto; white-space: nowrap; font-size: 11px; line-height: 1.4; padding: 5px 9px; text-align: center; }

.teams-phone { position: relative; }

.teams-phone::before { content: ""; position: absolute; right: 15px; top: 10px; width: 8px; height: 8px; border: 2px solid rgb(65, 73, 85); border-radius: 50%; background: rgb(8, 14, 22); box-shadow: rgb(181, 190, 201) 0px 0px 0px 1px; z-index: 2; }

.teams-phone-top { padding-right: 24px; }

html[data-theme="dark"] .teams-phone { border-color: rgb(105, 121, 133); box-shadow: rgb(156, 171, 181) 0px 0px 0px 1px, rgba(8, 14, 22, 0.25) 7px 9px 0px, rgba(0, 0, 0, 0.2) 0px 10px 24px; }

html[data-theme="dark"] .actions .button .note-icon { color: rgb(255, 255, 255); background: rgb(23, 75, 58); }

html[data-theme="dark"] .actions .button .note-icon svg { stroke: rgb(255, 255, 255); }

@media (max-width: 760px) {
  .teams-phone { padding-top: 22px; }

  .teams-phone::before { top: 7px; right: 13px; width: 7px; height: 7px; }
}

@media (max-width: 650px) {
  .header-actions { gap: 12px; }

  .header-actions .theme-toggle, .header-actions .menu-toggle { width: 46px; height: 46px; min-width: 46px; min-height: 46px; padding: 11px; display: grid; place-items: center; }

  .teacher-card .teacher-subjects .pill { font-size: 10px; padding: 4px 8px; }
}

@media (max-width: 360px) {
  .header { padding-inline: 12px; gap: 8px; }

  .header .brand img { width: 44px; height: 44px; }

  .brand b { font-size: 10px; letter-spacing: 1.6px; }

  .header .brand { gap: 6px; }
}

@media (max-width: 650px) {
  body, body.ava-teachers-page { padding-bottom: env(safe-area-inset-bottom, 0px); }

  .footer { padding-top: 24px; padding-bottom: 18px; gap: 12px; }

  body.footer-in-view .ava-mobile-dock, body.footer-in-view .ava-launch { visibility: hidden; opacity: 0; pointer-events: none; }
}

.teacher-card > .text-link { display: table; width: fit-content; margin: 12px auto 0px; text-align: center; }

.qualification-status { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 8px; border-radius: 20px; font-size: 10px; font-weight: 600; line-height: 1.4; white-space: nowrap; color: rgb(40, 90, 72); background: rgb(231, 240, 233); border: 1px solid rgb(201, 221, 206); }

html[data-theme="dark"] .qualification-status { color: rgb(201, 235, 215); background: rgb(39, 70, 56); border-color: rgb(77, 113, 93); }

.header nav a:focus:not(:focus-visible), a.text-link:focus:not(:focus-visible) { outline: none; }

.header nav a:focus-visible, a.text-link:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

a.text-link, .header nav a:not(.nav-contact) { position: relative; transition: color 0.2s, transform 0.18s; }

a.text-link { border-bottom-color: transparent; }

a.text-link::after, .header nav a:not(.nav-contact)::after { content: ""; position: absolute; left: 0px; right: 0px; bottom: 0px; height: 1px; background: currentcolor; transform: scaleX(0.65); transform-origin: left center; opacity: 0.5; transition: transform 0.24s, opacity 0.24s; pointer-events: none; }

.header nav a:not(.nav-contact)::after { height: 2px; background: var(--green); transform: scaleX(0); opacity: 0; }

.header nav a[aria-current]:not(.nav-contact) { border-bottom-color: transparent; }

.header nav a[aria-current]:not(.nav-contact)::after { transform: scaleX(1); opacity: 1; }

a.text-link:focus-visible::after, .header nav a:not(.nav-contact):focus-visible::after { transform: scaleX(1); opacity: 1; }

@media (hover: hover) {
  a.text-link:hover::after, .header nav a:not(.nav-contact):hover::after { transform: scaleX(1); opacity: 1; }

  a.text-link:hover, .header nav a:not(.nav-contact):hover { transform: translateY(-1px); }
}

a.text-link:active, .header nav a:not(.nav-contact):active { transform: translateY(1px) scale(0.98); }

@media (max-width: 650px) {
  .header nav a:not(.nav-contact)::after { left: 35%; right: 35%; bottom: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  a.text-link, .header nav a:not(.nav-contact), a.text-link::after, .header nav a:not(.nav-contact)::after { transition: none; }

  a.text-link:hover, a.text-link:active, .header nav a:not(.nav-contact):hover, .header nav a:not(.nav-contact):active { transform: none; }
}

.header #main-navigation .nav-contact { position: relative; overflow: hidden; isolation: isolate; transition: color 0.4s, border-color 0.4s; }

.header #main-navigation .nav-contact::before { content: ""; position: absolute; inset: 0px; background: rgb(34, 91, 71); border-radius: inherit; transform: scaleX(0); transform-origin: left center; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); z-index: -1; }

@media (hover: hover) {
  .header #main-navigation .nav-contact:hover { color: rgb(255, 255, 255); border-color: rgb(34, 91, 71); }

  .header #main-navigation .nav-contact:hover::before { transform: scaleX(1); }

  .header #main-navigation .nav-contact:hover svg { transform: translate(3px, -3px); }
}

.header #main-navigation .nav-contact svg { transition: transform 0.3s; }

@media (max-width: 650px) {
  .header #main-navigation .nav-contact::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .header #main-navigation .nav-contact, .header #main-navigation .nav-contact::before, .header #main-navigation .nav-contact svg { transition: none; }
}

a.text-link { background-repeat: no-repeat; background-size: 100% 1px; background-position: left bottom; }

.teacher-card a.text-link[href*="wa.me/94766772533"] { display: block; width: max-content; max-width: 100%; margin: 12px auto 0px; align-self: center; text-align: center; }

@keyframes text-underline-sweep { 
  0% { transform: scaleX(0); opacity: 0.3; }
  100% { transform: scaleX(1); opacity: 1; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  a.text-link:hover::after { animation: 0.38s cubic-bezier(0.22, 1, 0.36, 1) 0s 1 normal both running text-underline-sweep; }
}

@media (prefers-reduced-motion: no-preference) {
  a.text-link:focus-visible::after { animation: 0.38s ease 0s 1 normal both running text-underline-sweep; }
}

@media (prefers-reduced-motion: reduce) {
  a.text-link::after { animation: auto ease 0s 1 normal none running none !important; }
}

.benefits a.text-link { border-bottom-color: transparent; }

a.text-link[href="teachers.html"] svg { transition: transform 0.24s; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  a.text-link[href="teachers.html"]:hover svg { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  a.text-link[href="teachers.html"] svg { transition: none; }
}

a.text-link { background-image: none; }

a.text-link::after { left: 50%; right: auto; width: 22px; transform: translateX(-50%); transform-origin: center center; opacity: 0.9; transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s; animation: auto ease 0s 1 normal none running none !important; }

a.text-link:focus-visible::after, a.text-link:active::after { width: 100%; transform: translateX(-50%); opacity: 1; }

@media (hover: hover) {
  a.text-link:hover::after { width: 100%; transform: translateX(-50%); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  a.text-link::after { transition: none; }
}

.teacher-grid { align-items: stretch; }

.teacher-grid > .teacher-card { display: flex; flex-direction: column; }

.teacher-card > details { margin-top: auto; padding-top: 16px; }

.teacher-card > .button { flex-shrink: 0; min-height: 52px; justify-content: center; text-align: center; }

.teacher-card > a.text-link[href*="wa.me/94766772533"] { flex-shrink: 0; }

.teacher-card > .teacher-schedule-note { display: flex; align-items: center; gap: 9px; margin: auto 0px 0px; padding: 20px 0px 4px; color: var(--muted); font-size: 11px; line-height: 1.5; }

.teacher-schedule-note svg { width: 17px; height: 17px; flex: 0 0 17px; color: var(--green); }

.teacher-card > .teacher-schedule-note + details { margin-top: 0px; }

.button[download] svg, .button .note-icon svg { transition: transform 0.22s; transform-origin: center center; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button[download]:hover svg { animation: 0.65s ease 0s 1 normal none running download-nudge; }

  .button:hover .note-icon svg { transform: rotate(-12deg) scale(1.12); }
}

.button[download]:active svg { transform: translateY(3px) scale(0.92); }

.button:active .note-icon svg { transform: rotate(8deg) scale(0.9); }

@keyframes download-nudge { 
  0%, 100% { transform: translateY(0px); }
  45% { transform: translateY(4px); }
}

@media (min-width: 651px) {
  #main-navigation.has-sliding-line { position: relative; }

  #main-navigation.has-sliding-line a:not(.nav-contact)::after { display: none; }

  .nav-sliding-line { position: absolute; height: 2px; background: var(--green); pointer-events: none; transition: left 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.32s cubic-bezier(0.2, 0.8, 0.2, 1); }
}

@media (max-width: 650px) {
  .nav-sliding-line { display: none; }
}

.learning-map .map-dot { animation: 9s ease-in-out 0s infinite normal none paused pathway-glow; }

.learning-map li:nth-child(2) .map-dot { animation-delay: 3s; }

.learning-map li:nth-child(3) .map-dot { animation-delay: 6s; }

.learning-map .map-star { animation-play-state: paused; }

.learning-map.map-motion-on .map-dot, .learning-map.map-motion-on .map-star, .learning-map.map-motion-on .map-progress { animation-play-state: running; }

@keyframes pathway-glow { 
  0%, 32%, 100% { box-shadow: rgba(200, 173, 72, 0.125) 0px 0px 0px 0px; transform: scale(1); }
  12%, 20% { box-shadow: rgba(200, 173, 72, 0.157) 0px 0px 0px 6px; transform: scale(1.06); }
}

.map-motion-toggle { margin-left: auto; flex: 0 0 36px; width: 36px; height: 36px; border: 0px; background: transparent; padding: 0px; cursor: pointer; color: var(--green); border-radius: 50%; }

.map-motion-toggle[hidden] { display: none; }

.map-foot .map-motion-toggle svg { width: 36px; height: 36px; display: block; fill: none; stroke: currentcolor; stroke-width: 2; }

.map-progress-track { opacity: 0.15; }

.map-progress { stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: center center; animation: 9s linear 0s infinite normal none paused map-progress-loop; }

.map-pause { stroke-linecap: round; }

.map-play { display: none; fill: currentcolor; stroke: none; }

.map-motion-toggle[aria-pressed="true"] .map-play { display: block; }

.map-motion-toggle[aria-pressed="true"] .map-pause { display: none; }

.map-motion-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

@keyframes map-progress-loop { 
  100% { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .button[download] svg, .button .note-icon svg, .nav-sliding-line { transition: none; animation: auto ease 0s 1 normal none running none; }

  .button[download]:active svg, .button:active .note-icon svg { transform: none; }

  .learning-map .map-dot, .learning-map .map-star, .learning-map .map-progress { animation: auto ease 0s 1 normal none running none; }
}

@media (min-width: 651px) and (hover: hover) {
  #main-navigation a:not(.nav-contact) { transition: color 0.3s; }

  #main-navigation a:not(.nav-contact):hover { color: var(--green); }
}

@media (prefers-reduced-motion: reduce) {
  #main-navigation a:not(.nav-contact) { transition: none; }
}

.ava-panel .ava-message { color: rgb(32, 59, 52); background: rgb(237, 242, 232); }

.ava-panel .ava-message.user { color: rgb(255, 255, 255); background: rgb(40, 90, 72); }

html[data-theme="dark"] .ava-panel .ava-message { color: rgb(237, 245, 240); background: rgb(41, 63, 55); }

html[data-theme="dark"] .ava-panel .ava-message.user { color: rgb(255, 255, 255); background: rgb(40, 90, 72); }

html[data-theme="dark"] .ava-panel .ava-profile { color: rgb(237, 245, 240); background: rgb(32, 56, 47); }

html[data-theme="dark"] .ava-panel .ava-profile a { color: rgb(188, 231, 208); }

.payment-section { background: var(--soft); border-block: 1px solid var(--line); padding-top: 64px; padding-right: 0px; padding-left: 0px; overflow: hidden; }

.payment-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }

.payment-copy h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.15; margin: 22px 0px; }

.payment-copy h2 em { font-family: Georgia, serif; font-weight: 400; color: var(--green); }

.payment-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.8; color: var(--muted); max-width: 510px; }

.payment-currencies { display: flex; flex-wrap: wrap; gap: 20px; margin: 26px 0px; padding: 0px; list-style: none; }

.payment-currencies li { display: flex; align-items: center; gap: 9px; }

.payment-currencies li > span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface,#fff); color: var(--green); font: 600 16px Georgia, serif; }

.payment-currencies b { display: block; font-size: 12px; letter-spacing: 1px; }

.payment-currencies small { display: block; font-size: 10px; color: var(--muted); margin-top: 4px; }

.payment-copy .payment-note { padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px !important; }

.payment-art { min-width: 0px; }

.payment-art-caption { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; font-size: 11px; color: var(--muted); }

.currency-toggle { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface,#fff); color: var(--green); cursor: pointer; }

.currency-toggle[hidden] { display: none; }

.currency-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentcolor; stroke-width: 2; stroke-linecap: round; }

.currency-play { display: none; }

.currency-toggle[aria-pressed="true"] .currency-pause { display: none; }

.currency-toggle[aria-pressed="true"] .currency-play { display: block; fill: currentcolor; stroke: none; }

@media (max-width: 760px) {
  .payment-section { padding-top: 40px; padding-right: 0px; padding-left: 0px; }

  .payment-layout { grid-template-columns: 1fr; gap: 24px; }

  .payment-copy { text-align: center; }

  .payment-currencies { justify-content: center; gap: 16px; }

  .payment-copy > p:not(.eyebrow) { margin-inline: auto; }
}

.payment-section { border-bottom: 0px; padding-bottom: 104px; }

:is(.payment-section + .journey, .journey-scroll-stage > .journey) { position: relative; margin-top: -40px; border-radius: 48px 48px 0px 0px; padding-top: 88px; isolation: isolate; }

:is(.payment-section + .journey, .journey-scroll-stage > .journey)::before { content: ""; position: absolute; top: 25px; left: 50%; width: 48px; height: 3px; border-radius: 3px; background: var(--gold); opacity: 0.65; transform: translateX(-50%); pointer-events: none; }

@media (max-width: 760px) {
  .payment-section { padding-bottom: 72px; }

  :is(.payment-section + .journey, .journey-scroll-stage > .journey) { margin-top: -28px; border-radius: 28px 28px 0px 0px; padding-top: 64px; }

  :is(.payment-section + .journey, .journey-scroll-stage > .journey)::before { top: 20px; width: 36px; }
}

.currency-scene { position: relative; isolation: isolate; max-width: 460px; height: 330px; margin: auto; display: grid; align-items: end; padding: 0px 8px 28px; }

.coin-halo { position: absolute; z-index: -1; width: 280px; height: 280px; left: 50%; top: 10px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(234, 217, 146, 0.25), transparent 70%); }

.coin-track { position: absolute; z-index: -1; inset: 22px 25px 25px; border: 1px solid var(--line); border-radius: 50%; transform: rotate(-18deg); }

.currency-pedestals { display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 12px; align-items: end; }

.currency-column { position: relative; text-align: center; border: 1px solid var(--line); border-radius: 70px 70px 18px 18px; background: var(--surface,#fff); padding: 16px 6px 22px; box-shadow: rgba(21, 56, 43, 0.035) 0px 12px 28px; animation: 7s ease-in-out 0s infinite normal none paused coin-breathe; }

.currency-column-featured { margin-bottom: 35px; animation-delay: -2.3s; }

.currency-column:last-child { animation-delay: -4.6s; }

.currency-coin { width: clamp(64px, 6.3vw, 88px); height: clamp(64px, 6.3vw, 88px); margin: 0px auto 20px; display: grid; place-items: center; border-radius: 50%; font: 36px Georgia, serif; box-shadow: rgba(255, 255, 255, 0.19) 0px 0px 0px 5px inset, rgba(23, 61, 44, 0.133) 0px 0px 0px 7px inset, rgb(33, 77, 62) 0px 6px 0px; background: linear-gradient(135deg, rgb(83, 138, 112), rgb(33, 77, 62)); color: rgb(248, 243, 223); }

.coin-dirham { background: linear-gradient(135deg, rgb(255, 240, 176), rgb(218, 182, 79)); color: rgb(75, 67, 36); box-shadow: rgba(255, 255, 255, 0.314) 0px 0px 0px 5px inset, rgba(146, 116, 39, 0.19) 0px 0px 0px 7px inset, rgb(181, 152, 64) 0px 6px 0px; }

.coin-rupee { background: linear-gradient(135deg, rgb(205, 225, 210), rgb(137, 180, 156)); color: rgb(36, 76, 58); box-shadow: rgba(255, 255, 255, 0.25) 0px 0px 0px 5px inset, rgba(37, 78, 57, 0.125) 0px 0px 0px 7px inset, rgb(107, 146, 123) 0px 6px 0px; }

.currency-column b { display: block; font-size: 13px; letter-spacing: 2px; margin-bottom: 7px; color: var(--ink); }

.currency-column > span { display: block; font-size: 10px; color: var(--muted); }

.currency-running .currency-column { animation-play-state: running; }

@keyframes coin-breathe { 
  50% { transform: translateY(-8px); }
}

html[data-theme="dark"] .currency-column b { color: rgb(237, 245, 240); }

@media (max-width: 760px) {
  .currency-scene { height: 290px; max-width: 370px; }

  .currency-coin { width: 70px; height: 70px; font-size: 30px; }

  .currency-pedestals { gap: 10px; }

  .currency-column { padding-inline: 3px; }

  .currency-column > span { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .currency-column { animation: auto ease 0s 1 normal none running none !important; }
}

html[data-theme="dark"] .payment-copy h2, html[data-theme="dark"] .payment-copy .eyebrow, html[data-theme="dark"] .payment-currencies b { color: rgb(237, 245, 240); }

.scroll-linked-journey { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .scroll-linked-journey { translate: none !important; }
}

.journey-scroll-stage { display: flow-root; background: var(--soft); }

.scroll-linked-journey { box-shadow: none; }

.payment-art .currency-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {

}

.payment-art .currency-coin { width: 92px; height: 98px; max-width: 100%; margin: 0px auto 12px; background: none; box-shadow: none; border: 0px; border-radius: 0px; overflow: visible; }

.coin-face { display: block; width: 100%; height: 100%; overflow: visible; }

.payment-art .currency-column { overflow: visible; min-width: 0px; padding: 12px 8px 20px; }

.packet-1 { animation-delay: -2s; }

.packet-2 { animation-delay: -4s; }

.transfer-caption { text-align: center; margin: 6px 0px 0px; font-size: 12px; color: var(--muted); }

.payment-art .currency-toggle { position: relative; border: 0px; background: transparent; }

.payment-art .currency-toggle .currency-progress { position: absolute; transform: rotate(-90deg); pointer-events: none; }

.currency-progress-track { fill: none; stroke: var(--line); }

.currency-progress-ring { fill: none; stroke: var(--green); stroke-dasharray: 100; stroke-dashoffset: 100; animation-timing-function: linear; animation-delay: 0s; animation-iteration-count: infinite; animation-direction: normal; animation-fill-mode: none; animation-play-state: paused; animation-name: transfer-progress; animation-timeline: auto; animation-range: normal; }

.currency-running .currency-progress-ring { animation-play-state: running; }

@keyframes transfer-progress { 
  100% { stroke-dashoffset: 0; }
}

html[data-theme="dark"] .currency-progress-ring { stroke: rgb(164, 214, 188); }

@media (max-width: 760px) {
  .payment-art .currency-coin { width: 78px; height: 83px; }

  .payment-art .currency-column { padding-inline: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .currency-progress-ring { animation: auto ease 0s 1 normal none running none !important; }
}

.tuition-payer, .tuition-destination { display: flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; max-width: 100%; margin: auto; padding: 14px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface,#fff); color: var(--ink); }

.tuition-payer > svg, .tuition-receipt svg { width: 32px; height: 32px; stroke: var(--green); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.tuition-payer strong, .tuition-destination strong { display: block; font-size: 14px; line-height: 1.5; }

.tuition-payer small, .tuition-destination small { display: block; font-size: 11px; line-height: 1.5; color: var(--muted); margin-top: 3px; }

.tuition-down { text-align: center; color: var(--green); font-size: 24px; margin: 5px 0px; }

.payment-art .currency-scene { height: 245px; padding-top: 8px; padding-bottom: 8px; }

.tuition-routes { width: min(100%, 360px); margin: auto; }

.tuition-routes svg { display: block; width: 100%; height: auto; overflow: visible; }

.tuition-route { stroke: var(--green); stroke-opacity: 0.25; stroke-width: 1.5; stroke-dasharray: 3, 5; }

.tuition-packet { stroke: rgb(173, 134, 33); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1, 99; opacity: 0; animation: 9s linear 0s infinite normal none paused tuition-single-transfer; }

.tuition-packet-1 { animation-delay: -6s; }

.tuition-packet-2 { animation-delay: -3s; }

.currency-progress-ring { animation-duration: 9s; }

.currency-running .currency-column, .currency-running .tuition-packet { animation-play-state: running; }

@keyframes tuition-single-transfer { 
  0% { opacity: 0; stroke-dashoffset: 100; }
  3% { opacity: 1; stroke-dashoffset: 100; }
  28% { opacity: 1; stroke-dashoffset: 0; }
  31%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

.payment-art .currency-toggle { width: 44px; height: 44px; flex-basis: 44px; padding: 14px; }

.payment-art .currency-toggle .currency-progress { width: 30px; height: 30px; inset: 7px; stroke-width: 1.6; }

.payment-art .currency-toggle > svg:not(.currency-progress) { width: 13px; height: 13px; }

html[data-theme="dark"] .tuition-payer, html[data-theme="dark"] .tuition-destination { color: rgb(237, 245, 240); }

html[data-theme="dark"] .tuition-packet { stroke: rgb(237, 205, 104); }

@media (max-width: 760px) {
  .payment-art .currency-scene { height: 228px; }

  .tuition-payer, .tuition-destination { padding: 12px 14px; }

  .tuition-routes { max-width: 310px; }

  .payment-art-caption { flex-wrap: wrap; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .payment-art .currency-column, .tuition-packet { animation: auto ease 0s 1 normal none running none !important; }

  .tuition-packet { opacity: 0; }
}

.payment-art .coin-track { opacity: 0.55; border-color: var(--line); }

.payment-art .coin-halo { animation: 9s ease-in-out 0s infinite normal none paused tuition-halo-breathe; }

.payment-art .currency-column { animation: 9s ease-in-out 0s infinite normal none paused tuition-selected-lift; }

.payment-art .currency-column:nth-child(2) { animation-delay: -6s; }

.payment-art .currency-column:nth-child(3) { animation-delay: -3s; }

.payment-art .coin-face { animation: 9s ease-in-out 0s infinite normal none paused tuition-coin-rise; transform-origin: 50% 50%; }

.payment-art .currency-column:nth-child(2) .coin-face { animation-delay: -6s; }

.payment-art .currency-column:nth-child(3) .coin-face { animation-delay: -3s; }

.tuition-down { animation: 3s ease-in-out 0s infinite normal none paused tuition-arrow-flow; }

.tuition-destination { animation: 3s ease-in-out 0s infinite normal none paused tuition-arrival; }

.tuition-receipt { display: inline-flex; animation: 3s ease-in-out 0s infinite normal none paused tuition-receipt-arrival; }

.currency-running .coin-halo, .currency-running .currency-column, .currency-running .coin-face, .currency-running .tuition-down, .currency-running .tuition-destination, .currency-running .tuition-receipt { animation-play-state: running; }

@keyframes tuition-selected-lift { 
  0%, 33.33%, 100% { transform: translateY(0px); border-color: var(--line); box-shadow: rgba(21, 56, 43, 0.03) 0px 10px 22px; }
  5%, 27% { transform: translateY(-6px); border-color: rgb(114, 157, 130); box-shadow: rgba(114, 157, 130, 0.25) 0px 0px 0px 2px, rgba(21, 56, 43, 0.07) 0px 14px 22px; }
}

@keyframes tuition-coin-rise { 
  0%, 33.33%, 100% { transform: translateY(0px) scale(1); }
  8%, 24% { transform: translateY(-2px) scale(1.04); }
}

@keyframes tuition-arrow-flow { 
  0%, 45%, 100% { transform: translateY(-2px); opacity: 0.5; }
  22% { transform: translateY(4px); opacity: 1; }
}

@keyframes tuition-arrival { 
  0%, 78%, 100% { box-shadow: rgba(114, 157, 130, 0) 0px 0px 0px 0px; border-color: var(--line); }
  86% { box-shadow: rgba(114, 157, 130, 0.14) 0px 0px 0px 5px; border-color: rgb(114, 157, 130); }
  95% { box-shadow: rgba(114, 157, 130, 0) 0px 0px 0px 9px; border-color: var(--line); }
}

@keyframes tuition-receipt-arrival { 
  0%, 78%, 100% { transform: scale(1); }
  87% { transform: scale(1.12); }
}

@keyframes tuition-halo-breathe { 
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  .payment-art .coin-halo, .payment-art .currency-column, .payment-art .coin-face, .tuition-down, .tuition-destination, .tuition-receipt { animation: auto ease 0s 1 normal none running none !important; }
}

.footer-curricula { width: 100%; max-width: 760px; margin: 24px auto 0px; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; }

.footer-curriculum-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }

.footer-curriculum-logo { display: flex; align-items: center; justify-content: center; width: 190px; height: 70px; padding: 10px 16px; background: rgb(255, 255, 255); border: 1px solid rgb(220, 228, 221); border-radius: 12px; box-sizing: border-box; }

.footer-curriculum-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }

.footer .footer-independence { max-width: 700px; margin: 18px auto 0px; font-size: 12px; line-height: 1.8; letter-spacing: 0px; font-weight: 400; color: var(--muted); }

html[data-theme="dark"] .footer .footer-independence { color: rgb(196, 212, 203); }

@media (max-width: 480px) {
  .footer-curriculum-logos { gap: 10px; }

  .footer-curriculum-logo { width: 145px; height: 60px; padding: 8px 12px; }

  .footer .footer-independence { font-size: 11px; line-height: 1.8; }

  .footer-curricula { margin-top: 20px; padding-top: 20px; }
}

.guide-intro { padding-block: 64px 48px; text-align: center; }

.guide-intro h1 { font-size: clamp(32px, 4vw, 54px); line-height: 1.15; margin: 18px 0px; }

.guide-intro > p:not(.eyebrow) { max-width: 640px; margin: 18px auto; color: var(--muted); }

.guide-topics { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 26px 0px; }

.guide-topics a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface,#fff); font-size: 13px; }

.guide-topics a:hover { border-color: var(--green); }

.guide-topics a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.guide-preview { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 36px; background: var(--soft); border: 1px solid var(--line); border-radius: 24px; padding: 36px; margin-block: 24px 64px; }

.guide-preview h2 { font-size: clamp(26px, 3vw, 36px); margin: 14px 0px; }

.guide-preview p { color: var(--muted); max-width: 580px; }

.guide-preview-actions { display: flex; align-items: center; flex-direction: column; gap: 16px; }

.guide-summary-link { grid-column: 2; color: rgb(255, 255, 255); justify-self: start; }

.guide-summary-link::after { background: rgb(199, 217, 208); }

html[data-theme="dark"] .guide-intro h1, html[data-theme="dark"] .guide-preview h2, html[data-theme="dark"] .guide-topics a { color: rgb(237, 245, 240); }

@media (max-width: 760px) {
  .guide-intro { padding-block: 36px; }

  .guide-preview { grid-template-columns: 1fr; padding: 26px; gap: 14px; text-align: center; }

  .guide-summary-link { grid-column: 1; justify-self: center; }

  .guide-topics { gap: 8px; }

  .guide-topics a { padding: 10px 14px; }
}

@media (min-width: 651px) and (max-width: 1000px) {
  .header nav { gap: 14px; }

  .header nav a { font-size: 12px; }

  .header .nav-contact { padding: 10px 14px; }
}

:is(button, a.button, a.mobile-enquire, a.nav-contact, .subject-nav button, .contact-links a, .ava-profile a) { -webkit-tap-highlight-color: transparent; }

@media (prefers-reduced-motion: no-preference) {
  :is(button, a.button, a.mobile-enquire, a.nav-contact, .subject-nav button, .contact-links a, .ava-profile a):not(:disabled):not([aria-disabled="true"]):active { scale: 0.98; }
}

.academy-ripple-layer { position: fixed; pointer-events: none; overflow: hidden; z-index: 10000; contain: strict; }

.academy-ripple-wave { position: absolute; border-radius: 50%; pointer-events: none; }

.academy-loading { position: fixed; inset: 0px 0px auto; height: 3px; z-index: 11000; pointer-events: none; overflow: hidden; background: rgba(213, 179, 60, 0.133); }

.academy-loading[hidden], .academy-loading-note[hidden] { display: none; }

.academy-loading::after { content: ""; position: absolute; inset: 0px; width: 42%; background: linear-gradient(90deg, rgb(40, 90, 72), rgb(230, 200, 90), rgb(40, 90, 72)); animation: 1.1s ease-in-out 0s infinite normal none running academy-progress; }

.academy-loading-note { position: fixed; left: 50%; top: calc(16px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 11001; display: flex; align-items: center; gap: 10px; max-width: calc(-32px + 100vw); width: max-content; padding: 12px 18px; border: 1px solid rgb(214, 227, 216); border-radius: 40px; background: var(--surface,#fff); color: var(--ink,#193237); box-shadow: rgba(16, 44, 53, 0.15) 0px 8px 30px; font: 600 13px / 1.4 Arial, sans-serif; pointer-events: none; }

.academy-loading-spinner { width: 16px; height: 16px; flex: 0 0 16px; border-width: 2px; border-style: solid; border-color: rgb(40, 90, 72) rgb(158, 185, 167) rgb(158, 185, 167); border-image: none; border-radius: 50%; animation: 0.7s linear 0s infinite normal none running academy-spin; }

@keyframes academy-progress { 
  0% { transform: translateX(-110%); }
  100% { transform: translateX(340%); }
}

@keyframes academy-spin { 
  100% { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .academy-loading::after, .academy-loading-spinner { animation: auto ease 0s 1 normal none running none; }
}
