@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg: #eeeae1;
    --ink: #191d20;
    --muted: #626866;
    --accent: #ed5b35;
    --line: #c7c8c1;
    --dark: #111c23
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: 'DM Sans', Arial, sans-serif
}

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

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

button {
    font: inherit;
    cursor: pointer
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

i,
em {
    font-style: normal;
    color: var(--accent)
}

.mini-label {
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 0 4%;
    height: 88px;
    border-bottom: 1px solid #d2d1cc;
    background: rgba(238, 234, 225, .96);
    backdrop-filter: blur(15px)
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 200px;
    font-size: 25px;
    line-height: .8;
    font-weight: 700;
    letter-spacing: -.09em
}

.brand small {
    font-size: 7px;
    letter-spacing: .1em;
    display: block;
    margin-top: 10px;
    font-weight: 700
}

.brand-star {
    font-size: 34px;
    color: var(--accent)
}

.desktop-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.25vw, 24px);
    position: relative
}

.desktop-nav>a,
.nav-more,
.header-cta {
    font-size: 10px;
    letter-spacing: .065em;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap
}

.desktop-nav>a:hover,
.desktop-nav .current {
    color: var(--accent)
}

.nav-more {
    border: 0;
    background: transparent;
    padding: 12px
}

.more-list {
    display: none;
    position: absolute;
    right: 0;
    top: 41px;
    min-width: 270px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 15px 35px #0002;
    border: 1px solid var(--line)
}

.more-list.show {
    display: grid
}

.more-list a {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    font-size: 12px
}

.more-list a:hover {
    color: var(--accent)
}

.header-cta {
    background: var(--ink);
    color: white;
    margin-left: 28px;
    padding: 15px
}

.header-cta span {
    color: var(--accent)
}

.hamburger {
    display: none;
    margin-left: auto;
    background: transparent;
    border: 0;
    font-size: 26px
}

.mobile-menu {
    display: none
}

.home-hero {
    min-height: min(850px, 90svh);
    position: relative;
    background: #121920;
    color: white
}

.hero-photo,
.chapter-image {
    position: absolute;
    inset: 0;
    overflow: hidden
}

.hero-photo:after,
.chapter-image:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0c1118cb 0%, #10181b2a 100%)
}

.hero-photo img {
    object-position: 70% center;
    animation: slowZoom 16s ease-in-out infinite alternate
}

.home-hero-inner {
    position: relative;
    z-index: 2;
    padding: clamp(110px, 13vw, 210px) 6% 140px
}

.home-hero-inner h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(74px, 12vw, 190px);
    line-height: .82;
    letter-spacing: -.095em;
    margin: 32px 0;
    font-weight: 700
}

.home-hero-inner p {
    font-size: 17px;
    line-height: 1.6;
    max-width: 430px
}

.circle-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 144px;
    height: 144px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-align: center;
    position: absolute;
    right: 8%;
    bottom: 80px;
    transition: transform .4s
}

.circle-link:hover {
    transform: rotate(-14deg) scale(1.07)
}

.circle-link b {
    font-size: 20px
}

.hero-bottom-note {
    position: absolute;
    left: 6%;
    bottom: 28px;
    z-index: 2;
    font-size: 10px;
    letter-spacing: .19em
}

.hero-bottom-note span {
    padding-left: 20px;
    color: var(--accent)
}

.intro-band {
    display: grid;
    grid-template-columns: 1fr 3fr 1.5fr;
    gap: 30px;
    padding: 120px 6%;
    align-items: start
}

.intro-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 6vw, 102px);
    letter-spacing: -.08em;
    line-height: .9;
    font-weight: 700
}

.intro-band p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--muted)
}

.exhibit-grid,
.all-paths,
.topics,
.related-links {
    padding: 60px 6% 110px
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    border-top: 1px solid var(--ink);
    padding: 22px 0 40px;
    gap: 15px
}

