/* =========================
   FONTS
========================= */
@font-face {
    font-family: 'Open Sauce One';
    src: url('fonts/OpenSauceOne-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sauce One';
    src: url('fonts/OpenSauceOne-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sauce One';
    src: url('fonts/OpenSauceOne-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sauce One';
    src: url('fonts/OpenSauceOne-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Ramillas';
    src: url('fonts/TT-Ramillas-Bold-Italic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: block;
}

@font-face {
    font-family: 'TT Ramillas';
    src: url('fonts/TT-Ramillas-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: block;
}

*, *::before, *::after {
    box-sizing: border-box;
}

@media (pointer: fine) {
    *, *::before, *::after {
        cursor: url('images/cursor-red.svg') 2 1, auto;
    }

    a, button, [role="button"], input[type="submit"], select,
    .nav-link, .detail-close {
        cursor: url('images/cursor-red.svg') 2 1, pointer !important;
    }

    img, video, iframe, .tile__face--image, #scroll-hero, .detail-hero, .overlay-frame {
        cursor: url('images/cursor-cream.svg') 2 1, auto !important;
    }

    .tile, .card,
    img a, video a, .tile a, .tile button,
    .card a, .card button, .overlay-frame a, .overlay-frame button,
    #scroll-hero a, #scroll-hero button,
    .detail-hero a, .detail-hero button,
    .tile__face--image a, .tile__face--image button {
        cursor: url('images/cursor-cream.svg') 2 1, pointer !important;
    }
}

#cursor-dot,
#cursor-ring {
    display: none;
}

body {
    background-color: #f4e7d2;
    margin: 0;
    padding: 0;
    font-family: 'Open Sauce One', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    color: #1a1a1a;
    overflow: hidden;
}

/* =========================
   SCROLL EXPANSION HERO
========================= */
#scroll-hero {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background-color: #0c0c0c;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

#scroll-hero.hero-done {
    opacity: 0;
    pointer-events: none;
}

#hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 0;
    will-change: transform, opacity;
}

/* PERSISTENT CENTER LOGO — always visible, color transitions */
#persistent-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100000;
    font-family: 'TT Ramillas', 'Playfair Display', serif;
    font-size: clamp(80px, 15vh, 160px);
    font-weight: 900;
    font-style: italic;
    color: #f4e7d2;
    letter-spacing: -0.07em;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    line-height: 1;
    margin-top: -15px;
    opacity: 0;
}

#persistent-logo.logo-revealed {
    opacity: 1;
    transition: opacity 0.4s ease;
}

.logo-dot {
    vertical-align: baseline;
}

#persistent-logo .logo-dot {
    font-size: 0.75em;
    display: inline-block;
    opacity: 0;
    transform: scale(0.92);
    filter: blur(2px);
}

#persistent-logo.logo-revealed .logo-dot {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
    transition: opacity 0.5s cubic-bezier(0.33, 1, 0.68, 1) 1.05s,
                transform 0.5s cubic-bezier(0.33, 1, 0.68, 1) 1.05s,
                filter 0.5s cubic-bezier(0.33, 1, 0.68, 1) 1.05s;
}

#hero-hint {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0;
    transition: opacity 0.55s cubic-bezier(0.33, 1, 0.68, 1);
    animation: hint-bob 2s ease-in-out infinite;
    animation-play-state: paused;
}

#hero-hint.hint-visible {
    opacity: 1;
    animation-play-state: running;
}

#hero-hint.hidden {
    opacity: 0;
}

@keyframes hint-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* =========================
   MAIN GRID
========================= */
.grid-container {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr 1.15fr;
    grid-template-rows: 0.42fr auto 0.42fr;
    gap: 2vh;
    padding: 2vh 14px;
    max-width: none;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    position: relative;
    z-index: 10;
    overflow: visible;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-container.grid-visible {
    opacity: 1;
}

.center-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-logo-spacer {
    grid-area: 2 / 2 / 3 / 4;
    position: relative;
}

#grid-info-hint {
    position: fixed;
    top: calc(50% + clamp(25px, 4.6vh, 52px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    color: rgba(155, 0, 1, 0.44);
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: info-bob 8s ease-in-out infinite;
    animation-play-state: paused;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#grid-info-hint.hint-visible {
    opacity: 1;
    animation-play-state: running;
}

@keyframes info-bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}


.card {
    position: relative;
    border-radius: 36px;
    background-color: transparent;
    -webkit-tap-highlight-color: transparent;
}

@media (pointer: fine) {
    .card {
        cursor: url('images/cursor-cream.svg') 2 1, pointer;
    }
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 36px;
    background-color: transparent;
}

/* Base styles for back/front faces */
.card-front {
    position: absolute;
    inset: 0;
    border-radius: 36px;
    overflow: hidden;
}

.card-front {
    z-index: 2;
    transition: opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1), transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Image inside front face */
.tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85);
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1),
                filter 1.2s cubic-bezier(0.19, 1, 0.22, 1),
                opacity 0.22s ease; /* seamless loop crossfade */
}

