/* ============================================================
   Eva March Artist - base stylesheet
   Jeff Koons inspired structure on the home; editorial / palace
   for the inner pages. Whites dominate. Color comes only from
   the artworks themselves. Artworks are NEVER cropped.
   ============================================================ */

:root {
    --bg:           #FAFAF7;
    --bg-pure:      #FFFFFF;
    --black:        #0A0A0A;
    --ink:          #0E0E0E;
    --ink-soft:     #5B5B58;
    --ink-mute:     #8B8B86;
    /* Deep navy BLUE for big display titles + the EVA MARCH wordmark.
       Clearly blue (never near-black) per brand direction. */
    --display-blue: #16365A;
    --rule:         #E6E2D9;
    --rule-soft:    #EFEBE2;
    --serif:        'EB Garamond', Georgia, 'Times New Roman', serif;
    --editorial:    'Fraunces', 'EB Garamond', Georgia, serif;
    --sans:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --step-1: clamp(0.78rem, 0.74rem + 0.18vw, 0.85rem);
    --step-2: clamp(1.05rem, 0.95rem + 0.45vw, 1.25rem);
    --step-3: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem);
    --step-4: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
    --step-5: clamp(3rem, 2rem + 5vw, 6rem);
    --step-6: clamp(3.8rem, 2.4rem + 10vw, 11.5rem);
    --header-h: 58px;
    --ease:   cubic-bezier(.2,.7,.2,1);
    --reveal-duration: 900ms;
}

/* ---------- Reset & base ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: var(--step-2);
    line-height: 1.45;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Subtle paper grain overlay */
body::before {
    content: '';
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.022;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Layout helpers ---------- */
.eva-container       { width: min(1480px, 100% - 4rem); margin-inline: auto; }
.eva-container--text { width: min(700px,  100% - 3rem); margin-inline: auto; }
.eva-rule { border-top: 1px solid var(--rule); }
.eva-section { padding-block: clamp(5rem, 4vw + 4rem, 12rem); }
.eva-section--snug { padding-block: clamp(3rem, 2vw + 2rem, 6rem); }

/* =====================================================================
   HEADER - compact wordmark left, thin menu right.
   Hides on scroll down, returns on scroll up. Not sticky by default.
   ===================================================================== */
.eva-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 60;
    height: var(--header-h);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: clamp(1rem, 2vw, 2rem);
    align-items: center;
    padding: 0.35rem clamp(1rem, 2vw, 2rem) 0;
    background: transparent;
    color: var(--ink);
    transition: transform 380ms var(--ease), background 220ms var(--ease), color 220ms var(--ease);
    will-change: transform;
    mix-blend-mode: difference;
}
/* When over images (hero, bio image), invert the header colour for readability */
body { color-scheme: light; }
.eva-header.is-hidden   { transform: translateY(-110%); }
.eva-header.is-floating { background: rgba(250, 250, 247, 0.86); backdrop-filter: blur(12px) saturate(1.1); -webkit-backdrop-filter: blur(12px) saturate(1.1); mix-blend-mode: normal; }

.eva-header__logo {
    color: #ffffff;
    display: inline-flex; align-items: center;
    padding: 0.12rem 0;
    font-family: var(--serif);
    font-style: normal;
    font-size: clamp(1.2rem, 1.4vw, 1.55rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.05em;          /* breathing room for ALL-CAPS */
    text-transform: uppercase;       /* EVA MARCH always uppercase in the header */
    white-space: nowrap;
}
.eva-header.is-floating .eva-header__logo { color: var(--ink); }

.eva-header__nav {
    display: flex;
    gap: clamp(0.7rem, 1.2vw, 1.5rem);
    align-items: center;
    justify-content: flex-end;
    color: #ffffff;
}
.eva-header__nav a {
    font-family: var(--serif);
    font-style: normal;
    font-weight: 400;
    font-size: clamp(0.72rem, 0.8vw, 0.85rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: inherit;
    position: relative;
    padding-block: 0.25rem;
    transition: opacity 200ms var(--ease);
}
.eva-header__nav a::after {
    content: '';
    position: absolute; left: 50%; right: 50%; bottom: 0.05rem;
    height: 1px; background: currentColor;
    transition: left 280ms var(--ease), right 280ms var(--ease);
}
.eva-header__nav a:hover::after,
.eva-header__nav a[aria-current="page"]::after { left: 0; right: 0; }
.eva-header.is-floating .eva-header__nav { color: var(--ink); }

/* Mobile menu toggle */
.eva-header__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    justify-self: end;
}
.eva-header__toggle,
.eva-header__type-toggle {
    background: none;
    border: 0;
    color: #ffffff;
    font-family: var(--sans);
    font-size: 0.78rem;
    line-height: 1;
    letter-spacing: 0;
    padding: 0.25rem 0;
}
.eva-header__type-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 50px;
    padding: 0.35rem 0.8rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 200ms var(--ease);
}
.eva-header__type-toggle:hover {
    background: currentColor;
    color: var(--bg) !important;
}
.eva-header__toggle {
    display: none;
}
.eva-header.is-floating .eva-header__toggle,
.eva-header.is-floating .eva-header__type-toggle { color: var(--ink); }
body.eva-type-serif .eva-header__logo,
body.eva-type-serif .eva-header__type-toggle {
    font-family: var(--sans);
    font-style: normal;
    font-weight: 500;
}
@media (max-width: 768px) {
    .eva-header__toggle { display: inline-block; justify-self: end; z-index: 200; position: relative; }
    .eva-header__nav {
        position: fixed; inset: 0;
        z-index: 100;
        flex-direction: column; gap: 2rem;
        background: #0B1A2E; color: #ffffff;
        padding: calc(var(--header-h) + 4rem) 2rem 3rem; display: none;
        align-items: center;
        text-align: center;
    }
    .eva-header__nav.is-open { display: flex; }
    .eva-header__nav a { font-size: 1.6rem; padding-block: 0.5rem; color: #ffffff; opacity: 0.9; text-decoration: none; }
    .eva-header__nav a:hover { opacity: 1; }
    
    /* Make the toggle white when the dark menu is open, overriding floating styles */
    .eva-header:has(.eva-header__nav.is-open) .eva-header__toggle { color: #ffffff !important; }
}

/* =====================================================================
   GIANT NAME - fixed at the bottom of the viewport, sits above the hero
   AND the works grid. Fades out when the bio enters.
   ===================================================================== */
.eva-name {
    position: fixed;
    left: 0; right: 0;
    bottom: 0;                       /* baseline pinned to the very bottom of the viewport */
    margin: 0;
    text-align: center;
    font-family: var(--sans);
    font-weight: 800;
    font-size: var(--step-6);
    line-height: 0.78;
    letter-spacing: -0.005em;
    color: var(--display-blue);
    z-index: 30;
    pointer-events: none;
    user-select: none;
    /* Drop the visual baseline a little below the viewport so descenders bleed off,
       removing any optical gap between the letters and the screen edge. */
    transform: translate3d(0, 0.06em, 0);
    transition: opacity 500ms var(--ease), transform 500ms var(--ease);
    white-space: nowrap;
    padding: 0 1rem;
}
.eva-name.is-docked {
    position: absolute;
    top: auto;
    bottom: auto;
    top: var(--eva-name-dock-top, auto);
}
body.eva-type-serif .eva-name,
body.eva-type-serif .eva-page-marker {
    font-family: var(--editorial);
    font-style: normal;
    font-weight: 650;
}

/* Apply the deep navy display colour to every big editorial title across the site. */
.eva-page-marker,
.eva-archive__head h1,
.eva-theme-group__title,
.eva-series-strip__title,
.eva-ny__title,
.eva-journal h1,
.eva-contact-page h1,
.eva-footer__name,
.eva-bio-home__lede,
.eva-timeline__ny h2,
.eva-bio__body h1 {
    color: var(--display-blue);
}

/* =====================================================================
   STAGE - wraps the hero + works grid. Has a deep dark backdrop behind
   the artworks to make their colors pop against pure black frames.
   ===================================================================== */
.eva-stage {
    position: relative;
    background: var(--bg);
    /* Extra room at the bottom so the docked EVA MARCH wordmark sits BELOW the
       last artwork (with breathing space before the biography section). */
    padding-bottom: clamp(7rem, 16vw, 20rem);
    overflow-x: clip;
}

.eva-hero {
    position: relative;
    height: calc(100vh - 5vw); /* Heights makes the baseline fall in the middle of EVA MARCH */
    min-height: 550px;
    overflow: hidden;
    background: var(--bg);
    padding-top: var(--header-h); /* Touches the exact bottom boundary of the header menu */
}

.eva-hero__image {
    width: 100%;
    height: 100%;
    padding: 0 clamp(1rem, 6vw, 10rem); /* Horizontal padding to avoid full width, as requested */
    overflow: hidden;
}
.eva-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 100%; /* Cropped at top, bottom fully visible */
}

/* ---------- HERO DUO - two villa shots, large, corners overlapping ---------- */
.eva-hero--duo {
    min-height: calc(100vh + clamp(1rem, 6vw, 7rem));
    padding: calc(var(--header-h) + clamp(0.5rem, 1.5vw, 2rem)) 0 clamp(3rem, 6vh, 6rem);
}
.eva-hero__duo {
    position: relative;
    width: 100%;
    min-height: 80vh;
    padding-inline: clamp(0px, 2vw, 3rem);
}
.eva-hero__duo-tile {
    position: absolute;
    margin: 0;
    overflow: hidden;
    background: var(--display-blue);
    box-shadow: 0 50px 110px -50px rgba(11,26,46,0.42);
}
.eva-hero__duo-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;            /* villa shots are panoramic compositions, cover is the right mode */
    object-position: center;
}
/* Left tile - anchored top-left, slightly larger */
.eva-hero__duo-tile--left {
    top: 0;
    left: clamp(0.5rem, 3vw, 3rem);
    width: min(58vw, 880px);
    aspect-ratio: 3 / 4;
    z-index: 1;
}
/* Right tile - anchored bottom-right, overlapping the left tile's bottom-right corner */
.eva-hero__duo-tile--right {
    bottom: 0;
    right: clamp(0.5rem, 3vw, 3rem);
    width: min(56vw, 820px);
    aspect-ratio: 4 / 3;
    z-index: 2;
    transform: translate(0, clamp(2rem, 5vw, 6rem));     /* drop it down so it bleeds under the EVA MARCH name */
}
@media (max-width: 768px) {
    .eva-hero__duo { min-height: 110vh; }
    .eva-hero__duo-tile--left  { width: 78vw; aspect-ratio: 3 / 4; }
    .eva-hero__duo-tile--right { width: 78vw; aspect-ratio: 4 / 3; transform: translate(0, 6vh); }
}

