/* Fonts */
@font-face {
    font-family: 'Trajan Pro';
    src: url('assets/fonts/trajan-pro/TrajanPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Trajan Pro';
    src: url('assets/fonts/trajan-pro/TrajanPro-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Publica Sans';
    src: url('assets/fonts/publica-sans/PublicaSans.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Publica Sans';
    src: url('assets/fonts/publica-sans/PublicaSans-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Publica Sans';
    src: url('assets/fonts/publica-sans/PublicaSans-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

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

html {
    background-color: #000;
}

body {
    font-family: 'Publica Sans', sans-serif;
    color: white;
    -webkit-font-smoothing: antialiased;
    background-color: #F5F5F5;
    overflow-x: hidden;
}

/* Typography tokens */
.font-trajan {
    font-family: 'Trajan Pro', serif;
}

.font-trajan-bold {
    font-family: 'Trajan Pro', serif;
    font-weight: bold;
}

/* -------------------------------------
   Block 1: Hero Section
------------------------------------- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #000;
}

.hero-video {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    object-fit: cover;
    z-index: 1;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    z-index: 100;
    transition: color 0.3s ease;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    transition: background 0.3s ease;
    z-index: -1;
    pointer-events: none;
}

.navbar.nav-dark::before {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
}

.navbar.nav-dark, .navbar.nav-dark a {
    color: black;
}

.nav-left, .nav-right {
    display: flex;
    gap: 32px;
    align-items: center;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 300;
    transition: opacity 0.3s ease;
}

.navbar a:hover {
    opacity: 0.7;
}

.logo {
    font-size: 14px;
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Hero Content Grid */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 40px 40px 40px;
    position: relative;
    z-index: 3;
}

/* Top Left Text */
.hero-text-left {
    margin-top: 107px;
    max-width: 550px;
}

.hero-text-left p {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 300;
}

/* Middle Divider & CTA */
.hero-divider {
    position: absolute;
    top: 50%;
    left: 40px;
    right: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-divider::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: #FFF;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content:has(.cta-link:hover) .hero-divider::after {
    width: 100%;
}

.hero-cta {
    position: absolute;
    bottom: calc(50% + 12px);
    right: 40px;
}

.cta-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-bottom: 4px;
}

.cta-link:hover .arrow {
    transform: translateX(5px);
}

.arrow {
    transition: transform 0.3s ease;
}

/* Bottom Stats */
.hero-bottom-left {
    position: absolute;
    bottom: 50px;
    left: 40px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 16px;
}

.stat-title {
    font-weight: normal;
    font-size: 18px;
    line-height: 1.2;
}

.stat-desc {
    font-size: 16px;
    font-weight: 300;
    opacity: 0.8;
}

/* Bottom Right Title */
.hero-bottom-right {
    position: absolute;
    bottom: 40px;
    right: 40px;
    text-align: right;
}

.hero-bottom-right h1 {
    font-weight: normal;
    font-size: 4rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}


/* -------------------------------------
   Block 2: Quote Section
------------------------------------- */
.quote-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 6rem 40px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
    background-color: #000;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%), url('assets/images/2block_high2.png');
    background-size: cover;
    background-position: top center;
    z-index: -1;
    pointer-events: none;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.quote-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

.quote-content h2 {
    font-weight: normal;
    font-size: 64px;
    line-height: 1;
    margin-bottom: 6rem;
    max-width: 1360px;
    letter-spacing: -0.01em;
}

.quote-right-text {
    align-self: flex-end;
    text-align: left;
    max-width: 450px;
    margin-bottom: 6rem;
    margin-right: 5%;
}

.quote-right-text p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 16px;
    opacity: 0.9;
}

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 4px;
    max-width: 650px;
    margin-top: auto;
    position: relative;
}

.quote-icon {
    width: 30px;
    height: 24px;
    margin-bottom: 40px;
    opacity: 0.6;
}

.card-text {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 16px;
}

.quote-line {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-top: 24px;
    margin-bottom: 24px;
}

.card-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 8px;
}

.author-title {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2;
}


/* -------------------------------------
   Block 3: Audience Section
------------------------------------- */
.audience-section {
    padding: 80px 40px;
    background-color: #F5F5F5;
    color: #000;
    overflow: hidden;
}

.section-label {
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

.section-label .font-trajan {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.label-line {
    width: 24px;
    height: 1px;
    background-color: #000;
    margin-left: 6px;
    transform: translateY(-2px);
}

.audience-section h2 {
    font-weight: normal;
    font-size: 64px;
    line-height: 1;
    margin-bottom: 40px;
}

.audience-desc {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.2;
    max-width: 750px;
}

.desc-light {
    color: #616161;
    margin-bottom: 16px;
}

.desc-dark {
    color: #000;
    margin-bottom: 60px;
}

/* Accordion */
.accordion-list {
    display: flex;
    flex-direction: column;
}

.accordion-item {
    display: flex;
    align-items: flex-start;
    padding: 30px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    color: #B3B3B3;
    transition: color 0.3s ease, border-color 0.3s ease;
    clip-path: polygon(-100% -500%, 200% -500%, 200% 100%, -100% 100%);
    cursor: pointer;
}

.accordion-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}



.accordion-item:hover {
    color: #000;
}

.accordion-item::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #000;
    transition: none;
    z-index: 1;
}

.accordion-item:hover::before {
    width: 100%;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.acc-title {
    font-family: 'Playfair Display', serif;
    font-weight: normal;
    font-size: 24px;
    letter-spacing: 0.01em;
    line-height: 1.2;
    width: 420px;
    flex-shrink: 0;
}

.acc-right {
    display: flex;
    gap: 146px;
    margin-left: auto;
}

.acc-desc {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 300;
    width: 380px;
    flex-shrink: 0;
}

.acc-num {
    width: 21px;
    text-align: right;
    font-size: 16px;
    font-weight: 300;
    flex-shrink: 0;
}

.hover-img {
    position: absolute;
    width: 233px;
    height: 254px;
    bottom: -20px;
    left: 440px; 
    transform: translateY(280px) rotate(-4deg);
    border-radius: 4px;
    pointer-events: none;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.hover-img.rotate-right {
    transform: translateY(280px) rotate(4deg);
}

.accordion-item:hover .hover-img {
    transform: translateY(0) rotate(-4deg);
}

.accordion-item:hover .hover-img.rotate-right {
    transform: translateY(0) rotate(4deg);
}

/* -------------------------------------
   Media Queries
------------------------------------- */

/* Tablet (<= 1024px) */
@media (max-width: 1024px) {
    /* Navbar */
    .navbar {
        padding: 20px 24px;
    }
    .nav-left, .nav-right {
        gap: 20px;
    }
    .navbar a {
        font-size: 14px;
    }

    /* Hero */
    .hero-content {
        padding: 0 24px 24px 24px;
    }
    .hero-text-left {
        margin-top: 96px;
        max-width: 440px;
    }
    .hero-text-left p {
        font-size: 20px;
    }
    .hero-divider {
        left: 24px;
        right: 24px;
    }
    .hero-cta {
        right: 24px;
    }
    .hero-bottom-left {
        left: 24px;
        bottom: 40px;
        gap: 1.5rem;
    }
    .hero-bottom-right {
        right: 24px;
        bottom: 32px;
    }
    .hero-bottom-right h1 {
        font-size: 3rem;
    }

    /* Quote */
    .quote-section {
        padding: 5rem 24px;
    }
    .quote-content h2 {
        font-size: 44px;
        margin-bottom: 4rem;
    }
    .quote-right-text {
        margin-bottom: 4rem;
        margin-right: 0;
    }
    .glass-card {
        padding: 32px;
    }
    .card-text {
        font-size: 20px;
    }

    /* Audience */
    .audience-section {
        padding: 64px 24px;
    }
    .audience-section h2 {
        font-size: 44px;
    }
    .audience-desc {
        font-size: 20px;
    }

    /* Accordion */
    .accordion-item {
        flex-direction: column;
    }
    .acc-title {
        width: 100%;
    }
    .acc-right {
        width: 100%;
        margin-top: 16px;
        gap: 0;
        justify-content: space-between;
    }
    .acc-desc {
        width: auto;
        flex: 1;
        margin-right: 24px;
    }
    .hover-img {
        display: none;
    }
}

/* Mobile (<= 768px) — restructure hero into a vertical flow */
@media (max-width: 768px) {
    /* Navbar: drop side links, center logo */
    .navbar {
        justify-content: center;
        padding: 16px 20px;
    }
    .nav-left, .nav-right {
        display: none;
    }
    .logo {
        font-size: 13px;
    }

    /* Hero: switch from absolute layout to stacked flow */
    .hero-section {
        height: auto;
        min-height: 100vh;
    }
    .hero-content {
        padding: 96px 20px 48px 20px;
        gap: 40px;
        justify-content: flex-start;
    }
    .hero-text-left {
        position: static;
        margin-top: 0;
        max-width: 100%;
        order: 2;
    }
    .hero-text-left p {
        font-size: 18px;
    }
    .hero-divider {
        display: none;
    }
    .hero-cta {
        position: static;
        order: 3;
        align-self: flex-start;
    }
    .hero-bottom-left {
        position: static;
        order: 4;
        gap: 1.5rem;
    }
    .hero-bottom-right {
        position: static;
        order: 1;
        text-align: left;
    }
    .hero-bottom-right h1 {
        font-size: 2.75rem;
    }

    /* Quote */
    .quote-section {
        padding: 4rem 20px;
    }
    .quote-content h2 {
        font-size: 34px;
        margin-bottom: 3rem;
    }
    .quote-right-text {
        align-self: flex-start;
        max-width: 100%;
        margin-bottom: 3rem;
    }
    .glass-card {
        max-width: 100%;
        padding: 24px;
    }
    .card-text {
        font-size: 18px;
    }
    .author-name {
        font-size: 20px;
    }

    /* Audience */
    .audience-section {
        padding: 56px 20px;
    }
    .section-label {
        margin-bottom: 40px;
    }
    .audience-section h2 {
        font-size: 34px;
    }
    .audience-desc {
        font-size: 18px;
    }
    .desc-dark {
        margin-bottom: 40px;
    }
    .acc-title {
        font-size: 20px;
    }
}

/* Small mobile (<= 480px) */
@media (max-width: 480px) {
    .hero-bottom-right h1 {
        font-size: 2.25rem;
    }
    .quote-content h2,
    .audience-section h2 {
        font-size: 28px;
    }
    .stat-title {
        font-size: 16px;
    }
    .acc-right {
        flex-direction: column;
        gap: 8px;
    }
    .acc-desc {
        margin-right: 0;
    }
}

/* Text Animation */
.anim-letter {
    display: inline-block;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(15px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.in-view .anim-letter {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
}

.anim-left-right {
    display: inline-block;
    opacity: 0;
    filter: blur(8px);
    transform: translateX(-15px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.in-view .anim-left-right {
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0);
}

.reveal-fade {
    opacity: 0;
    transition: opacity 1.5s ease 0.5s;
}
.in-view .reveal-fade, .reveal-fade.in-view {
    opacity: 1;
}

.reveal-fade-blur {
    opacity: 0;
    filter: blur(10px);
    transition: opacity 1.5s ease, filter 1.5s ease, color 0.3s ease;
}
.in-view .reveal-fade-blur, .reveal-fade-blur.in-view {
    opacity: 1;
    filter: none;
}

.glass-anim {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(20px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.in-view .glass-anim, .glass-anim.in-view {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
}

.reveal-line {
    display: inline-block;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(15px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.in-view .reveal-line, .reveal-line.in-view {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
}
