/* =========================================================
   KODAMA — OPENING LOADER
========================================================= */

html.kodama-loading,
html.kodama-loading body {
    overflow: hidden !important;
}


/* =========================================================
   LOADER ROOT
========================================================= */

.kodama-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;

    width: 100%;
    height: 100svh;

    overflow: hidden;

    background: #000;

    isolation: isolate;

    pointer-events: all;
}


/* =========================================================
   VIDEO
========================================================= */

.kodama-loader-video {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    opacity: 0;

    transform: scale(1.08);

    filter:
        brightness(.72) contrast(1.08) saturate(.82);

    transition:
        opacity 1s cubic-bezier(.16, 1, .3, 1),
        transform 2.2s cubic-bezier(.16, 1, .3, 1);

    z-index: 0;
}

.kodama-loader-video.is-playing {
    opacity: 1;

    transform: scale(1.02);
}


/* =========================================================
   VIGNETTE
========================================================= */

.kodama-loader-vignette {
    position: absolute;
    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        radial-gradient(circle at center,
            rgba(0, 0, 0, .04) 0%,
            rgba(0, 0, 0, .22) 52%,
            rgba(0, 0, 0, .68) 100%);
}


/* =========================================================
   CURTAINS
========================================================= */

.loader-curtain {
    position: absolute;
    top: 0;
    width: 52vw;
    /* Garante cobertura total e sem frestas */
    height: 100%;
    background: #000;
    z-index: 3;
    will-change: transform;
    transition: transform 2s cubic-bezier(.77, 0, .175, 1);
}

.loader-curtain-left {
    left: 0;
}

.loader-curtain-right {
    right: 0;
}

/* OPEN */
.kodama-loader.is-opening .loader-curtain-left {
    transform: translate3d(-105%, 0, 0);
    /* Garante saída completa */
}

.kodama-loader.is-opening .loader-curtain-right {
    transform: translate3d(105%, 0, 0);
    /* Garante saída completa */
}


/* =========================================================
   INTRO
========================================================= */

.loader-intro {
    position: absolute;

    inset: 0;

    z-index: 4;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    pointer-events: none;

    opacity: 0;

    transition:
        opacity .5s ease;
}

.kodama-loader.is-intro-visible .loader-intro {
    opacity: 1;
}


/* =========================================================
   WELCOME
========================================================= */

.loader-welcome {
    margin-bottom: 1rem;

    font-family: var(--sans, "DM Sans", Arial, sans-serif);

    font-size: clamp(.62rem,
            .8vw,
            .82rem);

    font-weight: 500;

    letter-spacing: .34em;

    text-transform: uppercase;

    color: rgba(242, 239, 232, .72);
}


/* =========================================================
   TITLE
========================================================= */

.loader-title {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(2rem,
            5vw,
            5.5rem);

    font-weight: 400;

    line-height: .95;

    letter-spacing: -.035em;

    color: #f2efe8;

    white-space: nowrap;
}


/* =========================================================
   LETTER ANIMATION
========================================================= */

.loader-letter {
    display: inline-block;

    opacity: 0;

    transform:
        translate3d(0,
            18px,
            0) rotateX(40deg);

    will-change:
        opacity,
        transform;

    transition:
        opacity .45s cubic-bezier(.16, 1, .3, 1),
        transform .65s cubic-bezier(.16, 1, .3, 1);
}

.loader-letter.is-visible {
    opacity: 1;

    transform:
        translate3d(0, 0, 0) rotateX(0);
}


/* =========================================================
   LETTER EXIT
========================================================= */

.loader-letter.is-leaving {
    opacity: 0;

    transform:
        translate3d(0,
            -16px,
            0) rotateX(-35deg);

    transition:
        opacity .38s cubic-bezier(.76, 0, .24, 1),
        transform .5s cubic-bezier(.76, 0, .24, 1);
}


/* =========================================================
   LOADER EXIT
========================================================= */