/* =====================================================================
   WORKS GRID (home) - large frames, BLACK background, no titles by default.
   Hover reveals the title via overlay, full-frame clickable.
   ===================================================================== */
.eva-works-home {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(3rem, 6vw, 7rem) clamp(2rem, 4vw, 5rem);
    padding: clamp(3.5rem, 6vw, 8rem) clamp(1.5rem, 5vw, 6rem) clamp(2.5rem, 5vw, 6rem);
    background: var(--bg);
    align-items: start;
}
/* Each beat keeps the artwork entirely visible (no viewport overflow),
   but still hangs at a deliberately generous size so the colour fills the eye. */
/* New structured layout: 2 works per section, generally 20% larger */
.eva-works-home > :nth-child(1) { grid-column: 1 / span 7; justify-self: start; } /* Cosmos 1: 65% */
.eva-works-home > :nth-child(2) { grid-column: 9 / span 4; justify-self: end; margin-top: clamp(4rem, 10vw, 12rem); } /* Cactus Passion: 35% */
.eva-works-home > :nth-child(3) { grid-column: 2 / span 5; justify-self: start; margin-top: clamp(2rem, 4vw, 6rem); }
.eva-works-home > :nth-child(4) { grid-column: 8 / span 5; align-self: center; justify-self: center; text-align: center; max-width: 44ch; margin-top: clamp(4rem, 8vw, 10rem); }
.eva-works-home > :nth-child(5) { grid-column: 2 / span 4; justify-self: start; margin-top: clamp(28rem, 36vw, 44rem); } /* Power Nature - much lower */
.eva-works-home > :nth-child(6) { grid-column: 7 / span 6; justify-self: end; margin-top: clamp(2rem, 4vw, 6rem); } /* Fluidity - higher (tucked under text) */
.eva-works-home > :nth-child(7) { grid-column: 1 / span 6; justify-self: start; margin-top: clamp(18rem, 24vw, 30rem); } /* Mind Wind - pushed much lower */
.eva-works-home > :nth-child(8) { grid-column: 7 / span 6; justify-self: end; margin-top: clamp(1rem, 2vw, 4rem); } /* Cactus Eden - moved higher */
.eva-works-home > :nth-child(9) { grid-column: 3 / span 8; justify-self: center; margin-top: clamp(10rem, 16vw, 20rem); }

/* Crop slightly left side for Fluidity specifically */
.eva-work--fluidity-crop .eva-work__frame {
    overflow: hidden !important; /* Prevents scaled image from overlapping the hover text */
}
.eva-work--fluidity-crop .eva-work__frame img {
    object-fit: cover !important;
    object-position: right center !important;
    transform: scale(1.15) !important; /* Scales it up slightly to crop left edge */
}

.eva-works-home:has(.eva-work:only-child) { display: grid; place-items: center; }
.eva-works-home .eva-work:only-child { width: min(88vw, 1100px); }
.eva-home-quote {
    /* Rules now handled by :nth-child(4) */
    padding: clamp(1rem, 2vw, 2rem) 0;
}
.eva-home-quote p {
    margin: 0;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.55rem, 2.3vw, 3.1rem);
    line-height: 1.08;
    color: var(--display-blue);
    text-wrap: balance;
}
@media (max-width: 768px) {
    .eva-works-home { grid-template-columns: 1fr; gap: 3.5rem 0; padding-inline: 1.5rem; }
    .eva-works-home .eva-work,
    .eva-home-quote,
    .eva-works-home .eva-work:nth-of-type(n) { grid-column: span 1 !important; margin-top: 0; justify-self: stretch !important; }
    .eva-home-quote { max-width: none; justify-self: stretch; }
}

.eva-work {
    position: relative;
    display: block;
    overflow: visible;
    transition: transform 700ms var(--ease);
    width: 100%;
    max-width: 100%;
}
.eva-work__frame {
    position: relative;
    background: transparent;
    border: 0;
    display: block;
    overflow: visible;
    padding: 0;
    max-width: 100%;
}
.eva-work__frame.eva-protected { position: relative; }
.eva-protected:not([data-eva-interactive-media])::after {
    content: '';
    position: absolute; inset: 0; z-index: 10;
    background: transparent;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}
img {
    -webkit-user-drag: none;
    pointer-events: auto; /* Unless protected */
}
.eva-protected:not([data-eva-interactive-media]) img { pointer-events: none; }
.eva-work__frame img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;        /* SACRED: never crop the artwork */
    transition: transform 1400ms var(--ease), filter 600ms var(--ease);
}
.eva-work__hover {
    position: static;
    display: block;
    padding: 0.7rem 0 0;
    background: transparent;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 360ms var(--ease), transform 360ms var(--ease);
    pointer-events: none;
    text-align: right;
    width: 100%;
    max-width: 100%;
}
.eva-work__hover-title {
    font-family: var(--editorial);
    font-style: normal;
    font-weight: 500;
    color: var(--ink);
    font-size: clamp(1rem, 1.4vw, 1.35rem);
    line-height: 1.15;
    letter-spacing: 0;
    background: transparent;
    padding: 0;
    text-align: right;
}
.eva-work__hover-dims {
    display: block;
    font-family: var(--sans);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--ink-mute);
    margin-top: 0.25rem;
    text-align: right;
    text-transform: uppercase;
}
.eva-work:hover .eva-work__frame img { transform: none; }
.eva-work:hover .eva-work__hover { opacity: 1; transform: translateY(0); }
.eva-work:nth-of-type(1) .eva-work__frame img,
.eva-work:nth-of-type(4) .eva-work__frame img,
.eva-work:nth-of-type(8) .eva-work__frame img,
.eva-work:nth-of-type(9) .eva-work__frame img { max-height: none; }
@media (max-width: 768px) {
    .eva-work__hover { opacity: 1; transform: translateY(0); text-align: left; padding-top: 0.8rem; }
    .eva-work__hover-title, .eva-work__hover-dims { text-align: left; }
    .eva-work__hover-title { font-size: 1.15rem; }
}

/* =====================================================================
   BIOGRAPHY - fixed image LEFT (rotates as you scroll), text RIGHT
   ===================================================================== */
.eva-bio-home {
    position: relative;
    display: grid;
    grid-template-columns: 6fr 6fr;
    background: var(--bg);
    border-top: 0;
}
.eva-bio-home__images {
    position: sticky;
    top: calc(var(--header-h) + clamp(2rem, 4vw, 4rem));
    height: calc(100vh - var(--header-h) - clamp(4rem, 8vw, 8rem));
    max-height: 760px;
    overflow: hidden;
    background: transparent;
    margin: 0 clamp(1rem, 3vw, 3rem);
}
.eva-bio-home__images img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(96%, 620px);
    height: auto;
    max-height: calc(100% - 1rem);
    object-fit: contain;
    opacity: 0;
    transition: opacity 700ms var(--ease), transform 8s ease-out;
    transform: translate(-50%, -50%) scale(1.03);
    pointer-events: none;
    user-select: none;
    box-shadow: 0 28px 70px -48px rgba(0,0,0,0.38);
}
.eva-bio-home__images img.is-active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.eva-bio-home__text {
    padding: clamp(4rem, 9vh, 9rem) clamp(2rem, 5vw, 6rem) clamp(4rem, 9vh, 9rem);
    max-width: 720px;
}
.eva-bio-home__kicker {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin: 0 0 1.5rem;
}
.eva-bio-home__lede {
    font-family: var(--editorial);
    font-style: italic;
    font-weight: 400;
    font-size: var(--step-4);
    line-height: 1;
    color: var(--ink);
    margin: 0 0 1.35rem;
    letter-spacing: 0;
    font-feature-settings: "ss01", "ss02", "kern";
}
.eva-bio-home__body p {
    font-family: var(--serif);
    font-size: clamp(1rem, 1.2vw, 1.3rem);
    line-height: 1.5;
    color: var(--ink);
    margin: 0 0 1rem;
    font-weight: 400;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
}
.eva-bio-home__body p em { font-style: italic; color: var(--ink); }
.eva-bio-home__cta { margin-top: 2rem; }

