@import url("https://use.typekit.net/jvd2ztf.css");

:root {
--bg: #141210;
--bg2: #141210;
--bg3: #1f1a16;
--text: #d4c9b8;
--text-dim: #c0b8af;
--accent: #ffc943;
--accent2: #a07840;
--white: #f0e8dc;
--border: rgba(200,169,110,0.15);

--darkbg: rgba(200,169,110,0.15);
--sidebar-w: 160px;
}


/* ─── PLACEHOLDER BUTTONS (no-href replacements) ─── */
button.read-more {
cursor: pointer;
font-family: 'Montserrat', sans-serif;
}
.pub-btn {
background: none;
border: none;
padding: 0;
cursor: pointer;
font-family: 'Montserrat', sans-serif;
font-size: 13px;
color: var(--text);
transition: color 0.2s;
display: flex;
align-items: center;
gap: 10px;
text-align: left;
}
.pub-btn::before {
content: '';
display: inline-block;
width: 24px;
height: 1px;
background: var(--accent2);
flex-shrink: 0;
transition: width 0.2s;
}
.pub-btn:hover { color: var(--accent); }
.pub-btn:hover::before { width: 36px; background: var(--accent); }
.footer-link-btn {
background: none;
border: none;
padding: 0;
cursor: pointer;
font-family: 'Montserrat', sans-serif;
font-size: 10px;
color: var(--text-dim);
letter-spacing: 0.08em;
transition: color 0.2s;
}
.footer-link-btn:hover { color: var(--accent); }


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

img {
-webkit-user-select: none;
user-select: none;
-webkit-user-drag: none;
pointer-events: none;
}

/* Carousel slides need clicks to work — restore pointer-events on the container */
.carousel-slide {
pointer-events: auto;
}

html {
overflow-x: hidden;
max-width: 100vw;
}

body {
background: var(--bg);
color: var(--text);
font-family: 'Montserrat', sans-serif;
font-weight: 300;
font-size: 16px;
line-height: 1.75;
overflow-x: hidden;
max-width: 100vw;
}

/* ─── HERO ─── */
.hero {
position: relative;
width: 100%;
height: 100vh;
min-height: 600px;
background: #0d0b09 url("../images/hero/hero-bg.webp") center/cover no-repeat;
overflow: hidden;
display: flex;
align-items: flex-end;
will-change: background-position;
}

.hero-content {
will-change: transform, opacity;
}

.hero-bg {
position: absolute;
inset: 0;
background:
linear-gradient(107deg,rgba(20, 18, 16, 1) 0%, rgba(20, 18, 16, 0.54) 25%, rgba(20, 18, 16, 0) 45%),
linear-gradient(72deg,rgba(20, 18, 16, 0) 55%, rgba(20, 18, 16, 0.54) 75%, rgba(20, 18, 16, 1) 100%),
linear-gradient(0deg,rgba(20, 18, 16, 1) 0%, rgba(20, 18, 16, 0.54) 30%, rgba(20, 18, 16, 0) 50%);
z-index: 1;
}

.hero-content {
position: relative;
z-index: 2;
padding: 0 5% 5%;
max-width: 1024px;
}

.hero-subtitle {
font-family: 'Montserrat', sans-serif;
font-size: 11px;
font-weight: 400;
letter-spacing: 0.25em;
text-transform: uppercase;
color: var(--accent);
margin-bottom: 6px;
}

.hero-name {
font-family: 'warbler-deck',serif;
font-size: clamp(14px, 1.8vw, 22px);
font-weight: 300;
letter-spacing: 0.35em;
text-transform: uppercase;
color: var(--white);
margin-bottom: -4px;
}

.hero-title {
font-family: 'Playfair Display', serif;
font-size: clamp(72px, 12vw, 140px);
font-weight: 700;
line-height: 0.88;
color: var(--white);
letter-spacing: -0.02em;
margin-bottom: 8px;
text-shadow: 0 0 80px rgba(200,169,110,0.08);
}

/* ─── HERO ARTIST NAME (above logo) ─── */
.hero-artist-name {
font-family: 'warbler-deck',serif;
font-weight: 400;
font-size: clamp(24px, 3vw, 59px);;
color: var(--white);
margin-bottom: 8px;
animation: fadeUp 0.9s 0.15s ease both;
}

/* ─── HERO LOGO IMAGE ─── */
.hero-logo-wrap {
margin-bottom: 10px;
}

