/* ===== BRAND FONTS (self-hosted) ===== */
@font-face {
    font-family: 'Trade Gothic Cn';
    src: url('../fonts/TradeGothic-Condensed.otf') format('opentype');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Trade Gothic';
    src: url('../fonts/TradeGothic-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Sackers Gothic';
    src: url('../fonts/SackersGothic-Light.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Sackers Gothic';
    src: url('../fonts/SackersGothic-Heavy.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Myriad Pro';
    src: url('../fonts/MyriadPro-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS VARIABLES ===== */
:root {
    --orange: #D97634;
    --orange-light: #E67E22;
    --blue: #528BA8;
    --blue-light: #5B9DB8;
    --cream: #F5E6D3;
    --black: #1A1A1A;
    --gray: #666;
    --white: #FFFFFF;

    /* Brand typefaces from the New Amsterdam sell sheet */
    --font-display: 'Trade Gothic Cn', 'Arial Narrow', sans-serif; /* tall condensed display */
    --font-brand: 'Trade Gothic', Arial, sans-serif;               /* bold lockup */
    --font-accent: 'Sackers Gothic', 'Trade Gothic', sans-serif;   /* spaced small caps */
    --font-body: 'Myriad Pro', system-ui, -apple-system, sans-serif;

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--black);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ===== AGE GATE ===== */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.age-gate.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.age-gate-content {
    text-align: center;
    color: var(--white);
    max-width: 500px;
    padding: 3rem;
    animation: fadeInUp 0.8s ease;
}

.age-gate-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.age-gate-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--cream);
}

.age-gate-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-gate-buttons button {
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
}

.btn-primary:focus {
    outline: 3px solid var(--white);
    outline-offset: 4px;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}

.btn-secondary:focus {
    outline: 3px solid var(--white);
    outline-offset: 4px;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 3px;
    color: var(--white);
}

.nav-ship {
    height: 18px;
    width: auto;
    /* Black artwork -> render light on the dark nav */
    filter: brightness(0) invert(1);
}


/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--cream);
}

.geometric-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.geo-block {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.geo-orange {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    clip-path: polygon(0 0, 42% 0, 57% 100%, 0 100%);
    animation: slideInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.geo-blue {
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 100%);
    clip-path: polygon(72% 0, 100% 0, 100% 100%, 87% 100%);
    animation: slideInRight 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.geo-cream {
    background: var(--cream);
    clip-path: polygon(42% 0, 72% 0, 87% 100%, 57% 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease 0.3s both;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--black);
    color: var(--cream);
    font-family: var(--font-accent);
    letter-spacing: 3px;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    letter-spacing: 4px;
    color: var(--black);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.3);
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-size: clamp(1rem, 2vw, 1.25rem);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: #4A4A4A;
}

/* Golden Pilsner lockup with the ship emblem */
.hero-style {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    letter-spacing: 3px;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.ship-inline {
    height: 1.5rem;
    width: auto;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 500px;
    color: #4A4A4A;
}

.hero-bottle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s ease 0.6s both;
    width: 100%;
}

.bottle-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(217, 118, 52, 0.3) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.bottle-image {
    position: relative;
    z-index: 2;
    width: auto;
    max-width: 100%;
    max-height: 62vh;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* ===== SPECS BAR ===== */
.specs-bar {
    background: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.specs-preview {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.spec {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.spec-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: 2px;
    color: var(--orange);
    font-weight: normal;
    margin: 0;
}

.spec-label {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.spec-divider {
    width: 2px;
    height: 50px;
    background: rgba(26, 26, 26, 0.1);
}

/* ===== STORY / DETAILS ===== */
.story {
    padding: 6rem 2rem 7rem;
    background: var(--cream);
}

.story-content {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.story-block {
    text-align: center;
}

.story-ship {
    height: 34px;
    width: auto;
    margin: 0 auto 1.25rem;
    /* Tint the black artwork toward the brand orange */
    filter: brightness(0) saturate(100%) invert(48%) sepia(64%) saturate(820%) hue-rotate(343deg) brightness(91%) contrast(86%);
}

.story-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 4px;
    color: var(--black);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 1rem;
}

.story-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--orange);
}

.story-block p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #3a3a3a;
    margin-bottom: 1.25rem;
    text-align: left;
}

.story-block p:last-child {
    margin-bottom: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--orange);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.2s ease, top 0.2s ease;
}

.skip-link:focus {
    top: 10px;
    left: 10px;
    opacity: 1;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== LEGAL PAGES (privacy, terms, accessibility) ===== */
.legal {
    background: var(--cream);
    /* Clear the fixed nav */
    padding: 9rem 2rem 6rem;
}

.legal-content {
    max-width: 820px;
    margin: 0 auto;
}

.legal-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: 4px;
    color: var(--black);
    line-height: 1;
    margin-bottom: 0.75rem;
    position: relative;
    padding-bottom: 1rem;
}

.legal-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--orange);
}

