.about-page {
    --about-surface: var(--surface-solid, var(--card-bg));
    --about-surface-tint: color-mix(in srgb, var(--about-surface) 90%, var(--primary-color) 10%);
    --about-hero-surface: color-mix(in srgb, var(--about-surface) 78%, var(--primary-color) 22%);
    --about-copy: var(--text-main);
    --about-muted: color-mix(in srgb, var(--text-main) 74%, var(--about-surface) 26%);
    --about-faint: color-mix(in srgb, var(--text-main) 58%, var(--about-surface) 42%);
    width: min(100%, 1280px);
    max-width: none;
    margin: 0 auto;
    padding: clamp(1rem, 2.2vw, 2rem) clamp(1rem, 2.2vw, 2rem) 5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(5rem, 11vw, 9rem);
    color: var(--text-color);
}

body.layout-with-sidebar main.about-page { width: min(100%, 1280px); margin: 0 auto; }

.about-page * { box-sizing: border-box; }
.about-page a { text-decoration: none; }
.about-page a:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 4px; }
.about-page h1, .about-page h2, .about-page p { margin-top: 0; }
.about-page em { font-style: normal; }

.about-hero {
    min-height: min(760px, calc(100svh - 3rem));
    padding: clamp(2.5rem, 6vw, 5.5rem);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    align-items: center;
    gap: clamp(1rem, 4vw, 4rem);
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid var(--border-hard);
    background: var(--about-hero-surface);
    color: var(--about-copy);
    isolation: isolate;
}

.about-hero::after {
    content: "ETU 2";
    position: absolute;
    right: -1.2rem;
    bottom: -5.5rem;
    color: color-mix(in srgb, var(--about-copy) 6%, transparent);
    font-size: clamp(11rem, 28vw, 26rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.09em;
    pointer-events: none;
    z-index: -1;
}

.about-hero__copy { position: relative; z-index: 2; }
.about-kicker, .about-section-label {
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.about-kicker { display: flex; align-items: center; gap: .8rem; color: var(--about-muted); margin-bottom: 2rem; }
.about-kicker__line { display: block; width: 2.2rem; height: 1px; background: currentColor; }
.about-hero h1 {
    margin-bottom: 1.8rem;
    font-size: clamp(3.4rem, 6.6vw, 6.4rem);
    font-weight: 850;
    line-height: .98;
    letter-spacing: -.075em;
}
.about-hero h1 em { color: var(--primary-color); }
.about-hero__intro {
    max-width: 32rem;
    margin-bottom: 2.3rem;
    color: var(--about-muted);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.68;
}
.about-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.about-button {
    min-height: 3.3rem;
    padding: .85rem 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 750;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.about-button:hover { transform: translateY(-3px); }
.about-button span { font-size: 1.2rem; line-height: 1; }
.about-button--bright { background: var(--primary-color); color: var(--text-on-accent); }
.about-button--bright:hover { background: var(--accent-secondary); }
.about-text-link { display: inline-flex; gap: .6rem; align-items: center; color: var(--about-muted); font-size: .9rem; font-weight: 700; }
.about-text-link:hover { color: var(--about-copy); }
.about-text-link span { font-size: 1.2rem; }
.about-scroll-cue {
    position: absolute;
    left: clamp(2.5rem, 6vw, 5.5rem);
    bottom: 1.7rem;
    display: flex;
    gap: .55rem;
    align-items: center;
    color: var(--about-faint);
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .16em;
}
.about-scroll-cue span { font-size: 1rem; animation: about-bounce 2.4s ease-in-out infinite; }
.about-hero__visual {
    width: min(100%, 460px);
    aspect-ratio: 1;
    position: relative;
    display: grid;
    place-items: center;
    justify-self: center;
}
.about-orbit { position: absolute; border: 1px solid color-mix(in srgb, var(--primary-color) 28%, transparent); border-radius: 50%; pointer-events: none; }
.about-orbit--outer { width: 100%; height: 100%; border-style: dashed; animation: about-orbit 50s linear infinite; }
.about-orbit--outer::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-color); box-shadow: 0 0 18px var(--primary-color); }
.about-orbit--inner { width: 82%; height: 82%; }
.about-orbit__label {
    position: absolute;
    z-index: 2;
    padding: .45rem .65rem;
    background: var(--about-hero-surface);
    color: var(--about-faint);
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .16em;
    white-space: nowrap;
}
.about-orbit__label--top { top: 3%; right: 4%; }
.about-orbit__label--bottom { bottom: 4%; left: 3%; }
.about-logo { width: 75%; aspect-ratio: 1; display: grid; place-items: center; position: relative; }
.about-logo canvas { width: 220%; height: 220%; display: block; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.about-logo img { width: 100%; height: 100%; object-fit: contain; }

.about-story { display: flex; flex-direction: column; gap: 1.5rem; padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--border-hard); border-radius: 28px; background: var(--card-bg); }
.about-story > .about-section-label { margin-bottom: 0; }
.about-story__lead { max-width: 49rem; margin-bottom: 1.8rem; color: var(--text-muted); font-size: clamp(1.15rem, 2vw, 1.7rem); line-height: 1.5; }
.about-story__lead a { color: var(--primary-color); text-decoration: underline; text-underline-offset: .18em; }
.about-story__lead a:hover { color: var(--accent-secondary); }
.about-story__lead strong { color: var(--text-color); }
.about-story h2, .about-section-head h2, .about-principles h2, .about-next h2 {
    margin-bottom: 2rem;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 820;
    line-height: 1.04;
    letter-spacing: -.065em;
}
.about-story h2 em, .about-section-head h2 em, .about-principles h2 em { color: var(--primary-color); }
.about-story__columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); max-width: 56rem; }
.about-story__columns p { margin-bottom: 0; padding: 1.25rem 1.4rem; border: 1px solid var(--border-soft); border-radius: 15px; background: color-mix(in srgb, var(--primary-color) 5%, var(--card-bg)); color: var(--text-muted); line-height: 1.8; }
.about-story__columns strong { color: var(--text-color); }