.hero-logo-img {
display: block;
width: clamp(220px, 36vw, 520px);
height: auto;
filter: brightness(0) invert(1);
animation: fadeUp 0.9s ease both;
animation-delay: 0.25s;
}

.hero-curated {
font-family: 'Montserrat', sans-serif;
font-size: clamp(15px, 1.5vw, 24px);
font-weight: 300;
font-style: normal;
color: var(--white);
margin-bottom: 28px;
}

.hero-meta {
display: flex;
flex-direction: column;
gap: 5px;
}

.hero-dates {
font-family: 'warbler-deck',serif;
font-size: clamp(20px, 2vw, 27px);
font-weight: 300;
color: var(--accent);
letter-spacing: 0.12em;
}

.hero-venue {
font-size: clamp(16px, 1.5vw, 20px);
color: var(--text-dim);
}

/* Badge top-right */
.hero-badge {
position: fixed;
top: 24px;
right: 24px;
z-index: 50;
width: 14vw;
max-width: 260px;
min-width: 80px;
height: auto;
transition: opacity 0.3s ease;
}
.hero-badge.hidden {
opacity: 0;
pointer-events: none;
}
.hero-badge svg {
width: 100%;
height: auto;
display: block;
}

/* ─── MAIN NAV ─── */
.hero-nav {
margin-top: 20px;
}

.hero-nav ul {
display: flex;
align-items: center;
list-style: none;
gap: 0;
flex-wrap: wrap;
padding: 0;
}

.hero-nav ul li {
display: flex;
align-items: center;
}

.hero-nav ul li + li::before {
content: '/';
color: rgba(212,201,184,0.35);
font-size: 9px;
padding: 0 9px;
}

.hero-nav ul li a {
font-family: 'Montserrat', sans-serif;
font-size: 9px;
font-weight: 400;
letter-spacing: 0.22em;
text-transform: uppercase;
color: rgba(212,201,184,0.6);
text-decoration: none;
transition: color 0.2s;
}
.hero-nav ul li a:hover { color: var(--white); }

/* ─── PAGE LAYOUT ─── */
.page-body {
display: grid;
grid-template: [row1-start] 'sidebar content' auto [row1-end] / var(--sidebar-w) 1fr;
align-items: stretch;
position: relative;
min-height: 100vh;
max-width: 1440px;
overflow-x: hidden;
margin: 0 auto;
}

/* ─── SIDEBAR CONTAINER ─── */
.sidebar-container {
grid-area: sidebar;
width: var(--sidebar-w);
height: 100%;
min-height: 100vh;
position: relative;
overflow: hidden;
}

/* ─── MOBILE HAMBURGER ─── */
.hamburger {
display: none;
position: fixed;
top: 14px;
left: 14px;
z-index: 200;
background: var(--bg2);
border: 1px solid var(--border);
width: 36px;
height: 36px;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 5px;
cursor: pointer;
}
.hamburger span {
display: block;
width: 18px;
height: 1px;
background: var(--text-dim);
transition: all 0.3s;
}
.sidebar-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0,0,0,0.6);
z-index: 99;
}
.sidebar-overlay.open { display: block; }

/* ─── LEFT SIDEBAR ─── */
.sidebar {
width: 100%;
position: sticky;
top: 0;
height: 100vh;
background: var(--bg2);
border-right: 1px solid var(--border);
padding: 28px 20px;
display: flex;
flex-direction: column;
gap: 32px;
z-index: 100;
overflow-y: auto;
overflow-x: hidden;
transition: transform 0.3s ease;
}

.sidebar-logo {
display: flex;
flex-direction: column;
gap: 0;
line-height: 1;
}
.sidebar-logo .s-name {
font-family: 'warbler-deck',serif;
font-size: 14px;
font-weight: 400;
color: var(--text-dim);
margin:0 0 4px;
}
.sidebar-logo .s-title {
font-family: 'Playfair Display', serif;
font-size: 28px;
font-weight: 700;
color: var(--white);
line-height: 1;
}

.sidebar-nav {
list-style: none;
display: flex;
flex-direction: column;
gap: 4px;
}

.sidebar-nav li a {
display: block;
font-size: 12px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--text-dim);
text-decoration: none;
padding: 10px 0;
transition: color 0.2s;
border-bottom: 1px solid transparent;
}
.sidebar-nav li a:hover,
.sidebar-nav li a.active {
color: var(--accent);
}

