@font-face {
    font-family: 'PP-Montreal-Mono-Bold';
    src: url('../assets/fonts/otf/PPNeueMontrealMono-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Milligram-Macro-Bold';
    src: url('../assets/fonts/Milligram-Macro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'PP-Montreal-Mono-BoldItalic';
    src: url('../assets/fonts/otf/PPNeueMontrealMono-BoldItalic.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
}

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

html,
body {
    width: 100%;
    background-color: #000;
}

body {
    overflow-x: hidden;
}

.content {
    position: relative;
    z-index: 10;
}

/* ══════════════════════════════════════
   CANVAS & EGG
   ══════════════════════════════════════ */
#ascii-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#static-egg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
    max-width: 40vw;
    max-height: 40vh;
}

.egg-shadow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(240px, 35vw, 520px);
    height: clamp(70px, 9vw, 140px);
    transform: translate(-50%, -50%) scale(0.9);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.06) 68%, rgba(0, 0, 0, 0) 100%);
    filter: blur(22px);
    opacity: 0.08;
    transition: opacity 0.2s linear, filter 0.2s linear, transform 0.2s linear;
    z-index: 6;
}

.center-group {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px;
    z-index: 10;
    pointer-events: none;
}

/* ══════════════════════════════════════
   FIRST SECTION (after hero)
   ══════════════════════════════════════ */
.section-first {
    position: relative;
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    margin-top: 100vh;
    overflow: hidden;
    scroll-margin-top: 120px;
    padding: 80px 40px;
}

.section-logo {
    height: clamp(40px, 6vw, 70px);
    width: auto;
    margin-bottom: 32px;
}

/* ══════════════════════════════════════
   SECTION CENTER (shared content block)
   ══════════════════════════════════════ */
.section-center {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 620px;
    text-align: center;
}

.section-center h2 {
    font-family: 'Milligram-Macro-Bold', monospace;
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.section-center p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    line-height: 1.8;
    color: #555;
}

.section-center p strong {
    color: #464646;
    font-weight: 600;
}

.section-center p + p {
    margin-top: 16px;
}

/* ══════════════════════════════════════
   SECTION PANELS
   ══════════════════════════════════════ */
.section-panel {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 24px;
    font-family: 'Montserrat', sans-serif;
    scroll-margin-top: 120px;
    overflow: hidden;
}

.section-white {
    background-color: #fff;
    color: #464646;
}

/* ══════════════════════════════════════
   CARDS ROW (3 solid-fill cards)
   ══════════════════════════════════════ */
.cards-row {
    display: flex;
    gap: 32px;
    width: 93vw;
    max-width: 1800px;
    align-items: stretch;
}

.card-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-chicken {
    height: 28vw;
    max-height: 340px;
    width: auto;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.card {
    flex: 1;
    width: 100%;
    border-radius: 20px;
    padding: 56px 44px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 420px;
}

.card h2 {
    font-family: 'Milligram-Macro-Bold', monospace;
    font-size: clamp(1.3rem, 1.8vw, 2rem);
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}

.card p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    line-height: 1.85;
}

.card p + p {
    margin-top: 14px;
}

/* Card colour variants */
.card-brown {
    background-color: #60463c;
    color: #fff;
}

.card-brown h2 {
    color: #f4e6ad;
}

.card-brown p {
    color: #fff;
}

.card-brown p strong {
    color: #fff;
    font-weight: 600;
}

.card-orange {
    background-color: #d58342;
    color: #fff;
}

.card-orange h2 {
    color: #fff;
}

.card-orange p {
    color: rgba(255, 255, 255, 0.9);
}

.card-orange p strong {
    color: #fff;
    font-weight: 600;
}

.card-cream {
    background-color: #f4e6ad;
    color: #60463c;
}

.card-cream h2 {
    color: #60463c;
}

.card-cream p {
    color: #7a5e4f;
}

.card-cream p strong {
    color: #60463c;
    font-weight: 600;
}

/* ══════════════════════════════════════
   FORM TABS
   ══════════════════════════════════════ */
.form-tabs {
    display: flex;
    gap: 0;
    margin-top: 32px;
    margin-bottom: 0;
    border-bottom: 1px solid #ddd;
}

.form-tab {
    font-family: 'PP-Montreal-Mono-Bold', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 14px 24px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
    margin-bottom: -1px;
}

.form-tab.active {
    color: #464646;
    border-bottom-color: #464646;
}

.form-tab:hover {
    color: #464646;
}

/* ══════════════════════════════════════
   CONTACT FORM
   ══════════════════════════════════════ */
.contact-form {
    width: 100%;
    max-width: 620px;
}

.form-panel {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 32px 0;
}

.form-panel.active {
    display: flex;
}