.about-section-head { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 2rem; padding: clamp(2rem, 4vw, 3rem); border: 1px solid var(--border-hard); border-radius: 24px; background: var(--card-bg); }
.about-section-head h2 { margin-bottom: 0; }
.about-section-head > p { max-width: 19rem; margin-bottom: .4rem; color: var(--text-muted); line-height: 1.7; }
.about-section-label { margin-bottom: 1.35rem; color: var(--text-muted); }
.about-section-label span { color: var(--primary-color); }
.about-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.about-feature {
    min-height: 350px;
    padding: clamp(1.3rem, 2.3vw, 2rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-hard);
    border-radius: 22px;
    background: var(--card-bg);
    color: var(--text-color);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.about-feature:hover { transform: translateY(-6px); border-color: var(--primary-color); box-shadow: 0 20px 34px color-mix(in srgb, var(--primary-color) 12%, transparent); }
.about-feature--wide { grid-column: span 2; background: color-mix(in srgb, var(--primary-color) 9%, var(--card-bg)); }
.about-feature:last-child { grid-column: span 3; min-height: 250px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; }
.about-feature:last-child .about-feature__top { grid-column: 1; grid-row: 1; }
.about-feature:last-child .about-feature__body { grid-column: 1; grid-row: 2; align-self: end; }
.about-feature:last-child .about-feature__art { grid-column: 2; grid-row: 1 / 3; height: 100%; margin: 0; }
.about-feature__top { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.about-feature__index { color: var(--text-muted); font-size: .66rem; font-weight: 850; letter-spacing: .16em; }
.about-feature__arrow { box-sizing: border-box; flex: 0 0 2rem; width: 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid var(--border-hard); border-radius: 50%; font-size: 1.1rem; line-height: 1; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.about-feature:hover .about-feature__arrow, .about-feature:focus-visible .about-feature__arrow { transform: translate(2px, -2px); background: var(--primary-color); color: var(--text-on-accent); border-color: var(--primary-color); }
.about-feature:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 4px; }
.about-feature__body { margin-top: auto; display: grid; gap: .6rem; max-width: 28rem; }
.about-feature__body strong { font-size: clamp(1.35rem, 2vw, 1.8rem); letter-spacing: -.035em; }
.about-feature__body > span { color: var(--text-muted); line-height: 1.55; font-size: .92rem; }
.about-feature__art { width: 100%; height: 145px; margin: 1.4rem 0 1.2rem; display: grid; place-items: center; color: var(--primary-color); }
.about-feature__art svg { display: block; width: min(100%, 300px); height: 100%; }
.about-feature:last-child .about-feature__art svg { width: min(100%, 350px); }

.about-principles {
    padding: clamp(2rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 6rem);
    border-radius: 28px;
    border: 1px solid var(--border-hard);
    background: var(--about-hero-surface);
    color: var(--about-copy);
}
.about-principles .about-section-label { color: var(--about-muted); }
.about-principles h2 { margin-bottom: 1.3rem; }
.about-principles h2 em { color: var(--primary-color); }
.about-principles__lead > p:last-child { max-width: 32rem; color: var(--about-muted); line-height: 1.75; }
.about-principles__list { display: grid; }
.about-principles__list { gap: .65rem; }
.about-principles__list > div { padding: 1.2rem; display: grid; grid-template-columns: 2.5rem 1fr; column-gap: 1rem; border: 1px solid var(--border-hard); border-radius: 14px; background: var(--about-surface); }
.about-principles__list span { grid-row: span 2; padding-top: .2rem; color: var(--primary-color); font-size: .7rem; font-weight: 850; }
.about-principles__list strong { font-size: 1.15rem; }
.about-principles__list p { margin: .4rem 0 0; color: var(--about-muted); line-height: 1.5; font-size: .9rem; }

.about-next { width: min(100%, 900px); margin: 0 auto; padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--border-hard); border-radius: 28px; background: var(--card-bg); text-align: center; }
.about-next h2 { margin-bottom: 1.2rem; }
.about-next h2 em { color: var(--primary-color); }
.about-next > p:not(.about-section-label) { max-width: 38rem; margin: 0 auto 2rem; color: var(--text-muted); line-height: 1.7; }
.about-next__actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.5rem; }
.about-button--dark { background: var(--primary-color); color: var(--text-on-accent); }
.about-button--dark:hover { background: var(--accent-secondary); }
.about-next__link { color: var(--text-muted); font-size: .9rem; font-weight: 700; }
.about-next__link:hover { color: var(--primary-color); }

