/* ============ Fonts ============ */
@font-face {
    font-family: "Neue Haas Grotesk";
    src: url("../assets/fonts/NeueHaasGroteskText-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Neue Haas Grotesk";
    src: url("../assets/fonts/NeueHaasGroteskText-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============ Base ============ */
:root {
    --bg: #fbfaf9;
    --yellow: #f4ea00;
    --ml: 9%; /* left margin   */
    --mr: 1%; /* right margin  */

    /* Font-size tokens (single source of truth — overridden for mobile below) */
    --fs-hero: 1.67vw; /* left title + intro paragraph */
    --fs-panel: 0.77vw; /* yellow panel: labels, lists, address, social */
    --fs-caption: 0.63vw; /* lorem caption */
}

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

html,
body {
    background: var(--bg);
}

body {
    font-family:
        "Neue Haas Grotesk",
        -apple-system,
        "system-ui",
        "Helvetica Neue",
        Arial,
        sans-serif;
    font-weight: 400;
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

strong {
    font-weight: 700;
}

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

/* ============ Hero ============ */
.hero {
    display: grid;
    grid-template-columns: 49.8% 1fr;
    padding: 14px 1% 0;
}

.title,
.intro {
    font-weight: 400;
    font-size: var(--fs-hero);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

/* Left title sits at the page's left edge */
.title {
    color: rgba(0, 0, 0, 0.85);
    align-self: start;
}

/* Intro paragraph: body at ~50%, first line outdented to the left (hanging
   indent), so the grey "STUDIO BŌKYŌ®…" run hangs out past the body. */
.intro {
    color: rgba(0, 0, 0, 0.18);
    text-indent: -8vw;
}

/* Only the "STRIKING…APPROACH." sentence is dark; the studio name stays grey. */
.intro .lead {
    color: rgba(0, 0, 0, 0.85);
}

/* ============ Slideshow stage ============ */
.stage {
    margin: 26px var(--mr) 0 var(--ml);
}

.slideshow {
    position: relative;
    width: 100%;
    aspect-ratio: 1440 / 900;
    overflow: hidden;
}

.slides {
    list-style: none;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* arrows — hidden */
.arrow {
    display: none;
}

/* ============ Yellow info panel ============ */
.info-wrap {
    position: fixed;
    right: 1%;
    bottom: 1%;
    width: 38.5%;
    z-index: 50;
}

.info {
    background: var(--yellow);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 12px;
}

.col {
    min-width: 0;
}

.label,
.list li,
.addr,
.social a {
    font-size: var(--fs-panel);
    line-height: 1.2;
    letter-spacing: -0.002em;
    color: rgba(0, 0, 0, 0.8);
}

.label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.6em;
}

.list {
    list-style: none;
}
.list li {
    font-weight: 400;
}

.addr {
    font-weight: 400;
    margin-bottom: 14px;
}

.symbol {
    width: 2.6vw;
    height: auto;
    display: block;
}

/* social row inside the yellow panel, spanning all columns */
.social {
    grid-column: 1 / -1;
    margin-top: 6px;
    display: flex;
    gap: 1.6em;
}
.social a {
    color: #000;
}

/* ============ Caption ============ */
.lorem {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 27%;
    padding: 10px 12px;
    font-size: var(--fs-caption);
    line-height: 1.3;
    letter-spacing: -0.002em;
    color: rgba(0, 0, 0, 0.3);
    z-index: 4;
}

/* ============ Mobile ============ */
@media (max-width: 900px) {
    :root {
        --ml: 5%;
        --mr: 5%;

        /* Mobile font-size tokens */
        --fs-hero: 4vw;
        --fs-panel: 3.4vw;
        --fs-caption: 3vw;
    }

    .hero {
        display: block;
        padding-top: 18px;
    }
    .title,
    .intro {
        line-height: 1.16;
    }
    .intro {
        text-indent: 0;
    }
    .title {
        margin-bottom: 0.5em;
    }

    .stage {
        margin-top: 22px;
    }

    .slideshow {
        aspect-ratio: auto;
        overflow: visible;
    }
    .slide {
        position: absolute;
        inset: 0;
    }
    .slides {
        position: relative;
        aspect-ratio: 1440 / 900;
    }

    /* panel drops below the image, full width */
    .info-wrap {
        position: static;
        width: 100%;
    }
    .info {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 14px;
    }
    .symbol {
        width: 12vw;
    }

    .lorem {
        position: static;
        width: 100%;
        padding: 14px 0 24px;
    }
}