.section-head span {
    font-size: 11px;
    letter-spacing: .16em
}

.section-head h2 {
    font-size: clamp(26px, 3vw, 49px);
    font-family: 'Space Grotesk';
    letter-spacing: -.06em
}

.exhibit-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px
}

.exhibit-card {
    height: clamp(380px, 44vw, 620px);
    position: relative;
    overflow: hidden;
    background: #182530;
    color: white
}

.exhibit-card:nth-child(2) {
    margin-top: 75px
}

.exhibit-card:nth-child(3) {
    margin-top: 145px
}

.exhibit-card img,
.related-grid img {
    transition: transform .65s
}

.exhibit-card:hover img,
.related-grid a:hover img {
    transform: scale(1.07)
}

.exhibit-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 30px;
    background: linear-gradient(transparent, #000b)
}

.exhibit-overlay span {
    font-size: 11px;
    letter-spacing: .12em
}

.exhibit-overlay h3 {
    font-size: clamp(24px, 2.6vw, 38px);
    letter-spacing: -.05em;
    margin: 18px 0
}

.exhibit-overlay b {
    font-size: 24px
}

.photo-break {
    position: relative;
    min-height: 690px;
    background: #0c1721;
    color: white;
    overflow: hidden
}

.photo-break>img {
    position: absolute;
    inset: 0;
    opacity: .75
}

.photo-break-content {
    position: relative;
    padding: 170px 6%
}

.photo-break h2 {
    font-size: clamp(54px, 8vw, 128px);
    letter-spacing: -.09em;
    line-height: .9;
    margin: 25px 0 45px
}

.light-button,
.outlined-action {
    display: inline-flex;
    gap: 30px;
    padding: 20px 25px;
    border: 1px solid currentColor;
    font-size: 11px;
    letter-spacing: .12em;
    font-weight: 700
}

.path-list a {
    display: grid;
    grid-template-columns: 10% 1fr 45px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 25px 20px;
    transition: background .3s, padding-left .3s
}

.path-list a:first-child {
    border-top: 1px solid var(--line)
}

.path-list a:hover {
    background: #dedbd2;
    padding-left: 32px
}

.path-list strong {
    font-size: clamp(20px, 3.4vw, 50px);
    letter-spacing: -.055em
}

.path-list span {
    font-size: 13px;
    color: var(--accent)
}

.path-list b {
    font-size: 22px
}

.chapter-hero {
    height: clamp(570px, 73vh, 850px);
    background: #172029;
    color: white;
    position: relative;
    display: flex;
    align-items: center
}

.chapter-image:after {
    background: linear-gradient(90deg, #0a111cdd 0%, #0a111c44 90%)
}

.chapter-image img {
    animation: slowZoom 17s infinite alternate
}

.chapter-caption {
    padding: 80px 7% 0;
    position: relative;
    z-index: 2;
    max-width: 950px
}

.chapter-caption h1 {
    font-family: 'Space Grotesk';
    font-size: clamp(56px, 9vw, 136px);
    line-height: .92;
    letter-spacing: -.085em;
    margin: 32px 0
}

.chapter-caption p {
    max-width: 560px;
    font-size: 17px;
    line-height: 1.7
}

.outlined-action {
    margin-top: 20px
}

.chapter-no {
    position: absolute;
    bottom: 32px;
    right: 5%;
    font-size: 12px;
    letter-spacing: .2em
}

.chapter-intro {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 10%;
    padding: 130px 7%
}

.chapter-intro h2 {
    font-size: clamp(45px, 6vw, 95px);
    letter-spacing: -.075em;
    line-height: 1;
    margin: 30px 0 0
}

.chapter-intro p {
    font-size: 22px;
    line-height: 1.6
}

.chapter-count {
    font-size: 11px;
    letter-spacing: .2em;
    color: var(--accent)
}

.topic-nav {
    padding: 40px 7% 80px;
    background: #dcdcd3
}

.topic-nav-heading {
    font-size: 11px;
    letter-spacing: .18em;
    border-bottom: 1px solid #999;
    padding-bottom: 25px;
    display: flex;
    justify-content: space-between
}

.topic-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 35px;
    margin-top: 20px
}

