/* ==========================================================
   AI School Lab – page styles (scoped to .asl)
   ========================================================== */
.asl {
    --asl-cream: #fcece8;
    --asl-paper: #ffffff;
    --asl-ink: var(--dark-gray, #2d2c2b);
    --asl-night: var(--nero-gray, #1e1d1d);
    --asl-red: #a01810;
    --asl-yellow: #f0d038;
    --asl-muted: rgba(45, 44, 43, .7);
    --asl-muted-dark: rgba(255, 255, 255, .62);
    --asl-line: rgba(45, 44, 43, .16);
    --asl-line-dark: rgba(255, 255, 255, .14);
    --asl-sans: var(--primary-font, 'Inter', sans-serif);
    --asl-display: var(--alt-font, 'Space Grotesk', sans-serif);
    --asl-mono: ui-monospace, "JetBrains Mono", SFMono-Regular, Menlo, Consolas, monospace;
    font-family: var(--asl-sans);
    color: var(--asl-ink);
    overflow: hidden;
}

/* ---------- shared ---------- */
.asl section { position: relative; }
.asl-section { padding-top: 130px; padding-bottom: 130px; }
.asl-cream { background: var(--asl-cream); }
.asl-paper { background: var(--asl-paper); }
.asl-dark { background: var(--asl-night); color: var(--asl-muted-dark); }
.asl-mono { font-family: var(--asl-mono); letter-spacing: .04em; }
.asl-small { display: block; font-size: 11px; text-transform: uppercase; color: var(--asl-muted); }
.asl-dark .asl-small { color: var(--asl-muted-dark); }
.asl-red { color: var(--asl-red); }

.asl-head { margin-bottom: 70px; }
.asl-h2 {
    font-family: var(--asl-display); font-weight: 600;
    font-size: 62px; line-height: 1.02; letter-spacing: -0.045em;
    color: var(--asl-ink); margin: 0;
}
.asl-dark .asl-h2 { color: #fff; }
.asl-lead { font-size: 17px; line-height: 1.65; color: var(--asl-muted); margin: 8px 0 0; }
.asl-dark .asl-lead { color: var(--asl-muted-dark); }

.asl a:focus-visible, .asl button:focus-visible { outline: 2px solid var(--asl-red); outline-offset: 3px; }

.asl-footnote { margin: 28px 0 0; font-size: 13px; color: var(--asl-muted); }
.asl-footnote i { margin-right: 8px; }
.asl-footnote-dark { color: var(--asl-muted-dark); margin-top: 60px; }

.asl-bar { display: block; height: 4px; background: rgba(45, 44, 43, .07); }
.asl-bar i { display: block; height: 100%; background: var(--asl-red); transition: width .6s cubic-bezier(.2, .7, .2, 1); }
.asl-bar-lg { height: 7px; }

.asl-js .asl-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--delay, 0ms); }
.asl-js .asl-reveal.is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.asl-hero { min-height: 780px; padding-top: 170px; padding-bottom: 80px; }
.asl-hero-copy { position: relative; z-index: 1; padding-right: 70px; }
.asl-eyebrow { display: block; margin-bottom: 24px; font-family: var(--asl-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(45, 44, 43, .6); }
.asl-hero-title { font-size: 100px; line-height: .95; letter-spacing: -0.06em; margin: 0 0 34px; }
.asl-hero-cta { margin-top: 4px; }
.asl-brush { position: relative; display: inline-block; isolation: isolate; }
.asl-brush img { position: absolute; left: -2%; bottom: 2%; z-index: -1; width: 104%; height: 46%; animation: asl-brush 1s cubic-bezier(.4, .6, .4, 1) .5s both; }
.asl-hero-tagline { font-family: var(--asl-display); font-size: 30px; line-height: 1.25; font-weight: 600; letter-spacing: -0.03em; color: var(--asl-ink); margin-bottom: 26px; max-width: 560px; }
.asl-hero-text { font-size: 16px; line-height: 1.75; color: var(--asl-muted); max-width: 540px; margin-bottom: 34px; }
.asl-hero-divider {
    position: absolute; left: calc(50% - 40px); bottom: 56px; z-index: 1;
    display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.asl-hero-divider::before { content: ""; width: 1px; height: 80px; background: var(--asl-ink); }
.asl-hero-divider span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--asl-ink); }
.asl-hero-photo { position: absolute; top: 112px; right: 0; bottom: 0; width: 50%; overflow: hidden; }
.asl-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asl-code { position: absolute; font-family: var(--asl-mono); font-size: 12px; color: var(--asl-yellow); text-shadow: 0 1px 6px rgba(0, 0, 0, .55); }
.asl-code-1 { right: 12%; top: 21%; }
.asl-code-2 { right: 20%; top: 35%; }
.asl-code-3 { right: 9%; top: 49%; }
.asl-status { position: absolute; right: 7%; bottom: 7%; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; background: rgba(30, 29, 29, .88); font-family: var(--asl-mono); font-size: 11px; color: #fff; }
.asl-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--asl-yellow); animation: asl-blink 1.4s steps(1) infinite; }
.asl-status b { color: var(--asl-yellow); font-weight: 600; }