.kodama-loader.is-finishing {
    pointer-events: none;

    opacity: 0;

    transition:
        opacity .9s cubic-bezier(.16, 1, .3, 1);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .kodama-loader-video {
        width: 150%;
        max-width: none;

        /* Posição negativa joga a imagem para a direita */
        left: -45%;
        right: auto;

        object-fit: cover;
        object-position: center center;

        transform: scale(1.06);
    }

    /* ... mantêm-se as demais regras do loader-intro, etc. ... */
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .kodama-loader-video {
        width: 170%;
        left: -55%;
        /* Move ainda mais o enquadramento para a direita */
        transform: scale(1.04);
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .kodama-loader-video {
        width: 185%;
        left: -62%;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .kodama-loader-video,
    .loader-curtain,
    .loader-intro,
    .loader-letter {
        transition: none !important;
    }

}





/* =========================================================
   KODAMA — GLOBAL
========================================================= */

:root {
    --bg: #000000;
    --bg-soft: #171714;
    --bg-light: #e9e6df;
    --surface: #1c1c18;

    --text: #f2efe8;
    --text-soft: #b8b4aa;
    --text-dark: #171714;
    --line: rgba(242, 239, 232, 0.16);
    --line-dark: rgba(23, 23, 20, 0.16);

    --accent: #d8c9a7;

    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;

    --container: min(90vw, 1440px);

    --header-height: 100px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    scroll-behavior: auto;
}



/* =========================================================
   CUSTOM MOUSE CURSOR
========================================================= */

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;

    width: 18px;
    height: 18px;

    border: 1px solid currentColor;
    border-radius: 50%;

    pointer-events: none;
    z-index: 99999;

    transform: translate(-50%, -50%);
    transition:
        width 0.35s cubic-bezier(.16, 1, .3, 1),
        height 0.35s cubic-bezier(.16, 1, .3, 1),
        background-color 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease;

    display: flex;
    align-items: center;
    justify-content: center;

    mix-blend-mode: difference;
}

.custom-cursor-text {
    font-family: "DM Sans", sans-serif;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.08em;

    opacity: 0;
    transform: scale(0.5);

    transition:
        opacity 0.25s ease,
        transform 0.35s cubic-bezier(.16, 1, .3, 1);
}

/* Quando estiver sobre elementos interativos */

.custom-cursor.is-hovering {
    width: 75px;
    height: 75px;
}

.custom-cursor.is-hovering .custom-cursor-text {
    opacity: 1;
    transform: scale(1);
}

/* Cursor em elementos que queremos destacar */

.custom-cursor.is-story {
    width: 95px;
    height: 95px;
}

.custom-cursor.is-story .custom-cursor-text {
    opacity: 1;
    transform: scale(1);
}

/* Esconde o cursor original apenas em desktop */

@media (min-width: 769px) {
    *,
    *::before,
    *::after,
    body,
    a,
    button,
    input,
    label,
    select {
        cursor: none !important;
    }
}

/* Não usar cursor customizado no mobile */

@media (max-width: 768px) {
    .custom-cursor {
        display: none;
    }

    body,
    a,
    button {
        cursor: auto;
    }
}




body {
    margin: 0;
    padding: 0;

    background: var(--bg);
    color: var(--text);

    font-family: var(--sans);
    font-weight: 400;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img,
video {
    display: block;
    width: 100%;
}

img {
    max-width: 100%;
}

button,
input {
    font: inherit;
}

button {
    border: 0;
    padding: 0;
    background: none;
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

figure,
h1,
h2,
h3,
p,
ul {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

::selection {
    background: var(--accent);
    color: var(--text-dark);
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.sr-only {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;
    clip: rect(0, 0, 0, 0);

    white-space: nowrap;
    border: 0;
}

.newsletter-hidden-field {
    position: absolute !important;

    width: 1px;
    height: 1px;

    overflow: hidden;

    opacity: 0;
    pointer-events: none;
}


/* =========================================================
   SITE
========================================================= */

.site {
    position: relative;
    width: 100%;
    overflow: clip;
}

.section-container {
    width: var(--container);
    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;

    top: 0;
    left: 0;

    z-index: 100;

    width: 100%;
    height: var(--header-height);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-inline: 5vw;

    mix-blend-mode: difference;

    pointer-events: none;
}

.site-header>* {
    pointer-events: auto;
}


/* =========================================================
   MENU TOGGLE
========================================================= */

.menu-toggle {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 14px;

    cursor: pointer;

    color: var(--text);

    text-transform: uppercase;
    font-size: 10px;
    font-weight: 500;

    letter-spacing: 0.16em;

    transition:
        opacity 0.4s var(--ease),
        transform 0.4s var(--ease);
}

.menu-toggle:hover {
    opacity: 0.65;
}

.menu-toggle-label {
    display: block;
}

.menu-toggle-icon {
    position: relative;

    width: 28px;
    height: 18px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.menu-toggle-icon span {
    display: block;

    width: 100%;
    height: 1px;

    background: currentColor;

    transform-origin: center;

    transition:
        transform 0.6s var(--ease),
        width 0.6s var(--ease);
}

.menu-toggle-icon span:last-child {
    width: 65%;
    align-self: flex-end;
}

.menu-toggle:hover .menu-toggle-icon span:last-child {
    width: 100%;
}


/* =========================================================
   WORDMARK
========================================================= */

.site-wordmark {
    position: relative;

    color: var(--text);

    font-size: 17px;
    font-weight: 500;

    letter-spacing: 0.24em;

    line-height: 1;

    overflow: hidden;
}

.wordmark-line {
    display: block;

    transition:
        transform 0.6s var(--ease),
        opacity 0.6s var(--ease);
}

.site-wordmark:hover .wordmark-line {
    transform: translateY(-3px);
    opacity: 0.65;
}


/* =========================================================
   MENU BACKDROP
========================================================= */

.menu-backdrop {
    position: fixed;

    inset: 0;

    z-index: 200;

    background: rgba(8, 8, 7, 0.3);

    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.8s var(--ease),
        visibility 0.8s;
}

body.menu-open .menu-backdrop {
    opacity: 1;
    visibility: visible;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


/* =========================================================
   FULLSCREEN MENU
========================================================= */

.site-menu {
    position: fixed;

    top: 3vh;
    left: 3vw;

    z-index: 210;

    width: 94vw;
    height: 94vh;

    background: var(--bg-light);
    color: var(--text-dark);

    border-radius: 2px;

    overflow: hidden;

    visibility: hidden;
    pointer-events: none;

    clip-path: inset(0 0 100% 0);

    transition:
        clip-path 1s var(--ease),
        visibility 0s linear 1s;
}

body.menu-open .site-menu {
    visibility: visible;
    pointer-events: auto;

    clip-path: inset(0 0 0 0);

    transition:
        clip-path 1s var(--ease),
        visibility 0s;
}

.site-menu-inner {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;

    padding: clamp(25px, 4vw, 60px);
}


/* =========================================================
   MENU HEADER
========================================================= */

.site-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 30px;

    border-bottom: 1px solid var(--line-dark);
}

.menu-header-label,
.menu-section-label {
    font-size: 9px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.18em;

    opacity: 0.55;
}

.menu-close {
    display: flex;
    align-items: center;
    gap: 13px;

    cursor: pointer;

    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.16em;

    transition: opacity 0.4s ease;
}

.menu-close:hover {
    opacity: 0.5;
}

.menu-close-icon {
    position: relative;

    width: 25px;
    height: 20px;
}

.menu-close-icon span {
    position: absolute;

    top: 50%;
    left: 0;

    width: 100%;
    height: 1px;

    background: currentColor;
}

.menu-close-icon span:first-child {
    transform: rotate(45deg);
}

.menu-close-icon span:last-child {
    transform: rotate(-45deg);
}


/* =========================================================
   MENU CONTENT
========================================================= */

.site-menu-content {
    flex: 1;

    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
    gap: 7vw;

    padding-top: clamp(35px, 5vw, 75px);

    overflow-y: auto;
}

.site-menu-navigation ul {
    margin-top: 30px;
}

.site-menu-navigation li {
    overflow: hidden;

    border-bottom: 1px solid var(--line-dark);
}

.site-menu-navigation a {
    position: relative;

    min-height: 70px;

    display: grid;
    grid-template-columns: 50px 1fr auto;
    align-items: center;

    gap: 20px;

    transition:
        padding 0.6s var(--ease),
        color 0.4s ease;
}

.site-menu-navigation a::before {
    content: "";

    position: absolute;

    inset: 0;

    background: var(--text-dark);

    transform: translateY(101%);

    transition: transform 0.7s var(--ease);

    z-index: -1;
}

.site-menu-navigation a:hover {
    padding-inline: 20px;
    color: var(--bg-light);
}

.site-menu-navigation a:hover::before {
    transform: translateY(0);
}

.menu-number {
    font-size: 9px;
    opacity: 0.45;
}

.menu-link-text {
    font-family: var(--serif);

    font-size: clamp(28px, 3.3vw, 52px);
    font-weight: 400;

    line-height: 1;
}

.menu-link-arrow {
    font-size: 18px;

    transition:
        transform 0.6s var(--ease);
}

.site-menu-navigation a:hover .menu-link-arrow {
    transform: rotate(45deg);
}


/* =========================================================
   MENU CATEGORIES
========================================================= */

.site-menu-categories ul {
    display: flex;
    flex-direction: column;

    margin-top: 30px;
}

.site-menu-categories li {
    border-bottom: 1px solid var(--line-dark);
}

.site-menu-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 0;

    font-size: 13px;

    transition:
        padding 0.5s var(--ease),
        opacity 0.4s ease;
}

.site-menu-categories a::after {
    content: "↗";

    opacity: 0;

    transform: translate(-8px, 8px);

    transition:
        opacity 0.5s var(--ease),
        transform 0.5s var(--ease);
}

.site-menu-categories a:hover {
    padding-inline: 10px;
}

.site-menu-categories a:hover::after {
    opacity: 1;
    transform: translate(0, 0);
}


/* =========================================================
   MENU FOOTER
========================================================= */

.site-menu-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 25px;

    border-top: 1px solid var(--line-dark);
}

.menu-footer-links {
    display: flex;
    gap: 25px;
}

.menu-footer-links a {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.13em;

    transition: opacity 0.3s ease;
}

.menu-footer-links a:hover {
    opacity: 0.45;
}

.menu-footer-copy {
    font-family: var(--serif);

    font-size: 13px;
    font-style: italic;

    opacity: 0.55;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    width: 100%;
    min-height: 100svh;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

}

.hero-media {
    position: absolute;

    inset: -5%;

    width: 110%;
    height: 110%;

    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: saturate(0.7) contrast(1.05);
}

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0) 35%,
            rgba(0, 0, 0, 0) 55%,
            rgba(0, 0, 0, 0) 72%,
            rgba(0, 0, 0, 0.349) 87%,
            #000 100%);
}

.hero-content {
    position: relative;

    z-index: 2;

    width: var(--container);

    margin-inline: auto;

    padding-top: 170px;
    padding-bottom: clamp(100px, 13vh, 170px);
}

.hero-eyebrow {
    margin-bottom: 25px;

    font-size: 10px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.2em;

    opacity: 0.75;
}

.hero-title {
    max-width: 1000px;

    font-family: var(--serif);

    font-size: clamp(58px, 9.2vw, 150px);

    font-weight: 400;

    line-height: 0.88;
    letter-spacing: -0.055em;
}

.hero-title-line {
    display: block;
}

.hero-title-emphasis {
    font-style: italic;

    padding-left: clamp(35px, 9vw, 145px);
}

.hero-description {
    max-width: 440px;

    margin-top: 45px;
    margin-left: clamp(0px, 9vw, 145px);

    font-size: 14px;
    line-height: 1.7;

    color: rgba(242, 239, 232, 0.72);
}


/* =========================================================
   HERO BUTTON
========================================================= */

.hero-discover-button {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 22px;

    margin-top: 42px;
    margin-left: clamp(0px, 9vw, 145px);

    padding: 8px 8px 8px 22px;

    border: 1px solid rgba(242, 239, 232, 0.4);
    border-radius: 100px;

    overflow: hidden;

    transition:
        color 0.6s var(--ease),
        border-color 0.6s ease;
}

.hero-discover-button::before {
    content: "";

    position: absolute;

    inset: 0;

    background: var(--text);

    transform: translateX(-102%);

    transition: transform 0.7s var(--ease);
}

.hero-discover-button:hover {
    color: var(--text-dark);
    border-color: var(--text);
}

.hero-discover-button:hover::before {
    transform: translateX(0);
}

.hero-discover-button-text,
.hero-discover-button-circle {
    position: relative;
    z-index: 1;
}

.hero-discover-button-text {
    font-size: 10px;

    text-transform: uppercase;
    letter-spacing: 0.13em;
}

.hero-discover-button-circle {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--text);
    color: var(--text-dark);

    transition:
        transform 0.7s var(--ease),
        background 0.5s ease;
}

.hero-discover-button:hover .hero-discover-button-circle {
    transform: rotate(-45deg);
    background: var(--text-dark);
    color: var(--text);
}


/* =========================================================
   HERO META
========================================================= */

.hero-meta {
    position: absolute;

    left: 5vw;
    right: 5vw;
    bottom: 28px;

    z-index: 3;

    display: flex;
    justify-content: space-between;

    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.14em;

    color: rgba(242, 239, 232, 0.55);
}


/* =========================================================
   SECTION COMMON
========================================================= */

.featured-section,
.collection-section,
.stories-section,
.reading-section {
    background: var(--bg);
}

.section-kicker {
    margin-bottom: 25px;

    font-size: 9px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 0.2em;

    color: var(--text-soft);
}




.section-introduction {
    max-width: 380px;

    font-size: 14px;
    line-height: 1.75;

    color: var(--text-soft);
}


/* =========================================================
   FEATURED
========================================================= */

.featured-section {
    padding-top: clamp(120px, 16vw, 230px);
    padding-bottom: clamp(130px, 17vw, 250px);
}

.featured-header {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    gap: 8vw;

    align-items: end;

    margin-bottom: clamp(70px, 9vw, 130px);
}

.featured-header h2,
.collection-header h2,
.stories-header h2 {
    max-width: 850px;

    font-family: var(--serif);

    font-size: clamp(46px, 6.5vw, 100px);

    font-weight: 400;

    line-height: 0.95;

    letter-spacing: -0.045em;
}

.featured-header h2 em,
.collection-header h2 em,
.stories-header h2 em {
    font-style: italic;
}


/* =========================================================
   FEATURED BOOK GRID
========================================================= */

.featured-books-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr) repeat(3, minmax(0, 0.75fr));

    gap: clamp(18px, 2.2vw, 35px);

    align-items: start;
}

