/* The real homepage has its own composition; other WordPress surfaces keep their layouts. */
/* aa-home-motion: 20261007 */
body.home.aa-site-active #masthead .custom-logo-link { width: 166px; max-width: none; }
body.home.aa-site-active #masthead .custom-logo { width: 166px; max-width: none; height: auto; }
.aa-home-renewed { --aa-home-motion: 20261007; background: #fff; color: var(--aa-ink); }
body.home .entry-content .aa-home-renewed > section { width: 100%; max-width: none !important; margin-inline: 0; }
.aa-home-renewed .aa-wrap { width: min(1280px, calc(100% - 96px)); max-width: 1280px; margin-inline: auto; }
.aa-home-renewed :where(h1,h2,h3,p,figure) { margin: 0; }
.aa-home-renewed p, .aa-home-renewed figure { margin: 0; }
.aa-home-renewed h1 em { font-style: normal; color: var(--aa-brand); }
.aa-start { padding-top: 72px; background: #f8f7fa; }
.aa-start-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.aa-start-eyebrow { color: var(--aa-brand); font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.aa-home-renewed .aa-start h1 { font-size: clamp(44px, 4.9vw, 72px); line-height: 1.06; font-weight: 600; letter-spacing: -.055em; margin: 24px 0; }
.aa-start-intro { max-width: 43ch; font-size: 18px; line-height: 1.7; color: var(--aa-muted); }
.aa-start-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 26px; margin-top: 32px; }
.aa-home-renewed .aa-button { gap: 20px; min-height: 52px; padding: 14px 22px; border-radius: 6px; font-size: 15px; }
.aa-home-renewed .aa-button span { font-size: 22px; line-height: 1; }
.aa-home-renewed .aa-start-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; color: var(--aa-brand); font-weight: 600; font-size: 15px; text-decoration: none; }
.aa-home-renewed .aa-start-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.aa-start-photo { align-self: stretch; display: flex; flex-direction: column; overflow: hidden; border-radius: 8px; min-width: 0; }
.aa-start-photo img { display: block; width: 100%; height: 410px; object-fit: cover; object-position: center; }
.aa-start-photo figcaption { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 20px 24px; background: var(--aa-brand); color: #fff; font-size: 13px; line-height: 1.5; }
.aa-start-photo figcaption span:first-child { font-weight: 700; }
.aa-start-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; margin-top: 40px !important; border-top: 1px solid var(--aa-line); font-size: 13px; color: var(--aa-muted); }
.aa-start-bottom a { color: var(--aa-ink); text-decoration: none; display: inline-flex; gap: 20px; align-items: center; min-height: 32px; }
.aa-home-courses, .aa-home-path { padding: 88px 0; }
.aa-home-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); align-items: end; gap: 48px; margin-bottom: 40px; }
.aa-home-label { color: var(--aa-brand); font-size: 14px; font-weight: 600; margin-bottom: 16px !important; }
.aa-home-renewed h2 { font-size: clamp(32px, 3.3vw, 48px); line-height: 1.12; font-weight: 600; letter-spacing: -.045em; }
.aa-home-heading p:not(.aa-home-label) { color: var(--aa-muted); line-height: 1.7; font-size: 16px; max-width: 43ch; }
.aa-home-heading .aa-start-link { margin-top: 12px; }
.aa-home-renewed .aa-course-catalog-head { display: none; }
.aa-home-renewed .aa-discovery-selection { gap: 28px; }
.aa-home-renewed .aa-discovery-selection .aa-course-card { padding: 0 0 16px; border: 0; border-bottom: 1px solid var(--aa-line); border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.aa-home-renewed .aa-course-card:hover { transform: none; }
.aa-home-renewed .aa-discovery-selection .aa-course-card-media { height: auto; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; }
.aa-home-renewed .aa-course-card-media img { width: 100%; height: 100%; object-fit: cover; }
.aa-home-renewed .aa-course-card-body { padding: 22px 0 0; gap: 0; }
.aa-home-renewed .aa-course-card-top { margin: 0; justify-content: flex-start; }
.aa-home-renewed .aa-course-category { background: transparent; padding: 0; color: var(--aa-muted); font-size: 12px; font-weight: 500; text-align: left; max-width: none; }
.aa-home-renewed .aa-course-card h3 { font-size: 22px; line-height: 1.35; letter-spacing: -.03em; margin: 12px 0 22px; min-height: 0; }
.aa-home-renewed .aa-course-link { padding: 0; color: var(--aa-brand); min-height: 44px; font-size: 14px; }
.aa-home-catalog-note { margin-top: 24px !important; color: var(--aa-muted); font-size: 13px; line-height: 1.7; }
.aa-home-purpose { background: #f8f7fa; padding: 72px 0; }
.aa-purpose-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 88px; }
.aa-purpose-grid figure { border-radius: 6px; overflow: hidden; }
.aa-purpose-grid img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.aa-purpose-grid p:not(.aa-home-label) { color: var(--aa-muted); font-size: 17px; line-height: 1.8; max-width: 43ch; margin: 24px 0; }
.aa-path-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 0 !important; padding: 0 !important; }
.aa-path-list li { border-top: 1px solid var(--aa-line); padding-top: 24px; }
.aa-path-number { display: block; color: var(--aa-brand); font-size: 15px; margin-bottom: 24px; }
.aa-home-renewed .aa-path-list h3 { font-size: 24px; line-height: 1.3; margin-bottom: 16px; }
.aa-path-list p { color: var(--aa-muted); font-size: 15px; line-height: 1.8; max-width: 35ch; min-height: 82px; }
.aa-path-list .aa-start-link { margin-top: 16px; }
.aa-home-conversation { background: var(--aa-brand); color: #fff; padding: 64px 0; }
.aa-home-conversation .aa-wrap { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.aa-home-conversation .aa-home-label { color: #ede9fe; }
.aa-home-conversation h2 { color: #fff; }
.aa-home-conversation p:not(.aa-home-label) { color: #f5f3ff; margin-top: 24px; max-width: 52ch; line-height: 1.7; font-size: 16px; }
.aa-home-conversation .aa-button-light { flex-shrink: 0; color: var(--aa-brand); background: #fff; border-color: #fff; }
.aa-home-renewed :where(a,button):focus-visible { outline: 3px solid var(--aa-brand); outline-offset: 5px; }
.aa-home-conversation a:focus-visible { outline-color: #fff; }
@media (max-width: 1100px) {
    .aa-home-renewed .aa-wrap { width: calc(100% - 64px); }
    .aa-start-grid { gap: 32px; }
    .aa-start-photo img { height: 380px; }
    .aa-start-actions { gap: 12px 20px; }
    .aa-purpose-grid { gap: 48px; }
}
html.aa-home-motion { scroll-behavior: smooth; scroll-padding-top: 100px; }
.aa-home-renewed h1 em { position: relative; display: inline-block; }
.aa-home-renewed h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: 4px; background: #c4b5fd; border-radius: 4px; transform-origin: left; }
.aa-home-renewed[data-motion] h1 em::after { animation: aa-home-underline 850ms cubic-bezier(.16,1,.3,1) both; animation-play-state: paused; }
.aa-home-renewed[data-motion] .aa-start-photo > img { animation: aa-home-breathe 12s ease-in-out infinite alternate; animation-play-state: paused; }
.aa-home-renewed[data-motion="on"] h1 em::after,
.aa-home-renewed[data-motion="on"] .aa-start-photo > img { animation-play-state: running; }
.aa-motion-toggle { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 6px 12px; border: 1px solid #d9d0e8; border-radius: 24px; background: #fff; color: var(--aa-brand); font: inherit; cursor: pointer; }
.aa-motion-toggle[hidden], .aa-motion-toggle .aa-icon-play { display: none; }
.aa-motion-toggle[aria-pressed="false"] .aa-icon-pause { display: none; }
.aa-motion-toggle[aria-pressed="false"] .aa-icon-play { display: block; }
.aa-start-bottom { align-items: center; flex-wrap: wrap; }
.aa-home-renewed .aa-path-list summary { position: relative; list-style: none; cursor: pointer; min-height: 120px; padding-right: 40px; }
.aa-home-renewed .aa-path-list summary::-webkit-details-marker { display: none; }
.aa-home-renewed .aa-path-list summary:focus-visible { outline: 3px solid var(--aa-brand); outline-offset: 6px; }
.aa-path-toggle { position: absolute; top: 0; right: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #d9d0e8; color: var(--aa-brand); font-size: 24px; }
.aa-path-list details[open] summary h3 { color: var(--aa-brand); }
.aa-path-list details[open] .aa-path-toggle { transform: rotate(45deg); background: #ede9fe; }
.aa-path-content { padding-top: 8px; }
@keyframes aa-home-breathe { from { transform: scale(1); } to { transform: scale(1.055); } }
@keyframes aa-home-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
    .aa-home-renewed[data-motion="on"] :where(.aa-button, .aa-start-link span, .aa-course-card-media img, .aa-start-photo, .aa-path-toggle) { transition: transform 220ms ease-out, background-color 220ms ease-out; }
    .aa-home-renewed[data-motion="on"] .aa-button:active { transform: scale(.96); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .aa-home-renewed[data-motion="on"] .aa-start-photo:hover { transform: translateY(-4px); }
    .aa-home-renewed[data-motion="on"] .aa-course-card:focus-within .aa-course-card-media img,
    .aa-home-renewed[data-motion="on"] .aa-course-card:hover .aa-course-card-media img { transform: scale(1.045); }
    .aa-home-renewed[data-motion="on"] .aa-start-link:hover span { transform: translateX(5px); }
}
@media (max-width: 800px) {
    .aa-home-renewed .aa-path-list summary { min-height: 90px; }
    .aa-motion-toggle { order: 3; }
}
@media (prefers-reduced-motion: reduce) {
    html.aa-home-motion { scroll-behavior: auto; }
    .aa-home-renewed[data-motion] .aa-start-photo > img,
    .aa-home-renewed[data-motion] h1 em::after { animation: none; }
}
@media (max-width: 800px) {
    .aa-home-renewed .aa-wrap { width: calc(100% - 40px); }
    .aa-start { padding-top: 40px; }
    .aa-start-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .aa-home-renewed .aa-start h1 { font-size: clamp(38px, 7.4vw, 56px); margin: 18px 0; }
    .aa-start-intro { font-size: 16px; line-height: 1.65; max-width: 46ch; }
    .aa-start-actions { margin-top: 24px; }
    .aa-start-photo img { height: auto; aspect-ratio: 16 / 10; }
    .aa-start-photo figcaption { padding: 16px 20px; }
    .aa-start-bottom { margin-top: 24px !important; padding: 18px 0; }
    .aa-home-courses, .aa-home-path { padding: 56px 0; }
    .aa-home-heading { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 28px; }
    .aa-home-renewed h2 { font-size: 36px; }
    .aa-home-renewed .aa-discovery-selection { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .aa-home-renewed .aa-discovery-selection .aa-course-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; margin: 0; padding: 0 0 24px; align-items: start; }
    .aa-home-renewed .aa-discovery-selection .aa-course-card-media { aspect-ratio: 1; }
    .aa-home-renewed .aa-course-card-body { padding: 0; }
    .aa-home-renewed .aa-course-category { line-height: 1.4; }
    .aa-home-renewed .aa-course-card h3 { font-size: 20px; margin: 10px 0; }
    .aa-home-purpose { padding: 48px 0; }
    .aa-purpose-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .aa-purpose-grid img { aspect-ratio: 4 / 3; }
    .aa-purpose-grid p:not(.aa-home-label) { font-size: 16px; margin: 20px 0; }
    .aa-path-list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .aa-path-number { margin-bottom: 16px; }
    .aa-path-list p { min-height: 0; max-width: none; }
    .aa-path-list .aa-start-link { margin-top: 8px; }
    .aa-home-conversation { padding: 48px 0; }
    .aa-home-conversation .aa-wrap { flex-direction: column; align-items: flex-start; gap: 28px; }
}
@media (max-width: 400px) {
    .aa-home-renewed .aa-wrap { width: calc(100% - 32px); }
    .aa-home-renewed .aa-start h1 { font-size: clamp(34px, 10vw, 39px); }
    .aa-home-renewed h2 { font-size: 32px; }
    .aa-start-actions { flex-direction: column; align-items: flex-start; gap: 8px; }
    .aa-start-photo figcaption { padding: 14px 16px; font-size: 12px; }
    .aa-start-bottom { flex-wrap: wrap; gap: 4px; }
    .aa-home-renewed .aa-discovery-selection .aa-course-card { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
    .aa-home-renewed .aa-course-card h3 { font-size: 18px; }
}
