@font-face {
    font-family: 'Appelstroop';
    src: url('font/DK Appelstroop.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Neue Haas Display';
    src: url('font/NeueHaasDisplay-Roman.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-cream: #fff6e9;
    --color-cream-deep: #f7ecd7;
    --color-ink: #17261a;
    --color-moss: #35543d;
    --color-lily: #b9e08a;
    --color-lily-deep: #8fc768;
    --color-coral: #ff9166;
    --color-gold: #f4b942;
    --color-blue: #4d6bff;
}

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

html {
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Neue Haas Display', 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-ink);
    background: var(--color-cream);
}

/* PRELOADER */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-moss);
    color: var(--color-cream);
}

.preloader-count {
    font-family: 'Appelstroop', 'Neue Haas Display', sans-serif;
    font-size: clamp(60px, 14vw, 160px);
    line-height: 1;
}

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

ul {
    list-style: none;
}

/* SCROLL PROGRESS BAR */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background: linear-gradient(
        90deg,
        var(--color-lily),
        var(--color-blue),
        var(--color-coral),
        var(--color-gold),
        var(--color-moss)
    );
    background-size: 100vw 100%;
    border-radius: 0 6px 6px 0;
    z-index: 10000;
    pointer-events: none;
}

/* CUSTOM CURSOR */

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    background: var(--color-lily);
    border: 2px solid var(--color-cream);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1), height 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 0 0 rgba(77, 107, 255, 0);
    mix-blend-mode: normal;
}

.cursor-dot.is-active {
    width: 34px;
    height: 34px;
    background: var(--color-blue);
    box-shadow: 0 0 24px 4px rgba(77, 107, 255, 0.45);
}

@media (hover: hover) and (pointer: fine) {
    body,
    a,
    button {
        cursor: none;
    }
}

@media (hover: none), (pointer: coarse) {
    .cursor-dot {
        display: none;
    }
}

.page {
    max-width: 1500px;
    margin: 0 auto;
    padding: 24px;
    will-change: transform;
}

/* HERO */

.hero {
    position: relative;
}

.hero-frame {
    position: relative;
    z-index: 1;
    height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 40px;
    box-shadow: 0 30px 60px -20px rgba(23, 38, 26, 0.35);
}

.hero-video {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 38, 26, 0.4) 0%, rgba(23, 38, 26, 0.1) 35%, rgba(23, 38, 26, 0.55) 100%);
    z-index: 1;
}

/* NAVBAR */

.navbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 36px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Appelstroop', 'Neue Haas Display', sans-serif;
    font-size: 26px;
    font-weight: normal;
    color: var(--color-cream);
    letter-spacing: -0.3px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    will-change: transform;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-icon {
    width: 16px;
    height: 16px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-nav {
    background: var(--color-lily);
    color: var(--color-ink);
}

.btn-nav:hover {
    box-shadow: 0 8px 20px -6px rgba(185, 224, 138, 0.7);
}

/* HERO CONTENT */

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    color: var(--color-cream);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content h1 {
    font-family: 'Appelstroop', 'Neue Haas Display', sans-serif;
    font-size: clamp(42px, 7vw, 88px);
    font-weight: normal;
    line-height: 1.04;
    letter-spacing: -1px;
    max-width: 900px;
}

.highlight {
    color: var(--color-lily);
}

.hero-content p {
    margin-top: 22px;
    max-width: 540px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 246, 233, 0.92);
}

.btn-row {
    margin-top: 40px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-coral));
    color: var(--color-ink);
}

.btn-primary:hover {
    box-shadow: 0 10px 26px -6px rgba(255, 145, 102, 0.6);
}

/* SCROLL REVEAL + KINETIC TYPOGRAPHY are animated by GSAP/ScrollTrigger in script.js */

.kinetic-word {
    display: inline-block;
    overflow: hidden;
    padding-bottom: 0.25em;
    margin-bottom: -0.25em;
    vertical-align: top;
    perspective: 400px;
}

.kinetic-word-inner {
    display: inline-block;
}

/* CLIP-PATH REVEAL + SCRUBBED TEXT are animated by GSAP/ScrollTrigger in script.js */

.clip-reveal {
    will-change: clip-path;
}

.scrub-word {
    display: inline-block;
}

/* SECTIONS (shared) */

.section {
    padding: 100px 48px;
}

.section-card {
    border-radius: 40px;
    margin: 0 0 32px;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-lily-deep);
    margin-bottom: 16px;
}