.featured-book {
    min-width: 0;
}

.featured-book-primary {
    grid-row: span 2;
}

.book-cover-link {
    display: block;

    overflow: hidden;
}

.book-cover {
    position: relative;

    aspect-ratio: 2 / 3;

    overflow: hidden;

    background: var(--surface);
}

.book-cover img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1.2s var(--ease),
        filter 1s ease;
}

.book-cover-link:hover img {
    transform: scale(1.045);

    filter: brightness(1.06);
}

.book-details {
    padding-top: 20px;
}

.book-category {
    margin-bottom: 10px;

    font-size: 10px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.16em;

    color: var(--text-soft);
}

.book-details h3 {
    font-family: var(--serif);

    font-size: clamp(21px, 2vw, 32px);
    font-weight: 400;

    line-height: 1.05;
}

.book-author {
    margin-top: 7px;

    font-size: 13px;

    color: var(--text-soft);
}

.book-excerpt {
    max-width: 450px;

    margin-top: 25px;

    font-size: 13px;
    line-height: 1.7;

    color: var(--text-soft);
}


/* =========================================================
   FEATURED BOOK BUTTON
========================================================= */

.book-read-button {
    position: relative;

    display: inline-flex;
    align-items: center;

    margin-top: 30px;

    padding-bottom: 8px;

    font-size: 9px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.15em;

    overflow: hidden;
}

.book-read-button-line {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background: currentColor;

    transform-origin: right;

    transition: transform 0.7s var(--ease);
}

.book-read-button:hover .book-read-button-line {
    transform: scaleX(0);
    transform-origin: left;
}


/* =========================================================
   FEATURED MORE BUTTON
========================================================= */

.section-action {
    margin-top: 80px;
}

.featured-more-button {
    display: inline-flex;
    align-items: stretch;

    border: 1px solid var(--line);

    transition:
        color 0.6s var(--ease),
        background 0.6s var(--ease);
}

.featured-more-button-label {
    padding: 17px 25px;

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.featured-more-button-number {
    min-width: 50px;

    display: grid;
    place-items: center;

    border-left: 1px solid var(--line);

    font-size: 9px;

    transition:
        background 0.6s var(--ease),
        color 0.6s var(--ease);
}

.featured-more-button:hover {
    background: var(--text);
    color: var(--text-dark);
}

.featured-more-button:hover .featured-more-button-number {
    background: var(--accent);
    border-color: var(--accent);
}


/* =========================================================
   EDITORIAL INTRO
========================================================= */

.editorial-intro-section {
    padding: clamp(130px, 17vw, 260px) 0;

    background: var(--bg-light);
    color: var(--text-dark);
}

.editorial-intro-grid {
    display: grid;

    grid-template-columns: 0.25fr 1fr;

    gap: 7vw;
}

.editorial-intro-content {
    max-width: 1050px;
}


.section-kicker {
    margin-bottom: 25px;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-dark);
}


.editorial-intro-content h2 {
    max-width: 1000px;

    font-family: var(--serif);

    font-size: clamp(45px, 6vw, 92px);

    font-weight: 400;

    line-height: 0.98;

    letter-spacing: -0.045em;
}

.editorial-intro-content h2 em {
    font-style: italic;
}

.editorial-intro-content>p {
    max-width: 570px;

    margin-top: 55px;
    margin-left: 15%;

    font-size: 15px;
    line-height: 1.8;

    opacity: 0.65;
}


/* =========================================================
   EDITORIAL BUTTON
========================================================= */

.editorial-text-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    margin-top: 45px;
    margin-left: 15%;
    font-weight: 500;

    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;

    border-bottom: 1px solid var(--line-dark);

    padding-bottom: 10px;

    transition:
        gap 0.6s var(--ease),
        opacity 0.4s ease;
}

.editorial-text-button-mark {
    width: 25px;
    height: 25px;

    display: grid;
    place-items: center;

    border: 1px solid var(--line-dark);
    border-radius: 50%;

    transition:
        transform 0.6s var(--ease),
        background 0.5s ease;
}

.editorial-text-button:hover {
    gap: 28px;
}

.editorial-text-button:hover .editorial-text-button-mark {
    transform: rotate(90deg);
    background: var(--text-dark);
    color: var(--bg-light);
}


/* =========================================================
   COLLECTION
========================================================= */

.collection-section {
    padding: clamp(130px, 17vw, 240px) 0;
}

.collection-header {
    max-width: 1000px;

    margin-bottom: 80px;
}

.collection-header .section-kicker {
    color: var(--text-soft);
}

.stories-header .section-kicker {
    color: var(--text-soft);
}

.reading-section .section-kicker {
    color: var(--text-soft);
}


/* =========================================================
   FILTERS
========================================================= */

.book-filters {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 65px;

    border-bottom: 1px solid var(--line);

    padding-bottom: 18px;
}

