/* pramlee50: the exhibition's black-and-gold system, for screens */
:root {
  --bg: #0b0907; --ink: #f3ead6; --dim: #bcae91; --gold: #e3b04b; --gold2: #f4ab3e; --rule: rgba(227, 176, 75, .45);
  --panel: rgba(255, 255, 255, .04); --title: "Oswald", "Arial Narrow", sans-serif;
  --body: "Roboto Condensed", "Arial Narrow", sans-serif; --label: "Questrial", "Century Gothic", sans-serif;
  --wrap: 1240px; --gutter: clamp(16px, 4vw, 48px);
  --metal: linear-gradient(180deg, #f6e2aa 0%, #d6b064 45%, #b2883e 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
em { font-style: italic; }
h1, h2, h3 { font-family: var(--title); font-weight: 500; line-height: 1.05; margin: 0 0 .4em; }
h2 { font-size: clamp(24px, 2.6vw, 34px); color: var(--gold); text-transform: uppercase; letter-spacing: .02em; margin-top: 1.4em; }
h3 { font-size: 22px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--gold); color: #000; padding: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.block { padding-top: 48px; padding-bottom: 48px; }
.narrow { max-width: 860px; }
.label { font: 400 12px/1.4 var(--label); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.gold { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* top bar */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 12px var(--gutter);
  background: rgba(8, 6, 4, .96); border-bottom: 1px solid var(--rule); }
.brand { font: 500 22px/1 var(--title); letter-spacing: .04em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand b { color: var(--gold2); font-weight: 600; }
.brand img { display: block; height: 34px; width: auto; }
.menu { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-left: auto; }
.menu a { font: 400 12px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.menu a:hover, .menu a[aria-current] { color: var(--gold); border-color: var(--gold); }
.burger { display: none; margin-left: auto; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.burger i { display: block; width: 24px; height: 2px; background: var(--gold); margin: 5px auto; transition: .2s; }
@media (max-width: 1000px) {
  .burger { display: block; }
  .menu { position: fixed; inset: 60px 0 auto 0; flex-direction: column; background: #0b0907; padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--rule); transform: translateY(-120%); transition: transform .25s; gap: 0; }
  .menu a { font-size: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  body.nav-open .menu { transform: none; }
}
.crumbs { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gutter) 0; font: 13px var(--label); letter-spacing: .06em; color: var(--dim); }
.crumbs a { color: var(--dim); text-decoration: none; } .crumbs a:hover { color: var(--gold); }
.crumbs span { opacity: .5; margin: 0 4px; }

/* hero: the gold P.RAMLEE lettering fills the whole band */
.hero { position: relative; overflow: hidden; background: #000 var(--ghost) repeat-y center top / 100% auto; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.1) 75%),
  linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,0) 40%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; min-height: min(86vh, 820px); gap: 24px; }
.hero.small .hero-grid { min-height: min(62vh, 600px); }
.hero-text { padding: 72px 0 64px; }
.hero h1 { font-size: clamp(44px, 7vw, 104px); text-transform: uppercase; line-height: .98; }
.hero .art-title { margin: 0 0 24px; }
.art-title img { display: block; width: min(100%, 580px); height: auto; filter: drop-shadow(0 2px 18px rgba(0,0,0,.55)); }
.hero.small .art-title img { width: min(100%, 500px); max-height: 62vh; object-fit: contain; object-position: left; }
.hero h1 span { display: block; } .hero h1 .w { color: #fff; } .hero h1 .g { color: var(--gold2); }
.hero .dek { font-size: 20px; max-width: 34em; color: var(--ink); }
.hero-img img { width: 100%; max-height: min(84vh, 800px); object-fit: contain; object-position: bottom; }
.btn { display: inline-block; font: 14px var(--label); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 14px 22px;
  background: var(--gold); color: #120d05; margin: 6px 8px 0 0; }
.btn.ghost { background: none; color: var(--gold); border: 1px solid var(--gold); }
@media (max-width: 800px) { .hero-grid { grid-template-columns: 1fr; } .hero-text { padding-bottom: 0; } .hero-img img { max-height: 60vh; margin: 0 auto; } }

/* home */
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.event { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: end; text-decoration: none; color: var(--ink);
  border-top: 1px solid var(--rule); padding-top: 16px; }
.event img { height: 150px; object-fit: cover; object-position: top; background: #000; }
.event h3 { color: #fff; margin: 0 0 4px; } .event p { margin: 0; color: var(--dim); }
.event .label { margin-bottom: 6px; }
@media (max-width: 900px) { .events { grid-template-columns: 1fr; } }
.intro-ex .big { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.45; max-width: 46em; }
.more { font: 13px var(--label); letter-spacing: .16em; text-transform: uppercase; }

/* section header: the title large over the section's own photograph, faded */
.shead { position: relative; padding: 72px 0 40px; border-bottom: 1px solid var(--rule); overflow: hidden; }
.shead.hasbg::before { content: ""; position: absolute; inset: 0; background: var(--hbg) center 30% / cover no-repeat; opacity: .28; }
.shead.hasbg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 20%, transparent 90%), linear-gradient(0deg, var(--bg), transparent 60%); }
.shead .wrap { position: relative; z-index: 1; }
.shead.withside .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hside figure { margin: 0; } .hside img { max-height: 70vh; width: auto; margin-left: auto; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.hside figcaption { text-align: right; }
@media (max-width: 800px) { .shead.withside .wrap { grid-template-columns: 1fr; } .hside img { margin: 0; max-height: 60vh; } }
.shead h1 { font-size: clamp(38px, 6vw, 84px); text-transform: uppercase; max-width: 15em; color: #fff; }
.shead .sub { font: 15px var(--label); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.shead .lead { max-width: 60em; }
.shead .by { font-size: 20px; color: var(--gold); margin: .2em 0; }
.shead .cite { font-size: 14px; font-style: italic; color: var(--dim); }
.signature-img { max-width: 220px; filter: invert(1) sepia(.4); opacity: .9; margin: 8px 0; }
.toc { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; }
.toc a { font: 13px var(--label); letter-spacing: .2em; text-transform: uppercase; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--panel); border: 1px solid rgba(255,255,255,.06); transition: .2s; }
.card:hover { border-color: var(--gold); transform: translateY(-2px); }
.cimg { aspect-ratio: 4 / 5; overflow: hidden; background: #000; }
.cimg img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cimg.empty { background: repeating-linear-gradient(135deg, #1a140c 0 12px, #120e08 12px 24px); }
.ctext { padding: 14px 16px 18px; } .ctext h3 { font-size: 21px; margin: 0; color: #fff; } .ctext p { margin: 6px 0 0; font-size: 15px; color: var(--dim); }

/* prose, figures, galleries */
.prose { max-width: 900px; } .wrap.prose { margin-left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); }
.prose p { margin: 0 0 1em; }
.big { font-size: 1.22em; line-height: 1.5; }
.split { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; max-width: none; }
.split .prose { max-width: none; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
figure { margin: 0 0 1.2em; }
figure img { cursor: zoom-in; background: #111; }
figcaption, .gcap { font-size: 14px; color: var(--dim); margin-top: 6px; font-style: italic; }
figure.float { width: 44%; max-width: 420px; } figure.float.right { float: right; margin-left: 28px; } figure.float.left { float: left; margin-right: 28px; }
@media (max-width: 700px) { figure.float { float: none !important; width: 100%; margin: 0 0 1.2em !important; } }
.prose::after { content: ""; display: table; clear: both; }
.gallery { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.2em 0; clear: both; }
.gallery figure { flex: calc(var(--ar) * 100) 1 calc(var(--ar) * 140px); margin: 0; }
.gallery img { width: 100%; }
.herofig { margin: 0 0 2em; } .herofig img { max-height: 72vh; width: auto; margin: 0 auto; }
blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--gold); font-style: italic; font-size: 1.08em; }
blockquote cite { display: block; font-style: normal; font-size: 15px; color: var(--gold); margin-top: 8px; }
blockquote.pull { font: 400 clamp(24px, 3vw, 34px)/1.25 var(--title); font-style: normal; color: var(--gold); border: 0; padding: 0; }
.source { color: var(--gold); }
.box { border: 1px solid var(--rule); padding: 18px 22px; margin: 1.4em 0; background: var(--panel); }
.note { font-size: 15px; font-style: italic; color: var(--dim); }
ul.marks { list-style: none; padding: 0; } ul.marks li { position: relative; padding-left: 30px; margin-bottom: .6em; }
ul.marks li::before { content: attr(data-mark); position: absolute; left: 0; color: var(--gold); font-family: var(--title); }
.signature { margin-top: 2em; border-top: 1px solid var(--rule); padding-top: 16px; text-align: right; }
.signature p { margin: 0; color: var(--dim); font-size: 15px; } .signature .name { font: 500 22px var(--title); color: #fff; }
.facts { display: grid; grid-template-columns: 120px 1fr; gap: 10px 20px; margin: 0 0 2em; }
.facts dt { font: 12px var(--label); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.facts dd { margin: 0; font-size: 19px; }
.setlist { columns: 2; column-gap: 40px; font-size: 19px; padding-left: 1.4em; } .setlist li { margin-bottom: .4em; }
.speakers { font-size: 20px; }
.programme { list-style: none; padding: 0; } .programme li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid rgba(227,176,75,.25); }
.programme time { font: 500 20px var(--title); color: var(--gold); } .programme h3 { color: #fff; margin: 0 0 4px; }
.programme .who { color: var(--gold); margin: 0; } .programme .about { color: var(--dim); font-size: 15px; margin: 2px 0 0; }
@media (max-width: 600px) { .setlist { columns: 1; } .programme li, .facts { grid-template-columns: 1fr; gap: 4px; } }

/* timeline */
.timeline .city { display: flex; align-items: baseline; gap: 16px; font-size: clamp(30px, 4vw, 52px); color: #fff; border-top: 1px solid var(--gold);
  padding-top: 18px; margin-top: 56px; scroll-margin-top: 80px; }
.timeline .city small { font: 16px var(--label); letter-spacing: .24em; color: var(--gold); }
.tl { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.07); }
.tl .year { font: 500 34px/1 var(--title); color: var(--gold2); position: sticky; top: 80px; align-self: start; margin: 0; grid-column: 1; }
.tl-body { max-width: 900px; grid-column: 2; } .tl-body p { margin: 0 0 .9em; }
.tl.dark { background: #000; padding: 22px 16px; }
figure.insignia { float: right; width: 150px; margin-left: 24px; } figure.insignia img { background: none; }
.coda { background: #050403; border: 1px solid var(--rule); padding: 28px; margin-top: 48px; }
.coda h2 { margin-top: 0; }
.honours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.honour { display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: start; }
.honour img { background: none; } .honour .year { font: 500 28px var(--title); color: var(--gold2); margin: 0 0 6px; }
@media (max-width: 800px) { .tl { grid-template-columns: 1fr; gap: 6px; } .tl .year { position: static; } .honours { grid-template-columns: 1fr; } }

/* awards record */
.record .yr { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 14px 0; border-top: 1px solid rgba(0,0,0,.12); }
.record .year { font: 500 30px/1 var(--title); color: #7a4e0a; margin: 0; }
.record ul { margin: 0; padding: 0; list-style: none; } .record li { margin-bottom: .5em; } .record .by { color: #6b5a3a; }
@media (max-width: 600px) { .record .yr { grid-template-columns: 1fr; } }
ul.awards { list-style: none; padding: 0; margin: 1em 0; } ul.awards li { padding-left: 24px; position: relative; margin-bottom: .4em; }
ul.awards li::before { content: "★"; position: absolute; left: 0; color: var(--gold); }

/* films */
.film { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 48px; align-items: start; }
.film .year { font: 500 40px/1 var(--title); color: var(--gold2); margin: 0; } .film .eng { font-style: italic; font-size: 20px; margin: 4px 0; }
.film .credit { font: 12px var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 800px) { .film { grid-template-columns: 1fr; } }
.entries { display: grid; gap: 40px; }
.entry { display: grid; grid-template-columns: 260px 1fr; gap: 32px; border-top: 1px solid var(--rule); padding-top: 24px; }
.entry h2 { margin-top: 0; color: #fff; } .entry .year { color: var(--gold); font-size: .8em; }
@media (max-width: 700px) { .entry { grid-template-columns: 1fr; } }

/* trophies and film awards */
.trophy { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--rule); }
.trophy h2 { font: 600 clamp(40px, 5vw, 72px)/1 var(--label); letter-spacing: .06em; margin: 0 0 18px; text-transform: uppercase; }
.trophy .film, .award .film { font: 500 22px var(--label); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0; }
.trophy .fest { font: 13px var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.tphoto.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.entry figure + figure, .entry div > figure { margin-top: 16px; max-width: 520px; }
.closing .cgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; max-width: 820px; }   /* small (curator, 1 Oct 2026) */
.closing .cg { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #000; }
.closing .cg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: sepia(.15); transition: transform .6s ease; }
.closing .cg:hover img { transform: scale(1.04); }
.closing .cg .yr { position: absolute; left: 6px; bottom: 5px; font: 600 11px/1 var(--label); letter-spacing: .12em; color: var(--gold2);
  text-shadow: 0 1px 6px rgba(0,0,0,.9); }
.closing .cg.last img { object-position: center 18%; filter: none; }          /* one picture per tile, the last one too */

@media (max-width: 700px) { .closing .cgrid { grid-template-columns: repeat(4, 1fr); gap: 3px; } .closing .cg .yr { font-size: 9px; left: 4px; bottom: 4px; } }
.award { position: relative; overflow: hidden; }
.award.hasbg::before { content: ""; position: absolute; inset: 0; background: var(--hbg) center / cover no-repeat; }
.award-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; min-height: 78vh; padding-top: 48px; padding-bottom: 48px; }
.award h1 { font: 600 clamp(44px, 6vw, 88px)/1 var(--label); letter-spacing: .05em; text-transform: uppercase; }
.award .eng { font: 13px var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.aposter img { max-height: 76vh; width: auto; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
@media (max-width: 800px) { .trophy, .award-grid { grid-template-columns: 1fr; } }

/* filmography */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { font: 12px var(--label); letter-spacing: .16em; text-transform: uppercase; background: none; color: var(--gold); border: 1px solid var(--rule); padding: 10px 14px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--gold); color: #140f06; }
.films { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 0 32px; }
.films > li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(227,176,75,.2); }
.films > li[hidden] { display: none; }
.films .fy { font: 500 24px var(--title); color: var(--gold2); } .films h3 { margin: 0; color: #fff; font-size: 21px; }
.films .eng { margin: 2px 0; color: var(--dim); font-style: italic; font-size: 16px; } .films .note { margin: 2px 0; }
.chips abbr { display: inline-block; font: 600 11px/18px var(--body); width: 18px; text-align: center; background: var(--gold); color: #140f06; margin-left: 3px; text-decoration: none; vertical-align: 3px; }

/* section colours */
.art-page { --bg: #110b03; background: linear-gradient(180deg, #050301 0, #2a1c06 60%, #5c410c 100%); }
.cinema { --bg: #140b08; background: #140b08; } .cinema .shead { background: linear-gradient(180deg, #5e1210, #140b08); }
.bokeh { --bg: #0a0703; background: linear-gradient(rgba(10,7,3,.5), rgba(10,7,3,.62)), #0a0703 url(/img/bokeh.webp) center top / cover; }
/* the reading column on a dark panel: the bokeh glows round it, not behind the words (curator, 1 Oct 2026: "hard to read") */
.bokeh .block.prose { background: rgba(10,7,3,.88); padding: 40px 48px; box-shadow: 0 0 80px 20px rgba(10,7,3,.55); margin-bottom: 64px; }
@media (max-width: 700px) { .bokeh .block.prose { padding: 24px 20px; } }
.black { --bg: #050505; background: #050505; }
.paper { --bg: #f4efe5; --ink: #231f20; --dim: #6b645a; --gold: #9a6a12; --rule: rgba(154,106,18,.4); --panel: rgba(0,0,0,.03); background: #f4efe5; color: #231f20; }
.paper .shead h1, .paper .ctext h3, .paper .entry h2 { color: #231f20; } .paper .card { color: #231f20; }
.paper .top, .cream .top { background: rgba(8,6,4,.94); } .paper .foot, .cream .foot { background: #0b0907; color: var(--dim); }
.cream { --bg: #f6e6e3; --ink: #231f20; --dim: #5a4a2a; --gold: #7a4e0a; --rule: rgba(122,78,10,.35); background: #f6e6e3; color: #231f20; }
.cream .shead h1 { color: #231f20; }
.paper .menu a, .cream .menu a { color: #bcae91; } .paper .brand, .cream .brand { color: #f3ead6; }

/* prev / next, footer */
.prevnext { max-width: var(--wrap); margin: 0 auto; padding: 24px var(--gutter) 56px; display: flex; justify-content: space-between; gap: 20px; }
.prevnext a { text-decoration: none; font: 500 20px var(--title); max-width: 45%; }
.prevnext span { display: block; font: 11px var(--label); letter-spacing: .24em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.prevnext .next { text-align: right; margin-left: auto; }
.foot { border-top: 1px solid var(--rule); padding: 36px var(--gutter) 48px; text-align: center; color: var(--dim); font-size: 14px; background: #0b0907; }
.foot .logos { display: flex; justify-content: center; align-items: center; gap: 28px; margin-bottom: 18px; }
.foot .logos img { height: 40px; width: auto; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 84vh; width: auto; }
.lightbox p { color: #bcae91; font-style: italic; margin-top: 12px; text-align: center; }
.lightbox button { position: absolute; top: 12px; right: 18px; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* a floated picture stays inside its block (curator review, 1 Oct 2026: Madu Tiga still ran into the page links) */
.wrap.block::after { content: ""; display: block; clear: both; }