/* ─── MAIN CONTENT ─── */
.main-content {
grid-area: content;
min-width: 0;
max-width: 100%;
overflow-x: hidden;
padding: 48px 60px 80px;
}

.main-content > * {
max-width: 1200px;
}

.main-content > .carousel-section {
max-width: none;
}

/* ─── INTRO ─── */
.intro-grid {
padding-bottom: 64px;
border-bottom: 1px solid var(--border);
overflow: hidden;
}

/* Images float right — text wraps around them */
.intro-text p + p { margin-top: 14px; }

.read-more {
display: inline-block;
margin-top: 16px;
font-size: 14px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--accent);
text-decoration: none;
border: 1px solid var(--accent2);
padding: 5px 16px;
background-color: var(--darkbg);
}

/* Images float right — text wraps around them */
.intro-images {
padding-top: 1.5rem;
float: right;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8px;
width: 46%;
max-width: 100%;
margin: 0 0 24px 40px;
}

.img-placeholder {
aspect-ratio: 3/4;
background: var(--bg3);
border: 1px solid var(--border);
position: relative;
overflow: hidden;
}
.img-placeholder::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(200,169,110,0.04) 0%, transparent 60%);
}
.img-placeholder img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

/* ─── SECTION HEADERS ─── */
.section-label {
font-family: 'warbler-deck',serif;
font-size: 28px;
font-weight: 400;
color: var(--white);
letter-spacing: 0.02em;
margin-bottom: 28px;
padding-bottom: 12px;
border-bottom: 1px solid var(--border);
position: relative;
}
.section-label::after {
content: '';
position: absolute;
bottom: -1px;
left: 0;
width: 40px;
height: 1px;
background: var(--accent);
}

/* ─── ARTIST / CURATOR BIOS ─── */
.bio-section {
margin-bottom: 64px;
padding-bottom: 64px;
}

.bio-grid {
overflow: hidden;
}

/* Portrait floats left — bio text wraps around it */
.bio-sidebar {
float: left;
width: 200px;
margin: 0 36px 20px 0;
display: flex;
flex-direction: column;
gap: 10px;
}

.bio-portrait {
width: 100%;
aspect-ratio: 3/4;
background: var(--bg3);
border: 1px solid var(--border);
position: relative;
overflow: hidden;
}
.bio-portrait::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(160deg, rgba(200,169,110,0.06) 0%, transparent 50%);
}
.bio-portrait img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.bio-name {
font-family: 'warbler-deck',serif;
font-size: 18px;
font-weight: 600;
color: var(--white);
letter-spacing: 0.03em;
}
.bio-title {
font-size: 10px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--accent);
}
.bio-text {
line-height: 1.85;
color: var(--text);
}
.bio-text p + p { margin-top: 12px; }

/* ─── CAROUSEL ─── */
.carousel-section {
margin-bottom: 64px;
padding-bottom: 64px;
}

.carousel-track-wrap {
position: relative;
overflow: hidden;
cursor: grab;
}
.carousel-track-wrap:active { cursor: grabbing; }

.carousel-track {
display: flex;
gap: 16px;
align-items: flex-start;
transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
flex: 0 0 auto;
width: auto;
height: auto;
max-width: 600px;
background: var(--bg3);
border: 1px solid var(--border);
overflow: hidden;
cursor: pointer;
position: relative;
display: flex;
justify-content: center;
}

.carousel-slide img {
display: block;
width: auto;
height: auto;
max-height: 320px;
transition: transform 0.5s ease, filter 0.3s ease;
filter: brightness(0.85);
object-fit: contain;
}

.carousel-slide:hover img {
transform: scale(1.04);
filter: brightness(1);
}

.carousel-slide-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(13,11,9,0.7) 0%, transparent 55%);
opacity: 0;
transition: opacity 0.3s ease;
display: flex;
align-items: flex-end;
padding: 16px;
}

.carousel-slide:hover .carousel-slide-overlay {
opacity: 1;
}

.carousel-slide-label {
font-family: 'Montserrat', sans-serif;
font-size: 9px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--white);
}

.carousel-slide-placeholder {
width: 100%;
height: 100%;
background: linear-gradient(135deg, var(--bg3) 0%, #2a2118 100%);
display: flex;
align-items: center;
justify-content: center;
}

.carousel-slide-placeholder span {
font-size: 9px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--text-dim);
opacity: 0.4;
}