.book-filter {
    position: relative;

    padding: 10px 15px;

    cursor: pointer;

    color: var(--text-soft);

    font-size: 10px;
    font-weight: 400;

    text-transform: uppercase;
    letter-spacing: 0.13em;

    transition:
        color 0.4s ease,
        background 0.5s var(--ease);
}

.book-filter::before {
    content: "";

    position: absolute;

    inset: 0;

    border: 1px solid transparent;
    border-radius: 100px;

    transition:
        border-color 0.5s var(--ease),
        transform 0.5s var(--ease);
}

.book-filter:hover {
    color: var(--text);
}

.book-filter:hover::before,
.book-filter.active::before {
    border-color: var(--line);
}

.book-filter.active {
    color: var(--text);
}


/* =========================================================
   BOOK GALLERY
========================================================= */

.books-gallery {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap:
        clamp(55px, 7vw, 100px) clamp(18px, 2.5vw, 38px);
}

.book-card {
    min-width: 0;

    transition:
        opacity 0.5s var(--ease),
        transform 0.7s var(--ease);
}

.book-card.is-hidden {
    display: none;
}

.book-card-cover {
    display: block;

    overflow: hidden;

    aspect-ratio: 6 / 10;

    background: var(--surface);
}

.book-card-cover img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1s var(--ease),
        filter 0.8s ease;
}

.book-card:hover .book-card-cover img {
    transform: scale(1.045);
    filter: brightness(1.07);
}

.book-card-content {
    padding-top: 17px;
}

.book-card-content h3 {
    font-family: var(--serif);

    font-size: clamp(20px, 2vw, 29px);
    font-weight: 400;

    line-height: 1.05;
}


/* =========================================================
   COLLECTION LOAD
========================================================= */

.collection-footer-action {
    margin-top: 90px;

    display: flex;
    justify-content: center;
}

.collection-load-button {
    position: relative;

    display: flex;
    align-items: center;

    cursor: pointer;

    border: 1px solid var(--line);

    overflow: hidden;

    transition: color 0.6s ease;
}

.collection-load-button::before {
    content: "";

    position: absolute;

    inset: 0;

    background: var(--text);

    transform: scaleY(0);

    transform-origin: bottom;

    transition: transform 0.7s var(--ease);
}

.collection-load-button:hover {
    color: var(--text-dark);
}

.collection-load-button:hover::before {
    transform: scaleY(1);
}

.collection-load-label,
.collection-load-count {
    position: relative;
    z-index: 1;
}

.collection-load-label {
    padding: 17px 25px;

    font-size: 10px;

    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.collection-load-count {
    min-width: 55px;

    height: 100%;

    display: grid;
    place-items: center;

    border-left: 1px solid var(--line);

    font-size: 11px;
}




/* =========================================================
   KODAMA — ABOUT SECTION
   ========================================================= */

.about-kodama-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000000;
    color: #f1eee8;
    isolation: isolate;
}

.about-kodama-inner {
    width: min(100% - 10vw, 1500px);
    margin: 0 auto;
    padding: 9rem 0 10rem;
}


/* =========================================================
   TOP
   ========================================================= */

.about-kodama-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.about-kodama-index,
.about-kodama-top-note {
    display: flex;
    align-items: center;
    gap: .6rem;

    font-family: "DM Sans", sans-serif;
    font-size: .68rem;
    font-weight: 300;
    letter-spacing: .16em;
    text-transform: uppercase;

    color: rgba(241, 238, 232, 0.781);
}

.about-kodama-index span:first-child {
    color: #f1eee8;
}

.about-kodama-top-note {
    opacity: .75;
}


/* =========================================================
   INTRO
   ========================================================= */

.about-kodama-intro {
    display: grid;
    grid-template-columns: 20% 80%;
    padding: 9rem 0 8rem;
}

.about-kodama-intro-label {
    padding-top: .9rem;
}

.about-kodama-intro-label span,
.about-kodama-label {
    display: block;

    font-family: "DM Sans", sans-serif;
    font-size: .67rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;

    color: rgba(241, 238, 232, 0.788);
}

.about-kodama-intro-main {
    max-width: 1050px;
}

.about-kodama-title {
    margin: 0;

    font-family: "Playfair Display", serif;
    font-size: clamp(4rem, 8vw, 9rem);
    font-weight: 400;
    line-height: .91;
    letter-spacing: -.055em;
}

.about-kodama-title span {
    display: block;
    margin-left: 8vw;
    font-style: italic;
    color: rgba(241, 238, 232, .58);
}

.about-kodama-lead {
    max-width: 650px;
    margin: 4rem 0 0 auto;
}

.about-kodama-lead p {
    margin: 0;

    font-family: "DM Sans", sans-serif;
    font-size: clamp(1.05rem, 1.5vw, 1rem);
    font-weight: 300;
    line-height: 1.65;

    color: rgba(241, 238, 232, .68);
}


/* =========================================================
   STATEMENT
   ========================================================= */

.about-kodama-statement {
    position: relative;
    padding: 7rem 0 8rem;
}

.about-kodama-statement-line {
    width: 100%;
    height: 1px;
    margin-bottom: 5rem;
    background: rgba(255, 255, 255, .12);
}

.about-kodama-statement-content {
    position: relative;
    max-width: 1050px;
    margin-left: 20%;
}

.about-kodama-quote-mark {
    position: absolute;
    top: -1.2rem;
    left: -4rem;

    font-family: "Playfair Display", serif;
    font-size: 6rem;
    line-height: 1;

    color: rgba(241, 238, 232, .18);
}

.about-kodama-statement-content p {
    margin: 0;

    font-family: "Playfair Display", serif;
    font-size: clamp(2.8rem, 5vw, 6.2rem);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -.045em;

    max-width: 950px;
}


/* =========================================================
   STORY
   ========================================================= */

.about-kodama-story {
    display: grid;
    grid-template-columns: 20% 80%;

    padding: 7rem 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.about-kodama-story-number,
.about-kodama-support-number {
    font-family: "DM Sans", sans-serif;
    font-size: .7rem;
    letter-spacing: .15em;
    color: rgba(241, 238, 232, .4);
}

.about-kodama-story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 9rem);

    max-width: 1050px;
}

.about-kodama-copy-block {
    max-width: 500px;
}

.about-kodama-copy-block .about-kodama-label {
    margin-bottom: 2.2rem;
}

.about-kodama-copy-block p {
    margin: 0 0 1.8rem;

    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.8;

    color: rgba(241, 238, 232, .65);
}

.about-kodama-copy-block p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SUPPORT / MEDIA
   ========================================================= */

.about-kodama-support {
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: center;

    min-height: 720px;

    margin-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.about-kodama-support-media {
    position: relative;
    height: 620px;
    overflow: hidden;
}

.about-kodama-media-frame {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, .025),
            rgba(255, 255, 255, .005)),
        #101010;

    overflow: hidden;
}

.about-kodama-media-frame::before {
    content: "";
    position: absolute;
    inset: 10%;

    border: 1px solid rgba(255, 255, 255, .08);

    transform: rotate(-3deg) scale(1.05);
}

.about-kodama-media-frame::after {
    content: "K";
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    font-family: "Playfair Display", serif;
    font-size: clamp(15rem, 25vw, 30rem);
    font-style: italic;
    line-height: 1;

    color: rgba(255, 255, 255, .025);
}

.about-kodama-media-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 60% 40%,
            rgba(255, 255, 255, .07),
            transparent 38%);
}

