:root {
  --ink: #171411;
  --paper: #f1ead9;
  --paper-light: #fbf7ed;
  --red: #b51f24;
  --red-dark: #7e1418;
  --yellow: #e3b72f;
  --line: rgba(23, 20, 17, .22);
  --muted: #6d655c;
  --max: 1440px;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  --sans: Inter, Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(181,31,36,.07) 0 1px, transparent 1.5px) 0 0/17px 17px,
    var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .16;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,.035) 4px);
  mix-blend-mode: multiply;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 1000; background: var(--ink); color: #fff; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(100% - 3rem, var(--max));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  position: relative;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; text-transform: uppercase; font-weight: 900; line-height: .95; letter-spacing: .04em; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; background: var(--red); color: var(--paper-light); font-family: var(--display); font-size: 2rem; transform: rotate(-3deg); box-shadow: 4px 4px 0 var(--ink); }
.brand-text { max-width: 170px; font-size: .8rem; }
.main-nav { display: flex; align-items: center; gap: 2rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.main-nav a { text-decoration: none; position: relative; }
.main-nav a::after { content: ""; position: absolute; height: 3px; left: 0; right: 100%; bottom: -.45rem; background: var(--red); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.menu-button { display: none; border: 0; background: none; padding: .6rem; }
.menu-button > span:not(.sr-only) { display: block; width: 28px; height: 3px; background: var(--ink); margin: 5px 0; }

.hero {
  width: min(100% - 3rem, var(--max));
  min-height: 760px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) 0 6rem;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  overflow: hidden;
}
.eyebrow, .section-label, .profile-role, .modal-kicker { margin: 0 0 1.2rem; color: var(--red); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .18em; }
.hero h1 { margin: 0; font-family: var(--display); font-size: clamp(4rem, 8.5vw, 9.5rem); line-height: .79; letter-spacing: -.02em; text-transform: uppercase; font-weight: 900; }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { color: var(--red); margin-left: clamp(0rem, 3vw, 3rem); }
.hero h1 span:nth-child(3) { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: .63em; text-transform: none; letter-spacing: -.055em; margin-top: .25em; }
.hero-lead { max-width: 650px; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.35; margin: 2.5rem 0; }
.cta { display: inline-flex; align-items: center; gap: 1.4rem; background: var(--ink); color: var(--paper-light); text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-weight: 900; font-size: .8rem; padding: 1rem 1.25rem; box-shadow: 6px 6px 0 var(--red); transition: transform .15s ease, box-shadow .15s ease; }
.cta:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--red); }

.hero-collage { min-height: 570px; position: relative; }
.portrait { position: absolute; margin: 0; background: var(--ink); padding: 9px; box-shadow: 12px 12px 0 var(--red); }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.portrait-a { width: 48%; height: 66%; left: 0; top: 9%; transform: rotate(-4deg); z-index: 2; }
.portrait-b { width: 49%; height: 58%; right: 0; top: 0; transform: rotate(3deg); z-index: 1; }
.portrait-c { width: 47%; height: 52%; right: 9%; bottom: 0; transform: rotate(-2deg); z-index: 3; }
.hero-stamp { position: absolute; left: 26%; bottom: 7%; z-index: 4; width: 145px; height: 145px; border: 5px solid var(--yellow); border-radius: 50%; display: grid; place-items: center; text-align: center; font-family: var(--display); color: var(--yellow); font-size: 1.45rem; line-height: .95; text-transform: uppercase; transform: rotate(-13deg); text-shadow: 2px 2px 0 var(--ink); }

.ticker { overflow: hidden; background: var(--red); color: var(--paper-light); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-1deg) scale(1.02); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 2rem; padding: .75rem 0; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.3rem, 3vw, 2.4rem); letter-spacing: .04em; animation: ticker 28s linear infinite; }
.ticker-track b { color: var(--yellow); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ticker-track { animation: none; } }

.section { width: min(100% - 3rem, var(--max)); margin: 0 auto; padding: clamp(5rem, 9vw, 9rem) 0; }
/* Section 01 — composition volontairement sobre et éditoriale */
.project-shell { width: min(100%, 1180px); margin: 0 auto; }
.project-heading {
  display: grid;
  grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.project-heading .section-label { margin: .7rem 0 0; }
.manifesto h2, .section-heading h2, .archives h2 { margin: 0; font-family: var(--display); font-size: clamp(3rem, 6vw, 6.5rem); line-height: .9; text-transform: uppercase; }
.manifesto h2 {
  max-width: 920px;
  font-size: clamp(2.7rem, 5.2vw, 5.4rem);
  line-height: .96;
  letter-spacing: -.025em;
  text-transform: none;
}
.project-content {
  display: grid;
  grid-template-columns: minmax(130px, 180px) minmax(0, 760px);
  gap: clamp(2rem, 6vw, 6rem);
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}
.project-marker { padding-top: .8rem; }
.project-marker span { display: block; width: 52px; height: 3px; background: var(--red); }
.project-body { min-width: 0; }
.manifesto-text {
  display: grid;
  gap: 1.2rem;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.75;
}
.manifesto-text p { margin: 0; }
.manifesto blockquote {
  max-width: 760px;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: clamp(1.4rem, 3vw, 2rem) 0 0;
  border: 0;
  border-top: 2px solid var(--red);
  background: transparent;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.25;
  transform: none;
  box-shadow: none;
}

.testimonies { border-top: 2px solid var(--ink); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(260px, 410px); gap: 3rem; align-items: end; margin-bottom: 3.5rem; }
.section-heading > p { margin: 0; font-family: var(--serif); font-size: 1.12rem; }
.toolbar { margin-bottom: 3rem; }
.toolbar label { display: block; margin-bottom: .7rem; font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.search-box { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; border: 3px solid var(--ink); background: var(--paper-light); padding: .25rem .8rem; box-shadow: 6px 6px 0 var(--red); }
.search-box svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 2; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; padding: .8rem; color: var(--ink); }
.search-box input::placeholder { color: #8b8176; }
.result-count { font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }

.profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.profile-card { display: grid; grid-template-columns: 41% 59%; min-height: 420px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: rgba(251,247,237,.58); transition: background .2s ease; }
.profile-card:hover { background: var(--paper-light); }
.profile-card[hidden] { display: none; }
.profile-image { min-height: 100%; position: relative; overflow: hidden; background: var(--red-dark); border-right: 2px solid var(--ink); }
.profile-image::after { content: ""; position: absolute; inset: 0; background: var(--red); mix-blend-mode: multiply; opacity: .18; transition: opacity .2s ease; }
.profile-card:hover .profile-image::after { opacity: 0; }
.profile-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); transition: filter .25s ease, transform .35s ease; }
.profile-card:hover .profile-image img { filter: grayscale(.2) contrast(1.03); transform: scale(1.025); }
.profile-content { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.3rem, 3vw, 2.3rem); }
.profile-role { font-size: .62rem; margin-bottom: .7rem; }
.profile-content h3 { margin: 0 0 1.2rem; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.65rem, 2.5vw, 2.7rem); line-height: .95; }
.profile-content p:not(.profile-role) { margin: 0 0 1.5rem; font-family: var(--serif); font-size: .98rem; line-height: 1.58; }
.notice-missing { padding: .8rem 1rem; border: 2px dashed var(--red); color: var(--red-dark); font-family: var(--sans) !important; font-weight: 800; font-size: .82rem !important; text-transform: uppercase; letter-spacing: .06em; }
.video-button { margin-top: auto; border: 0; border-bottom: 2px solid var(--ink); background: transparent; padding: .15rem 0 .25rem; cursor: pointer; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .11em; }
.video-button span { color: var(--red); padding-left: .3rem; }
.video-button:hover, .video-button:focus-visible { color: var(--red); border-color: var(--red); }
.no-results { margin: 3rem 0 0; padding: 2rem; border: 3px dashed var(--red); text-align: center; font-weight: 900; text-transform: uppercase; }

