:root {
    --navy: #07101d;
    --navy-2: #0a1727;
    --navy-3: #101f32;

    --ivory: #f3eee2;
    --ivory-2: #e4dccb;

    --gold: #caaa67;
    --gold-2: #ebd39b;

    --muted: #909aab;

    --line:
        rgba(229,214,181,.15);

    --max: 1380px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--navy);
}

body {
    margin: 0;

    background: var(--navy);
    color: var(--ivory);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    overflow-x: hidden;
}

body::selection {
    background: var(--gold);
    color: #07101d;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.site-nav {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;

    height: 76px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    width:
        min(
            calc(100% - 48px),
            var(--max)
        );

    margin: auto;

    border-bottom:
        1px solid
        rgba(255,255,255,.08);
}

.site-nav::before {
    content: "";

    position: fixed;
    z-index: -1;
    inset: 0 0 auto 0;

    height: 76px;

    background:
        rgba(5,13,24,.68);

    backdrop-filter: blur(18px);
}

.nav-brand {
    display: inline-flex;
    flex-direction: column;

    width: max-content;

    text-decoration: none;
}

.nav-brand strong {
    font-family:
        Georgia,
        serif;

    font-size: 18px;
    letter-spacing: .12em;
}

.nav-brand span {
    margin-top: 2px;

    color: var(--gold);
    font-size: 8px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.site-nav nav {
    display: flex;
    gap: 30px;
}

.site-nav nav a {
    color: rgba(255,255,255,.68);

    font-size: 11px;
    letter-spacing: .08em;

    text-decoration: none;

    transition: .2s ease;
}

.site-nav nav a:hover {
    color: var(--gold-2);
}

.nav-cta {
    justify-self: end;

    padding: 10px 16px;

    border:
        1px solid
        rgba(202,170,103,.45);

    border-radius: 999px;

    color: var(--gold-2);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
}

.hero {
    position: relative;

    min-height: 100svh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 72% 42%,
            rgba(32,78,131,.30),
            transparent 26%
        ),
        radial-gradient(
            circle at 52% 45%,
            rgba(20,47,80,.45),
            transparent 44%
        ),
        linear-gradient(
            125deg,
            #050b13 0,
            #071322 50%,
            #07101d 100%
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 55vw;
    height: 55vw;

    right: -18vw;
    top: -16vw;

    border:
        1px solid
        rgba(202,170,103,.10);

    border-radius: 50%;
}

.hero::after {
    content: "";

    position: absolute;
    inset: auto 0 0;

    height: 32%;

    background:
        linear-gradient(
            transparent,
            rgba(5,11,19,.94)
        );

    pointer-events: none;
}

.hero-stars {
    position: absolute;
    inset: 0;

    opacity: .35;

    background-image:
        radial-gradient(
            circle,
            rgba(255,255,255,.8) 0 1px,
            transparent 1.5px
        );

    background-size:
        96px 96px;

    mask-image:
        linear-gradient(
            90deg,
            transparent,
            #000 35%,
            #000
        );
}

.hero-orbit {
    position: absolute;

    border:
        1px solid
        rgba(202,170,103,.12);

    border-radius: 50%;
}

.orbit-one {
    width: 650px;
    height: 650px;

    right: -80px;
    top: 12%;
}

.orbit-two {
    width: 420px;
    height: 420px;

    right: 40px;
    top: 25%;
}

.hero-grid {
    position: relative;
    z-index: 3;

    width:
        min(
            calc(100% - 48px),
            var(--max)
        );

    margin: auto;

    display: grid;
    grid-template-columns:
        minmax(0,1.15fr)
        minmax(360px,.85fr);

    gap: 8vw;
    align-items: center;

    padding:
        130px 0
        100px;
}

.kicker,
.section-number {
    color: var(--gold);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .22em;

    text-transform: uppercase;
}

.hero h1 {
    margin:
        20px 0
        4px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            64px,
            10vw,
            142px
        );

    font-weight: 400;

    letter-spacing: -.065em;
    line-height: .83;
}

.hero-role {
    margin-top: 22px;

    color: rgba(255,255,255,.84);

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(
            22px,
            2.3vw,
            37px
        );

    line-height: 1.15;
}

.hero-role span {
    color: var(--gold);
}

.hero-intro {
    max-width: 520px;

    margin-top: 26px;

    color: #a9b1bc;

    font-size: 14px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;

    margin-top: 30px;
}

.btn {
    min-height: 44px;

    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .10em;

    text-decoration: none;
    text-transform: uppercase;
}

.btn.primary {
    background: var(--gold);
    color: #11100d;
}