.about-kodama-media-text {
    position: absolute;
    z-index: 2;

    left: 3rem;
    bottom: 3rem;

    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.about-kodama-media-text span {
    font-family: "DM Sans", sans-serif;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .28em;
}

.about-kodama-media-text small {
    font-family: "DM Sans", sans-serif;
    font-size: .58rem;
    letter-spacing: .16em;
    color: rgba(241, 238, 232, .4);
}

.about-kodama-support-content {
    padding: 7rem clamp(3rem, 7vw, 9rem);
}

.about-kodama-support-content h3 {
    margin: 0 0 3rem;

    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.045em;
}

.about-kodama-support-content h3 span {
    display: block;
    font-style: italic;
    color: rgba(241, 238, 232, .48);
}

.about-kodama-support-content .about-kodama-copy-block {
    max-width: 650px;
}


/* =========================================================
   FINAL STATEMENT
   ========================================================= */

.about-kodama-final {
    display: grid;
    grid-template-columns: 20% 80%;

    padding: 11rem 0 8rem;
}

.about-kodama-final-label {
    display: flex;
    flex-direction: column;
    gap: .5rem;

    font-family: "DM Sans", sans-serif;
    font-size: .67rem;
    letter-spacing: .16em;
    text-transform: uppercase;

    color: rgba(241, 238, 232, .4);
}

.about-kodama-final-content {
    max-width: 1100px;
}

.about-kodama-final-content h3 {
    margin: 0 0 5rem;

    font-family: "Playfair Display", serif;
    font-size: clamp(3.5rem, 7vw, 8rem);
    font-weight: 400;
    line-height: .95;
    letter-spacing: -.055em;
}

.about-kodama-final-content h3 span {
    display: block;
    margin-left: 10vw;

    font-style: italic;
    color: rgba(241, 238, 232, .48);
}

.about-kodama-final-text {
    max-width: 650px;
    margin-left: auto;
}

.about-kodama-final-text p {
    margin: 0 0 1.8rem;

    font-family: "DM Sans", sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;

    color: rgba(241, 238, 232, .62);
}

.about-kodama-final-text p:first-child {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    color: #f1eee8;
}


/* =========================================================
   BOTTOM CTA
   ========================================================= */

.about-kodama-bottom {
    padding-top: 4rem;
}

.about-kodama-bottom-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, .12);
}

.about-kodama-bottom-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    padding-top: 3rem;
}

.about-kodama-bottom-content p {
    margin: 0;

    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 3.5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.about-kodama-button {
    display: inline-flex;
    align-items: center;
    gap: 2.5rem;

    padding: 1.15rem 1.4rem;

    border: 1px solid rgba(255, 255, 255, .25);

    color: #f1eee8;
    text-decoration: none;

    font-family: "DM Sans", sans-serif;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;

    transition:
        background .4s ease,
        color .4s ease,
        border-color .4s ease,
        transform .4s ease;
}

.about-kodama-button:hover {
    background: #f1eee8;
    border-color: #f1eee8;
    color: #0a0a0a;
}

.about-kodama-button-arrow {
    font-size: 1rem;
}


/* =========================================================
   PARALLAX
   ========================================================= */

.about-kodama-support-media[data-parallax] {
    will-change: transform;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .about-kodama-inner {
        width: min(100% - 8vw, 1500px);
    }

    .about-kodama-intro,
    .about-kodama-story,
    .about-kodama-final {
        grid-template-columns: 1fr;
    }

    .about-kodama-intro-label,
    .about-kodama-story-number,
    .about-kodama-final-label {
        margin-bottom: 3rem;
    }

    .about-kodama-statement-content {
        margin-left: 0;
    }

    .about-kodama-story-content {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .about-kodama-support {
        grid-template-columns: 1fr;
    }

    .about-kodama-support-media {
        height: 500px;
    }

    .about-kodama-support-content {
        padding: 6rem 0;
    }

    .about-kodama-final-content h3 span {
        margin-left: 5vw;
    }

}


@media (max-width: 600px) {

    .about-kodama-inner {
        width: calc(100% - 10vw);
        padding: 6rem 0 7rem;
    }

    .about-kodama-top {
        align-items: flex-start;
        gap: 1.5rem;
    }

    .about-kodama-top-note {
        text-align: right;
    }

    .about-kodama-intro {
        padding: 6rem 0;
    }

    .about-kodama-title {
        font-size: clamp(3.2rem, 15vw, 5rem);
    }

    .about-kodama-title span {
        margin-left: 5vw;
    }

    .about-kodama-lead {
        margin-top: 3rem;
    }

    .about-kodama-statement {
        padding: 5rem 0 6rem;
    }

    .about-kodama-statement-line {
        margin-bottom: 3rem;
    }

    .about-kodama-quote-mark {
        position: relative;
        top: auto;
        left: auto;

        display: block;
        margin-bottom: 1rem;

        font-size: 4rem;
    }

    .about-kodama-statement-content p {
        font-size: clamp(2.3rem, 10vw, 4rem);
    }

    .about-kodama-story {
        padding: 5rem 0;
    }

    .about-kodama-support {
        margin-top: 2rem;
    }

    .about-kodama-support-media {
        height: 390px;
    }

    .about-kodama-support-content {
        padding: 5rem 0;
    }

    .about-kodama-support-content h3 {
        font-size: clamp(2.8rem, 12vw, 4rem);
    }

    .about-kodama-final {
        padding: 7rem 0 5rem;
    }

    .about-kodama-final-content h3 {
        font-size: clamp(3rem, 13vw, 5rem);
        margin-bottom: 3.5rem;
    }

    .about-kodama-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }

    .about-kodama-button {
        width: 100%;
        justify-content: space-between;
    }

}







/* =========================================================
   STORIES
========================================================= */

.stories-section {
    padding: clamp(130px, 17vw, 250px) 0;
}

.stories-header {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 8vw;

    align-items: end;

    margin-bottom: 100px;
}

.stories-list {
    border-top: 1px solid var(--line);
}

.story-item {
    border-bottom: 1px solid var(--line);
}

.story-link {
    position: relative;

    display: grid;

    grid-template-columns: 80px 1fr auto;

    align-items: center;

    gap: 30px;

    min-height: 120px;

    transition:
        padding 0.7s var(--ease),
        color 0.5s ease;
}

.story-link::before {
    content: "";

    position: absolute;

    inset: 0;

    background: var(--text);

    transform: scaleY(0);

    transform-origin: bottom;

    transition: transform 0.7s var(--ease);

    z-index: -1;
}

.story-link:hover {
    padding-inline: 30px;
    color: var(--text-dark);
}

.story-link:hover::before {
    transform: scaleY(1);
}

.story-number {
    font-size: 11px;
    opacity: 0.45;
}

.story-content {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.story-title {
    font-family: var(--serif);

    font-size: clamp(25px, 3vw, 44px);

    line-height: 1;
}

.story-type {
    font-size: 8px;

    text-transform: uppercase;
    letter-spacing: 0.15em;

    opacity: 0.5;
}

.story-arrow {
    font-size: 22px;

    transition:
        transform 0.7s var(--ease);
}

.story-link:hover .story-arrow {
    transform: rotate(45deg);
}


/* =========================================================
   STORIES BUTTON
========================================================= */

.stories-action {
    margin-top: 65px;
}

.stories-editorial-button {
    display: inline-grid;

    grid-template-columns: 48px auto 48px;

    align-items: center;

    min-height: 48px;

    border: 1px solid var(--line);
}

.stories-editorial-button-number,
.stories-editorial-button-circle {
    height: 100%;

    display: grid;
    place-items: center;

    font-size: 9px;
}

.stories-editorial-button-number {
    border-right: 1px solid var(--line);
}

.stories-editorial-button-circle {
    border-left: 1px solid var(--line);

    transition:
        transform 0.7s var(--ease),
        background 0.5s ease;
}

.stories-editorial-button-text {
    padding-inline: 22px;

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: 0.13em;
}

.stories-editorial-button:hover .stories-editorial-button-circle {
    transform: rotate(90deg);
    background: var(--text);
    color: var(--text-dark);
}


/* =========================================================
   ATMOSPHERE
========================================================= */

.atmosphere-section {
    position: relative;

    min-height: 90svh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #090908;
}

.atmosphere-media {
    position: absolute;

    inset: 0;

    z-index: 0;
}

.atmosphere-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.04);
}

