/* ===================================================
   ROBMORE — KINO Design System
   Paper on ink. One signal. Dark mode.
   =================================================== */

/* ── FONTS ──────────────────────────────────────────
   Display: General Sans (assets/fonts/display) — variable, normal + italic.
   Mono:    LabMono (assets/fonts/mono). Body stays Archivo (Google Fonts). */
@font-face {
    font-family: 'General Sans';
    src: url('assets/fonts/display/GeneralSans-Variable.woff2') format('woff2'),
         url('assets/fonts/display/GeneralSans-Variable.woff') format('woff'),
         url('assets/fonts/display/GeneralSans-Variable.ttf') format('truetype');
    font-weight: 200 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'General Sans';
    src: url('assets/fonts/display/GeneralSans-VariableItalic.woff2') format('woff2'),
         url('assets/fonts/display/GeneralSans-VariableItalic.woff') format('woff'),
         url('assets/fonts/display/GeneralSans-VariableItalic.ttf') format('truetype');
    font-weight: 200 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'LabMono';
    src: url('assets/fonts/mono/labmono-regular-web.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Color tokens — dark theme.
       --paper is the primary SURFACE (near-black); --ink is primary TEXT (off-white).
       Names kept so the existing role-based usage (paper = surface, ink = text) still holds. */
    --paper: #000000;   /* black       */
    --ink: #FFFCE6;     /* off white   */
    --pitch: #000000;
    /* Accent: yellow (kept as --red so existing accent usage flips in one place) */
    --red: #FCD226;
    /* Video signal: deep blue (currently unused — tint wash is off) */
    --accent-blue: #1E40AF;
    --newsprint: #8F8579;
    --ash: #6E655A;
    --hairline: #2A2621;
    --rule-faint: #201C18;
    --panel: #17130F;
    --card-tint: rgba(30, 64, 175, 0.5);

    /* Type families */
    --font-display: 'Anton', sans-serif;
    --font-body: 'Archivo', sans-serif;
    --font-mono: 'LabMono', 'Space Mono', monospace;

    /* Theme variables */
    --bg-main: var(--paper);
    --text-main: var(--ink);
    --header-bg: var(--paper);
    --card-bg: var(--pitch);
    --text-muted: #B8B0A4;
    --text-dim: var(--newsprint);
    --footer-text: var(--newsprint);
    --feed-overlay-bg: rgba(14, 12, 10, 0.92);

    /* Legacy aliases kept so older inline references resolve to the new palette */
    --teal: var(--red);
    --coral: var(--red);
    --black: var(--ink);
    --off-white: var(--paper);
    --white: var(--paper);

    /* Motion: "Reel Ease" — smooth cinematic settle */
    --snap-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

html {
    scroll-padding-top: 92px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, .anton {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* --- NAVIGATION --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    position: fixed;
    top: 0;
    width: 100%;
    height: 72px;
    box-sizing: border-box;
    background-color: var(--paper);
    z-index: 10000;
    transition: transform 0.45s var(--snap-ease), background-color 0.3s ease, border-color 0.3s ease;
}

/* Banner hidden over the hero — slides in once you scroll down (akbik behavior) */
header.header-hidden {
    transform: translateY(-100%);
}

/* Keep the banner visible when the mobile menu is open, even at the top */
body.menu-open header.header-hidden {
    transform: translateY(0);
}

header.header-transparent,
header.scrolled {
    background-color: var(--paper);
    box-shadow: none;
}

body.menu-open header,
body.menu-open header.scrolled,
body.menu-open header.header-transparent {
    background-color: var(--pitch) !important;
    border-bottom-color: var(--pitch) !important;
}

body.menu-open .brand-name,
body.menu-open .brand-dot,
body.menu-open .logo-sub,
body.menu-open #menu-toggle {
    color: var(--ink) !important;
}

.logo {
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 7px;
}

/* Lottie container retained structurally but visually replaced by wordmark via CSS below if present */
.logo-lottie {
    display: none;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0.5px;
    text-transform: none;
    color: var(--ink);
    transition: color 0.2s ease;
}

.logo:hover .brand-name {
    color: var(--red);
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--red);
    margin-left: 8px;
    text-transform: uppercase;
    font-weight: 700;
}

nav a {
    text-decoration: none;
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 700;
    margin-left: 34px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--red);
}