.carousel-controls {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 16px;
}

.carousel-dots {
display: flex;
gap: 6px;
}

.carousel-dot {
width: 20px;
height: 1px;
background: var(--border);
cursor: pointer;
transition: background 0.2s, width 0.2s;
border: none;
padding: 0;
}

.carousel-dot.active {
background: var(--accent);
width: 36px;
}

.carousel-arrows {
display: flex;
gap: 12px;
}

.carousel-arrow {
background: none;
border: 1px solid var(--border);
color: var(--text-dim);
width: 32px;
height: 32px;
cursor: pointer;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
transition: border-color 0.2s, color 0.2s;
}

.carousel-arrow:hover {
border-color: var(--accent);
color: var(--white);
}

/* ─── LIGHTBOX ─── */
.lightbox {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 1000;
background: var(--bg);
display: grid;
grid-template:
 [row1-start] 'topbar'  auto [row1-end]
 [row2-start] 'content' 1fr  [row2-end]
 / 1fr;
opacity: 0;
pointer-events: none;
transition: opacity 0.35s ease;
overflow: hidden;
}
.lightbox-number { font-size: 32px; grid-area:number;}

.lightbox.open {
opacity: 1;
pointer-events: all;
}

/* ─── SHARED POPUP TOPBAR & CLOSE BUTTON ─── */
.popup-topbar {
    display: block;
    position: sticky;
    top: 0;
    background: var(--bg);
    padding: 12px 0;
}
.popup-close {
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
   font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    border: 1px solid var(--accent2);
    background-color: var(--darkbg);
    padding: 5px 16px;
    display:block;
transition: color 0.2s;
}
.popup-close:hover { color: var(--white); }
.popup-close-x { font-size: 1rem; line-height: 1; }

.lightbox-topbar {
grid-area: topbar;
display: block;
padding: 20px 40px;
background: var(--bg);
}

.lightbox-close {
display: flex;
align-items: center;
gap: 10px;
background: none;
border: 1px solid var(--border);
color: var(--text-dim);
font-family: 'Montserrat', sans-serif;
font-size: 9px;
letter-spacing: 0.2em;
text-transform: uppercase;
cursor: pointer;
padding: 8px 16px;
transition: color 0.2s, border-color 0.2s;
}
.lightbox-close:hover { color: var(--white); border-color: var(--accent); }

.lightbox-inner {
grid-area: content;
display: grid;
min-height: 0;
width: 100%;
height: 100%;
}

.lightbox.open .lightbox-inner {
transform: none;
}

.lightbox-image-wrap {
overflow: hidden;
background: var(--bg3);
height: calc(100vh - 72px);
position: sticky;
top: 88px;
isolation: isolate;
grid-area:image;
}

.lightbox-image-wrap img {
position: absolute;
top: 0;
left: 0;
width: auto;
height: auto;
max-width: none;
max-height: none;
display: block;
transform-origin: 0 0;
pointer-events: none;
will-change: transform;
user-select: none;
-webkit-user-drag: none;
}

.lightbox-image-wrap .lightbox-placeholder {
width: 100%;
height: 100%;
background: linear-gradient(135deg, var(--bg3) 0%, #2a2118 100%);
display: flex;
align-items: center;
justify-content: center;
}

.lightbox-descriptor { }
.lightbox-header {
    display: grid;
    grid-template: [row1-start] 'number' auto [row1-end] [row2-start] 'title' auto [row2-end] [row3-start] 'year' auto [row3-end] / auto;
}
.lightbox-number {
font-family: 'warbler-deck',serif;
font-size: 48px;
font-weight: 300;
color: var(--border);
line-height: 1;
margin-bottom: 20px;
}

.lightbox-title {
font-family: 'warbler-deck',serif;
font-size: 22px;
font-weight: 400;
color: var(--white);
margin-bottom: 6px;
line-height: 1.25;
grid-area:title;
}
.lightbox-year {
font-family: 'Montserrat', sans-serif;
font-size: 16px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--accent);
margin-bottom: 20px;
grid-area:year;
}

.lightbox-desc {
line-height: 1.85;
color: var(--text);
flex: 1;
}

.lightbox-meta {
margin-top: 24px;
padding-top: 20px;
border-top: 1px solid var(--border);
color: var(--text-dim);
line-height: 1.7;
letter-spacing: 0.05em;
}

