/* ═══════════════════════════════════════════════
   EMMA CHASE — emmachase.art
   
   Design language from her work:
   ▪ Bold diagonal stripe blocks (red+black, blue+black)
   ▪ Ink splatter dot clusters (red, black, gold, blue)
   ▪ Watercolor washes bleeding past edges
   ▪ Stippled botanical line work
   ▪ Grayscale figures with colored contour lines
   ▪ Earthy ceramic glazes
   
   This is NOT a subtle site. Her art is bold,
   graphic, and unapologetically expressive.
   The site should feel like opening a sketchbook.
   ═══════════════════════════════════════════════ */

@charset "UTF-8";

:root {
    --ink: #1a1613;
    --ink-soft: #3a342e;
    --ink-muted: #7a7168;
    --paper: #f3efe8;
    --paper-warm: #ebe5db;
    --paper-dark: #ddd6ca;
    --cream: #f9f7f3;
    --white: #ffffff;

    --red: #c23b3b;
    --red-deep: #9e2d2d;
    --blue: #2a6fa8;
    --gold: #c8963e;
    --gold-warm: #b5832e;

    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ─── Animations ─── */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes slideUp { from { opacity:0; transform:translateY(110%); } to { opacity:1; transform:translateY(0); } }
@keyframes growRight { from { width:0; } to { width:100%; } }
@keyframes scrollPulse { 0%,100% { height:20px; opacity:0.6; } 50% { height:36px; opacity:1; } }
@keyframes driftIn { from { opacity:0; transform:translate(-10px, 10px) rotate(-3deg); } to { opacity:1; transform:translate(0,0) rotate(0deg); } }

#main-content > * { animation: fadeUp 0.5s var(--ease) both; }

/* ═══════════════════════════════════════
   REUSABLE DECORATIVE ELEMENTS
   These appear across all pages
   ═══════════════════════════════════════ */

.ink-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot-red { background: var(--red); }
.dot-black { background: var(--ink); }
.dot-blue { background: var(--blue); }
.dot-gold { background: var(--gold); }

/* Diagonal stripe block — Emma's signature motif */
.decor-stripe {
    width: 120px;
    height: 200px;
    background: repeating-linear-gradient(
        -45deg,
        var(--red) 0px,
        var(--red) 5px,
        var(--ink) 5px,
        var(--ink) 10px
    );
    opacity: 0.12;
    position: absolute;
}

.decor-stripe-blue {
    background: repeating-linear-gradient(
        -45deg,
        var(--blue) 0px,
        var(--blue) 5px,
        var(--ink) 5px,
        var(--ink) 10px
    ) !important;
}

.decor-stripe-gold {
    background: repeating-linear-gradient(
        -45deg,
        var(--gold) 0px,
        var(--gold) 5px,
        var(--ink) 5px,
        var(--ink) 10px
    ) !important;
}

/* Portrait frame accent — inspired by the rectangular frames in her figure studies */
.portrait-border {
    position: absolute;
    top: 14px;
    left: 14px;
    right: -14px;
    bottom: -14px;
    border: 2px solid var(--red);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.portrait-stripe {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 80px;
    height: 120px;
    background: repeating-linear-gradient(
        -45deg,
        var(--gold) 0px, var(--gold) 4px,
        transparent 4px, transparent 8px
    );
    opacity: 0.15;
    z-index: 0;
}


/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(243, 239, 232, 0.92);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 2px solid var(--ink);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
}

.logo-mark {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: var(--paper);
    letter-spacing: 0.05em;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink-muted);
    padding: 6px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); font-weight: 500; }
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--ink);
}


/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--paper);
}

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
    background-size: 256px;
    mix-blend-mode: multiply;
}

/* BIG visible stripe blocks */
.stripe-block {
    position: absolute;
    width: 180px;
    height: 320px;
}

.stripe-red {
    top: 8%;
    left: -30px;
    background: repeating-linear-gradient(
        -45deg,
        var(--red) 0px, var(--red) 7px,
        var(--ink) 7px, var(--ink) 14px
    );
    opacity: 0.14;
    transform: rotate(-2deg);
    animation: driftIn 1.2s var(--ease) 0.5s both;
}