@media (max-width: 768px) {
    .eva-bio-home { grid-template-columns: 1fr; }
    .eva-bio-home__images { position: relative; top: auto; height: 56vh; margin: 0 1.5rem; }
    .eva-bio-home__text { padding: 4rem 1.5rem; }
}

.eva-bio-video {
    padding: clamp(5rem, 9vw, 11rem) clamp(1.5rem, 6vw, 7rem);
    background: var(--bg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 6rem);
    max-width: 1400px;
    margin-inline: auto;
    border-top: 1px solid var(--rule-soft);
}
.eva-bio-video--single {
    grid-template-columns: 1fr;
    max-width: 900px;
}
.eva-bio-video__item { display: flex; flex-direction: column; gap: 0.5rem; }
.eva-bio-video__frame {
    aspect-ratio: 16 / 9;
    background: #000;
}
.eva-bio-video__frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.eva-bio-video__caption h2 {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: var(--step-3);
    line-height: 1.05;
    color: var(--display-blue);
    margin: 0 0 0.35rem;
}
.eva-bio-video__caption p {
    font-family: var(--sans);
    font-size: 0.9rem;
    line-height: 1.35;
    color: var(--ink-soft);
    margin: 0;
}
@media (max-width: 768px) { .eva-bio-video { grid-template-columns: 1fr; } }

/* =====================================================================
   NY block + Gallery cross-link (kept simple, dark)
   ===================================================================== */
.eva-ny {
    background: var(--bg-pure);
    padding: clamp(4rem, 6vw, 8rem) clamp(1.5rem, 5vw, 5rem);
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(2rem, 4vw, 6rem);
    align-items: center;
    border-top: 1px solid var(--rule);
}
.eva-ny--text {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
    text-align: center;
}
.eva-ny--text p {
    margin-left: auto;
    margin-right: auto;
}
.eva-ny__kicker {
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin: 0 0 1.5rem;
}
.eva-ny__title {
    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(1.4rem, 2.8vw, 3rem);
    line-height: 1.08;
    margin: 0 0 1.5rem;
    text-wrap: balance;
}
.eva-ny__date {
    font-family: var(--sans);
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 0 0 2rem;
    font-weight: 300;
}
.eva-ny__visuals { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; }
.eva-ny__visuals .frame { aspect-ratio: 4 / 5; background: var(--black); display: grid; place-items: center; padding: 1.5rem; }
.eva-ny__visuals .frame img { width: 100%; height: 100%; object-fit: contain; }
.eva-ny__visuals .frame:nth-child(2) { transform: translateY(-2rem); }
@media (max-width: 768px) { .eva-ny { grid-template-columns: 1fr; } }

.eva-section-head { padding: 0 clamp(1.5rem, 5vw, 5rem) clamp(2rem, 3vw, 4rem); display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.eva-section-head h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--step-4); margin: 0; line-height: 1; }
.eva-section-head__kicker { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 0.6rem; font-weight: 300; }
.eva-link-more { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--sans); font-size: 0.86rem; letter-spacing: 0.04em; border-bottom: 1px solid var(--ink); padding-bottom: 0.3rem; transition: gap 250ms var(--ease); font-weight: 400; }
.eva-link-more::after { content: '→'; }
.eva-link-more:hover { gap: 1rem; }

/* =====================================================================
   SINGLE ARTWORK - large, never cropped, no shadow excess
   ===================================================================== */
.eva-artwork {
    padding: calc(var(--header-h) + clamp(2rem, 4vw, 5rem)) clamp(1rem, 4vw, 4rem) clamp(2rem, 4vw, 4rem);
}
.eva-artwork__stage { display: grid; place-items: center; min-height: 75vh; }
.eva-artwork__stage img { max-height: 85vh; max-width: 92vw; object-fit: contain; }
.eva-artwork__meta {
    margin-top: clamp(2rem, 4vw, 5rem);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    padding-inline: clamp(0px, 6vw, 6rem);
    border-top: 1px solid var(--rule);
    padding-top: 2rem;
}
.eva-artwork__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--step-4); margin: 0 0 .6rem; line-height: 1; color: var(--display-blue); }
.eva-artwork__nomenclature { font-family: var(--sans); font-size: .8rem; letter-spacing: .04em; color: var(--ink-soft); margin: 0 0 1.5rem; line-height: 1.5; }
.eva-artwork__col h3 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 0.5rem; font-weight: 400; }
.eva-artwork__col p { margin: 0 0 0.4rem; line-height: 1.55; }
.eva-artwork__term-desc {
    font-family: var(--serif);
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0.5rem 0 0.8rem;
    font-style: italic;
}
.eva-artwork__nav { display: flex; justify-content: space-between; gap: 2rem; padding: 3rem clamp(0px, 6vw, 6rem) 0; font-family: var(--sans); font-size: 0.86rem; color: var(--ink-soft); }
.eva-artwork__nav a { display: inline-flex; align-items: baseline; gap: 0.6rem; }
.eva-artwork__nav span.label { color: var(--ink-mute); }
.eva-artwork__inquiry { margin-top: clamp(4rem, 6vw, 8rem); padding: clamp(3rem, 4vw, 5rem) clamp(1rem, 6vw, 6rem); border-top: 1px solid var(--rule); text-align: center; }
.eva-artwork__inquiry p { font-family: var(--serif); font-style: italic; font-size: var(--step-3); max-width: 60ch; margin: 0 auto 1.5rem; color: var(--ink-soft); }
@media (max-width: 800px) { .eva-artwork__meta { grid-template-columns: 1fr; gap: 1.5rem; } }

/* =====================================================================
   ARCHIVES (artworks + exhibitions) - push down for fixed header
   ===================================================================== */
.eva-archive { padding: calc(var(--header-h) + clamp(2rem, 4vw, 5rem)) 0 clamp(3rem, 5vw, 8rem); }
.eva-archive__head { text-align: center; padding-inline: clamp(1.5rem, 5vw, 5rem); margin-bottom: clamp(3rem, 5vw, 6rem); }
.eva-archive__head h1 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--step-5); line-height: 0.95; margin: 0 0 1.5rem; }
.eva-page-marker {
    display: block;
    font-family: var(--sans);
    font-style: normal;
    font-weight: 800;
    font-size: clamp(3.6rem, 11vw, 12rem);
    line-height: 0.82;
    letter-spacing: 0;
    margin: 0 0 1.4rem;
    text-transform: uppercase;
}
.eva-archive__head h1.eva-page-marker,
.eva-bio__body h1.eva-page-marker,
.eva-journal h1.eva-page-marker,
.eva-contact-page h1.eva-page-marker {
    font-family: var(--sans);
    font-style: normal;
    font-weight: 800;
    font-size: clamp(3.6rem, 11vw, 12rem);
    line-height: 0.82;
    letter-spacing: 0;
    margin: 0 0 1.4rem;
    text-transform: uppercase;
}
body.eva-type-serif .eva-archive__head h1.eva-page-marker,
body.eva-type-serif .eva-bio__body h1.eva-page-marker,
body.eva-type-serif .eva-journal h1.eva-page-marker,
body.eva-type-serif .eva-contact-page h1.eva-page-marker {
    font-family: var(--editorial);
    font-style: normal;
    font-weight: 650;
    text-transform: none;
}
.eva-archive__intro { font-family: var(--serif); font-size: var(--step-3); color: var(--ink-soft); max-width: 60ch; margin: 0 auto; line-height: 1.25; }
.eva-archive__filters { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: center; padding-block: 2rem 0; font-family: var(--sans); font-size: 0.86rem; letter-spacing: 0.02em; font-weight: 400; }
.eva-archive__filters a { color: var(--ink-soft); border-bottom: 1px solid transparent; padding-bottom: 0.2rem; transition: color 200ms var(--ease), border-color 200ms var(--ease); }
.eva-archive__filters a:hover, .eva-archive__filters a.is-active { color: var(--ink); border-color: var(--ink); }

/* Archive grid - same as home but available without skewed beats */
.eva-works {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(7rem, 11vw, 15rem) clamp(4rem, 7vw, 9rem);
    padding-inline: clamp(1.5rem, 5vw, 5rem);
    align-items: start;
}
.eva-works .eva-works__item {
    grid-column: span 6;
    display: flex; flex-direction: column;
    gap: 0.75rem;
    position: relative;
}
/* The protected <a> must behave as a block container so the image inside
   inherits a real width (otherwise width:100% computes to 0 → no render). */
