:root {
    --ink: #1a1a1a;
    --paper: #ffffff;
    --gold: #8c1d40;
    --gold-soft: #b25a6e;
    --grey: #6f6f6f;
    --hair: #e8e6e1;
}

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

html,
body {
    height: 100%;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* ---------- LAYOUT ---------- */
.stage {
    display: grid;
    grid-template-columns: 46% 54%;
    height: 100vh;
    width: 100vw;
}

/* ---------- LEFT / TEXT PANEL ---------- */
.panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 6vh 5vw 5vh 5vw;
    height: 100%;
    overflow-y: auto;
}

.brand {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: clamp(1.2rem, 5vw, 2rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0;
    animation: riseIn 0.8s ease forwards;
    animation-delay: 0.1s;
}

.brand::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 1px;
    background: var(--gold-soft);
    margin-right: 12px;
    vertical-align: middle;
}

.headline {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(2.1rem, 3.4vw, 3.4rem);
    line-height: 1.08;
    margin-top: 2.2vh;
    color: var(--ink);
    opacity: 0;
    animation: riseIn 0.9s ease forwards;
    animation-delay: 0.3s;
}

.points {
    margin-top: 4vh;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
}

.points li {
    position: relative;
    padding-left: 22px;
    font-size: 1.02rem;
    font-weight: 400;
    color: #3c3c3c;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(6px);
    animation: riseIn 0.6s ease forwards;
}

.points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 10px;
    height: 1px;
    background: var(--gold);
}

.closing {
    margin-top: 5vh;
    padding-top: 4vh;
    border-top: 1px solid var(--hair);
}

.closing p {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.5rem, 2.3vw, 2.3rem);
    line-height: 1.28;
    color: var(--ink);
    opacity: 0;
    animation: riseIn 1s ease forwards;
}

.closing p::before {
    content: "“";
    color: var(--gold-soft);
}

.closing p::after {
    content: "”";
    color: var(--gold-soft);
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* ---------- RIGHT / VIDEO PANEL ---------- */
.videoPanel {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: #000;
}

/* YouTube iframe "cover fill" — width/height are set in JS from the
     panel's actual measured size (not vw/vh, since the panel is only
     part of the viewport), so the iframe always exactly covers the
     panel with no crop and no letterboxing. */
.ytWrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    /* clicks pass through to .tapZone */
}

.ytWrap iframe {
    display: block;
    border: 0;
    width: 100%;
    height: 100%;
}

/* darken slightly for control legibility, sits above the iframe */
.videoPanel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 78%, rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
    z-index: 2;
}

.tapZone {
    position: absolute;
    inset: 0;
    cursor: pointer;
    z-index: 3;
}

.playPauseIcon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 4;
}

.playPauseIcon.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.playPauseIcon svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

.speakerBtn {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.speakerBtn:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--gold-soft);
}

.speakerBtn svg {
    width: 19px;
    height: 19px;
    fill: #fff;
}


/* ============ ADDRESS CARD ============ */
.address-card {
    position: relative;
    /* Changed from 'fixed' */
    margin-top: 20px;
    /* Space from list above */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(140, 29, 64, 0.15);
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    width: 100%;
    /* Full width of panel */
    cursor: pointer;
}

.address-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.address-card:active {
    transform: scale(0.97);
}

.address-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.address-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.address-text {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--ink);
    font-weight: 500;
}

.address-text .subtext {
    display: block;
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--grey);
    margin-top: 2px;
}

/* ---------- MOBILE ---------- */
@media (max-width: 820px) {

    html,
    body {
        overflow-y: auto;
        height: auto;
    }

    .stage {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        height: auto;
        min-height: 100vh;
    }

    .videoPanel {
        order: 1;
        height: 46vh;
    }

    .panel {
        order: 2;
        height: auto;
        overflow-y: visible;
        padding: 5vh 6vw 6vh 6vw;
    }

    .headline {
        margin-top: 1.8vh;
    }

    .closing {
        margin-top: 4vh;
        padding-top: 3vh;
    }

    .address-card {
        margin-top: 16px;
        padding: 12px 16px;
    }
}