.topic-links a {
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #b8b8af;
    padding: 17px 0
}

.topic-links a:hover {
    color: var(--accent)
}

.story-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 7%;
    margin: 30px 0 120px;
    scroll-margin-top: 120px
}

.story-row.reverse .story-photo {
    order: 2
}

.story-photo {
    position: relative;
    min-height: 390px;
    height: clamp(420px, 47vw, 650px);
    background: #17222a;
    overflow: hidden
}

.story-photo img {
    transition: transform .8s
}

.story-row:hover .story-photo img {
    transform: scale(1.035)
}

.photo-index {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 11px;
    background: var(--bg);
    padding: 12px;
    letter-spacing: .13em
}

.story-copy {
    padding: 12px
}

.story-copy h2 {
    font-family: 'Space Grotesk';
    font-size: clamp(38px, 5.2vw, 84px);
    letter-spacing: -.08em;
    line-height: .99;
    margin: 28px 0
}

.story-copy>p {
    font-size: 18px;
    line-height: 1.75;
    max-width: 520px
}

.story-copy .support {
    font-size: 14px;
    color: var(--muted)
}

.inline-arrow {
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .14em;
    display: inline-flex;
    justify-content: space-between;
    gap: 65px;
    border-bottom: 1px solid var(--ink);
    padding: 16px 0;
    margin-top: 16px
}

.inline-arrow span {
    color: var(--accent)
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.related-grid a {
    position: relative;
    height: 450px;
    overflow: hidden;
    background: #15212a
}

.related-grid span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, #000a);
    padding: 50px 30px 25px;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.045em;
    display: flex;
    justify-content: space-between
}

.site-note {
    padding: 30px 7%;
    font-size: 13px;
    color: var(--muted)
}

.contact-cta {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 100px 20px
}

.contact-cta h2 {
    font-size: clamp(48px, 6vw, 90px);
    letter-spacing: -.07em
}

footer {
    background: #142029;
    color: #fff;
    padding: 90px 6% 30px
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 65px;
    padding-bottom: 95px
}

.footer-motto {
    font-size: clamp(55px, 8vw, 120px);
    line-height: .88;
    letter-spacing: -.09em;
    font-weight: 700
}

.footer-top>div:last-child {
    max-width: 320px
}

.footer-top p {
    font-size: 17px;
    line-height: 1.7;
    color: #ccd4d7;
    margin: 30px 0
}

.stamp {
    font-size: 11px;
    letter-spacing: .14em
}

.underline-link {
    border-bottom: 1px solid #fff;
    padding-bottom: 8px
}

.footer-bottom {
    border-top: 1px solid #4c5962;
    padding-top: 26px;
    font-size: 11px;
    letter-spacing: .07em;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #bfcbd0
}

.reveal {
    opacity: 1;
    transform: none
}

.motion .reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .8s, transform .8s
}

.motion .reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

@keyframes slowZoom {
    to {
        transform: scale(1.1)
    }
}

@media(max-width:1250px) {
    .desktop-nav {
        display: none
    }

    .hamburger {
        display: block
    }

    .header-cta {
        margin-left: auto
    }

    .mobile-menu.open {
        display: grid;
        position: fixed;
        z-index: 99;
        top: 88px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 88px);
        overflow: auto;
        background: var(--bg);
        padding: 16px 4%;
        box-shadow: 0 18px 25px #0003
    }

    .mobile-menu a {
        display: flex;
        justify-content: space-between;
        padding: 13px;
        border-bottom: 1px solid var(--line)
    }

    .mobile-menu span {
        color: var(--accent)
    }
}