/* --- MOBILE NAV --- */
#menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    z-index: 101;
    position: relative;
}

#mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    background: var(--pitch);
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.4s var(--snap-ease);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 120px 20px 40px 20px;
    overflow: hidden;
    box-sizing: border-box;
}

#mobile-menu-overlay.active {
    transform: translateY(0);
}

#menu-close {
    display: none;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
    text-align: right;
    width: 100%;
    padding-right: 0;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
    text-align: right;
    -webkit-text-fill-color: var(--ink);
}

.mobile-link:hover {
    color: var(--red);
    -webkit-text-fill-color: var(--red);
}

.mobile-link[href^="mailto"] {
    color: var(--ink) !important;
    -webkit-text-fill-color: var(--ink) !important;
}

.mobile-link[href^="mailto"]:hover {
    color: var(--red) !important;
    -webkit-text-fill-color: var(--red) !important;
}

.mobile-secondary-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(244, 239, 230, 0.2);
    width: 100%;
}

.mobile-link-secondary {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0.6;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
    text-align: right;
}

.mobile-link-secondary:hover {
    color: var(--red);
    opacity: 1;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 27px;
    margin-left: 30px;
    padding: 5px;
    color: var(--ink);
    transition: transform 0.2s var(--snap-ease);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
}

/* --- POSTER HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 110px 60px 84px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    background: var(--paper);
}

.hero-video {
    position: relative;
    width: 100%;
    max-width: 540px;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: var(--pitch);
    border: 1px solid var(--hairline);
}

.hero-video.is-loading {
    animation: video-pulse 2s ease-in-out infinite;
}

@keyframes video-pulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

/* --- SERVICES MARQUEE (was "capabilities") --- */
.capabilities {
    background-color: var(--paper);
    padding: 24px 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid var(--hairline);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.cap-list {
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: 0.5px;
    color: var(--ink);
    margin-bottom: 0;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    scrollbar-width: none;
}

.cap-track {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
}

.cap-duplicate {
    display: inline;
}

.cap-word {
    transition: color 0.2s ease;
    cursor: default;
}

.cap-word:hover {
    color: var(--red);
}

.cap-list::-webkit-scrollbar {
    display: none;
}

.cap-sep {
    color: var(--red);
    margin: 0 14px;
}

.cap-pitch {
    max-width: 780px;
    margin: 30px auto 0;
    font-family: var(--font-body);
    font-size: clamp(18px, 2.2vw, 25px);
    line-height: 1.55;
    color: var(--text-muted);
    font-weight: 400;
}

.hero-overlay {
    display: none;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content.menu-open {
    opacity: 0;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 22px;
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(64px, 9vw, 108px);
    line-height: 0.86;
    letter-spacing: 0.5px;
    font-weight: 400;
    text-transform: uppercase;
    max-width: none;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: snapUp 0.9s var(--snap-ease) forwards;
    animation-delay: 0.15s;
}

.hero h1 {
    color: var(--ink);
}

.hero-frame-row {
    display: flex;
    gap: 32px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.hero-reel {
    position: relative;
}

.hero-play-tab {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 10px 16px;
    background: var(--red);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-tagline {
    flex: 1;
    min-width: 220px;
}

.hero-tagline .anton {
    font-size: 34px;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero-sub {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.6s;
    font-weight: 400;
}

/* --- WORK SHOWCASE (GRID) --- */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 104px 60px;
    margin-top: 0;
    border-bottom: 1px solid var(--hairline);
}

.project-item {
    position: relative;
    margin-bottom: 0;
    display: block;
    text-decoration: none;
    color: inherit;
}

.media-container {
    background: var(--pitch);
    aspect-ratio: 16/9;
    width: 100%;
    overflow: hidden;
    margin-bottom: 14px;
    transition: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    color: var(--ash);
    font-size: 40px;
}

.media-container:hover {
    transform: none;
}

.interactive-card .media-container {
    position: relative;
    transform: none !important;
    overflow: hidden;
}

.interactive-card .media-container:hover {
    transform: none;
}

/* Video: Default State — Reel Reveal (grayscale + red wash) */
.card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s ease;
    z-index: 1;
}

.card-tint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--card-tint);
    z-index: 2;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.card-text {
    position: relative;
    z-index: 3;
    color: var(--paper);
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 40px;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* --- HOVER STATE: Reel Reveal --- */
.interactive-card:hover .card-video {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.interactive-card:hover .card-text {
    opacity: 0;
}

.interactive-card:hover .card-tint {
    opacity: 0;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 5px;
}

.project-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 22px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--ink);
}

.project-cat {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--newsprint);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

/* --- MANIFESTO / ABOUT --- */
.about-section {
    background-color: var(--paper);
    color: var(--ink);
    padding: 104px 60px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    max-width: 1080px;
    margin: 0 auto;          /* centre the whole bio block in the page */
    align-items: center;      /* text block stays centred to the video, even when expanded */
}

.about-label {
    font-family: var(--font-body);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 0.95;
    margin: 0 0 30px 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.about-text p {
    font-size: 19px;
    line-height: 1.6;
    color: var(--ink);
    max-width: 640px;
    margin-bottom: 24px;
}

.about-credentials {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--newsprint);
    margin-bottom: 28px;
    letter-spacing: 0.3px;
}

.about-link {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    color: var(--red);
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
}

.about-link:hover {
    color: var(--ink);
}

.bio-link:hover {
    color: var(--red);
}

/* --- CONTACT FOOTER --- */
.footer {
    background: var(--pitch);
    color: var(--ink);
    padding: 100px 40px 50px;
    text-align: center;
}

.big-link {
    font-family: var(--font-display);
    font-size: clamp(34px, 6.5vw, 84px);
    font-weight: 400;
    line-height: 1;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.big-link:hover {
    color: var(--red);
}

.footer-social {
    margin-top: 46px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
}

.footer-social a {
    color: var(--ink);
    opacity: 0.6;
    text-decoration: none;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
    opacity: 1;
    color: var(--red);
}

.footer-divider {
    color: var(--ink);
    opacity: 0.35;
    margin: 0 15px;
}

/* --- PROJECT DETAIL PAGE (Case-Study Layout) --- */
.project-detail {
    padding-top: 200px;
    padding-bottom: 100px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
    animation: fadeIn 0.5s ease;
}

.detail-header {
    margin-bottom: 60px;
}

.detail-cat {
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 20px;
}

.detail-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 72px);
    line-height: 0.9;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
}

.detail-media {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--pitch);
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--ash);
}