.lightbox-info {
  padding: 36px 32px 0;
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
  grid-area: info;
  overflow-y: auto;
  height: 100%;
  max-height: calc(100vh - 72px);
}

.lightbox-nav {
  display: flex;
  justify-content: space-between;
  position: sticky;
  bottom: 0;
  background: var(--bg);
  padding: 16px 0 20px;
  margin-top: auto;
  flex-shrink: 0;
}

.lightbox-nav-btn {
background: none;
border: none;
font-family: 'Montserrat', sans-serif;
font-size: 9px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--text-dim);
cursor: pointer;
padding: 20px 0;
transition: color 0.2s;

display: inline-block;
margin-top: 16px;
font-size: 14px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--accent);
text-decoration: none;
border: 1px solid var(--accent2);
padding: 5px 16px;
background-color: var(--darkbg);
}

.lightbox-nav-btn:hover { color: var(--white); }

.lightbox-close {
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
   font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    border: 1px solid var(--accent2);
    background-color: var(--darkbg);
    padding: 5px 16px;
    display:block;
}

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

/* ─── ORGANIZER ─── */
.organizer-section {
margin-bottom: 64px;
padding-bottom: 64px;
}

.org-block { margin-bottom: 32px; }
.org-block:last-child { margin-bottom: 0; }

.org-name {
font-family: 'warbler-deck',serif;
font-size: 16px;
font-weight: 600;
color: var(--white);
margin-bottom: 10px;
}

/* ─── PROGRAMS ─── */
.programs-section {
margin-bottom: 64px;
padding-bottom: 64px;
}

.program-item { margin-bottom: 20px; }
.program-item-title {
font-family: 'warbler-deck',serif;
font-size: 15px;
font-weight: 600;
color: var(--white);
margin-bottom: 4px;
}
.program-item-sub {
font-size: 11px;
color: var(--text-dim);
letter-spacing: 0.05em;
}

/* ─── PUBLICATIONS ─── */
.publications-section {
margin-bottom: 64px;
padding-bottom: 64px;
}

.pub-list {
list-style: none;
display: flex;
flex-direction: column;
gap: 10px;
}
.pub-list li a {
font-size: 13px;
color: var(--text);
text-decoration: none;
transition: color 0.2s;
display: flex;
align-items: center;
gap: 10px;
}
.pub-list li a::before {
content: '';
display: inline-block;
width: 24px;
height: 1px;
background: var(--accent2);
flex-shrink: 0;
transition: width 0.2s;
}
.pub-list li a:hover { color: var(--accent); }
.pub-list li a:hover::before { width: 36px; background: var(--accent); }

/* ─── LOCATION ─── */
.location-section { margin-bottom: 64px; }

.location-grid {
display: grid;
grid-template-columns: 1fr 280px;
gap: 48px;
}

.location-map-placeholder {
width: 100%;
max-width: 720px;
aspect-ratio: 4/3;
position: relative;
overflow: hidden;
border: 1px solid var(--border);
}

.location-info-block { display: flex; flex-direction: column; gap: 20px; }

.loc-address {
font-family: 'warbler-deck',serif;
font-size: 16px;
color: var(--white);
line-height: 1.5;
}

.loc-hours-title {
font-size: 10px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--accent);
margin-bottom: 8px;
}

.loc-hours-detail {
font-size: 12px;
line-height: 1.8;
color: var(--text);
}
.loc-hours-detail a { color: var(--text); text-decoration: none; }
.loc-hours-detail a:hover { color: #fff; }

.loc-preopening {
padding-top: 16px;
border-top: 1px solid var(--border);
}

/* ─── FOOTER ─── */
footer {
background: var(--bg2);
border-top: 1px solid var(--border);
padding: 28px 60px 28px 60px;
max-width: 1440px;
margin: 0 auto;
}

.footer-inner {
margin-left: var(--sidebar-w);
}

.footer-sponsors {
display: grid;
grid-template: "left right" auto / 1fr 1fr;
border-bottom: 1px solid var(--border);
margin-bottom: 20px;
padding-bottom: 24px;
}

.footer-organized {
display: flex;
flex-direction: column;
justify-content: center;
grid-area: left;
}

.footer-org-label {
font-size: 9px;
letter-spacing: 0.25em;
text-transform: uppercase;
color: var(--text-dim);
margin-bottom: 12px;
}

.footer-logos {
display: flex;
align-items: center;
gap: 32px;
}

.footer-logo-item {
display: flex;
align-items: center;
}
.footer-logo-item svg {
height: 28px;
width: auto;
fill: var(--text-dim);
filter: brightness(0) invert(0.6);
transition: filter 0.2s;
}
.footer-logo-item svg:hover {
filter: brightness(0) invert(1);
}

.footer-support {
text-align: right;
display: flex;
flex-direction: column;
align-items: flex-end;
justify-content: center;
gap: 10px;
grid-area: right;
}
.footer-support-logos {
display: flex;
align-items: center;
gap: 28px;
}
.footer-support-label {
font-size: 9px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--text-dim);
}
.footer-rv-logo svg {
height: 22px;
width: auto;
filter: brightness(0) invert(0.7);
}
.footer-berengo-logo svg {
height: 20px;
width: auto;
filter: brightness(0) invert(0.55);
}