.archives { width: 100%; max-width: none; padding-left: max(1.5rem, calc((100vw - var(--max)) / 2)); padding-right: max(1.5rem, calc((100vw - var(--max)) / 2)); background: var(--ink); color: var(--paper-light); border-top: 10px solid var(--red); }
.archives .section-label { color: var(--yellow); }
.archives-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.archives-grid > div { font-family: var(--serif); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.archive-note { margin-top: 2rem; padding: 1.5rem; border: 2px solid var(--paper-light); color: var(--yellow); transform: rotate(-1deg); }

.site-footer { background: var(--red); color: var(--paper-light); padding: clamp(3rem, 6vw, 6rem) max(1.5rem, calc((100vw - var(--max)) / 2)); display: flex; justify-content: space-between; gap: 3rem; border-top: 3px solid var(--ink); }
.footer-statement { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 4vw, 4.2rem); line-height: .95; }
.footer-statement strong { font-family: var(--display); font-style: normal; text-transform: uppercase; }
.footer-meta { text-align: right; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.footer-meta p { margin: .2rem 0; }
.footer-meta a { display: inline-block; margin-top: 2rem; }

.video-modal { width: min(900px, calc(100% - 2rem)); border: 4px solid var(--ink); padding: clamp(1.2rem, 4vw, 3rem); background: var(--paper-light); color: var(--ink); box-shadow: 14px 14px 0 var(--red); }
.video-modal::backdrop { background: rgba(15,12,10,.84); }
.video-modal h2 { margin: 0 0 1.5rem; font-family: var(--display); font-size: clamp(2.2rem, 6vw, 5rem); text-transform: uppercase; line-height: .9; }
.modal-close { position: absolute; top: .6rem; right: .8rem; border: 0; background: transparent; font-family: var(--display); font-size: 2.5rem; cursor: pointer; }
.video-frame { aspect-ratio: 16/9; display: grid; place-items: center; background: var(--ink); color: var(--paper-light); }
.video-frame video { width: 100%; height: 100%; }
.video-unavailable { max-width: 480px; padding: 2rem; text-align: center; }
.video-unavailable strong { color: var(--yellow); font-family: var(--display); text-transform: uppercase; font-size: 2rem; }
.video-unavailable code { color: var(--yellow); }

:focus-visible { outline: 4px solid var(--yellow); outline-offset: 4px; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-collage { width: min(100%, 700px); min-height: 620px; margin: 0 auto; }
  .profiles { grid-template-columns: 1fr; }
  .profile-card { min-height: 380px; }
}

@media (max-width: 760px) {
  .site-header { width: min(100% - 2rem, var(--max)); min-height: 78px; }
  .brand-mark { width: 41px; height: 41px; font-size: 1.7rem; }
  .main-nav { position: absolute; top: calc(100% + 2px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); color: var(--paper-light); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,.25); }
  .menu-button { display: block; }
  .hero, .section { width: min(100% - 2rem, var(--max)); }
  .hero { min-height: auto; padding: 4rem 0 5rem; }
  .hero h1 { font-size: clamp(3.4rem, 17vw, 6.5rem); }
  .hero h1 span:nth-child(2) { margin-left: 0; }
  .hero-collage { min-height: 450px; }
  .hero-stamp { width: 100px; height: 100px; font-size: 1rem; border-width: 4px; }
  .project-heading, .project-content, .section-heading, .archives-grid { grid-template-columns: 1fr; }
  .project-heading, .project-content, .archives-grid { gap: 2rem; }
  .project-heading .section-label { margin-top: 0; }
  .project-marker { display: none; }
  .section-heading { align-items: start; }
  .profile-card { grid-template-columns: 38% 62%; min-height: 390px; }
  .profile-content { padding: 1.25rem; }
  .profile-content p:not(.profile-role) { font-size: .91rem; line-height: 1.45; }
  .search-box { grid-template-columns: 24px 1fr; }
  .result-count { grid-column: 1 / -1; padding: 0 0 .5rem 2rem; }
  .site-footer { flex-direction: column; }
  .footer-meta { text-align: left; }
}