.embed-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.detail-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.detail-desc {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-muted);
}

.detail-meta {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--newsprint);
    line-height: 2;
    border-top: 1px solid var(--hairline);
    padding-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- FEED VIEW (Optional/Alternate Grid) --- */
.feed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    margin-top: 100px;
}

.feed-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--pitch);
    cursor: pointer;
}

.feed-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.feed-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.feed-item:hover .feed-overlay {
    opacity: 1;
}

.feed-item:hover .feed-video {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.feed-title {
    color: var(--paper);
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 18px;
    text-align: center;
    padding: 20px;
    background: var(--ink);
}

/* --- UTILS --- */
.hidden {
    display: none !important;
}

/* --- ANIMATIONS --- */
@keyframes snapUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

br.mobile-br {
    display: block;
}

/* --- RESPONSIVE --- */
@media (max-width: 880px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .work-grid,
    .about-grid,
    .detail-info {
        grid-template-columns: 1fr;
    }

    .feed-grid {
        margin-top: 80px;
    }

    .feed-item {
        aspect-ratio: 1/1;
    }

    .feed-video {
        filter: grayscale(100%);
        transition: filter 0.4s ease, transform 0.5s ease;
    }

    .feed-item.in-focus .feed-video {
        filter: grayscale(0%);
        transform: scale(1.03);
    }

    .feed-overlay {
        opacity: 1 !important;
        background: transparent;
        align-items: flex-end;
        justify-content: center;
        padding: 0;
    }

    .feed-title {
        color: var(--paper);
        font-size: 14px;
        text-align: center;
        padding: 10px;
        width: 100%;
    }

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

    header {
        padding: 0 24px;
        width: 100%;
        height: 64px;
    }

    #mobile-menu-overlay {
        padding: 100px 20px 20px 20px;
    }

    .hero,
    .work-grid,
    .about-section,
    .footer,
    .project-detail {
        padding: 40px 24px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .hero h1 {
        max-width: 100%;
    }

    .cap-pitch {
        font-size: 18px;
        max-width: 100%;
    }

    .cap-list {
        overflow: hidden;
        padding: 0;
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }

    .cap-track {
        animation: ticker 18s linear infinite;
    }

    .cap-duplicate {
        display: inline;
    }

    .cap-word:hover {
        color: var(--ink);
    }

    .about-text h2 {
        font-size: 28px;
    }

    .about-text p {
        font-size: 16px;
    }

    .bio-small {
        font-size: 14px;
    }

    .brand-name {
        font-size: 20px;
    }

    .logo-sub {
        display: none;
    }

    .desktop-links {
        display: none;
    }

    #menu-toggle {
        display: block;
    }

    .hero-video {
        max-width: 100%;
    }

    .work-grid .media-container,
    .feed-item {
        width: 100%;
        aspect-ratio: 16/9;
    }

    .card-video,
    .feed-video {
        object-fit: cover;
    }

    .card-text {
        font-size: 28px;
    }

    #project-vogue .card-video {
        object-position: left center;
    }

    .interactive-card .card-video {
        filter: grayscale(100%);
        transition: filter 0.4s ease, transform 0.5s ease;
    }

    .interactive-card.in-focus .card-video {
        filter: grayscale(0%);
        transform: scale(1.03);
    }

    .interactive-card.in-focus .card-tint {
        opacity: 0;
    }

    .project-title {
        font-size: 18px;
    }

    .project-cat {
        font-size: 11px;
    }

    .visual-break {
        padding: 60px 0;
    }
}