.eva-works__item > a,
.eva-works__item > a.eva-protected {
    display: block;
    width: 100%;
    color: inherit;
    position: relative;
}
.eva-works__item:nth-child(4n+1) { grid-column: span 7; }
.eva-works__item:nth-child(4n+2) { grid-column: span 5; margin-top: clamp(3rem, 5vw, 7rem); }
.eva-works__item:nth-child(4n+3) { grid-column: span 5; }
.eva-works__item:nth-child(4n+4) { grid-column: span 7; margin-top: clamp(2rem, 4vw, 5rem); }
.eva-works .eva-works__item--index,
.eva-works__item--index:nth-child(n) {
    grid-column: span 3;
    margin-top: 0;
}
@media (max-width: 768px) {
    .eva-works__item, .eva-works__item:nth-child(n) { grid-column: span 12; margin-top: 0; }
}
/* Archive + exhibition works mirror the home: the artwork floats directly on the
   warm-white background - NO black frame, NO box - and a soft gradient + title
   overlay sits at the bottom of the image. The title is always visible. */
.eva-works__frame {
    position: relative;
    background: transparent;
    border: 0;
    display: block;
    overflow: visible;
    padding: 0;
}
.eva-works__frame img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;       /* SACRED - never crop the artwork */
    transition: transform 1200ms var(--ease);
}
.eva-works__item a:hover .eva-works__frame img { transform: scale(1.012); }

.eva-works__caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 4rem 1.25rem 1.2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.42) 100%);
    pointer-events: none;
    text-align: center;
    z-index: 2;
}
.eva-works__meta {
    display: block;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
    margin: 0 0 0.3rem;
}
.eva-works__title {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--display-blue);
    line-height: 1.25;
    margin: 0 0 0.25rem;
    background: transparent;
    padding: 0;
    letter-spacing: 0;
}
.eva-works__title a { color: var(--display-blue); text-decoration: none; }
.eva-works__title a:hover { text-decoration: underline; }
.eva-works__statement {
    margin-top: 1rem;
    max-width: 48ch;
    margin-left: auto;
    font-family: var(--editorial);
    font-size: clamp(0.98rem, 1.1vw, 1.12rem);
    line-height: 1.38;
    color: var(--ink-soft);
    text-align: right;
}
.eva-works__statement p {
    margin: 0 0 0.8rem;
}
.eva-works__index-link {
    display: block;
    font-family: var(--editorial);
    font-size: clamp(1.05rem, 1.3vw, 1.35rem);
    font-style: normal;
    font-weight: 500;
    line-height: 1.05;
    text-align: right;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--rule);
    padding-bottom: 0.65rem;
}
.eva-works__index-link:hover {
    color: var(--ink);
    border-color: var(--ink);
}

body.eva-type-serif .eva-archive__head h1,
body.eva-type-serif .eva-theme-group__title,
body.eva-type-serif .eva-series-strip__title,
body.eva-type-serif .eva-ny__title,
body.eva-type-serif .eva-journal h1,
body.eva-type-serif .eva-contact-page h1,
body.eva-type-serif .eva-footer__name,
body.eva-type-serif .eva-timeline__entry h3 {
    font-family: var(--editorial);
    font-style: normal;
    font-weight: 650;
}

/* =====================================================================
   TYPOGRAPHY MODE - "Display Sans"
   Header stays serif (bold), big titles switch to sans, body stays serif.
   Toggleable via <body class="eva-type-display-sans">.
   ===================================================================== */
body.eva-type-display-sans .eva-header__logo,
body.eva-type-display-sans .eva-header__type-toggle {
    font-family: var(--editorial);
    font-style: normal;
    font-weight: 700;
}
body.eva-type-display-sans .eva-hero__name,
body.eva-type-display-sans .eva-name,
body.eva-type-display-sans .eva-archive__head h1,
body.eva-type-display-sans .eva-page-marker,
body.eva-type-display-sans .eva-theme-group__title,
body.eva-type-display-sans .eva-series-strip__title,
body.eva-type-display-sans .eva-ny__title,
body.eva-type-display-sans .eva-journal h1,
body.eva-type-display-sans .eva-contact-page h1,
body.eva-type-display-sans .eva-bio__body h1,
body.eva-type-display-sans .eva-bio-home__lede,
body.eva-type-display-sans .eva-footer__name,
body.eva-type-display-sans .eva-timeline__entry h3,
body.eva-type-display-sans .eva-timeline__ny h2,
body.eva-type-display-sans .eva-journal__item h3,
body.eva-type-display-sans .eva-works__title {
    font-family: var(--sans);
    font-style: normal;
    font-weight: 700;
    letter-spacing: -0.018em;
}
body.eva-type-display-sans .eva-bio__body p,
body.eva-type-display-sans .eva-bio-home__body p,
body.eva-type-display-sans .eva-archive__intro,
body.eva-type-display-sans .eva-bio__body .lead {
    font-family: var(--editorial);
    font-weight: 400;
}

/* ============= Single exhibition ============= */
.eva-expo-hero {
    position: relative;
    min-height: 0;
    overflow: visible;
    margin-top: 0;
    padding: calc(var(--header-h) + clamp(2rem, 4vw, 5rem)) clamp(1.5rem, 5vw, 5rem) clamp(1rem, 2vw, 2rem);
    background: var(--bg);
    display: grid;
    place-items: center;
}
.eva-expo-hero__img {
    width: min(1180px, 100%);
    height: auto;
    max-height: 78vh;
    object-fit: contain;
    object-position: center;
    box-shadow: 0 28px 70px -56px rgba(11,26,46,0.45);
}
.eva-expo-hero--invitation {
    padding-top: calc(var(--header-h) + clamp(1.5rem, 3vw, 3rem));
}
.eva-expo-hero--invitation .eva-expo-hero__img {
    width: auto;
    max-width: min(720px, 100%);
    max-height: min(72vh, 760px);
}
.eva-expo-hero__veil {
    display: none;
}
.eva-expo-posters {
    min-height: min(86vh, 920px);
    padding: calc(var(--header-h) + clamp(2rem, 5vw, 5rem)) clamp(1rem, 5vw, 5rem) clamp(2rem, 5vw, 5rem);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(1rem, 2.5vw, 2.5rem);
    align-items: center;
    background: var(--bg);
}
.eva-expo-posters__item {
    margin: 0;
    display: grid;
    place-items: center;
}
.eva-expo-posters__item img {
    width: 100%;
    max-height: min(72vh, 760px);
    object-fit: contain;
    box-shadow: 0 28px 70px -56px rgba(11,26,46,0.45);
}
@media (max-width: 760px) {
    .eva-expo-posters {
        min-height: 0;
        grid-template-columns: 1fr;
        padding-inline: 1rem;
        padding-bottom: 2rem;
    }
    .eva-expo-posters__item img {
        max-height: 62vh;
    }
}

.eva-expo {
    padding: clamp(3rem, 5vw, 6rem) clamp(1.5rem, 5vw, 5rem);
    max-width: 880px;
    margin-inline: auto;
}
.eva-expo__head { text-align: left; }
.eva-expo__head h1 {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2rem, 4.6vw, 5rem);
    line-height: 1.02;
    margin: 0.8rem 0 1.5rem;
    color: var(--display-blue);
    text-wrap: balance;
}
.eva-expo__place {
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink);
    margin: 0 0 0.4rem;
}
.eva-expo__dates {
    font-family: var(--sans);
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin: 0 0 2rem;
}
.eva-expo__lede {
    font-family: var(--serif);
    font-size: var(--step-3);
    line-height: 1.5;
    color: var(--ink);
    margin: 2rem 0 0;
}
.eva-expo__lede p { margin: 0 0 1.2rem; }
.eva-expo__lede em { font-style: italic; }

.eva-expo-strip {
    padding: clamp(2rem, 4vw, 5rem) clamp(1.5rem, 5vw, 5rem);
    background: var(--bg);
}
.eva-expo-strip__grid {
    column-count: 3;
    column-gap: 2rem;
}
@media (max-width: 768px) {
    .eva-expo-strip__grid { column-count: 2; }
}
@media (max-width: 500px) {
    .eva-expo-strip__grid { column-count: 1; }
}
.eva-expo-strip__item {
    break-inside: avoid;
    margin-bottom: 2rem;
    display: grid;
    place-items: center;
    overflow: visible;
    background: var(--bg-pure);
    padding: clamp(0.75rem, 1.4vw, 1.5rem);
}
.eva-expo-strip__item img {
    width: 100%;
    height: auto;
    max-height: 62vh;
    object-fit: contain;
    transition: opacity 300ms var(--ease);
}
.eva-expo-strip__item:hover img { opacity: 0.86; }
.eva-expo-strip__item--video {
    background: #050505;
    padding: 0;
}
.eva-expo-strip__video {
    width: 100%;
    height: auto;
    max-height: 72vh;
    display: block;
    object-fit: contain;
    background: #050505;
}
.eva-expo-strip__item--video:fullscreen,
.eva-expo-strip__item--video:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: none !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid;
    place-items: center;
    background: #000;
    overflow: hidden;
}
.eva-expo-strip__video:fullscreen,
.eva-expo-strip__video:-webkit-full-screen,
.eva-expo-strip__item--video:fullscreen .eva-expo-strip__video,
.eva-expo-strip__item--video:-webkit-full-screen .eva-expo-strip__video {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #000 !important;
    transform: none !important;
}

