/* =========================================================
   ROOT (ZERO HARDCODED BACKGROUNDS)
========================================================= */

:root {
    --text: #f2f1eb;
    --muted: rgba(242, 241, 235, 0.64);
    --soft: rgba(242, 241, 235, 0.10);
    --line: rgba(255, 255, 255, 0.13);

    --accent: #b9d6c7;

    --sans: "DM Sans", sans-serif;
    --display: "Manrope", sans-serif;
    --serif: "Playfair Display", serif;
    --mono: "JetBrains Mono", monospace;

    --max-width: 1380px;
}


/* =========================================================
   RESET & TRANSPARENCY
========================================================= */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: transparent !important;
}

body {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--text);
    font-family: var(--sans);
    overflow-x: hidden !important;
    -webkit-font-smoothing: antialiased;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   HERO SECTION (TWO DISTINCT COLUMNS — ZERO OVERLAP)
========================================================= */

.hero {
    position: relative;
    min-height: calc(100vh - 92px);
    width: min(calc(100% - 70px), var(--max-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 580px);
    align-items: center;
    gap: 48px;
    padding: 90px 0 100px;
    box-sizing: border-box;
    z-index: 2;
}

.hero-content {
    width: 100%;
    max-width: 580px;
    position: relative;
    z-index: 3;
}

/* Right-side Banner Image */
.hero-banner-wrap {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 24px;
}

.hero-banner-image {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    display: block;
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.eyebrow,
.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(242, 241, 235, 0.52);
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.4px;
}

.eyebrow-line,
.section-label span {
    width: 28px;
    height: 1px;
    background: rgba(242, 241, 235, 0.5);
}

.hero-kicker {
    margin-top: 36px;
    color: var(--muted);
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(20px, 2.1vw, 28px);
}

.hero h1 {
    position: relative;
    margin-top: 2px;
    font-family: var(--display);
    font-size: clamp(90px, 13vw, 190px);
    line-height: 0.78;
    font-weight: 800;
    letter-spacing: -0.085em;
    color: #f1f0e9;
}

.hero h1 span {
    position: absolute;
    left: 0;
    bottom: -8px;
    font-size: clamp(20px, 2.8vw, 42px);
    line-height: 1;
    letter-spacing: -0.045em;
    font-weight: 600;
    color: rgba(242, 241, 235, 0.82);
}

.hero-title-bottom {
    margin-top: 34px;
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.hero-title-bottom span {
    font-family: var(--display);
    font-size: clamp(20px, 2.6vw, 36px);
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #ffffff;
}

.hero-title-bottom em {
    font-family: var(--serif);
    font-size: clamp(24px, 2.8vw, 40px);
    color: var(--accent);
}

.hero-description {
    width: min(520px, 100%);
    margin-top: 22px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.75;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 13px 22px;
    background: #e9e8df;
    color: #101514;
    font-size: 12px;
    font-weight: 700;
    border-radius: 100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.primary-button span {
    font-size: 16px;
}

.text-button {
    color: rgba(242, 241, 235, 0.68);
    font-size: 12px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    transition: color 0.3s ease;
}

.text-button:hover {
    color: #ffffff;
}

.hero-side-note {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.vertical-text {
    writing-mode: vertical-rl;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 3px;
}

.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    color: rgba(255, 255, 255, 0.38);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 2px;
    z-index: 2;
}

.scroll-line {
    width: 42px;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.series-intro,
.series-section,
.closing-section {
    position: relative;
    width: min(calc(100% - 70px), var(--max-width));
    margin: 0 auto;
    z-index: 2;
}


/* =========================================================
   INTRO
========================================================= */

.series-intro {
    min-height: 720px;
    display: grid;
    grid-template-columns: 100px minmax(300px, 650px) 1fr;
    gap: 50px;
    align-items: center;
    padding: 150px 0;
}

.section-number {
    align-self: start;
    padding-top: 8px;
    font-family: var(--mono);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 2px;
}

.intro-content h2,
.series-heading h2,
.closing-content h2 {
    margin-top: 26px;
    font-family: var(--display);
    font-size: clamp(45px, 5.2vw, 80px);
    line-height: 1;
    letter-spacing: -0.065em;
    color: #ffffff;
}

.intro-content h2 i,
.series-heading h2 i,
.closing-content h2 i {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--accent);
}

.intro-lead {
    margin-top: 35px;
    font-size: 19px;
    line-height: 1.7;
    color: rgba(242, 241, 235, 0.82);
}

.intro-content > p:not(.intro-lead) {
    margin-top: 20px;
    max-width: 590px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}

.intro-content strong {
    color: #ffffff;
}

.intro-stat {
    align-self: end;
    display: grid;
    gap: 30px;
}

.stat-item {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.stat-item strong {
    display: block;
    font-family: var(--display);
    font-size: 32px;
    letter-spacing: -0.05em;
    color: #ffffff;
}

.stat-item span {
    display: block;
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* =========================================================
   SERIES SECTION
========================================================= */

.series-section {
    padding: 150px 0 25px;
}

.series-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 55px;
    border-bottom: 1px solid var(--line);
}

.series-heading > p {
    max-width: 340px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   SERIES CARDS
========================================================= */

.series-list {
    margin-top: 10px;
}

.series-card {
    position: relative;
    display: grid;
    grid-template-columns: 100px minmax(250px, 1fr) minmax(230px, 360px) 70px;
    align-items: center;
    min-height: 155px;
    border-bottom: 1px solid var(--line);
    transition: background 0.35s ease, padding 0.35s ease;
}

.series-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: transparent;
    transition: background 0.3s ease;
}

.series-card:hover {
    background: rgba(255, 255, 255, 0.055);
    padding-left: 18px;
}

.series-card:hover::before {
    background: var(--accent);
}

.part-number {
    color: rgba(255, 255, 255, 0.35);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 1px;
}

.part-title {
    font-family: var(--display);
    font-size: clamp(19px, 2vw, 27px);
    font-weight: 600;
    letter-spacing: -0.035em;
    color: #ffffff;
}

.part-title small {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.38);
    font-family: var(--serif);
    font-style: italic;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
}

.part-description {
    padding-right: 30px;
    color: rgba(255, 255, 255, 0.47);
    font-size: 12px;
    line-height: 1.7;
}

.part-arrow {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.55);
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.series-card:hover .part-arrow {
    transform: rotate(-45deg);
    background: #ecebe3;
    color: #111111;
}


/* =========================================================
   STATUS
========================================================= */

.part-status {
    display: inline-flex;
    width: fit-content;
    margin-top: 12px;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.42);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}


/* =========================================================
   CLOSING SECTION
========================================================= */

.closing-section {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 40px 0 140px;
    overflow: hidden;
}

.closing-mark {
    position: absolute;
    right: -40px;
    bottom: -80px;
    font-family: var(--display);
    font-size: 460px;
    line-height: 0.7;
    font-weight: 800;
    letter-spacing: -0.12em;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
}

.closing-content {
    position: relative;
    z-index: 2;
}

.closing-content h2 {
    max-width: 850px;
}

.closing-content p {
    max-width: 490px;
    margin-top: 30px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}

.closing-content .primary-button {
    margin-top: 32px;
}


/* =========================================================
   RESPONSIVE — TABLET (MAX 900PX)
========================================================= */

@media (max-width: 900px) {

    .hero,
    .series-intro,
    .series-section,
    .closing-section {
        width: min(calc(100% - 40px), var(--max-width));
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 85px 0 50px;
        gap: 36px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-banner-wrap {
        width: 100%;
        max-width: 480px;
        margin-right: 0;
        justify-content: flex-start;
    }

    .hero-banner-image {
        max-height: 320px;
    }

    .hero-side-note {
        display: none;
    }

    .series-intro {
        grid-template-columns: 55px 1fr;
        gap: 20px;
        padding: 90px 0;
        min-height: auto;
    }

    .intro-stat {
        grid-column: 2;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .series-card {
        grid-template-columns: 65px 1fr 60px;
        padding: 28px 0;
    }

    .part-description {
        grid-column: 2;
        padding-right: 40px;
        margin-top: 10px;
    }

    .part-arrow {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .series-section {
        padding: 100px 0 20px;
    }

    .closing-section {
        padding: 20px 0 100px;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE (MAX 600PX)
========================================================= */

@media (max-width: 600px) {

    .hero,
    .series-intro,
    .series-section,
    .closing-section {
        width: calc(100% - 32px);
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 75px;
        padding-bottom: 45px;
        gap: 28px;
    }

    .hero h1 {
        font-size: clamp(80px, 24vw, 135px);
    }

    .hero h1 span {
        font-size: 20px;
        bottom: -7px;
    }

    .hero-title-bottom {
        margin-top: 28px;
    }

    .hero-description {
        font-size: 13px;
        line-height: 1.75;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .primary-button,
    .text-button {
        justify-content: center;
        width: 100%;
    }

    /* Mobile Banner Image Setup */
    .hero-banner-wrap {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
    }

    .hero-banner-image {
        max-height: 220px;
        width: 100%;
    }

    .scroll-indicator {
        display: none;
    }

    .series-intro {
        display: block;
        padding: 80px 0;
    }

    .section-number {
        margin-bottom: 25px;
    }

    .intro-content h2,
    .series-heading h2,
    .closing-content h2 {
        font-size: 38px;
    }

    .intro-lead {
        font-size: 16px;
    }

    .intro-stat {
        margin-top: 45px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-item {
        padding-bottom: 15px;
    }

    .stat-item strong {
        font-size: 23px;
    }

    .stat-item span {
        font-size: 8px;
        line-height: 1.5;
    }

    .series-section {
        padding: 70px 0 15px;
    }

    .series-heading {
        display: block;
        padding-bottom: 30px;
    }

    .series-heading > p {
        margin-top: 20px;
    }

    .series-card {
        grid-template-columns: 45px 1fr 40px;
        min-height: 0;
        padding: 24px 0;
    }

    .part-title {
        font-size: 18px;
    }

    .part-title small {
        font-size: 12px;
    }

    .part-description {
        padding-right: 5px;
        font-size: 11px;
    }

    .part-arrow {
        width: 37px;
        height: 37px;
        font-size: 13px;
    }

    .closing-section {
        min-height: auto;
        padding: 15px 0 70px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

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

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