@media(max-width:770px) {
    .site-header {
        height: 70px
    }

    .mobile-menu.open {
        top: 70px;
        max-height: calc(100vh - 70px)
    }

    .header-cta {
        display: none
    }

    .home-hero-inner {
        padding: 130px 6% 200px
    }

    .home-hero-inner h1 {
        font-size: clamp(65px, 14vw, 100px)
    }

    .circle-link {
        width: 110px;
        height: 110px;
        right: 7%;
        bottom: 64px
    }

    .intro-band,
    .chapter-intro {
        grid-template-columns: 1fr;
        padding: 75px 6%
    }

    .exhibit-cards,
    .related-grid,
    .topic-links {
        grid-template-columns: 1fr
    }

    .exhibit-card:nth-child(n) {
        margin-top: 0
    }

    .exhibit-card {
        height: 400px
    }

    .exhibit-grid,
    .all-paths,
    .topics,
    .related-links {
        padding: 45px 6% 65px
    }

    .story-row {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 75px
    }

    .story-row.reverse .story-photo {
        order: 0
    }

    .story-photo {
        height: 350px;
        min-height: 350px
    }

    .story-copy h2 {
        font-size: clamp(36px, 9vw, 62px)
    }

    .story-copy>p {
        font-size: 16px
    }

    .chapter-caption {
        padding: 50px 6% 0
    }

    .chapter-caption h1 {
        font-size: clamp(50px, 11vw, 80px)
    }

    .footer-top,
    .footer-bottom {
        display: block
    }

    .footer-top>div:last-child {
        margin-top: 60px
    }

    .footer-bottom>* {
        display: block;
        margin: 12px 0
    }

    .photo-break {
        min-height: 560px
    }

    .photo-break-content {
        padding: 120px 6%
    }
}

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

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }

    .motion .reveal {
        opacity: 1;
        transform: none
    }
}

/* SPACE 1 — Premium Monochrome Theme */
:root {
    --bg: #f5f5f3;
    --ink: #0d0d0d;
    --muted: #565656;
    --accent: #151515;
    --line: #bcbcbc;
    --dark: #080808
}

body {
    background: #f5f5f3;
    color: #0d0d0d
}

.site-header {
    background: rgba(250, 250, 250, .96);
    border-bottom-color: #d0d0d0
}

.brand-star {
    color: #070707
}

.desktop-nav>a:hover,
.desktop-nav .current,
.more-list a:hover {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 5px
}

.more-list {
    background: #fff;
    border-color: #cfcfcf;
    box-shadow: 0 16px 35px #0002
}

.header-cta {
    background: #101010;
    color: #fff
}

.header-cta span {
    color: #fff
}

.mini-label,
.chapter-count,
.path-list span,
.inline-arrow span,
.topic-links a:hover {
    color: #222
}

.home-hero,
.chapter-hero,
.photo-break,
.contact-cta,
footer {
    background: #090909;
    color: #fff
}

.hero-photo:after,
.chapter-image:after {
    background: linear-gradient(90deg, rgba(0, 0, 0, .90), rgba(0, 0, 0, .16))
}

.chapter-image:after {
    background: linear-gradient(90deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .30))
}

img {
    /* filter: grayscale(100%) contrast(1.07); */
    transition: filter .4s, transform .7s
}

.home-hero i,
.home-hero em,
.chapter-hero i,
.chapter-hero em,
.photo-break i,
.photo-break em,
.contact-cta i,
.contact-cta em {
    color: #fff;
    -webkit-text-stroke: 1px #fff
}

.circle-link {
    background: #fff;
    color: #080808;
    border: 2px solid #080808
}

.circle-link:hover {
    background: #ddd
}

.hero-bottom-note span {
    color: #fff
}

.exhibit-card,
.related-grid a,
.story-photo {
    background: #151515
}

.exhibit-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, .92))
}

.path-list a:hover {
    background: #e3e3e3
}

.topic-nav {
    background: #e8e8e8
}

