/*
Theme Name: Marsa
Theme URI: https://marsaalex.com
Author: Marsa Contemporary Arts
Description: Bilingual (English / Arabic) theme for Marsa Contemporary Arts — مَرسى للفنون المعاصرة. Marsa AiR residencies, the Public Programme, artists and open calls, in black and white. Version 2.
Version: 2.23.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marsa
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ink: #000;
	--paper: #fff;
	--grey: #4d4d4d;
	--soft: #e6e6e2;
	--rule: #d9d9d9;
	--max: 1200px;
	--gutter: 32px;
	--en: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--ar: "IBM Plex Sans Arabic", "Noto Sans Arabic", Tahoma, sans-serif;
}
@media (max-width: 700px) {
	:root { --gutter: 16px; }
}

/* ==========================================================================
   Language switching: both languages are in the page, one is shown.
   ========================================================================== */
html:not(.ar) [data-l="ar"] { display: none !important; }
html.ar [data-l="en"] { display: none !important; }
[lang="ar"], html.ar body { font-family: var(--ar); }
html.ar [lang="en"] { font-family: var(--en); }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--en);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
html.ar body { font-size: 18px; line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: #444; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
button { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.page-pad { padding-top: 32px; padding-bottom: 80px; }
.mt { margin-top: 24px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip: auto; left: 16px; top: 16px; z-index: 100; background: #000; color: #fff; padding: 10px 14px; }

/* ==========================================================================
   Type
   ========================================================================== */
.eyebrow {
	font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	margin: 0 0 10px;
}
html.ar .eyebrow { letter-spacing: 0; font-size: 14px; text-transform: none; }

.page-title {
	font-size: clamp(32px, 4.2vw, 44px);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -.025em;
	overflow-wrap: anywhere;
}
html.ar .page-title { font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.title-year { color: var(--grey); font-weight: 700; }
.page-lead { font-size: 18px; line-height: 1.5; max-width: 36em; margin: 12px 0 0; }
.subtitle { margin: 10px 0 0; font-size: 17px; font-weight: 600; }
.lead p, .lead { font-size: 20px; line-height: 1.5; margin: 0; }
html.ar .lead p { line-height: 1.8; }
.prose p { max-width: 40em; }
.body p { font-size: 17px; line-height: 1.65; }
html.ar .body p { line-height: 1.9; }
.body-lg p:first-child { font-size: 20px; line-height: 1.5; }
.credit { font-size: 13px; color: var(--grey); margin: 8px 0 0; }

.crumbs { margin: 0; font-size: 14px; font-weight: 600; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .quiet { color: var(--grey); }
.crumbs span[aria-hidden] { color: var(--grey); margin: 0 4px; }

.arr { display: inline-block; }

/* ==========================================================================
   Buttons, badges
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 44px; padding: 10px 22px;
	font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2;
	background: var(--ink); color: var(--paper);
	border: 2px solid var(--ink); text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-invert { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-invert:hover { background: var(--ink); color: var(--paper); }
.btn-outline-invert { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-outline-invert:hover { background: var(--paper); color: var(--ink); }
.btn-small { min-height: 38px; padding: 6px 14px; font-size: 14px; }
.arrow-link { font-weight: 700; font-size: 14px; text-decoration: none; }
.arrow-link:hover { text-decoration: underline; }

.badge {
	display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	padding: 2px 6px; border: 1.5px solid var(--ink); line-height: 1.3; white-space: nowrap;
}
html.ar .badge { letter-spacing: 0; font-size: 13px; text-transform: none; padding: 1px 8px; }
.badge-now { background: var(--ink); color: var(--paper); }
.badge-upcoming { border-style: dashed; }
.badge-past { color: var(--grey); border-color: var(--grey); }

.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.card-kind { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
html.ar .card-kind { letter-spacing: 0; font-size: 14px; text-transform: none; }

/* ==========================================================================
   Open-call strip and header
   ========================================================================== */
.call-strip { display: block; background: var(--ink); color: var(--paper); text-decoration: none; font-size: 14px; }
.call-strip:hover { color: var(--paper); }
.call-strip-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; padding-block: 9px; }
.call-strip strong { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-inline-end: 8px; }
html.ar .call-strip strong { letter-spacing: 0; font-size: 14px; text-transform: none; }
.call-strip-go { font-weight: 700; white-space: nowrap; }
.call-strip:hover .call-strip-go { text-decoration: underline; }

.site-header { border-bottom: 2px solid var(--ink); background: var(--paper); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a, .site-nav .nav-top {
	text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
	padding: 6px 0; border-bottom: 2px solid transparent;
}
html.ar .site-nav a { letter-spacing: 0; font-size: 16px; text-transform: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--ink); color: var(--ink); }
.site-nav .nav-apply { border: 2px solid var(--ink); padding: 4px 10px; }
.site-nav .nav-apply:hover { background: var(--ink); color: var(--paper); }

.nav-drop { position: relative; display: flex; align-items: center; gap: 2px; }
.drop-btn { background: none; border: 0; padding: 6px 4px; cursor: pointer; font-size: 12px; line-height: 1; }
.nav-sub {
	display: none; position: absolute; top: 100%; inset-inline-start: -16px; min-width: 260px;
	background: var(--paper); border: 2px solid var(--ink); padding: 6px 0; margin-top: 8px; z-index: 30;
}
.nav-sub::before { content: ""; position: absolute; inset-inline: 0; top: -12px; height: 12px; }
.nav-sub a { display: block; padding: 10px 16px !important; border: 0 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 15px !important; }
.nav-sub a:hover { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (min-width: 821px) { .nav-drop:hover .nav-sub { display: block; } }
.nav-drop:focus-within .nav-sub, .nav-drop.open .nav-sub { display: block; }

.lang-btn {
	font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
	background: var(--ink); color: var(--paper); border: 2px solid var(--ink); padding: 4px 12px; min-height: 36px;
}
.lang-btn [lang="ar"] { font-family: var(--ar); }
.lang-btn:hover { background: var(--paper); color: var(--ink); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn .bar { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

@media (max-width: 820px) {
	.header-inner { min-height: 60px; }
	.brand img { height: 38px; }
	.menu-btn { display: block; }
	.site-nav {
		display: none; position: absolute; inset-inline: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--paper); border-bottom: 2px solid var(--ink); padding: 4px var(--gutter) 20px;
	}
	.site-nav.open { display: flex; }
	.site-nav a, .site-nav .nav-top { padding: 13px 0; font-size: 16px; border-bottom: 1px solid #ddd; }
	.site-nav a[aria-current="page"] { border-bottom-color: #ddd; font-weight: 800; }
	.nav-drop { flex-direction: column; align-items: stretch; }
	.drop-btn { display: none; }
	.nav-sub { display: block; position: static; border: 0; margin: 0; padding: 0; min-width: 0; }
	.nav-sub a { padding: 11px 16px !important; border-bottom: 1px solid #eee !important; }
	.site-nav .nav-apply { margin-top: 12px; text-align: center; }
	.lang-btn { margin-top: 14px; align-self: flex-start; }
}

/* ==========================================================================
   Images
   ========================================================================== */
.media { position: relative; overflow: hidden; background: var(--soft); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.media-empty { background: var(--soft); }
.banner { margin-top: 20px; height: clamp(180px, 28vw, 340px); background: var(--soft); overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Homepage
   ========================================================================== */
.home-page { padding-top: 44px; padding-bottom: 72px; }
.home-intro { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.25; font-weight: 700; letter-spacing: -.015em; max-width: 24em; }
html.ar .home-intro { letter-spacing: 0; line-height: 1.6; }

.carousel { margin-top: 32px; }
.slides { position: relative; height: clamp(240px, 36vw, 440px); background: var(--soft); overflow: hidden; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s; }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }
.carousel-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.dots { display: flex; flex-wrap: wrap; gap: 2px; }
.dot { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dot span { display: block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); }
.dot[aria-current="true"] span { background: var(--ink); }
.carousel-btns { display: flex; gap: 8px; }
.c-btn { min-width: 40px; height: 40px; padding: 0 12px; border: 2px solid var(--ink); background: var(--paper); cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; }
.c-btn:hover { background: var(--ink); color: var(--paper); }
.c-arrow { font-size: 17px; padding: 0; }
.c-toggle .when-paused { display: none; }
.carousel.is-paused .c-toggle .when-playing { display: none; }
.carousel.is-paused .c-toggle .when-paused { display: inline; }

.at-marsa { margin-top: 56px; }
.section-head {
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px;
	border-top: 2px solid var(--ink); padding-top: 14px; margin-bottom: 24px;
}
.section-head .eyebrow { margin: 0; }
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px 40px; align-items: center; text-decoration: none; }
.feature-title { margin-top: 12px; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.1; font-weight: 800; letter-spacing: -.015em; }
html.ar .feature-title { letter-spacing: 0; line-height: 1.45; font-weight: 700; }
.feature-short { margin: 12px 0 0; font-size: 16px; line-height: 1.55; }
.feature-dates { margin: 12px 0 0; font-size: 14px; font-weight: 600; }
.home-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px; margin-top: 40px; }
.tile { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-decoration: none; }
.tile .media { width: 100%; margin-bottom: 4px; }
.tile-title { font-size: 20px; font-weight: 800; line-height: 1.2; }
html.ar .tile-title { font-weight: 700; line-height: 1.55; }
.tile-meta { font-size: 14px; color: var(--grey); }
.feature:hover .feature-title, .tile:hover .tile-title, .card:hover .card-title, .card-row:hover .card-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.what { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px 64px; margin-top: 64px; padding-top: 14px; border-top: 2px solid var(--ink); }
@media (max-width: 800px) { .what { grid-template-columns: 1fr; } }
.what-text { font-size: 20px; line-height: 1.5; margin: 0; }
.strands { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px 32px; margin-top: 24px; }
.strands a { text-decoration: none; border-top: 1px solid var(--ink); padding-top: 12px; font-size: 15px; color: #444; }
.strands strong { display: block; font-size: 17px; color: var(--ink); margin-bottom: 2px; }
.strands a:hover strong { text-decoration: underline; }

/* Homepage hero: text (about 55%) and photos (about 45%); stacked on phones. */
.hero { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: 32px 56px; align-items: center; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }
.hero-text .eyebrow { margin-bottom: 18px; }
.hero-title { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; font-weight: 800; letter-spacing: -.025em; max-width: 13em; text-wrap: balance; }
html.ar .hero-title { font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.hero-lead { margin: 24px 0 0; font-size: 18px; line-height: 1.6; max-width: 34em; }
html.ar .hero-lead { line-height: 1.85; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-media { margin-top: 0; }
.hero-media .slides { height: auto; aspect-ratio: 1 / 1; }
@media (max-width: 860px) { .hero-media .slides { aspect-ratio: 4 / 3; } }
.home-page .at-marsa { margin-top: 72px; }

/* Explore Marsa: two doors into the programme. */
.explore { margin-top: 72px; }
.explore-intro { font-size: 20px; line-height: 1.55; max-width: 38em; margin: 0 0 28px; }
html.ar .explore-intro { line-height: 1.85; }
.explore-doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.door { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 2px solid var(--ink); text-decoration: none; min-height: 170px; }
.door-title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
html.ar .door-title { font-weight: 700; letter-spacing: 0; line-height: 1.5; }
.door-text { font-size: 16px; line-height: 1.55; }
.door:hover { background: var(--ink); color: var(--paper); }

/* About teaser. */
.teaser { margin-top: 72px; padding: 40px 0 0; border-top: 2px solid var(--ink); display: grid; gap: 20px; }
.teaser-text { margin: 0; font-size: clamp(24px, 3vw, 36px); line-height: 1.25; font-weight: 700; letter-spacing: -.015em; max-width: 26em; text-wrap: balance; }
html.ar .teaser-text { letter-spacing: 0; line-height: 1.7; }
.teaser-link { font-size: 16px; }

/* Recently at Marsa: one past project at a time, with pause. */
.recent { margin-top: 72px; }
.recent-carousel { margin-top: 0; }
.recent-slides { display: grid; }
.recent-slide { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px 40px; align-items: center; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; position: static; }
.recent-slide.is-on { opacity: 1; visibility: visible; }
.recent-text { display: flex; flex-direction: column; align-items: flex-start; }
.recent-slide:hover .feature-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .recent-slide { transition: none; } }

/* ==========================================================================
   Programmes: overview, lists, cards
   ========================================================================== */
.strand-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; margin-top: 36px; }
.strand { border-top: 2px solid var(--ink); padding-top: 14px; }
.strand-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.strand-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.015em; }
html.ar .strand-head h2 { font-weight: 700; letter-spacing: 0; font-size: 24px; }
.strand-head h2 a { text-decoration: none; }
.strand-line { margin: 6px 0 16px; font-size: 15px; color: var(--grey); }
.rows-list { border-bottom: 1px solid var(--rule); }

.card-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.card-row .card-body { display: flex; flex-direction: column; gap: 4px; }
.card-row .card-title { font-size: 18px; }
@media (max-width: 480px) { .card-row { grid-template-columns: 110px minmax(0, 1fr); } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 14px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.chip {
	display: inline-flex; align-items: center; font-weight: 700; font-size: 14px; text-decoration: none;
	min-height: 40px; padding: 8px 14px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink);
}
.chip:hover, .chip[aria-current="true"] { background: var(--ink); color: var(--paper); }

.list-block { margin-top: 40px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 32px 28px; }
.card-grid-lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.card { display: flex; flex-direction: column; text-decoration: none; }
.card .media { margin-bottom: 12px; }
.card .card-body { display: flex; flex-direction: column; gap: 6px; }
.card-title { font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -.005em; }
.card-grid-lg .card-title { font-size: 22px; }
html.ar .card-title { font-weight: 700; line-height: 1.5; letter-spacing: 0; }
.card-dates { font-size: 14px; color: var(--grey); }
.card.is-past .card-kind { color: var(--grey); }
.empty { font-size: 17px; color: var(--grey); margin: 0; }
.more { display: flex; justify-content: center; margin: 32px 0 0; }

.year-archive { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; margin-top: 56px; padding: 14px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.year-archive-h { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
html.ar .year-archive-h { letter-spacing: 0; font-size: 15px; text-transform: none; }
.year-archive a { font-size: 16px; font-weight: 700; }
.year-archive a[aria-current="page"] { text-decoration: none; background: var(--ink); color: var(--paper); padding: 0 6px; }
.year-archive a.quiet { font-weight: 500; color: var(--grey); }

.block-h {
	margin: 0 0 18px; padding-top: 14px; border-top: 2px solid var(--ink);
	font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
html.ar .block-h { letter-spacing: 0; font-size: 15px; text-transform: none; }

/* ==========================================================================
   Residency and event pages
   ========================================================================== */
.head-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px 56px; margin-top: 28px; align-items: start; }
.head-split .page-title { margin-top: 12px; }
.head-action { margin: 20px 0 0; }
.facts { margin: 0; border-top: 2px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
html.ar .facts dt { letter-spacing: 0; font-size: 14px; text-transform: none; padding-top: 0; }
.facts dd { margin: 0; font-size: 15px; line-height: 1.5; }
.facts dd p { margin: 0 0 .5em; font-size: 15px; }
@media (max-width: 480px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }

.text-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px 56px; margin-top: 36px; align-items: start; }
.text-split .body p { color: #333; }

.link-box {
	margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
	border: 2px solid var(--ink); padding: 20px 26px; text-decoration: none;
}
.link-box > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.link-box-k { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
html.ar .link-box-k { letter-spacing: 0; font-size: 14px; text-transform: none; }
.link-box-t { font-size: 21px; font-weight: 800; line-height: 1.2; }
html.ar .link-box-t { font-weight: 700; line-height: 1.5; }
.link-box-d { font-size: 14px; color: var(--grey); }
.link-box-btn { font-size: 15px; font-weight: 700; border: 2px solid currentColor; padding: 9px 16px; white-space: nowrap; }
.link-box:hover .link-box-btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.link-box-dark { background: var(--ink); color: var(--paper); }
.link-box-dark:hover { color: var(--paper); }
.link-box-dark .link-box-d { color: #ddd; }
.link-box-dark:hover .link-box-btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.link-box + .link-box { margin-top: 12px; }

.block { margin-top: 52px; }

.stages { list-style: none; margin: 0; padding: 0; }
.stages li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 17px; font-weight: 600; }
.stages .num { font-weight: 700; font-size: 14px; padding-top: 2px; }

.panel {
	margin-top: 32px; background: var(--ink); color: var(--paper); padding: 28px 32px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.panel a:hover { color: inherit; }
.panel-text { flex: 1 1 420px; }
.panel .eyebrow { margin-bottom: 8px; }
.panel-h { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; font-weight: 800; letter-spacing: -.015em; margin: 0; }
html.ar .panel-h { letter-spacing: 0; line-height: 1.55; font-weight: 700; }
.panel-line { margin: 10px 0 0; font-size: 15px; color: #dcdcdc; max-width: 46em; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) { .panel { padding: 24px 20px; } }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 20px; }
.person { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.person .media { margin-bottom: 6px; }
.person-name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.person-role { font-size: 13px; color: var(--grey); }
.people-text { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 28px; }
.people-text .person { padding: 10px 0; border-bottom: 1px solid var(--rule); }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.g-item { display: block; overflow: hidden; background: var(--soft); aspect-ratio: 4 / 3; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.g-item:hover img { transform: scale(1.02); }
.g-big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .gallery, .gallery-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-big { grid-row: auto; aspect-ratio: 4 / 3; } }

.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 32px 24px; align-items: start; }
.video-item:not(.is-v) { grid-column: span 2; }
@media (max-width: 760px) { .video-item:not(.is-v) { grid-column: auto; } }
.video-item { margin: 0; }
.video-item figcaption { margin-top: 8px; font-size: 16px; font-weight: 700; }
.video-item figcaption .video-title { display: block; }
.video-item .video-from { display: inline-block; margin-top: 2px; font-size: 14px; font-weight: 400; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.video-item .video-from:hover { text-decoration-thickness: 2px; }
.video-item .video-title + .video-from { margin-top: 4px; }
.video:not(.video-v) iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; display: block; }
/* Vertical videos (Instagram, TikTok, Shorts): shown tall and uncut, at phone width. */
.video-v { max-width: 400px; }
.video-v iframe, .video-v .instagram-media, .video-v .tiktok-embed { width: 100% !important; min-width: 0 !important; max-width: 400px !important; margin: 0 !important; border: 0; display: block; }
.video-short iframe { aspect-ratio: 9 / 16; height: auto; }
.video-link-v { aspect-ratio: 9 / 16; max-width: 400px; }
.video-link { display: grid; place-items: center; aspect-ratio: 16 / 9; background: #1c1c1c; color: #fff; }

.rows { list-style: none; margin: 0; padding: 0; }
.rows li a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.row-title { font-size: 17px; font-weight: 700; }
.row-kind { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.partners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.partners li { border: 1.5px solid var(--ink); min-width: 180px; max-width: 300px; }
.partner { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; text-decoration: none; height: 100%; }
.partners img { max-height: 56px; width: auto; }
.partner-name { font-weight: 700; font-size: 15px; line-height: 1.35; }
.partner-role { font-size: 13px; color: var(--grey); }

/* ==========================================================================
   Artists
   ========================================================================== */
.letters { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 28px; padding: 10px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.letters a, .letters span { display: inline-block; min-width: 30px; padding: 6px; text-align: center; font-size: 15px; }
.letters a { font-weight: 800; text-decoration: none; }
.letters a:hover { background: var(--ink); color: var(--paper); }
.letters span { color: #808080; }
.letter-group { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 16px; }
.letter { font-size: 30px; font-weight: 800; line-height: 1; }
.letter-group ul { list-style: none; margin: 0; padding: 0; }
.letter-group a, .dir-plain { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; padding: 6px 0; text-decoration: none; }
.dir-name { font-size: 20px; font-weight: 700; line-height: 1.3; }
.dir-plain .dir-name { font-weight: 500; }
.dir-proj { font-size: 14px; color: var(--grey); }
.letter-group a:hover .dir-name { text-decoration: underline; }
@media (max-width: 640px) { .letter-group { grid-template-columns: 44px minmax(0, 1fr); } .letter { font-size: 24px; } .dir-name { font-size: 18px; } }

.artist { display: flex; flex-wrap: wrap; gap: 32px 56px; margin-top: 28px; align-items: flex-start; }
.artist-img { flex: 1 1 260px; max-width: 360px; }
.artist-text { flex: 999 1 480px; min-width: 0; }
.link-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ==========================================================================
   Open call, about, contact
   ========================================================================== */
.call .page-title { margin-top: 12px; }
.call .facts { margin-top: 32px; }
.call .facts > div { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); }
.call .facts dd { font-size: 16px; }
@media (max-width: 560px) { .call .facts > div { grid-template-columns: 1fr; } }
.call-form { margin-top: 56px; scroll-margin-top: 90px; }
.call-form-frame { margin-top: 16px; border: 2px solid var(--ink); background: #fff; }
.call-form-frame iframe { display: block; width: 100%; height: 1500px; border: 0; }
@media (max-width: 700px) { .call-form-frame iframe { height: 1900px; } }
.call-form-alt { margin: 12px 0 0; font-size: 15px; }
.call-form-open { display: none; margin: 16px 0 0; }
@media (max-width: 700px) { .call-form-open { display: block; } .call-form-open .btn { width: 100%; justify-content: center; } }
.other-strand { margin: 14px 0 0; }

.split { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px 56px; margin-top: 44px; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.approach { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px; }
.approach .num { font-weight: 700; font-size: 14px; }
.approach h3 { margin: 8px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
html.ar .approach h3 { font-weight: 700; letter-spacing: 0; }
.approach p { margin: 6px 0 0; font-size: 16px; }
.team p { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.cta { margin-top: 56px; border-top: 2px solid var(--ink); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.cta-text { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
html.ar .cta-text { font-weight: 700; letter-spacing: 0; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 56px; margin-top: 32px; align-items: start; }
.contact .facts > div { grid-template-columns: minmax(0, 160px) minmax(0, 1fr); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.map-box {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
	aspect-ratio: 3 / 2; border: 2px solid var(--ink); text-decoration: none; font-weight: 700;
	background: repeating-linear-gradient(45deg, #fff 0 14px, #efefec 14px 16px);
}
a.map-box:hover { background: var(--ink); color: var(--paper); }
.contact-soon { margin: 24px 0 0; max-width: 1000px; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -.015em; }
html.ar .contact-soon { font-weight: 700; letter-spacing: 0; line-height: 1.45; }
.contact-reach { margin: 36px 0 0; font-size: 17px; }
.contact.contact-after-reach { margin-top: 16px; }
.contact-map .contact-nl-side { margin-top: 0; }
.contact-map .contact-nl-side .nl { max-width: none; }
.sep { color: var(--grey); }

/* ==========================================================================
   Footer and newsletter
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--paper); padding: 48px 0 24px; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: #ccc; }
.footer-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, .7fr) minmax(0, 1.5fr); gap: 32px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo img { height: 72px; width: auto; }
.footer-h { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; }
html.ar .footer-h { letter-spacing: 0; font-size: 14px; text-transform: none; }
.footer-col p { margin: 0 0 6px; font-size: 14px; line-height: 1.6; }
.footer-quiet { color: #ccc; }
.footer-bottom { margin-top: 40px; padding-top: 16px; border-top: 1px solid #444; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #bbb; }

.nl .nl-h { font-size: 17px; font-weight: 800; margin: 0 0 4px; line-height: 1.3; }
html.ar .nl .nl-h { font-weight: 700; }
.nl .nl-line { font-size: 14px; line-height: 1.55; color: #ddd; margin: 0 0 12px; }
.nl form { display: flex; flex-wrap: wrap; gap: 0; margin: 0; }
.nl .ml-form-formContent { flex: 1 1 200px; min-width: 0; }
.nl .ml-form-fieldRow, .nl .ml-field-group { height: 100%; }
.nl input[type="email"] {
	width: 100%; height: 100%; font: inherit; font-size: 15px; padding: 10px 12px; min-height: 46px;
	border: 2px solid var(--paper); background: transparent; color: var(--paper); border-radius: 0; margin: 0;
}
html.ar .nl input[type="email"] { text-align: right; }
.nl input[type="email"]::placeholder { color: #aaa; }
.nl .ml-error input[type="email"] { border-color: #ff8a8a; }
.nl .ml-form-recaptcha { order: 3; flex-basis: 100%; margin-top: 10px; min-height: 78px; }
.nl .ml-form-recaptcha.ml-error iframe { outline: 2px solid #ff8a8a; }
.nl .ml-form-embedSubmit { flex: 0 0 auto; display: flex; }
.nl .ml-form-embedSubmit button {
	font: inherit; font-weight: 700; font-size: 14px; padding: 10px 16px; min-height: 46px; cursor: pointer;
	background: var(--paper); color: var(--ink); border: 2px solid var(--paper); border-radius: 0; margin: 0;
	text-transform: none; letter-spacing: .02em;
}
.nl .ml-form-embedSubmit button:hover { background: #ddd; border-color: #ddd; }
.ml-form-embedSubmitLoad { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 3px solid #000; border-color: #000 #000 #000 transparent; animation: ml-spin 1.2s linear infinite; }
@keyframes ml-spin { to { transform: rotate(360deg); } }
.nl .row-success .nl-h { font-size: 18px; }
@media (max-width: 380px) { .nl form { flex-direction: column; } .nl .ml-form-embedSubmit button { width: 100%; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, .94); display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 0; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; }
.lightbox figcaption { color: #ddd; font-size: 14px; text-align: center; }
.lightbox button { background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; height: 56px; }
.lb-x { position: absolute; top: 8px; inset-inline-end: 12px; width: 56px; }
html.ar .lb-prev, html.ar .lb-next { transform: scaleX(-1); }

/* Photo position: which part of the photo stays in view (set on each page, under "Main image"). */
.pos-top img { object-position: 50% 0%; }
.pos-upper img { object-position: 50% 25%; }
.pos-center img { object-position: 50% 50%; }
.pos-bottom img { object-position: 50% 100%; }
.banner.pos-whole { height: auto; background: none; }
.banner.pos-whole img { height: auto; object-fit: contain; }
.media.pos-whole img { object-fit: contain; }

/* Homepage "Recently": a small slideshow of the latest finished projects. */
.tile-recent { gap: 10px; }
.mini-slides { display: grid; width: 100%; }
.mini-slides .slide { position: static; grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .6s, visibility 0s .6s; }
.mini-slides .slide.is-on { opacity: 1; visibility: visible; transition: opacity .6s; }
.mini-slides .slide .media { width: 100%; margin-bottom: 4px; }
.mini-slides .slide:hover .tile-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mini-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; width: 100%; }
.mini-bar .dots { margin-inline-end: auto; }
.mini-bar .c-btn { min-width: 34px; height: 34px; font-size: 15px; }
.mini-all { flex-basis: 100%; }
@media (prefers-reduced-motion: reduce) { .mini-slides .slide { transition: none; } }

/* Footer: Instagram and Facebook icons */
.footer-col .social { display: flex; gap: 14px; margin-top: 2px; }
.social-icon { display: inline-flex; height: 40px; align-items: center; color: var(--paper); }
.social-icon:hover { color: #bbb; }
.social-icon svg { display: block; }

/* Contact page: newsletter box */
.contact-nl { margin-top: 56px; }
.contact-nl .nl { background: var(--ink); color: var(--paper); padding: 28px 32px; max-width: 640px; }
@media (max-width: 640px) { .contact-nl .nl { padding: 22px 20px; } }

/* Footer links and cookie banner */
.footer-links { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.footer-links a, .link-btn { color: #bbb; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: #fff; }
.cookie-bar { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 90; max-width: 720px; margin-inline: auto; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1 1 320px; font-size: 14px; line-height: 1.5; }
.cookie-bar .btns { display: flex; gap: 8px; }
.cookie-bar .btn { min-height: 40px; padding: 8px 18px; font-size: 14px; }

/* ==========================================================================
   Compact spacing (2.3.1): wider pages, less space between sections.
   Font sizes are unchanged.
   ========================================================================== */
.page-pad{padding-top:24px;padding-bottom:56px}
.header-inner{min-height:60px}
.home-page{padding-top:28px;padding-bottom:48px}
.hero{gap:24px 48px}
@media (min-width: 861px) { .hero-media .slides { aspect-ratio: 5 / 4; } }
.hero-lead{margin-top:18px}
.hero-btns{margin-top:22px}
.home-page .at-marsa,.explore,.recent{margin-top:48px}
.teaser{margin-top:48px;padding-top:28px;gap:14px}
.section-head{margin-bottom:18px}
.feature{gap:16px 32px}
.feature .media{aspect-ratio:16/10}
.home-grid{gap:24px;margin-top:24px}
.home-page .home-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr))}
.explore-intro{margin-bottom:20px}
.door{min-height:0;padding:20px}
.recent-slide .media{aspect-ratio:16/10}
.banner{height:clamp(160px,24vw,280px)}
.block{margin-top:36px}
.split{margin-top:28px}
.cta{margin-top:40px}
.list-block{margin-top:28px}
.strand-cols{gap:32px;margin-top:24px}
.year-archive{margin-top:40px}
.contact{margin-top:24px}
.contact-nl,.call-form{margin-top:40px}
.site-footer{padding:32px 0 20px}
.footer-bottom{margin-top:24px}
.home-grid.row3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 0; }
@media (max-width: 900px) { .home-grid.row3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .home-grid.row3 { grid-template-columns: 1fr; } }


/* Top bars: open call (with countdown) and coming-up event, thin, on every page (2.4.1) */
.top-bar { display: block; background: var(--ink); color: var(--paper); text-decoration: none; font-size: 14px; }
.top-bar:hover { color: var(--paper); }
.top-bar + .top-bar { margin-top: 4px; }
.top-bar-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; padding-block: 9px; }
.top-bar strong { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-inline-end: 8px; }
html.ar .top-bar strong { letter-spacing: 0; font-size: 14px; text-transform: none; }
.top-bar-when { font-weight: 700; }
.ann-sep { margin-inline: 6px; color: #9a9a9a; }
.top-bar-btn { font-weight: 700; white-space: nowrap; border: 1.5px solid var(--paper); padding: 3px 10px; font-size: 13px; }
.top-bar:hover .top-bar-btn { background: var(--paper); color: var(--ink); }
.panel-count { color: var(--paper) !important; font-weight: 700; font-size: 17px !important; }
@media (max-width: 600px) {
	.ann-sep { display: none; }
	.ann-title { display: block; }
}

/* Add to calendar (2.5.0) */
.cal-links { margin: 14px 0 0; font-size: 14px; }
.cal-links .cal-h { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-inline-end: 10px; }
html.ar .cal-links .cal-h { letter-spacing: 0; font-size: 14px; text-transform: none; }
.cal-links a { font-weight: 700; }
.panel .cal-links a, .panel .cal-links { color: var(--paper); }

/* Open call: Apply + Share, stacked and the same size (2.5.0) */
.panel-call .panel-actions { flex-direction: column; align-items: stretch; min-width: 260px; }
.panel-call .panel-actions .btn { justify-content: center; text-align: center; width: 100%; }
.share { position: relative; }
.share-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 30; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); min-width: 260px; padding: 6px 0; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.share-menu[hidden] { display: none; }
.share-menu a, .share-menu button { display: block; width: 100%; text-align: start; padding: 10px 18px; font: inherit; font-weight: 700; font-size: 15px; color: var(--ink) !important; text-decoration: none; background: none; border: 0; cursor: pointer; }
.share-menu a:hover, .share-menu button:hover { background: var(--ink); color: var(--paper) !important; }
.share-note { margin: 6px 18px 8px; font-size: 13px; color: var(--grey); }
@media (max-width: 640px) { .panel-call .panel-actions { min-width: 0; width: 100%; } .share-menu { inset-inline: 0; } }
.event-share { margin-top: 14px; max-width: 320px; }
.event-share .share-btn { width: 100%; justify-content: center; }
.event-share .share-menu { inset-inline-end: auto; inset-inline-start: 0; }
.head-split > .head-more { grid-column: -2 / -1; }
.head-more .cal-links { margin-top: 0; }
@media (max-width: 860px) { .head-split > .head-more { grid-column: auto; } }

/* Event actions: Add to calendar · Share · Facebook event, one row (2.5.2) */
.act-row { display: flex; flex-wrap: wrap; gap: 10px; }
.act-row > .share, .act-row > .btn { flex: 1 1 0; min-width: 0; }
.act-row .btn { width: 100%; justify-content: center; text-align: center; padding-inline: 12px; white-space: nowrap; }
.act-row .share-menu { inset-inline-end: auto; inset-inline-start: 0; }
.act-row .share-menu a { display: block; }
.act-row .share-note[data-show] { display: block; }
.show-sm { display: none; }
@media (max-width: 520px) {
	.act-row { gap: 8px; }
	.act-row .btn { padding: 12px 6px; font-size: 15px; }
	.act-row .hide-sm { display: none; }
	.act-row .show-sm { display: inline; }
	.act-row .share-menu { min-width: 240px; }
	.act-row > .share:last-of-type .share-menu { inset-inline-start: auto; inset-inline-end: 0; }
}

/* Continue exploring + Follow on Instagram (2.6.0) */
.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related-why { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
html.ar .related-why { letter-spacing: 0; font-size: 14px; text-transform: none; }
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }
.nl-follow { margin: 16px 0 0; }
/* Opportunities page */
.opp-open { display: grid; gap: 18px; }
.opp-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; background: var(--ink); color: var(--paper); padding: 26px 28px; text-decoration: none; }
.opp-card:hover { color: var(--paper); }
.opp-card h3 { margin: 6px 0 6px; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; letter-spacing: -.01em; }
.opp-card p { margin: 0; color: #d8d8d8; }
.opp-card .countdown { color: var(--paper); font-weight: 700; }
.opp-past { list-style: none; margin: 0; padding: 0; }
.opp-past li a { display: grid; grid-template-columns: minmax(0, 1fr) 270px 260px; gap: 16px; padding: 16px 0; border-top: 1px solid #ddd; color: inherit; text-decoration: none; align-items: baseline; }
.opp-past li a:hover b { text-decoration: underline; }
.opp-past b { font-size: 19px; }
.opp-past span { color: var(--grey); font-size: 15px; }
@media (max-width: 700px) { .opp-card { grid-template-columns: 1fr; } .opp-past li a { grid-template-columns: 1fr; gap: 2px; } }
.opp-card .badge { border-color: var(--paper); color: var(--paper); }
.related-more { margin: 24px 0 0; font-weight: 700; text-align: start; }
.related-more .more { display: inline-flex; width: auto; margin: 0; }

/* Press and resources (2.6.0) */
.press-texts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.press-k { margin: 0 0 6px; font-weight: 700; }
.press-text p { margin: 0 0 12px; }
.press-copy { color: var(--ink) !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.press-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.press-photos figure { margin: 0; }
.press-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.press-photos figcaption { font-size: 14px; margin-top: 6px; }
.press-credit { margin-top: 14px; }
.press-mail { font-size: 22px; margin: 0; }
@media (max-width: 760px) { .press-texts { grid-template-columns: 1fr; } .press-photos { grid-template-columns: 1fr 1fr; } }
.footer-links-extra a { margin-inline-end: 18px; }

/* Project photos: small squares, 6 in a row, up to 2 rows (2.6.3) */
.gallery-sq { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.gallery-sq .g-item { position: relative; aspect-ratio: 1 / 1; }
.gallery-sq .g-item[hidden] { display: none; }
.g-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .6); color: #fff; font-size: 22px; font-weight: 700; }
@media (max-width: 640px) { .gallery-sq { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; } .g-more { font-size: 18px; } }

/* ==========================================================================
 * 2.8.0 — contemporary layer. Text sizes and fonts are unchanged on purpose.
 * Green = open or happening now. Red = closed or finished.
 * ======================================================================= */
:root { --go: #12804a; --stop: #c62828; --rule: #e4e4e4; --ease: cubic-bezier(.2, .7, .2, 1); }

/* Header: thin line, slides away on scroll down, back on scroll up. */
.site-header {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px);
	border-bottom-width: 1px; background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
	transition: transform .35s var(--ease);
}
.site-header.is-away { transform: translateY(-100%); }
.nav-sub { border-width: 1px; }

/* Buttons and badges: round, thin. */
.btn { border-radius: 999px; border-width: 1px; padding-inline: 22px; transition: background-color .2s, color .2s, border-color .2s; }
.hero-btns .btn-ghost { border-color: transparent; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; padding-inline: 4px; }
.hero-btns .btn-ghost:hover { background: none; color: var(--ink); border-color: transparent; text-decoration-thickness: 2px; }
.btn-small { padding-inline: 16px; }
.badge { border-radius: 999px; border-width: 1px; padding-inline: 10px; }
.badge-now { background: var(--go); border-color: var(--go); color: #fff; }
.badge-past { color: var(--stop); border-color: var(--stop); background: none; }
.filters a, .filters button { border-radius: 999px; border-width: 1px; }

/* Status colours on the open-call box and the bars at the top. */
.top-bar { background: var(--go); }
.top-bar-btn { border-width: 1px; border-radius: 999px; }
.top-bar:hover .top-bar-btn { color: var(--go); }
.panel { border-width: 1px; }
.panel-call.is-open { background: var(--go); border-color: var(--go); }
.panel-call.is-closed { background: var(--stop); border-color: var(--stop); }
.panel-call .panel-line { color: rgba(255, 255, 255, .85); }
.panel-call .btn-invert:hover { color: var(--paper); border-color: var(--paper); background: transparent; }

/* Carousel: same carousel, icon-only round controls. */
.c-btn { border-width: 1px; border-radius: 999px; min-width: 40px; padding: 0; display: inline-grid; place-items: center; transition: background-color .2s, color .2s; }
.mini-bar .c-btn { min-width: 34px; }
.c-ico { font-size: 12px; line-height: 1; }
.dot span { border-width: 1px; width: 8px; height: 8px; transition: background-color .2s, transform .2s; }
.dot[aria-current="true"] span { transform: scale(1.25); }

/* Homepage. */
.home-page .at-marsa { margin-top: 88px; }
.explore { margin-top: 104px; }
.explore-doors { gap: 48px; }
.door { border: 0; border-top: 1px solid var(--ink); padding: 20px 0 0; min-height: 0; }
.door:hover { background: none; color: var(--ink); }
.door:hover .door-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Project pages: full-width photo, credit on the photo, light rows. */
html, body { overflow-x: clip; } /* the full-width photo never causes sideways scrolling */
.project .banner { width: 100vw; margin-inline: calc(50% - 50vw); height: clamp(260px, 56vh, 620px); position: relative; }
.project .banner.pos-whole { height: auto; }
.banner-credit {
	position: absolute; inset-inline-end: 12px; bottom: 10px; font-size: 11px; line-height: 1.3;
	color: #fff; background: rgba(0, 0, 0, .45); padding: 3px 8px; border-radius: 999px;
}
.crumbs { color: var(--grey); }
.facts { border-top-width: 1px; }
.link-box, .link-box-dark { background: none; color: var(--ink); border: 0; border-top: 1px solid var(--ink); padding: 22px 0; }
.link-box-dark:hover { color: var(--ink); }
.link-box-dark .link-box-d { color: var(--grey); }
.link-box + .link-box { margin-top: 0; }
.link-box-btn, .link-box:hover .link-box-btn, .link-box-dark:hover .link-box-btn { border: 0; background: none; color: var(--ink); padding: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.link-box:hover .link-box-t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.partners li { border: 0; border-top: 1px solid var(--ink); }
.partner { padding-inline: 0; }

/* Programme pages: cards become an index list. */
.card-grid:not(.card-grid-lg) { display: block; }
.card-grid:not(.card-grid-lg) .card { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 260px); gap: 6px 28px; align-items: center; padding: 18px 0; border-top: 1px solid var(--rule); }
.card-grid:not(.card-grid-lg) .card:last-child { border-bottom: 1px solid var(--rule); }
.card-grid:not(.card-grid-lg) .card .media { margin: 0; width: 120px; grid-row: 1 / 3; grid-column: 1; }
.card-grid:not(.card-grid-lg) .card .card-body { display: contents; }
.card-grid:not(.card-grid-lg) .card-meta { grid-column: 3; grid-row: 1 / 3; justify-self: end; flex-direction: column; align-items: flex-end; gap: 6px; text-align: end; }
.card-grid:not(.card-grid-lg) .card-title { grid-column: 2; grid-row: 1; align-self: end; }
.card-grid:not(.card-grid-lg) .card-dates { grid-column: 2; grid-row: 2; align-self: start; }
.card-grid:not(.card-grid-lg) .card:hover .card-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 700px) {
	.project .banner { height: 40vh; }
	.card-grid:not(.card-grid-lg) .card { grid-template-columns: 84px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
	.card-grid:not(.card-grid-lg) .card .media { width: 84px; }
	.card-grid:not(.card-grid-lg) .card-meta { grid-column: 2; grid-row: 3; justify-self: start; align-items: flex-start; flex-direction: row; text-align: start; }
}

/* Opportunities page: open calls in green, closed calls in red. */
.opp-card { background: var(--go); transition: filter .2s; }
.opp-card:hover { filter: brightness(1.08); }
.opp-card p { color: rgba(255, 255, 255, .88); }
.opp-card .badge-open { background: transparent; color: #fff; border-color: #fff; }
.opp-card .btn-invert { color: var(--go); }
.opp-past b .badge { margin-inline-end: 10px; vertical-align: 3px; }
.opp-closed { color: var(--stop); }
.opp-past li a:hover b { text-decoration: none; }
.opp-past li a:hover .opp-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Links keep their colour: no colour change on hover or press (colour is only for status). */
a:hover, a:active { color: inherit; }
.top-bar:hover, .opp-card:hover { color: #fff; }
.site-footer a:hover { color: var(--paper); }

/* Rounded everywhere: pills for buttons and fields, soft corners for boxes and photos. */
:root { --r: 14px; --rp: 10px; }
.lang-btn, .site-nav .nav-apply, .chip, .letters a, .year-archive a[aria-current="page"], .share-btn, .lightbox button { border-radius: 999px; }
.lang-btn { border-width: 1px; padding-inline: 14px; }
.site-nav .nav-apply { border-width: 1px; padding-inline: 14px; }
.chip { border-width: 1px; }
.lightbox button { width: 56px; }
.act-row .btn-ghost { border-color: var(--ink); }
.nl form { gap: 8px; }
.nl input[type="email"], .nl .ml-form-embedSubmit button { border-radius: 999px; border-width: 1px; padding-inline: 20px; }
.panel, .opp-card, .contact-nl .nl, .nav-sub, .share-menu, .cookie-bar, .map-box, .call-form-frame, .call-form-frame iframe { border-radius: var(--r); }
.opp-card, .share-menu, .map-box, .call-form-frame { overflow: hidden; }
.nav-sub, .share-menu { padding-block: 6px; }
.top-bar { margin: 8px var(--gutter) 0; border-radius: var(--r); }
.top-bar + .top-bar { margin-top: 6px; }
.media, .g-item, .slides, .banner, .video-link, .lightbox img, .person img, .video iframe, .video .instagram-media { border-radius: var(--rp); overflow: hidden; }
.project .banner { border-radius: 0; }
@media (max-width: 820px) { .site-nav { border-radius: 0 0 var(--r) var(--r); } }

/* Gentle motion: drawn underlines, arrows that nudge, images that fade in. */
.arrow-link, .site-footer a:not(.btn), .crumbs a {
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
	transition: background-size .3s var(--ease), color .2s;
}
html.ar .arrow-link, html.ar .site-footer a:not(.btn), html.ar .crumbs a { background-position: 100% 100%; }
.arrow-link:hover, .site-footer a:not(.btn):hover, .crumbs a:hover { text-decoration: none; background-size: 100% 1px; }
.site-footer a[href^="mailto"] { background-size: 100% 1px; }
.arr { transition: transform .25s var(--ease); }
a:hover .arr, button:hover .arr { transform: translateX(4px); }
html.ar a:hover .arr, html.ar button:hover .arr { transform: translateX(-4px); }
img.fade { opacity: 0; transition: opacity .6s var(--ease); }
img.fade.in { opacity: 1; }

/* Soft cross-fade between pages (browsers that support it). */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }

@media (prefers-reduced-motion: reduce) {
	.site-header, .arr, img.fade, .btn, .door, .c-btn { transition: none !important; }
	.site-header.is-away { transform: none; }
	img.fade { opacity: 1; }
	::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ==========================================================================
 * 2.8.3 — more minimal. Same fonts and sizes; section names stay in capitals.
 * ======================================================================= */
/* Hairlines instead of black rules; no lines between rows. */
.section-head, .block-h, .what, .teaser, .strand, .filters, .letters, .cta, .facts { border-top: 1px solid var(--rule); }
.filters, .letters { border-bottom: 0; }
.facts > div { border-bottom: 0; padding: 8px 0; }
.rows li a, .stages li, .rows-list { border-bottom: 0; }
.door, .link-box, .link-box-dark, .partners li { border-top-color: var(--rule); }
.card-grid:not(.card-grid-lg) .card { border-top-color: transparent; }
.card-grid:not(.card-grid-lg) .card:last-child { border-bottom: 0; }
.opp-past li a { border-top-color: transparent; }

/* Labels: same capitals and size, in grey. */
.eyebrow, .facts dt, .block-h, .link-box-k { color: var(--grey); }
.site-footer .footer-h { color: #9a9a9a; }
.panel .eyebrow, .panel .panel-k, .opp-card .eyebrow { color: rgba(255, 255, 255, .85); }

/* Status as a coloured dot and a word. */
.badge { border: 0 !important; background: none !important; padding: 0 !important; font-weight: 700; }
.badge::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-inline-end: 6px; vertical-align: 1px; }
.badge-now, .badge-open { color: var(--go); }
.badge-past { color: var(--stop); }
.panel .badge, .opp-card .badge { color: #fff; }
.opp-past b .badge { font-size: 11px; letter-spacing: .1em; }
html.ar .opp-past b .badge { font-size: 14px; letter-spacing: 0; }

/* Carousel: only the dots; arrows and pause appear on pointing. Phones swipe. */
.carousel .carousel-btns, .tile-recent .carousel-btns { opacity: 0; transition: opacity .25s; }
.carousel:hover .carousel-btns, .carousel:focus-within .carousel-btns, .tile-recent:hover .carousel-btns, .tile-recent:focus-within .carousel-btns { opacity: 1; }
@media (hover: none) { .carousel .carousel-btns, .tile-recent .carousel-btns { display: none; } }

/* More space between sections. */
.block { margin-top: 84px; }
.home-page .at-marsa { margin-top: 120px; }
.explore { margin-top: 140px; }
.section-head { margin-bottom: 28px; }
.site-footer { margin-top: 96px; }
@media (max-width: 700px) { .block { margin-top: 60px; } .home-page .at-marsa { margin-top: 80px; } .explore { margin-top: 90px; } }

/* Cards: photo, status, title, dates. The programme line stays on the project page. */
.tile .card-kind, .card .card-kind, .mini-slide .card-kind { display: none; }

/* One solid button per view: the main action. Others are outlines. */
.btn:not(.btn-invert):not(.btn-outline-invert) { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn:not(.btn-invert):not(.btn-outline-invert):hover { background: var(--ink); color: var(--paper); }
.hero-btns .btn:first-child { background: var(--ink); color: var(--paper); }
.hero-btns .btn-ghost, .hero-btns .btn-ghost:hover { border-color: transparent; background: none; color: var(--ink); }


/* Language button next to the menu on phones. */
.lang-mob { display: none; }
@media (max-width: 820px) {
	.lang-mob { display: inline-flex; align-items: center; margin-inline-start: auto; margin-inline-end: 12px; min-height: 36px; }
	.site-nav .lang-btn { display: none; }
}

/* Slim footer: one row, newsletter line next to "Hey you!", robot check beside the button. */
.site-footer { padding: 36px 0 16px; }
.footer-grid { grid-template-columns: auto minmax(0, .8fr) auto minmax(0, 2.6fr); gap: 20px 44px; align-items: start; }
.footer-logo img { height: 56px; }
.site-footer .nl .nl-h, .site-footer .nl .nl-line { display: inline; margin: 0; }
.site-footer .nl .nl-h { margin-inline-end: 6px; }
.site-footer .nl .ml-form-embedContent { margin-bottom: 12px; }
.site-footer .ml-block-form { flex-wrap: nowrap; align-items: center; gap: 8px; }
.site-footer .ml-form-formContent { flex: 1 1 180px; }
.site-footer .ml-form-recaptcha { order: 3; flex: 0 0 214px; height: 56px; min-height: 0; margin: 0; overflow: visible; }
.site-footer .ml-form-recaptcha > * { transform: scale(.7); transform-origin: 0 0; }
html.ar .site-footer .ml-form-recaptcha > * { transform-origin: 100% 0; }
.footer-bottom { margin-top: 20px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-nl { grid-column: 1 / -1; } }
@media (max-width: 700px) {
	.site-footer .ml-block-form { flex-wrap: wrap; }
	.site-footer .ml-form-recaptcha { flex: 0 0 100%; height: auto; margin-top: 6px; }
	.site-footer .ml-form-recaptcha > * { transform: none; }
}

/* Programmes menu: no gap between the word and the list, and it stays open a moment after the pointer leaves. */
@media (hover: hover) and (min-width: 821px) {
	.nav-drop.hov .nav-sub { display: block; }
	.nav-sub::before { top: -16px; height: 16px; }
	.nav-sub a:first-child { border-radius: 10px 10px 0 0; }
	.nav-sub a:last-child { border-radius: 0 0 10px 10px; }
}

/* 2.8.5 — a little more black, cleaner hero link, slim newsletter boxes everywhere. */
.lang-btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.lang-btn:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.hero-btns .btn.btn-ghost { text-decoration: none; border-color: var(--ink); background: transparent; color: var(--ink); }
.hero-btns .btn.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.contact-nl .nl { max-width: 900px; padding: 24px 28px; }
.contact-nl .nl .nl-h, .contact-nl .nl .nl-line { display: inline; margin: 0; }
.contact-nl .nl .nl-h { margin-inline-end: 6px; }
.contact-nl .nl .ml-form-embedContent { margin-bottom: 14px; }
.contact-nl .ml-block-form { flex-wrap: wrap; align-items: center; gap: 8px; }
.contact-nl .ml-form-formContent { flex: 1 1 200px; }
.contact-nl .ml-form-recaptcha { order: 3; flex: 0 0 214px; height: 56px; min-height: 0; margin: 0; overflow: visible; }
.contact-nl .ml-form-recaptcha > * { transform: scale(.7); transform-origin: 0 0; }
html.ar .contact-nl .ml-form-recaptcha > * { transform-origin: 100% 0; }
@media (max-width: 700px) {
	.contact-nl .nl { padding: 20px; }
	.contact-nl .ml-form-recaptcha { flex: 0 0 100%; height: auto; margin-top: 6px; }
	.contact-nl .ml-form-recaptcha > * { transform: none; }
}

/* 2.8.6 — Opportunities past calls: the language spans inside each item were picking up the grey
   row colour and size. Badge and closing date in red, title in black. */
.opp-past b .badge, .opp-past b .badge span { color: var(--stop); font-size: 11px; letter-spacing: .1em; }
html.ar .opp-past b .badge, html.ar .opp-past b .badge span { font-size: 14px; letter-spacing: 0; }
.opp-past .opp-title, .opp-past .opp-title span { color: var(--ink); font-size: inherit; }
.opp-past .opp-closed, .opp-past .opp-closed span { color: var(--stop); }
.opp-past li a { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 700px) { .opp-past li a { grid-template-columns: 1fr; } }

/* ==========================================================================
 * 2.9.0 — Works and collectives
 * ======================================================================= */
.works-grid .card-dates { color: var(--grey); font-size: 14px; }
.work .work-by { font-weight: 700; margin-top: 4px; }
.work .work-by a, .work .facts a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.work .work-share { margin-top: 18px; }
.listen-player iframe { width: 100%; max-width: 760px; border: 0; border-radius: var(--r, 14px); }
.release-soon { border: 1px dashed #bbb; border-radius: var(--r, 14px); padding: 18px 20px; color: var(--grey); max-width: 760px; margin: 0; }
.members { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 28px; }
.members li > a, .members li > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; text-decoration: none; color: inherit; }
.member-name { font-size: 18px; font-weight: 700; line-height: 1.3; }
.member-years { font-size: 13px; color: var(--grey); }
.members li > a:hover .member-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.dir-tag { display: inline-block; margin-inline-start: 8px; font: 700 10px/1 var(--font, inherit); letter-spacing: .1em; text-transform: uppercase; color: var(--grey); vertical-align: 3px; }
html.ar .dir-tag { font-size: 12px; letter-spacing: 0; }
.pager { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; color: inherit; }
.pager .page-numbers.current { background: var(--ink); color: var(--paper); }
.works-index .filters, .works-index .works-grid { margin-top: 40px; }

/* ==========================================================================
 * 2.11.0 — Homepage: banners, In the making, Made at Marsa, People, photo entrances,
 * full-width newsletter. Phone fix for the menu bar when signed in.
 * ======================================================================= */
.home-page .hero { padding-top: 28px; }
.home-page .at-marsa { margin-top: 72px; }

/* Banners: open call and "happening now". Green is the status word only. */
.home-band { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; padding: 14px 16px 14px 28px; border: 1px solid var(--go); border-radius: 999px; }
html.ar .home-band { padding: 14px 28px 14px 16px; }
.home-band + .home-band { margin-top: 12px; }
.home-band-main { flex: 1 1 360px; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; color: inherit; text-decoration: none; }
.home-band-st { color: var(--go); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
html.ar .home-band-st { font-size: 15px; letter-spacing: 0; }
.home-band-st::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-inline-end: 8px; vertical-align: 1px; }
.home-band-st.is-soon { color: var(--ink); }
.home-band-t { font-weight: 800; font-size: 20px; line-height: 1.25; }
.home-band-main:hover .home-band-t { text-decoration: underline; text-underline-offset: 3px; }
.home-band-d { color: var(--grey); }
.home-band-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.home-band .btn.home-band-go { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.home-band .btn.home-band-go:hover { background: #333; border-color: #333; color: var(--paper); }
.home-band .share-btn, .home-band .share-btn:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.home-band .share { position: relative; }
.home-band .share-menu { z-index: 20; }
@media (max-width: 700px) {
	.home-band, html.ar .home-band { border-radius: 20px; padding: 16px 18px; }
	.home-band-btns { width: 100%; }
	.home-band-t { font-size: 18px; }
}

/* In the making: the one black block. */
.home-making { margin-top: 96px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); background: #000; color: #fff; border-radius: var(--r, 14px); overflow: hidden; min-height: 420px; }
.home-making-img { min-height: 100%; }
.home-making-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-making-text { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.home-making-text > * { margin: 0; }
.home-making-k { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #bdbdbd; }
html.ar .home-making-k { font-size: 15px; letter-spacing: 0; }
.home-making-h { font-size: 36px; line-height: 1.1; font-weight: 800; }
.home-making-when { font-size: 14px; font-weight: 700; color: #fff; }
.home-making-when::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--go); margin-inline-end: 8px; vertical-align: 1px; }
.home-making-p { font-size: 18px; line-height: 1.6; color: #e8e8e8; }
.home-making-q { margin: 0; font-size: 20px; line-height: 1.5; border-inline-start: 2px solid #fff; padding-inline-start: 16px; font-style: italic; }
html.ar .home-making-q { font-style: normal; }
.home-making .btn-outline-invert { align-self: flex-start; }
@media (max-width: 760px) {
	.home-making { grid-template-columns: 1fr; min-height: 0; margin-top: 64px; }
	.home-making-img img { aspect-ratio: 4 / 3; height: auto; }
	.home-making-text { padding: 28px 22px; }
	.home-making-h { font-size: 28px; }
}

/* Made at Marsa: one work, large. */
.home-work, .home-people, .home-page .explore, .home-nl { margin-top: 96px; }
.home-work-in { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.home-work-img .media { border-radius: var(--r, 14px); overflow: hidden; }
.home-work-t { font-size: 34px; line-height: 1.1; margin: 8px 0 6px; }
.home-work-t a { color: inherit; text-decoration: none; }
.home-work-by { font-weight: 700; margin: 0 0 4px; }
.home-work-by a { color: inherit; }
.home-work-from { color: var(--grey); margin: 0 0 16px; }
.home-work-p { font-size: 17px; line-height: 1.6; margin: 0 0 20px; }

/* People at Marsa: four portraits. */
.home-people-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.home-person { color: inherit; text-decoration: none; min-width: 0; }
.home-person-img { display: block; aspect-ratio: 1; border-radius: var(--r, 14px); overflow: hidden; margin-bottom: 12px; background: #eee; }
.home-person-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); transition: filter .3s; }
.home-person-img.pos-whole img { object-fit: cover; }
.home-person:hover .home-person-img img { filter: none; }
.home-person b { display: block; font-size: 18px; }
.home-person span { color: var(--grey); font-size: 15px; }

/* Explore: two photo entrances, name and line under the photo (readable with any photo). */
.home-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.home-door { display: block; color: inherit; text-decoration: none; min-width: 0; }
.home-door:hover, .home-door:focus { color: inherit; }
.home-door-img { display: block; aspect-ratio: 16 / 9; border-radius: var(--r, 14px); overflow: hidden; background: #eee; }
.home-door-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.home-door:hover .home-door-img img { transform: scale(1.03); }
.home-door-t { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.home-door-t b { font-size: 26px; line-height: 1.2; font-weight: 800; }
.home-door:hover .home-door-t b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.home-door-t > span { color: var(--grey); font-size: 15px; max-width: 52ch; }

/* Newsletter on the homepage: the same slim black box as on the other pages, page width. */
.home-nl .nl { max-width: none; }
@media (min-width: 1001px) { .footer-grid.no-nl { grid-template-columns: auto minmax(0, 1fr) auto; } }

@media (max-width: 760px) {
	.home-work-in, .home-doors { grid-template-columns: 1fr; }
	.home-people-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
	.home-work, .home-people, .home-page .explore, .home-nl { margin-top: 64px; }
	.home-work-t { font-size: 28px; }
	.home-door-t b { font-size: 22px; }
}

/* Phones, signed in: WordPress's admin bar scrolls away there, so the menu bar stays at the very top. */
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ==========================================================================
 * 2.15.2 — Random portraits and Explore photos on the homepage; People page:
 * field filter, Index / Faces, portrait beside the list.
 * ======================================================================= */
.home-person[hidden], .home-door-img img[hidden], .people-index[hidden], .people-faces[hidden] { display: none !important; }

.people-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 28px; }
.people-bar .filters { margin: 0; padding: 0; border: 0; }
.view-switch { display: flex; gap: 6px; margin-inline-start: auto; }
.view-switch .chip { font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; background: transparent; border: 1px solid var(--ink); color: var(--ink); padding: 6px 16px; }
.view-switch .chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* Index with the portrait beside it (computers with a mouse). */
.people-index { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.dir-preview { display: none; }
.dir-thumb { display: none; }
@media (min-width: 900px) and (hover: hover) {
	.people-index { grid-template-columns: minmax(0, 1fr) 300px; }
	.dir-preview { display: block; position: sticky; top: 110px; align-self: start; margin-top: 28px; }
	.dir-preview-img { display: block; aspect-ratio: 4 / 5; border-radius: var(--r, 14px); overflow: hidden; background: #f1f1f1; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
	.dir-preview.is-on .dir-preview-img { opacity: 1; transform: none; }
	.dir-preview-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); }
}
/* Phones and tablets: a small round photo before each name. */
@media (max-width: 899px), (hover: none) {
	.dir-thumb { display: inline-block; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #eee; vertical-align: middle; margin-inline-end: 12px; flex: none; }
	.dir-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); }
	.letter-group .dir-name { display: inline-flex; align-items: center; flex-wrap: wrap; column-gap: .3em; }
	.letter-group .dir-name .dir-thumb { margin-inline-end: calc(12px - .3em); }
	.letter-group .dir-name .dir-tag { flex-basis: 100%; padding-inline-start: 52px; margin: 2px 0 0; }
	.letter-group .dir-proj { padding-inline-start: 52px; }
}

/* Faces. */
.faces-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; margin-top: 32px; }
.face-card { color: inherit; text-decoration: none; min-width: 0; }
.face-card:hover, .face-card:focus { color: inherit; }
.face-img { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r, 14px); overflow: hidden; background: #efefef; margin-bottom: 12px; }
.face-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); transition: filter .3s; }
.face-card:hover .face-img img { filter: none; }
.face-initial { font-size: 64px; font-weight: 800; color: #bbb; }
.face-card b { display: block; font-size: 18px; }
.face-card:hover b { text-decoration: underline; text-underline-offset: 3px; }
.face-role { color: var(--grey); font-size: 15px; }
@media (max-width: 900px) { .faces-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .faces-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; } .view-switch { margin-inline-start: 0; } }

/* 2.15.2: open calls as tickets, and the call → residency → event journey */
.tk { position: relative; display: flex; flex-direction: column; gap: 10px; border: 1px solid #cfcfcf; border-radius: var(--r); padding: 22px 24px; color: var(--ink); text-decoration: none; background: var(--paper); transition: border-color .2s var(--ease); }
.tk:hover, .tk:focus-visible { border-color: var(--ink); color: var(--ink); }
.tk-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tk-st { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
html.ar .tk-st { letter-spacing: 0; font-size: 14px; }
.tk-st::before { content: "● "; }
.tk-go { color: var(--go); }
.tk-stop { color: var(--stop); }
.tk-prog { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
html.ar .tk-prog { letter-spacing: 0; font-size: 14px; text-transform: none; }
.tk-t { display: block; font-size: 21px; font-weight: 800; line-height: 1.2; }
html.ar .tk-t { font-weight: 700; line-height: 1.5; }
.tk-d { margin-top: auto; font-size: 14px; color: var(--stop); }
.tk-small.is-open .tk-d { color: var(--go); }
.tk-list { display: grid; gap: 20px; }
.tk-open { border-color: var(--ink); padding: 30px 34px; gap: 14px; }
.tk-cover { position: absolute; inset: 0; border-radius: inherit; z-index: 0; }
.tk-open .tk-btns, .tk-open .tk-btns * { position: relative; z-index: 1; }
.tk-open h3.tk-t { margin: 0; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; letter-spacing: -.01em; }
.tk-who { margin: 0; color: #444; max-width: 62ch; }
.tk-bot { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; border-top: 1px solid var(--rule); padding-top: 18px; margin-top: 6px; }
.tk-when { margin: 0; font-weight: 700; }
.tk-left, .tk-left .countdown { color: var(--go); }
.tk-btns { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tk-past { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tk-past .tk { min-height: 170px; }
.tk-past .tk[hidden] { display: none; }
.tk-all { margin: 24px 0 0; }
.tk-empty { border-style: dashed; border-color: #9a9a9a; }
.tk-empty .tk-d { color: var(--ink); font-weight: 700; }
.tk-from { margin: 28px 0; max-width: 460px; }
.tk-from .link-box-k { margin: 0 0 10px; }
.journey { margin: 6px 0 22px; font-size: 14px; color: var(--grey); }
.journey a { color: var(--grey); }
.journey a:hover { color: var(--ink); }
.journey b { color: var(--ink); }
.journey-arrow { margin: 0 6px; }
@media (max-width: 900px) { .tk-past { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tk-past { grid-template-columns: 1fr; } .tk-past .tk { min-height: 0; } .tk-open { padding: 24px 22px; } }
.tk-open .tk-apply { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tk-open .tk-apply:hover { background: var(--paper); color: var(--ink); }
.tk-open .share-btn { background: none; color: var(--ink); border-color: var(--ink); }
.tk-open .share-btn:hover { background: var(--ink); color: var(--paper); }
.tk-open .tk-btns { z-index: 2; }

/* 2.15.2: photo framing. Each photo sits where it was dragged (--fx, --fy) and as close as chosen (--fz). */
.framed img { object-position: var(--fx, 50%) var(--fy, 25%); }
.framed.fz { position: relative; overflow: hidden; }
.framed.fz img { position: absolute; max-width: none; width: calc(var(--fz) * 100%); height: calc(var(--fz) * 100%); left: calc((1 - var(--fz)) * var(--fx)); top: calc((1 - var(--fz)) * var(--fy)); object-fit: cover; }
.framed.pos-whole img { position: static; width: 100%; }
/* 2.15.2: the Faces cards and the People preview keep their shape, so the framing can move the photo inside them
   (before, a tall photo made the Faces card tall and there was nothing to move). */
.face-img, .dir-preview-img { position: relative; }
.face-img img, .dir-preview-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.face-img.framed.fz img, .dir-preview-img.framed.fz img { width: calc(var(--fz) * 100%); height: calc(var(--fz) * 100%); left: calc((1 - var(--fz)) * var(--fx)); top: calc((1 - var(--fz)) * var(--fy)); }
.face-img.pos-whole img, .dir-preview-img.pos-whole img { object-fit: contain; }
.banner.framed { position: relative; }
.face-img.framed img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 2.16.2: on a person's page, "At Marsa" in two groups: Marsa AiR and Public Programme. */
.block-sub { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin: 28px 0 14px; }
html.ar .block-sub { font-size: 16px; letter-spacing: 0; text-transform: none; }
.block-h + .block-sub { margin-top: 6px; }

/* 2.17.0: About page: What we do (the two programmes), introductions, closing invitation with two actions. */
.about-progs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 56px; }
.about-prog h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
html.ar .about-prog h3 { font-weight: 700; letter-spacing: 0; }
.about-prog .body { margin-top: 8px; }
.about-prog .body p { margin: 0 0 8px; }
.about-prog-go { margin: 12px 0 0; font-weight: 700; }
.about-prog-go a { text-decoration: underline; text-underline-offset: 4px; }
.about-intro { margin: 0 0 24px; font-size: 18px; max-width: 46em; }
.about-cta { align-items: flex-end; }
.about-cta-line { margin: 8px 0 0; max-width: 40em; font-size: 17px; }
.about-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 800px) { .about-progs { grid-template-columns: 1fr; } }
.about-cta-btns .btn:first-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.about-cta-btns .btn:first-child:hover { background: var(--paper); color: var(--ink); }

/* ---- "Never miss an event": subscribe to Marsa's calendar (2.19.0, 2.20.0) ---- */
.cal-sub-row { margin: 22px 0 0; }
.cal-sub { position: relative; display: inline-block; max-width: 100%; }
.cal-sub .share-btn { display: inline-flex; align-items: center; gap: 10px; }
.cal-sub .btn-ghost { border: 1px solid var(--ink) !important; text-decoration: none !important; padding-inline: 22px !important; }
.cal-sub .share-menu { inset-inline-end: auto; inset-inline-start: 0; min-width: 300px; max-width: min(360px, calc(100vw - 32px)); border-radius: 18px; overflow: hidden; }
.cal-sub .share-note[data-show] { display: block; line-height: 1.5; }
.cal-sub .share-menu .share-note { margin: 4px 18px 14px !important; font-size: 13px; color: var(--grey); }
.cal-up .share-menu { top: auto; bottom: calc(100% + 8px); }
.cal-ico { flex: none; }
.hero-cal { margin: 12px 0 0; }
.ev-cal { margin-top: 12px; }
.footer-cal { margin: 8px 0 6px; }
.footer-cal .btn { min-height: 40px; padding: 6px 18px !important; font-size: 14px; white-space: nowrap; }
.cal-sub-row { scroll-margin-top: 120px; }

/* 2.23.0 Marsa AiR: what the residency is */
.air-about p { max-width: 62ch; margin: 0 0 14px; font-size: 17px; line-height: 1.6; }
.air-about p:last-child { margin-top: 18px; }
