/* ADFF:STIR Delhi: the one stylesheet for the whole site.
   Part 1: shared header, footer and the home page. Part 2: every other page (listings and detail pages).
   (The two 3D viewers, cube-viewer.html and auditorium-viewer.html, carry their own styles inside.) */

/* ==================== Part 1: shared, and the home page ==================== */
/* ==========================================================
   ADFF:STIR Delhi — desktop website
   Plain HTML and CSS (no canvas). The scroll animations, the
   section dots and the turning models are in js/main.js (GSAP).

   Sizes are in vh, so every page keeps the same proportions as
   the 3D version at any window size. Each section is one screen
   (Pavilion Park is longer), laid out exactly as the 3D rooms were.
   ========================================================== */

/* ---------- fonts ---------- */
@font-face {
	font-family: InterThin; 
	src: url('../fonts/InterThin.eot');
    src: url('../fonts/InterThin.eot') format('embedded-opentype'), url('../fonts/InterThin.woff2') format('woff2'), url('../fonts/InterThin.woff') format('woff'), url('../fonts/InterThin.ttf') format('truetype'), url('../fonts/InterThin.svg');  
	font-display: swap; 
}


@font-face { 
	font-family: InterRegular; 
	src: url('../fonts/InterRegular.eot');
    src: url('../fonts/InterRegular.eot') format('embedded-opentype'), url('../fonts/InterRegular.woff2') format('woff2'), url('../fonts/InterRegular.woff') format('woff'), url('../fonts/InterRegular.ttf') format('truetype'), url('../fonts/InterRegular.svg');  
	font-display: swap; 
}


@font-face {
	font-family: InterMedium; 
	src: url('../fonts/InterMedium.eot');
    src: url('../fonts/InterMedium.eot') format('embedded-opentype'), url('../fonts/InterMedium.woff2') format('woff2'), url('../fonts/InterMedium.woff') format('woff'), url('../fonts/InterMedium.ttf') format('truetype'), url('../fonts/InterMedium.svg');  
	font-display: swap; 
}


@font-face { 
	font-family: InterBold;
	src: url('../fonts/InterBold.eot');
    src: url('../fonts/InterBold.eot') format('embedded-opentype'), url('../fonts/InterBold.woff2') format('woff2'), url('../fonts/InterBold.woff') format('woff'), url('../fonts/InterBold.ttf') format('truetype'), url('../fonts/InterBold.svg') format('svg');
	font-display: swap; 
}