.topic-nav-heading {
    border-bottom-color: #999
}

.topic-links a {
    border-bottom-color: #b4b4b4
}

.photo-index {
    background: #fff;
    color: #111
}

.inline-arrow {
    border-bottom-color: #111
}

.contact-cta {
    border-top: 1px solid #444
}

.footer-top p,
.footer-bottom {
    color: #bdbdbd
}

.light-button,
.outlined-action {
    transition: background .3s, color .3s, transform .3s
}

.light-button:hover,
.outlined-action:hover {
    background: #fff;
    color: #111;
    transform: translateY(-3px)
}

.reveal.visible {
    will-change: auto
}

@media(max-width:1250px) {
    .mobile-menu.open {
        background: #f5f5f3
    }
}


/* SPACE 1 // DEEP BLACK EDITION + INTERACTIVE CURSOR */
:root {
    --bg: #050505;
    --ink: #f8f8f8;
    --muted: #b8b8b8;
    --accent: #ffffff;
    --line: #343434;
    --dark: #020202
}

html {
    background: #050505
}

body {
    background: #050505 !important;
    color: #f8f8f8 !important
}

.site-header {
    background: rgba(4, 4, 4, .92) !important;
    border-bottom: 1px solid #282828 !important;
    color: #fff
}

.brand,
.brand-star,
.desktop-nav a,
.desktop-nav button,
.hamburger,
.nav-more {
    color: #fff !important
}

.desktop-nav>a:hover,
.desktop-nav .current,
.more-list a:hover {
    color: #fff !important
}

.more-list,
.mobile-menu.open {
    background: #101010 !important;
    border: 1px solid #353535 !important;
    color: #fff !important
}

.more-list a,
.mobile-menu a {
    color: #fff !important
}

.header-cta {
    background: #fff !important;
    color: #050505 !important;
    border: 1px solid #fff !important
}

.header-cta span {
    color: #050505 !important
}

.intro-band,
.chapter-intro,
.exhibit-grid,
.all-paths,
.topics,
.related-links,
.topic-nav,
.story-section,
.related-grid,
.exhibit-cards,
.chapter-caption,
.content-section,
.feature-section,
.path-list,
.exhibition-area,
.section-intro,
.site-main {
    background-color: #050505 !important;
    color: #fff !important
}

.topic-nav {
    background: #0d0d0d !important;
    border-color: #383838 !important
}

.topic-nav-heading,
.topic-links a {
    border-color: #333 !important;
    color: #f2f2f2 !important
}

.topic-links a:hover,
.path-list a:hover {
    background: #1e1e1e !important;
    color: #fff !important
}

.chapter-hero,
.home-hero,
.photo-break,
.contact-cta,
footer {
    background: #050505 !important;
    color: #fff !important
}

.story-copy,
.story-copy h2,
.story-copy p,
.chapter-intro h2,
.intro-band h2,
.chapter-caption h1,
.section-title,
.section-heading,
.path-list a,
.path-list strong,
.topic-links,
.related-grid a,
.related-links a {
    color: #fff !important
}

.story-copy p,
.intro-band p,
.chapter-intro p,
.section-intro p,
.footer-top p,
.footer-bottom,
.chapter-count,
.path-list span,
.mini-label,
.chapter-subtitle {
    color: #bebebe !important
}

.mini-label,
.chapter-count {
    color: #f1f1f1 !important
}

.related-grid a,
.exhibit-card,
.story-photo,
.related-links a {
    background-color: #111 !important;
    border-color: #343434 !important
}

.exhibit-card:hover,
.related-grid a:hover,
.related-links a:hover {
    border-color: #eee !important
}

.photo-index {
    background: #fff !important;
    color: #080808 !important
}

.circle-link,
.light-button {
    background: #fff !important;
    color: #050505 !important;
    border: 1px solid #fff !important
}

.circle-link:hover,
.light-button:hover {
    background: #ddd !important;
    color: #050505 !important
}