/* Keep the theme's surfaces behind each text block, including wallpaper themes. */
.about-story, .about-section-head, .about-feature, .about-next { background: var(--about-surface); color: var(--about-copy); }
.about-feature--wide { background: var(--about-surface-tint); }
.about-story__columns p { background: var(--about-surface-tint); }
.about-story__lead, .about-story__columns p, .about-section-head > p,
.about-feature__body > span, .about-next > p:not(.about-section-label),
.about-feature__index, .about-next__link, .about-section-label { color: var(--about-muted); }
.about-feature__art svg [fill="var(--card-bg)"] { fill: var(--about-surface); }
.about-feature--wide .about-feature__art svg [fill="var(--card-bg)"] { fill: var(--about-surface-tint); }

.about-motion-ready .about-reveal { transform: translateY(28px); transition: transform .75s ease; }
.about-motion-ready .about-reveal.is-visible { transform: translateY(0); }
.about-feature-grid .about-reveal:nth-child(2), .about-feature-grid .about-reveal:nth-child(5) { transition-delay: .08s; }
.about-feature-grid .about-reveal:nth-child(3), .about-feature-grid .about-reveal:nth-child(6) { transition-delay: .16s; }
@keyframes about-orbit { to { transform: rotate(360deg); } }
@keyframes about-bounce { 50% { transform: translateY(5px); } }

@media (max-width: 1020px) {
    .about-hero { grid-template-columns: 1fr 300px; min-height: 650px; }
    .about-hero h1 { font-size: clamp(3.2rem, 6vw, 5rem); }
    .about-orbit__label { display: none; }
}
@media (max-width: 780px) {
    .about-page { gap: 5rem; }
    .about-hero { grid-template-columns: 1fr; min-height: 0; padding-bottom: 4.5rem; }
    .about-hero__visual { grid-row: 1; width: min(65vw, 280px); }
    .about-hero h1 { font-size: clamp(3rem, 10vw, 5rem); }
    .about-scroll-cue { bottom: 1.25rem; }
    .about-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-feature:last-child { grid-column: span 2; }
    .about-principles { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .about-page { padding: .6rem .6rem 4rem; gap: 4.5rem; }
    .about-hero { border-radius: 22px; padding: 2rem 1.5rem 4rem; }
    .about-hero__visual { width: min(68vw, 240px); }
    .about-kicker { margin-bottom: 1rem; }
    .about-hero h1 { font-size: clamp(2.9rem, 12vw, 4.5rem); }
    .about-hero__intro { font-size: 1rem; }
    .about-scroll-cue { left: 1.5rem; }
    .about-features { padding: 0 .7rem; }
    .about-story, .about-next { padding: 1.5rem; }
    .about-story__columns { grid-template-columns: 1fr; }
    .about-section-head { display: block; }
    .about-section-head > p { margin-top: 1.5rem; }
    .about-feature-grid { grid-template-columns: 1fr; }
    .about-feature--wide { grid-column: auto; }
    .about-feature:last-child { grid-column: auto; min-height: 330px; display: flex; }
    .about-feature:last-child .about-feature__art { height: 145px; margin: 1.4rem 0 1.2rem; }
    .about-feature { min-height: 330px; }
    .about-principles { border-radius: 22px; padding: 2rem 1.5rem; }
    .about-next { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .about-orbit--outer, .about-scroll-cue span { animation: none; }
    .about-button, .about-feature, .about-feature__arrow { transition: none; }
    .about-button:hover, .about-feature:hover { transform: none; }
    .about-motion-ready .about-reveal { transform: none; transition: none; }
}