@media (max-width: 520px) {
  .brand-text { display: none; }
  .hero-collage { min-height: 370px; }
  .portrait { padding: 5px; box-shadow: 7px 7px 0 var(--red); }
  .profile-card { display: block; }
  .profile-image { height: 330px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .profile-content { min-height: 390px; }
}


/* Language selector and Arabic/RTL support */
.header-actions { display: flex; align-items: center; gap: 1rem; }
.language-switcher { display: inline-flex; direction: ltr; border: 2px solid var(--ink); background: var(--paper-light); box-shadow: 2px 2px 0 var(--red); }
.language-button { width: 58px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-inline-end: 2px solid var(--ink); background: var(--paper-light); padding: 5px; cursor: pointer; }
.language-button:last-child { border-inline-end: 0; }
.language-flag { display: block; width: 44px; height: 29px; object-fit: cover; border: 1px solid rgba(0,0,0,.22); box-shadow: 0 1px 0 rgba(0,0,0,.12); }
.language-button.is-active { background: var(--yellow); box-shadow: inset 0 -3px 0 var(--red); }
.language-button:hover:not(.is-active), .language-button:focus-visible:not(.is-active) { background: var(--yellow); }

html[dir="rtl"] body {
  font-family: Tahoma, Arial, "Noto Sans Arabic", sans-serif;
  text-align: right;
}
html[dir="rtl"] .brand,
html[dir="rtl"] .main-nav,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .section-label,
html[dir="rtl"] .profile-role,
html[dir="rtl"] .modal-kicker,
html[dir="rtl"] .toolbar label,
html[dir="rtl"] .result-count,
html[dir="rtl"] .video-button,
html[dir="rtl"] .footer-meta {
  letter-spacing: 0;
}
html[dir="rtl"] .brand-text { font-size: .92rem; line-height: 1.15; }
html[dir="rtl"] .hero h1,
html[dir="rtl"] .manifesto h2,
html[dir="rtl"] .section-heading h2,
html[dir="rtl"] .archives h2,
html[dir="rtl"] .profile-content h3,
html[dir="rtl"] .footer-statement strong,
html[dir="rtl"] .video-modal h2,
html[dir="rtl"] .video-unavailable strong {
  font-family: Tahoma, Arial, "Noto Sans Arabic", sans-serif;
  letter-spacing: -.025em;
  text-transform: none;
}
html[dir="rtl"] .hero h1 { line-height: .9; }
html[dir="rtl"] .hero h1 span:nth-child(2) { margin-left: 0; margin-right: clamp(0rem, 3vw, 3rem); }
html[dir="rtl"] .hero h1 span:nth-child(3) {
  font-family: Georgia, "Times New Roman", Tahoma, serif;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.2;
}
html[dir="rtl"] .hero-lead,
html[dir="rtl"] .manifesto-text,
html[dir="rtl"] .section-heading > p,
html[dir="rtl"] .profile-content p:not(.profile-role),
html[dir="rtl"] .archives-grid > div,
html[dir="rtl"] .footer-statement,
html[dir="rtl"] blockquote {
  font-family: Tahoma, Arial, "Noto Naskh Arabic", serif;
}
html[dir="rtl"] .profile-image { border-right: 0; border-left: 2px solid var(--ink); }
html[dir="rtl"] .profile-content { align-items: flex-start; }
html[dir="rtl"] .video-button span { padding-left: 0; padding-right: .3rem; }
html[dir="rtl"] .footer-meta { text-align: left; }
html[dir="rtl"] .modal-close { right: auto; left: .8rem; }
html[dir="rtl"] .search-box svg { transform: scaleX(-1); }
html[dir="rtl"] .ticker-track { direction: rtl; }
html[dir="rtl"] .archive-note { line-height: 1.9; }

@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; }
  .main-nav { order: 3; }
}

@media (max-width: 760px) {
  .header-actions { gap: .4rem; }
  .language-button { width: 58px; height: 42px; padding: 5px; }
  .language-flag { width: 44px; height: 29px; }
  html[dir="rtl"] .main-nav { left: 0; right: 0; }
  html[dir="rtl"] .hero h1 span:nth-child(2) { margin-right: 0; }
  html[dir="rtl"] .profile-image { border-left: 0; border-bottom: 2px solid var(--ink); }
  html[dir="rtl"] .footer-meta { text-align: right; }
}

.site-header .main-nav { margin-inline-start: auto; margin-inline-end: 2rem; }
@media (max-width: 760px) {
  .site-header .main-nav { margin-inline: 0; }
}
/* Final layout safeguards for long French and Arabic headlines */
body { overflow-x: hidden; }
.hero-copy, .hero-collage { min-width: 0; }
.hero h1 { font-size: clamp(4rem, 5.1vw, 5.3rem); }