.btn.ghost {
    border: 1px solid var(--line);
    color: var(--ivory);
}

.living-quote {
    position: relative;

    padding: 32px;

    border:
        1px solid
        rgba(232,216,180,.17);

    border-radius: 2px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.008)
        );

    backdrop-filter: blur(14px);

    box-shadow:
        0 28px 90px
        rgba(0,0,0,.26);
}

.living-quote::before {
    content: "“";

    position: absolute;

    right: 28px;
    top: 6px;

    color:
        rgba(202,170,103,.18);

    font-family: Georgia,serif;
    font-size: 110px;
    line-height: 1;
}

.quote-top {
    display: flex;
    justify-content: space-between;

    color: var(--gold);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.living-quote blockquote {
    min-height: 160px;

    margin:
        38px 0
        26px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            23px,
            2.4vw,
            38px
        );

    line-height: 1.27;
}

.quote-source {
    display: grid;
    gap: 4px;
}

.quote-source strong {
    color: var(--gold-2);

    font-size: 11px;
    letter-spacing: .04em;
}

.quote-source span {
    color: var(--muted);
    font-size: 10px;
}

.quote-control {
    margin-top: 26px;

    display: grid;
    grid-template-columns: 34px 1fr 34px;
    gap: 12px;

    align-items: center;
}

.quote-control button {
    width: 34px;
    height: 34px;

    border:
        1px solid
        var(--line);

    border-radius: 50%;

    background: transparent;
    color: var(--ivory);

    cursor: pointer;
}

.quote-progress {
    height: 1px;
    background:
        rgba(255,255,255,.12);

    overflow: hidden;
}

.quote-progress span {
    display: block;

    width: 0%;
    height: 100%;

    background: var(--gold);
}

.scroll-cue {
    position: absolute;
    z-index: 4;

    bottom: 30px;
    left: 50%;

    transform:
        translateX(-50%);

    display: flex;
    gap: 10px;
    align-items: center;

    color:
        rgba(255,255,255,.45);

    font-size: 8px;
    letter-spacing: .18em;
    text-decoration: none;
    text-transform: uppercase;
}

.scroll-cue span {
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.manifesto {
    min-height: 94vh;

    display: flex;
    align-items: center;

    background: var(--ivory);
    color: #0b1420;
}

.manifesto-inner {
    width:
        min(
            calc(100% - 48px),
            1100px
        );

    margin: auto;
}

.manifesto h2,
.section-head h2,
.universe-copy h2,
.detail-section h2,
.page-hero h1,
.final-cta h2 {
    margin:
        28px 0
        0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            48px,
            7vw,
            96px
        );

    font-weight: 400;

    letter-spacing: -.055em;
    line-height: .94;
}

.manifesto h2 em,
.section-head h2 em,
.detail-section h2 em,
.page-hero h1 em {
    color: #9c7b3f;
    font-weight: 400;
}

.manifesto p {
    max-width: 820px;

    margin:
        45px 0
        0;

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(
            21px,
            2.8vw,
            35px
        );

    line-height: 1.48;
}

.manifesto-line {
    width: 150px;
    height: 1px;

    margin-top: 48px;

    background: #ad8a4a;
}

.pustaka-section {
    padding:
        120px
        max(
            24px,
            calc(
                (100vw - var(--max))
                / 2
            )
        );

    background:
        linear-gradient(
            180deg,
            #07101d,
            #091522
        );
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
}

.section-head h2 {
    max-width: 760px;
}

.text-link {
    color: var(--gold-2);

    font-size: 11px;
    letter-spacing: .05em;

    text-decoration: none;
}

.book-stage-wrap {
    margin-top: 70px;
}

.stage-track {
    display: flex;
    gap: 28px;

    overflow-x: auto;

    padding:
        20px 2px
        45px;

    scroll-snap-type: x mandatory;

    scrollbar-color:
        var(--gold)
        rgba(255,255,255,.08);
}

.stage-book {
    flex:
        0 0
        min(
            27vw,
            330px
        );

    scroll-snap-align: start;
}

.stage-cover {
    position: relative;

    display: block;

    min-height: 420px;

    padding: 24px;

    background:
        radial-gradient(
            circle at 50% 38%,
            color-mix(
                in srgb,
                var(--accent)
                16%,
                transparent
            ),
            transparent 52%
        ),
        rgba(255,255,255,.018);

    border:
        1px solid
        rgba(255,255,255,.075);

    text-decoration: none;

    transition:
        transform .35s ease,
        border-color .35s ease;
}