.atmosphere-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background: linear-gradient(to bottom,
            rgb(0, 0, 0) 0%,
            rgba(0, 0, 0, 0.03) 30%,
            rgba(0, 0, 0, 0.12) 50%,
            rgba(0, 0, 0, 0) 65%,
            rgba(0, 0, 0, 0) 80%,
            rgba(0, 0, 0, 0) 92%,
            #000 100%);
}

.atmosphere-content {
    position: relative;

    z-index: 2;

    max-width: 750px;

    padding-block: 150px;
}

.atmosphere-content .section-kicker {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}


.atmosphere-content h2 {
    font-family: var(--serif);

    font-size: clamp(58px, 8vw, 125px);

    font-weight: 400;

    line-height: 0.9;

    letter-spacing: -0.055em;
}

.atmosphere-content h2 em {
    font-style: italic;
}

.atmosphere-content>p:not(.section-kicker) {
    max-width: 430px;

    margin-top: 40px;

    font-size: 14px;
    line-height: 1.75;

    color: rgba(242, 239, 232, 0.7);
}


/* =========================================================
   ATMOSPHERE BUTTON
========================================================= */

.atmosphere-button {
    position: relative;

    display: inline-flex;

    margin-top: 45px;

    padding: 2px;

    border-radius: 100px;

    background: rgba(242, 239, 232, 0.25);

    overflow: hidden;
}

.atmosphere-button-inner {
    position: relative;
    z-index: 2;

    padding: 17px 27px;

    border-radius: 100px;

    background: var(--text);

    color: var(--text-dark);

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: 0.14em;

    transition:
        transform 0.7s var(--ease),
        background 0.5s ease;
}

.atmosphere-button:hover .atmosphere-button-inner {
    transform: scale(0.94);
    background: transparent;
    color: var(--text);
}


/* =========================================================
   READING SECTION
========================================================= */

.reading-section {
    padding: clamp(140px, 18vw, 270px) 0;
}

.reading-layout {
    display: grid;

    grid-template-columns: 0.25fr 1fr;

    gap: 7vw;
}

.reading-main {
    max-width: 1050px;
}

.reading-main h2 {
    max-width: 1000px;

    font-family: var(--serif);

    font-size: clamp(48px, 6vw, 92px);

    font-weight: 400;

    line-height: 0.98;

    letter-spacing: -0.045em;
}

.reading-main h2 em {
    font-style: italic;
}

.reading-columns {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 5vw;

    max-width: 800px;

    margin-top: 70px;
    margin-left: 15%;
}

.reading-columns p {
    font-size: 14px;

    line-height: 1.8;

    color: var(--text-soft);
}


/* =========================================================
   READING BUTTON
========================================================= */

.reading-button {
    display: inline-flex;
    align-items: center;

    margin-top: 55px;
    margin-left: 15%;

    gap: 25px;

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.reading-button-bar {
    position: relative;

    width: 65px;
    height: 1px;

    background: var(--line);

    overflow: hidden;
}

.reading-button-bar span {
    position: absolute;

    inset: 0;

    background: var(--text);

    transform: translateX(-100%);

    transition: transform 0.7s var(--ease);
}

.reading-button:hover .reading-button-bar span {
    transform: translateX(0);
}


/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter-section {
    padding: clamp(130px, 17vw, 230px) 0;

    background: var(--bg-light);
    color: var(--text-dark);
}

.newsletter-content {
    max-width: 1050px;
}

.newsletter-content h2 {
    max-width: 950px;

    font-family: var(--serif);

    font-size: clamp(55px, 7vw, 110px);

    font-weight: 400;

    line-height: 0.92;

    letter-spacing: -0.05em;
}

.newsletter-content h2 em {
    font-style: italic;
}

.newsletter-description {
    max-width: 500px;

    margin-top: 45px;

    font-size: 14px;
    line-height: 1.75;

    opacity: 0.62;
}


/* =========================================================
   NEWSLETTER FORM
========================================================= */

.newsletter-form {
    display: flex;

    max-width: 700px;

    margin-top: 60px;

    border-bottom: 1px solid var(--line-dark);
}

.newsletter-form input {
    flex: 1;

    min-width: 0;

    padding: 20px 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--text-dark);

    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: rgba(23, 23, 20, 0.45);
}


/* =========================================================
   NEWSLETTER BUTTON
========================================================= */

.newsletter-submit {
    position: relative;

    display: flex;
    align-items: center;
    gap: 25px;

    padding: 0 4px 0 20px;

    cursor: pointer;

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: 0.14em;

    overflow: hidden;
}

.newsletter-submit::before {
    content: "";

    position: absolute;

    inset: 8px 0;

    background: var(--text-dark);

    transform: translateX(-105%);

    transition: transform 0.7s var(--ease);
}

.newsletter-submit:hover {
    color: var(--bg-light);
}

.newsletter-submit:hover::before {
    transform: translateX(0);
}

.newsletter-submit span {
    position: relative;
    z-index: 1;
}

.newsletter-submit-mark {
    position: relative;

    z-index: 1;

    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    border: 1px solid var(--line-dark);
    border-radius: 50%;

    transition:
        transform 0.7s var(--ease),
        border-color 0.5s ease;
}

.newsletter-submit:hover .newsletter-submit-mark {
    transform: rotate(45deg);
    border-color: rgba(242, 239, 232, 0.3);
}






/* =====================================================
   KODAMA — FULLSCREEN FOOTER
====================================================== */

.site-footer {
    position: relative;
    min-height: 100svh;

    display: flex;
    align-items: stretch;

    padding: 0;

    background: black;
    color: var(--text);

    overflow: hidden;
}


/* =====================================================
   CONTAINER
====================================================== */

.site-footer .section-container {
    position: relative;

    width: var(--container);
    min-height: 100svh;

    margin: 0 auto;

    display: flex;
    flex-direction: column;
}


/* =====================================================
   TOP AREA
====================================================== */

.footer-top {
    display: grid;

    grid-template-columns:
        minmax(220px, .8fr) minmax(500px, 1.6fr);

    gap: 8vw;

    padding-top: clamp(80px, 10vh, 130px);

    position: relative;
    z-index: 3;
}


/* =====================================================
   SMALL BRAND
====================================================== */

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.footer-wordmark-small {
    display: inline-block;

    color: var(--text);

    font-family: "DM Sans", sans-serif;

    font-size: 15px;
    font-weight: 500;

    letter-spacing: .18em;
    text-transform: uppercase;

    text-decoration: none;

    transition:
        opacity .4s ease,
        transform .5s cubic-bezier(.16, 1, .3, 1);
}


.footer-wordmark-small:hover {
    opacity: .55;

    transform:
        translateY(-3px);
}


.footer-brand p {
    max-width: 210px;

    margin-top: 25px;

    font-family: "Playfair Display", serif;

    font-size: 18px;
    line-height: 1.45;

    color: rgba(242, 239, 232, .58);
}


/* =====================================================
   NAVIGATION
====================================================== */

.footer-navigation {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 35px;
}


.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.footer-column-title {
    display: block;

    margin-bottom: 25px;

    font-family: "DM Sans", sans-serif;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: .16em;
    text-transform: uppercase;

    color: rgba(242, 239, 232, .60);
}


/* =====================================================
   FOOTER LINKS
====================================================== */

.footer-column a {
    position: relative;

    display: inline-block;

    width: fit-content;

    margin-bottom: 13px;

    color: rgba(242, 239, 232, .90);

    font-family: "DM Sans", sans-serif;

    font-size: 15px;
    font-weight: 600;

    line-height: 1.5;

    text-decoration: none;

    transition:
        color .35s ease,
        transform .5s cubic-bezier(.16, 1, .3, 1);
}


