/* BESTAND: styles/03-layout.css
 * Containers, rasters, tekst, knoppen, taalruimte en reveal.
 * Overzicht: HANDLEIDING.md → Vormgeving; laadvolgorde: index.html.
 */
/* ==========================================================================
   02. GEDEELDE LAYOUT, TYPOGRAFIE EN KNOPPEN
   ==========================================================================  */

/* 02A. Breedte, secties en rasters ------------------------------------------------ */

.page-shell {
    min-height: 100vh;
}

.container {
    width: min(1320px, calc(100vw - 32px));
    margin: 0 auto;
}

.section {
    padding: 48px 0;
}

.section.tight-top {
    padding-top: 0;
}

.split-grid,
.projects-hero-grid {
    display: grid;
    gap: 64px;
    align-items: end;
}

.split-grid {
    grid-template-columns: 0.52fr 0.48fr;
}

.projects-hero-grid {
    grid-template-columns: 1fr 0.8fr;
}

.desktop-only {
    display: block;
}

.inline-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

@media (max-width: 1080px) {
    .desktop-only {
        display: none;
    }

    .projects-hero-grid {
        grid-template-columns: 1fr;
    }

    .split-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .split-grid > * {
        min-width: 0;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(1320px, calc(100vw - 24px));
    }
}

@media (min-width: 1081px) and (max-height: 980px) {
    .section {
        padding: 36px 0;
    }

    .split-grid,
    .projects-hero-grid {
        gap: 44px;
    }
}

@media (min-width: 1081px) and (max-height: 820px) {
    .section {
        padding: 28px 0;
    }

    .split-grid,
    .projects-hero-grid {
        gap: 32px;
    }
}

/* 02B. Tekst, kaarten en knoppen ------------------------------------------------ */

.round-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
}

.eyebrow,
.metric-label,
.audio-kicker,
.global-player-kicker {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--faint);
}

.display-title {
    font-size: clamp(3.8rem, 13vw, 8rem);
    line-height: 0.88;
    letter-spacing: -0.08em;
    font-weight: 700;
}

.display-title.compact {
    font-size: clamp(3.5rem, 11vw, 6.8rem);
}

.copy {
    font-size: 1rem;
    line-height: 1.95;
    color: var(--muted);
}

.copy > * + * {
    margin-top: 18px;
}

/* 02B.1. Taalruimte — beide tekstlengtes tellen mee, slechts één is zichtbaar.
   De browser past dit vanzelf aan bij resize, fonts en tekstonderhoud.
   Geen vaste pixelhoogte en geen JavaScript-metingen tijdens het scrollen. */
.language-space {
    display: grid;
}

.language-space > .language-space-live,
.language-space > .language-space-measure {
    grid-area: 1 / 1;
    align-self: start;
    margin: 0;
}

.language-space-measure {
    visibility: hidden;
    pointer-events: none;
    user-select: none;
}

.about-copy-text > * + * {
    margin-top: 18px;
}

/* Explore services: gedeelde knopbasis en de hoofdknop bij Practice.
   About-fotobalk: styles/06-about-cables.css, blok 05D.
   Paneel en accordeons delen styles/17-sound-studio.css, blok 16A.1. */
.sb-services-disclosure { min-width: 0; flex: 0 0 auto; color: var(--text); }
.sb-services-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 48px;
    max-width: 100%;
    padding: 12px 24px;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    transition: background 0.2s ease, color 0.2s ease;
}
.sb-services-trigger:hover { background: var(--text); color: var(--bg); }
.sb-services-trigger.is-subtle {
    min-height: 44px;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.sb-services-trigger.is-subtle:hover { background: transparent; color: var(--muted); }
.sb-services-trigger:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
    .sb-services-trigger { transition: none; }
}

.outline-button,
.dark-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 12px;
    transition: all 0.2s ease;
}

.outline-button {
    border: 1px solid var(--line);
    color: var(--text);
    background: var(--surface);
}

.dark-button {
    background: #111111;
    color: white;
}

.dark-button:hover {
    transform: translateY(-1px);
}

.outline-button:hover {
    background: #111111;
    color: white;
}

.metric-card,
.contact-form-card,
.audio-card,
.hero-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 24px;
}

.metric-card p {
    color: var(--muted);
    line-height: 1.8;
}

.tag {
    border-radius: 999px;
    border: 1px solid var(--line);
    padding: 11px 16px;
    background: var(--surface);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--faint);
}

@media (max-width: 720px) {
    .display-title,
    .display-title.compact {
        font-size: clamp(3rem, 18vw, 4.6rem);
    }
}

@media (min-width: 1081px) and (max-height: 980px) {
    .copy {
        line-height: 1.72;
    }

    .metric-card,
    .contact-form-card,
    .audio-card,
    .hero-panel {
        padding: 20px;
    }
}

@media (min-width: 1081px) and (max-height: 820px) {
    .eyebrow,
    .metric-label,
    .audio-kicker,
    .global-player-kicker {
        font-size: 10px;
    }

    .copy {
        font-size: 0.95rem;
        line-height: 1.62;
    }
}

/* 02C. Scroll-reveal ------------------------------------------------ */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
}

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