.stage-cover:hover {
    transform:
        translateY(-8px);

    border-color:
        color-mix(
            in srgb,
            var(--accent)
            55%,
            transparent
        );
}

.stage-cover img {
    width: 100%;
    height: 380px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 25px 24px
            rgba(0,0,0,.35)
        );
}

.stage-number {
    position: absolute;
    left: 14px;
    top: 14px;

    color:
        rgba(255,255,255,.28);

    font-size: 9px;
    letter-spacing: .14em;
}

.stage-meta {
    margin-top: 20px;

    display: grid;
    gap: 7px;
}

.stage-meta strong {
    font-family: Georgia,serif;
    font-size: 20px;
    font-weight: 400;
}

.stage-meta span {
    min-height: 30px;

    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.stage-meta a {
    width: max-content;

    margin-top: 5px;

    color: var(--gold);

    font-size: 9px;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.universe-preview {
    min-height: 95vh;

    display: grid;
    grid-template-columns:
        minmax(0,.8fr)
        minmax(480px,1.2fr);

    align-items: center;
    gap: 7vw;

    padding:
        100px
        max(
            24px,
            calc(
                (100vw - var(--max))
                / 2
            )
        );

    background:
        radial-gradient(
            circle at 72% 50%,
            rgba(35,83,139,.18),
            transparent 35%
        ),
        #050b13;
}

.universe-copy h2 span {
    color: var(--gold);
}

.universe-copy p {
    max-width: 500px;

    margin-top: 32px;

    color: var(--muted);

    font-family: Georgia,serif;
    font-size: 18px;
    line-height: 1.75;
}

.constellation {
    position: relative;

    min-height: 620px;
}

.orbit-ring {
    position: absolute;
    inset: 50% auto auto 50%;

    transform:
        translate(-50%,-50%);

    border:
        1px solid
        rgba(202,170,103,.14);

    border-radius: 50%;
}

.ring-a {
    width: 330px;
    height: 330px;
}

.ring-b {
    width: 540px;
    height: 540px;
}

.node {
    position: absolute;

    display: grid;
    place-items: center;

    min-width: 74px;
    min-height: 42px;

    padding: 9px 12px;

    border:
        1px solid
        rgba(202,170,103,.35);

    border-radius: 999px;

    background:
        rgba(7,16,29,.82);

    color: var(--gold-2);

    font-size: 10px;

    box-shadow:
        0 0 30px
        rgba(202,170,103,.08);
}

.root-node {
    left: 50%;
    top: 50%;

    width: 160px;
    height: 160px;

    transform:
        translate(-50%,-50%);

    border-radius: 50%;

    text-align: center;

    font-family: Georgia,serif;
    font-size: 17px;
}

.node-a {
    left: 16%;
    top: 46%;
}

.node-b {
    right: 12%;
    top: 44%;
}

.node-c {
    left: 26%;
    top: 14%;
}

.node-d {
    right: 24%;
    top: 13%;
}

.node-e {
    left: 22%;
    bottom: 12%;
}

.node-f {
    right: 18%;
    bottom: 13%;
}

.build-teaser {
    min-height: 70vh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        100px
        max(
            24px,
            calc(
                (100vw - var(--max))
                / 2
            )
        );

    background:
        var(--ivory);

    color: #111923;
}

.build-line {
    display: grid;
    gap: 5px;

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(
            50px,
            8vw,
            118px
        );

    letter-spacing: -.06em;
    line-height: .88;
}

.build-line span {
    color: #a1a1a1;
}

.build-line strong {
    font-weight: 400;
}

.build-teaser p {
    max-width: 620px;

    margin-top: 38px;

    font-size: 18px;
    line-height: 1.7;
}

.final-cta {
    min-height: 82vh;

    display: flex;
    align-items: center;

    padding:
        100px 24px;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(37,77,122,.26),
            transparent 40%
        ),
        #050b13;
}

.final-inner {
    width: min(100%,900px);
    margin: auto;
}

.final-cta h2 {
    font-size:
        clamp(
            58px,
            9vw,
            124px
        );
}

.final-cta p {
    color: var(--muted);
    font-family: Georgia,serif;
    font-size: 20px;
}

.final-cta .hero-actions {
    justify-content: center;
}

.site-footer {
    min-height: 150px;

    width:
        min(
            calc(100% - 48px),
            var(--max)
        );

    margin: auto;

    display: grid;
    grid-template-columns:
        1fr auto auto;

    align-items: center;
    gap: 50px;

    border-top:
        1px solid
        var(--line);

    color: var(--muted);
    font-size: 9px;
}

.site-footer > div:first-child {
    display: grid;
    gap: 4px;
}

.site-footer strong {
    color: var(--ivory);

    font-family: Georgia,serif;

    font-size: 16px;
    letter-spacing: .1em;
}

.footer-links {
    display: flex;
    gap: 22px;
}

.footer-links a {
    text-decoration: none;
}

/* BOOKS PAGE */

.books-page,
.book-detail {
    min-height: 100vh;
}

.page-hero {
    padding:
        180px
        max(
            24px,
            calc(
                (100vw - var(--max))
                / 2
            )
        )
        90px;

    background:
        radial-gradient(
            circle at 75% 25%,
            rgba(37,78,128,.24),
            transparent 30%
        ),
        #07101d;
}

.page-hero h1 {
    max-width: 900px;
}

.page-hero p {
    max-width: 600px;

    margin-top: 28px;

    color: var(--muted);

    font-family: Georgia,serif;
    font-size: 18px;
    line-height: 1.7;
}

.books-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0,1fr)
        );

    gap: 48px 26px;

    padding:
        10px
        max(
            24px,
            calc(
                (100vw - var(--max))
                / 2
            )
        )
        120px;
}