.outlined-action,
.inline-arrow {
    border-color: #eee !important;
    color: #fff !important
}

.outlined-action:hover {
    background: #fff !important;
    color: #050505 !important
}

input,
textarea,
select {
    background: #111 !important;
    color: #fff !important;
    border: 1px solid #4d4d4d !important
}

input::placeholder,
textarea::placeholder {
    color: #aaa !important
}

.form-status {
    color: #eee !important
}

footer {
    border-top: 1px solid #282828 !important
}

/* Light follows the pointer, without obscuring content */
body:before {
    content: '';
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 109;
    opacity: var(--spot-opacity, 0);
    background: radial-gradient(490px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 255, 255, .065), transparent 70%);
    transition: opacity .35s ease;
    mix-blend-mode: screen
}

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    border-radius: 50%;
    transform: translate3d(-100px, -100px, 0);
    will-change: transform
}

.cursor-dot {
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    background: #fff;
    box-shadow: 0 0 14px #fff9
}

.cursor-ring {
    width: 38px;
    height: 38px;
    margin: -19px 0 0 -19px;
    border: 1px solid rgba(255, 255, 255, .8);
    background: rgba(255, 255, 255, .04);
    transition: width .2s, height .2s, margin .2s, background .2s, border-color .2s
}

.cursor-ring.is-hover {
    width: 65px;
    height: 65px;
    margin: -32.5px 0 0 -32.5px;
    background: rgba(255, 255, 255, .11);
    border-color: #fff
}

.cursor-ring.is-click {
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    background: rgba(255, 255, 255, .28)
}

.cursor-ripple {
    position: fixed;
    z-index: 9998;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    animation: spaceRipple .7s cubic-bezier(.15, .6, .25, 1) forwards
}

@keyframes spaceRipple {
    to {
        opacity: 0;
        transform: scale(4)
    }
}

@media(pointer:fine) and (hover:hover) {

    body.space-cursor,
    body.space-cursor a,
    body.space-cursor button,
    body.space-cursor [role="button"] {
        cursor: none !important
    }
}

@media(pointer:coarse), (prefers-reduced-motion:reduce) {

    .cursor-dot,
    .cursor-ring,
    .cursor-ripple {
        display: none !important
    }

    body:before {
        display: none !important
    }
}
/* In this chapter — screenshot-matched page-specific navigation */
.chapter-directory{background:#101010;color:#f6f7fb;padding:38px 0 58px;margin:0;position:relative;z-index:1}
.chapter-directory-inner{width:min(1760px,calc(100% - 9vw));margin-inline:auto}
.chapter-directory-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(255,255,255,.065);padding-bottom:19px;margin-bottom:18px}
.chapter-directory-heading span{font-size:10px;font-weight:800;letter-spacing:.16em;color:#fff}
.chapter-directory-heading a{font-size:20px;color:#fff;text-decoration:none;transition:transform .25s}
.chapter-directory-heading a:hover{transform:translateY(5px)}
.chapter-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:30px;row-gap:0}
.chapter-directory-link{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;border-bottom:1px solid rgba(255,255,255,.13);color:#fff;text-decoration:none;font-size:13px;font-weight:500;line-height:1.5;transition:color .25s,padding .25s,background .25s}
.chapter-directory-link span:last-child{font-size:14px;flex-shrink:0}
.chapter-directory-link:hover,.chapter-directory-link:focus-visible{padding-left:9px;color:#b9ecff;background:rgba(255,255,255,.025)}
article[id^="topic-"]{scroll-margin-top:100px}
@media(max-width:700px){.chapter-directory{padding:32px 0 42px}.chapter-directory-inner{width:calc(100% - 36px)}.chapter-directory-grid{grid-template-columns:1fr}.chapter-directory-link{font-size:12px;min-height:48px}}
@media(prefers-reduced-motion:reduce){.chapter-directory *{transition:none!important}}
