:root {
    --bolt: #C45C2A;
    --plywood: #E4D5B8;
    --ink: #1C1C1C;
    --wire: #6A7684;
    --hairline: rgba(28, 28, 28, 0.14);
    --kb-ease-out: cubic-bezier(.16, 1, .3, 1);
    --kb-motion-base: 240ms;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    color: var(--ink);
    background: #FAF7F1;
    -webkit-font-smoothing: antialiased;
}

.font-display {
    font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
}

/* Section labels — strong wayfinding chrome */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--wire);
}

.section-label::before {
    content: "";
    width: 1.75rem;
    height: 2px;
    background: var(--bolt);
}

.section-label-light {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

/* Hairline cards — no shadow cards */
.card-hairline {
    border: 1px solid var(--hairline);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color var(--kb-motion-base) var(--kb-ease-out), transform var(--kb-motion-base) var(--kb-ease-out);
}

.card-hairline:hover {
    border-color: rgba(196, 92, 42, .55);
}

/* Asymmetric mosaic — lead fair tile + mixed tiles */
.mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 150px;
    gap: 12px;
}

.mosaic > .tile {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    min-height: 150px;
    background: var(--ink);
    display: block;
    text-decoration: none;
}

.mosaic > .tile:first-child {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 320px;
}

.mosaic > .tile:nth-child(4) {
    grid-column: span 2;
}

.tile .tile-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 520ms var(--kb-ease-out);
}

.tile:hover .tile-img,
.tile:focus-visible .tile-img {
    transform: scale(1.045);
}

.tile .tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 28, 28, 0) 32%, rgba(28, 28, 28, .84) 100%);
}

.tile .tile-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    z-index: 2;
}

.tile .tile-kicker {
    display: block;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #F3E4C9;
}

.tile h3,
.tile h2 {
    font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
    color: #fff;
    line-height: 1.15;
    margin: 0;
}

.tile .tile-cta {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: .65rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity var(--kb-motion-base) var(--kb-ease-out), transform var(--kb-motion-base) var(--kb-ease-out);
}

.tile:hover .tile-cta,
.tile:focus-visible .tile-cta {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 767px) {
    .mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .mosaic > .tile,
    .mosaic > .tile:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 230px;
    }

    .mosaic > .tile:first-child {
        min-height: 320px;
    }

    .tile .tile-cta {
        opacity: 1;
        transform: none;
    }
}

/* Horizontal strip — tonight by the hour */
.strip-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.strip-scroll > article {
    flex: 0 0 264px;
    scroll-snap-align: start;
}

/* First-screen reveal — content stays visible by default */
.kb-reveal {
    animation: kb-reveal-up 560ms var(--kb-ease-out) both;
    animation-delay: var(--kb-delay, 0ms);
}

@keyframes kb-reveal-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

/* Shared motion tokens + reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
        scroll-behavior: auto !important;
    }

    .tile:hover .tile-img,
    .tile:focus-visible .tile-img {
        transform: none;
    }

    .kb-reveal {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

@media (hover: none) {
    .tile:hover .tile-img {
        transform: none;
    }
}