.book-card-cover {
    display: flex;

    min-height: 390px;

    align-items: center;
    justify-content: center;

    padding: 24px;

    background:
        radial-gradient(
            circle at 50% 40%,
            color-mix(
                in srgb,
                var(--accent)
                15%,
                transparent
            ),
            transparent 50%
        ),
        rgba(255,255,255,.02);

    border:
        1px solid
        rgba(255,255,255,.06);

    transition:
        transform .3s ease;
}

.book-card-cover:hover {
    transform:
        translateY(-7px);
}

.book-card-cover img {
    max-height: 340px;

    filter:
        drop-shadow(
            0 24px 22px
            rgba(0,0,0,.38)
        );
}

.book-card-copy {
    margin-top: 18px;
}

.book-card-copy > span {
    color: var(--gold);

    font-size: 8px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.book-card-copy h2 {
    margin: 8px 0 0;

    font-family: Georgia,serif;
    font-size: 20px;
    font-weight: 400;
}

.book-card-copy p {
    min-height: 36px;

    margin: 7px 0;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.55;
}

.book-card-copy a {
    color: var(--gold);

    font-size: 9px;
    text-decoration: none;
}

/* DETAIL */

.book-detail {
    --book-accent: var(--gold);
}

.book-detail-hero {
    min-height: 100svh;

    display: grid;
    grid-template-columns:
        minmax(320px,.8fr)
        minmax(0,1.2fr);

    gap: 8vw;
    align-items: center;

    padding:
        130px
        max(
            24px,
            calc(
                (100vw - 1200px)
                / 2
            )
        )
        80px;

    background:
        radial-gradient(
            circle at 28% 46%,
            color-mix(
                in srgb,
                var(--book-accent)
                17%,
                transparent
            ),
            transparent 28%
        ),
        #07101d;
}

.detail-cover {
    position: relative;

    display: flex;
    justify-content: center;
}

.cover-glow {
    position: absolute;

    width: 75%;
    height: 75%;

    top: 10%;
    left: 12%;

    background:
        color-mix(
            in srgb,
            var(--book-accent)
            25%,
            transparent
        );

    filter: blur(80px);
}

.detail-cover img {
    position: relative;
    z-index: 2;

    max-height: 68vh;

    filter:
        drop-shadow(
            0 35px 28px
            rgba(0,0,0,.40)
        );
}

.status-chip {
    display: inline-flex;

    margin-top: 24px;
    padding: 7px 11px;

    border:
        1px solid
        color-mix(
            in srgb,
            var(--book-accent)
            35%,
            transparent
        );

    border-radius: 999px;

    color:
        var(--book-accent);

    font-size: 9px;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.detail-copy h1 {
    margin:
        22px 0
        0;

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(
            48px,
            6vw,
            92px
        );

    font-weight: 400;

    letter-spacing: -.055em;
    line-height: .95;
}

.detail-subtitle {
    max-width: 620px;

    margin-top: 22px;

    color: var(--muted);

    font-family: Georgia,serif;
    font-size: 20px;
    line-height: 1.55;
}

.detail-section {
    padding:
        120px
        max(
            24px,
            calc(
                (100vw - 1200px)
                / 2
            )
        );
}

.two-column {
    display: grid;
    grid-template-columns:
        .8fr 1.2fr;

    gap: 8vw;

    background: var(--ivory);
    color: #111923;
}

.prose {
    font-family: Georgia,serif;
    font-size: 20px;
    line-height: 1.85;
}

.dark-section {
    background: #08111d;
}

.dark-section header,
.quote-section header {
    max-width: 700px;
}

.topics-list {
    margin-top: 60px;

    border-top:
        1px solid
        var(--line);
}

.topic-item {
    display: grid;
    grid-template-columns:
        70px 1fr;

    gap: 25px;

    padding: 28px 0;

    border-bottom:
        1px solid
        var(--line);
}

.topic-item > span::after {
    content: "—";

    color: var(--book-accent);
}

.topic-item strong {
    font-family: Georgia,serif;
    font-size: 22px;
    font-weight: 400;
}

.topic-item p {
    max-width: 800px;

    margin: 7px 0 0;

    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.quote-section {
    background: #050b13;
}

.quote-stack {
    max-width: 900px;
    margin-top: 55px;
}

.book-quote {
    margin: 0;
    padding: 34px 0;

    border-bottom:
        1px solid
        var(--line);
}

.book-quote p {
    margin: 0;

    font-family: Georgia,serif;

    font-size:
        clamp(
            24px,
            3vw,
            38px
        );

    line-height: 1.45;
}

.book-quote cite {
    display: block;

    margin-top: 16px;

    color: var(--gold);

    font-size: 9px;
    font-style: normal;
    letter-spacing: .1em;
}

.not-found {
    min-height: 100vh;

    display: grid;
    place-content: center;

    text-align: center;
}

.not-found span {
    color: var(--gold);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

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

@media (
    prefers-reduced-motion:
    reduce
) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

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

@media (max-width: 1000px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-copy {
        padding-top: 50px;
    }

    .living-quote {
        max-width: 700px;
    }

    .universe-preview {
        grid-template-columns: 1fr;
    }

    .constellation {
        min-height: 560px;
    }

    .books-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0,1fr)
            );
    }

    .book-detail-hero {
        grid-template-columns:
            .8fr 1.2fr;
    }
}

@media (max-width: 760px) {
    .site-nav {
        width:
            calc(100% - 28px);

        grid-template-columns:
            1fr auto;

        height: 66px;
    }

    .site-nav::before {
        height: 66px;
    }

    .site-nav nav {
        display: none;
    }

    .nav-brand strong {
        font-size: 15px;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        width:
            calc(100% - 30px);

        padding:
            125px 0
            105px;

        gap: 48px;
    }

    .hero h1 {
        font-size:
            clamp(
                58px,
                20vw,
                88px
            );

        word-break: break-word;
    }

    .hero-role {
        font-size: 25px;
    }

    .hero-intro {
        font-size: 13px;
    }

    .living-quote {
        padding: 22px;
    }

    .living-quote blockquote {
        min-height: 125px;
        font-size: 25px;
    }

    .scroll-cue {
        display: none;
    }

    .manifesto {
        min-height: auto;
        padding: 100px 0;
    }

    .manifesto-inner {
        width:
            calc(100% - 32px);
    }

    .manifesto h2,
    .section-head h2,
    .universe-copy h2,
    .detail-section h2,
    .page-hero h1,
    .final-cta h2 {
        font-size:
            clamp(
                42px,
                14vw,
                68px
            );
    }

    .manifesto p {
        margin-top: 32px;
        font-size: 21px;
    }

    .pustaka-section {
        padding:
            90px 16px;
    }

    .section-head {
        display: block;
    }

    .section-head .text-link {
        display: inline-block;
        margin-top: 22px;
    }

    .book-stage-wrap {
        margin-top: 40px;
    }

    .stage-track {
        gap: 14px;
    }

    .stage-book {
        flex-basis: 72vw;
    }

    .stage-cover {
        min-height: 380px;
        padding: 16px;
    }

    .stage-cover img {
        height: 340px;
    }

    .universe-preview {
        min-height: auto;

        padding:
            90px 16px;
    }

    .constellation {
        min-height: 430px;

        transform:
            scale(.88);

        transform-origin:
            center;
    }

    .ring-a {
        width: 260px;
        height: 260px;
    }

    .ring-b {
        width: 390px;
        height: 390px;
    }

    .root-node {
        width: 130px;
        height: 130px;
    }

    .build-teaser {
        min-height: auto;

        padding:
            100px 16px;
    }

    .build-line {
        font-size:
            clamp(
                46px,
                15vw,
                72px
            );
    }

    .final-cta {
        min-height: 72vh;
    }

    .site-footer {
        width:
            calc(100% - 32px);

        padding: 45px 0;

        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .page-hero {
        padding:
            130px 16px
            65px;
    }

    .books-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );

        gap: 32px 12px;

        padding:
            10px 16px
            90px;
    }

    .book-card-cover {
        min-height: 265px;
        padding: 12px;
    }

    .book-card-cover img {
        max-height: 235px;
    }

    .book-card-copy h2 {
        font-size: 17px;
    }

    .book-detail-hero {
        min-height: auto;

        grid-template-columns: 1fr;

        padding:
            115px 18px
            75px;

        gap: 50px;
    }

    .detail-cover img {
        max-height: 56vh;
    }

    .detail-copy h1 {
        font-size:
            clamp(
                48px,
                14vw,
                74px
            );
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .detail-section {
        padding:
            90px 18px;
    }

    .prose {
        font-size: 18px;
    }

    .topic-item {
        grid-template-columns:
            32px 1fr;
    }
}

@media (max-width: 420px) {
    .books-grid {
        grid-template-columns: 1fr;
    }

    .book-card-cover {
        min-height: 390px;
    }

    .book-card-cover img {
        max-height: 350px;
    }
}

/* ==========================================================
   PUBLIC V2 — TECHNOLOGY / JOURNEY / ACHIEVEMENTS
   ========================================================== */

.technology-section {
    padding:
        120px
        max(
            24px,
            calc(
                (100vw - var(--max))
                / 2
            )
        );

    background:
        #091421;
}

.technology-stage {
    display: grid;
    grid-template-columns:
        repeat(
            4,
            minmax(0,1fr)
        );

    margin-top: 65px;

    border-top:
        1px solid
        var(--line);

    border-left:
        1px solid
        var(--line);
}

.technology-item {
    min-height: 155px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 24px;

    border-right:
        1px solid
        var(--line);

    border-bottom:
        1px solid
        var(--line);

    background:
        rgba(255,255,255,.012);

    transition:
        background .25s ease,
        transform .25s ease;
}

.technology-item:hover {
    background:
        rgba(202,170,103,.06);

    transform:
        translateY(-3px);
}

.technology-item > span {
    color:
        rgba(255,255,255,.28);

    font-size: 9px;
    letter-spacing: .12em;
}

.technology-item a,
.technology-item strong {
    color: var(--ivory);

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(
            20px,
            2vw,
            28px
        );

    font-weight: 400;
    line-height: 1.05;

    text-decoration: none;
}

.journey-section {
    position: relative;

    padding:
        130px
        max(
            24px,
            calc(
                (100vw - var(--max))
                / 2
            )
        );

    background:
        linear-gradient(
            180deg,
            #f0eadc 0,
            #e6dece 100%
        );

    color: #111923;
}

.journey-header {
    max-width: 880px;
}

.journey-header h2 {
    margin: 26px 0 0;

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(
            54px,
            8vw,
            108px
        );

    font-weight: 400;
    letter-spacing: -.06em;
    line-height: .9;
}

.journey-header h2 em {
    color: #9b793e;
    font-weight: 400;
}

.journey-header p {
    max-width: 620px;

    margin-top: 32px;

    color: #4d5560;

    font-family: Georgia,serif;
    font-size: 19px;
    line-height: 1.65;
}

.journey-timeline {
    position: relative;

    max-width: 980px;

    margin:
        85px auto
        0;
}

.journey-timeline::before {
    content: "";

    position: absolute;

    top: 8px;
    bottom: 8px;
    left: 185px;

    width: 1px;

    background:
        rgba(120,91,43,.30);
}

.journey-item {
    position: relative;

    display: grid;

    grid-template-columns:
        150px
        70px
        1fr;

    min-height: 150px;
}

.journey-period {
    padding-top: 4px;

    color: #947239;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.journey-dot {
    position: relative;
}

.journey-dot::before {
    content: "";

    position: absolute;

    z-index: 2;

    left: 30px;
    top: 3px;

    width: 11px;
    height: 11px;

    border:
        2px solid #a68446;

    border-radius: 50%;

    background: #ebe3d4;
}

.journey-content {
    padding-bottom: 45px;
}

.journey-content h3 {
    margin: 0;

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(
            25px,
            3vw,
            38px
        );

    font-weight: 400;
    letter-spacing: -.03em;
}

.journey-content > span {
    display: inline-block;

    margin-top: 7px;

    color: #96743b;

    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.journey-content p {
    max-width: 650px;

    margin: 13px 0 0;

    color: #5a6069;
    font-size: 13px;
    line-height: 1.7;
}

.achievement-section {
    padding:
        120px
        max(
            24px,
            calc(
                (100vw - var(--max))
                / 2
            )
        );

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(40,82,132,.18),
            transparent 30%
        ),
        #07101d;
}

.achievement-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );

    gap: 18px;

    margin-top: 65px;
}