.stripe-blue {
    bottom: 6%;
    right: -20px;
    background: repeating-linear-gradient(
        -45deg,
        var(--blue) 0px, var(--blue) 7px,
        var(--ink) 7px, var(--ink) 14px
    );
    opacity: 0.11;
    transform: rotate(3deg);
    animation: driftIn 1.2s var(--ease) 0.7s both;
}

/* Ink dot clusters — visible! */
.dot-cluster {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 1;
}

.dot-cluster .ink-dot {
    width: 16px;
    height: 16px;
    opacity: 0.55;
}

.dot-cluster-1 {
    top: 22%;
    right: 12%;
    animation: fadeIn 0.8s ease 1s both;
}

.dot-cluster-2 {
    bottom: 28%;
    left: 10%;
    animation: fadeIn 0.8s ease 1.2s both;
}

/* Watercolor washes */
.wash {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.wash-red {
    width: 400px;
    height: 350px;
    background: var(--red);
    opacity: 0.06;
    top: 10%;
    left: -5%;
}

.wash-blue {
    width: 350px;
    height: 400px;
    background: var(--blue);
    opacity: 0.05;
    bottom: 5%;
    right: -3%;
}

.wash-gold {
    width: 300px;
    height: 300px;
    background: var(--gold);
    opacity: 0.06;
    bottom: 20%;
    left: 30%;
}

.hero-gesture {
    position: absolute;
    bottom: 25%;
    left: 5%;
    width: 300px;
    opacity: 0.6;
    animation: fadeIn 1.5s ease 1.5s both;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 1rem;
    animation: fadeUp 0.8s var(--ease) 0.1s both;
}

.eyebrow-line {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--ink-muted);
}

.eyebrow-text {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.hero-name {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 0.95;
    margin-bottom: 1.5rem;
}

.name-line { display: block; overflow: hidden; }

.name-first {
    font-size: clamp(5rem, 15vw, 12rem);
    letter-spacing: -0.03em;
    animation: slideUp 1s var(--ease) 0.2s both;
}

.name-last {
    font-size: clamp(5rem, 15vw, 12rem);
    font-style: italic;
    color: var(--red);
    letter-spacing: 0.01em;
    animation: slideUp 1s var(--ease) 0.35s both;
}

.hero-palette {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
    animation: fadeUp 0.8s ease 0.6s both;
}

.palette-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.8;
}

.hero-sub {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 0.4rem;
    animation: fadeUp 0.8s ease 0.7s both;
}

.hero-location {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--ink-muted);
    margin-bottom: 2.5rem;
    animation: fadeUp 0.8s ease 0.8s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeUp 0.8s ease 0.9s both;
}

.btn-bold {
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--paper);
    background: var(--ink);
    padding: 15px 36px;
    border: 2px solid var(--ink);
    transition: all 0.35s var(--ease);
    position: relative;
}

.btn-bold:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(194, 59, 59, 0.2);
}

.btn-outline {
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    padding: 15px 36px;
    border: 2px solid var(--ink);
    background: transparent;
    transition: all 0.35s var(--ease);
}

.btn-outline:hover {
    background: var(--ink);
    color: var(--paper);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeIn 1s ease 1.3s both;
}

.scroll-line {
    width: 1px;
    height: 24px;
    background: var(--ink-muted);
    animation: scrollPulse 2.5s ease-in-out infinite;
}

.hero-scroll span {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ink-muted);
}


/* ═══════════════════════════════════════
   EVENT BAND
   ═══════════════════════════════════════ */

.event-band {
    background: var(--ink);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.event-stripe-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: repeating-linear-gradient(
        to bottom,
        var(--red) 0px, var(--red) 12px,
        var(--gold) 12px, var(--gold) 24px,
        var(--blue) 24px, var(--blue) 36px
    );
}

.event-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    align-items: stretch;
}