.contact-form input,
.contact-form textarea {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    color: #464646;
    outline: none;
    transition: border-color 0.3s ease;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: #464646;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button,
.form-next {
    font-family: 'PP-Montreal-Mono-Bold', monospace;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 16px 0;
    background: none;
    color: #464646;
    border: none;
    border-bottom: 2px solid #464646;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
    text-align: left;
    width: fit-content;
    align-self: flex-end;
}

.contact-form button:hover,
.form-next:hover {
    color: #d58342;
    border-bottom-color: #d58342;
}

.contact-form--flat {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 32px;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.site-footer {
    position: relative;
    z-index: 10;
    background-color: #000;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    padding: 32px 40px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-legal {
    text-align: center;
}

.footer-company {
    font-family: 'Milligram-Macro-Bold', monospace;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.footer-details {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 16px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #d58342;
}

/* ══════════════════════════════════════
   COOKIE BANNER
   ══════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #60463c;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    z-index: 200;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    font-family: 'Milligram-Macro-Bold', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 24px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cookie-btn--accept {
    background-color: #d58342;
    color: #fff;
}

.cookie-btn--accept:hover {
    background-color: #c0732f;
}

.cookie-btn--reject {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn--reject:hover {
    color: #fff;
    border-color: #fff;
}

/* ══════════════════════════════════════
   POLICY MODALS
   ══════════════════════════════════════ */
.policy-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 300;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.policy-overlay.visible {
    display: flex;
}

.policy-modal {
    background-color: #fff;
    color: #464646;
    font-family: 'Montserrat', sans-serif;
    max-width: 540px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    border-radius: 8px;
}

.policy-label {
    display: block;
    font-family: 'Milligram-Macro-Bold', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: #999;
    margin-bottom: 24px;
}

.policy-modal p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

.policy-modal p strong {
    color: #464646;
    font-weight: 600;
}

.policy-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #464646;
    line-height: 1;
}

.policy-close:hover {
    color: #d58342;
}

/* ══════════════════════════════════════
   FINALE (black bg hides ASCII, egg shows above via z-index)
   ══════════════════════════════════════ */
.section-finale {
    position: relative;
    background-color: #000;
    height: 100vh;
    z-index: 4;
}

/* ══════════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════════ */
.scroll-anim {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.scroll-anim.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    color: #fff;
    padding: 23px 40px;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Milligram-Macro-Bold', monospace;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.navbar--light {
    background-color: #fff;
    color: #000;
}

.nav-links-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.left-links {
    justify-content: flex-end;
}

.right-links {
    justify-content: flex-start;
}

.nav-links li {
    margin: 0 20px;
}

.nav-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0;
    margin: 0 !important;
    transition: width 0.5s ease;
}

.navbar--light .nav-logo-item {
    width: 380px;
}

.nav-logo {
    height: 30px;
    width: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) translateX(-50%) scale(0.8);
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
    position: absolute;
    left: 50%;
    z-index: 10;
}

.navbar--light .nav-logo {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(-50%) scale(1);
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.4s ease;
}

.navbar--light .nav-links li a {
    color: #000;
}

.nav-links li a:hover {
    color: #ffc067;
}

.hamburger {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 40px;
    flex-direction: column;
    gap: 6px;
    z-index: 101;
}

.hamburger div {
    width: 30px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.navbar--light .hamburger div {
    background-color: #000;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 0 20px;
        height: 70px;
    }

    .section-first {
        padding: 80px 24px;
    }

    .section-panel {
        padding: 80px 24px;
    }

    #static-egg {
        max-width: 62vw;
        max-height: 44vh;
    }

    .form-tab {
        padding: 12px 16px;
        font-size: 11px;
        letter-spacing: 1px;
    }

    .hamburger {
        display: flex;
        right: 20px;
    }

    .nav-links-wrapper {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        flex-direction: column;
        background-color: #000;
        width: 100%;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease, background-color 0.4s ease;
        z-index: 100;
        gap: 40px;
    }

    .nav-links {
        flex-direction: column;
        gap: 40px;
        flex: none;
    }

    .left-links,
    .right-links {
        justify-content: center;
        width: 100%;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-logo-item {
        display: none;
    }

    .nav-logo {
        position: absolute;
        top: 50%;
        left: 50% !important;
        transform: translateY(-50%) translateX(-50%) !important;
        height: 36px;
    }

    .navbar--light .nav-logo {
        transform: translateY(-50%) translateX(-50%) !important;
    }

    .navbar--light .nav-links-wrapper {
        background-color: #fff;
    }

    .nav-links-wrapper.active {
        right: 0;
    }

    .nav-links li a {
        font-size: 24px;
    }

    .hamburger.toggle .line1 {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.toggle .line2 {
        opacity: 0;
    }

    .hamburger.toggle .line3 {
        transform: translateY(-8px) rotate(-45deg);
    }

    .cards-row {
        flex-direction: column;
        width: 90vw;
    }

    .card-wrapper {
        width: 100%;
        aspect-ratio: unset;
    }

    .card-chicken {
        height: 120px;
        width: auto;
    }

    .card {
        padding: 28px 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px 24px;
    }

    .policy-modal {
        padding: 32px 24px;
    }
}