.card:hover .tile-img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

/* Grid placements */
.card-uber-left {
    grid-area: 1 / 1 / 3 / 2;
    height: 100%;
}

.card-duribody {
    grid-area: 1 / 2 / 2 / 3;
}

.card-life-of-dar {
    grid-area: 1 / 3 / 2 / 5;
}

.card-uber-right {
    grid-area: 2 / 4 / 4 / 5;
    height: 100%;
}
.card-uber-right .tile-img {
    object-position: 40% center;
}

.card-ikea {
    grid-area: 3 / 1 / 4 / 3;
}

.card-nabi {
    grid-area: 3 / 3 / 4 / 4;
}

/* Overlays */
.card-overlay {
    position: absolute;
    padding: 30px;
    color: #fff;
    display: flex;
    flex-direction: column;
    z-index: 5;
    pointer-events: none;
}

.card-overlay h2 {
    margin: 0;
    font-family: 'Open Sauce One', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.card-overlay p {
    margin: 5px 0 0;
    font-family: 'Open Sauce One', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #e5e7eb;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.top-right { top: 0; right: 0; text-align: right; align-items: flex-end; }
.bottom-left { bottom: 0; left: 0; text-align: left; align-items: flex-start; }
.bottom-right { bottom: 0; right: 0; text-align: right; align-items: flex-end; }
.top-left { top: 0; left: 0; text-align: left; align-items: flex-start; }

.top-gradient::after {
    content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none;
    background: linear-gradient(to top, transparent 40%, rgba(0,0,0,0.7) 100%);
}

.bottom-gradient::after {
    content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.7) 100%);
}

/* -----------------------------
   DETAIL OVERLAY — IMMERSIVE
------------------------------ */
#detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background-color: #f4e7d2;
    pointer-events: none;
    will-change: clip-path;
}

#detail-overlay.is-active {
    pointer-events: auto;
}

.overlay-scroll-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

#detail-overlay.multi-video .overlay-scroll-container {
    overflow-y: scroll;
}

/* Close button removed — taste. logo in overlay-info handles close */

.overlay-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 28px 32px 28px;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition: opacity 0.25s ease-out,
                transform 0.3s ease-out;
}

#detail-overlay.multi-video .overlay-content {
    height: auto;
    justify-content: flex-start;
    padding-top: 28px;
    padding-bottom: 48px;
}

#detail-overlay.content-ready .overlay-content {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.05s;
}

.overlay-frame {
    flex: 1;
    min-height: 0;
    width: 100%;
    align-self: stretch;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.06);
}

.embed-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.embed-loader.loaded {
    opacity: 0;
    pointer-events: none;
}

.embed-loader-pulse {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2.5px solid rgba(196, 180, 160, 0.25);
    border-top-color: rgba(196, 180, 160, 0.8);
    animation: embed-spin 0.8s linear infinite;
}

@keyframes embed-spin {
    to { transform: rotate(360deg); }
}

.overlay-frame.has-aspect {
    flex: none;
    align-self: center;
    margin: 0 auto;
}

.overlay-frame-secondary {
    margin-top: 24px;
}

#overlay-stills {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 24px;
    margin-top: 24px;
}

.overlay-still-img {
    flex: 1;
    min-width: 0;
    border-radius: 16px;
    display: block;
    object-fit: cover;
}

.overlay-frame img,
.overlay-frame video,
.overlay-frame iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.overlay-info {
    width: 100%;
    align-self: stretch;
    flex-shrink: 0;
    padding: 0 4px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    order: -1;
    position: relative;
}

.overlay-logo-btn {
    position: absolute;
    left: 50%;
    top: -8px;
    transform: translateX(-50%);
    background: none;
    border: none;
    font-family: 'TT Ramillas', 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 900;
    font-style: italic;
    color: #9b0001;
    letter-spacing: -0.07em;
    line-height: 1;
    cursor: url('images/cursor-red.svg') 2 1, pointer;
    padding: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    user-select: none;
    z-index: 2;
}

