/* Sihlomile's public routes in the visual system from Xplore2/academy-hero. */
@font-face {
  font-family: 'Material Symbols Rounded';
  src: url('../assets/material-symbols-original.woff2') format('woff2');
  font-weight: 100 700;
  font-display: block;
}
.material-symbols-rounded {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  font: 400 22px/1 'Material Symbols Rounded';
  font-feature-settings: 'liga';
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
}
.icon.material-symbols-rounded { filter: none; }

:root {
  --ink: var(--meridian-ink);
  --muted: #46574b;
  --line: #a69f8e;
  --orange: #8b5132;
  --orange-dark: #8b5132;
  --orange-readable: #8b5132;
  --pale: var(--meridian-sage);
  --deep: var(--meridian-blue);
  --max: 1100px;
  scroll-padding-top: 90px;
}
.academy-home, .inner-page { font: 400 16px/1.6 'Segoe UI', Arial, sans-serif; }
.academy-home { background: var(--meridian-cream); color: var(--meridian-ink); color-scheme: light; }
.academy-home :is(h1,h2,h3), .inner-page :is(h1,h2,h3,h4) { font-family: inherit; max-width: none; }
.academy-home .academy :is(.hero,.meet,.learning-screen,.faq-screen) p,
.page-about p, .catalogue-stage p, .site-footer--full p { margin-bottom: 0; }
.academy-home .hero h1 { font-weight: 800; margin: 0; }
.academy-home .hero h1 span { font-size: .56em; letter-spacing: -.052em; line-height: 1.05; margin-top: .1em; }
.academy-home .hero .socials a { display: grid; place-items: center; min-height: 44px; min-width: 44px; border-radius: 50%; }
.academy-home .hero .socials a:hover { background: #fff9; }
.academy-home .hero .hero-eyebrow { margin-bottom: 24px; }
.academy-home .intro-name, .academy-home .intro-welcome { color: #fff0dc; }
.opening .academy-home .hero .late, .opening .academy-home .header.late { animation: content-materialise .4s var(--ease) 8.46s both; }
.academy-home .meet-intro { color: #34473c; }
.academy-home .faq-number { color: #536055; }
.academy-home .faq-item { --faq-order: 0; }
.academy-home .faq-item:nth-child(2) { --faq-order: 1; }
.academy-home .faq-item:nth-child(3) { --faq-order: 2; }
.academy-home .faq-item:nth-child(4) { --faq-order: 3; }
html:not(.has-home-finish) .faq-symbol { display: none; }
html:not(.has-home-finish) .faq-question { pointer-events: none; }
.academy-home .faq-screen .faq-list { max-width: none; }
.academy-home .faq-question:focus-visible { opacity: 1; }
.academy-home .home-paper { color-scheme: light; }

.academy-functional { color-scheme: light; }
.academy-functional .page-hero { padding: clamp(52px, 8vw, 103px) 0 clamp(31px, 5vw, 62px); background: none; color: var(--meridian-blue); }
.academy-functional .page-hero h1 { max-width: 13ch; font-size: clamp(42px, 7.7vw, 101px); font-weight: 800; overflow-wrap: anywhere; }
.academy-functional .page-hero .lead { max-width: 55ch; color: var(--muted); font-size: clamp(17px, 1.7vw, 22px); }
.academy-functional .page-hero .lead p { color: inherit; }
.academy-functional .page-hero .eyebrow, .home-paper .eyebrow { color: #376251; }
.academy-functional .page-hero .orange { color: #376251; }
.academy-functional .section, .home-paper .section { padding-block: clamp(35px, 6vw, 78px); }
.academy-functional main h2, .home-paper h2 { color: var(--meridian-blue); font-size: clamp(30px, 4vw, 54px); font-weight: 760; line-height: 1.06; letter-spacing: -.045em; }
.home-paper h2 { margin-bottom: .55em; }
.academy-functional .pale-section, .home-sage, .academy-next { background: color-mix(in srgb, var(--meridian-sage) 73%, var(--meridian-cream)); border-block: 1px solid #293a3225; }
.academy-functional .page-hero + .section { border-top: 1px solid #293a3236; }
.academy-functional .button, .home-paper .button {
  min-height: 48px;
  padding: 11px 22px;
  border: 1px solid #8a806b;
  border-radius: 999px;
  background: #fffaf2;
  color: var(--meridian-ink);
  box-shadow: 0 5px 13px #58301919;
  transition: background .23s var(--ease), transform .23s var(--ease), border-color .23s var(--ease);
}
.academy-functional .button:hover, .home-paper .button:hover { background: #ffe2be; border-color: #9e6744; transform: translateY(-2px); }
.academy-functional .button.secondary { background: transparent; color: var(--meridian-ink); box-shadow: none; }
.academy-functional .button.secondary:hover { background: #fffaf2; }
.academy-functional .button .icon.material-symbols-rounded { filter: none; }
.academy-functional .text-link, .home-paper .text-link { min-height: 28px; color: #376251; }
.academy-functional :is(.small,.article-content,.help-panel,.form-panel,.faq-list) p a { color: #376251; text-decoration: underline; text-underline-offset: .2em; }
.academy-functional :is(.form-panel,.contact-form-panel,.help-panel,.success-panel,.empty-state,.detail-aside,.course-facts), .home-paper :is(.notice,.programme-card,.feature), .page-about .feature {
  background: #fffaf2;
  border-color: #293a3235;
  border-radius: 15px;
  color: var(--meridian-ink);
  text-shadow: none;
}
.academy-functional :is(.form-panel,.contact-form-panel,.help-panel,.success-panel,.empty-state,.detail-aside) p { color: var(--muted); }
.academy-functional input:not([type='checkbox'],[type='radio']), .academy-functional select, .academy-functional textarea {
  background: #fffbf4;
  color: var(--meridian-ink);
  border-color: #908875;
  border-radius: 8px;
  min-height: 46px;
}
.academy-functional :is(input,textarea)::placeholder { color: #58645d; }
.academy-functional :is(input[type='checkbox'],input[type='radio']) { accent-color: #376251; }
.academy-functional .form-error { background: #fff3e8; color: #792d20; border-color: #a95646; }
.academy-functional .form-error p { color: inherit; }
.academy-functional .catalogue-tools { display: flex; align-items: end; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.academy-functional .catalogue-tools .search-label { flex: 1 1 250px; margin: 0; }
.academy-functional .filter-tabs { flex: 1 1 100%; margin: 0; }
.academy-functional :is(.filter-tabs button,.portal-tabs a) { background: #fffaf2; border: 1px solid #908875; border-radius: 999px; min-height: 44px; color: var(--ink); }
.academy-functional :is(.filter-tabs button[aria-pressed='true'],.portal-tabs a[aria-current='page']) { color: #fffaf2; background: #376251; border-color: #376251; }
.academy-functional #course-catalogue { scroll-margin-top: 12px; }
.academy-functional .course-facts { margin-top: 10px; border: 1px solid #293a3235; }
.academy-functional .og-form-help { border-left: 2px solid #376251; padding: 14px 17px; background: var(--meridian-sage); }
.academy-functional .og-form-help p:last-child { margin: 0; }
.academy-functional .article-content { max-width: 760px; }
.academy-functional .article-content h2 { border-top: 1px solid #293a3236; padding-top: .75em; }
.academy-functional .breadcrumb, .academy-functional .back-link { color: #376251; }
.academy-functional .preview-bar, .has-draft-preview .preview-bar { position: relative; z-index: 11; background: #376251; color: #fffaf2; }
.academy-functional .contact-item { border-color: #293a3235; }
.academy-functional .contact-item a { display: inline-flex; align-items: center; min-height: 28px; }
.academy-functional .contact-item a[href^='tel:'] { display: flex; width: fit-content; }
.academy-functional .quick-links a:hover, .academy-functional .article-teaser:hover { color: #376251; }
.academy-functional .portal-tabs a { display: inline-flex; align-items: center; }
.academy-functional .article-content table { max-width: 100%; }
.academy-functional .cms-image, .page-about .cms-image, .home-paper .cms-image { display: block; margin-top: 20px; border-radius: 15px; height: auto; }

.home-paper { background-color: var(--meridian-cream); color: var(--meridian-ink); }
.home-paper.home-sage, .home-paper.academy-next { background: color-mix(in srgb, var(--meridian-sage) 73%, var(--meridian-cream)); }
.home-paper .training-paths { margin-top: 32px; border-top: 1px solid #293a3250; }
.training-paths a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) 42px; gap: 16px; align-items: center; min-height: 75px; padding-block: 15px; border-bottom: 1px solid #293a3250; }
.training-paths a > span:first-child { font-size: clamp(20px, 2.2vw, 30px); font-weight: 700; line-height: 1.2; letter-spacing: -.027em; }
.training-paths small { color: var(--muted); font-size: 15px; }
.path-arrow { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #293a3265; border-radius: 50%; font-size: 20px; }
.training-paths a:is(:hover,:focus-visible) .path-arrow { background: #ffe2be; color: var(--meridian-ink); }
.home-featured { margin-top: 42px; }
.application-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; list-style: none; padding: 0; margin: 32px 0 0; counter-reset: admissions; }
.application-steps li { border-top: 1px solid #293a3250; padding-top: 18px; counter-increment: admissions; }
.application-steps li::before { content: '0' counter(admissions); display: block; margin-bottom: 18px; color: #376251; font-size: 12px; letter-spacing: .13em; font-weight: 700; }
.application-steps h3 { margin: 0 0 8px; }
.application-steps p { margin-bottom: 10px; }
.home-paper .feature-grid a, .page-about .feature-grid a { padding: 18px; }
.home-paper .feature-grid a p, .page-about .feature-grid a p { margin: 0; }
.academy-functional .notice, .home-paper .notice { border-color: #376251; background: #fffbf4; }
.academy-functional .preserve-lines, .home-paper .preserve-lines { color: var(--muted); }
.site-footer--full { font-family: 'Segoe UI', Arial, sans-serif; color-scheme: dark; }
.site-footer--full .footer-bottom { padding: 18px 0 0; }
.site-footer--full .footer-brand img { display: block; width: min(200px,100%); height: auto; }
.site-footer--full .footer-contact { display: flex; flex-direction: column; align-items: flex-start; margin-top: 12px; color: #f1eaddce; font-size: 14px; }
.site-footer--full .footer-contact p { color: inherit; }
.footer-contact a { min-height: 30px; overflow-wrap: anywhere; }
.site-footer--full .footer-top { display: inline-flex; align-items: center; gap: 8px; }
.site-footer--full .footer-purpose { color: #f1eaddc4; }
.inner-header .nav a[data-section-current] { text-decoration: underline; text-underline-offset: .35em; }
.inner-page .inner-header .nav, .academy-home .header .nav { gap: clamp(11px, 2.6vw, 42px); }
.page-programmes #main > :not(.catalogue-stage) { color: var(--meridian-ink); }
.page-programmes { background: var(--meridian-cream); }
.page-programmes .catalogue-stage { color: var(--meridian-cream); }
.page-programmes .catalogue-stage h1 { color: inherit; }
.page-programmes .catalogue-stage .orange { color: #ffd08e; }
.page-programmes .catalogue-stage .programme-search { color-scheme: light; }
.page-programmes .catalogue-stage .programme-search input { border-color: #908875; }
.page-programmes .catalogue-stage .programme-search .text-link { color: #376251; margin-top: 12px; }
.page-programmes .programme-dots button { min-width: 24px; min-height: 24px; }
.page-about #page-about .ab-intro { color: inherit; }
.page-about #page-about .ab-people { background: var(--meridian-cream); text-shadow: none; }
html body #page-about .ab-people :is(h2,h3,p,em,span,a) { text-shadow: none; }
.page-about .ab-people-lead p { color: inherit; }
.page-about .ab-people a:hover { text-decoration: underline; }
.page-about .ss-roadmap-entry { margin-top: 48px; }
.page-about .ss-roadmap-entry .feature-grid { margin-top: 16px; }

@media (max-width: 660px) {
  .academy-home .hero .hero-eyebrow { margin-bottom: 18px; }
  .academy-home .hero .socials a { min-width: 36px; }
  .academy-home .hero h1 span { font-size: .54em; }
  .academy-home .header .nav, .inner-page .inner-header .nav { gap: 0; }
  .academy-home:not(:has(.js-menu)) .header, html:not(.has-page-menu) .inner-header { position: relative; }
  html:not(.has-page-menu) .inner-header .nav { padding-inline: 44px; }
  .training-paths a { grid-template-columns: 1fr 42px; gap: 4px 12px; }
  .training-paths a small { grid-column: 1; grid-row: 2; }
  .training-paths .path-arrow { grid-column: 2; grid-row: 1 / span 2; }
  .application-steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .academy-functional .button, .academy-functional .button:hover { transform: none; transition: none; }
}

/* The globe is the opening artwork. The navigation uses the academy's own wordmark. */
.academy-brand {
  position: absolute;
  inset: 50% auto auto clamp(18px, 4vw, 62px);
  translate: 0 -50%;
  display: grid;
  align-items: center;
  width: clamp(93px, 10vw, 132px);
  min-height: 44px;
}
.academy-brand img { display: block; width: 100%; height: auto; }
.academy-brand .brand-on-dark { display: none; }
.academy[data-header-theme='blue'] .brand-on-dark,
.academy[data-header-theme='black'] .brand-on-dark,
.page-about:is([data-about-surface='dark'],[data-about-surface='olive'],[data-about-surface='footer']) .brand-on-dark { display: block; }
.academy[data-header-theme='blue'] .brand-on-light,
.academy[data-header-theme='black'] .brand-on-light,
.page-about:is([data-about-surface='dark'],[data-about-surface='olive'],[data-about-surface='footer']) .brand-on-light { display: none; }
.academy-home .logo-dock { visibility: hidden; }
.opening .academy-home .logo-dock { visibility: visible; }

/* Match the staged Meridian entrance for the title, copy, controls and artwork. */
.opening .academy-home .hero-eyebrow { animation-delay: 8.8s; }
.opening .academy-home .hero-content { animation: none; }
.opening .academy-home .socials { animation-delay: 9.55s; }
.academy-home .hero .action::before,
.academy-home .hero .action::after { transition: top .76s var(--ease), transform .88s var(--ease); }
.academy-home .hero .action:is(:hover,:focus-visible,:active)::before { top: -54%; transform: rotate(14deg); }
.academy-home .hero .action:is(:hover,:focus-visible,:active)::after { top: -40%; transform: rotate(-12deg); }
.academy-home .meet .story-tabs button { color: #486050; }
.academy-home .meet .story-tabs button[aria-pressed='true'] { color: #7d4930; }

.application-guide .application-steps p { max-width: 32ch; }
.application-guide .guide-note { margin-block: 30px 0; }
.application-guide .lead p { margin-bottom: 0; }
.guide-accommodation { margin-top: 36px; padding: 24px; border: 1px solid #293a3235; border-radius: 15px; background: #fffaf2; }
.guide-accommodation .eyebrow { margin-bottom: 8px; }
.guide-answer { padding-bottom: 16px; }
.guide-answer p { margin-bottom: 12px; }
.academy-functional .enquiry-offline { border-left: 2px solid #8b5132; padding-inline-start: 12px; }
.contact-form-panel .draft-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.contact-form-panel .draft-status { margin-block: 8px 0; }
.catalogue-overview { display: grid; gap: 0; border-top: 1px solid var(--line); margin-bottom: 24px; }
.catalogue-overview div { padding-block: 15px; border-bottom: 1px solid var(--line); }
.catalogue-overview h3, .catalogue-overview p { margin-bottom: 4px; }

@media (max-width: 660px) {
  html:not(.has-page-menu) .inner-header .nav, .academy-home:not(:has(.js-menu)) .header .nav { padding-inline-start: 102px; }
  .academy-brand { width: 91px; }
}
@media (prefers-reduced-motion: reduce) {
  .academy-home .book-float { animation: none; }
  .academy-home .hero .action,
  .academy-home .hero .action::before,
  .academy-home .hero .action::after { transition: none; }
}