.achievement-card {
    min-height: 310px;

    display: flex;
    flex-direction: column;

    padding: 30px;

    border:
        1px solid
        var(--line);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.025),
            transparent
        );
}

.achievement-rank {
    color: var(--gold);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.achievement-card h3 {
    margin:
        auto 0
        25px;

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(
            26px,
            2.7vw,
            40px
        );

    font-weight: 400;
    line-height: 1.1;
}

.achievement-card > span {
    color: var(--muted);

    font-size: 10px;
    letter-spacing: .10em;
}

.speaker-note {
    margin-top: 30px;

    padding: 24px 0 0;

    border-top:
        1px solid
        var(--line);

    color: #aab2bd;

    font-family: Georgia,serif;
    font-size:
        clamp(
            18px,
            2vw,
            26px
        );

    line-height: 1.5;
}

@media (max-width: 900px) {
    .technology-stage {
        grid-template-columns:
            repeat(
                3,
                minmax(0,1fr)
            );
    }

    .achievement-grid {
        grid-template-columns: 1fr;
    }

    .achievement-card {
        min-height: 230px;
    }
}

@media (max-width: 760px) {
    .technology-section,
    .journey-section,
    .achievement-section {
        padding:
            90px 16px;
    }

    .technology-stage {
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );

        margin-top: 40px;
    }

    .technology-item {
        min-height: 125px;
        padding: 16px;
    }

    .technology-item a,
    .technology-item strong {
        font-size: 19px;
    }

    .journey-header h2 {
        font-size:
            clamp(
                46px,
                15vw,
                72px
            );
    }

    .journey-timeline {
        margin-top: 55px;
    }

    .journey-timeline::before {
        left: 6px;
    }

    .journey-item {
        grid-template-columns:
            28px
            1fr;

        min-height: auto;

        padding-bottom: 38px;
    }

    .journey-period {
        grid-column: 2;

        margin-bottom: 9px;
    }

    .journey-dot {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .journey-dot::before {
        left: 0;
        top: 3px;
    }

    .journey-content {
        grid-column: 2;
        padding-bottom: 0;
    }
}


/* ==========================================================
   BOOKS MOBILE TWO COLUMN V1
   /buku only — classes assigned by site.js
   ========================================================== */

@media (max-width: 760px) {

    body.books-mobile-grid-v1
    .books-mobile-grid {
        width: 100% !important;
        max-width: 100% !important;

        display: grid !important;

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            )
            !important;

        align-items: start !important;

        gap:
            24px 12px
            !important;

        overflow: visible !important;
    }


    body.books-mobile-grid-v1
    .books-mobile-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        margin: 0 !important;

        display: flex !important;

        flex-direction: column !important;

        align-items: stretch !important;

        overflow: visible !important;

        transform: none !important;
    }


    /*
     * Cover area
     */
    body.books-mobile-grid-v1
    .books-mobile-card
    a[href^="/buku/"]:has(img) {
        display: block !important;

        width: 100% !important;

        margin: 0 !important;

        text-decoration: none !important;
    }


    body.books-mobile-grid-v1
    .books-mobile-card
    img {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;

        aspect-ratio: auto !important;

        margin: 0 auto !important;

        object-fit: contain !important;

        border-radius: 1px !important;

        box-shadow:
            0 14px 28px
            rgba(0,0,0,.34);
    }


    /*
     * Card textual content
     */
    body.books-mobile-grid-v1
    .books-mobile-card h2,
    body.books-mobile-grid-v1
    .books-mobile-card h3,
    body.books-mobile-grid-v1
    .books-mobile-card h4 {
        margin:
            11px 0 0
            !important;

        font-size:
            14px !important;

        font-weight:
            600 !important;

        line-height:
            1.22 !important;

        letter-spacing:
            0 !important;
    }


    body.books-mobile-grid-v1
    .books-mobile-card p {
        margin:
            5px 0 0
            !important;

        font-size:
            9px !important;

        line-height:
            1.38 !important;
    }


    body.books-mobile-grid-v1
    .books-mobile-card small,
    body.books-mobile-grid-v1
    .books-mobile-card .meta,
    body.books-mobile-grid-v1
    .books-mobile-card .book-meta {
        font-size:
            8px !important;

        line-height:
            1.35 !important;
    }


    /*
     * If existing card has oversized internal padding,
     * normalize it for the two-column layout.
     */
    body.books-mobile-grid-v1
    .books-mobile-card > div {
        max-width: 100% !important;
    }


    /*
     * Keep page itself from creating horizontal overflow.
     */
    body.books-mobile-grid-v1,
    body.books-mobile-grid-v1 main {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

}