.section h2 {
    font-family: 'Appelstroop', 'Neue Haas Display', sans-serif;
    font-weight: normal;
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

/* ROLES SECTION */

.roles-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roles-copy {
    text-align: center;
}

.roles-copy h2 {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.roles-copy p {
    margin-top: 20px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-moss);
}

/* RULES SECTION */

.rules-section {
    background: #ffffff;
    box-shadow: 0 20px 60px -35px rgba(23, 38, 26, 0.25);
}

.rules-list {
    margin-top: 56px;
    display: flex;
    flex-direction: column;
}

.rule {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 36px 24px;
    margin: 0 -24px;
    border-top: 1px solid var(--color-cream-deep);
    border-radius: 20px;
    transition: background 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.rule:last-child {
    border-bottom: 1px solid var(--color-cream-deep);
}

.rule:hover {
    background: rgba(77, 107, 255, 0.06);
    transform: translateX(6px);
}

.rule-index {
    font-family: 'Appelstroop', 'Neue Haas Display', sans-serif;
    font-size: 28px;
    color: var(--color-lily);
    min-width: 60px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rule:hover .rule-index {
    transform: scale(1.2) rotate(-6deg);
}

.rule h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.rule p {
    max-width: 520px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-moss);
}

/* MARQUEE */

.marquee {
    overflow: hidden;
    background: var(--color-ink);
    padding: 22px 0;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 32px;
    width: max-content;
    animation: marquee-scroll 48s linear infinite;
}

.marquee-track span {
    font-family: 'Appelstroop', 'Neue Haas Display', sans-serif;
    font-size: clamp(20px, 2.6vw, 32px);
    color: var(--color-cream);
    white-space: nowrap;
}

.marquee-dot {
    font-size: 12px !important;
    color: var(--color-lily) !important;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
}

/* JOURNEY SECTION */

.journey-section {
    background: var(--color-cream-deep);
}

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

.journey-header p {
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-moss);
}

.journey-track-wrap {
    margin-top: 56px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}

.journey-track-wrap::-webkit-scrollbar {
    display: none;
}

.journey-track-wrap:active {
    cursor: grabbing;
}

.journey-track {
    display: flex;
    gap: 28px;
    width: max-content;
    padding-right: 24px;
}

.journey-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: #ffffff;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 16px 40px -25px rgba(23, 38, 26, 0.2);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px -25px rgba(23, 38, 26, 0.3);
}

.step-index {
    display: block;
    font-family: 'Appelstroop', 'Neue Haas Display', sans-serif;
    font-size: 26px;
    color: var(--color-lily);
    margin-bottom: 20px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.journey-card:hover .step-index {
    transform: scale(1.15) rotate(-6deg);
}

.journey-card h3 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 10px;
}

.journey-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-moss);
}

.journey-card-media {
    padding: 0;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.journey-card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* QUOTE SECTION */

.quote-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    align-items: center;
    background: #ffffff;
    box-shadow: 0 20px 60px -35px rgba(23, 38, 26, 0.25);
}

.quote-media {
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: 0 20px 50px -25px rgba(23, 38, 26, 0.3);
}

.quote-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

blockquote p {
    font-family: 'Appelstroop', 'Neue Haas Display', sans-serif;
    font-size: clamp(26px, 3.2vw, 40px);
    line-height: 1.25;
    letter-spacing: -0.5px;
}

blockquote cite {
    display: block;
    margin-top: 24px;
    font-style: normal;
    font-weight: 700;
    color: var(--color-moss);
}

/* CTA SECTION */

.cta-section {
    position: relative;
    overflow: hidden;
    text-align: center;
    background: var(--color-moss);
    color: var(--color-cream);
    padding: 100px 24px;
}

.blob-canvas {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 420px;
    height: 420px;
    z-index: 0;
    opacity: 0.85;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--color-cream);
}

.cta-section p {
    margin-top: 16px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    color: rgba(255, 246, 233, 0.85);
}

.cta-section .btn-row {
    margin-top: 36px;
}

@media (max-width: 768px) {
    .blob-canvas {
        width: 280px;
        height: 280px;
        top: -60px;
        right: -60px;
    }
}

/* FOOTER */

.footer {
    padding: 80px 24px 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-cream-deep);
}

.footer-logo {
    color: var(--color-ink);
}

.footer-cols {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-heading {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-lily-deep);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-moss);
    transition: color 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-col a:hover {
    color: var(--color-ink);
}

.footer-bottom {
    padding-top: 24px;
    font-size: 13px;
    color: var(--color-moss);
}

@media (max-width: 900px) {
    .quote-section {
        grid-template-columns: 1fr;
    }

    .quote-media {
        order: -1;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 768px) {
    .page {
        padding: 14px;
    }

    .hero-frame {
        height: calc(100vh - 28px);
        border-radius: 28px;
    }

    .navbar {
        padding: 20px;
    }

    .section {
        padding: 72px 24px;
    }

    .section-card {
        border-radius: 28px;
    }
}