.eva-expo-docs {
    padding: clamp(2.5rem, 5vw, 6rem) clamp(1.5rem, 5vw, 5rem) clamp(4rem, 7vw, 8rem);
    background: var(--bg);
}
.eva-expo-docs__title {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: var(--step-4);
    margin: 0;
    line-height: 1;
    color: var(--display-blue);
}
.eva-expo-docs__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 2rem);
}
.eva-expo-doc {
    min-width: 0;
    background: var(--bg-pure);
    border: 1px solid var(--rule);
    display: flex;
    flex-direction: column;
}
.eva-expo-doc__preview {
    display: block;
    aspect-ratio: 0.78;
    background: #f7f3ed;
    overflow: hidden;
    border-bottom: 1px solid var(--rule);
}
.eva-expo-doc__preview iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    pointer-events: none;
    background: #fff;
}
.eva-expo-doc__body {
    padding: clamp(0.95rem, 1.5vw, 1.35rem);
    display: grid;
    gap: 0.8rem;
}
.eva-expo-doc__body h3 {
    font-family: var(--sans);
    font-size: clamp(0.86rem, 1vw, 1rem);
    line-height: 1.35;
    font-weight: 400;
    color: var(--ink);
    margin: 0;
}
.eva-expo-doc__link {
    justify-self: start;
    font-family: var(--sans);
    font-size: 0.72rem;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--display-blue);
    text-decoration: underline;
    text-underline-offset: 0.28em;
}
.eva-expo-doc__link:hover { opacity: 0.7; }
@media (max-width: 900px) {
    .eva-expo-docs__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    .eva-expo-docs {
        padding-inline: 1rem;
    }
    .eva-expo-docs__grid {
        grid-template-columns: 1fr;
    }
    .eva-expo-doc__preview {
        aspect-ratio: 0.72;
    }
}

/* Archive groups by theme/series */
.eva-theme-group { padding: clamp(3rem, 5vw, 7rem) clamp(1.5rem, 5vw, 5rem); border-top: 1px solid var(--rule); }
.eva-theme-group:first-of-type { border-top: 0; }
.eva-theme-group__head { display: block; margin: 0 0 clamp(2rem, 3vw, 4rem); }
.eva-theme-group__kicker { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 0.8rem; font-weight: 300; }
.eva-theme-group__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--step-5); line-height: 0.95; margin: 0 0 1.2rem; }
.eva-theme-group__desc {
    font-family: var(--serif);
    font-size: clamp(1rem, 1.15vw, 1.2rem);
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0;
    max-width: 72ch;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
}
.eva-series-strip { margin: 0 0 clamp(3rem, 4vw, 5rem); }
.eva-series-strip__head { display: block; margin: 0 0 clamp(1.5rem, 2vw, 3rem); padding-top: clamp(2rem, 3vw, 4rem); border-top: 1px solid var(--rule); }
.eva-series-strip:first-of-type .eva-series-strip__head { border-top: 0; padding-top: 0; }
.eva-series-strip__kicker { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 0.6rem; font-weight: 300; }
.eva-series-strip__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--step-4); line-height: 1; margin: 0 0 1rem; }
.eva-series-strip__title .count { font-family: var(--sans); font-style: normal; font-size: 0.78rem; color: var(--ink-mute); margin-left: 0.6rem; vertical-align: middle; letter-spacing: 0.08em; font-weight: 400; }
.eva-series-strip__desc {
    font-family: var(--serif);
    font-size: clamp(0.95rem, 1.05vw, 1.1rem);
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0 0 clamp(1rem, 1.5vw, 1.5rem);
    max-width: 66ch;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
}

/* Timeline */
.eva-timeline__entry { border-top: 1px solid var(--rule); padding: 1.6rem 0; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: baseline; }
.eva-timeline__entry h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--step-3); line-height: 1.1; margin: 0; }
.eva-timeline__entry .type { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.02em; color: var(--ink-mute); font-weight: 400; }
.eva-timeline__row { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 4fr); gap: clamp(2rem, 4vw, 5rem); align-items: start; padding-block: clamp(2rem, 4vw, 5rem); border-top: 1px solid var(--rule); }
.eva-timeline__row:first-child { border-top: 0; }
.eva-timeline__year { position: sticky; top: calc(var(--header-h) + 1rem); font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--step-5); line-height: 1; color: var(--ink-mute); display: grid; gap: 1rem; align-content: start; }
.eva-timeline__year-art { display: block; width: min(220px, 100%); background: var(--bg-pure); padding: 0.55rem; }
.eva-timeline__year-art img { display: block; width: 100%; height: auto; max-height: 260px; object-fit: contain; }
.eva-timeline__entries { display: grid; gap: 2rem; }
@media (max-width: 800px) { .eva-timeline__row { grid-template-columns: 1fr; } .eva-timeline__year { position: static; } .eva-timeline__year-art { width: min(170px, 54vw); } }
.eva-timeline__ny { margin: 0 0 clamp(3rem, 4vw, 6rem); background: var(--bg-pure); padding: clamp(3rem, 5vw, 6rem) clamp(1.5rem, 4vw, 4rem); display: grid; grid-template-columns: minmax(0, 780px); justify-content: center; gap: clamp(2rem, 4vw, 4rem); align-items: center; text-align: center; }
.eva-timeline__ny p { margin-left: auto; margin-right: auto; }
.eva-timeline__ny__label { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 1rem; }
.eva-timeline__ny h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 3.5vw, 3.2rem); line-height: 1.05; margin: 0 0 1.5rem; text-wrap: balance; }
@media (max-width: 800px) { .eva-timeline__ny { grid-template-columns: 1fr; } }

/* Generic editorial page layout */
.eva-bio { padding: calc(var(--header-h) + clamp(2rem, 4vw, 6rem)) clamp(1.5rem, 5vw, 5rem) clamp(3rem, 5vw, 8rem); display: grid; grid-template-columns: minmax(260px, 4fr) 8fr; gap: clamp(2rem, 5vw, 7rem); align-items: start; }
.eva-bio__portrait { position: sticky; top: calc(var(--header-h) + 1rem); }
.eva-bio__portrait img { aspect-ratio: 4 / 5; object-fit: cover; width: min(100%, 420px); margin-inline: auto; }
.eva-bio__body { max-width: 65ch; }
.eva-bio__body h1 { font-family: var(--editorial); font-style: italic; font-weight: 400; font-size: var(--step-5); line-height: 0.95; margin: 0 0 2rem; letter-spacing: -0.015em; }
.eva-bio__body h2 { font-family: var(--sans); font-size: 0.86rem; letter-spacing: 0.02em; text-transform: uppercase; margin: 2.2rem 0 0.75rem; color: var(--ink-soft); font-weight: 500; }
.eva-bio__body p { font-family: var(--editorial); font-size: var(--step-2); line-height: 1.52; color: var(--ink); margin: 0 0 1rem; font-weight: 400; font-feature-settings: "kern", "liga", "calt"; }
.eva-bio__body .lead { font-family: var(--editorial); font-style: italic; font-size: var(--step-4); line-height: 1.18; margin-bottom: 1.7rem; letter-spacing: 0; }
@media (max-width: 768px) { .eva-bio { grid-template-columns: 1fr; } .eva-bio__portrait { position: static; } }

/* Journal */
.eva-journal { padding: calc(var(--header-h) + clamp(3rem, 5vw, 8rem)) clamp(1.5rem, 5vw, 5rem) clamp(3rem, 5vw, 8rem); max-width: 1280px; margin-inline: auto; }
.eva-journal h1 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--step-5); line-height: 1; margin: 0 0 1.5rem; color: var(--display-blue); }

/* Tabs (Press / Videos) */
.eva-journal__tabs {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid var(--rule);
    margin: 2rem 0 3rem;
}
.eva-journal__tabs a {
    font-family: var(--editorial);
    font-style: italic;
    font-weight: 400;
    font-size: var(--step-3);
    color: var(--ink-mute);
    padding: 0.6rem 0;
    position: relative;
    transition: color 200ms var(--ease);
}
.eva-journal__tabs a .count {
    font-family: var(--sans);
    font-style: normal;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    color: var(--ink-mute);
    margin-left: 0.4rem;
    vertical-align: middle;
}
.eva-journal__tabs a.is-active { color: var(--display-blue); }
.eva-journal__tabs a.is-active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 2px;
    background: var(--display-blue);
}