.overlay-logo-btn:hover {
    opacity: 0.6;
    transform: translateX(-50%) scale(0.96);
}

.overlay-home-label {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.02em;
    color: #9b0001;
    margin-top: 2px;
}

.overlay-logo-btn .logo-dot {
    font-size: 0.75em;
    vertical-align: baseline;
}

.overlay-info__left,
.overlay-info__right {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.overlay-info__right {
    text-align: right;
}

.overlay-title {
    font-family: 'Open Sauce One', sans-serif;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.overlay-subtitle {
    font-family: 'Open Sauce One', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(26, 26, 26, 0.6);
    line-height: 1.4;
}

.overlay-type {
    font-family: 'Open Sauce One', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.4;
}

.overlay-credits {
    font-family: 'Open Sauce One', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(26, 26, 26, 0.5);
    line-height: 1.4;
}

/* =========================
   ABOUT SECTION — three-column layout
========================= */
#about-section {
    position: fixed;
    inset: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    justify-content: stretch;
    align-items: center;
    background-color: #f4e7d2;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    padding: 0 60px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    gap: 0;
    user-select: text;
}

#about-section.about-visible {
    pointer-events: auto;
    z-index: 15;
}

/* Shared column base */
.about-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

#about-section.about-visible .about-col--left {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.08s;
}

#about-section.about-visible .about-col--center {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.18s;
}

#about-section.about-visible .about-col--right {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* Left — About Us */
.about-col--left {
    justify-content: center;
    align-items: flex-start;
    text-align: justify;
    transform: translateX(-30px);
    gap: 0;
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
    position: relative;
    z-index: 16;
    padding: 0 20px 0 60px;
}

.about-text-block {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 380px;
    width: 100%;
}

/* Right — Contact */
.about-col--right {
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: translateX(30px);
    gap: 64px;
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
    position: relative;
    z-index: 16;
    padding: 0 40px;
}

/* Center — Logo */
.about-col--center {
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: translateY(20px);
    width: 200px;
    padding: 0;
    gap: 14px;
    min-width: 200px;
}

/* Section labels */
.about-col__label {
    font-family: 'Open Sauce One', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: 0;
    margin: 0 0 4px;
}

/* Body text */
.about-col__text {
    font-family: 'Open Sauce One', sans-serif;
    font-size: 18px;
    line-height: 1.34;
    color: #1a1a1a;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
    text-align-last: left;
}

.about-col__text strong {
    font-weight: 700;
}

.about-col__text em {
    font-style: italic;
}

.about-col__text--lead,
.about-col__text--body {
    max-width: 380px;
}

.about-wordmark {
    display: inline-block;
    font-family: 'TT Ramillas', 'Playfair Display', serif;
    font-size: 1.08em;
    font-weight: 700;
    font-style: italic;
    line-height: 0.95;
    color: #9b0001;
}

.about-tagline {
    font-family: 'Open Sauce One', sans-serif;
    font-size: 18px;
    line-height: 1.34;
    color: #1a1a1a;
    font-weight: 400;
    letter-spacing: -0.01em;
    white-space: normal;
    margin-top: 0;
    transform: none;
    max-width: 380px;
}

/* Spacer reserves room for the persistent grid taste. logo showing through */
.about-logo-spacer {
    height: 122px;
    flex-shrink: 0;
}

.about-filmed,
.about-city {
    font-family: 'Open Sauce One', sans-serif;
    font-size: 18px;
    text-transform: none;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    font-weight: 400;
}

.about-filmed {
    margin-bottom: 4px;
}

.about-city {
    margin-top: 0;
    font-style: normal;
    line-height: 1;
    transform: translateY(6px);
}

/* Contact person blocks */
.contact-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    width: 100%;
    max-width: 360px;
}

.contact-person + .contact-person {
    margin-top: 0;
}

.contact-person span,
.contact-person a {
    font-family: 'Open Sauce One', sans-serif;
    font-size: 17px;
    line-height: 1.35;
    color: #1a1a1a;
    font-weight: 400;
    text-decoration: none;
}

.contact-name {
    font-family: 'TT Ramillas', 'Playfair Display', serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    font-style: normal;
    line-height: 1.02;
    color: #9b0001 !important;
    letter-spacing: -0.035em;
    margin-bottom: 0;
    white-space: nowrap;
}