.footer-bottom {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 16px;
margin-top: 4px;
}
.footer-copy {
font-size: 10px;
color: var(--text-dim);
letter-spacing: 0.08em;
}
.footer-links {
display: flex;
gap: 24px;
}
.footer-links a {
font-size: 10px;
color: var(--text-dim);
text-decoration: none;
letter-spacing: 0.08em;
}
.footer-links a:hover { color: var(--accent); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
from { opacity: 0; transform: translateY(24px); }
to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroVignettePulse {
0%, 100% { opacity: 0.55; }
50%       { opacity: 0.72; }
}

@keyframes grainShift {
0%   { transform: translate(0, 0); }
20%  { transform: translate(-2px, 1px); }
40%  { transform: translate(1px, -2px); }
60%  { transform: translate(-1px, 2px); }
80%  { transform: translate(2px, -1px); }
100% { transform: translate(0, 0); }
}

/* Breathing vignette overlay */
.hero::before {
content: '';
position: absolute;
inset: 0;
z-index: 1;
background: radial-gradient(ellipse at center, transparent 35%, rgba(13,11,9,0.65) 100%);
animation: heroVignettePulse 7s ease-in-out infinite;
pointer-events: none;
}

/* Subtle film grain */
.hero::after {
content: '';
position: absolute;
inset: -50%;
z-index: 1;
width: 200%;
height: 200%;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
background-size: 256px 256px;
opacity: 0.035;
animation: grainShift 0.18s steps(1) infinite;
pointer-events: none;
}

.hero-content > * {
animation: fadeUp 0.9s ease both;
}
.hero-logo-wrap    { animation: fadeUp 0.9s 0.25s ease both; }
.hero-curated      { animation-delay: 0.45s; }
.hero-meta         { animation-delay: 0.6s; }

/* ─── CONTENT POPUP ─── */
.cpopup {
position: fixed;
inset: 0;
z-index: 2000;
background: var(--bg);
display: flex;
flex-direction: column;
opacity: 0;
pointer-events: none;
transition: opacity 0.35s ease;
overflow-y: auto;
}
.cpopup.open {
opacity: 1;
pointer-events: all;
}
.cpopup-inner {
flex: 1;
display: flex;
flex-direction: column;
max-width: 860px;
width: 100%;
margin: 0 auto;
padding: 0 60px 80px;
transform: translateY(24px);
transition: transform 0.35s ease;
}
.cpopup.open .cpopup-inner {
transform: translateY(0);
}
/* .cpopup-topbar { padding: 24px 0 32px; } */
.cpopup-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 28px;
    margin-bottom: 40px;
    position: sticky;
    top: 51px;
    background: var(--bg);
}
.curatorial-label,
.cpopup-label {
font-family: 'Montserrat', sans-serif;
font-size: 9px;
letter-spacing: 0.25em;
text-transform: uppercase;
color: var(--accent);
margin-bottom: 12px;
}
.intro-title {
    margin-bottom: 1em;
}
.intro-title,
.cpopup-title {
font-family: 'warbler-deck',serif;
font-size: clamp(32px, 5vw, 56px);
font-weight: 400;
color: var(--white);
line-height: 1.1;
}
.cpopup-body {
font-size: 14px;
line-height: 2;
color: var(--text);
max-width: 680px;
}
.cpopup-body p + p { margin-top: 20px; }
.cpopup-body h3 {
font-family: 'warbler-deck',serif;
font-size: 24px;
font-weight: 400;
color: var(--white);
margin: 36px 0 12px;
padding-top: 28px;
border-top: 1px solid var(--border);
}
.cpopup-body blockquote {
border-left: 2px solid var(--accent);
padding: 4px 0 4px 24px;
margin: 28px 0;
color: var(--text-dim);
font-style: italic;
font-size: 15px;
line-height: 1.8;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
.sidebar-container { display: none; }
.page-body { grid-template: [row1-start] 'content' auto [row1-end] / 1fr; }
.lightbox-header {
    display: grid;
    grid-template: [row1-start] 'number title' auto [row1-end] [row2-start] 'number year' auto [row2-end] / 4.5rem auto;
}
.lightbox-number {
   font-size: 48px;
   line-height: .75em;
}
.lightbox-title {
    font-size: 18px;
}
.lightbox-year {
    font-size: 14px;
    margin-bottom: 10px;
}

.main-content {
 padding: 56px 24px 60px;
 width: 100%;
 margin-left: 0;
}

.hero-content { padding: 0 24px 48px; }
.hero-logo-img { width: clamp(180px, 55vw, 360px); }
.hero-nav ul { gap: 0; }

.intro-images {
 float: none;
 width: 100%;
 margin: 24px 0 0 0;
 grid-template-columns: repeat(3, 1fr);
}

.bio-sidebar {
width: clamp(150px, 25%, 300px);
margin: 0 0 24px 0;
display: grid;
height: auto;
position: relative;
grid-template: [row1-start] 'image' auto [row1-end] [row2-start] 'name' auto [row2-end]  [row3-start] 'title' auto [row3-end] / 1fr;
margin: 4px 16px 0 0;
}
.bio-portrait {
 width:100%;
 grid-area:image;
}
.bio-title {
 grid-area:title;
}
.bio-name {
 grid-area:name;
}

.carousel-slide { flex: 0 0 calc(100% - 0px); }

.lightbox-inner {
 grid-template-columns: 1fr 280px;
}
.lightbox-topbar { padding: 16px 20px; }
.cpopup-inner { padding: 0 20px 40px; }

.location-grid { grid-template-columns: 1fr; }
.location-map-placeholder { aspect-ratio: 16/9; }

.footer-inner { margin-left: 0; }
.footer-organized { flex-direction: column; gap: 24px; align-items: flex-start; }
.footer-support { align-items: flex-start; }
.footer-bottom { flex-direction: column; gap: 12px; }
}