/* Press cards (meta + title) */
.eva-journal__press {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(2rem, 3vw, 3.5rem);
}
.eva-journal__press--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.eva-journal__press-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: inherit;
    transition: opacity 200ms var(--ease);
}
.eva-journal__press-card:hover { opacity: 0.75; }
.eva-journal__press-body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-top: 1px solid rgba(40, 57, 125, 0.22);
    padding-top: 1rem;
}
.eva-journal__press-meta {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.eva-journal__press-title {
    font-family: var(--sans);
    font-style: normal;
    font-weight: 400;
    font-size: var(--step-3);
    line-height: 1.25;
    color: var(--display-blue);
}
.eva-journal__press-badge {
    align-self: flex-start;
    background: var(--display-blue);
    color: #fff;
    font-family: var(--sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
}

/* Video cards (YouTube thumb + play overlay + meta + title) */
.eva-journal__videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(2rem, 3vw, 4rem);
}
.eva-journal__video { display: flex; flex-direction: column; gap: 1rem; }
.eva-journal__video-trigger {
    background: none; border: 0; padding: 0; cursor: pointer; text-align: left; width: 100%;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.eva-journal__video-trigger:disabled { cursor: default; }
.eva-journal__video-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--display-blue);
    overflow: hidden;
    transition: transform 600ms var(--ease);
}
.eva-journal__video-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 800ms var(--ease), filter 400ms var(--ease);
    pointer-events: none;
}
.eva-journal__video-empty {
    display: block;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.12), transparent 34%),
        linear-gradient(135deg, rgba(11,26,46,0.95), rgba(58,78,112,0.82));
}
.eva-journal__video-trigger:hover .eva-journal__video-thumb img { transform: scale(1.03); filter: brightness(0.9); }
.eva-journal__video-play {
    position: absolute;
    inset: 0;
    display: grid; place-items: center;
    font-family: var(--sans);
    font-size: 1.4rem;
    color: #fff;
    width: 64px; height: 64px;
    border-radius: 50%;
    margin: auto;
    background: rgba(11,26,46,0.78);
    backdrop-filter: blur(4px);
    transition: transform 280ms var(--ease), background 200ms var(--ease);
}
.eva-journal__video-trigger:hover .eva-journal__video-play { transform: scale(1.1); background: rgba(11,26,46,1); }
.eva-journal__video-meta {
    font-family: var(--sans); font-size: 0.72rem; font-weight: 400;
    letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute);
    margin: 0;
}
.eva-journal__video-title {
    font-family: var(--sans);
    font-style: normal;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.35;
    margin: 0.15rem 0 0;
    color: var(--ink);
}

/* YouTube modal lightbox */
.eva-yt-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    height: calc(var(--eva-vh, 1vh) * 100);
    min-height: -webkit-fill-available;
    z-index: 200;
    background: rgba(11,26,46,0.92);
    display: none;
    padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
    overflow: hidden;
    overscroll-behavior: contain;
    touch-action: none;
}
.eva-yt-open,
.eva-yt-open body { overflow: hidden; }
.eva-yt-modal.is-open { display: block; }
.eva-yt-modal__frame {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(100vw - 1.5rem);
    height: calc((100vw - 1.5rem) * 0.5625);
    max-width: 1280px;
    max-height: calc(100vh - 1.5rem);
    transform: translate3d(-50%, -50%, 0);
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 60px 120px -60px rgba(0,0,0,0.6);
    overflow: hidden;
}
@supports (width: min(1px, 1px)) {
    .eva-yt-modal__frame {
        width: min(1280px, calc(100vw - 1.5rem), calc((100vh - 1.5rem) * 1.77777778));
        width: min(1280px, calc(100vw - 1.5rem), calc((100dvh - 1.5rem) * 1.77777778));
        width: min(1280px, calc(100vw - 1.5rem), calc((calc(var(--eva-vh, 1vh) * 100) - 1.5rem) * 1.77777778));
        height: auto;
    }
}
.eva-yt-modal.is-portrait-video .eva-yt-modal__frame {
    width: calc((100vh - 1.5rem) * 0.5625);
    width: calc((100dvh - 1.5rem) * 0.5625);
    width: calc((calc(var(--eva-vh, 1vh) * 100) - 1.5rem) * 0.5625);
    height: calc(100vh - 1.5rem);
    height: calc(100dvh - 1.5rem);
    height: calc((var(--eva-vh, 1vh) * 100) - 1.5rem);
    max-width: calc(100vw - 1.5rem);
    aspect-ratio: 9 / 16;
}
@supports (width: min(1px, 1px)) {
    .eva-yt-modal.is-portrait-video .eva-yt-modal__frame {
        width: min(480px, calc(100vw - 1.5rem), calc((100vh - 1.5rem) * 0.5625));
        width: min(480px, calc(100vw - 1.5rem), calc((100dvh - 1.5rem) * 0.5625));
        width: min(480px, calc(100vw - 1.5rem), calc((calc(var(--eva-vh, 1vh) * 100) - 1.5rem) * 0.5625));
        height: auto;
    }
}
.eva-yt-modal__player,
.eva-yt-modal__player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border: 0;
    display: block;
    background: #000;
    transform: none;
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.eva-yt-modal:fullscreen,
.eva-yt-modal:-webkit-full-screen,
.eva-yt-modal__frame:fullscreen,
.eva-yt-modal__frame:-webkit-full-screen,
.eva-yt-modal__player:fullscreen,
.eva-yt-modal__player:-webkit-full-screen,
.eva-yt-modal__player iframe:fullscreen,
.eva-yt-modal__player iframe:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: none !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    aspect-ratio: auto !important;
    background: #000 !important;
    transform: none !important;
}
.eva-yt-modal:fullscreen .eva-yt-modal__frame,
.eva-yt-modal:-webkit-full-screen .eva-yt-modal__frame,
.eva-yt-modal__frame:fullscreen .eva-yt-modal__player,
.eva-yt-modal__frame:-webkit-full-screen .eva-yt-modal__player,
.eva-yt-modal__frame:fullscreen iframe,
.eva-yt-modal__frame:-webkit-full-screen iframe {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    transform: none !important;
    object-fit: contain !important;
}
.eva-yt-modal__close {
    position: absolute;
    top: 1rem; right: 1.4rem;
    background: none; border: 0;
    color: #ffffff;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
    opacity: 0.85;
}
.eva-yt-modal__close:hover { opacity: 1; }
.eva-yt-modal__fallback {
    position: absolute;
    left: 50%;
    bottom: max(0.9rem, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 2;
    display: none;
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.28em;
    opacity: 0.78;
}
.eva-yt-modal.is-open .eva-yt-modal__fallback.is-ios {
    display: inline-flex;
    opacity: 0.96;
}
@media (max-width: 600px) {
    .eva-journal__tabs { gap: 1.5rem; }
    .eva-journal__press--grid { grid-template-columns: 1fr; }
    .eva-yt-modal { padding: max(0.5rem, env(safe-area-inset-top)) max(0.5rem, env(safe-area-inset-right)) max(0.5rem, env(safe-area-inset-bottom)) max(0.5rem, env(safe-area-inset-left)); }
    .eva-yt-modal__frame {
        width: calc(100vw - 1rem);
        height: calc((100vw - 1rem) * 0.5625);
        max-height: calc(100dvh - 1rem);
        max-height: calc((var(--eva-vh, 1vh) * 100) - 1rem);
    }
    @supports (width: min(1px, 1px)) {
        .eva-yt-modal__frame {
            width: min(calc(100vw - 1rem), calc((100dvh - 1rem) * 1.77777778));
            width: min(calc(100vw - 1rem), calc((calc(var(--eva-vh, 1vh) * 100) - 1rem) * 1.77777778));
            height: auto;
        }
    }
    .eva-yt-modal.is-portrait-video .eva-yt-modal__frame {
        width: calc((100dvh - 1rem) * 0.5625);
        width: calc((calc(var(--eva-vh, 1vh) * 100) - 1rem) * 0.5625);
        height: calc(100dvh - 1rem);
        height: calc((var(--eva-vh, 1vh) * 100) - 1rem);
        max-width: calc(100vw - 1rem);
    }
    @supports (width: min(1px, 1px)) {
        .eva-yt-modal.is-portrait-video .eva-yt-modal__frame {
            width: min(calc(100vw - 1rem), calc((100dvh - 1rem) * 0.5625));
            width: min(calc(100vw - 1rem), calc((calc(var(--eva-vh, 1vh) * 100) - 1rem) * 0.5625));
            height: auto;
        }
    }
    .eva-yt-modal__close { top: 0.5rem; right: 0.8rem; font-size: 2rem; }
}

/* Contact */
.eva-contact-page { padding: calc(var(--header-h) + clamp(3rem, 5vw, 8rem)) clamp(1.5rem, 5vw, 5rem) clamp(3rem, 5vw, 8rem); max-width: 920px; margin-inline: auto; }
.eva-contact-page h1 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--step-5); margin: 0 0 2rem; line-height: 0.95; }
.eva-contact-page .lede { font-family: var(--serif); font-size: var(--step-3); color: var(--ink-soft); margin: 0 0 3rem; max-width: 56ch; }
.eva-contact-info { border-top: 1px solid var(--rule); padding-top: 2rem; margin-bottom: 3rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 2rem; font-family: var(--sans); font-size: 0.95rem; color: var(--ink-soft); }
.eva-contact-info h3 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 0.5rem; font-weight: 500; }
.eva-field-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.eva-contact-form input[type=hidden] { display: none; }
/* The form is a plain block; the 2-col layout lives on .eva-form-fields only.
   `display:block` here is explicit to defeat any legacy/cached rule that made
   .eva-contact-form a 2-column grid (which left an empty 50% column). */