/*
 * Narrow phones still stay 2 columns,
 * but gaps/text become slightly tighter.
 */
@media (max-width: 390px) {

    body.books-mobile-grid-v1
    .books-mobile-grid {
        gap:
            20px 9px
            !important;
    }

    body.books-mobile-grid-v1
    .books-mobile-card h2,
    body.books-mobile-grid-v1
    .books-mobile-card h3,
    body.books-mobile-grid-v1
    .books-mobile-card h4 {
        font-size:
            13px !important;
    }

}


/* ==========================================================
   BOOKS MOBILE COVER TEXT GAP V2
   Remove legacy fixed media height on /buku mobile.
   ========================================================== */

@media (max-width:760px) {

    body.books-mobile-grid-v1
    .books-mobile-card {
        height: auto !important;
        min-height: 0 !important;

        gap: 0 !important;

        align-self: start !important;

        justify-content: flex-start !important;
    }


    /*
     * Cover link / media wrapper must hug the actual cover.
     */
    body.books-mobile-grid-v1
    .books-mobile-card
    a[href^="/buku/"]:has(img) {
        width: 100% !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        aspect-ratio: auto !important;

        margin: 0 0 9px !important;

        padding:
            8px 8px 9px !important;

        display: flex !important;

        align-items: flex-start !important;
        justify-content: center !important;

        overflow: visible !important;
    }


    /*
     * Kill inherited fixed-height wrappers around the image.
     */
    body.books-mobile-grid-v1
    .books-mobile-card
    :has(> img) {
        height: auto !important;

        min-height: 0 !important;
        max-height: none !important;

        aspect-ratio: auto !important;
    }


    body.books-mobile-grid-v1
    .books-mobile-card img {
        width: auto !important;

        max-width: 100% !important;

        height: auto !important;

        max-height: none !important;

        margin: 0 auto !important;

        object-fit: contain !important;
    }


    /*
     * Text should begin immediately below its cover.
     */
    body.books-mobile-grid-v1
    .books-mobile-card
    a[href^="/buku/"]:has(img)
    + * {
        margin-top: 0 !important;
    }


    body.books-mobile-grid-v1
    .books-mobile-card h2,
    body.books-mobile-grid-v1
    .books-mobile-card h3,
    body.books-mobile-grid-v1
    .books-mobile-card h4 {
        margin-top: 5px !important;
        margin-bottom: 0 !important;
    }


    body.books-mobile-grid-v1
    .books-mobile-card p {
        margin-top: 4px !important;
        margin-bottom: 0 !important;
    }


    /*
     * Reduce dead space at the bottom of each book item too.
     */
    body.books-mobile-grid-v1
    .books-mobile-card > *:last-child {
        margin-bottom: 0 !important;
    }


    body.books-mobile-grid-v1
    .books-mobile-grid {
        align-items: start !important;

        row-gap: 22px !important;
    }

}


