:root {
    --text-color: #EEE7DE;
    --font-serif: "ivybodoni", serif;
    --font-sans: "effra", sans-serif;
}

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

body,
html {
    width: 100%;
    height: 100%;
    font-family: var(--font-serif);
    color: var(--text-color);
    overflow: hidden;
    /* Prevent scrolling, true 100vh experience */
    background-color: #111a14;
    /* Dark moody green fallback */
}

/* Screen reader only for SEO/A11y */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* Base styling for video */
#bg-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    background-color: #111a14;
}

/* Dark overlay to ensure text is always readable over the video */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Topographic placeholder overlay */
.topo-overlay {
    position: absolute;
    top: -10%;
    left: -30%;
    width: 80%;
    height: 100%;
    background-image: url('topo-bg.svg');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
    /* Above background gradient, below content */
}

/* Main Layout */
.hero-section {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px 60px;
    z-index: 10;
}

/* Header & Logo */
.header {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 8vh;
    animation: fadeInDown 1.2s ease-out;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    height: 90px;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.95;
    /* Removed SVG stroke styling as it's now an IMG tag containing the whole logo */
}

/* Content */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 8vh;
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

/* Audio Control */
.audio-control-container {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    z-index: 20;
}

.audio-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.2s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.audio-btn:hover {
    opacity: 1;
    transform: scale(1.05);
}

.audio-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.main-text {
    font-size: 3.5rem;
    font-weight: 400;
    /* IvyBodoni Regular */
    line-height: 1.2;
    margin-bottom: 45px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Handle line breaks correctly per device using a single HTML block */
.desktop-space {
    display: inline;
}

.desktop-br {
    display: block;
}

.mobile-br {
    display: none;
}

.vertical-line {
    width: 1px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.7);
    margin: 0 auto 35px;
}

.coming-soon {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    /* Effra Medium */
    color: #EEE7DE;
    letter-spacing: 0.08em;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .main-text {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header {
        margin-top: 5vh;
    }

    .logo-icon {
        height: 70px;
    }

    .topo-overlay {
        width: 100%;
        left: 0;
        top: 0;
        background-size: 150%;
        background-position: 30% -150%;
        opacity: 0.45;
        /* Lighter on mobile so it doesn't distract from text */
    }

    .desktop-space {
        display: none;
        /* Removed space since mobile break happens here */
    }

    .desktop-br {
        display: none;
    }

    .mobile-br {
        display: block;
    }

    .audio-control-container {
        margin-bottom: 20px;
    }

    .audio-btn {
        font-size: 1rem;
    }

    .main-text {
        font-size: 2.2rem;
        padding: 0 15px;
        margin-bottom: 35px;
    }

    .vertical-line {
        height: 50px;
        margin-bottom: 25px;
    }

    .coming-soon {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .main-text {
        font-size: 2rem;
    }

    .logo-icon {
        height: 60px;
    }
}

/* Landscape Mobile Fix */
@media (max-height: 500px) and (orientation: landscape) {

    body,
    html {
        overflow: hidden;
    }

    .video-background,
    .overlay,
    .topo-overlay {
        position: absolute;
    }

    .hero-section {
        height: 100%;
        padding: 10px 20px;
        justify-content: center;
    }

    .header {
        margin-top: 0;
        margin-bottom: 10px;
    }

    .logo-icon {
        height: 40px;
    }

    .content {
        margin-top: 0;
        margin-bottom: 0;
    }

    .main-text {
        font-size: 1.2rem;
        margin-bottom: 10px;
        padding: 0 20px;
        line-height: 1.3;
    }

    .main-text br {
        display: none;
    }

    .desktop-space {
        display: inline !important;
    }

    .vertical-line {
        height: 20px;
        margin-bottom: 10px;
    }

    .coming-soon {
        font-size: 0.8rem;
    }

    .topo-overlay {
        background-position: left center;
        background-size: cover;
    }
}