@media (max-width: 600px) {
    .feed-grid {
        grid-template-columns: 1fr;
    }
}

/* Mid-small phones */
@media (max-width: 480px) {
    .big-link {
        letter-spacing: 0;
    }

    .footer {
        padding: 60px 20px 40px;
    }

    .footer-social {
        margin-top: 30px;
        font-size: 12px;
    }
}

/* Lightbox mobile adjustments */
@media (max-width: 768px) {
    .lightbox-close {
        font-size: 30px;
        top: -40px;
    }

    .lightbox-content {
        width: 95%;
    }
}

/* Very narrow screens (small phones) */
@media (max-width: 400px) {
    header {
        padding: 0 15px;
        height: 60px;
    }

    #mobile-menu-overlay {
        padding: 90px 15px 20px 15px;
    }

    .brand-name {
        font-size: 18px;
    }

    h1 {
        font-size: 38px;
    }

    .hero-sub {
        font-size: 15px;
    }

    .hero,
    .work-grid,
    .about-section,
    .footer,
    .project-detail {
        padding: 30px 15px;
    }

    .cap-pitch {
        font-size: 16px;
    }

    .about-text h2 {
        font-size: 24px;
    }

    .about-text p {
        font-size: 15px;
    }

    .mobile-link {
        font-size: 18px;
    }

    .mobile-nav-links {
        gap: 15px;
    }

    #menu-close {
        top: 12px;
        right: 15px;
        font-size: 28px;
    }

    .card-text {
        font-size: 22px;
    }

    .big-link {
        letter-spacing: 0;
    }
}

/* --- LIGHTBOX --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 12, 10, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.lightbox.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

.lightbox-content {
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    position: relative;
    background: var(--pitch);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--paper);
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    z-index: 2001;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: var(--red);
}

.lightbox-details {
    margin-top: 20px;
    text-align: left;
    color: var(--paper);
    font-size: 16px;
    line-height: 1.6;
    font-family: var(--font-body);
}

.lightbox-details div {
    opacity: 0.9;
}

/* --- CASE-STUDY UTILS --- */
.embed-wide {
    aspect-ratio: 21/9;
    width: 100%;
    background: var(--pitch);
}

.text-bridge {
    text-align: center;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 60px 0 20px 0;
    color: var(--ink);
}

.visual-break {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    background: var(--pitch);
    padding: 100px 0;
}

.project-label {
    text-align: center;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--newsprint);
    margin-bottom: 20px;
    margin-top: 60px;
}