/* ==========================================================
   PUSTAKA DESKTOP HEADER HOME SCALE V1

   /buku and /buku/{slug}
   Match the desktop homepage navigation hierarchy.
   ========================================================== */

@media (min-width:761px) {

    body.pustaka-header-home-scale-v1
    .pustaka-public-header-v1 {
        min-height:
            86px !important;
    }


    body.pustaka-header-home-scale-v1
    .pustaka-public-header-v1 nav {
        gap:
            38px !important;
    }


    body.pustaka-header-home-scale-v1
    .pustaka-public-menu-link-v1 {
        font-size:
            14px !important;

        font-weight:
            600 !important;

        line-height:
            1 !important;

        letter-spacing:
            .018em !important;
    }


    body.pustaka-header-home-scale-v1
    .pustaka-public-explore-v1 {
        min-height:
            46px !important;

        padding:
            0 23px !important;

        display:
            inline-flex !important;

        align-items:
            center !important;

        justify-content:
            center !important;

        font-size:
            12px !important;

        font-weight:
            600 !important;

        letter-spacing:
            .015em !important;
    }

}


/*
 * Standard laptop desktop:
 * same visual scale used by homepage.
 */
@media
(
    min-width:761px
)
and
(
    max-width:1366px
) {

    body.pustaka-header-home-scale-v1
    .pustaka-public-header-v1 nav {
        gap:
            28px !important;
    }

    body.pustaka-header-home-scale-v1
    .pustaka-public-menu-link-v1 {
        font-size:
            13px !important;
    }

}
