
/* LUME split-page landing screen — mobile first */

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

:root {
    --ink: #243744;
    --muted-ink: #566d7a;
    --accent: #7caac3;
    --surface: rgba(255, 255, 255, 0.88);
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--ink);
    text-align: center;
}

html {
    height: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(ellipse at 50% 75%, #dbeef8 0%, #f2f9fc 40%, #fff 80%);
}

/* Header */
header {
    flex-shrink: 0;
    padding: 18px 18px 10px;
}

header h1 {
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: 0.015em;
}

header p {
    margin-top: 6px;
    color: var(--muted-ink);
    font-size: 0.78rem;
    line-height: 1.35;
    letter-spacing: 0.075em;
}

/* Main content */
main {
    flex: 1;
    min-height: 0;
    display: flex;
    justify-content: center;
}

/* Split-page navigation */
.split-nav {
    width: 100%;
    max-width: 1320px;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px 22px 30px;
}

/* Clickable panels */
.link-wrapper {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    color: inherit;
    text-decoration: none;
    border-radius: 14px;
}

.link-wrapper:focus-visible {
    outline: 3px solid #397fa6;
    outline-offset: 5px;
}

.split-link {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
}

.split-link h2 {
    width: 100%;
    padding: 15px 10px;
    background: var(--surface);
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.15rem, 4.5vw, 1.65rem);
    font-weight: 500;
    line-height: 1.2;
    backdrop-filter: blur(8px);
}

/* Panel photographs */
#consulting-btn {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 45% 55%;
    background-image: url('./assets/SplitPage/consulting/thumbnail2.jpg');
}

#decluttering-btn {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 55% 30%;
    background-image: url('./assets/SplitPage/decluttering/thumbnail1.jpg');
}

/* Interactive states */
@media (hover: hover) and (pointer: fine) {
    .link-wrapper:hover .split-link {
        transform: translateY(-4px);
        box-shadow: 0 14px 34px rgba(48, 82, 100, 0.18);
    }
}

/* Wider viewports: larger typography and more whitespace */
@media screen and (min-width: 500px) {
    header {
        padding: clamp(22px, 4vh, 52px) 24px clamp(12px, 2vh, 24px);
    }

    header h1 {
        font-size: clamp(2.5rem, 4vw, 4.5rem);
    }

    header p {
        margin-top: 10px;
        font-size: clamp(0.9rem, 1.25vw, 1.2rem);
    }

    .split-nav {
        gap: clamp(20px, 3vw, 48px);
        padding: clamp(20px, 3vw, 48px);
    }

    .split-link h2 {
        padding: clamp(16px, 2vw, 28px);
        font-size: clamp(1.5rem, 2.2vw, 2.25rem);
    }
}

/* Landscape layouts with room for two panels */
@media screen and (min-aspect-ratio: 1/1) and (min-width: 600px) {
    .split-nav {
        flex-direction: row;
        max-width: 1360px;
        padding: clamp(20px, 4vw, 64px);
        gap: clamp(20px, 3vw, 48px);
    }

    #consulting-btn{
        background-position: 35% 60%;
    }

    #decluttering-btn{
        background-position: 65% 50%;
    }
}

/* Short viewports: prioritize room for the photographs */
@media screen and (max-height: 500px) {
    header {
        padding: 8px 16px 4px;
    }

    header h1 {
        font-size: clamp(1.5rem, 3vw, 2.2rem);
    }

    header p {
        margin-top: 3px;
        font-size: 0.75rem;
    }

    .split-nav {
        padding-top: 10px;
        padding-bottom: 12px;
    }

    .split-link h2 {
        padding: 8px;
        font-size: clamp(1rem, 2.2vw, 1.4rem);
    }
}

/* Accessibility: do not force clipping when content needs more room */
@media (prefers-reduced-motion: reduce) {
    .split-link {
        transition: none;
    }
}