@media (max-width: 1250px) {
  .hero { grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-collage { width: min(100%, 700px); min-height: 620px; margin: 0 auto; }
}

@media (max-width: 760px) {
  .hero h1 { font-size: clamp(3.4rem, 17vw, 6.5rem); }
}


/* Mobile usability rebuild - compact navigation and accordion biographies */
.profile-toggle { display: none; }

@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  body { overflow-x: hidden; }
  body::before { opacity: .08; }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    width: 100%;
    min-height: 64px;
    margin: 0;
    padding: .55rem .85rem;
    flex-wrap: nowrap;
    background: rgba(241, 234, 217, .97);
    backdrop-filter: blur(10px);
    border-bottom-width: 2px;
  }
  .brand { min-width: 0; gap: .55rem; }
  .brand-mark { width: 36px; height: 36px; flex: 0 0 36px; font-size: 1.45rem; box-shadow: 3px 3px 0 var(--ink); }
  .brand-text { font-size: .68rem; line-height: 1; }
  .header-actions { flex: 0 0 auto; gap: .3rem; }
  .language-switcher { border-width: 2px; box-shadow: 2px 2px 0 var(--red); }
  .language-button { width: 58px; height: 42px; padding: 5px; }
  .language-flag { width: 44px; height: 29px; }
  .menu-button { display: block; padding: .35rem .2rem .35rem .45rem; }
  .menu-button > span:not(.sr-only) { width: 24px; height: 2px; margin: 5px 0; }

  .main-nav,
  .site-header .main-nav {
    position: fixed;
    z-index: 90;
    top: 64px;
    right: 0;
    left: 0;
    order: initial;
    display: none;
    max-height: calc(100dvh - 64px);
    margin: 0;
    overflow-y: auto;
    background: var(--ink);
    color: var(--paper-light);
    box-shadow: 0 12px 24px rgba(0,0,0,.28);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { min-height: 54px; display: flex; align-items: center; padding: .9rem 1rem; font-size: .82rem; }
  .main-nav a::after { display: none; }

  .hero,
  .section { width: 100%; padding-inline: 1rem; }
  .hero {
    display: block;
    min-height: 0;
    padding-top: 2.6rem;
    padding-bottom: 3.2rem;
    overflow: clip;
  }
  .eyebrow { margin-bottom: .9rem; font-size: .66rem; letter-spacing: .12em; }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11vw, 3.7rem);
    line-height: .88;
    overflow-wrap: normal;
    word-break: normal;
  }
  .hero h1 span:nth-child(2) { margin: 0; }
  .hero h1 span:nth-child(2) { font-size: .78em; }
  .hero h1 span:nth-child(3) { margin-top: .34em; font-size: .58em; line-height: 1.05; }
  .hero-lead { margin: 1.5rem 0 1.35rem; font-size: 1.08rem; line-height: 1.45; }
  .cta { width: 100%; justify-content: space-between; box-shadow: 4px 4px 0 var(--red); padding: .9rem 1rem; }

  .hero-collage { width: 100%; min-height: 0; height: 245px; margin: 2.8rem 0 0; }
  .portrait { padding: 5px; box-shadow: 6px 6px 0 var(--red); }
  .portrait-a { width: 43%; height: 76%; left: 1%; top: 6%; }
  .portrait-b { width: 42%; height: 65%; right: 2%; top: 0; }
  .portrait-c { width: 41%; height: 58%; right: 19%; bottom: 0; }
  .hero-stamp { left: auto; right: 2%; bottom: 4%; width: 76px; height: 76px; border-width: 3px; font-size: .73rem; }

  .ticker { transform: none; }
  .ticker-track {
    width: max-content;
    gap: .75rem;
    padding: .55rem .75rem;
    font-size: 1rem;
    animation-duration: 38s;
  }

  .section { padding-top: 3.6rem; padding-bottom: 3.6rem; }
  .project-shell { width: 100%; }
  .project-heading,
  .project-content,
  .section-heading,
  .archives-grid { display: block; }
  .project-heading { padding-bottom: 1.8rem; }
  .project-heading .section-label { margin: 0 0 1rem; }
  .manifesto h2,
  .section-heading h2,
  .archives h2 {
    max-width: 100%;
    font-size: clamp(2.15rem, 10.6vw, 3.25rem);
    line-height: 1.01;
    overflow-wrap: anywhere;
  }
  .project-content { padding-top: 1.8rem; }
  .project-marker { display: none; }
  .manifesto-text { gap: 1.15rem; font-size: 1rem; line-height: 1.68; }
  .manifesto blockquote { margin-top: 2rem; padding-top: 1.25rem; font-size: 1.28rem; line-height: 1.35; }

  .section-heading { margin-bottom: 1.7rem; }
  .section-heading > p { margin: 1.1rem 0 0; font-size: 1rem; line-height: 1.55; }
  .toolbar { margin-bottom: 1.7rem; }
  .toolbar label { margin-bottom: .55rem; font-size: .66rem; }
  .search-box {
    grid-template-columns: 22px minmax(0, 1fr);
    padding: .15rem .65rem;
    border-width: 2px;
    box-shadow: 4px 4px 0 var(--red);
  }
  .search-box input { min-width: 0; padding: .72rem .55rem; font-size: .95rem; }
  .result-count { grid-column: 1 / -1; padding: 0 0 .45rem 1.8rem; font-size: .66rem; }

  .profiles {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    border: 0;
  }
  .profile-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    grid-auto-rows: auto;
    min-height: 0;
    border: 2px solid var(--ink);
    background: rgba(251,247,237,.72);
  }
  .profile-image {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 92px;
    height: 92px;
    min-height: 92px;
    border-right: 2px solid var(--ink);
    border-bottom: 0;
  }
  .profile-image img { object-position: center 22%; }
  .profile-content { display: contents; }
  .profile-role {
    grid-column: 2;
    align-self: end;
    min-width: 0;
    margin: .72rem .75rem .18rem;
    font-size: .56rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .profile-content h3 {
    grid-column: 2;
    min-width: 0;
    margin: 0 .75rem .35rem;
    font-size: clamp(1.24rem, 5.8vw, 1.55rem);
    line-height: 1.03;
    overflow-wrap: anywhere;
  }
  .profile-toggle {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    margin: 0 .75rem .65rem;
    border: 0;
    border-top: 1px solid var(--line);
    background: transparent;
    padding: .38rem 0 0;
    color: var(--red-dark);
    cursor: pointer;
    font-size: .67rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
  }
  .profile-toggle span { font-size: 1.15rem; line-height: 1; }
  .profile-content p:not(.profile-role) {
    grid-column: 1 / -1;
    display: none;
    margin: 0;
    padding: 1rem;
    border-top: 1px solid var(--line);
    font-size: .98rem;
    line-height: 1.65;
  }
  .profile-content .video-button {
    grid-column: 1 / -1;
    display: none;
    width: max-content;
    margin: 0 1rem 1rem;
    padding-top: .85rem;
    font-size: .67rem;
  }
  .profile-card.is-expanded .profile-content p:not(.profile-role) { display: block; }
  .profile-card.is-expanded .profile-content .video-button { display: inline-flex; }
  .profile-card:hover .profile-image img { transform: none; }

  .archives { padding-inline: 1rem; }
  .archives-grid > div { margin-top: 1.35rem; font-size: 1rem; line-height: 1.65; }
  .archive-note { margin-top: 1.35rem; padding: 1rem; transform: none; }

  .site-footer { padding: 2.8rem 1rem; flex-direction: column; gap: 2rem; }
  .footer-statement { font-size: clamp(2rem, 10vw, 3rem); line-height: 1; }
  .footer-meta { text-align: left; font-size: .7rem; }
  .footer-meta a { margin-top: 1.2rem; }

  .video-modal {
    width: calc(100% - 1rem);
    max-height: calc(100dvh - 1rem);
    padding: 1rem;
    border-width: 2px;
    box-shadow: 5px 5px 0 var(--red);
    overflow-y: auto;
  }
  .video-modal h2 { padding-inline-end: 2rem; font-size: 2.1rem; line-height: 1; }
  .video-frame { aspect-ratio: 16 / 10; }
  .video-unavailable { padding: 1.2rem; }
  .video-unavailable strong { font-size: 1.35rem; }

  html[dir="rtl"] .hero h1 { font-size: clamp(2.55rem, 11.8vw, 3.8rem); line-height: 1.02; }
  html[dir="rtl"] .hero h1 span:nth-child(3) { font-family: Tahoma, Arial, sans-serif; font-size: .68em; }
  html[dir="rtl"] .manifesto h2,
  html[dir="rtl"] .section-heading h2,
  html[dir="rtl"] .archives h2 { line-height: 1.18; }
  html[dir="rtl"] .profile-image {
    grid-column: 1;
    border-right: 0;
    border-left: 2px solid var(--ink);
    border-bottom: 0;
  }
  html[dir="rtl"] .profile-role,
  html[dir="rtl"] .profile-content h3,
  html[dir="rtl"] .profile-toggle { grid-column: 2; }
  html[dir="rtl"] .profile-toggle { letter-spacing: 0; }
  html[dir="rtl"] .result-count { padding-right: 1.8rem; padding-left: 0; }
  html[dir="rtl"] .footer-meta { text-align: right; }
}