@media (orientation: portrait) {
.lightbox-inner {
 grid-template: [row1-start] 'image' auto [row1-end] [row2-start] 'info' auto [row2-end] / 1fr;
}

.lightbox-image-wrap { max-height:55vh}
.lightbox-info {max-height:45vh}
}
@media (orientation: landscape) {
.lightbox-inner {
 grid-template:
   [row1-start] 'image info' auto [row1-end]
   / 1fr 360px;
}
.lightbox-image-wrap { max-width:calc( 100vw - 300px)}
.lightbox-info {max-width:300px}
}

@media (max-width: 480px) {


.sidebar-container { display: none; }
.page-body { grid-template: [row1-start] 'content' auto [row1-end] / 1fr; }
.carousel-slide { flex: 0 0 calc(50% - 8px); }
.hero-content { padding: 0 5% 14%; }

.location-grid { grid-template-columns: 1fr; }
.location-map-placeholder { width: 100%; aspect-ratio: 16/9; }

footer { padding: 16px; text-align: center; }
.footer-inner { margin-left: 0; width: 100%; }
.footer-sponsors {
 grid-template:
   "left"  auto
   "right" auto / 1fr;
}
.footer-organized {
 grid-area: left;
 padding-bottom: 16px;
 border-bottom: 1px solid var(--border);
 align-items: center;
 justify-content: center;
}
.footer-logos { justify-content: center; }
.footer-support { grid-area: right; align-items: center; padding-top: 16px; }
.footer-bottom { flex-direction: column; gap: 8px; align-items: center; padding-top: 12px; }
.footer-links { display: flex; justify-content: center; width: 100%; }
.footer-copy { text-align: center; width: 100%; }

.hero-title { font-size: 64px; }
.hero-nav ul li a { font-size: 12px; letter-spacing: 0.12em; }
.hero-nav ul li + li::before { padding: 0 6px; }

.main-content { padding: 48px 16px 48px; }
.section-label { font-size: 22px; }

.intro-images { width: 80%; }

.lightbox-inner { grid-template-columns: 1fr; overflow-y: auto; }
.lightbox-image-wrap { min-height: 220px; position: relative; top: 0; }

.lightbox-number {
   font-size: 48px;
   line-height: .75em;
}
.lightbox-title {
    font-size: 18px;
}
.lightbox-year {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-logos { flex-wrap: wrap; gap: 20px; }
.footer-logo-item svg { height: 20px; }
.footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-links { flex-wrap: wrap; gap: 12px; }
}

/* ─── ESSAY LANGUAGE TABS ─── */
.essay-tabs {
display: flex;
align-items: flex-end;
gap: 0;
margin-bottom: 28px;
	overflow-x: auto;
scrollbar-width: none;
justify-content: left;
}
.essay-tabs::-webkit-scrollbar { display: none; }

.essay-tab {
    flex-shrink: 0;
    background: none;
    color: var(--text);
    border: 1px solid var(--accent);
    padding: 6px 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.essay-tab:hover { color: var(--text); }
.essay-tab.active {
color: var(--bg);
    background-color: var(--accent);
    font-weight: 600;
}

.essay-panel { display: none; }
.essay-panel.active { display: block; }

@media (max-width: 900px) {
.essay-tab { font-size: 12px;}
}


/* ─── POPUP LANGUAGE SWITCHER ─── */
.cpopup-lang-switch {
display: flex;
gap: 4px;
margin-top: 16px;
}

.cpopup-lang-btn {
background: none;
border: 1px solid var(--border);
color: var(--text-dim);
font-family: 'Montserrat', sans-serif;
font-size: 9px;
font-weight: 400;
letter-spacing: 0.2em;
text-transform: uppercase;
padding: 5px 12px;
cursor: pointer;
transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.cpopup-lang-btn:hover {
color: var(--white);
border-color: var(--accent2);
}
.cpopup-lang-btn.active {
color: var(--bg);
background: var(--accent);
border-color: var(--accent);
font-weight: 600;
}

/* ─── LIGHTBOX ZOOM/PAN HINT ─── */
.lb-hint {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
display: flex;
align-items: center;
gap: 10px;
background: rgba(20, 18, 16, 0.82);
border: 1px solid var(--border);
padding: 8px 16px;
font-family: 'Montserrat', sans-serif;
font-size: 8px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--text-dim);
pointer-events: none;
white-space: nowrap;
z-index: 10;
opacity: 0;
transition: opacity 0.45s ease;
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
}
.lb-hint--visible { opacity: 1; }

.lb-hint-item {
display: flex;
align-items: center;
gap: 7px;
}
.lb-hint-item svg {
flex-shrink: 0;
opacity: 0.7;
}
.lb-hint-sep { opacity: 0.3; }

/* ─── LIGHTBOX META: MEDIUM / DIMENSIONS ─── */
.lb-meta-medium {
display: block;
color: var(--text-dim);
line-height: 1.7;
}
.lb-meta-dim {
display: block;
margin-top: 6px;
font-family: 'warbler-deck', serif;
font-size: 15px;
font-weight: 400;
color: var(--white);
letter-spacing: 0.04em;
line-height: 1.5;
}

/* ─── ABOUT PULL QUOTE ─── */
#about {
display: flex;
gap: 40px;
align-items: flex-start;
}
.about-left {
flex: 1 1 0;
min-width: 0;
}
.intro-text {
color: var(--text);
line-height: 1.85;
overflow-wrap: break-word;
word-break: break-word;
}
.about-pullquote {
flex: 0 0 200px;
position: sticky;
top: 48px;
padding: 0 0 0 18px;
margin: 52px 0 0;
border-left: 3px solid var(--accent);
font-family: 'warbler-deck', serif;
font-size: clamp(15px, 2.4vw, 20px);
font-weight: 400;
font-style: italic;
color: var(--white);
line-height: 1.55;
text-align: left;
opacity: 1;
box-sizing: border-box;
transition: opacity 0.18s ease;
}
.about-pullquote.fading { opacity: 0; }

@media (max-width: 900px) {
#about { flex-direction: column; gap: 0; }
.about-pullquote {
 position: static;
 flex: none;
 width: 100%;
 text-align: left;
 margin: 0 0 24px;
 border-top: 1px solid var(--accent);
 border-left: none;
 font-size: clamp(22px, 2vw, 22px);
}
.essay-panel.active {
width: calc(100vw - 40px);
padding: 0 20px;
font-weight: 600;
}
}