.legal-updated {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 2.5rem;
}

.legal-intro {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #3a3a3a;
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: 2px;
    color: var(--black);
    margin: 2.75rem 0 1rem;
}

.legal-content h3 {
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: 1px;
    color: var(--black);
    margin: 1.75rem 0 0.75rem;
}

.legal-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #3a3a3a;
    margin-bottom: 1.25rem;
}

.legal-content ul {
    margin: 0 0 1.25rem 1.5rem;
    padding: 0;
}

.legal-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: #3a3a3a;
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--orange);
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-word;
}

.legal-content a:hover,
.legal-content a:focus {
    color: var(--orange-light);
}

.legal-content .legal-disclaimer {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-address {
    font-style: normal;
    line-height: 1.7;
    color: #3a3a3a;
}

@media (max-width: 768px) {
    .legal {
        padding: 7.5rem 1.5rem 4rem;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-ship {
    height: 30px;
    width: auto;
    margin: 0 auto 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--cream);
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.footer-est {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    color: var(--orange);
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0.85;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--orange);
    opacity: 1;
}

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-legal p {
    font-size: 0.875rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.footer-brewedby {
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem !important;
    color: #bbb !important;
    margin-bottom: 1.25rem !important;
}

.footer-disclaimer {
    font-weight: 700;
    color: var(--orange);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .bottle-glow {
        animation: none;
    }

    .geo-orange,
    .geo-blue {
        animation: none;
    }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        align-items: center;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-bottle {
        order: -1;
        margin-top: 80px;
        display: flex;
        justify-content: center;
        transform: translateX(0);
    }

    .bottle-image {
        max-height: 60vh;
    }

    .bottle-glow {
        width: 480px;
        height: 480px;
    }
}

@media (max-width: 768px) {
    .nav-content {
        justify-content: center;
        padding: 1rem 1.5rem;
    }

    .hero-content {
        text-align: center;
        padding: 1.5rem;
    }

    .hero-text {
        align-items: center;
    }

    .hero-style {
        justify-content: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-bottle {
        transform: translateX(0);
    }

    .specs-preview {
        gap: 2rem;
    }

    .age-gate-content {
        padding: 2rem 1.5rem;
    }

    .age-gate-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== SMALL MOBILE OPTIMIZATIONS ===== */
@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }

    .spec-divider {
        display: none;
    }

    .specs-preview {
        gap: 1.5rem;
    }

    .spec-value {
        font-size: 2rem;
    }

    .nav-logo {
        font-size: 1.25rem;
        letter-spacing: 2px;
    }

    .nav-content {
        padding: 1rem;
    }

    .bottle-image {
        max-height: 55vh;
    }

    .bottle-glow {
        width: 380px;
        height: 380px;
    }

    .hero-text {
        width: 100%;
        padding: 0 1rem;
    }
}

@media (max-width: 375px) {
    .hero-description {
        line-height: 1.6;
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .age-gate-buttons button {
        padding: 0.875rem 2.5rem;
        font-size: 1rem;
    }

    .badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.25rem;
    }

    .story-title {
        font-size: 1.85rem;
    }
}