/* ---------- innovation ---------- */
.asl-pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--asl-line); border-bottom: 1px solid var(--asl-line); }
.asl-pillar { padding: 36px 36px 40px; border-left: 1px solid var(--asl-line); transition: background-color .35s ease; }
.asl-pillar:first-child { border-left: 0; }
.asl-pillar:hover { background: rgba(255, 255, 255, .5); }
.asl-pillar-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 62px; font-size: 14px; }
.asl-pillar-top i { font-size: 19px; }
.asl-pillar h3 { font-family: var(--asl-display); font-weight: 600; font-size: 32px; letter-spacing: -0.02em; color: var(--asl-ink); margin-bottom: 14px; }
.asl-pillar p { font-size: 16px; line-height: 1.65; color: var(--asl-muted); margin-bottom: 52px; }
.asl-fn { font-size: 11.5px; }
.asl-statement { font-size: 19px; line-height: 1.65; color: var(--asl-ink); margin: 40px 0 0; }

/* ---------- implementation case ---------- */
.asl-school { border-left: 3px solid var(--asl-yellow); padding: 2px 0 4px 18px; margin: 48px 0 44px; }
.asl-school .asl-mono { display: block; font-size: 10.5px; text-transform: uppercase; color: var(--asl-yellow); margin-bottom: 10px; }
.asl-school strong { font-family: var(--asl-display); font-size: 22px; line-height: 1.4; font-weight: 600; color: #fff; }
.asl-case-text { font-size: 16.5px; line-height: 1.6; color: var(--asl-muted-dark); margin-bottom: 36px; max-width: 430px; }
.asl-activities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; max-width: 420px; }
.asl-activities li { padding: 14px 0; border-bottom: 1px solid var(--asl-line-dark); font-size: 14px; color: #fff; }
.asl-activities .asl-mono { color: var(--asl-yellow); font-size: 12px; font-weight: 700; margin-right: 14px; }
.asl-case-media { position: relative; padding: 0 0 112px; margin-left: 50px; }
.asl-case-main { display: block; width: 78%; aspect-ratio: 1 / 1; object-fit: cover; }
.asl-note { position: absolute; top: 24px; right: 0; width: 34%; padding: 26px 22px; background: var(--asl-yellow); color: var(--asl-ink); }
.asl-note .asl-mono { display: block; font-size: 9.5px; text-transform: uppercase; margin-bottom: 16px; }
.asl-note strong { font-family: var(--asl-display); font-size: 17px; line-height: 1.45; font-weight: 600; }
.asl-case-inset { position: absolute; right: 1%; bottom: 0; width: 44%; aspect-ratio: 295 / 260; object-fit: cover; border: 8px solid var(--asl-night); }

/* ---------- learning journey ---------- */
.asl-track { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); margin: 0 0 50px; }
.asl-track::before { content: ""; position: absolute; left: 8.33%; right: 8.33%; top: 40px; height: 1px; background: rgba(45, 44, 43, .3); }
.asl-level { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; background: none; border: 0; cursor: pointer; text-align: center; }
.asl-level-box {
    width: 80px; height: 80px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px;
    background: var(--asl-cream); border: 1px solid rgba(45, 44, 43, .28); font-size: 15px; color: rgba(45, 44, 43, .7);
    transition: background-color .3s ease, color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.asl-level:hover .asl-level-box { border-color: var(--asl-ink); color: var(--asl-ink); }
.asl-level[aria-selected="true"] .asl-level-box { background: var(--asl-ink); color: #fff; border-color: var(--asl-ink); box-shadow: 6px 6px 0 var(--asl-yellow); transform: translate(-3px, -3px); }
.asl-level-num { font-size: 10px; text-transform: uppercase; color: var(--asl-muted); }
.asl-level-name { font-family: var(--asl-display); font-size: 15px; font-weight: 600; color: rgba(45, 44, 43, .6); }
.asl-level[aria-selected="true"] .asl-level-name { color: var(--asl-ink); }
.asl-module {
    display: grid; grid-template-columns: 56px 1fr 34%; gap: 0 32px; align-items: start;
    max-width: 960px; margin: 0 auto; padding: 38px 30px; background: #fff; border: 1px solid rgba(45, 44, 43, .2);
}
.asl-module-id { display: flex; flex-direction: column; gap: 6px; padding-top: 30px; font-size: 18px; }
.asl-module-body h3 { font-family: var(--asl-display); font-weight: 600; font-size: 28px; letter-spacing: -0.015em; color: var(--asl-ink); margin: 10px 0 8px; }
.asl-module-body p { font-size: 16px; line-height: 1.65; color: var(--asl-muted); margin: 0; }
.asl-module-progress { padding-top: 46px; }
.asl-module-progress .asl-small { color: var(--asl-ink); margin-bottom: 12px; }

/* ---------- learning by building ---------- */
.asl-accordion { border-top: 1px solid var(--asl-line); }
.asl-acc-item { border-bottom: 1px solid var(--asl-line); scroll-margin-top: 120px; }
.asl-acc-btn { display: grid; grid-template-columns: 60px 64px 1fr auto; align-items: center; width: 100%; padding: 26px 8px 26px 0; background: none; border: 0; text-align: left; color: var(--asl-ink); }
.asl-acc-num { font-size: 11px; padding-left: 4px; }
.asl-acc-icon { font-size: 20px; color: var(--asl-ink); }
.asl-acc-title { font-family: var(--asl-display); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
.asl-acc-title .asl-small { font-family: var(--asl-mono); margin-bottom: 8px; font-weight: 400; letter-spacing: .04em; }
.asl-acc-chev { font-size: 16px; transition: transform .35s ease; }
.asl-acc-btn[aria-expanded="true"] .asl-acc-chev { transform: rotate(180deg); }
.asl-acc-btn:hover .asl-acc-title { color: var(--asl-red); }
.asl-js .asl-acc-btn[aria-expanded="false"] + .asl-acc-panel { display: none; }
.asl-js .asl-acc-btn[aria-expanded="true"] + .asl-acc-panel { animation: asl-open .45s cubic-bezier(.2, .7, .2, 1); }
.asl-acc-inner { display: grid; grid-template-columns: 453px 1fr; gap: 40px; align-items: center; padding-left: 64px; }
.asl-acc-inner { padding-bottom: 40px; }
.asl-acc-inner img { width: 100%; aspect-ratio: 453 / 279; object-fit: cover; display: block; }
.asl-acc-inner dl { margin: 0; }
.asl-acc-inner dt { font-size: 10.5px; font-weight: 400; text-transform: uppercase; margin-bottom: 8px; }
.asl-acc-inner dd { font-size: 17px; line-height: 1.55; color: var(--asl-muted); margin: 0 0 26px; }
.asl-acc-inner dd:last-child { margin-bottom: 0; }

/* ---------- social impact ---------- */
.asl-focus { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--asl-line-dark); }
.asl-focus-item { display: flex; flex-direction: column; padding: 30px 26px 30px; min-height: 378px; border-left: 1px solid var(--asl-line-dark); color: var(--asl-muted-dark); transition: background-color .35s ease; }
.asl-focus-item:first-child { border-left: 0; }
.asl-focus-item:hover { background: rgba(255, 255, 255, .04); color: var(--asl-muted-dark); }
.asl-focus-item .asl-small { font-size: 10px; margin-bottom: 64px; }
.asl-focus-icon { font-size: 20px; color: var(--asl-yellow); margin-bottom: 10px; }
.asl-focus-item h3 { font-family: var(--asl-display); font-weight: 600; font-size: 27px; color: #fff; margin-bottom: 6px; }
.asl-focus-item p { font-size: 16px; line-height: 1.6; margin-bottom: 30px; }
.asl-focus-link { margin-top: auto; font-size: 10.5px; text-transform: uppercase; color: #fff; }
.asl-focus-arrow { align-self: center; margin-top: 22px; color: var(--asl-yellow); font-size: 13px; transition: transform .3s ease; }
.asl-focus-item:hover .asl-focus-arrow { transform: translateX(5px); }

/* ---------- student growth ---------- */
.asl-growth-text { font-size: 16px; line-height: 1.75; color: var(--asl-muted); margin: 40px 0 14px; max-width: 430px; }
.asl-checks { list-style: none; margin: 0; padding: 0; }
.asl-checks li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 16px; font-weight: 600; color: var(--asl-ink); }
.asl-checks i { color: var(--asl-red); font-size: 15px; }
.asl-dash { position: relative; padding: 24px 24px 24px; background: #fff; border: 1px solid rgba(45, 44, 43, .25); box-shadow: 16px 16px 0 var(--asl-yellow); margin-right: 16px; }
.asl-dash-tag { position: absolute; top: -15px; right: 16px; padding: 7px 10px; background: var(--asl-yellow); font-size: 9.5px; font-weight: 700; text-transform: uppercase; color: var(--asl-ink); }
.asl-dash-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.asl-dash-head .asl-small { font-size: 10px; margin-bottom: 6px; }
.asl-dash-head strong { font-family: var(--asl-display); font-size: 22px; font-weight: 600; color: var(--asl-ink); }
.asl-dash-avatar { margin-top: 18px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--asl-red); color: #fff; font-weight: 700; font-size: 15px; }
.asl-dash-progress { display: flex; justify-content: space-between; font-size: 16px; color: var(--asl-ink); margin-bottom: 10px; }
.asl-dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0 26px; }
.asl-dash-stats div { display: flex; flex-direction: column; padding: 16px; background: var(--asl-cream); }
.asl-dash-stats i { color: var(--asl-red); font-size: 18px; margin-bottom: 10px; }
.asl-dash-stats b { font-family: var(--asl-display); font-size: 26px; font-weight: 600; line-height: 1; color: var(--asl-ink); margin-bottom: 8px; }
.asl-dash-stats span { font-size: 12px; color: var(--asl-muted); }
.asl-dash-skills { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.asl-dash-skills li { display: grid; grid-template-columns: 128px 1fr; align-items: center; font-size: 12px; color: var(--asl-muted); }
.asl-dash-skills i { display: block; height: 4px; position: relative; }
.asl-dash-skills i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--asl-red); transform-origin: left; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1) .2s; }
.asl-js .asl-dash:not(.is-in) .asl-dash-skills i::after { transform: scaleX(0); }
.asl-dash-next { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid rgba(45, 44, 43, .3); }
.asl-dash-next > i { font-size: 22px; color: var(--asl-red); }
.asl-dash-next .asl-small { font-size: 9px; margin-bottom: 4px; }
.asl-dash-next strong { font-size: 16px; color: var(--asl-ink); }

/* ---------- vision ---------- */
.asl-vision { position: relative; overflow: hidden; padding: 160px 0 170px; background: var(--asl-red); color: #fff; }
.asl-vision-bg {
    position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%);
    font-family: var(--asl-display); font-size: 24vw; font-weight: 500; letter-spacing: -0.02em; line-height: 1;
    color: rgba(255, 255, 255, .07); white-space: nowrap; pointer-events: none; user-select: none;
}
.asl-vision-title { font-family: var(--asl-display); font-weight: 600; font-size: 100px; line-height: .98; letter-spacing: -0.05em; color: #fff; margin-bottom: 32px; }
.asl-vision-text { font-size: 16.5px; line-height: 1.7; color: rgba(255, 255, 255, .85); max-width: 660px; margin: 0 auto 50px; }
.asl-vision-lines { margin: 0 0 66px; font-family: var(--asl-display); font-size: 40px; line-height: 1.45; font-weight: 600; letter-spacing: -0.03em; }
.asl-vision-lines span { display: block; }
.asl-vision-lines .is-yellow { color: var(--asl-yellow); }
.asl-vision-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- keyframes ---------- */
@keyframes asl-brush { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes asl-blink { 50% { opacity: .2; } }
@keyframes asl-open { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    .asl-hero-title { font-size: 82px; }
    .asl-h2 { font-size: 54px; }
    .asl-vision-title { font-size: 84px; }
    .asl-acc-inner { grid-template-columns: 380px 1fr; }
    .asl-focus { grid-template-columns: repeat(2, 1fr); }
    .asl-focus-item:nth-child(3) { border-left: 0; }
    .asl-focus-item:nth-child(n+3) { border-top: 1px solid var(--asl-line-dark); }
    .asl-focus-item { min-height: 0; }
}
@media (max-width: 991px) {
    .asl-section { padding-top: 90px; padding-bottom: 90px; }
    .asl-head { margin-bottom: 44px; }
    .asl-lead { margin-top: 20px; }
    .asl-hero { min-height: 0; padding-top: 120px; padding-bottom: 0; }
    .asl-hero-divider { display: none; }
    .asl-hero-copy { padding-right: 15px; }
    .asl-hero-photo { position: relative; top: auto; width: auto; height: 420px; margin-top: 56px; }
    .asl-pillars { grid-template-columns: 1fr; }
    .asl-pillar { border-left: 0; border-top: 1px solid var(--asl-line); padding: 30px 4px; }
    .asl-pillar:first-child { border-top: 0; }
    .asl-pillar-top { margin-bottom: 30px; }
    .asl-pillar p { margin-bottom: 22px; }
    .asl-case-media { margin-left: 0; }
    .asl-track { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
    .asl-track::before { display: none; }
    .asl-module { grid-template-columns: 48px 1fr; gap: 20px; }
    .asl-module-progress { grid-column: 1 / -1; padding-top: 0; }
    .asl-acc-inner { grid-template-columns: 1fr 1fr; padding-left: 0; }
    .asl-vision { padding: 110px 0 120px; }
    .asl-vision-title { font-size: 64px; }
    .asl-vision-lines { font-size: 30px; }
}
@media (max-width: 767px) {
    .asl-hero-title { font-size: 60px; letter-spacing: -0.05em; }
    .asl-hero-tagline { font-size: 23px; }
    .asl-hero-photo { height: 320px; }
    .asl-code { font-size: 10.5px; }
    .asl-code-2 { display: none; }
    .asl-h2 { font-size: 40px; }
    .asl-case-main { width: 100%; }
    .asl-case-media { padding-bottom: 0; }
    .asl-note { position: relative; top: auto; width: auto; margin-top: -40px; margin-left: 24px; }
    .asl-case-inset { position: relative; width: 70%; margin: -30px 0 0 auto; display: block; }
    .asl-activities { max-width: none; }
    .asl-level-box { width: 64px; height: 64px; font-size: 13px; }
    .asl-level-name { font-size: 13px; }
    .asl-module { grid-template-columns: 1fr; padding: 26px 22px; }
    .asl-module-id { flex-direction: row; padding-top: 0; gap: 12px; }
    .asl-acc-btn { grid-template-columns: 34px 34px 1fr auto; padding: 20px 0; }
    .asl-acc-title { font-size: 20px; }
    .asl-acc-inner { grid-template-columns: 1fr; gap: 22px; }
    .asl-focus { grid-template-columns: 1fr; }
    .asl-focus-item { border-left: 0; border-top: 1px solid var(--asl-line-dark); }
    .asl-focus-item:first-child { border-top: 0; }
    .asl-focus-item .asl-small { margin-bottom: 26px; }
    .asl-dash { margin-right: 10px; box-shadow: 10px 10px 0 var(--asl-yellow); padding: 22px 16px; }
    .asl-dash-stats { gap: 8px; }
    .asl-dash-stats div { padding: 12px 10px; }
    .asl-dash-skills li { grid-template-columns: 110px 1fr; }
    .asl-vision-title { font-size: 46px; }
    .asl-vision-lines { font-size: 25px; }
    .asl-vision-bg { font-size: 34vw; }
}

@media (prefers-reduced-motion: reduce) {
    .asl *, .asl *::before, .asl *::after { animation: none !important; transition-duration: .01ms !important; }
    .asl-js .asl-reveal { opacity: 1; transform: none; }
}