.footer-column a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -3px;

    width: 100%;
    height: 1px;

    background: currentColor;

    transform: scaleX(0);
    transform-origin: right center;

    transition:
        transform .5s cubic-bezier(.16, 1, .3, 1);
}


.footer-column a:hover {
    color: var(--text);

    transform:
        translateX(5px);
}


.footer-column a:hover::after {
    transform: scaleX(1);

    transform-origin: left center;
}


/* =====================================================
   BOTTOM META
====================================================== */

.footer-bottom {
    position: relative;
    z-index: 3;

    display: grid;

    grid-template-columns:
        1fr 1fr 1fr;

    align-items: center;

    margin-top: auto;

    padding-top: 40px;
    padding-bottom: 25px;

    border-top: 1px solid rgba(242, 239, 232, .12);
}


.footer-bottom span {
    font-family: "DM Sans", sans-serif;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: .13em;

    text-transform: uppercase;

    color: rgba(242, 239, 232, .65);
}


.footer-bottom span:nth-child(2) {
    text-align: center;
}


.footer-bottom span:last-child {
    text-align: right;
}


/* =====================================================
   GIANT WORDMARK
====================================================== */

.footer-giant-wrap {

    position: relative;

    width: 100%;

    /*
       Importante:
       não usamos overflow:hidden aqui.
       Isso evita cortar o KODAMA.
    */

    display: flex;

    justify-content: center;
    align-items: flex-end;

    margin-top: auto;

    padding-top: 30px;

    z-index: 1;
}


.footer-giant-wordmark {

    display: block;

    width: 100%;

    text-align: center;

    white-space: nowrap;

    text-decoration: none;

    color: rgba(242, 239, 232, .075);

    font-family: "DM Sans", sans-serif;

    /*
       O clamp deixa o tamanho enorme,
       mas impede que ele fique maior
       que a largura disponível.
    */

    font-size: clamp(90px,
            17vw,
            900px);

    font-weight: 800;

    letter-spacing: -.075em;

    /*
       O line-height mais confortável
       evita cortar a parte superior/inferior
       das letras.
    */

    line-height: .85;

    padding:
        .08em .04em .14em;

    transform-origin: center bottom;

    transition:
        color .8s cubic-bezier(.16, 1, .3, 1),
        letter-spacing .8s cubic-bezier(.16, 1, .3, 1),
        transform 1s cubic-bezier(.16, 1, .3, 1);
}


/* =====================================================
   GIANT LOGO HOVER
====================================================== */

.footer-giant-wordmark:hover {

    color: rgba(255, 255, 255, 0.719);

    letter-spacing: -.055em;

    transform:
        translateY(-8px) scale(1.015);
}


/* =====================================================
   FOOTER REVEAL INITIAL STATE
====================================================== */

.site-footer [data-reveal] {
    opacity: 0;

    transform:
        translateY(35px);
}


/* =====================================================
   REDUCED MOTION
====================================================== */

@media (prefers-reduced-motion: reduce) {

    .footer-wordmark-small,
    .footer-column a,
    .footer-column a::after,
    .footer-giant-wordmark {
        transition: none;
    }

    .site-footer [data-reveal] {
        opacity: 1;
        transform: none;
    }

}


/* =====================================================
   TABLET
====================================================== */

@media (max-width: 1000px) {

    .footer-top {
        grid-template-columns: 1fr;

        gap: 65px;
    }


    .footer-brand p {
        max-width: 300px;
    }


    .footer-navigation {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }


    .footer-giant-wordmark {
        font-size: clamp(80px,
                16vw,
                180px);
    }

}


/* =====================================================
   MOBILE
====================================================== */

@media (max-width: 768px) {

    .site-footer {
        min-height: 100svh;
    }


    .site-footer .section-container {
        min-height: 100svh;

        width: 88vw;
    }


    /* -----------------------------------------------
       TOP
    ------------------------------------------------ */

    .footer-top {

        padding-top: 70px;

        gap: 55px;
    }


    /* -----------------------------------------------
       NAVIGATION
    ------------------------------------------------ */

    .footer-navigation {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            45px 25px;
    }


    .footer-column-title {
        margin-bottom: 20px;
    }


    .footer-column a {
        font-size: 12px;

        margin-bottom: 12px;
    }


    /* -----------------------------------------------
       BOTTOM
    ------------------------------------------------ */

    .footer-bottom {

        grid-template-columns: 1fr;

        gap: 10px;

        padding-top: 25px;
        padding-bottom: 20px;
    }


    .footer-bottom span,
    .footer-bottom span:nth-child(2),
    .footer-bottom span:last-child {

        text-align: left;
    }


    /* -----------------------------------------------
       GIANT LOGO
    ------------------------------------------------ */

    .footer-giant-wrap {

        padding-top: 25px;

        /*
           Mantemos uma área própria
           para o logo não ser cortado.
        */

        min-height: 125px;

        align-items: flex-end;
    }


    .footer-giant-wordmark {

        /*
           Menor no mobile para garantir
           que TODA a palavra caiba.
        */

        width: 100%;

        font-size: clamp(64px,
                18vw,
                125px);

        letter-spacing: -.065em;

        line-height: .9;

        padding:
            .08em .02em .16em;
    }


    .footer-giant-wordmark:hover {

        letter-spacing: -.045em;

        transform:
            translateY(-5px) scale(1.01);
    }

}


/* =====================================================
   SMALL MOBILE
====================================================== */

@media (max-width: 480px) {

    .site-footer .section-container {
        width: 90vw;
    }


    .footer-top {
        padding-top: 55px;

        gap: 45px;
    }


    .footer-brand p {
        font-size: 16px;

        max-width: 240px;
    }


    .footer-navigation {
        gap:
            40px 20px;
    }


    .footer-giant-wrap {

        min-height: 105px;

        padding-top: 20px;
    }


    .footer-giant-wordmark {

        font-size: clamp(55px,
                17.5vw,
                85px);

        letter-spacing: -.06em;

        /*
           Espaço vertical extra.
           Impede clipping das letras.
        */

        padding:
            .1em .015em .18em;
    }

}


/* =====================================================
   VERY SMALL SCREENS
====================================================== */

@media (max-width: 360px) {

    .footer-navigation {
        grid-template-columns: 1fr 1fr;

        column-gap: 15px;
    }


    .footer-giant-wordmark {

        font-size: 52px;

        letter-spacing: -.055em;
    }

}