.eva-contact-form { display: block; }
#contact .eva-contact-form { max-width: 660px; margin-inline: auto; }
.eva-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; margin-top: 1rem; }
.eva-field { display: flex; flex-direction: column; }
.eva-field--full, .eva-field-checkbox { grid-column: 1 / -1; }
.eva-form-consent { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; cursor: pointer; font-size: .82rem; line-height: 1.45; opacity: .8; }
.eva-form-consent input[type=checkbox] { width: 16px; height: 16px; margin-top: .15em; cursor: pointer; flex-shrink: 0; }
@media (max-width: 700px) { .eva-form-fields { grid-template-columns: 1fr; } .eva-field--full { grid-column: 1; } }
.eva-field label { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 0.5rem; font-weight: 500; }
.eva-field input,
.eva-field textarea {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--rule);
    padding: 0.7rem 0;
    font-family: var(--editorial);
    font-size: var(--step-2);
    color: var(--ink);
    outline: none;
    width: 100%;
}
.eva-field input:focus, .eva-field textarea:focus { border-bottom-color: var(--ink); }

/* Custom select - chevron icon, underline, hover halo */
.eva-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%230E0E0E' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.25rem center;
    background-size: 0.78rem auto;
    border: 0;
    border-bottom: 1px solid var(--rule);
    padding: 0.7rem 1.8rem 0.7rem 0;
    font-family: var(--editorial);
    font-size: var(--step-2);
    color: var(--ink);
    outline: none;
    cursor: pointer;
    transition: border-color 200ms var(--ease);
    width: 100%;
    line-height: 1.4;
}
.eva-field select:focus,
.eva-field select:hover { border-bottom-color: var(--ink); }
.eva-field select option {
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--bg-pure);
    padding: 0.6rem;
}
.eva-field-checkbox label { display: flex; align-items: center; gap: 0.6rem; font-family: var(--sans); font-size: 0.86rem; letter-spacing: 0; text-transform: none; color: var(--ink-soft); font-weight: 400; }
.eva-button { background: var(--ink); color: var(--bg-pure); border: 0; padding: 1.1rem 2.4rem; font-family: var(--sans); font-size: 0.86rem; letter-spacing: 0.04em; cursor: pointer; transition: background 200ms var(--ease); justify-self: start; grid-column: 1 / -1; font-weight: 500; }
.eva-button:hover { background: var(--ink-soft); }
.eva-form-success, .eva-form-error { grid-column: 1 / -1; font-family: var(--sans); font-size: 0.9rem; padding: 1rem 1.2rem; }
.eva-form-success { background: rgba(14,14,14,0.04); }
.eva-form-error { background: #FBE9E9; color: #8A1F1F; }
@media (max-width: 700px) { .eva-contact-form { grid-template-columns: 1fr; } }

/* Editable Gutenberg blocks added from the WordPress front page editor */
.eva-editable-blocks {
    width: min(1180px, calc(100% - clamp(2rem, 8vw, 7rem)));
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 7rem) 0;
    border-top: 1px solid var(--rule);
    color: var(--ink);
}
.eva-editable-blocks > * {
    max-width: 78ch;
    margin-left: auto;
    margin-right: auto;
}
.eva-editable-blocks p {
    font-family: var(--editorial);
    font-size: clamp(1.02rem, 1.2vw, 1.18rem);
    line-height: 1.46;
    color: var(--ink-soft);
}
.eva-editable-blocks h2,
.eva-editable-blocks h3 {
    font-family: var(--editorial);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.08;
}
.eva-editable-blocks img {
    max-width: 100%;
    height: auto;
}
.eva-editable-blocks .alignwide {
    max-width: 1180px;
}
.eva-editable-blocks .alignfull {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Footer */
.eva-footer { padding: clamp(4rem, 5vw, 7rem) clamp(1.5rem, 5vw, 5rem) 3rem; border-top: 1px solid var(--rule); background: var(--bg); position: relative; z-index: 5; }
.eva-footer__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 5rem); align-items: end; }
.eva-footer__name { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--step-5); line-height: 0.95; margin: 0; }
.eva-footer__nav { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; justify-content: end; font-family: var(--sans); font-size: 0.95rem; font-weight: 300; }
.eva-footer__nav a:hover { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.eva-footer__bottom { margin-top: 3rem; border-top: 1px solid var(--rule-soft); padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-family: var(--sans); font-size: 0.86rem; color: var(--ink-mute); font-weight: 300; }
.eva-footer__social { display: flex; gap: 1.5rem; }
.eva-footer__social a:hover { color: var(--ink); }

/* Scroll reveal */
.eva-reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity var(--reveal-duration) var(--ease), transform var(--reveal-duration) var(--ease); will-change: opacity, transform; }
.eva-reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.eva-reveal[data-delay="1"] { transition-delay: 80ms; }
.eva-reveal[data-delay="2"] { transition-delay: 160ms; }
.eva-reveal[data-delay="3"] { transition-delay: 240ms; }

/* Image protection (invisible) */
.eva-protected { position: relative; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* 404 */
.eva-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 5rem 2rem; }
.eva-404 h1 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--step-5); margin-bottom: 1rem; }

/* =====================================================================
   MOBILE — global overflow guard + layout fixes
   ===================================================================== */
/* overflow-x:clip (not hidden) prevents horizontal scroll WITHOUT turning
   body into a scroll container — which would break position:sticky (the bio
   carousel). clip is supported in all modern browsers. */
html, body { overflow-x: clip; }
img, video, iframe { max-width: 100%; }

@media (max-width: 600px) {
    /* Footer: stack columns */
    .eva-footer__inner { grid-template-columns: 1fr; }
    .eva-footer__nav { justify-content: flex-start; }
    .eva-footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

    /* Bio text: prevent wide text blocks from pushing layout */
    .eva-bio-home__text { padding-inline: clamp(1rem, 5vw, 2rem); }

    /* Expo description: clamp and allow word-break */
    .eva-expo__lede { font-size: clamp(1rem, 4vw, 1.5rem); }
    .eva-expo__lede, .eva-archive__intro, .eva-ny p { word-break: break-word; overflow-wrap: break-word; }

    /* Press title: slightly smaller */
    .eva-journal__press-title { font-size: clamp(1rem, 4.5vw, 1.4rem); }

    /* Contact form: single column */
    .eva-contact-form { grid-template-columns: 1fr; }
    .eva-field:nth-child(5), .eva-field:nth-child(6) { grid-column: 1; }

    /* Timeline NY spotlight: center aligned and narrow */
    .eva-timeline__ny { padding: clamp(2rem, 6vw, 4rem) 1.25rem; }

    /* Single artwork: image padding */
    .eva-artwork-meta { padding-inline: 1rem; }
}

@media (max-width: 400px) {
    /* Very small screens: shrink step-6 name manually */
    :root { --step-6: clamp(2.8rem, 8vw, 4rem); }
}

/* ===================================================================
   Video section header (homepage) — "Quelques vidéos" + CTA
   =================================================================== */
.eva-bio-video__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 6vw, 7rem) 0;
}
.eva-bio-video__kicker {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin: 0;
}

/* ===================================================================
   MOBILE hardening (authoritative — kept last)
   Fixes: mobile menu showing only the first items (no scroll), oversized
   display type getting clipped, and horizontal overflow.
   =================================================================== */
