/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overscroll-behavior: none;
    height: 100%;
}

/* Font Declarations */
@font-face {
    font-family: 'Helvetica Now';
    src: url('Helvetica/HelveticaNowText-Regular.woff2') format('woff2'),
         url('Helvetica/HelveticaNowText-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Now';
    src: url('Helvetica/HelveticaNowText-Bold.woff2') format('woff2'),
         url('Helvetica/HelveticaNowText-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Migra';
    src: url('Migra/Migra-Extrabold.woff2') format('woff2'),
         url('Migra/Migra-Extrabold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Migra';
    src: url('Migra/MigraItalic-ExtraboldItalic.woff2') format('woff2'),
         url('Migra/MigraItalic-ExtraboldItalic.woff') format('woff');
    font-weight: 800;
    font-style: italic;
}

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

body {
    font-family: 'Helvetica Now', Helvetica, Arial, sans-serif;
    background-color: #1E1E21;
    color: #F3EEE2;
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    overscroll-behavior: none;
    height: 100%;
}

main {
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.fade-in.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.fade-in-delay {
    transition-delay: 0.2s;
}

.fade-in-delay-2 {
    transition-delay: 0.4s;
}

/* Rotation Animations for Team Section */
.fade-in-rotate {
    opacity: 1;
}

.fade-in-rotate .team-description {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.fade-in-rotate.is-visible .team-description {
    opacity: 1;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 44px;
    background: rgba(30, 30, 33, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 1000;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.logo {
    height: 18px;
    width: auto;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.navbar-right a {
    color: #F3EEE2;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    transition: text-shadow 0.2s ease;
}

.navbar-right a:hover {
    text-shadow: 0 0 8px rgba(243, 238, 226, 0.6);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1E1E21;
    overflow: hidden;
    z-index: 20;
}

.unicorn-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 644px;
}

.hero-title {
    font-family: 'Helvetica Now', sans-serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
}

.italic-text {
    font-family: 'Migra', serif;
    font-style: italic;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 20.78px;
    font-weight: 400;
    margin-top: 0;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    line-height: 1;
    opacity: 0.9;
    z-index: 10;
    color: #F3EEE2;
    text-decoration: none;
    cursor: pointer;
    transition: text-shadow 0.2s ease;
}

.scroll-indicator:hover {
    text-shadow: 0 0 8px rgba(243, 238, 226, 0.6);
}

.scroll-indicator svg {
    width: 14px;
    height: 16px;
}

/* Scales Overlay */
.scales-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 11;
    pointer-events: none;
    mix-blend-mode: soft-light;
    opacity: 1;
}

.scales-overlay img,
.scales-overlay video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mission Section */
.mission {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    z-index: 10;
    overflow: visible;
    padding: 100px 0;
}

.mission::after {
    content: '';
    position: absolute;
    right: -100px;
    bottom: 0;
    width: 700px;
    height: 700px;
    background-image: url('fish.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    pointer-events: none;
    z-index: 5;
}

.mission-content {
    padding-left: 60px;
    margin-bottom: 60px;
}

.mission-title {
    font-family: 'Helvetica Now', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    max-width: 1160px;
}

.mission-subtitle {
    font-family: 'Helvetica Now', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    opacity: 0.9;
}

/* Stats Section */
.stats {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-width: 540px;
    padding-left: 60px;
}

.stats-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.stats-label {
    font-family: 'Helvetica Now', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    max-width: 340px;
}

.stats-number {
    font-family: 'Migra', serif;
    font-size: 90px;
    font-weight: 800;
    font-style: italic;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stats-note {
    font-family: 'Helvetica Now', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    max-width: 340px;
}

.stats-logos-label {
    font-family: 'Helvetica Now', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 24px;
}

.stats-logos {
    max-width: 800px;
}

.stats-logos img {
    width: 100%;
    height: auto;
    display: block;
}

/* About Section */
.about {
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: transparent;
    z-index: 15;
    overflow: visible;
    padding: 200px 0 400px 0;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 100px;
    overflow: visible;
}

.team-member {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.team-member:first-child {
    margin-top: 0;
}

.team-member:not(:first-child) {
    margin-top: 200px;
}

/* Left alignment - illustration on right, description on left */
.team-member-left {
    flex-direction: row;
    gap: 60px;
}

.team-member-left .team-illustration {
    order: 2;
    transform: rotate(-12deg);
}

.team-member-left .team-description {
    order: 1;
}

/* Right alignment - illustration on left, description on right */
.team-member-right {
    flex-direction: row;
    gap: 60px;
}

.team-member-right .team-illustration {
    order: 1;
    transform: rotate(12deg);
}

.team-member-right .team-description {
    order: 2;
}

.team-illustration {
    width: 474px;
    height: 529px;
    position: relative;
    z-index: 20;
    flex-shrink: 0;
}

.team-illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    display: block;
}


.team-description {
    width: 537px;
    height: 564px;
    border: 1px solid rgba(243, 238, 226, 0.5);
    background: rgba(30, 30, 33, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    padding: 0;
}

.team-description-header {
    padding: 28px 30px 34px;
    border-bottom: 1px solid rgba(243, 238, 226, 0.5);
}

.team-description-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 80px 30px 30px;
    flex: 1;
}

.team-title {
    font-family: 'Migra', serif;
    font-size: 56px;
    font-weight: 800;
    font-style: italic;
    line-height: 1.1;
    margin: 0;
}

.team-role {
    font-family: 'Helvetica Now', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin: 0;
}

.team-text {
    font-family: 'Helvetica Now', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

/* Contact Section */
.contact {
    position: relative;
    height: 100vh;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 12;
    padding: 0;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    align-items: center;
}

.contact-content {
    max-width: 800px;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    gap: 23px;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 0 60px;
}

.contact-intro {
    font-family: 'Helvetica Now', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    max-width: 650px;
}

.contact-email {
    font-family: 'Migra', serif;
    font-size: 90px;
    font-weight: 800;
    font-style: italic;
    line-height: 1;
    text-align: center;
    margin: 0;
    color: #F3EEE2;
    text-decoration: none;
    cursor: pointer;
    transition: text-shadow 0.2s ease;
}

.contact-email:hover {
    text-shadow: 0 0 20px rgba(243, 238, 226, 0.5);
}

.contact-playlist {
    font-family: 'Helvetica Now', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

.playlist-link {
    color: #F3EEE2;
    text-decoration: underline;
    transition: text-shadow 0.2s ease;
}

.playlist-link:hover {
    text-shadow: 0 0 8px rgba(243, 238, 226, 0.6);
}

/* Newsletter Section */
.newsletter {
    position: relative;
    padding: 60px 0 120px;
    background: transparent;
    z-index: 10;
}

.newsletter-content {
    padding-left: 60px;
    max-width: 500px;
}

.newsletter-description {
    font-family: 'Helvetica Now', sans-serif;
    font-size: 12px;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 23px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    font-family: 'Helvetica Now', sans-serif;
    font-size: 12px;
    font-weight: 300;
    padding: 12px 16px;
    background: transparent;
    border: 1px solid #F3EEE2;
    border-radius: 4px;
    color: #F3EEE2;
    flex: 1;
}

.newsletter-input::placeholder {
    color: #F3EEE2;
    opacity: 0.6;
}

.newsletter-input:focus {
    outline: none;
    border-color: #FB8B24;
}

.newsletter-button {
    font-family: 'Helvetica Now', sans-serif;
    font-size: 12px;
    font-weight: 400;
    padding: 12px 24px;
    background: #FB8B24;
    border: none;
    border-radius: 4px;
    color: #F3EEE2;
    cursor: pointer;
    transition: opacity 0.2s;
}

.newsletter-button:hover {
    opacity: 0.8;
}

/* Footer */
.footer {
    position: relative;
    background: rgba(30, 30, 33, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 25;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    width: 100%;
    margin-top: auto;
}

.footer-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-text {
    font-family: 'Helvetica Now', sans-serif;
    font-size: 12px;
    font-weight: 300;
    line-height: 12px;
    color: #F3EEE2;
}

.footer-input {
    background: rgba(243, 238, 226, 0.5);
    border: none;
    border-radius: 6px;
    padding: 3px 12px 5px 12px;
    font-family: 'Helvetica Now', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #F3EEE2;
    width: 100%;
}

.footer-input::placeholder {
    color: #F3EEE2;
}

.footer-input:focus {
    outline: none;
    background: rgba(243, 238, 226, 0.6);
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-social {
    font-family: 'Helvetica Now', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #F3EEE2;
    text-decoration: none;
    transition: text-shadow 0.2s ease;
}

.footer-social:hover {
    text-shadow: 0 0 8px rgba(243, 238, 226, 0.6);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .stats-container {
        gap: 60px;
    }

    .stats-big-number {
        font-size: 96px;
    }
}

@media (max-width: 768px) {
    .container,
    .container-wide {
        padding: 0 30px;
    }

    .mission-content {
        padding-left: 30px;
        margin-bottom: 40px;
    }

    .stats {
        padding: 0 30px;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-bottom: 60px;
    }

    .stats-big-number {
        font-size: 72px;
    }

    .stats-descriptor {
        font-size: 20px;
    }

    .stats-image-wrapper {
        aspect-ratio: 16/9;
    }

    .about-content {
        padding-left: 30px;
        padding-top: 30px;
    }

    .about-text {
        font-size: 24px;
    }

    .newsletter-content {
        padding-left: 30px;
    }

    .footer {
        padding: 16px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .navbar {
        padding: 0 16px;
    }

    .logo {
        height: 14px;
    }

    .navbar-right {
        gap: 16px;
    }

    .navbar-right a {
        font-size: 10px;
    }

    .hero-title {
        font-size: 36px;
        padding: 0 20px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

    .scroll-indicator {
        bottom: 30px;
        left: 30px;
        font-size: 10px;
    }

    .scales-overlay {
        opacity: 0.3;
    }

    .mission-title {
        font-size: 24px;
    }

    .mission-subtitle {
        font-size: 18px;
    }

    .contact-email {
        font-size: 48px;
    }

    .contact-intro,
    .contact-playlist {
        font-size: 18px;
    }

    .contact-content {
        padding: 0 20px;
    }

    .about {
        padding: 100px 0 200px 0;
    }

    .about-container {
        padding: 0 30px;
    }

    .team-member {
        flex-direction: column !important;
        gap: 40px;
        align-items: center;
        margin-top: 80px !important;
    }

    .team-member:first-child {
        margin-top: 0 !important;
    }

    .team-member-left .team-illustration,
    .team-member-right .team-illustration {
        order: 1 !important;
        width: 100%;
        max-width: 350px;
        height: auto;
        aspect-ratio: 474/529;
    }

    .team-member-left .team-description,
    .team-member-right .team-description {
        order: 2 !important;
        width: 100%;
        max-width: 400px;
        height: auto;
        min-height: 400px;
    }

    .team-illustration img {
        width: 100%;
        height: 100%;
    }

    .team-title {
        font-size: 20px;
    }

    .team-role {
        font-size: 16px;
    }

    .team-text {
        font-size: 14px;
        line-height: 1.4;
    }

    .team-description-header {
        padding: 20px 24px 24px;
    }

    .team-description-content {
        padding: 24px;
    }

    .mission::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .mission-title {
        font-size: 20px;
    }

    .stats-big-number {
        font-size: 56px;
    }

    .stats-descriptor {
        font-size: 18px;
    }

    .stats-footnote {
        font-size: 11px;
    }

    .about-text {
        font-size: 20px;
    }

    .contact-email {
        font-size: 48px;
    }

    .contact-intro,
    .contact-playlist {
        font-size: 16px;
    }
}