.contact-role {
    margin-top: 2px;
    margin-bottom: 24px;
    line-height: 1.12;
    font-weight: 400 !important;
    font-size: 17px !important;
    letter-spacing: 0.02em;
    text-transform: none;
    color: rgba(26, 26, 26, 0.6) !important;
    font-style: normal;
}

.contact-person a[href^="tel:"] {
    margin-bottom: 2px;
}

.contact-person a[href^="mailto:"] {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

/* Grid zoom-forward transition state */
.grid-container.grid-zooming .card {
    transition: transform 0.05s linear, opacity 0.05s linear;
    will-change: transform, opacity;
}

.grid-container.grid-zooming .center-content {
    transition: opacity 0.3s ease;
}

/* Logo z-index bump during about transition */
#persistent-logo.logo-fixed-center {
    z-index: 100001;
    margin: 0;
    clip-path: inset(0 0% 0 0) !important;
    opacity: 1 !important;
}


/* ------------------------------
   MOBILE — CONTINUOUS SCROLL
------------------------------ */
@media (max-width: 900px) {

    /* Body: locked — transitions driven by JS, same as desktop */
    body {
        overflow: hidden;
    }

    /* Logo: dead center on all mobile pages, never moves */
    #persistent-logo,
    #persistent-logo.logo-fixed-center,
    #persistent-logo.logo-revealed,
    #persistent-logo.logo-revealed.logo-fixed-center {
        font-size: clamp(44px, 13vw, 80px);
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        margin-top: 0 !important;
        clip-path: none !important;
    }

    #grid-info-hint {
        display: none;
    }

    /* Grid: frame layout — squares top/bottom, narrow columns flanking centered logo */
    .grid-container {
        display: grid;
        grid-template-columns: 1.35fr 1fr 1fr 1.35fr;
        grid-template-rows: auto 1fr auto;
        grid-template-areas:
            "uber-left uber-left life-of-dar life-of-dar"
            "duribody  .         .           nabi"
            "ikea      ikea      uber-right  uber-right";
        gap: 8px;
        padding: clamp(28px, 4svh, 38px) 8px clamp(36px, 5svh, 46px);
        height: 100vh;
        height: 100dvh;
    }

    .text-logo-spacer { display: none; }

    .card-uber-left   { grid-area: uber-left; }
    .card-duribody    { grid-area: duribody; }
    .card-life-of-dar { grid-area: life-of-dar; }
    .card-ikea        { grid-area: ikea; }
    .card-uber-right  { grid-area: uber-right; }
    .card-nabi        { grid-area: nabi; }

    .card { max-height: none; border-radius: 16px; }
    .card-inner { border-radius: 16px; }
    .card-front { border-radius: 16px; }

    /* Top & bottom cards: square */
    .card-uber-left, .card-life-of-dar,
    .card-ikea, .card-uber-right {
        aspect-ratio: 1;
    }

    /* Middle cards: narrow columns stretching full height of center row */
    .card-duribody, .card-nabi {
        align-self: stretch;
    }

    .card-duribody .tile-img {
        object-position: center center;
    }

    .card-overlay { padding: 14px; }
    .card-overlay h2 { font-size: 16px; }
    .card-overlay p { font-size: 10px; }

    /* About: fixed, single-column, locked view — scales across all phones
       Tested range: 390×844 (iPhone 14) → 440×956 (iPhone 17 Pro Max) */
    #about-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        padding: clamp(14px, 2.2svh, 22px) 20px clamp(28px, 5svh, 48px);
        gap: 0;
        align-items: center;
        overflow: hidden;
    }

    #about-section.about-visible { z-index: 15; }

    .about-col {
        height: auto;
        padding: 0;
        opacity: 1;
        transform: none !important;
        transition: none;
        width: 100%;
    }

    /* Reorder: about text on top, logo spacer middle, contacts bottom */
    .about-col--left { order: -1; }
    .about-col--center { order: 0; }
    .about-col--right { order: 1; }

    /* Contacts: side-by-side below logo */
    .about-col--right {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        text-align: center;
        max-width: none;
        margin: 0;
        gap: clamp(10px, 3.8vw, 18px);
        padding: clamp(4px, 0.5svh, 8px) 8px clamp(16px, 2.6svh, 26px);
    }

    .contact-person {
        flex: 1;
        min-width: 0;
        align-items: center;
    }

    .contact-name { font-size: clamp(14px, 3.9vw, 17px) !important; letter-spacing: -0.02em; }
    .contact-role { font-size: clamp(9px, 2.5vw, 11px) !important; margin-bottom: clamp(8px, 1.4svh, 13px); }
    .contact-person span,
    .contact-person a { font-size: clamp(9px, 2.5vw, 11px); }

    .contact-person a {
        padding: 10px 4px;
        margin: -10px -4px;
        display: inline-block;
    }

    /* Center: NYC above logo spacer on mobile */
    .about-col--center {
        padding: 0;
        align-items: center;
        text-align: center;
        position: relative;
        transform: none !important;
        display: flex;
        flex-direction: column;
    }

    .about-city {
        font-size: clamp(6px, 1.8vw, 11px) !important;
        letter-spacing: 0.06em;
        order: 1;
        margin-bottom: 0;
        position: fixed !important;
        left: 50% !important;
        top: calc(50% + clamp(22px, 6.5vw, 40px) + clamp(2px, 0.5vw, 4px) - 1svh) !important;
        transform: translateX(-50%) !important;
        z-index: 100002;
    }

    .about-logo-spacer {
        display: block;
        height: clamp(36px, 10vw, 80px);
        margin: 0 0 clamp(8px, 1.6svh, 18px);
    }

    /* About text: above logo, flows naturally */
    .about-col--left {
        padding: clamp(16px, 7.6svh, 74px) 8px clamp(12px, 2svh, 22px);
        max-width: none;
        margin: 0;
        align-items: center;
    }

    .about-text-block {
        max-width: clamp(72%, 78vw, 82%);
        width: clamp(72%, 78vw, 82%);
        margin: 0 auto;
    }

    .about-col__text {
        font-size: clamp(11px, 1.4svh, 13px);
        text-align: justify;
        text-align-last: center;
        line-height: 1.55;
    }

    .about-col__text--lead,
    .about-col__text--body {
        max-width: none;
    }

    .about-tagline {
        text-align: center;
        position: fixed !important;
        left: 50% !important;
        top: calc(50% + clamp(22px, 6.5vw, 40px) + clamp(2px, 0.5vw, 4px) - 1svh + clamp(14px, 2svh, 22px) + 5svh) !important;
        transform: translateX(-50%) !important;
        z-index: 100002;
        width: 80%;
        font-size: clamp(11px, 1.4svh, 13px) !important;
    }

    /* Overlay adjustments — three-column info bar like desktop */
    .overlay-content {
        padding: 16px 12px 20px;
        justify-content: flex-start;
        height: 100%;
    }

    .overlay-frame {
        border-radius: 12px;
        flex: 0 0 auto;
        margin-top: auto !important;
        margin-bottom: auto !important;
    }

    /* Multi-video pages (Duribody, Life of Dar): stack from top, no centering */
    #detail-overlay.multi-video .overlay-content {
        height: auto;
    }
    #detail-overlay.multi-video .overlay-frame {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .overlay-still-img { border-radius: 12px; }

    .overlay-info {
        padding: 0 2px 14px;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0;
        position: relative;
    }

    .overlay-info__left,
    .overlay-info__right {
        flex: 1;
        min-width: 0;
    }

    .overlay-info__right { text-align: right; }

    .overlay-logo-btn {
        font-size: 20px;
        position: absolute;
        left: 50%;
        top: -4px;
        transform: translateX(-50%);
    }

    .overlay-title { font-size: 12px; }
    .overlay-subtitle { font-size: 9px; }
    .overlay-type { font-size: 9px; }
    .overlay-credits { font-size: 8px; }
    .overlay-home-label { font-size: 8px; }

    /* Dark theme for video pages on mobile */
    #detail-overlay { background-color: #000; }
    #detail-overlay .embed-loader-pulse {
        border-color: rgba(255, 255, 255, 0.1);
        border-top-color: rgba(255, 255, 255, 0.5);
    }
    #detail-overlay .overlay-frame { background: rgba(255, 255, 255, 0.04); }
    .overlay-logo-btn { color: #f4e7d2 !important; }
    .overlay-home-label { color: #f4e7d2 !important; }
    .overlay-title { color: #fff !important; }
    .overlay-subtitle { color: rgba(255, 255, 255, 0.6) !important; }
    .overlay-type { color: #fff !important; }
    .overlay-credits { color: rgba(255, 255, 255, 0.5) !important; }

    #overlay-stills { gap: 8px; margin-top: 12px; }
}