.event-info {
    padding: clamp(36px, 5vw, 64px) clamp(36px, 5vw, 80px);
}

.event-flag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--gold);
    padding: 4px 14px;
    margin-bottom: 1rem;
}

.event-name {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.event-meta {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.event-meta p {
    font-size: 0.92rem;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
}

.event-meta strong {
    color: rgba(255,255,255,0.9);
    font-weight: 400;
}

.event-when {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 400 !important;
    margin-top: 4px;
}

.event-free {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 18px;
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.7);
}

.event-poster {
    overflow: hidden;
}

.event-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    transition: opacity 0.4s ease;
}

.event-band:hover .event-poster img { opacity: 0.85; }


/* ═══════════════════════════════════════
   INTRO SECTION
   ═══════════════════════════════════════ */

.intro-section {
    padding: clamp(60px, 10vw, 130px) clamp(24px, 4vw, 60px);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.intro-decor {
    position: absolute;
    top: 40px;
    right: 0;
}

.intro-decor .decor-stripe {
    position: relative;
    width: 100px;
    height: 160px;
    opacity: 0.1;
}

.intro-decor .decor-dots {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    justify-content: center;
}

.intro-decor .ink-dot {
    width: 10px;
    height: 10px;
    opacity: 0.5;
}

.intro-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}

.intro-portrait-wrap {
    position: relative;
}

.intro-portrait {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.intro-portrait img {
    width: 100%;
    display: block;
}

.intro-portrait-wrap .portrait-border {
    top: 16px;
    left: 16px;
    right: -16px;
    bottom: -16px;
}

.intro-portrait-wrap .portrait-stripe {
    bottom: -35px;
    right: -25px;
    width: 90px;
    height: 140px;
}

.intro-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--ink);
}

.intro-rule {
    width: 50px;
    height: 3px;
    background: var(--red);
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--red);
    transition: gap 0.3s var(--ease);
}

.arrow-link:hover { gap: 20px; }
.arrow-link svg { transition: transform 0.3s var(--ease); }
.arrow-link:hover svg { transform: translateX(6px); }


/* ═══════════════════════════════════════
   PAGE HEADERS (shared by Story, Portfolio, CV)
   ═══════════════════════════════════════ */

.page-story, .page-portfolio, .page-cv {
    padding-top: calc(64px + clamp(40px, 8vw, 100px));
    padding-bottom: clamp(60px, 10vw, 120px);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: clamp(24px, 4vw, 60px);
    padding-right: clamp(24px, 4vw, 60px);
    min-height: 100vh;
}

.page-header {
    position: relative;
    margin-bottom: 3rem;
}

.header-decor {
    position: absolute;
    top: -20px;
    left: -40px;
}

.header-decor .decor-stripe {
    position: relative;
    width: 100px;
    height: 160px;
    opacity: 0.1;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.01em;
    color: var(--ink);
    position: relative;
    z-index: 1;
}

.title-rule {
    width: 60px;
    height: 3px;
    background: var(--red);
    margin-top: 0.75rem;
}


/* ═══════════════════════════════════════
   STORY PAGE
   ═══════════════════════════════════════ */

.story-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
}

.story-text-full {
    grid-column: 1 / -1;
    max-width: 720px;
}

.story-portrait-col { position: relative; }

.story-portrait {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.story-portrait img { width: 100%; display: block; }

.portrait-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.portrait-dots .ink-dot {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.story-headline {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 400;
    font-style: italic;
    color: var(--red);
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

.story-body p {
    margin-bottom: 1.4rem;
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.9;
}


/* ═══════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════ */

.portfolio-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.filter-btn {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 9px 24px;
    border: 2px solid var(--paper-dark);
    background: transparent;
    color: var(--ink-muted);
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.filter-btn.active {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
}

/* Masonry */
.layout-masonry { columns: 3; column-gap: 1.25rem; }
.layout-masonry .gallery-piece { break-inside: avoid; margin-bottom: 1.25rem; }

/* Grid */
.layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.layout-grid .gallery-piece { aspect-ratio: 1; }
.layout-grid .piece-image { height: 100%; }
.layout-grid .piece-image img { height: 100%; object-fit: cover; }

/* Slider */
.layout-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--red) transparent;
}

.layout-slider .gallery-piece {
    flex: 0 0 min(420px, 85vw);
    scroll-snap-align: start;
}

.gallery-piece {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--paper-warm);
}

.piece-image {
    overflow: hidden;
}

.piece-image img {
    width: 100%;
    display: block;
    transition: transform 0.6s var(--ease);
}

.gallery-piece:hover .piece-image img {
    transform: scale(1.04);
}

.piece-info {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: var(--cream);
    border-top: 2px solid var(--paper-dark);
}

.piece-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    font-style: italic;
}