@media (max-width: 390px) {
  .brand-text { display: none; }
  .language-button { width: 58px; height: 42px; padding: 5px; }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 3rem); }
  .hero-collage { height: 218px; }
  .profile-card { grid-template-columns: 82px minmax(0, 1fr); }
  .profile-image { width: 82px; height: 82px; min-height: 82px; }
  .profile-role { margin-top: .58rem; }
}


/* Anticolonial press section */
.press-section { border-top: 2px solid var(--ink); }
.press-feature {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(320px, 1.15fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
  padding: clamp(2rem, 4vw, 4rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.press-date { margin: 0 0 .7rem; color: var(--red); font-weight: 900; letter-spacing: .16em; }
.press-feature h2 { margin: 0; font-family: var(--display); font-size: clamp(3.4rem, 7vw, 7.5rem); line-height: .85; text-transform: uppercase; overflow-wrap: anywhere; }
.press-subheading { margin: .8rem 0 0; font-family: var(--serif); font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 700; line-height: 1.35; color: var(--red); }
.press-description { font-family: var(--serif); font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.65; }
.press-description > p { margin: 0; }
.press-actions { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2rem; }
.press-video-button { margin-top: 0; }
.press-voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-top: 2rem; }
.press-voice { display: grid; grid-template-columns: 92px 1fr; gap: 1.2rem; padding: 1.35rem; border: 2px solid var(--ink); background: rgba(251,247,237,.62); }
.press-initials { width: 92px; height: 92px; display: grid; place-items: center; background: var(--red); color: var(--paper-light); font-family: var(--display); font-size: 2rem; box-shadow: 5px 5px 0 var(--ink); }
.press-voice h3 { margin: 0 0 .8rem; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: .95; text-transform: uppercase; }
.press-voice p:last-child { margin: 0; font-family: var(--serif); line-height: 1.6; }
html[dir="rtl"] .press-feature h2,
html[dir="rtl"] .press-voice h3 { font-family: Tahoma, Arial, sans-serif; text-transform: none; line-height: 1.15; }
html[dir="rtl"] .press-subheading { font-family: Tahoma, Arial, sans-serif; }
html[dir="rtl"] .press-description,
html[dir="rtl"] .press-voice p:last-child { font-family: Tahoma, Arial, sans-serif; }

@media (max-width: 760px) {
  .press-feature { display: block; padding: 1.7rem 0; }
  .press-date { font-size: .72rem; }
  .press-feature h2 { font-size: clamp(2.4rem, 12vw, 3.5rem); line-height: .92; }
  .press-subheading { margin-top: .55rem; font-size: .98rem; }
  .press-description { margin-top: 1.35rem; font-size: 1rem; line-height: 1.65; }
  .press-actions { display: grid; gap: .8rem; margin-top: 1.35rem; }
  .press-video-button { width: 100%; justify-content: space-between; border: 2px solid var(--ink); padding: .75rem; }
  .press-voices { grid-template-columns: 1fr; padding-top: 1rem; }
  .press-voice { grid-template-columns: 68px minmax(0,1fr); gap: .9rem; padding: 1rem; }
  .press-voice > div:last-child { display: contents; }
  .press-voice .profile-role, .press-voice h3 { grid-column: 2; }
  .press-initials { width: 68px; height: 68px; font-size: 1.45rem; box-shadow: 3px 3px 0 var(--ink); }
  .press-voice h3 { font-size: 1.45rem; }
  .press-voice p:last-child { grid-column: 1 / -1; font-size: .96rem; }
  html[dir="rtl"] .press-feature h2 { line-height: 1.15; }
}

/* Correction titre rubrique presse : évite la coupe de "anticolonialiste" */
.press-feature h2 {
  font-size: clamp(2.45rem, 5.7vw, 5.8rem);
  line-height: .9;
  max-width: 100%;
  letter-spacing: -0.035em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (max-width: 760px) {
  .press-feature h2 {
    font-size: clamp(2.05rem, 10.2vw, 3.15rem);
    line-height: .94;
    letter-spacing: -0.04em;
  }
}

@media (max-width: 390px) {
  .press-feature h2 {
    font-size: clamp(1.82rem, 9.7vw, 2.55rem);
  }
}

/* Correction mobile encarts presse : Louis Cardin / Hammou Belaskri */
@media (max-width: 760px) {
  .press-voices {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .press-voice {
    display: block;
    padding: 1rem;
    overflow: hidden;
  }

  .press-voice > div:last-child {
    display: block;
  }

  .press-initials {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
  }

  .press-voice .profile-role,
  .press-voice h3,
  .press-voice p,
  .press-voice p:last-child {
    display: block;
    grid-column: auto;
    width: 100%;
    max-width: 100%;
  }

  .press-voice h3 {
    margin-bottom: .8rem;
    font-size: clamp(1.7rem, 8vw, 2.35rem);
    line-height: 1;
  }

  .press-voice p:last-child {
    font-size: 1rem;
    line-height: 1.6;
    overflow-wrap: break-word;
  }

  .press-voice .video-button {
    width: 100%;
    min-height: auto;
    margin-top: 1rem;
    padding: .85rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}



/* Photos rubrique presse */
.press-photo { margin: 1.5rem 0 0; }
.press-photo-image { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 2px solid var(--ink); box-shadow: 7px 7px 0 var(--red); }
.press-photo figcaption { margin-top: .75rem; font-size: .95rem; line-height: 1.5; color: var(--muted); }
.press-voice { grid-template-columns: 124px 1fr; }
.press-portrait { display: block; width: 124px; aspect-ratio: 4 / 5; object-fit: cover; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--red); background: #e8e1d2; }
html[dir="rtl"] .press-photo figcaption { font-family: Tahoma, Arial, sans-serif; }
@media (max-width: 760px) {
  .press-photo { margin-top: 1.1rem; }
  .press-photo-image { box-shadow: 4px 4px 0 var(--red); }
  .press-photo figcaption { font-size: .92rem; }
  .press-portrait { width: 100%; max-width: 240px; aspect-ratio: 4 / 5; margin: 0 auto 1rem; box-shadow: 4px 4px 0 var(--red); }
  .press-voice .profile-role, .press-voice h3, .press-voice p, .press-voice p:last-child, .press-voice .video-button { text-align: left; }
  html[dir="rtl"] .press-voice .profile-role, html[dir="rtl"] .press-voice h3, html[dir="rtl"] .press-voice p, html[dir="rtl"] .press-voice p:last-child { text-align: right; }
}

/* Ajustements éditoriaux finaux */
.profile-card .video-button {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .045em;
}

@media (max-width: 760px) {
  .profile-card .video-button {
    font-size: .98rem;
    line-height: 1.25;
  }
  .press-voices {
    grid-template-columns: 1fr;
  }
}


/* Refonte de la rubrique Presse anticoloniale */
.press-feature-redesign {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(420px, 1.22fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: start;
  padding: clamp(2.5rem, 5vw, 4.75rem) 0;
}

.press-feature-redesign .press-title-block {
  position: sticky;
  top: 6.5rem;
  align-self: start;
}

.press-feature-redesign .press-date {
  margin-bottom: 1rem;
  font-size: .95rem;
}

.press-feature-redesign h2 {
  max-width: 8.5ch;
  font-size: clamp(3.5rem, 5.2vw, 6.4rem);
  line-height: .84;
  letter-spacing: -.045em;
}

.press-feature-redesign .press-subheading {
  max-width: 23rem;
  margin-top: 1.2rem;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
}

.press-feature-redesign .press-description {
  max-width: 760px;
  font-size: clamp(1.08rem, 1.35vw, 1.3rem);
}

.press-feature-redesign .press-photo {
  margin-top: 1.6rem;
}

.press-feature-redesign .press-photo-image {
  aspect-ratio: 16 / 10;
  border-width: 2px;
  box-shadow: 9px 9px 0 var(--red);
}

.press-feature-redesign .press-photo figcaption {
  max-width: 90%;
  font-size: .9rem;
}

.press-feature-redesign .press-actions {
  margin-top: 1.5rem;
}

.press-feature-redesign .press-video-button {
  width: fit-content;
  min-width: 280px;
  padding: .9rem 1.15rem;
  border: 2px solid var(--ink);
  background: var(--red);
  color: var(--paper-light);
  justify-content: space-between;
}

.press-feature-redesign .press-video-button:hover {
  background: var(--ink);
  color: var(--paper-light);
}

.press-voices-redesign {
  display: block;
  padding: 2.25rem 0 0;
}

.press-voices-redesign .press-voice {
  width: min(100%, 760px);
  margin-left: auto;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.5rem;
  border: 2px solid var(--ink);
  background: rgba(251,247,237,.82);
}

.press-voices-redesign .press-portrait {
  width: 170px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}

.press-voices-redesign .profile-role {
  margin-top: .2rem;
  font-size: .68rem;
}

.press-voices-redesign h3 {
  margin-bottom: .9rem;
  font-size: clamp(2rem, 3vw, 3.15rem);
}

.press-voices-redesign .press-voice p:last-of-type {
  font-size: 1rem;
  line-height: 1.65;
}

.press-voices-redesign .press-video-button {
  margin-top: 1rem;
  width: fit-content;
  min-width: 245px;
  padding: .8rem 1rem;
  border: 2px solid var(--ink);
}

html[dir="rtl"] .press-voices-redesign .press-voice {
  margin-left: 0;
  margin-right: auto;
}

@media (max-width: 980px) {
  .press-feature-redesign {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .press-feature-redesign .press-title-block {
    position: static;
  }

  .press-feature-redesign h2 {
    max-width: 11ch;
  }

  .press-voices-redesign .press-voice {
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .press-feature-redesign {
    padding: 1.8rem 0;
  }

  .press-feature-redesign h2 {
    max-width: 100%;
    font-size: clamp(2.4rem, 11vw, 3.55rem);
    line-height: .9;
  }

  .press-feature-redesign .press-subheading {
    font-size: 1rem;
  }

  .press-feature-redesign .press-photo-image {
    aspect-ratio: 4 / 3;
    box-shadow: 5px 5px 0 var(--red);
  }

  .press-feature-redesign .press-photo figcaption {
    max-width: 100%;
  }

  .press-feature-redesign .press-video-button {
    width: 100%;
    min-width: 0;
  }

  .press-voices-redesign {
    padding-top: 1.25rem;
  }

  .press-voices-redesign .press-voice {
    width: 100%;
    display: block;
    padding: 1rem;
  }

  .press-voices-redesign .press-portrait {
    width: 100%;
    max-width: 260px;
    margin: 0 auto 1.1rem;
    aspect-ratio: 4 / 5;
  }

  .press-voices-redesign .press-video-button {
    width: 100%;
    min-width: 0;
  }
}


/* Bandeau contact visible */
.site-footer {
  flex-wrap: wrap;
}

.footer-contact {
  order: 3;
  flex: 0 0 100%;
  margin: 1.5rem 0 0;
  padding: 1.15rem 1.5rem;
  text-align: center;
  background: var(--red-dark);
  color: var(--yellow);
  border: 3px solid var(--yellow);
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.footer-contact span {
  font-weight: 900;
}

.footer-contact a {
  color: var(--yellow);
  font-weight: 900;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--paper-light);
  text-decoration: underline;
  text-underline-offset: .18em;
}

@media (max-width: 760px) {
  .footer-contact {
    margin-top: .5rem;
    padding: 1rem .7rem;
    font-size: clamp(1.1rem, 5.7vw, 1.6rem);
  }

  .footer-contact span,
  .footer-contact a {
    display: block;
  }

  .footer-contact a {
    margin-top: .35rem;
    text-transform: none;
    font-family: var(--sans);
    font-size: .88em;
  }
}


/* Présentation uniforme des deux films de la rubrique presse */
.press-section-header {
  padding: clamp(2rem, 4vw, 3.5rem) 0 2rem;
  max-width: 900px;
}

.press-section-header .press-date {
  margin-bottom: .8rem;
}

.press-section-header h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: .86;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.press-section-header .press-subheading {
  margin-top: 1rem;
}

.press-films-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  padding: 0 0 clamp(2.5rem, 5vw, 4.5rem);
}

.press-film-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 2px solid var(--ink);
  background: rgba(251,247,237,.82);
}

.press-film-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 25%;
  border-bottom: 2px solid var(--ink);
  filter: grayscale(.15);
}

.press-film-image-wide {
  object-position: center center;
}

.press-film-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.15rem, 2vw, 1.65rem);
}

.press-film-content .profile-role {
  margin: 0 0 .55rem;
}

.press-film-content h3 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3.7rem);
  line-height: .92;
  text-transform: uppercase;
}

.press-film-content > p:not(.profile-role) {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.65;
}

.press-film-content .press-video-button {
  width: 100%;
  margin-top: auto;
  padding: .95rem 1rem;
  border: 2px solid var(--ink);
  justify-content: space-between;
  background: var(--red);
  color: var(--paper-light);
  font-size: .95rem;
}

.press-film-content .press-video-button:hover {
  background: var(--ink);
}

html[dir="rtl"] .press-section-header h2,
html[dir="rtl"] .press-film-content h3 {
  font-family: Tahoma, Arial, sans-serif;
  text-transform: none;
  line-height: 1.15;
}

html[dir="rtl"] .press-film-content > p:not(.profile-role) {
  font-family: Tahoma, Arial, sans-serif;
}

@media (max-width: 760px) {
  .press-section-header {
    padding: 1.6rem 0 1.25rem;
  }

  .press-section-header h2 {
    font-size: clamp(2.35rem, 10.5vw, 3.45rem);
    line-height: .92;
  }

  .press-films-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .press-film-image {
    aspect-ratio: 4 / 3;
  }

  .press-film-content h3 {
    font-size: clamp(1.9rem, 8vw, 2.7rem);
  }

  .press-film-content > p:not(.profile-role) {
    font-size: 1rem;
  }
}


/* Corrections mobile : bouton film et titre trajectoires */
.section-heading h2 {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (max-width: 760px) {
  .section-heading h2 {
    font-size: clamp(2.15rem, 9vw, 3.1rem);
    line-height: .95;
    letter-spacing: -.035em;
    max-width: 100%;
    overflow: visible;
  }

  .profile-toggle {
    min-height: 48px;
    padding: .85rem .9rem;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .055em;
  }

  .profile-toggle span {
    font-size: 1.4rem;
  }
}

@media (max-width: 380px) {
  .section-heading h2 {
    font-size: clamp(1.9rem, 8.8vw, 2.5rem);
  }
}

/* --- Photothèque ------------------------------------------------------ */
.main-nav a.is-current::after { right: 0; }
@media (min-width: 761px) and (max-width: 1260px) {
  .main-nav { gap: 1.15rem; font-size: .74rem; letter-spacing: .07em; }
  .site-header .main-nav { margin-inline-end: 1rem; }
}
.gallery-page { background-color: var(--paper); }
.gallery-hero {
  width: min(100% - 3rem, var(--max)); margin: 0 auto; padding: clamp(4rem, 8vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: minmax(0,1.2fr) minmax(310px,.8fr); gap: clamp(2rem,7vw,7rem); align-items: end;
  border-bottom: 3px solid var(--ink);
}
.gallery-hero h1 { margin: 0; font-family: var(--display); font-size: clamp(4.8rem, 11vw, 11rem); line-height: .78; text-transform: uppercase; letter-spacing: -.035em; color: var(--red); }
.gallery-lead { max-width: 780px; margin: 2rem 0 0; font-family: var(--serif); font-size: clamp(1.15rem,2vw,1.55rem); line-height: 1.45; }
.gallery-hero-stats { display: grid; grid-template-columns: repeat(3,1fr); border: 2px solid var(--ink); background: var(--paper-light); box-shadow: 8px 8px 0 var(--red); }
.gallery-hero-stats > div { min-width: 0; padding: 1.15rem 1rem; border-inline-end: 1px solid var(--ink); }
.gallery-hero-stats > div:last-child { border-inline-end: 0; }
.gallery-hero-stats strong { display: block; font-family: var(--display); color: var(--red); font-size: clamp(1.5rem,3vw,2.7rem); line-height: 1; }
.gallery-hero-stats span { display: block; margin-top: .45rem; font-size: .65rem; line-height: 1.25; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.gallery-browser { padding-top: clamp(3.5rem,7vw,6.5rem); }
.gallery-section-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,440px); gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.gallery-section-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(3rem,6vw,6rem); line-height: .9; text-transform: uppercase; }
.gallery-section-heading > p { margin: 0; font-family: var(--serif); font-size: 1.05rem; }
.gallery-filters { display: grid; grid-template-columns: minmax(260px,1.4fr) repeat(4,minmax(150px,1fr)); gap: .75rem; padding: 1rem; border: 2px solid var(--ink); background: var(--paper-light); box-shadow: 7px 7px 0 var(--red); }
.gallery-filters label { display: block; margin: 0 0 .4rem; font-size: .66rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.gallery-filters input, .gallery-filters select { width: 100%; min-height: 47px; border: 2px solid var(--ink); background: #fffdf6; color: var(--ink); padding: .65rem .75rem; border-radius: 0; }
.gallery-filter-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .25rem; }
.gallery-reset { border: 0; border-bottom: 2px solid var(--ink); background: transparent; padding: .2rem 0; cursor: pointer; font-weight: 900; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.gallery-reset:hover { color: var(--red); border-color: var(--red); }
.gallery-result-count { font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.gallery-quick-themes { display: flex; flex-wrap: wrap; gap: .55rem; margin: 2.2rem 0; }
.quick-theme { display: inline-flex; align-items: center; gap: .7rem; border: 2px solid var(--ink); background: transparent; padding: .55rem .72rem; cursor: pointer; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.quick-theme strong { display: grid; place-items: center; min-width: 1.7rem; height: 1.7rem; padding: 0 .35rem; background: var(--ink); color: var(--paper-light); font-size: .65rem; }
.quick-theme:hover, .quick-theme.is-active { background: var(--red); color: var(--paper-light); }
.quick-theme.is-active strong, .quick-theme:hover strong { background: var(--yellow); color: var(--ink); }
.photo-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.photo-card { display: flex; flex-direction: column; min-width: 0; padding: 0; text-align: start; border: 0; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: rgba(251,247,237,.62); cursor: zoom-in; overflow: hidden; }
.photo-card:hover, .photo-card:focus-visible { background: var(--paper-light); }
.photo-card-image { display: grid; place-items: center; height: 255px; padding: .65rem; background: #d6cfbe; overflow: hidden; border-bottom: 2px solid var(--ink); }
.photo-card-image img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(.86) contrast(1.03); transition: filter .2s ease, transform .25s ease; }
.photo-card:hover img { filter: grayscale(.15); transform: scale(1.018); }
.photo-card-body { display: flex; flex: 1; flex-direction: column; gap: .5rem; padding: 1rem; }
.photo-card-period { color: var(--red); font-size: .63rem; font-weight: 900; text-transform: uppercase; letter-spacing: .11em; }
.photo-card-body strong { font-family: var(--serif); font-size: 1rem; line-height: 1.3; }
.photo-card-meta { margin-top: auto; padding-top: .45rem; color: var(--muted); font-size: .7rem; line-height: 1.35; }
.gallery-empty { margin: 3rem 0 0; padding: 2rem; border: 3px dashed var(--red); text-align: center; font-weight: 900; text-transform: uppercase; }
.photo-modal { width: min(1280px,calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 3px solid var(--ink); background: var(--paper-light); color: var(--ink); box-shadow: 12px 12px 0 var(--red); overflow: auto; }
.photo-modal::backdrop { background: rgba(15,12,10,.88); }
.photo-modal-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(300px,.55fr); min-height: min(760px,calc(100vh - 3rem)); }
.photo-modal-media { position: relative; display: grid; place-items: center; min-width: 0; min-height: 450px; padding: 1.25rem 3.4rem; background: #171411; }
.photo-modal-media img { max-width: 100%; max-height: calc(100vh - 5rem); object-fit: contain; }
.photo-modal-info { padding: clamp(2rem,4vw,3rem); border-inline-start: 2px solid var(--ink); overflow: auto; }
.photo-modal-info h2 { margin: 0 0 2rem; font-family: var(--serif); font-size: clamp(1.6rem,3vw,2.6rem); line-height: 1.15; }
.photo-meta-list { margin: 0; }
.photo-meta-list > div { padding: .9rem 0; border-top: 1px solid var(--line); }
.photo-meta-list dt { color: var(--red); font-size: .64rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.photo-meta-list dd { margin: .35rem 0 0; font-family: var(--serif); line-height: 1.45; }
.photo-source { margin-top: 2rem; color: var(--muted); font-size: .72rem; overflow-wrap: anywhere; }
.photo-modal-close { position: fixed; z-index: 3; top: max(1rem,calc((100vh - min(100vh - 2rem,900px))/2 + 1rem)); right: max(1rem,calc((100vw - min(1280px,100vw - 2rem))/2 + 1rem)); width: 44px; height: 44px; border: 2px solid var(--paper-light); background: var(--red); color: #fff; font-family: var(--display); font-size: 2rem; line-height: 1; cursor: pointer; }
.photo-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 58px; border: 2px solid var(--paper-light); background: rgba(23,20,17,.72); color: #fff; font-family: var(--display); font-size: 2.2rem; cursor: pointer; }
.photo-nav-prev { left: .6rem; } .photo-nav-next { right: .6rem; }
.photo-nav:hover { background: var(--red); }
html[dir="rtl"] .gallery-hero h1, html[dir="rtl"] .gallery-section-heading h2 { font-family: Tahoma,Arial,sans-serif; text-transform: none; line-height: 1.05; }
html[dir="rtl"] .gallery-lead, html[dir="rtl"] .gallery-section-heading > p, html[dir="rtl"] .photo-card-body strong, html[dir="rtl"] .photo-modal-info h2, html[dir="rtl"] .photo-meta-list dd { font-family: Tahoma,Arial,sans-serif; }
html[dir="rtl"] .photo-modal-close { right: auto; left: max(1rem,calc((100vw - min(1280px,100vw - 2rem))/2 + 1rem)); }
@media (max-width: 1100px) {
  .gallery-hero { grid-template-columns: 1fr; }
  .gallery-hero-stats { max-width: 720px; }
  .gallery-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery-search-field { grid-column: 1 / -1; }
  .photo-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .photo-modal-layout { grid-template-columns: 1fr; }
  .photo-modal-info { border-inline-start: 0; border-top: 2px solid var(--ink); }
}
@media (max-width: 760px) {
  .gallery-hero { width: min(100% - 2rem,var(--max)); padding-top: 3rem; }
  .gallery-hero h1 { font-size: clamp(3.5rem,17vw,5.8rem); }
  .gallery-hero-stats { grid-template-columns: 1fr; box-shadow: 5px 5px 0 var(--red); }
  .gallery-hero-stats > div { display: grid; grid-template-columns: 110px 1fr; gap: .7rem; align-items: center; border-inline-end: 0; border-bottom: 1px solid var(--ink); }
  .gallery-hero-stats > div:last-child { border-bottom: 0; }
  .gallery-section-heading { grid-template-columns: 1fr; gap: 1.2rem; }
  .gallery-filters { grid-template-columns: 1fr; box-shadow: 5px 5px 0 var(--red); }
  .gallery-search-field, .gallery-filter-actions { grid-column: auto; }
  .gallery-filter-actions { align-items: flex-start; flex-direction: column; }
  .gallery-quick-themes { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; }
  .quick-theme { flex: 0 0 auto; }
  .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .photo-card-image { height: 190px; }
  .photo-card-body { padding: .75rem; }
  .photo-card-body strong { font-size: .9rem; }
  .photo-card-meta { font-size: .64rem; }
  .photo-modal { width: calc(100% - 1rem); max-height: calc(100vh - 1rem); box-shadow: 5px 5px 0 var(--red); }
  .photo-modal-media { min-height: 320px; padding: 2.8rem 2.6rem 1rem; }
  .photo-modal-media img { max-height: 68vh; }
  .photo-modal-info { padding: 1.35rem; }
  .photo-modal-close { top: .75rem; right: .75rem; position: fixed; }
  html[dir="rtl"] .photo-modal-close { right: auto; left: .75rem; }
}
@media (max-width: 420px) {
  .photo-grid { grid-template-columns: 1fr; }
  .photo-card-image { height: 250px; }
}