/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1100px) {

    :root {
        --container: 90vw;
    }


    .featured-books-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .featured-book-primary {
        grid-row: span 1;

        grid-column: span 2;
    }


    .featured-book-primary .book-cover {
        aspect-ratio: 16 / 10;
    }


    .books-gallery {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .site-menu-content {
        gap: 5vw;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 768px) {

    :root {
        --header-height: 80px;
        --container: 88vw;
    }


    /* HEADER */

    .site-header {
        padding-inline: 6vw;
    }

    .menu-toggle-label {
        display: none;
    }

    .site-wordmark {
        font-size: 15px;
    }


    /* MENU */

    .site-menu {
        top: 2vh;
        left: 2vw;

        width: 96vw;
        height: 96vh;
    }

    .site-menu-inner {
        padding: 25px;
    }

    .site-menu-content {
        display: block;

        padding-top: 35px;
    }

    .site-menu-navigation a {
        min-height: 58px;

        grid-template-columns: 30px 1fr auto;
    }

    .menu-link-text {
        font-size: 29px;
    }

    .site-menu-categories {
        margin-top: 50px;
    }

    .site-menu-footer {
        flex-direction: column;
        align-items: flex-start;

        gap: 15px;
    }


    /* HERO */

    .hero-content {
        padding-top: 140px;
        padding-bottom: 125px;
    }


    .hero-video {
        object-position: 82% center;
    }


    .hero-title {
        font-size: clamp(55px, 15vw, 100px);
    }

    .hero-title-emphasis {
        padding-left: 12vw;
    }

    .hero-description {
        margin-left: 0;
        margin-top: 35px;

        max-width: 340px;
    }

    .hero-discover-button {
        margin-left: 0;
    }

    .hero-meta {
        left: 6vw;
        right: 6vw;

        bottom: 20px;
    }

    .hero-meta span:nth-child(2) {
        display: none;
    }


    /* HEADERS */

    .featured-header,
    .stories-header {
        display: block;
    }

    .section-introduction {
        margin-top: 35px;
    }


    .featured-header h2,
    .collection-header h2,
    .stories-header h2,
    .editorial-intro-content h2,
    .reading-main h2 {
        font-size: clamp(44px, 12vw, 75px);
    }


    /* FEATURED */

    .featured-books-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 50px 15px;
    }

    .featured-book-primary {
        grid-column: span 2;
    }

    .featured-book-primary .book-cover {
        aspect-ratio: 2 / 3;
    }


    /* EDITORIAL */

    .editorial-intro-grid,
    .reading-layout {
        display: block;
    }

    .editorial-intro-label,
    .reading-label {
        margin-bottom: 45px;
    }

    .editorial-intro-content>p,
    .editorial-text-button,
    .reading-columns,
    .reading-button {
        margin-left: 0;
    }

    .reading-columns {
        grid-template-columns: 1fr;

        gap: 25px;

        margin-top: 50px;
    }


    /* COLLECTION */

    .book-filters {
        gap: 5px;

        margin-bottom: 50px;
    }

    .book-filter {
        padding: 8px 11px;

        font-size: 8px;
    }

    .books-gallery {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 55px 15px;
    }


    /* STORIES */

    .story-link {
        grid-template-columns: 35px 1fr auto;

        min-height: 100px;

        gap: 15px;
    }

    .story-link:hover {
        padding-inline: 15px;
    }

    .story-title {
        font-size: 24px;
    }


    /* ATMOSPHERE */

    .atmosphere-section {
        min-height: 80svh;
    }

    .atmosphere-content {
        padding-block: 120px;
    }

    .atmosphere-content h2 {
        font-size: clamp(58px, 16vw, 100px);
    }


    /* NEWSLETTER */

    .newsletter-form {
        display: block;

        border-bottom: 0;
    }

    .newsletter-form input {
        width: 100%;

        border-bottom: 1px solid var(--line-dark);
    }

    .newsletter-submit {
        min-height: 65px;

        padding-left: 0;
    }


    /* FOOTER */

    .footer-main {
        grid-template-columns: 1fr;

        gap: 70px;

        padding-bottom: 70px;
    }

    .footer-navigation {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        row-gap: 50px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .footer-bottom span,
    .footer-bottom span:nth-child(2),
    .footer-bottom span:last-child {
        text-align: left;
    }

}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    :root {
        --container: 88vw;
    }


    .hero-title {
        font-size: 16vw;
    }

    .hero-title-emphasis {
        padding-left: 8vw;
    }


    .featured-books-grid {
        display: block;
    }

    .featured-book {
        margin-bottom: 60px;
    }


    .books-gallery {
        gap: 45px 12px;
    }

    .book-card-content h3 {
        font-size: 20px;
    }


    .story-link {
        grid-template-columns: 25px 1fr 20px;
    }

    .story-arrow {
        font-size: 17px;
    }


    .footer-navigation {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    [data-parallax] {
        transform: none !important;
    }

}

/* =========================================================
   KODAMA — MOTION FIXES
   These overrides preserve the existing visual design while
   making reveals, filtering and parallax cooperate.
========================================================= */

/* ---------- UNIVERSAL REVEAL ---------- */
[data-reveal],
[data-auto-reveal] {
    opacity: 0;
    transform: translate3d(0, 42px, 0);
    transition:
        opacity 1s var(--ease),
        transform 1s var(--ease);
    will-change: opacity, transform;
}

[data-reveal].is-revealed,
[data-auto-reveal].is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Keep book-card filtering in control of its own animation. */
.book-card[data-reveal] {
    transition:
        opacity .75s var(--ease),
        transform .75s var(--ease);
}

.book-card.is-hidden {
    display: none !important;
}

/* ---------- HERO ENTRANCE ---------- */
.hero .hero-media {
    opacity: 0;
    transform:
        translate3d(0, var(--parallax-y, 0px), 0) scale(1.075);
    transition:
        opacity 1.35s var(--ease),
        transform 1.6s var(--ease);
    will-change: opacity, transform;
}

.hero.hero-ready .hero-media {
    opacity: 1;
    transform:
        translate3d(0, var(--parallax-y, 0px), 0) scale(1.02);
}

.hero .hero-eyebrow,
.hero .hero-title-line,
.hero .hero-description,
.hero .hero-discover-button,
.hero .hero-meta {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition:
        opacity 1s var(--ease),
        transform 1s var(--ease);
}

.hero .hero-eyebrow {
    transition-delay: .12s;
}

.hero .hero-title-line:nth-child(1) {
    transition-delay: .20s;
}

.hero .hero-title-line:nth-child(2) {
    transition-delay: .30s;
}

.hero .hero-title-line:nth-child(3) {
    transition-delay: .40s;
}

.hero .hero-description {
    transition-delay: .52s;
}

.hero .hero-discover-button {
    transition-delay: .62s;
}

.hero .hero-meta {
    transition-delay: .72s;
}

.hero.hero-ready .hero-eyebrow,
.hero.hero-ready .hero-title-line,
.hero.hero-ready .hero-description,
.hero.hero-ready .hero-discover-button,
.hero.hero-ready .hero-meta {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* ---------- PARALLAX ---------- */
[data-parallax] {
    transform: translate3d(0, var(--parallax-y, 0px), 0);
    will-change: transform;
}

/* ---------- TRUE CRIME / FEATURED ENTRY ---------- */
.featured-section .featured-header,
.featured-section .featured-books-grid,
.featured-section .section-action {
    /* Let the children reveal individually; no abrupt section-wide movement. */
    backface-visibility: hidden;
}

.featured-section .featured-header>div,
.featured-section .section-introduction,
.featured-section .featured-books-grid .featured-book,
.featured-section .section-action {
    transition:
        opacity 1.05s var(--ease),
        transform 1.05s var(--ease);
}

/* ---------- FILTER STATE ---------- */
.book-filter[aria-pressed="true"],
.book-filter[aria-selected="true"] {
    color: var(--text);
}

/* ---------- LOAD MORE ---------- */
.collection-load-button {
    transition:
        opacity .5s var(--ease),
        transform .6s var(--ease);
}

.collection-load-button.is-complete {
    opacity: 1;
    pointer-events: auto;
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {

    [data-reveal],
    [data-auto-reveal],
    .hero .hero-media,
    .hero .hero-eyebrow,
    .hero .hero-title-line,
    .hero .hero-description,
    .hero .hero-discover-button,
    .hero .hero-meta {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =========================================================
   KODAMA — FINAL MOTION COMPOSITION
========================================================= */

/* Hero title/paragraph combine entrance movement with parallax. */
.hero .hero-title-line,
.hero .hero-description {
    transform: translate3d(0,
            calc(var(--parallax-y, 0px) + 34px),
            0);
}

.hero.hero-ready .hero-title-line,
.hero.hero-ready .hero-description {
    transform: translate3d(0,
            var(--parallax-y, 0px),
            0);
}

/* Generic parallax elements keep their calculated movement after reveal. */
[data-auto-reveal][data-parallax] {
    transform: translate3d(0, var(--parallax-y, 0px), 0);
}

[data-auto-reveal][data-parallax].is-revealed {
    transform: translate3d(0, var(--parallax-y, 0px), 0);
}

/* Smooth, slightly staggered entrance for the editorial/featured area. */
.featured-section .featured-header [data-auto-reveal],
.featured-section .featured-books-grid .featured-book[data-reveal],
.featured-section .section-action[data-auto-reveal] {
    transition-duration: 1.15s;
}