/* ---------- colours and type ---------- */
:root {
    --page: #F8F6F2;            /* the flat white of the walls */
    --paper: #F2EBDF;           /* light beige: header, loading screen */
    --ink: #1C1B1A;
    --soft: #3D3833;
    --muted: #6B645C;
    --red: #9A2D1D;             /* the labels' red */
    --terracotta: #AF3321;
    --ochre: #C98A45;
    --title: InterMedium;
    --bold: InterBold;
    --text: InterRegular;
    --shift: 0px;               /* the page is centred in the space left of the dots */
}
@media (min-width: 1000px) { :root { --shift: -15px; } }

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
/* smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--text); overflow-x: hidden; }
img { display: block; }
a { color: inherit; }
h2, h3, p { margin: 0; }

/* a faint print grain over everything, like paper stock */
body::after {
    content: ""; position: fixed; inset: 0; z-index: 4; pointer-events: none; opacity: .035; transform: translateZ(0); will-change: transform;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

p {	
	font: max(13px, calc(50 * var(--cp)))/1.44 var(--text);
	 --cp: .03158vh;
}

.mt-10 {
	margin-top: 10px;
}

.d-none {
	display: none;
}

.pavilion_3d, .pavilion_3d .pav-model {
	position: relative;
	top: 0;
	left: 0;
	transform: none;
	width: 100%;
	height: auto;
}

/* ==========================================================
   header
   ========================================================== */
.top {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9; min-height: 64px;
    display: flex; align-items: center; gap: 16px; padding: 0 16px;
    background: var(--paper); border-bottom: 1px solid rgba(28,27,26,.08);
}
.top .logo img { height: 60px; width: auto; }
.tagline { cursor: pointer; display: none; font: 500 10px/1.35 var(--title); letter-spacing: .2em; text-transform: uppercase; color: rgba(28,27,26,.7); white-space: nowrap; }
.bien-logo { height: 30px; width: auto; margin-left: auto; }
.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 4px 20px 16px; background: var(--paper); border-bottom: 2px solid var(--ink); }
.nav.open { display: flex; }
.nav a {
    position: relative; display: flex; align-items: center; min-height: 52px; text-decoration: none;
    font: 500 13px/1 var(--title); letter-spacing: .14em; text-transform: uppercase; color: rgba(28,27,26,.78);
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0px; height: 1px; background: var(--terracotta); transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(.65,0,.35,1); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0px; height: 1px; background: var(--terracotta); transform: scaleX(1); transform-origin: right; transition: transform .45s cubic-bezier(.65,0,.35,1); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-btn { display: inline-flex; align-items: center; gap: 12px; padding: 10px 0; border: 0; background: none; cursor: pointer; font: 500 12px/1 var(--title); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.nav-btn::after { content: ""; width: 26px; height: 7px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; transition: width .4s cubic-bezier(.65,0,.35,1); }
.nav-btn:hover::after, .nav-btn[aria-expanded="true"]::after { width: 36px; }



.nav {
/*	min-height: 76px;*/
}

.menu {
	position: relative;
}

.dropdown {
	margin: 0; 
	padding: 0;
	opacity: 0;	
	position: absolute;
	left: 0;
	min-width: 210px;
	background: var(--paper);
	list-style: none;
	display: none;
	z-index: 1000;
	
}
.dropdown li {
	display: block;
	padding: 0px 20px;
}
.dropdown li:last-child {
	padding-bottom: 10px;
}


.about .head {
	display: block;
}
/* ---------- 06 Special Projects ---------- */

/* ---------- Special Projects ---------- */

.specialprojects_main {
    width: 100%;
    padding: 0 5%;
    background: var(--page);
	margin-top: -60px;
	margin-bottom: 60px;
}

.special_projects {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: clamp(35px, 6vw, 60px);
}

/* Image */
.special_projects .project_imgs {
    width: 50%;
    flex: 0 0 50%;
    overflow: hidden;
}

.special_projects .project_imgs img {
    width: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.special_projects .project_imgs:hover img {
    transform: scale(1.035);
}

/* Project Details */
.special_projects .project_details {
    flex: 1;
    min-width: 0;
}

.special_projects .project_details .label {
    position: relative;
    display: block;
    padding-left: 42px;
    margin-bottom: 25px;
    font: 13px/1 var(--title);
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--red);
}

.special_projects .project_details .label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 28px;
    height: 2px;
    background: var(--red);
}

.special_projects .project_details h2 {
    font: normal max(22px, 3.1vh)/1.12 var(--title);
    letter-spacing: -.02em;
    margin-bottom: 25px;
    color: var(--ink);
}

.special_projects .project_details > p:not(.label) {
    max(13px, calc(50 * var(--cp)))/1.44 var(--text)
    color: var(--soft);
    margin-bottom: 25px;
    max-width: 550px;
}

/* Second project: Text Left, Image Right */
.special_projects.reverse {
    flex-direction: row-reverse;
}

/* Mobile and Tablet */
@media (max-width: 999px) {

    .specialprojects_main {
        padding: 50px clamp(20px, 5vw, 56px);
    }

    .special_projects,
    .special_projects.reverse {
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        margin-bottom: 65px;
    }

    .special_projects .project_imgs {
        width: 100%;
        flex: none;
    }

    .special_projects .project_imgs img {
        height: clamp(240px, 55vw, 420px);
    }

    .special_projects .project_details {
        width: 100%;
    }

    .special_projects .project_details h2 {
        font-size: clamp(27px, 5vw, 38px);
    }

    .special_projects .project_details > p:not(.label) {
        font-size: 15px;
    }
    .mob_hide{
		display: none;
	}
	
	.pt_4
	{
		padding-top:auto;
	}
}

@media (max-width: 480px) {

    .specialprojects_main {
        padding: 35px 20px;
    }

    .special_projects {
        margin-bottom: 55px;
    }

    .special_projects .project_imgs img {
        height: 260px;
    }

	.break-cube .ccur-lg {
		flex-direction: column;
	}
	.break-cube .ccur-lg .cur:first-child {
	  padding-right: 20px;
	  border-right: 0 !important;
	}
	.break-cube .ccur-lg .cur:last-child {
	  padding-left: 0px !important;
		margin-top: 20px;
	}
	
}




@media (min-width: 560px) { 
	.tagline { display: block; }
	
}
@media (min-width: 1100px) {
    .top { min-height: 76px; gap: 28px; padding: 0 40px; }
    .top .logo img { height: 76px; }
    .nav { display: flex; position: static; flex: 1; flex-direction: row; justify-content: center; gap: 0 20px; padding: 0; background: none; border: 0; }
    .nav a { min-height: 44px; font-size: 11.5px; letter-spacing: .12em; white-space: nowrap; }
    .nav-btn { display: none; }
    .bien-logo { height: 38px; margin-left: 0; }
	
.menu:hover .dropdown {
	opacity: 1;
	transition: 0.5s all ease;
	top: 100%;
	display: block;
	left: 0;
}
}

@media (max-width: 1099px) {
    .menu > .dropdown {
		position: static;
		display: none;
	}	
	
	.menu > .dropdown.show {
		display: block;
	opacity: 1;
	}
	
	.dropdown {
		margin-left: 30px;
		border-left: 2px solid var(--terracotta);		
	}
	.dropdown li {
	  padding: 0px 12px;
	}
	
}


@media (min-width: 1100px) and (max-width: 1320px) { .tagline { display: none; } .nav { gap: 0 16px; } }

/* ==========================================================
   section dots (white; the current one a terracotta bar) and the ↑ ↓ keys
   ========================================================== */
.side, .keys { display: none; }
@media (min-width: 1000px) {
    .side { display: flex; flex-direction: column; align-items: center; gap: 2px; position: fixed; z-index: 6; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; }
    .side a { position: relative; width: 30px; height: 26px; display: grid; place-items: center; }
    .side i { width: 8px; height: 8px; border-radius: 999px; background: #fff; transition: height .35s cubic-bezier(.16,1,.3,1), background .25s; }
    .side a:hover i { background: var(--paper); }
    .side a.is-on i { height: 22px; background: var(--terracotta); }
    .side em {
        position: absolute; right: 40px; top: 50%; transform: translate(6px, -50%); white-space: nowrap; pointer-events: none;
        font: 500 14px/1 var(--title); font-style: normal; background: var(--paper); padding: 8px 12px; border-radius: 999px;
        box-shadow: 0 4px 14px rgba(28,27,26,.12); opacity: 0; transition: opacity .2s, transform .2s;
    }
    .side a:hover em { opacity: 1; transform: translate(0, -50%); }
    .keys { display: flex; flex-direction: column; align-items: center; position: fixed; z-index: 6; right: 20px; top: calc(50% + 106px); width: 30px; }
    .keys button { width: 30px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; color: rgba(255,255,255,.85); font: 15px/1 var(--title); text-shadow: 0 1px 3px rgba(0,0,0,.35); }
    .keys button:hover { color: #fff; }
}

/* ==========================================================
   sections: one screen each, things placed as in the 3D rooms
   ========================================================== */
.sec { position: relative; height: 100vh; overflow: hidden; }
.sec > * { position: absolute; }

/* the heading printed on each wall: a red rule and label, a large line on the left, a paragraph on the right.
   --cp is one pixel of the original 3600-pixel-wide printed heading */
.head { --cp: .03158vh; left: calc(50% + var(--shift)); width: calc(3600 * var(--cp)); height: calc(520 * var(--cp)); transform: translateX(-50%); }
.label {
    position: absolute; left: calc(200 * var(--cp)); top: calc(22 * var(--cp));
    font: calc(52 * var(--cp))/1 var(--title); letter-spacing: calc(14 * var(--cp)); text-transform: uppercase; color: var(--red);
}
.label::before { content: ""; position: absolute; left: calc(-200 * var(--cp)); top: calc(18 * var(--cp)); width: calc(150 * var(--cp)); height: calc(8 * var(--cp)); background: var(--red); }
.head h2 { position: absolute; left: 0; top: calc(150 * var(--cp)); width: calc(1850 * var(--cp)); font: 500 calc(130 * var(--cp))/calc(160 * var(--cp)) var(--title); letter-spacing: calc(-2 * var(--cp)); font-weight: normal; }
.head-right { position: absolute; left: calc(2050 * var(--cp)); top: calc(72 * var(--cp)); width: calc(1550 * var(--cp)); font: max(13px, calc(50 * var(--cp)))/1.44 var(--text); color: var(--soft); }

/* ---------- 01 ADFF:STIR Delhi: the announcement ----------
   The festival and Biennale panels stand either side, turned in towards the middle.
   Between them the four a·d·f·f strips hang apart on fine wires. No shadows, no motion.
   --u is one step of the whole group. */
.standees {
    --u: min(1vh, calc((100vw - 190px) / 152)); --ink: #1f1d1b;
    left: calc(50% + var(--shift)); top: 54%; transform: translate(-50%, -50%);
    perspective: calc(190 * var(--u));
}
.stage { display: flex; align-items: center; gap: calc(6 * var(--u)); transform-style: preserve-3d; }
.panel { position: relative; margin: 0; transform-style: preserve-3d; }
.panel img { display: block; max-width: none; width: calc(46 * var(--u)); height: calc(27.6 * var(--u)); }
/* a dark frame round each banner, as round the film posters */
.panel img { border: max(2px, calc(.24 * var(--u))) solid #1c1b1a; }
.panel.left { transform: rotateY(20deg); transform-origin: right center; }
.panel.right { transform: rotateY(-20deg); transform-origin: left center; }
.strips { display: flex; align-items: flex-start; gap: calc(3.2 * var(--u)); transform-style: preserve-3d; }
.strip { position: relative; margin: 0; translate: 0 calc(var(--y) * var(--u)); }
.strip img { display: block; max-width: none; width: calc(10 * var(--u)); height: auto; }
/* two fine wires up to the ceiling */
.strip::before { content: ""; position: absolute; left: 18%; right: 18%; bottom: 100%; height: 100vh; border: solid rgba(28,27,26,.28); border-width: 0 1px; }

/* ---------- 02 Films: the posters hang in an arc (CSS 3D) ---------- */
.films .head { top: 21.7vh; }
.posters { --f: 5.21vh; --g: calc(1.78 * var(--f)); inset: 0; perspective: calc(25 * var(--f)); perspective-origin: calc(50% + var(--shift)) 50%; transform-style: preserve-3d; pointer-events: none; }
.posters figure {
    position: absolute; left: calc(50% + var(--shift)); top: 50%; margin: 0;
    width: calc(2.22 * var(--g)); height: calc(2.74 * var(--g)); margin-left: calc(-1.11 * var(--g)); margin-top: calc(-1.37 * var(--g));
    transform: translate3d(calc(var(--x) * var(--f)), calc(var(--y) * var(--f)), calc(var(--z) * var(--f))) rotateY(var(--r));
}
/* the black frame is drawn on the picture itself (not the figure), so the posters can fade in without flattening the captions' depth */
.posters img { position: absolute; left: calc(.06 * var(--g)); top: calc(.06 * var(--g)); width: calc(2.1 * var(--g)); height: calc(2.62 * var(--g)); object-fit: cover; box-shadow: 0 0 0 max(2px, calc(.025 * var(--g))) #1c1b1a; }
/* each caption no wider than its poster, wrapping onto a second line rather than running into the next one */
.posters figcaption { position: absolute; left: 50%; top: calc(2.92 * var(--g)); width: calc(2.1 * var(--g)); transform: translateX(-50%) translateZ(calc(1.6 * var(--f))); text-align: center; }
/* the captions sit a little in front of their posters in depth, so a nearer poster never cuts into its neighbour's title */
@media (min-width: 1000px) and (min-aspect-ratio: 5/4) { .posters figure, .posters figure a { transform-style: preserve-3d; } }
.posters strong { display: block; font: max(13px, calc(.197 * var(--g)))/1.15 var(--title); font-weight: normal; text-wrap: balance; font-style: italic; }
.posters span { display: block; margin-top: calc(.07 * var(--g)); font: max(10px, calc(.117 * var(--g)))/1.3 var(--text); color: var(--muted); text-wrap: balance; }

/* ---------- 03 Pavilion Park: rows down the page, a model on one side and its information on the other ---------- */
.pavilions { height: 385vh; }
.pavilions .head { top: 8.7vh; }
.pav { --p: 4.49vh; inset: 0; pointer-events: none; }
.pav-model { position: absolute; left: clamp(33vh, calc(50% + var(--shift) + var(--mx) * var(--p)), calc(100% - 33vh)); top: calc(var(--base) - 16vh); width: 64vh; height: 42vh; transform: translate(-50%, -50%); pointer-events: auto; cursor: grab; touch-action: pan-y; }
.pav-model:active { cursor: grabbing; }
.pav-model canvas { display: block; width: 100%; height: 100%; }
.pav-info { --cp: .0365vh; position: absolute; left: calc(50% + var(--shift) + (var(--ix) - 6.5) * var(--p)); top: var(--itop); width: calc(1600 * var(--cp)); pointer-events: auto; }
.pav-n { padding-top: calc(36 * var(--cp)); font: max(12px, calc(44 * var(--cp)))/1.2 var(--title); color: var(--red); }
.pav h3 { margin-top: calc(36 * var(--cp)); font: max(26px, calc(112 * var(--cp)))/1.1 var(--title); font-weight: normal; white-space: nowrap; }
.pav-who { margin-top: calc(40 * var(--cp)); font: max(11px, calc(40 * var(--cp)))/1.3 var(--title); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.pav-info > p:not([class]) { margin-top: calc(50 * var(--cp)); max-width: calc(1500 * var(--cp)); font: max(13px, calc(46 * var(--cp)))/1.45 var(--text); color: var(--soft); }
.pill {
    display: inline-flex; align-items: center; margin-top: calc(48 * var(--cp)); min-height: max(30px, calc(90 * var(--cp))); padding: 0 max(14px, calc(42 * var(--cp)));
    border: 1px solid var(--ink); border-radius: 4px; text-decoration: none; font: max(12px, calc(40 * var(--cp)))/1 var(--title);
    transition: background .3s, color .3s, border-color .3s;
}
.pill:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }


/* ---------- 05 Break the Cube: the introduction, and three studies on plinths ---------- */
/* the same measure as the other sections' heads (Pavilion Park, Films...): same width, centre and type */
.cube-head { --cp: .03158vh; left: calc(50% + var(--shift)); top: 10.7vh; width: calc(3600 * var(--cp)); height: calc(520 * var(--cp)); transform: translateX(-50%); }
.cube-head h2 { position: absolute; left: 0; top: calc(150 * var(--cp)); width: calc(1850 * var(--cp)); font: 500 calc(130 * var(--cp))/calc(160 * var(--cp)) var(--title); letter-spacing: calc(-2 * var(--cp)); font-weight: normal; }
.cube-head .head-right { left: calc(2050 * var(--cp)); top: calc(72 * var(--cp)); width: calc(1550 * var(--cp)); }
/* the ten cubes as small still windows, five by two: the cubes we have, and the ones still to come.
   Nothing to click or drag here; the Break the Cube page has the models to turn. */
.cgrid { left: calc(50% + var(--shift)); top: 38vh; width: calc(3600 * .03158vh); transform: translateX(-50%); margin: 0; padding: 0; list-style: none;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 4.4vh 5.3vh; }
.cwin { margin: 0; }
.cwin a, .cwin > span { display: block; color: inherit; text-decoration: none; }
.cwin span { display: block; }
.cwin a:hover .cwin-name { color: var(--terracotta); }
.cwin a:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }
.cwin-view { position: relative; aspect-ratio: 1 / 1; background: var(--page); overflow: hidden; }
.cwin-view iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; opacity: 0; transition: opacity .6s ease; }
.cwin-view iframe.on { opacity: 1; }   /* shown once its cube is drawn */
.cwin.soon .cwin-view { display: grid; place-items: center; align-content: center; gap: 1.2vh; }
.cwin.soon svg { width: 34%; fill: none; stroke: rgba(28,27,26,.22); stroke-width: 1.2; stroke-linejoin: round; }
.cwin.soon .cwin-view span { font: max(9px, 1vh)/1 var(--title); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cwin-n { margin: 1.4vh 0 0; font: max(11px, 1.25vh)/1 var(--title); letter-spacing: .14em; color: var(--red); }
.cwin-name { margin: .8vh 0 0; font: max(13px, 1.7vh)/1.2 var(--title); color: var(--ink); }
.cwin-by { margin: .5vh 0 0; font: max(10px, 1.15vh)/1.35 var(--text); color: var(--muted); }
.cwin.soon .cwin-name { color: var(--muted); }

/* ---------- 02b Auditoriums: the two pavilions as models, side by side ---------- */
.auditoriums .head { top: 9.7vh; }
.auds { left: calc(50% + var(--shift)); top: 30vh; transform: translateX(-50%); width: 113.7vh; display: grid; grid-template-columns: 1fr 1fr; gap: 3vh; }
.aud { margin: 0; }
.aud-view { position: relative; display: block; background: none; }
.aud-view iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.aud figcaption a { display: grid; gap: .7vh; padding-top: 12px; text-decoration: none; color: var(--ink); }
.aud figcaption b { font: max(10px, 1.15vh)/1 var(--title); letter-spacing: .2em; text-transform: uppercase; color: var(--red); font-weight: normal; }
.aud figcaption strong { font: normal max(17px, 2.4vh)/1.1 var(--title); }
.aud figcaption span { font: max(12px, 1.35vh)/1.3 var(--text); color: var(--muted); transition: color .3s; }
.aud figcaption a:hover span { color: var(--terracotta); }

/* ---------- 06 Highlights: a large framed screen ---------- */
.highlights .head { top: 9.7vh; }
.screen {
    --c: 3.83vh; left: calc(50% + var(--shift)); top: 49.6vh; transform: translate(-50%, -50%);
    width: calc(22.2 * var(--c)); height: calc(13.01 * var(--c)); background: #3a3734; box-shadow: 0 2vh 4vh -2.5vh rgba(0,0,0,.45);
    display: grid; place-items: center; text-decoration: none;
}
.screen::before { content: ""; position: absolute; width: calc(21.3 * var(--c)); height: calc(12.11 * var(--c)); background: #1f1d1b; }
.screen-card, .screen-film { --cp: .05025vh; position: absolute; width: calc(21 * var(--c)); height: calc(11.81 * var(--c)); }
.screen-card { background: #141312; color: #efe6d6; text-align: center; }
.screen-card b { display: block; padding-top: calc(386 * var(--cp)); font: normal calc(44 * var(--cp))/1 var(--title); text-transform: uppercase; }
.screen-card > span { text-transform: uppercase; }
.screen-card > span { display: block; margin-top: calc(28 * var(--cp)); font: calc(30 * var(--cp))/1 var(--text); color: rgba(239,230,214,.65); }
.screen-card i { display: block; width: 0; height: 0; margin: calc(57 * var(--cp)) auto 0 calc(770 * var(--cp)); border-left: calc(70 * var(--cp)) solid #e2553a; border-top: calc(40 * var(--cp)) solid transparent; border-bottom: calc(40 * var(--cp)) solid transparent; }
.screen-card em { display: block; margin-top: calc(58 * var(--cp)); font: normal calc(30 * var(--cp))/1 var(--title); color: rgba(239,230,214,.85); }
.screen-film { opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.screen-film.on { opacity: 1; pointer-events: auto; }
.screen-film iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 07 ~log(ue): the speakers drift past in one row ---------- */
.logue .head { top: 26.7vh; }
.speakers { --l: 3.22vh; left: 0; right: 0; top: calc(61.7vh - 4.3 * var(--l)); height: calc(8.6 * var(--l)); }
.speakers-row { position: absolute; left: calc(50% + var(--shift) - 46.2 * var(--l)); top: 0; display: flex; gap: calc(.8 * var(--l)); will-change: transform; }
.speaker { width: calc(6.3 * var(--l)); height: calc(8.6 * var(--l)); padding: calc(.35 * var(--l)) calc(.35 * var(--l)) calc(.2 * var(--l)); box-sizing: border-box; background: #fff; flex: none; }   /* a wider white border round the photo */
.speaker img { display: block; width: calc(5.6 * var(--l)); height: calc(6.72 * var(--l)); object-fit: cover; object-position: 50% 0; }   /* crop from the bottom, never the head */   /* rectangular photos (images/speakers/rect) */
.speaker b { display: grid; place-items: center; height: calc(1.094 * var(--l)); font: normal calc(.503 * var(--l))/1 var(--title); white-space: nowrap; }

/* ==========================================================
   footer: a dark closing band
   ========================================================== */
.foot { display: grid; grid-template-columns: 1fr; gap: 36px; padding: 52px 24px 22px; text-align: center; background: #141312; color: rgba(239,231,218,.82); font: 14px/1.6 var(--text); }
@media (min-width: 900px) { .foot { grid-template-columns: 1fr 1.3fr 1fr; gap: 48px; padding: 52px 56px 24px; align-items: start; } }
.fcol { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.fcol p { max-width: 40ch; font-size: 13.5px; color: rgba(239,231,218,.62); }
.foot a { color: #efe7da; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s cubic-bezier(.65,0,.35,1); padding: 3px 0; }
.foot a:hover { background-size: 100% 1px; }
.flogo { width: auto; margin-bottom: 14px; }
.flogo.stirlogo { height: 60px; margin-bottom: 18px; }
.flogo.adff { height: 84px; filter: invert(1); }
.flogo.bien { height: 52px; filter: invert(1) brightness(1.15); }
.flinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; max-width: 46ch; list-style: none; margin: 8px 0 0; padding: 0; }
.flinks a { font: 500 11px/1 var(--title); letter-spacing: .12em; text-transform: uppercase; color: rgba(239,231,218,.5); }
.flinks a:hover { color: #efe7da; }
.fnote { margin-top: 14px !important; padding-top: 14px; border-top: 1px solid rgba(239,231,218,.14); font: 500 10.5px/1 var(--title) !important; letter-spacing: .24em; text-transform: uppercase; color: rgba(239,231,218,.45) !important; min-width: 220px; }
.sel { user-select: all; }
.fbase { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid rgba(239,231,218,.12); font: 12px/1 var(--text); color: rgba(239,231,218,.45); }
.foot .to-top { display: inline-flex; align-items: center; gap: 14px; background: none; font: 500 11px/1 var(--title); letter-spacing: .24em; text-transform: uppercase; color: rgba(239,231,218,.8); }
.to-top-ring { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 4px; border: 1px solid rgba(239,231,218,.4); font-size: 15px; letter-spacing: 0; transition: background .35s, color .35s, transform .45s cubic-bezier(.65,0,.35,1); }
.to-top:hover .to-top-ring { background: var(--terracotta); border-color: var(--terracotta); color: #fff; transform: translateY(-4px); }

/* ==========================================================
   loading screen: the two logos
   ========================================================== */
.loading { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; background: var(--paper); transition: opacity .8s ease; }
.loading.is-done { opacity: 0; pointer-events: none; }
.seen .loading { display: none; }
.load-logos { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 4vw, 48px); padding-inline: 16px; }
.load-adff { height: clamp(64px, 9vw, 104px); width: auto; }
.load-bien { height: clamp(52px, 7.4vw, 86px); width: auto; }
.load-rule { align-self: stretch; width: 1px; background: rgba(28,27,26,.3); }

/* ==========================================================
   tablets, phones and narrow windows: the same content, flowing
   down the page (the 3D-room layout above needs a wide screen)
   ========================================================== */
@media (max-width: 999px), (max-aspect-ratio: 5/4) {
    :root { --shift: 0px; --gut: clamp(20px, 5vw, 56px); }
    .side, .keys { display: none; }
    .sec, .pavilions { height: auto; overflow: hidden; padding: clamp(40px, 13vw, 128px) var(--gut) clamp(48px, 8vw, 88px); }
    .sec > * { position: relative; left: auto; right: auto; top: auto; transform: none; }
    .sec .head, .sec .cube-head { top: auto !important; left: auto; transform: none; }

    /* headings: label and line, then the paragraph (side by side on tablets) */
    .head, .cube-head { width: auto; height: auto; max-width: 1100px; margin: 0 auto clamp(28px, 5vw, 48px); display: grid; gap: 14px 48px; }
    .head-left { position: relative; }
    .label { position: relative; left: auto; top: auto; display: block; padding-left: 44px; font: 13px/1 var(--title); letter-spacing: .22em; }
    .label::before { left: 0; top: 5px; width: 30px; height: 2px; }
    .head h2, .cube-head h2 { position: static; width: auto; margin-top: 16px; font: clamp(30px, 5.2vw, 46px)/1.1 var(--title); letter-spacing: -.01em; }
    .head-right, .cube-head .head-right { position: static; width: auto; font: clamp(15px, 1.9vw, 17px)/1.6 var(--text); }
    @media (min-width: 700px) { .head, .cube-head { grid-template-columns: 1fr 1fr; align-items: end; } }

    /* 01 the banner, full width */
    .hero { padding-top: clamp(84px, 11vw, 110px); }
    .standees { --u: 1px; position: relative; left: auto; top: auto; transform: none; max-width: 1100px; margin: 0 auto; perspective: none; }
    .stage { flex-wrap: wrap; justify-content: center; gap: 36px 24px; }
    .panel { display: none; }   /* (on phones and narrow windows the opening is just the four a·d·f·f strips) */
    .strips { order: 3; flex: 1 1 100%; justify-content: center; gap: clamp(10px, 3vw, 28px); }
    .strip { --u: clamp(2px, .6vw, 6px); width: min(110px, 19vw); }
    .strip img { width: 100%; }
    .strip::before { display: none; }

    /* 02 films: a grid of posters */
    .posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 42vw), 1fr)); gap: 32px clamp(14px, 3vw, 28px); max-width: 1100px; margin: 0 auto; perspective: none; pointer-events: auto; }
    .posters figure { position: static; width: auto; height: auto; margin: 0; background: none; transform: none; }
    .posters img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 5; border: 2px solid #1c1b1a; box-shadow: 0 14px 28px -18px rgba(28,27,26,.5); }
    .posters figcaption { position: static; width: auto; margin-top: 12px; transform: none; text-align: left; }
    .posters strong { font-size: 15px; white-space: normal; }
    .posters span { font-size: 13px; white-space: normal; }

    /* 03 pavilion park: a model, then its information; side by side, alternating, on tablets */
    .pav { display: grid; gap: 8px 40px; align-items: center; max-width: 1100px; margin: 0 auto clamp(48px, 8vw, 80px); pointer-events: auto; }
    .pav-model, .pav-info { position: relative; left: auto; top: auto; transform: none; }
    .pav-model { width: 100%; height: clamp(260px, 52vw, 440px); }
    .pav-info { width: auto; }
    .pav h3 { font-size: clamp(26px, 4vw, 36px); white-space: normal; }
    .pav-n, .pav-who { font-size: 13px; }
    .pav-info > p:not([class]) { max-width: 52ch; font-size: 15px; }
    .pill { font-size: 13px; min-height: 38px; padding: 0 18px; }
    @media (min-width: 700px) {
        .pav { grid-template-columns: 1.15fr 1fr; }
        .pav:nth-of-type(even) .pav-model { order: 2; }
        .pav-model { height: clamp(300px, 40vw, 460px); }
    }


    /* 05 break the cube: each study with its number and line beneath it */
    .cgrid { left: auto; top: auto; transform: none; width: auto; max-width: 1100px; margin: 0 auto; grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
    @media (min-width: 700px) { .cgrid { grid-template-columns: repeat(4, 1fr); } }
    .cwin.soon .cwin-view { gap: 8px; }
    .cwin-n { margin-top: 10px; font-size: 11px; }
    .cwin-name { margin-top: 6px; font-size: 15px; }
    .cwin-by { margin-top: 4px; font-size: 12px; }
    .cwin.soon .cwin-view span { font-size: 9px; }

    /* 02b auditoriums: the two models, stacked on a phone */
    .auds { width: auto; margin-top: 36px; gap: 28px 20px; }
    .aud-view { height: auto; /*aspect-ratio: 4 / 3;*/ }
    .aud figcaption a { gap: 6px; padding-top: 14px; }
    .aud figcaption b { font-size: 11px; } .aud figcaption strong { font-size: 20px; } .aud figcaption span { font-size: 13px; }
    /* 06 highlights: the screen, as wide as the page allows */
    .screen { --c: min(3.9vw, 48px); margin: 0 auto; }
    .screen-card, .screen-film { --cp: calc(var(--c) * .013125); }

    /* 07 ~log(ue): the row of speakers, sized to the screen */
    .logue .speakers { --l: clamp(23px, 5.7vw, 39px); width: auto; height: calc(8.6 * var(--l)); margin: 0 calc(-1 * var(--gut)); }
    .speakers-row { left: 0; }
}

/* ---------- links to the detail pages, under the posters ---------- */
.posters figure a { display: block; pointer-events: auto; color: inherit; text-decoration: none; }
.posters figure:hover img { filter: brightness(1.06); }
.film-links { left: calc(50% + var(--shift)); top: 85vh; transform: translateX(-50%); display: flex; gap: 1.2vh; }
.film-links .pill { --cp: .0365vh; margin-top: 0; background: var(--page); }

/* ---------- 08 Previous editions: two cards ---------- */
.editions .head { top: 14vh; }
.editions .eds { left: calc(50% + var(--shift)); top: 37vh; width: min(113.7vh, calc(100vw - 140px)); transform: translateX(-50%); }
.editions .ed { min-height: 44vh; }
@media (max-width: 999px), (max-aspect-ratio: 5/4) {
    .film-links { justify-content: center; flex-wrap: wrap; margin-top: 36px; }
    .film-links .pill { font-size: 13px; min-height: 38px; padding: 0 18px; }
    .editions .eds { width: auto; max-width: 1100px; margin: 0 auto; }
    .editions .ed { min-height: 320px; }
	
}

/* ---------- 03 Pavilion Park: the quiet viewer ----------
   One live model you can turn any way, a short caption beside it, and all seven in a row beneath.
   Kept to about one screen and quiet in tone, so the films stay the hero. */
.pavilions { height: 100vh; }
.pavilions .head { top: 12vh; }
/* the two co-curators, under the heading */
.pavilions .cocur { position: absolute; left: 0; margin-top: 20px; }
.cocur p { margin: 0 0 1.2vh; font: max(10px, 1.1vh)/1 var(--title); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.cocur > div { display: flex; gap: 2.6vh; }
.cocur figure { display: block; align-items: center; gap: 1.2vh; margin: 0; }
.cocur img { width: 120px; height: 120px; object-fit: cover; object-position: center 20%; border-radius: 0%; }
.cocur figcaption { font: max(13px, 1.55vh)/1.2 var(--title); color: var(--ink); }
.quiet { left: calc(50% + var(--shift)); top: 41vh; width: min(124vh, calc(100vw - 120px)); transform: translateX(-50%); display: grid; grid-template: "view cap" auto "rail rail" auto / 1.7fr 1fr; gap: 3.2vh 4.5vh; align-items: end; }
.qview { grid-area: view; position: relative; height: 51vh; background: transparent; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.qview:active { cursor: grabbing; }
.qview canvas, .qview img { position: absolute; inset: 0; width: 100%; height: 100%; }
.qview canvas { transition: opacity .26s ease; }
.qview.swap canvas { opacity: 0; }
.qview img { object-fit: contain; padding: 8%; transition: opacity .3s; pointer-events: none; }
.qhint { position: absolute; left: 16px; bottom: 14px; font: 10px/1 var(--title); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.qreset { position: absolute; right: 12px; bottom: 10px; padding: 7px 12px; border: 1px solid rgba(28,27,26,.14); border-radius: 4px; background: var(--page); color: var(--soft); cursor: pointer; font: 10px/1 var(--title); letter-spacing: .14em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.qreset:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.qcap { grid-area: cap; padding-bottom: 8px; }
.qn { margin: 0; font: max(11px, 1.2vh)/1 var(--title); letter-spacing: .22em; color: var(--red); }
.qcap h3 { margin: 1.1vh 0 .7vh; font: normal max(22px, 3.1vh)/1.12 var(--title); }
.qby { margin: 0; font: max(11px, 1.2vh)/1.4 var(--title); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.qtext { margin: 1.6vh 0 0; font: max(13px, calc(50 * var(--cp)))/1.44 var(--text); color: var(--soft); max-width: 42ch; }
.qcap .more-link { margin-top: 2vh; font-size: max(11px, 1.2vh); }
.qrail { grid-area: rail; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(28,27,26,.14); }
.qrail .shade { position: absolute; z-index: 0; max-width: none; object-fit: contain; pointer-events: none; filter: brightness(0) blur(2px); opacity: .18 !important; transform: skewX(-50deg) scaleY(.3) !important; }   /* (not touched by the row's hover and current-pavilion styles) */
.qrail .shade + img { position: relative; z-index: 1; }
.qrail button { position: relative; display: grid; gap: 6px; width: 100%; padding: 12px 10px 4px 0; border: 0; background: none; color: var(--muted); cursor: pointer; text-align: left; font: inherit; }
.qrail button::before { content: ""; height: 2px; margin-top: -13px; margin-bottom: 8px; background: transparent; transition: background .3s; }
.qrail img { width: 100%; height: 21vh; object-fit: contain; opacity: 1; scale: 1.17; transform-origin: 50% 70%; transition: opacity .3s, transform .5s cubic-bezier(.16,1,.3,1); }
.qrail b { font: max(10px, 1.1vh)/1 var(--title); letter-spacing: .18em; }
.qrail span { font: max(11px, 1.3vh)/1.3 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qrail button:hover img, .qrail button:focus-visible img { opacity: 1; transform: translateY(-3px); }
.qrail button:hover, .qrail button.on { color: var(--ink); }
.qrail button.on img { opacity: 1; }
/* the line under the current pavilion fills up as it counts down to the next */
.qrail button.on::before { background: rgba(175,51,33,.18) linear-gradient(var(--terracotta), var(--terracotta)) no-repeat 0 0 / calc(var(--t, 1) * 100%) 100%; }
@media (max-width: 999px), (max-aspect-ratio: 5/4) {
    .pavilions { height: auto; }
    .pavilions .cocur { position: static; margin-top: 22px; }
    .cocur p { margin-bottom: 10px; font-size: 10px; }
    .cocur > div { gap: 22px; flex-wrap: wrap; }
    .cocur figure { gap: 10px; }
    .cocur img { width: 110px; height: 110px; }
    .cocur figcaption { font-size: 15px; }
    .quiet { left: auto; top: auto; transform: none; width: auto; max-width: 1100px; margin: 0 auto; grid-template: "view" auto "cap" auto "rail" auto / 1fr; gap: 18px; }
    .qview { height: auto; aspect-ratio: 4 / 3; }
    .qcap h3 { font-size: clamp(22px, 5vw, 30px); }
    .qrail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44vw; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); scroll-padding: 0 var(--gut); scroll-snap-type: x proximity; }
    .qrail::-webkit-scrollbar { display: none; }
    .qrail li { scroll-snap-align: start; }
    .qrail img { height: 160px; }
}
@media (min-width: 700px) and (max-width: 999px), (min-width: 700px) and (max-aspect-ratio: 5/4) {
    .qrail { grid-auto-columns: 15vw; }
}

/* ---------- each section as tall as what is in it ----------
   js/main.js measures each section's content and sets its height and --lift,
   so there is the same short gap between every section instead of a full screen each */
@media (min-width: 1000px) and (min-aspect-ratio: 5/4) {
    .sec.fit > * { margin-top: calc(-1 * var(--lift, 0px)); }   /* a margin, not a translate: GSAP folds a translate into its own animations */
}
@media (min-width: 1000px) and (min-aspect-ratio: 5/4) {
    /* placed against a full screen, so they keep a full screen's frame when a section is trimmed */
    .sec.fit > .posters { bottom: auto; height: 100vh; }
    .sec.fit > .standees { top: 54vh; }
}

@media (max-width: 699px) { .auds { grid-template-columns: 1fr; } }
.qrail li:nth-child(5) img:not(.shade) { scale: 1.04; }   /* The Bridge | The Canopy is the widest; kept clear of its neighbours */

/* ==================== Part 2: the other pages ==================== */
/* ==========================================================
   ADFF:STIR Delhi — detail pages (Films, a film, the Auditoriums)
   Ordinary scrolling pages in the same identity as the home page:
   the same header, footer, fonts and colours (from style.css).
   ========================================================== */
.page { padding: 132px clamp(20px, 5vw, 72px) 96px; max-width: 1360px; margin: 0 auto; }
@media (max-width: 1099px) { .page { padding-top: 104px; } }

/* breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none; font: 500 11px/1 var(--title); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(28,27,26,.3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--terracotta); }

/* page heading: the red rule and label, a large line, a paragraph */
.dhead { display: grid; gap: 18px 64px; margin-bottom: 56px; }
@media (min-width: 900px) { .dhead { grid-template-columns: 1.15fr 1fr; align-items: end; } }
.dlabel { position: relative; display: block; padding-left: 44px; font: 13px/1 var(--title); letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.dlabel::before { content: ""; position: absolute; left: 0; top: 5px; width: 30px; height: 2px; background: var(--red); }
.dhead h1 { margin: 18px 0 0; font: clamp(34px, 4.4vw, 60px)/1.06 var(--title); font-weight: normal; letter-spacing: -.015em; }
.dhead p { font: clamp(15px, 1.15vw, 17px)/1.7 var(--text); color: var(--soft); max-width: 52ch; }

/* pills (the home page's .pill, at a fixed size) */
.dpill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 4px; text-decoration: none; font: 13px/1 var(--title); color: var(--ink); background: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.dpill.is-on { background: var(--ink); color: var(--page); }
.dpill:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.dpill.solid { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.dpill.solid:hover { background: var(--red); border-color: var(--red); }

/* ---------- Films: filters and the grid of posters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; padding-bottom: 28px; border-bottom: 1px solid rgba(28,27,26,.12); }
.filters .dpill { min-height: 34px; padding: 0 16px; font-size: 12px; letter-spacing: .04em; }
.count { margin-left: auto; align-self: center; font: 12px/1 var(--title); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 42vw), 1fr)); gap: 48px clamp(16px, 2.4vw, 36px); margin: 0; padding: 0; list-style: none; }
.fcard a { display: block; text-decoration: none; }
.frame { position: relative; display: block; padding: 6px; background: #1c1b1a; box-shadow: 0 18px 32px -22px rgba(28,27,26,.6); overflow: hidden; }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .9s cubic-bezier(.16,1,.3,1), filter .5s; }
.fcard a:hover .frame img { transform: scale(1.04); }
.frame .tag3d { position: absolute; top: 14px; right: 14px; padding: 4px 8px 3px; background: var(--terracotta); color: #fff; font: 10px/1.2 var(--title); letter-spacing: .1em; }
.fcard .num { display: block; margin-top: 16px; font: 11px/1 var(--title); letter-spacing: .18em; color: var(--red); }
.fcard strong { display: block; margin-top: 8px; font: 18px/1.2 var(--title); font-weight: normal; }
.fcard .by { display: block; margin-top: 6px; font: 13.5px/1.4 var(--text); color: var(--muted); }
.fcard .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { padding: 4px 9px 3px; border-radius: 3px; background: #ece5da; font: 10.5px/1.2 var(--title); letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.chip.time { background: none; border: 1px solid rgba(28,27,26,.2); }
.fcard[hidden] { display: none; }

/* ---------- a film ---------- */
.film { display: grid; gap: 40px clamp(32px, 5vw, 88px); }
@media (min-width: 900px) { .film { grid-template-columns: minmax(280px, 5fr) 7fr; align-items: start; } .film .poster { position: sticky; top: 112px; } }
.poster .frame { padding: 8px; }
/* a film's page, laid out as on the earlier site */
.fpage { display: block; }
.fp-head .film-n { margin: 0; }
.fp-head h1 { margin: 12px 0 0; font: normal clamp(30px, 3.2vw, 46px)/1.08 var(--title); letter-spacing: -.015em; }   /* (as a cube or pavilion page) */
.fp-spec { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 22px 0 0; padding: 16px 0; border-top: 1px solid rgba(28,27,26,.14); border-bottom: 1px solid rgba(28,27,26,.14); }
.fp-spec dt { font: 10px/1 var(--title); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.fp-spec dd { margin: 7px 0 0; font: 14.5px/1.35 var(--text); color: var(--ink); }
.fp-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: clamp(28px, 3.5vw, 56px); margin-top: 36px; align-items: start; }
.fp-trailer { position: relative; aspect-ratio: 16 / 9; background: #1c1b1a; overflow: hidden; }
.fp-trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fp-sound { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; border-radius: 4px; background: rgba(248,246,242,.92); color: var(--ink); cursor: pointer; font: 10.5px/1 var(--title); letter-spacing: .16em; text-transform: uppercase; transition: background .3s, color .3s; }
.fp-sound:hover { background: var(--terracotta); color: #fff; }
.fp-sound i { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
.fp-trailer.is-none { display: grid; place-items: center; }
.fp-none-still { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(14px) brightness(.45); }
.fp-none { position: relative; max-width: 42ch; padding: 24px; text-align: center; color: #F2EBDF; }
.fp-none p { margin: 0 0 10px; font: 15px/1.6 var(--text); }
.fp-none .fp-none-title { font: 20px/1.2 var(--title); color: #fff; }
.fp-none .more-link { color: #f0b9a8; }
.fp-label { margin: 0 0 12px; font: 10.5px/1 var(--title); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.fp-about { margin-top: 30px; max-width: 70ch; }
.fp-about p:not(.fp-label) { margin: 0; font: clamp(15px, 1.15vw, 17px)/1.7 var(--text); color: var(--soft); }
.fp-shows { padding: 22px 24px; background: #efe9e0; }
.fp-shows h2 { margin: 0 0 16px; font: normal 24px/1.1 var(--title); }
.fp-show { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(28,27,26,.14); border-bottom: 1px solid rgba(28,27,26,.14); margin-bottom: 16px; }
.fp-date { display: grid; justify-items: center; min-width: 54px; }
.fp-date b { font: normal 30px/1 var(--title); color: var(--terracotta); }
.fp-date small, .fp-where small { font: 10px/1.4 var(--title); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fp-where { display: grid; gap: 4px; }
.fp-where strong { font: normal 15px/1.35 var(--title); color: var(--ink); }
.fp-poster { position: relative; margin-top: 24px; }
.fp-poster img { display: block; width: 100%; box-shadow: 0 0 0 2px #1c1b1a; }
.fp-poster .tag3d { position: absolute; top: 10px; right: 10px; }
@media (max-width: 899px) { .fp-layout { grid-template-columns: 1fr; } .fp-poster { max-width: 260px; } }
.film-n { font: 12px/1 var(--title); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.film h1 { margin: 16px 0 10px; font: clamp(34px, 4.4vw, 62px)/1.04 var(--title); font-weight: normal; letter-spacing: -.02em; }
.film .who { font: 14px/1.3 var(--title); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 36px 0; border-top: 1px solid rgba(28,27,26,.14); }
.facts div { padding: 16px 16px 18px 0; border-bottom: 1px solid rgba(28,27,26,.14); }
.facts dt { font: 10.5px/1 var(--title); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 10px 0 0; font: 17px/1.3 var(--title); }
.facts dd.tba { color: var(--muted); }
.synopsis { font: clamp(16px, 1.3vw, 19px)/1.65 var(--text); color: var(--soft); max-width: 60ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* the screening card: when and where it plays */
.screening { margin-top: 48px; display: grid; grid-template-columns: auto 1fr; background: #efe9e0; }
.screening .day { display: grid; place-items: center; align-content: center; min-width: 128px; padding: 22px; background: var(--terracotta); color: #fff; text-align: center; }
.screening .day b { display: block; font: 44px/1 var(--title); font-weight: normal; }
.screening .day span { display: block; margin-top: 8px; font: 10.5px/1 var(--title); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.screening .where { padding: 22px 26px; }
.screening .where p { font: 11px/1 var(--title); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.screening .where strong { display: block; margin-top: 10px; font: 22px/1.2 var(--title); font-weight: normal; }
.screening .where span { display: block; margin-top: 8px; font: 14px/1.5 var(--text); color: var(--muted); }
.screening .where a { color: var(--ink); }

/* other films, and the previous / next film */
.more { margin-top: 112px; padding-top: 48px; border-top: 1px solid rgba(28,27,26,.14); }
.more h2 { margin-bottom: 32px; font: clamp(24px, 2.4vw, 34px)/1.1 var(--title); font-weight: normal; }
.more .fgrid { grid-template-columns: repeat(auto-fill, minmax(min(200px, 42vw), 1fr)); }
.pager { display: flex; justify-content: space-between; gap: 20px; margin-top: 72px; }
.pager a { display: grid; gap: 8px; max-width: 45%; text-decoration: none; }
.pager a:last-child { text-align: right; }
.pager small { font: 11px/1 var(--title); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pager b { font: normal clamp(16px, 1.6vw, 22px)/1.2 var(--title); }
.pager a:hover b { color: var(--terracotta); }

/* ---------- the auditoriums ---------- */
.halls { display: grid; gap: 28px; }
@media (min-width: 900px) { .halls { grid-template-columns: 1fr 1fr; } }
.hall { display: flex; flex-direction: column; background: #efe9e0; }
.hall:nth-child(2) { background: #f6e4dc; }
.hall-top { position: relative; min-height: 220px; padding: 28px 32px; background: #1c1b1a; color: #efe7da; overflow: hidden; }
.hall:nth-child(2) .hall-top { background: var(--terracotta); }
.hall-top .big { position: absolute; right: 18px; bottom: -34px; font: 210px/1 var(--title); letter-spacing: -.04em; color: rgba(239,231,218,.12); }
.hall-top p { font: 11px/1 var(--title); letter-spacing: .22em; text-transform: uppercase; color: rgba(239,231,218,.7); }
.hall-top h2 { margin-top: 14px; font: clamp(28px, 2.8vw, 40px)/1.05 var(--title); font-weight: normal; }
.hall-top span { display: block; margin-top: 12px; max-width: 34ch; font: 14.5px/1.55 var(--text); color: rgba(239,231,218,.78); }
.hall .facts { margin: 0; padding: 4px 32px 0; border: 0; grid-template-columns: 1fr 1fr; }
.hall-body { padding: 26px 32px 32px; flex: 1; display: flex; flex-direction: column; }
.hall-body h3 { font: 11px/1 var(--title); letter-spacing: .22em; text-transform: uppercase; color: var(--red); }

/* the day tabs and each day's screenings */
.tabs { display: flex; gap: 6px; margin: 16px 0 6px; }
.tabs button { flex: 1; padding: 12px 0 10px; border: 0; background: rgba(28,27,26,.07); cursor: pointer; font: 22px/1 var(--title); color: var(--soft); transition: background .3s, color .3s; }
.tabs button small { display: block; margin-top: 6px; font: 9.5px/1 var(--title); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.tabs button.is-on { background: var(--ink); color: #fff; }
.tabs button.is-on small { color: rgba(255,255,255,.7); }
.slots { margin: 0; padding: 0; list-style: none; }
.slots li { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid rgba(28,27,26,.1); }
.slots time { font: 14px/1.2 var(--title); color: var(--red); }
.slots strong { font: normal 15px/1.3 var(--title); }
.slots span { font: 12px/1.3 var(--text); color: var(--muted); }
.slots li.tba strong, .slots li.tba time { color: rgba(28,27,26,.35); }
.slots-note { margin-top: 14px; font: 13px/1.5 var(--text); color: var(--muted); }
.hall-body .dpill { margin-top: auto; align-self: flex-start; }
.hall-body .slots-note + .dpill { margin-top: 24px; }

/* getting there */
.visit { margin-top: 28px; display: grid; gap: 20px 48px; padding: 32px; background: #1c1b1a; color: #efe7da; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr auto; align-items: center; } }
.visit p { font: 11px/1 var(--title); letter-spacing: .22em; text-transform: uppercase; color: #e2553a; }
.visit strong { display: block; margin-top: 10px; font: normal 22px/1.25 var(--title); }
.visit span { font: 14.5px/1.6 var(--text); color: rgba(239,231,218,.72); }
.visit .dpill { border-color: rgba(239,231,218,.5); color: #efe7da; }
.visit .dpill:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }

/* ---------- previous editions (on the home page and the detail pages) ---------- */
.eds { display: grid; gap: 24px; }
@media (min-width: 800px) { .eds { grid-template-columns: 1fr 1fr; } }
.ed { position: relative; display: flex; flex-direction: column; min-height: 340px; padding: 30px 32px 28px; background: #1c1b1a; color: #efe7da; overflow: hidden; }
.ed + .ed { background: #efe9e0; color: var(--ink); }
.ed .yr { position: absolute; right: -10px; top: -26px; font: 190px/1 var(--title); letter-spacing: -.05em; color: rgba(239,231,218,.08); pointer-events: none; }
.ed + .ed .yr { color: rgba(28,27,26,.07); }
.ed .ed-n { font: 11px/1 var(--title); letter-spacing: .22em; text-transform: uppercase; color: #e2553a; }
.ed + .ed .ed-n { color: var(--red); }
.ed h3 { margin-top: 14px; font: normal clamp(26px, 2.4vw, 36px)/1.05 var(--title); }
.ed .ed-where { margin-top: 10px; font: 14px/1.5 var(--text); opacity: .72; }
.ed .ed-stats { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid currentColor; border-color: rgba(127,120,110,.35); list-style: none; font: 13px/1.3 var(--title); column-gap: 32px; }
.ed .ed-stats b { display: block; font: normal 26px/1 var(--title); color: #e2553a; }
.ed + .ed .ed-stats b { color: var(--terracotta); }
.ed .ed-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: auto 0 0; padding: 28px 0 0; list-style: none; }
.ed .ed-links a { font: 11.5px/1.6 var(--title); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; opacity: .75; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s cubic-bezier(.65,0,.35,1), opacity .3s; }
.ed .ed-links a:hover { opacity: 1; background-size: 100% 1px; }
.ed .ed-links .go { opacity: 1; color: #e2553a; }
.ed + .ed .ed-links .go { color: var(--terracotta); }
.eds-wrap { margin-top: 112px; padding-top: 48px; border-top: 1px solid rgba(28,27,26,.14); }
.eds-wrap h2 { margin-bottom: 32px; font: normal clamp(24px, 2.4vw, 34px)/1.1 var(--title); }

/* gentle arrival */
@media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise 1.2s cubic-bezier(.16,1,.3,1) both; }
    @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
}

/* ---------- Pavilion Park: the seven pavilions ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 56px clamp(16px, 2.4vw, 36px); margin: 0; padding: 0; list-style: none; }
.pcard a { display: block; text-decoration: none; }
/* the pavilion stills' cast shadow (js/shade.js): a flattened, slanted black copy behind the picture */
.shade { position: absolute; z-index: 0; max-width: none; object-fit: contain; pointer-events: none; filter: brightness(0) blur(3px); opacity: .2; transform: skewX(-50deg) scaleY(.3); }
.shade + img { position: relative; z-index: 1; }
.pstage { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid rgba(28,27,26,.12); }
.pstage img { width: 88%; height: 88%; object-fit: contain; transition: transform .9s cubic-bezier(.16,1,.3,1); }
.pcard a:hover .pstage img:not(.shade) { transform: scale(1.05); }
.pcard .num { display: block; margin-top: 16px; font: 11px/1 var(--title); letter-spacing: .18em; color: var(--red); }
.pcard strong { display: block; margin-top: 8px; font: normal 22px/1.2 var(--title); }
.pcard .by { display: block; margin-top: 6px; font: 11.5px/1.4 var(--title); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.curators { display: flex; flex-wrap: wrap; gap: 8px 40px; margin: -24px 0 48px; font: 14px/1.5 var(--text); color: var(--soft); }
.ccur > div { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 4px; }
.ccur figure { gap: 12px; margin: 0; }
.ccur img { width: 56px; height: 56px; object-fit: cover; object-position: center 20%; }
.ccur figcaption { font: 16px/1.2 var(--title); color: var(--ink); }
.curators b { display: block; font: 10.5px/1 var(--title); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: normal; }

/* a pavilion: the turning model beside its information */
.pturn { position: relative; display: grid; place-items: center; aspect-ratio: 1; cursor: grab; touch-action: pan-y; user-select: none; }
.pturn:active { cursor: grabbing; }
.pturn img { width: 92%; height: 92%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
/* a pavilion's pictures, from the studio's presentation */
.pgallery { margin-top: clamp(64px, 8vw, 110px); }
.pgallery > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; margin-top: 26px; align-items: start; }
.pgallery figure { margin: 0; }
.pgallery figure.wide { grid-column: 1 / -1; }
.pgallery img { display: block; width: 100%; height: auto; background: #fff; }
.pgallery figcaption { margin-top: 10px; font: 12.5px/1.5 var(--text); color: var(--muted); }
@media (max-width: 899px) { .pgallery > div { grid-template-columns: 1fr; } }
.pturn canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .26s ease; }
.pturn.swap canvas { opacity: 0; }
.pturn img { transition: opacity .3s; }
.pturn .preset, .cstage .preset { position: absolute; z-index: 2; right: 12px; bottom: 10px; padding: 7px 12px; border: 1px solid rgba(28,27,26,.14); border-radius: 4px; background: var(--page); color: var(--soft); cursor: pointer; font: 10px/1 var(--title); letter-spacing: .14em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.pturn .preset:hover, .cstage .preset:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.pturn .hint { position: absolute; top: 14px; left: 16px; font: 10px/1 var(--title); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); pointer-events: none; }   /* (as on the cube pages) */
.pturn.small { aspect-ratio: 4 / 5; background: none; }
.architect { display: flex; align-items: center; gap: 18px; margin-top: 36px; padding: 18px; background: #efe9e0; }
.architect img { width: 72px; height: 72px; object-fit: cover; filter: grayscale(1); }
.architect small { display: block; font: 10.5px/1 var(--title); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.architect b { display: block; margin-top: 8px; font: normal 18px/1.2 var(--title); }
.architect span { display: block; margin-top: 4px; font: 13.5px/1.4 var(--text); color: var(--muted); }

/* ---------- Schedule ---------- */
.kind { justify-self: start; padding: 4px 9px 3px; border-radius: 3px; background: #ccc; color: #fff; font: normal 10.5px/1.2 var(--title); letter-spacing: .08em; text-transform: uppercase; }
.kind.k-film { background: var(--terracotta); } .kind.k-talk { background: var(--ink); } .kind.k-workshop { background: var(--ochre); }
.notice { display: flex; gap: 14px; align-items: center; margin-bottom: 40px; padding: 18px 22px; background: #f6e4dc; font: 14.5px/1.5 var(--text); color: var(--soft); }
.notice b { font: normal 11px/1 var(--title); letter-spacing: .2em; text-transform: uppercase; color: var(--red); white-space: nowrap; }

/* ---------- Break the Cube ---------- */
/* the cubes, one chapter each: a large live model and the words beside it, alternating sides */
.cubes { display: grid; gap: clamp(64px, 8vw, 120px); margin-top: 8px; }
.cchap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.cchap.flip { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.cchap.flip .cstage { order: 2; }
.cstage { position: relative; aspect-ratio: 4 / 3; background: var(--page); border-radius: 2px; overflow: hidden; transition: background .4s; }
.cstage.night { background: var(--ink); }
.cstage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.chint { position: absolute; top: 14px; left: 16px; font: 10px/1 var(--title); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.cstage.night .chint { color: rgba(242,235,223,.55); }
.cnum { margin: 0 0 18px; font: clamp(56px, 6vw, 96px)/.9 var(--title); color: var(--terracotta); letter-spacing: -.02em; }
.cnum small { margin-left: 10px; font-size: 14px; letter-spacing: .14em; color: var(--muted); vertical-align: top; }
.ctext h2 { margin: 0; font: normal clamp(24px, 2.2vw, 32px)/1.1 var(--title); letter-spacing: -.01em; }
.cschool { margin: 8px 0 0; font: 11px/1.4 var(--title); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.clede { margin: 16px 0 0; font: 15px/1.6 var(--text); color: var(--soft); max-width: 48ch; }
.cspec { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid rgba(28,27,26,.14); font: 13px/1.4 var(--text); }
.cspec dt { color: var(--muted); }
.cspec dd { margin: 0; font-variant-numeric: tabular-nums; }
.cviews { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.cviews:empty { display: none; }
.cviews .dpill, .clights { font-size: 10px; padding: 8px 12px; }
.clights { margin-top: 14px; }
.cviews .dpill.is-on, .clights[aria-pressed="true"] { background: var(--ink); color: var(--page); border-color: var(--ink); }
.cviews .dpill:hover, .clights:hover { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }
.copen { display: inline-block; margin-top: 22px; }
/* the listing: every cube as a still model, three to a row */
.clist { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(48px, 5vw, 72px) clamp(20px, 3vw, 48px); }
.lcard a, .lcard { display: block; color: inherit; text-decoration: none; }
.lcard span { display: block; }
.lview { position: relative; aspect-ratio: 1 / 1; background: var(--page); overflow: hidden; }
.lview iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; opacity: 0; transition: opacity .6s ease; }
.lview iframe.on { opacity: 1; }
.lcard.soon .lview { display: grid; place-items: center; align-content: center; gap: 12px; }
.lcard.soon svg { width: 30%; fill: none; stroke: rgba(28,27,26,.22); stroke-width: 1.2; stroke-linejoin: round; }
.lcard.soon em { font: normal 10px/1 var(--title); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.lnum { margin-top: 18px; font: 12px/1 var(--title); letter-spacing: .16em; color: var(--red); }
.lname { margin-top: 10px; font: clamp(15px, 1.7vw, 21px)/1.15 var(--title); letter-spacing: -.005em; color: var(--ink); transition: color .25s; }
.lschool { margin-top: 8px; font: 10.5px/1.45 var(--title); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lline { margin-top: 14px; font: 14.5px/1.55 var(--text); color: var(--soft); max-width: 40ch; }
.lcard .more-link { margin-top: 16px; display: inline-block; }
.lcard a:hover .lname { color: var(--terracotta); }
.lcard a:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 6px; }
.lcard.soon .lname { color: var(--muted); }
@media (max-width: 999px) { .clist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .clist { grid-template-columns: 1fr; } }
.cline { margin: 16px 0 0; font: clamp(16px, 1.3vw, 19px)/1.4 var(--title); color: var(--ink); max-width: 40ch; }
/* a cube's own page: the school's account of it, beneath the model */
.cabout { margin-top: clamp(72px, 9vw, 128px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(28,27,26,.14); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 28px clamp(28px, 4vw, 64px); }
.cabout .dlabel { grid-column: 1 / -1; }
.cquote { margin: 0; font: clamp(24px, 2.4vw, 36px)/1.2 var(--title); letter-spacing: -.01em; color: var(--ink); }
.cstory p { margin: 0 0 1.1em; font: clamp(15px, 1.15vw, 17px)/1.7 var(--text); color: var(--soft); max-width: 62ch; }
.cpoints, .cteam { grid-column: 2; margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(28,27,26,.14); }
.cpoints div, .cteam div { display: grid; grid-template-columns: minmax(120px, 1fr) 3fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(28,27,26,.14); }
.cpoints dt, .cteam dt { font: 10px/1.5 var(--title); letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.cpoints dd, .cteam dd { margin: 0; font: 14.5px/1.55 var(--text); color: var(--soft); }
.csource { grid-column: 2; margin: 0; font: 12.5px/1.5 var(--text); color: var(--muted); }
/* one cube's own page */
.cone { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.cone .cstage { position: sticky; top: 110px; aspect-ratio: 1 / 1; max-height: calc(100vh - 140px); width: 100%; }
.cone h1 { margin: 0; font: normal clamp(30px, 3.2vw, 46px)/1.08 var(--title); letter-spacing: -.015em; }
.cgroups { display: grid; gap: 18px; margin-top: 26px; }
.cgroup p { margin: 0 0 8px; font: 10px/1 var(--title); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cgroup div { display: flex; flex-wrap: wrap; gap: 6px; }
.cgroup .dpill { font-size: 10px; padding: 8px 12px; }
.cgroup .dpill.is-on { background: var(--ink); color: var(--page); border-color: var(--ink); }
.cgroup .dpill:hover { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }
/* the school's logo, above the cube's number (logos drawn in white for dark grounds are shown in ink) */
.clogo { display: block; height: 64px; width: auto; max-width: 220px; object-fit: contain; object-position: left center; margin: 0 0 28px; }
.clogo.ink { filter: brightness(0); opacity: .85; }
.cclick { display: flex; gap: 10px; align-items: baseline; margin: 24px 0 0; font: 13.5px/1.5 var(--title); color: var(--ink); max-width: 46ch; }
.cclick span { color: var(--terracotta); font-size: 9px; transform: translateY(-1px); }
/* night: the section turns dark from edge to edge, and the model's stage melts into it */
.cone { position: relative; isolation: isolate; }
.cone::before { content: ""; position: absolute; z-index: -1; top: -32px; bottom: -56px; left: 50%; width: 100vw; transform: translateX(-50%); background: #1C1B1A; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.cone.night::before { opacity: 1; }
.cone .ctext, .cone .ctext * { transition: color .6s ease, border-color .6s ease; }
.cone.night .cstage { background: #1C1B1A; }
.cone.night h1 { color: #F2EBDF; }
.cone.night .cschool { color: var(--ochre); }
.cone.night .clede, .cone.night .cspec dd, .cone.night .cclick { color: rgba(242,235,223,.82); }
.cone.night .cspec { border-top-color: rgba(242,235,223,.18); }
.cone.night .cspec dt, .cone.night .cnote { color: rgba(242,235,223,.5); }
.cone.night .clogo.ink { filter: none; opacity: 1; }
.cone.night .clogo:not(.ink) { background: #F8F6F2; padding: 6px 10px; border-radius: 3px; }
/* the school's essay: its title held at the left while the text runs on the right */
.ehead { align-self: start; position: sticky; top: 120px; }
.etitle { margin: 18px 0 0; font: normal clamp(30px, 3vw, 46px)/1.08 var(--title); letter-spacing: -.015em; color: var(--ink); }
.esub { margin: 14px 0 0; font: clamp(15px, 1.2vw, 18px)/1.45 var(--title); color: var(--soft); max-width: 32ch; }
.eby { margin: 18px 0 0; font: 10.5px/1.6 var(--title); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); max-width: 40ch; }
.ebody p { margin: 0 0 1.15em; font: clamp(16px, 1.2vw, 18px)/1.75 var(--text); color: var(--soft); max-width: 64ch; }
.epoem span, .ecoda span { display: block; margin-bottom: .6em; font: clamp(17px, 1.35vw, 20px)/1.6 var(--text); color: var(--ink); max-width: 60ch; }
.epoem span:nth-child(5), .epoem span:nth-child(6) { margin-bottom: .2em; }
.ecoda { margin-top: 1.6em; padding-left: 18px; border-left: 2px solid var(--terracotta); }
.ecoda span { font-family: var(--title); }
.equote { margin: 1.6em 0; padding-left: 18px; border-left: 2px solid var(--terracotta); font: clamp(19px, 1.6vw, 24px)/1.45 var(--title); color: var(--ink); max-width: 46ch; }
.eext summary { display: inline-block; margin: .6em 0 1.2em; cursor: pointer; list-style: none; font: 11px/1 var(--title); letter-spacing: .18em; text-transform: uppercase; color: var(--terracotta); }
.eext summary::-webkit-details-marker { display: none; }
.eext summary::after { content: " +"; }
.eext[open] summary::after { content: " −"; }
.eext h3 { margin: 1.6em 0 .6em; font: 11px/1.4 var(--title); letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.esign { margin: 1.8em 0 0 !important; font: 11px/1.5 var(--title) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--muted) !important; }
.cmade { grid-column: 2; margin: 24px 0 -14px; font: 10px/1 var(--title); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
/* previous and next cube, across the top of a cube's page */
.cpager { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; margin: -12px 0 44px; padding: 20px 0; border-top: 1px solid rgba(28,27,26,.14); border-bottom: 1px solid rgba(28,27,26,.14); }
.cpager a { display: grid; gap: 6px; text-decoration: none; color: var(--ink); }
.cpager small { font: 10.5px/1 var(--title); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cpager b { font: normal clamp(18px, 1.7vw, 24px)/1.15 var(--title); letter-spacing: -.005em; transition: color .25s; }
.cpager i { font: normal 10px/1.4 var(--title); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cpager a:hover b { color: var(--terracotta); }
.cpager .pg-next { text-align: right; justify-items: end; }
.cpager .pg-all { justify-items: center; text-align: center; padding: 0 24px; border-left: 1px solid rgba(28,27,26,.14); border-right: 1px solid rgba(28,27,26,.14); }
.cpager .pg-all b { font-size: 15px; letter-spacing: .14em; color: var(--red); }
/* the essay beside the model */
.ctext .esub { margin: 18px 0 0; font: clamp(15px, 1.15vw, 17px)/1.45 var(--title); color: var(--soft); max-width: 40ch; }
.ctext .ebody { margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(28,27,26,.14); }
.ctext .ebody p { font-size: clamp(15px, 1.05vw, 16.5px); line-height: 1.7; }
.ctext .epoem span, .ctext .ecoda span { font-size: clamp(16px, 1.15vw, 18px); }
.ctext .equote { font-size: clamp(17px, 1.3vw, 20px); }
.ctext .cteam { margin-top: 28px; }
.ctext .cteam div { grid-template-columns: 1fr; gap: 4px; }
.cone.night .esub, .cone.night .ebody p, .cone.night .cteam dd { color: rgba(242,235,223,.82); }
.cone.night .epoem span, .cone.night .ecoda span, .cone.night .equote { color: #F2EBDF; }
.cone.night .ctext .ebody, .cone.night .cteam, .cone.night .cteam div { border-color: rgba(242,235,223,.18); }
.cnote { margin: 26px 0 0; font: 12.5px/1.6 var(--text); color: var(--muted); max-width: 48ch; }
.pager-all { text-align: center; }
@media (max-width: 999px), (max-aspect-ratio: 5/4) {
    .cone { grid-template-columns: 1fr; }
    .cone .cstage { position: relative; top: auto; max-height: none; }
    .pager-all { display: none !important; }
    .cone .chint { display: none; }
    .cpager { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: -20px; }
    .cpager .pg-all { display: none; }
    .cpager i { display: none; }
    .cabout { grid-template-columns: 1fr; }
    .cpoints, .cteam, .csource, .cmade { grid-column: 1; }
    .ehead { position: static; }
    .cpoints div, .cteam div { grid-template-columns: 1fr; gap: 6px; }
    .cchap, .cchap.flip { grid-template-columns: 1fr; }
    .cchap.flip .cstage { order: 0; }
    .cstage { aspect-ratio: 1 / 1; }
}
.verbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 56px; padding: 0; list-style: none; }
.verbs li { padding: 12px 18px 10px; background: var(--terracotta); color: #fff; font: 14px/1 var(--title); letter-spacing: .1em; text-transform: uppercase; }
.verbs li:nth-child(3n+2) { background: var(--ink); } .verbs li:nth-child(3n) { background: var(--ochre); }

/* ---------- Highlights ---------- */
.video { position: relative; aspect-ratio: 16 / 9; background: #141312; border: 8px solid #1f1d1b; box-shadow: 0 30px 50px -36px rgba(0,0,0,.6); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(28,27,26,.14); }
.stats li { padding: 22px 16px 22px 0; border-bottom: 1px solid rgba(28,27,26,.14); font: 12px/1.3 var(--title); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stats b { display: block; margin-bottom: 10px; font: normal 44px/1 var(--title); letter-spacing: -.02em; color: var(--terracotta); text-transform: none; }
.vrow { display: grid; gap: 28px; margin-top: 96px; }
@media (min-width: 900px) { .vrow { grid-template-columns: 1fr 1fr; } }
.vrow h3 { margin: 18px 0 6px; font: normal 22px/1.2 var(--title); }
.vrow p { font: 14px/1.5 var(--text); color: var(--muted); }

/* ---------- ~log(ue) ---------- */
.spks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(168px, 40vw), 1fr)); gap: 48px clamp(16px, 2.4vw, 32px); margin: 0; padding: 0; list-style: none; }
.spk img { display: block; width: 100%; max-width: 200px; aspect-ratio: 1; object-fit: contain; filter: grayscale(1); transition: filter .5s; }
.spk:hover img { filter: none; }
.spk strong { display: block; margin-top: 14px; font: normal 18px/1.2 var(--title); }
.spk span { display: block; margin-top: 6px; font: 13.5px/1.4 var(--text); color: var(--muted); }
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin: 0 0 72px; padding: 0; list-style: none; border-top: 1px solid rgba(28,27,26,.14); }
.formats li { padding: 22px 24px 24px 0; border-bottom: 1px solid rgba(28,27,26,.14); }
.formats b { display: block; font: normal 22px/1 var(--title); color: var(--terracotta); }
.formats span { display: block; margin-top: 10px; font: 14px/1.5 var(--text); color: var(--soft); }
.subhead { margin: 0 0 28px; scroll-margin-top: 100px; font: normal clamp(24px, 2.4vw, 34px)/1.1 var(--title); }

/* ---------- Previous editions page ---------- */
.edpage .ed { min-height: 420px; }
.edpage .eds { margin-bottom: 0; }

/* ---------- home: each section's link to its own page ---------- */
.more-link { display: inline-block; margin-top: 1.4em; font: 500 .82em/1 var(--title); letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 4px; transition: background-size .45s cubic-bezier(.65,0,.35,1); }
.more-link:hover { background-size: 100% 1px; }


/* ---------- Pavilion Park page: the Pavilion City model book ----------
   One spread per pavilion: the studio's render, our live model, notes underneath. */
.mb-key { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 8px; padding: 0 0 28px; list-style: none; border-bottom: 1px solid rgba(28,27,26,.14); font: 500 11px/1.4 var(--title); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mb-key li { display: flex; align-items: center; gap: 8px; }
.mb-key i { width: 12px; height: 12px; border-radius: 2px; border: 1px solid rgba(28,27,26,.16); }
.mb-item { display: grid; gap: 18px; padding: 44px 0; border-bottom: 1px solid rgba(28,27,26,.14); }
.mb-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.mb-num { font: 500 12px/1 var(--title); letter-spacing: .14em; color: var(--red); }
.mb-head h2 { margin: 0; font: normal clamp(26px, 3.2vw, 40px)/1.05 var(--title); letter-spacing: -.01em; }
.mb-who { font: 15px/1.3 var(--text); color: var(--muted); }
.mb-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mb-pair figure { margin: 0; display: grid; gap: 8px; min-width: 0; }
.mb-pair figcaption { display: flex; justify-content: space-between; gap: 12px; font: 500 11px/1.3 var(--title); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mb-ref, .mb-view { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #f4f3f0; }
.mb-view { background: var(--page); }   /* the live model sits on the page itself, as everywhere else on the site */
.mb-ref img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mb-view { position: relative; cursor: grab; touch-action: pan-y; }
.mb-view:active { cursor: grabbing; }
.mb-view canvas { display: block; width: 100%; height: 100%; }
.mb-view button { position: absolute; right: 10px; bottom: 10px; padding: 7px 12px; border: 1px solid rgba(28,27,26,.2); border-radius: 4px; background: var(--page); color: var(--ink); cursor: pointer; font: 500 10.5px/1 var(--title); letter-spacing: .12em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.mb-head h2 a { color: inherit; text-decoration: none; }
a.mb-ref, a.mb-view { display: block; cursor: pointer; transition: opacity .3s; }
a.mb-ref:hover, a.mb-view:hover { opacity: .88; }
a.mb-view canvas { pointer-events: none; }

.mb-head h2 a:hover { color: var(--terracotta); }
.mb-about { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; margin-top: 18px; }
.mb-about p { margin: 0; max-width: 70ch; font: clamp(15px, 1.15vw, 17px)/1.65 var(--text); color: var(--soft); }
.mb-view button:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.mb-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.mb-notes h3 { margin: 0 0 6px; font: 500 11px/1.2 var(--title); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mb-notes p { margin: 0; max-width: 60ch; font: 15px/1.6 var(--text); color: var(--soft); }
.mb-note { margin: 32px 0 0; max-width: 70ch; font: 13px/1.6 var(--text); color: var(--muted); }
@media (max-width: 760px) { .mb-pair, .mb-notes { grid-template-columns: 1fr; } }

/* ---------- Pavilion Park: the curators' brief, and links between the pages ---------- */
.brief { margin: -32px 0 56px; }
.brief p { margin: 0; max-width: 72ch; font: clamp(15px, 1.15vw, 17px)/1.7 var(--text); color: var(--soft); }
/* the co-curators fill the left column, beside the long introduction */
.brief .ccur-lg { margin-bottom: 36px; }


.break-cube .ccur-lg { display: flex; }


.break-cube .ccur-lg b { margin-bottom: 0; }



.break-cube .ccur-lg .cur { flex-direction: column; }

.break-cube .ccur-lg .cur:first-child { padding-right: 20px; border-right: 1px solid rgba(28,27,26,.14); }

.break-cube .ccur-lg .cur:last-child { padding-left: 20px; }
.break-cube .ccur-lg .cur:last-child > * { display: flex; gap: 20px; }




.ccur-lg b { display: block; margin-bottom: 14px; font: 10.5px/1 var(--title); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: normal; }
.ccur-lg > div { flex-direction: row; flex-wrap: wrap; gap: 14px 30px; }
.ccur-lg img { width: 120px; height: 120px; }
.ccur-lg figure { gap: 14px; }
.ccur-lg figcaption { font-size: 16px; margin-top: 6px; }
@media (max-width: 899px) { .ccur-lg img { width: 110px; height: 110px; } .ccur-lg figcaption { font-size: 16px; } }
@media (min-width: 900px) {
    .brief { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
    .brief .ccur-lg { margin: 6px 0 0; }
    .brief p { max-width: none; }
}
.brief + .curators { margin-top: 0; }
.eds-lede { margin: 0 0 24px; max-width: 60ch; font: 16px/1.6 var(--text); color: var(--soft); }
.mb-item { scroll-margin-top: 96px; }
.mb-pair figcaption a { color: var(--terracotta); text-decoration: none; }
.mb-pair figcaption a:hover { text-decoration: underline; }
.mb-back { margin: 40px 0 0; }

/* ---------- Schedule: four pillars, one a day ----------
   As on the earlier home page: each day a tinted pillar under a solid coloured head
   (ink, terracotta, ochre, and corten for Delhi's new fourth day). Morning, afternoon and
   evening line up across all four, so the whole festival reads at a glance.
   Filters fade what is not picked; nothing moves. */
.sbar { position: sticky; top: 76px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 0 0 20px; padding: 14px 0; background: var(--page); border-bottom: 1px solid rgba(28,27,26,.14); }
@media (max-width: 1099px) { .sbar { top: 60px; } }
.stype { display: flex; flex-wrap: wrap; gap: 8px; }
.stype .dpill { min-height: 36px; padding: 0 16px; font-size: 12px; gap: 10px; }
.stype .dpill span { font-size: 10.5px; opacity: .55; }
.skey { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font: 10.5px/1 var(--title); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.skey li { display: flex; align-items: center; gap: 8px; }
.skey i { width: 10px; height: 10px; border-radius: 2px; }
.skey .k-film { background: var(--terracotta); } .skey .k-talk { background: var(--ink); } .skey .k-workshop { background: var(--ochre); }

.sdays { display: none; }
.week { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto repeat(3, auto); gap: 0 clamp(12px, 1.6vw, 24px); }
.wday { --tint: #efe9e0; --col: #1c1b1a; --time: #1c1b1a; display: grid; grid-row: 1 / span 4; grid-template-rows: subgrid; background: var(--tint); }
.wday:nth-child(2) { --tint: #f6e4dc; --col: #AF3321; --time: #AF3321; }
.wday:nth-child(3) { --tint: #f5ead8; --col: #C98A45; --time: #9a6a2a; }
.wday:nth-child(4) { --tint: #efe6e1; --col: #8d5a44; --time: #8d5a44; }
.dhd { padding: 22px 22px 20px; background: var(--col); color: #fff; }
.dhd b { display: block; font: normal clamp(44px, 5vw, 72px)/.9 var(--title); letter-spacing: -.03em; }
.dhd span { display: block; margin-top: 12px; font: 13px/1.2 var(--title); letter-spacing: .14em; text-transform: uppercase; }
.dhd small { display: block; margin-top: 8px; font: 10px/1.3 var(--title); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); }

.band { padding: 18px 22px 10px; border-top: 1px solid rgba(28,27,26,.1); }
.wday .band:first-of-type { border-top: 0; }
.bname { margin: 0 0 4px; font: 10px/1 var(--title); letter-spacing: .22em; text-transform: uppercase; color: var(--time); }
.bname small { margin-left: 8px; font: inherit; letter-spacing: .08em; color: var(--muted); text-transform: none; }
.band ol { margin: 0; padding: 0; list-style: none; }
.ev { position: relative; display: grid; gap: 5px; padding: 14px 0 16px; border-bottom: 1px solid rgba(28,27,26,.1); transition: opacity .35s, filter .35s; }
.band ol .ev:last-child { border-bottom: 0; }
.ev time { font: 17px/1 var(--title); color: var(--time); }
.ev .kind { justify-self: start; padding: 3px 8px 2px; font-size: 9.5px; }
.ev strong { font: normal 15.5px/1.3 var(--title); }
.ev strong a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s, color .3s; }
.ev strong a:hover { color: var(--terracotta); background-size: 100% 1px; }
.ev strong a::after { content: " →"; color: var(--terracotta); }
.ev span { font: 12.5px/1.35 var(--text); color: var(--muted); }
.quiet-band, .tba-band { margin: 0; padding: 14px 0 16px; font: 11px/1.3 var(--title); letter-spacing: .14em; text-transform: uppercase; color: rgba(28,27,26,.35); }
.tba-band { margin: 8px 0 12px; min-height: 84px; display: grid; place-items: center; border: 1px dashed rgba(141,90,68,.35); border-radius: 4px; color: rgba(141,90,68,.7); }
.week[data-only="film"] .ev:not(.k-film), .week[data-only="talk"] .ev:not(.k-talk), .week[data-only="workshop"] .ev:not(.k-workshop) { opacity: .22; filter: grayscale(1); }

/* phones and narrow windows: one pillar at a time */
@media (max-width: 899px) {
    .sbar { position: static; }
    .skey { display: none; }
    .sdays { position: sticky; top: 60px; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 8px; padding: 10px 0; background: var(--page); }
    .sdays button { padding: 12px 0 10px; border: 0; border-radius: 4px; background: rgba(28,27,26,.07); color: var(--soft); cursor: pointer; font: 24px/1 var(--title); transition: background .3s, color .3s; }
    .sdays button small { display: block; margin-top: 5px; font: 9.5px/1 var(--title); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
    .sdays button:hover { background: var(--terracotta); color: #fff; } .sdays button:hover small { color: rgba(255,255,255,.8); }
    .sdays button.is-on { background: var(--ink); color: #fff; } .sdays button.is-on small { color: rgba(255,255,255,.7); }
    .week { display: block; }
    .wday { display: none; } .wday.is-on { display: block; }
    .dhd b { font-size: 44px; }
}

/* ---------- detail pages (a film, a pavilion, a cube): one layout ----------
   The name and facts on top; the media large with the text under it; a narrow column beside
   with the people and key facts. The breadcrumb and previous / next sit under the page,
   just before the "Other …" cards. */
.dnav { margin-top: clamp(72px, 8vw, 112px); }
.dnav .crumbs { margin-bottom: 22px; }
.dnav .cpager { margin: 0; }
.dnav + .more { margin-top: 64px; padding-top: 0; border-top: 0; }
.more .clist { margin-top: 0; }

.fp-stage, .cstage.fp-stage, .pturn.fp-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--page); border-radius: 0; }
.cstage.fp-stage.night { background: var(--ink); border-color: var(--ink); }
.fp-about p:not(.fp-label) + p { margin-top: 1em; }
.fp-about p.fp-lead:not(.fp-label) { margin: 0 0 18px; font: clamp(17px, 1.4vw, 21px)/1.45 var(--title); color: var(--ink); max-width: 48ch; }
.fp-about.ebody { padding: 0; border: 0; }
.fp-about.ebody p.fp-label { margin: 0 0 12px; font: 10.5px/1 var(--title); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.fp-gallery { margin-top: 40px; }
.fp-gallery > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fp-gallery figure { margin: 0; }
.fp-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #fff; }
.fp-gallery figcaption { margin-top: 8px; font: 12px/1.45 var(--text); color: var(--muted); }

.fp-person { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; }
.fp-person img { width: 120px; height: 120px; object-fit: cover; filter: grayscale(1); }


.auditoriam .fp-person img { width: 120px; height: 120px; object-fit: cover; filter: grayscale(1); }


.fp-person b { display: block; font: normal 18px/1.2 var(--title); color: var(--ink); }
.fp-person small { display: block; margin-top: 4px; font: 13px/1.4 var(--text); color: var(--muted); }
.fp-facts { margin: 0; border-top: 1px solid rgba(28,27,26,.14); }
.fp-facts div { padding: 11px 0; border-bottom: 1px solid rgba(28,27,26,.14); }
.fp-facts dt { font: 10px/1.4 var(--title); letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.fp-facts dd { margin: 5px 0 0; font: 13.5px/1.5 var(--text); color: var(--soft); }
.fp-facts div:last-child { border-bottom: 0; }
.fp-shows .clogo { height: 44px; max-width: 180px; margin: 2px 0 14px; }
#cone .fp-shows h2 { font-size: 20px; line-height: 1.2; }
.fp-note { margin: -6px 0 14px; font: 12.5px/1.5 var(--text); color: var(--muted); }
.fp-note.tba { margin: 0; padding-top: 12px; border-top: 1px solid rgba(28,27,26,.14); font-style: italic; }
.fp-made { margin-top: 24px; }
.fp-render img { box-shadow: none; }
.fp-render figcaption { margin-top: 8px; font: 10px/1.4 var(--title); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* the pavilions as listing cards (js/modelbook.js), as the cubes */
.pview canvas { display: block; width: 100%; height: 100%; }
.lcard a:hover .pview { opacity: .9; }
.pview { transition: opacity .3s; }

@media (max-width: 899px) {
    .fp-stage, .cstage.fp-stage, .pturn.fp-stage { aspect-ratio: 4 / 3; }
    .fp-gallery > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fp-render { max-width: none; }
    .fp-stage .chint { display: none; }
}

/* ---------- full screen: a model's stage, and the pictures (js/details.js) ---------- */
.fs-lock, .fs-lock body { overflow: hidden; }
.fs-lock .rise { animation: none !important; transform: none !important; }   /* (a transformed ancestor would trap the fixed stage) */
.fsbtn { position: absolute; z-index: 3; top: 10px; right: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid rgba(28,27,26,.14); border-radius: 4px; background: var(--page); color: var(--soft); cursor: pointer; font: 10px/1 var(--title); letter-spacing: .14em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.fsbtn span { font-size: 12px; letter-spacing: 0; }
.fsbtn:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.pturn.fp-stage { cursor: zoom-in; }
.pturn.fp-stage:active { cursor: grabbing; }
.fp-stage.is-full, .cstage.fp-stage.is-full, .pturn.fp-stage.is-full { position: fixed; inset: 0; z-index: 1000; width: auto; height: auto; max-height: none; aspect-ratio: auto; border: 0; cursor: grab; }
.fp-stage.is-full .fsbtn { top: 16px; right: 16px; padding: 10px 14px; font-size: 11px; }
.fp-stage.is-full .preset { right: 16px; bottom: 16px; }
.fp-stage.is-full .chint, .fp-stage.is-full .hint { display: block; top: 22px; left: 20px; }

.zoomable { cursor: zoom-in; transition: opacity .25s; }
.zoomable:hover { opacity: .88; }
.zoomable:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.lbox { position: fixed; inset: 0; z-index: 1001; display: grid; place-items: center; padding: 64px 80px 48px; background: rgba(20,19,18,.95); }
.lbox[hidden] { display: none; }
.lbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; min-width: 0; min-height: 0; }
.lbox img { display: block; max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; background: #fff; }
.lbox figcaption { font: 13.5px/1.45 var(--text); color: rgba(242,235,223,.78); text-align: center; }
.lbox button { position: absolute; padding: 14px 16px; border: 0; background: none; color: #F2EBDF; cursor: pointer; font: 22px/1 var(--title); transition: color .25s; }
.lbox button:hover { color: #f0b9a8; }
.lb-x { top: 10px; right: 14px; }
.lb-p, .lb-n { top: 50%; transform: translateY(-50%); font-size: 28px; }
.lb-p { left: 12px; } .lb-n { right: 12px; }
.lb-c { position: absolute; top: 24px; left: 24px; font: 11px/1 var(--title); letter-spacing: .18em; color: rgba(242,235,223,.6); }
@media (max-width: 700px) {
    .lbox { padding: 64px 12px 72px; }
    .lb-p, .lb-n { top: auto; bottom: 10px; transform: none; }
}
.fp-team dd span { display: block; }
.fp-team dd span + span { margin-top: 4px; }

/* ---------- ~log(ue): the formats at a glance ----------
   Four small drawings of who speaks to whom (filled dot = speaker, open dot = audience),
   each with its name and one line. */
.lx { margin: 0 0 56px; }
.lx-scroll { position: relative; }
.lx-grid { display: grid; grid-auto-flow: column; grid-auto-columns: max(200px, calc((100% - 96px) / 4.4)); gap: 24px; margin: 0; padding: 0 0 18px; list-style: none;
           overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(28,27,26,.25) transparent; -webkit-overflow-scrolling: touch; }
.lx-f { scroll-snap-align: start; padding-top: 4px; }
.lx-f { --c: var(--ink); color: var(--c); }
.lx-f.f-dialog { --c: var(--terracotta); } .lx-f.f-multilog { --c: #9a6a2a; } .lx-f.f-analog { --c: #8d5a44; }
.lx-f.f-prolog { --c: #5f6b4e; } .lx-f.f-epilog { --c: #4f5f72; } .lx-f.f-metalog { --c: #7a5873; }
.lx-f .frame { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-dasharray: 4 4; opacity: .6; }
.lx-f svg { display: block; width: 100%; max-width: 150px; height: auto; margin-bottom: 14px; overflow: visible; }
.lx-f .ln { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; opacity: .45; }
.lx-f .sp { fill: currentColor; }
.lx-f .au circle, .lx-f .mix circle { fill: var(--page); stroke: currentColor; stroke-width: 1.5; }
.lx-f .mix circle:nth-child(odd) { fill: currentColor; fill-opacity: .5; }
.lx-f h3 { margin: 0; font: normal 20px/1 var(--title); color: var(--c); }
.lx-f p { margin: 8px 0 0; font: 13.5px/1.5 var(--text); color: var(--soft); }
.lx-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; margin-bottom: 28px; }
.lx-head .subhead { margin: 0; }
.lx-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 0; font: 13px/1.4 var(--text); color: var(--muted); }
.lx-note span { display: inline-flex; align-items: center; gap: 7px; font: 10px/1 var(--title); letter-spacing: .16em; text-transform: uppercase; }
.kd { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.kd.sp { background: var(--muted); } .kd.au { border: 1.5px solid var(--muted); }
@media (max-width: 699px) { .lx-grid { grid-auto-columns: 68vw; } }

/* ---------- ~log(ue): the programme, as on the festival's black site ----------
   The days as tabs, a bar over the one showing; under them the day, its count and the filters
   on the left (sticky) and the sessions on a timeline on the right. */
.lsched { --c: var(--ink); margin: 0 0 104px; }
.ldays { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid rgba(28,27,26,.14); }
.ldays button { position: relative; padding: 22px 0 18px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--muted); }
.ldays button::before { content: ""; position: absolute; left: 0; top: 0; width: 76%; height: 3px; background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.65,0,.35,1); }
.ldays button b { display: block; font: normal clamp(26px, 2.6vw, 36px)/1 var(--title); transition: color .3s; }
.ldays button small { display: block; margin-top: 8px; font: 10px/1 var(--title); letter-spacing: .16em; text-transform: uppercase; }
.ldays button:hover b, .ldays button.is-on b { color: var(--ink); }
.ldays button.is-on::before { transform: none; }
.lday { display: grid; grid-template-columns: minmax(220px, 1fr) 2.6fr; gap: 0 clamp(24px, 4vw, 64px); padding-top: 36px; }
.lside { align-self: start; position: sticky; top: 110px; }
.lbig { display: block; font: normal clamp(56px, 6vw, 88px)/.9 var(--title); letter-spacing: -.03em; color: var(--ink); }
.lwhen2 { margin: 14px 0 0; font: 11px/1.3 var(--title); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.lcount { margin: 8px 0 0; font: 10.5px/1 var(--title); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lplabel { margin: 26px 0 10px; font: 10px/1 var(--title); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lpills { display: flex; flex-wrap: wrap; gap: 6px; }
.lpill { padding: 8px 12px 7px; border: 1px solid rgba(28,27,26,.25); border-radius: 2px; background: none; color: var(--soft); font: 10.5px/1 var(--title); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.lpill:hover { border-color: var(--ink); color: var(--ink); }
.lpill.is-on { background: var(--ink); border-color: var(--ink); color: var(--page); }

.ltl { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(28,27,26,.14); }
.lrow { --c: var(--ink); position: relative; display: grid; grid-template-columns: 64px 28px 1fr; padding: 22px 0 24px; border-bottom: 1px solid rgba(28,27,26,.14); }
.lrow.f-dialog { --c: var(--terracotta); } .lrow.f-multilog { --c: #9a6a2a; } .lrow.f-analog { --c: #8d5a44; }
.lrow.f-prolog { --c: #5f6b4e; } .lrow.f-epilog { --c: #4f5f72; } .lrow.f-metalog { --c: #7a5873; }
.lrow time { font: 20px/1 var(--title); color: var(--ink); text-align: right; }
.lrow::before { content: ""; position: absolute; left: 77px; top: 0; bottom: 0; width: 1px; background: rgba(28,27,26,.18); }
.lnode { position: relative; justify-self: center; width: 9px; height: 9px; margin-top: 5px; border: 1.5px solid var(--c); border-radius: 50%; background: var(--page); }
.lbody { display: grid; gap: 7px; justify-items: start; }
.ltags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.lfmt-tag { padding: 4px 8px 3px; border: 1px solid var(--c); border-radius: 2px; font: 11px/1 var(--title); color: var(--c); }
.lkind { padding: 4px 8px 3px; background: #ece5da; border-radius: 2px; font: 9.5px/1.1 var(--title); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.lrow strong { font: normal 17px/1.3 var(--title); letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.lvenue { font: 10px/1 var(--title); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lwho { font: 13.5px/1.45 var(--text); color: var(--soft); }
.lwho a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: color .3s; }
.lwho a:hover { color: var(--terracotta); }
.lempty { padding: 28px 0; font: 11px/1.3 var(--title); letter-spacing: .14em; text-transform: uppercase; color: rgba(28,27,26,.4); }

/* ---------- ~log(ue): the speakers drift by; "View all" opens the full grid ---------- */
.smq { overflow: hidden; width: 100vw; margin-left: calc(50% - 50vw); padding: 4px 0; }
.smq-row { display: flex; gap: 16px; width: max-content; animation: smq 90s linear infinite; }
.smq:hover .smq-row { animation-play-state: paused; }
@keyframes smq { to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) { .smq { overflow-x: auto; } .smq-row { animation: none; } }
.smq-c { flex: none; width: 190px; padding: 18px 16px 18px; background: #fff; text-align: center; }
.smq-c img { display: block; width: 132px; height: 132px; margin: 0 auto 14px; object-fit: contain; }
.smq-c b { display: block; font: normal 16px/1.2 var(--title); color: var(--ink); }
.smq-c span { display: block; margin-top: 6px; font: 12px/1.35 var(--text); color: var(--muted); }
.smore { margin: 28px 0 48px; }
.smore .dpill span { opacity: .55; font-size: 11px; }
.spk { scroll-margin-top: 120px; }
.spk:target strong { color: var(--terracotta); }
.spk:target img { filter: none; }

@media (max-width: 899px) {
    .lday { grid-template-columns: 1fr; padding-top: 24px; }
    .lside { position: static; margin-bottom: 24px; }
    .lbig { font-size: 56px; }
    .ldays button b { font-size: 26px; }
    .ldays button small { letter-spacing: .08em; }
    .lrow { grid-template-columns: 50px 24px 1fr; }
    .lrow::before { left: 61px; }
    .lrow time { font-size: 17px; }
    .lrow strong { font-size: 15px; }
    .smq-c { width: 160px; } .smq-c img { width: 112px; height: 112px; }
}
.spks[hidden] { display: none; }

/* ~log(ue) programme: search, a plain rounded search box (across all four days; the day tabs
   step back while it is on) */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lsearch { position: relative; max-width: 560px; margin: 0 0 28px; }
.lsicon { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.lsearch input { width: 100%; box-sizing: border-box; height: 50px; padding: 0 48px 0 48px; border: 1px solid rgba(28,27,26,.22); border-radius: 999px; background: #fff; font: 15px/1 var(--text); color: var(--ink); outline: none; -webkit-appearance: none; appearance: none; transition: border-color .3s, box-shadow .3s; }
.lsearch input::placeholder { color: rgba(28,27,26,.45); }
.lsearch input::-webkit-search-cancel-button { display: none; }
.lsearch input:hover { border-color: rgba(28,27,26,.4); }
.lsearch input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(175,51,33,.12); }
.lsearch button { position: absolute; right: 10px; top: 50%; width: 30px; height: 30px; transform: translateY(-50%); border: 0; border-radius: 50%; background: rgba(28,27,26,.08); color: var(--ink); font: 17px/1 var(--text); cursor: pointer; }
.lsearch button:hover { background: var(--ink); color: var(--page); }
.ldays.is-searching button { opacity: .45; }
.ldays.is-searching button:hover { opacity: 1; }
.lrow time small { display: block; margin-bottom: 6px; font: 9.5px/1 var(--title); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lrow mark { background: #f3d9cf; color: inherit; padding: 0 1px; }
@media (max-width: 899px) { .lsearch input { font-size: 16px; } }

/* ~log(ue) on film: after the programme; a quiet frame until the video is ready */
.lsched { margin-bottom: 88px; }
.lfilm { margin: 0 0 40px; }
.lfilm .subhead { margin-bottom: 40px; }
/* the same framed screen as the home page's Highlights (sizes from css/style.css .screen) */
.lscreen { --c: 3.83vh; position: relative; display: grid; place-items: center; width: calc(22.2 * var(--c)); height: calc(13.01 * var(--c)); margin: 0 auto; background: #3a3734; box-shadow: 0 2vh 4vh -2.5vh rgba(0,0,0,.45); text-decoration: none; }
.lscreen::before { content: ""; position: absolute; width: calc(21.3 * var(--c)); height: calc(12.11 * var(--c)); background: #1f1d1b; }
@media (max-width: 999px), (max-aspect-ratio: 5/4) { .lscreen { --c: min(3.9vw, 48px); } }

/* ---------- auditoriums.html: the walk-through ---------- */
.walkthru { margin: 0 0 88px; scroll-margin-top: 90px; }
.walk-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 14px 28px; margin-bottom: 22px; }
.walk-head .subhead { margin: 0; }
.walk-seg { display: flex; gap: 8px; }
.walk-seg .dpill { min-height: 36px; padding: 0 16px; font-size: 12px; }
.walk-stage { position: relative; height: min(78vh, 760px); min-height: 420px; background: #f4efe7; overflow: hidden; }
.walk-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.walk-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 14px 0 0; }
.walk-cap b { font: normal 18px/1.2 var(--title); color: var(--ink); }
.walk-cap span { font: 10.5px/1 var(--title); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 699px) { .walk-stage { height: 72vh; min-height: 0; } }

/* auditoriums.html: each hall card tells its pavilion's design (from the designers' decks) */
.hall-top span b { font-weight: normal; color: #fff; }
.hall .facts dd { font-size: 15.5px; }
.hall-part + .hall-part { margin-top: 22px; }
.hall-part p { margin: 10px 0 0; max-width: 58ch; font: 14.5px/1.6 var(--text); color: var(--soft); }
.hall-body .dpill { margin-top: 30px; }

/* a cube's own page: a squarer stage, so the cube has room all round (and below) as it turns */
.cstage.fp-stage { aspect-ratio: 5 / 4; max-height: 82vh; }
.cstage.fp-stage iframe { top: 44px; bottom: auto; height: calc(100% - 108px); }   /* clear of the hint above and Reset view below */
.cstage.fp-stage.is-full iframe { top: 0; bottom: 0; height: 100%; }

/* the programme's tags: solid, in the format's (or the kind's) colour, with white text */
.lfmt-tag { background: var(--c); border-color: var(--c); color: #fff; }
.lrow.k-film { --c: #33414f; }      /* films on the schedule */
.lrow strong a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s, color .3s; }
.lrow strong a:hover { color: var(--terracotta); background-size: 100% 1px; }

/* auditoriums.html: each hall as a detail page (header and facts; picture and text; side column) */
.halls { display: block; }
.audpage + .audpage { margin-top: clamp(72px, 8vw, 112px); padding-top: clamp(48px, 5vw, 72px); border-top: 1px solid rgba(28,27,26,.14); }
.audpage .fp-head h2 { margin: 12px 0 0; font: normal clamp(30px, 3.2vw, 46px)/1.08 var(--title); letter-spacing: -.015em; }
.aud-hero { margin: 0; }
.aud-hero img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.aud-hero figcaption { margin-top: 8px; font: 12px/1.45 var(--text); color: var(--muted); }
.audpage .fp-about b { font-weight: normal; color: var(--ink); font-family: var(--title); }
.aud-by { margin: 0 0 18px; font: normal 20px/1.25 var(--title); color: var(--ink); }
.aud-walk { margin-top: 22px; }
.audpage .fp-gallery > div { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.audpage .fp-gallery img[src*="section"], .audpage .fp-gallery img[src*="old-new-fort"] { object-fit: contain; background: #fff; }   /* drawings shown whole */

/* auditoriums.html: the concept illustrations, two by two */
.aud-concept { margin: clamp(72px, 8vw, 112px) 0 0; padding-top: clamp(48px, 5vw, 72px); border-top: 1px solid rgba(28,27,26,.14); }
.aud-concept-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; margin-top: 18px; }
.aud-concept figure { margin: 0; }
.aud-concept img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.aud-concept figcaption { margin-top: 8px; font: 12px/1.45 var(--text); color: var(--muted); }
@media (max-width: 699px) { .aud-concept-grid { grid-template-columns: 1fr; } }

/* auditoriums: the listing's cards and the other hall's card (the model, then the name) */
.halls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
.aud-card { margin: 0; }
.aud-card .aud-view { position: relative; display: block; height: auto; aspect-ratio: 4 / 3; }
.aud-card .aud-view iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.aud-card figcaption a { display: grid; gap: 8px; padding-top: 14px; text-decoration: none; color: var(--ink); }
.aud-card strong { font: normal 24px/1.15 var(--title); }
.aud-card .aud-by2 { font: 14px/1.5 var(--text); color: var(--soft); }
.aud-card .more-link { margin-top: 4px; font: 11px/1 var(--title); letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.aud-other { max-width: 640px; }
@media (max-width: 699px) { .halls { grid-template-columns: 1fr; } }

/* Break the Cube listing: the eight cubes four to a row (two on narrower screens, one on phones) */
@media (min-width: 1000px) { #cubes.clist { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* speaker photos are square JPGs: shown as circles */
.spk img, .smq-c img { border-radius: 50%; }

/* Break the Cube listing: drag a cube to turn it (the name and "Open the cube" still open its page) */
/*#cubes .lview iframe { pointer-events: auto; cursor: grab; }*/
#cubes .lview iframe:active { cursor: grabbing; }
.pview canvas { cursor: grab; } .pview canvas:active { cursor: grabbing; }

/* home page ~log(ue): the same speaker cards as the ~log(ue) page (round photo, name, role), at the same sizes */
.logue .speakers { height: auto; }
.speakers-row { gap: 16px; }
.speakers-row .smq-c { flex: none; }

/* ==========================================================
   Merged additions from details.css and header.css
   - details.css is otherwise already represented in site.css.
   - Keep the legacy .dropdown menu styles above; these rules
     also support the newer .sub_menu markup.
   ========================================================== */

/* Detail-page model loading state (present in details.css only). */
.cstage::after {
    content: "";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font: 11px/1 var(--title);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    pointer-events: none;
    transition: opacity .4s;
}

.cstage.ready::after {
    opacity: 0;
}

/* New nested navigation dropdowns from header.css.
   Do not reset .nav or .menu here: site.css already defines those
   and contains the responsive header layout. */
.sub_menu {
    position: absolute;
    top: 120%;
    left: 0;
    min-width: 200px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .3s ease;
    z-index: 999;
}

.sub_menu li {
    position: relative;
    padding: 10px;
}

.sub_menu li:last-child {
    margin-bottom: 15px;
}

.sub_menu li a {
    display: flex;
    align-items: center;
    min-height: inherit;
    padding: 6px 15px 6px 6px;
    white-space: nowrap;
}

/* Desktop dropdowns */
@media (min-width: 769px) {
    .menu:hover > .sub_menu {
        top: 100%;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .sub_menu li:hover > .sub_menu {
        top: 0;
        left: 100%;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .sub_menu li > .sub_menu {
        border-left: 1px solid var(--terracotta);
    }
    .mob_show{
		display: none;
	}
	.pt_4
	{
		padding-top:4vw;
	}
}

/* Allow both menu state class names used by the supplied styles/scripts. */
.sub_menu.show {
    top: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sub_menu li > .sub_menu.show {
    top: 0;
    left: 100%;
}

.nav.show {
    display: flex;
}

@media (max-width: 768px) {
    .nav {
        height: 100vh;
        overflow-y: auto;
    }

    .sub_menu {
        position: static;
        display: none;
        width: 100%;
        margin-left: 0;
        background: rgba(255, 255, 255, .5);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: none;
    }

    .sub_menu.show {
        display: block;
    }

    .sub_menu li > .sub_menu {
        position: static;
        margin-left: 8px;
        padding-left: 10px;
        border-left: 1px solid var(--terracotta);
    }

    .sub_menu li a {
        padding: 12px 15px 12px 6px;
    }
}