.piece-medium {
    font-size: 0.72rem;
    color: var(--ink-muted);
    letter-spacing: 0.04em;
}

.piece-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 22, 19, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.35s ease;
    padding: 20px;
    text-align: center;
}

.gallery-piece:hover .piece-hover { opacity: 1; }

.gallery-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--cream);
    font-style: italic;
}

.gallery-medium {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--ink-muted);
}

.empty-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.empty-dots .ink-dot { opacity: 0.4; }

.empty-state p {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
}


/* ═══════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════ */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(26, 22, 19, 0.95);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: pointer;
}

.lightbox.open { display: flex; animation: fadeIn 0.3s ease; }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 2.2rem;
    cursor: pointer;
    font-weight: 200;
    transition: color 0.3s;
}

.lightbox-close:hover { color: white; }

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    cursor: default;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}

.lightbox-info {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#lightbox-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    font-style: italic;
}

#lightbox-medium {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* ═══════════════════════════════════════
   CV PAGE
   ═══════════════════════════════════════ */

.cv-artist-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    color: var(--ink-muted);
    margin-top: 1rem;
}

.cv-section {
    margin-bottom: 2.5rem;
}

.cv-section-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    font-style: italic;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.cv-section-rule {
    width: 40px;
    height: 2px;
    background: var(--red);
    margin-bottom: 1.25rem;
}

.cv-entry {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 2rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--paper-dark);
}

.cv-year {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--ink-muted);
    letter-spacing: 0.05em;
}

.cv-detail { display: flex; flex-direction: column; gap: 2px; }
.cv-entry-title { font-weight: 400; }
.cv-entry-desc { font-size: 0.9rem; color: var(--ink-muted); }
.cv-empty { font-style: italic; color: var(--ink-muted); font-size: 0.9rem; }


/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */

.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.5);
    padding: 2.5rem clamp(24px, 4vw, 60px) 0;
    position: relative;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255,255,255,0.7);
    display: block;
}

.footer-type {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-right {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.footer-stripe {
    height: 6px;
    background: repeating-linear-gradient(
        to right,
        var(--red) 0px, var(--red) 33.33%,
        var(--blue) 33.33%, var(--blue) 66.66%,
        var(--gold) 66.66%, var(--gold) 100%
    );
}


/* ═══════════════════════════════════════
   MOBILE
   ═══════════════════════════════════════ */

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 2px solid var(--ink);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-120%);
        transition: transform 0.4s var(--ease);
    }

    .nav-links.open { transform: translateY(0); }

    .story-layout { grid-template-columns: 1fr; }
    .intro-grid { grid-template-columns: 1fr; }
    .intro-portrait-wrap { max-width: 280px; }
    .event-grid { grid-template-columns: 1fr; }
    .event-poster { height: 200px; }
    .layout-masonry { columns: 2; column-gap: 0.75rem; }
    .layout-masonry .gallery-piece { margin-bottom: 0.75rem; }

    .cv-entry {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .stripe-block { width: 120px; height: 200px; }
    .header-decor { display: none; }
    .intro-decor { display: none; }
}

@media (max-width: 480px) {
    .layout-masonry { columns: 1; }
    .hero-actions { flex-direction: column; align-items: center; }
    .stripe-block { display: none; }
    .dot-cluster { display: none; }
}