@media (max-width: 768px) {
  /* Full-screen menu: every item fits; scrolls if the list is long. */
  .eva-header__nav {
    gap: 0.35rem !important;
    padding: calc(var(--header-h) + 1.25rem) 1.25rem 2rem !important;
    justify-content: flex-start !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    background: var(--display-blue) !important;
  }
  .eva-header__nav a {
    font-size: 1.25rem !important;
    padding-block: 0.5rem !important;
    line-height: 1.15;
  }
  /* Video section header: stack kicker over the CTA. */
  .eva-bio-video__head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

@media (max-width: 640px) {
  /* Never let media or wide elements cause horizontal scroll. */
  img, video, iframe, svg, table { max-width: 100%; }
  /* Tame oversized display type so it is never clipped on small screens. */
  .eva-name { font-size: clamp(2.4rem, 16vw, 4.6rem); }
  .eva-page-marker { font-size: clamp(1.7rem, 10vw, 2.8rem); }
  .eva-ny__title, .eva-theme-group__title, .eva-series-strip__title { font-size: clamp(1.5rem, 8vw, 2.4rem); }
  .eva-bio-home__lede, .eva-section-title { font-size: clamp(1.6rem, 8.5vw, 2.6rem); }
  /* Comfortable side padding on the long editorial sections. */
  .eva-bio-home__text, .eva-ny, .eva-journal { padding-left: 1.25rem; padding-right: 1.25rem; }

    /* Archive artworks: one column, no oversized cards, no lateral overflow. */
    .eva-archive { padding: calc(var(--header-h) + 1rem) 0 2.5rem; }
    .eva-archive__head { padding-inline: 1rem; margin-bottom: 2rem; }
    .eva-archive__intro { font-size: clamp(1rem, 4.2vw, 1.25rem); line-height: 1.45; }
    .eva-archive__filters { justify-content: flex-start; gap: 0.75rem 1rem; padding: 1.25rem 1rem 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .eva-archive__filters a { white-space: nowrap; }
    .eva-theme-group__head, .eva-series-strip__head { padding-inline: 1rem; }
    .eva-works { grid-template-columns: 1fr; gap: 2rem; padding-inline: 1rem; }
    .eva-works .eva-works__item,
    .eva-works__item:nth-child(n),
    .eva-works .eva-works__item--index,
    .eva-works__item--index:nth-child(n) { grid-column: 1 / -1; width: 100%; max-width: 100%; margin-top: 0 !important; }
    .eva-works__item > a,
    .eva-works__item > a.eva-protected { width: 100%; }
    .eva-works__frame { width: 100%; }
    .eva-works__frame img { width: 100%; max-height: 62vh; }
    .eva-works__caption { position: static; padding: 0.85rem 0 0; background: none; text-align: left; }
    .eva-works__meta,
    .eva-works__title,
    .eva-works__statement { text-align: left; }
    .eva-works__title { font-size: clamp(1rem, 4.8vw, 1.25rem); }
    .eva-works__meta { font-size: 0.72rem; }
    .eva-works__statement { font-size: 0.88rem; }

    /* Videos: keep the section compact on phones without changing desktop spacing. */
    .eva-bio-video { padding: clamp(3rem, 7vw, 4.25rem) 1rem clamp(2.5rem, 6vw, 3.5rem); gap: 1.5rem; }
    .eva-bio-video__head { padding: clamp(2rem, 5vw, 3rem) 1rem 0; }
    .eva-bio-video__item { gap: 0.35rem; }
    .eva-bio-video__frame { aspect-ratio: 16 / 9; }
    .eva-bio-video__caption h3 { font-size: clamp(1rem, 4.2vw, 1.2rem); line-height: 1.15; }
    .eva-bio-video__caption p { font-size: 0.78rem; line-height: 1.35; }

    /* Artwork page: let the image fill the available width, then cap height. */
    .eva-artwork { padding: calc(var(--header-h) + 1rem) 1rem 1.75rem; }
    .eva-artwork__stage { min-height: 0; }
    .eva-artwork__stage img { width: 100%; max-width: 100%; max-height: 68vh; }
    .eva-artwork__meta { padding-inline: 0; gap: 1.25rem; }
    .eva-artwork__title { font-size: clamp(1.9rem, 10vw, 2.8rem); }
    .eva-artwork__nomenclature { font-size: 0.75rem; }
    .eva-artwork__nav { flex-direction: column; align-items: flex-start; gap: 0.8rem; padding: 2rem 0 0; }
    .eva-artwork__nav a { white-space: normal; }
    .eva-artwork__inquiry { margin-top: 2.5rem; padding: 2rem 0 0; }
    .eva-artwork__inquiry p { font-size: clamp(1.05rem, 4.6vw, 1.35rem); line-height: 1.45; }
}

/* ===================================================================
   Press page — two columns, with artworks interspersed for colour
   =================================================================== */
.eva-journal__press--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 2.5vw, 2rem);
    align-items: start;
}
.eva-journal__press--grid .eva-journal__press-card { margin: 0; }
.eva-journal__press-art {
    display: block;
    overflow: hidden;
    background: var(--bg-pure);
    align-self: stretch;
}
.eva-journal__press-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 5;
    transition: transform 700ms var(--ease);
}
.eva-journal__press-art:hover img { transform: scale(1.04); }
@media (max-width: 600px) {
    .eva-journal__press--grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   AUTHORITATIVE refinements (kept last)
   =================================================================== */
/* Lower the EVA MARCH wordmark dock further + more space before the bio. */
.eva-stage { padding-bottom: clamp(9rem, 22vw, 28rem); }

/* Press page — true masonry via CSS columns: articles pack tightly around
   the artworks, no empty white rows. */
.eva-journal__press--grid {
    display: block;
    column-count: 2;
    column-gap: clamp(1rem, 2.5vw, 2rem);
}
.eva-journal__press--grid > * {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin: 0 0 clamp(1rem, 2.5vw, 2rem);
    display: block;
    width: 100%;
}
.eva-journal__press-art img { aspect-ratio: 4 / 5; height: auto; max-height: 460px; object-fit: cover; }
@media (max-width: 600px) { .eva-journal__press--grid { column-count: 1; } }

/* FR / EN toggle — clean, understated, no pill. */
.eva-header__type-toggle {
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    padding: 0.3rem 0 !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase;
    gap: 0.35rem;
}
.eva-header__type-toggle:hover { background: none !important; color: inherit !important; }
.eva-header__type-toggle .is-active { font-weight: 800; }
.eva-header__type-toggle .is-dim { opacity: 0.42; font-weight: 500; }

/* Exhibition "back" link */
.eva-expo__back { margin: 0 0 1.5rem; }
.eva-back-link {
    font-family: var(--sans);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 200ms var(--ease);
}
.eva-back-link:hover { color: var(--display-blue); }

/* Video section CTA — placed AFTER the videos (title → videos → button). */
.eva-bio-video__cta {
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 6vw, 7rem) clamp(3rem, 6vw, 7rem);
    text-align: center;
}

/* ===================================================================
   AUTHORITATIVE menu breakpoint (kept last).
   The nav has many items, so switch to the clean full-screen hamburger
   menu already at tablet width (≤900px) to avoid any overflow, while the
   page CONTENT keeps its desktop layout down to 768px.
   =================================================================== */
@media (max-width: 900px) {
    .eva-header__toggle { display: inline-block !important; justify-self: end; z-index: 200; position: relative; }
    .eva-header__nav {
        position: fixed; inset: 0; z-index: 100;
        display: none; flex-direction: column;
        gap: 0.35rem;
        align-items: center; text-align: center;
        justify-content: flex-start;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: var(--display-blue); color: #ffffff;
        padding: calc(var(--header-h) + 1.25rem) 1.25rem 2rem;
    }
    .eva-header__nav.is-open { display: flex !important; }
    .eva-header__nav a { font-size: 1.25rem; padding-block: 0.5rem; color: #ffffff; line-height: 1.15; opacity: 0.92; text-decoration: none; }
    .eva-header__nav a:hover { opacity: 1; }
    .eva-header:has(.eva-header__nav.is-open) .eva-header__toggle { color: #ffffff !important; }
}

/* ===================================================================
   AUTHORITATIVE video section header (kept last)
   Desktop: kicker LEFT + "Voir toutes les vidéos" RIGHT, same row.
   Mobile (≤768): top button hidden, button shown centered BELOW the videos.
   =================================================================== */
.eva-bio-video__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    flex-wrap: wrap;
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 6vw, 7rem) clamp(1.25rem, 2.5vw, 2rem);
}
.eva-bio-video__head .eva-bio-video__kicker { margin: 0; }
.eva-bio-video__cta-bottom { display: none; }
@media (max-width: 768px) {
    .eva-bio-video__cta-top { display: none; }
    .eva-bio-video__cta-bottom {
        display: block;
        text-align: center;
        padding: clamp(1.5rem, 4vw, 2.5rem) 1.5rem clamp(2.5rem, 5vw, 4rem);
        margin: 0;
    }
}

/* ===================================================================
   MOBILE: keep the SAME "fixed → dock" behaviour as desktop for the giant
   EVA MARCH wordmark (it's JS-controlled and viewport-agnostic). We only
   trim the stage's bottom padding so the docked wordmark sits just under
   the last work before scrolling up to the biography.
   =================================================================== */
@media (max-width: 768px) {
    .eva-stage { padding-bottom: clamp(9rem, 28vw, 13rem); }
}

/* ===================================================================
   MOBILE contact form: side padding (don't touch screen edges),
   more air BETWEEN fields, label CLOSER to its field.
   =================================================================== */
@media (max-width: 700px) {
    #contact { padding-left: clamp(1.25rem, 5vw, 2rem); padding-right: clamp(1.25rem, 5vw, 2rem); }
    #contact .eva-contact-form { max-width: 100%; }
    .eva-form-fields { gap: 2rem 0; margin-top: 1.5rem; }
    .eva-field label { margin-bottom: 0.3rem; }
    .eva-field input, .eva-field textarea, .eva-field select { padding-top: 0.55rem; padding-bottom: 0.55rem; }
}

/* ===================================================================
   Mobile menu open: cancel the header's difference-blend, otherwise the
   deep-blue overlay inverts to orange/red. The full-screen menu covers the
   hero anyway, so the logo-inversion trick isn't needed while it's open.
   =================================================================== */
.eva-header:has(.eva-header__nav.is-open) {
    mix-blend-mode: normal !important;
    isolation: isolate;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Bio subsection titles (## blocks) rendered as subheadings */
.eva-bio-home__subhead {
    font-family: var(--editorial);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.25rem, 1.9vw, 1.75rem);
    color: var(--display-blue);
    margin: 2.6rem 0 0.6rem;
    line-height: 1.15;
    letter-spacing: 0;
}
